 :root {
            --bg: #f3f6f6;
            --card: #0b1220;
            --accent: #ffb86b;
            --muted: hsl(0, 0%, 4%);
            --glass: rgba(230, 238, 231, 0.03);
            --success: #6ee7b7;
            --danger: #ff7b7b;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
        }

        * {
            box-sizing: border-box
        }

        body {
             min-height: 100vh;
            display: flex;
            margin: 0;
                   align-items: center;
            justify-content: center;
            background:
                radial-gradient(1200px 600px at 10% 10%, rgba(255, 184, 107, 0.04), transparent 10%),
                radial-gradient(900px 500px at 90% 90%, rgba(110, 231, 183, 0.03), transparent 10%),
                var(--bg);
            color: #030304;
            -webkit-font-smoothing: antialiased;
        }

        .container {
       
            max-width: 980px;
            width: 100%;
            margin: 0;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
            border-radius: 14px;
            padding: 22px;
            //*box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);*//
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 18px;
            align-items: start;
        }

        @media (max-width:880px) {
            .container {
                grid-template-columns: 1fr;
                padding: 16px;
            }
        }

        header.app-header {
            grid-column: 1/-1;
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .logo-1 {
            width: 118px;
            height: 56px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--accent), #d17b1d);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.03);
            box-shadow: 0 4px 18px rgba(2, 6, 23, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.02);
            font-weight: 700;
                color: #f5f4f2;
            font-size: 30px;
        }

        h1 {
            margin: 0;
            font-size: 20px
        }

        p.lead {
            margin: 0;
            color: var(--muted);
            font-size: 13px
        }

        /* Left column (calculator) */
        .card {
            margin-top: 18px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
            border-radius: 12px;
            padding: 18px;
            border: 1px solid var(--accent);
        }

        .price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }

        .price {
            font-size: 22px;
            font-weight: 700;
        }

        .price small {
            display: block;
            font-size: 12px;
            color: var(--muted);
            font-weight: 500
        }

        .muted {
            color: var(--muted);
            font-size: 13px;
        }

        .controls {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 10px
        }

        .btn {
            background: var(--glass);
            color: var(--muted);
            border: 1px solid rgba(255, 255, 255, 0.02);
            padding: 8px 10px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 13px;
        }

        .btn.active {
            background: linear-gradient(90deg, rgba(255, 184, 107, 0.12), rgba(110, 231, 183, 0.06));
            color: #ee8d24;
            border: 1px solid rgba(255, 184, 107, 0.12);
        }

        .field {
            margin-top: 10px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        label {
            font-size: 13px;
            color: var(--muted)
        }

        .input-row {
            display: flex;
            gap: 8px;
            align-items: center
        }

        input[type="number"],
        input[type="text"] {
            flex: 1;
            padding: 10px 12px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.04);
            background: rgba(0, 0, 0, 0.18);
            color: #0d0d0e;
            font-size: 15px;
            outline: none;
        }

        .currency {
            width: 92px;
            padding: 8px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.02);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            border: 1px solid rgba(255, 255, 255, 0.02);
        }

        .small {
            font-size: 12px;
            color: var(--muted);
        }

        .calc-result {
            margin-top: 14px;
            padding: 12px;
            border-radius: 10px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
            border: 1px solid rgba(255, 255, 255, 0.03);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .result-row {
            display: flex;
            justify-content: space-between;
            align-items: center
        }

        .result-row strong {
            font-size: 18px
        }

        .subtle {
            color: var(--muted);
            font-size: 13px
        }

        /* Right column (info) */
        .info {
            padding: 18px;
            border-radius: 12px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.005));
            border: 1px solid rgba(255, 255, 255, 0.03);
            min-height: 240px;
        }

        .info h3 {
            margin: 0 0 10px 0;
            font-size: 16px
        }

        .row {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.02)
        }

        .row:last-child {
            border-bottom: none
        }

        .hint {
            font-size: 13px;
            color: var(--muted)
        }

        .actions {
            display: flex;
            gap: 10px;
            margin-top: 12px
        }

        .primary {
            background: linear-gradient(90deg, var(--accent), #6ee7b7);
            color: #071025;
            padding: 10px 12px;
            border-radius: 10px;
            font-weight: 800;
            border: none;
            cursor: pointer;
            box-shadow: 0 6px 18px rgba(110, 231, 183, 0.06);
        }

        footer.note {
            grid-column: 1/-1;
            margin-top: 8px;
            color: var(--muted);
            font-size: 12px
        }

        .error {
            color: var(--danger);
            font-weight: 700
        }

        .ok {
            color: var(--success);
            font-weight: 700
        }