        :root {
            --g9: #0b3a2c; --g8: #0f4a38; --g7: #146b4f; --g1: #e4f2ea;
            --paper: #f4f6f3; --card: #ffffff; --ink: #14201b; --mut: #5b6862;
            --line: #d6ddd8; --red: #d92d3a; --err: #b42318; --errbg: #fdecea;
        }
        * { box-sizing: border-box; }
        html { -webkit-text-size-adjust: 100%; }
        body {
            margin: 0; font-family: 'Hind Siliguri', system-ui, sans-serif;
            color: var(--ink); background: var(--paper); line-height: 1.6;
        }
        .shell { min-height: 100vh; display: grid; grid-template-columns: minmax(340px, 5fr) 7fr; }

        /* ---------- left brand panel ---------- */
        .side {
            background: var(--g9); color: #fff; padding: 44px 48px;
            display: flex; flex-direction: column; justify-content: space-between;
            position: sticky; top: 0; height: 100vh;
        }
        .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; text-decoration: none; color: inherit; }
        .brand-mark {
            width: 36px; height: 36px; border-radius: 9px; background: var(--g7);
            display: grid; place-items: center;
        }
        .brand-mark i { width: 14px; height: 14px; border-radius: 50%; background: var(--red); display: block; }
        .side h2 { font-size: 30px; line-height: 1.3; margin: 0 0 8px; font-weight: 700; max-width: 14em; }
        .side p.lead { margin: 0; color: #b9d3c7; max-width: 26em; }

        .slip {
            background: #fff; color: var(--ink); border-radius: 10px; width: 100%; max-width: 330px;
            padding: 20px 22px; box-shadow: 0 18px 40px rgba(0,0,0,.28);
            transform: rotate(-2.2deg); margin: 28px 0;
            animation: slip-in .7s cubic-bezier(.2,.8,.2,1) both;
        }
        @keyframes slip-in { from { opacity: 0; transform: translateY(24px) rotate(-5deg); } to { opacity: 1; transform: rotate(-2.2deg); } }
        .slip-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--mut); }
        .slip-head b { color: var(--ink); font-weight: 600; }
        .slip-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 0; font-size: 14px; }
        .slip-row span:first-child { color: var(--mut); }
        .slip-row span:last-child { font-weight: 600; }
        .tear { position: relative; border-top: 2px dashed var(--line); margin: 16px -22px; }
        .tear::before, .tear::after {
            content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--g9);
        }
        .tear::before { left: -11px; } .tear::after { right: -11px; }
        .slip-total { display: flex; justify-content: space-between; align-items: center; }
        .slip-total strong { font-size: 30px; font-weight: 700; letter-spacing: -.01em; }
        .pill { background: var(--g1); color: var(--g7); font-size: 13px; font-weight: 600; padding: 2px 12px; border-radius: 99px; }
        .side small { color: #86ab9b; }

        /* ---------- right panel ---------- */
        .main { display: flex; justify-content: center; align-items: flex-start; padding: 56px 32px 72px; }
        .panel { width: 100%; max-width: 660px; }
        .panel--narrow { max-width: 440px; }
        .panel h1 { margin: 0 0 4px; font-size: 30px; line-height: 1.3; font-weight: 700; }
        .panel .sub { margin: 0 0 28px; color: var(--mut); }

        .group { margin: 32px 0 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; }
        .group:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
        .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
        .span-2 { grid-column: 1 / -1; }

        .field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
        .field .hint { font-weight: 400; color: var(--mut); }
        .control {
            width: 100%; height: 48px; padding: 0 14px; font: inherit; color: var(--ink);
            background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
            transition: border-color .15s, box-shadow .15s;
        }
        textarea.control { height: auto; padding: 10px 14px; resize: vertical; min-height: 78px; }
        .control::placeholder { color: #98a39d; }
        .control:hover { border-color: #b4c0b9; }
        .control:focus { outline: none; border-color: var(--g7); box-shadow: 0 0 0 4px rgba(20,107,79,.15); }
        select.control {
            appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5l6-6' stroke='%235b6862' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat; background-position: right 15px center;
        }
        select.control:disabled { background-color: #eef1ee; color: #8a958f; cursor: not-allowed; }
        .field.has-error .control { border-color: var(--err); background-color: #fffafa; }
        .err { margin: 6px 0 0; font-size: 13px; color: var(--err); }

        .affix { display: flex; }
        .affix .pre {
            display: grid; place-items: center; padding: 0 12px; font-weight: 500; color: var(--mut);
            background: #eef1ee; border: 1.5px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px;
        }
        .affix .control { border-radius: 0 10px 10px 0; }
        .pw { position: relative; }
        .pw .control { padding-right: 70px; }
        .pw button {
            position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; border-radius: 7px;
            background: transparent; color: var(--g7); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
        }
        .pw button:hover { background: var(--g1); }
        .meter { display: flex; gap: 4px; margin-top: 8px; }
        .meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .2s; }
        .meter[data-s="1"] i:nth-child(-n+1) { background: var(--err); }
        .meter[data-s="2"] i:nth-child(-n+2) { background: #d98a0b; }
        .meter[data-s="3"] i:nth-child(-n+3) { background: #5aa05f; }
        .meter[data-s="4"] i { background: var(--g7); }
        .meter-text { margin: 4px 0 0; font-size: 13px; color: var(--mut); min-height: 20px; }

        .btn {
            display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 52px;
            border: 0; border-radius: 10px; background: var(--g7); color: #fff; font: inherit; font-size: 17px;
            font-weight: 600; cursor: pointer; transition: background .15s, transform .05s;
        }
        .btn:hover { background: var(--g8); }
        .btn:active { transform: translateY(1px); }
        .btn:disabled { opacity: .7; cursor: progress; }
        .btn-ghost { background: transparent; color: var(--g7); border: 1.5px solid var(--line); }
        .btn-ghost:hover { background: var(--g1); }
        .check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
        .check input { width: 18px; height: 18px; accent-color: var(--g7); }
        .row-between { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 20px; }
        .alt { margin: 22px 0 0; text-align: center; color: var(--mut); }
        .alt a { color: var(--g7); font-weight: 600; text-decoration: none; }
        .alt a:hover { text-decoration: underline; }
        .alert { background: var(--errbg); color: var(--err); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }

        .facts { display: grid; gap: 0; margin: 0 0 24px; }
        .facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
        .facts dt { color: var(--mut); } .facts dd { margin: 0; font-weight: 500; text-align: right; }

        a:focus-visible, button:focus-visible, .check input:focus-visible { outline: 3px solid rgba(20,107,79,.45); outline-offset: 2px; }

        @media (max-width: 920px) {
            .shell { grid-template-columns: 1fr; }
            .side { position: static; height: auto; padding: 18px 20px; background: var(--g9); }
            .side .slip, .side h2, .side p.lead, .side small, .side .push { display: none; }
            .main { padding: 28px 18px 56px; }
            .panel h1 { font-size: 26px; }
        }
        @media (max-width: 560px) {
            .grid { grid-template-columns: 1fr; }
        }
        @media (prefers-reduced-motion: reduce) {
            .slip { animation: none; } * { transition: none !important; }
        }
