:root{--bg:#07090d;--sidebar:#090c11;--panel:#11161e;--panel2:#151b25;--border:#29313e;--gold:#d7aa3b;--gold2:#f3d77c;--text:#f4f6fa;--muted:#98a3b3;--green:#43d391;--blue:#55a9ff;--amber:#f0bd43;--red:#ee6a72;--shadow:0 18px 50px rgba(0,0,0,.22)}
*{box-sizing:border-box}html{color-scheme:dark}body{margin:0;background:radial-gradient(circle at 75% 0,rgba(38,52,79,.16),transparent 32%),var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#0b0f15,#080b10);border-right:1px solid var(--border);padding:28px 20px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--text)}.brand-emblem{width:50px;height:50px;border:1px solid var(--gold);border-radius:14px;display:grid;place-items:center;color:var(--gold2);font-size:25px;font-weight:900;background:linear-gradient(145deg,rgba(215,170,59,.13),transparent);box-shadow:inset 0 0 24px rgba(215,170,59,.05)}.brand-copy{display:grid}.brand-copy strong{font-size:21px;letter-spacing:2.6px}.brand-copy small{color:var(--gold);letter-spacing:3px;font-size:10px;margin-top:3px}.main-nav{display:grid;gap:7px;margin-top:42px}.main-nav a{display:flex;align-items:center;gap:13px;padding:13px 14px;border:1px solid transparent;border-radius:10px;text-decoration:none;color:var(--muted);font-weight:600}.main-nav a:hover{color:var(--gold2);background:#121822}.main-nav a.active{color:#15120a;background:linear-gradient(135deg,#efc960,#c99627);border-color:#f1cd6b;box-shadow:0 8px 22px rgba(215,170,59,.16)}.nav-icon{width:22px;text-align:center;font-size:18px}.member-card{margin-top:auto;border:1px solid rgba(215,170,59,.32);background:linear-gradient(145deg,rgba(215,170,59,.09),rgba(215,170,59,.02));border-radius:12px;padding:13px;display:flex;align-items:center;gap:10px}.member-card strong,.member-card small{display:block}.member-card small{color:var(--muted);margin-top:3px;font-size:11px}.member-crown{font-size:22px;color:var(--gold2)}.secure-line{margin-top:14px;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:7px}.secure-line span{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 10px var(--green)}
.main-content{padding:26px 30px 18px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.page-heading h1{margin:0;font-size:28px;letter-spacing:-.5px}.page-heading p{margin:6px 0 0;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:15px}.icon-button{position:relative;width:40px;height:40px;border:1px solid var(--border);border-radius:11px;background:var(--panel);color:var(--gold2)}.icon-button b{position:absolute;top:-6px;right:-5px;min-width:18px;height:18px;border-radius:9px;background:var(--gold);color:#15120a;font-size:10px;display:grid;place-items:center}.profile-block{display:flex;align-items:center;gap:10px}.profile-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#f0ca61,#aa7c1f);color:#15120a;font-weight:900;border:2px solid rgba(255,255,255,.12)}.profile-copy strong,.profile-copy small{display:block}.profile-copy small{color:var(--gold2);font-size:11px;margin-top:3px}.signout{border:0;background:transparent;color:var(--muted);cursor:pointer}.signout:hover{color:var(--gold2)}
.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:16px}.summary-card{min-height:118px;background:linear-gradient(145deg,var(--panel2),var(--panel));border:1px solid var(--border);border-radius:14px;padding:19px;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow)}.summary-card.accent-card{border-color:rgba(215,170,59,.55)}.summary-icon{width:54px;height:54px;flex:0 0 54px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(215,170,59,.28);background:rgba(215,170,59,.08);color:var(--gold2);font-size:22px}.summary-card span,.summary-card small{display:block;color:var(--muted)}.summary-card strong{display:block;font-size:23px;margin:7px 0 6px}.summary-card strong.success{color:var(--green)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.dot.green{background:var(--green)}.dot.amber{background:var(--amber)}
.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:16px}.panel{background:linear-gradient(160deg,var(--panel2),var(--panel));border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:var(--shadow);min-width:0}.products-panel{grid-column:span 2}.license-panel{grid-row:span 2}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:15px}.panel-header h2{margin:0;font-size:17px}.panel-header p{margin:5px 0 0;color:var(--muted);font-size:12px}.text-link{color:var(--gold2);text-decoration:none;font-size:12px}.product-list{display:grid;gap:11px}.product-card{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid var(--border);border-radius:12px;background:rgba(7,10,15,.35)}.product-art{width:72px;height:72px;flex:0 0 72px;border:1px solid rgba(215,170,59,.35);border-radius:13px;background:radial-gradient(circle at 50% 35%,rgba(215,170,59,.18),transparent 55%),#090c11;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--gold2)}.product-art span{font-size:23px;font-weight:900}.product-art small{font-size:9px;letter-spacing:1.6px;margin-top:3px}.product-art.large{width:92px;height:92px;flex-basis:92px}.product-info{flex:1;min-width:0}.product-info h3,.product-info h2{margin:0 0 5px}.product-info p{margin:0;color:var(--muted);line-height:1.45}.product-meta{display:flex;align-items:center;gap:9px;margin-top:9px;color:var(--muted);font-size:11px}.status-pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:99px;font-size:10px;font-weight:800;letter-spacing:.35px}.status-pill.active{color:#78e7b4;background:rgba(67,211,145,.11);border:1px solid rgba(67,211,145,.26)}.status-pill.pending{color:#f4cb69;background:rgba(215,170,59,.10);border:1px solid rgba(215,170,59,.25)}.gold-button,.outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border-radius:9px;font-weight:800;font-size:12px;text-decoration:none;cursor:pointer}.gold-button{color:#171309;background:linear-gradient(135deg,#f0ca61,#c69424);border:1px solid #f1d178}.outline-button{color:var(--gold2);background:transparent;border:1px solid rgba(215,170,59,.44)}.gold-button.full,.outline-button.full{width:100%}button:disabled{opacity:.62;cursor:not-allowed}.shield-badge{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:rgba(67,211,145,.10);border:1px solid rgba(67,211,145,.24);color:var(--green);font-weight:900}.detail-list{margin:0 0 16px}.detail-list>div{display:grid;grid-template-columns:minmax(110px,1fr) minmax(120px,1.35fr);gap:10px;padding:11px 0;border-bottom:1px solid var(--border)}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;text-align:right;overflow-wrap:anywhere}.detail-list.compact>div{padding:9px 0}.mono{font-family:Consolas,monospace;font-size:12px}.download-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--border)}.download-item:first-of-type{border-top:0}.download-item>div:nth-child(2){flex:1;min-width:0}.download-item strong,.download-item small{display:block}.download-item small{color:var(--muted);margin-top:4px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-icon{width:38px;height:42px;border-radius:8px;display:grid;place-items:center;background:rgba(85,169,255,.11);border:1px solid rgba(85,169,255,.25);color:#7fc1ff;font-size:10px;font-weight:900}.icon-download{width:34px;height:34px;border-radius:8px;border:1px solid rgba(215,170,59,.38);background:transparent;color:var(--gold2)}.notice-item{display:flex;gap:11px;padding:11px 0;border-top:1px solid var(--border)}.notice-item:first-of-type{border-top:0}.notice-item p{margin:5px 0 0;color:var(--muted);line-height:1.45}.notice-dot{width:27px;height:27px;flex:0 0 27px;border-radius:50%;display:grid;place-items:center;background:rgba(85,169,255,.12);border:1px solid rgba(85,169,255,.25);color:#74b9ff;font-weight:900}.plan-crown{font-size:25px;color:var(--gold2)}.plan-title{padding:15px;border:1px solid rgba(215,170,59,.28);border-radius:11px;background:linear-gradient(135deg,rgba(215,170,59,.10),rgba(215,170,59,.02));margin-bottom:12px}.plan-title div{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-title strong{color:var(--gold2);font-size:17px}.plan-title small,.helper{display:block;color:var(--muted);font-size:11px;margin-top:7px}.empty-state{padding:26px;text-align:center;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;color:#697486;font-size:11px;padding:20px 3px 0}.page-grid{display:grid;gap:15px}.product-page-card{display:flex;align-items:center;gap:18px}.page-panel{max-width:1100px}.large-row{padding:16px 0}.eyebrow{font-size:10px;color:var(--gold2);letter-spacing:1.7px;font-weight:800;margin-bottom:7px}.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.support-card{text-align:center;padding:28px 22px}.support-card h2{font-size:17px}.support-card p{color:var(--muted);line-height:1.55;min-height:48px}.support-icon{width:55px;height:55px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:rgba(215,170,59,.09);border:1px solid rgba(215,170,59,.28);color:var(--gold2);font-size:22px}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.security-item{display:flex;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--border)}
.login-page{min-height:100vh;background:radial-gradient(circle at 20% 10%,rgba(215,170,59,.13),transparent 32%),radial-gradient(circle at 90% 0,rgba(54,83,130,.14),transparent 35%),var(--bg);display:grid;place-items:center;padding:25px}.login-wrap{width:min(1040px,100%);display:grid;grid-template-columns:1.15fr .85fr;border:1px solid var(--border);border-radius:22px;overflow:hidden;box-shadow:0 35px 100px rgba(0,0,0,.46)}.login-brand-panel{padding:58px;background:linear-gradient(145deg,#0d1219,#080b10);display:flex;flex-direction:column;justify-content:center}.brand.giant .brand-emblem{width:62px;height:62px;font-size:30px}.brand.giant .brand-copy strong{font-size:27px}.login-brand-panel h1{font-size:37px;line-height:1.15;max-width:520px;margin:45px 0 15px}.login-brand-panel>p{color:var(--muted);line-height:1.65;max-width:540px}.login-features{display:grid;gap:11px;margin-top:24px;color:#c9d0da}.login-features span::first-letter{color:var(--gold)}.login-card{padding:52px 42px;background:var(--panel)}.login-card h2{font-size:28px;margin:8px 0}.login-card>p{color:var(--muted)}.login-card form{display:grid;gap:9px;margin-top:27px}.login-card label{color:var(--muted);font-size:12px;margin-top:7px}.login-card input{width:100%;padding:13px;background:#090d12;border:1px solid var(--border);border-radius:9px;color:var(--text);outline:none}.login-card input:focus{border-color:var(--gold)}.login-card form .gold-button{margin-top:12px}.form-error{padding:10px 12px;border-radius:9px;color:#ff9da4;background:rgba(238,106,114,.10);border:1px solid rgba(238,106,114,.28)}.demo-box{display:grid;gap:4px;margin-top:20px;padding:13px;border-radius:10px;background:#0b1017;border:1px solid var(--border);font-size:11px;color:var(--muted)}.demo-box strong{color:var(--gold2);margin-bottom:3px}
@media(max-width:1200px){.summary-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr 1fr}.products-panel{grid-column:span 2}.license-panel{grid-row:auto}.subscription-panel{grid-column:span 2}.support-grid{grid-template-columns:1fr 1fr}.support-card:last-child{grid-column:span 2}}
@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:16px}.brand-emblem{width:42px;height:42px}.main-nav{margin-top:17px;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.main-nav a{justify-content:center;padding:9px 4px;font-size:10px}.main-nav a span:last-child{display:none}.member-card,.secure-line{display:none}.main-content{padding:18px}.topbar{align-items:flex-start;flex-direction:column}.top-actions{width:100%;justify-content:space-between}.profile-copy{display:none}.summary-grid,.dashboard-grid,.account-grid,.support-grid{grid-template-columns:1fr}.products-panel,.subscription-panel,.support-card:last-child{grid-column:auto}.product-card,.product-page-card{align-items:flex-start;flex-wrap:wrap}.product-info{min-width:calc(100% - 100px)}.gold-button{margin-left:auto}.login-wrap{grid-template-columns:1fr}.login-brand-panel{display:none}.login-card{padding:34px 25px}.site-footer{flex-direction:column;gap:5px}}
@media(max-width:480px){.summary-grid{grid-template-columns:1fr}.summary-card{min-height:100px}.page-heading h1{font-size:23px}.top-actions{gap:8px}.profile-block{margin-right:auto}.product-art{width:58px;height:58px;flex-basis:58px}.product-info{min-width:calc(100% - 75px)}.detail-list>div{grid-template-columns:1fr}.detail-list dd{text-align:left}.product-card>.gold-button,.product-page-card>.gold-button{width:100%;margin:0}.main-content{padding:14px}.panel{padding:15px}}
/* Copy these rules to the end of static/css/app.css if needed. */
.login-card.wide { width: min(520px, 100%); }
.form-help { color: var(--muted); line-height: 1.45; }
.field-error { color: #ff9ca3; font-size: 12px; }
.auth-links { margin-top: 18px; color: var(--muted); font-size: 13px; display: flex; gap: 8px; justify-content: center; }
.auth-links a { color: var(--gold-soft); text-decoration: none; }
.alert.success { background: rgba(51,196,129,.12); border: 1px solid rgba(51,196,129,.35); color: #72e2af; padding: 10px 12px; border-radius: 9px; margin-bottom: 16px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.plan-card { position: relative; }
.plan-period { color: var(--gold-soft); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.plan-price { font-size: 34px; font-weight: 800; margin: 12px 0; color: var(--gold-soft); }
.plan-price small { font-size: 12px; color: var(--muted); }
.muted-copy { color: var(--muted); line-height: 1.6; }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }
/* SARAK TRADING — Milestone 2.1 account pages */

.auth-page {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 5%, rgba(215,170,59,.11), transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(60,91,140,.13), transparent 35%),
        #070a0f;
    color: #f4f6fa;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 1.08fr) minmax(420px, .92fr);
}

.auth-brand-panel {
    position: relative;
    padding: 48px 58px;
    background:
        linear-gradient(155deg, rgba(20,26,36,.97), rgba(8,11,16,.99)),
        #0a0e14;
    border-right: 1px solid #28303c;
    display: flex;
    flex-direction: column;
}

.auth-brand,
.auth-mobile-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.auth-brand-mark {
    width: 49px;
    height: 49px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215,170,59,.72);
    background: rgba(215,170,59,.07);
    color: #f0c95f;
    font-size: 23px;
    font-weight: 900;
    box-shadow: 0 0 28px rgba(215,170,59,.09);
}

.auth-brand-name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.auth-brand-sub {
    margin-top: 3px;
    color: #d7aa3b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
}

.auth-brand-content {
    margin: auto 0;
    max-width: 640px;
}

.auth-eyebrow {
    color: #e4b947;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.auth-brand-content h1 {
    margin: 18px 0 17px;
    color: #fff;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.8px;
}

.auth-brand-content > p {
    max-width: 560px;
    margin: 0;
    color: #9ca7b8;
    font-size: 16px;
    line-height: 1.7;
}

.auth-feature-list {
    display: grid;
    gap: 13px;
    margin-top: 30px;
    color: #d1d7e1;
    font-size: 14px;
}

.auth-feature-list span {
    color: #5fe0a5;
    margin-right: 9px;
}

.auth-security-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #778396;
    font-size: 12px;
}

.auth-form-panel {
    display: grid;
    place-items: center;
    padding: 42px;
    background: rgba(6,9,13,.78);
}

.auth-card {
    width: min(520px, 100%);
    padding: 42px;
    border: 1px solid #29313d;
    border-radius: 18px;
    background: linear-gradient(160deg, #121823, #0d121a);
    box-shadow: 0 30px 85px rgba(0,0,0,.45);
}

.auth-mobile-brand {
    display: none;
}

.auth-heading h2 {
    margin: 10px 0 8px;
    color: #fff;
    font-size: 30px;
    letter-spacing: -.3px;
}

.auth-heading p {
    margin: 0;
    color: #99a5b6;
    line-height: 1.55;
}

.auth-heading.centered {
    text-align: center;
}

.auth-form {
    display: grid;
    gap: 17px;
    margin-top: 28px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    color: #b9c2cf;
    font-size: 12px;
    font-weight: 700;
}

.auth-field input,
.auth-form input {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    color: #f5f7fa;
    background: #080c11;
    border: 1px solid #303946;
    border-radius: 9px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-field input:focus,
.auth-form input:focus {
    border-color: #d7aa3b;
    box-shadow: 0 0 0 3px rgba(215,170,59,.10);
}

.auth-help {
    color: #7e8999;
    font-size: 11px;
    line-height: 1.45;
}

.auth-help ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

.auth-field-error {
    color: #ff9da4;
    font-size: 12px;
}

.auth-primary-button {
    width: 100%;
    min-height: 46px;
    margin-top: 3px;
    border: 1px solid #f0ce70;
    border-radius: 9px;
    color: #171208;
    background: linear-gradient(135deg, #f2cd65, #c89526);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(200,149,38,.12);
}

.auth-primary-button:hover {
    filter: brightness(1.05);
}

.auth-link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.auth-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #7f8a9a;
    font-size: 13px;
}

.auth-actions a {
    color: #e4b947;
    text-decoration: none;
}

.auth-demo-box {
    display: grid;
    gap: 4px;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid #28313c;
    border-radius: 10px;
    color: #8f9bab;
    background: #090e14;
    font-size: 12px;
}

.auth-demo-box strong {
    margin-bottom: 2px;
    color: #e7bd50;
}

.auth-alert {
    margin-top: 20px;
    padding: 12px 14px;
    border-radius: 9px;
    line-height: 1.45;
}

.auth-alert.error {
    color: #ffabb1;
    background: rgba(226,84,96,.10);
    border: 1px solid rgba(226,84,96,.35);
}

.auth-status-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #67e0a9;
    background: rgba(67,211,145,.10);
    border: 1px solid rgba(67,211,145,.30);
    font-size: 26px;
    font-weight: 900;
}

@media (max-width: 950px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100vh;
        padding: 26px;
    }

    .auth-mobile-brand {
        display: flex;
        margin-bottom: 34px;
    }
}

@media (max-width: 560px) {
    .auth-form-panel {
        padding: 14px;
    }

    .auth-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .auth-heading h2 {
        font-size: 25px;
    }
}

/* Milestone 4 — Lemon Squeezy test checkout */
.test-mode-banner {
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(224, 177, 58, .35);
    border-radius: 10px;
    color: #c7cfda;
    background: rgba(224, 177, 58, .08);
    font-size: 13px;
}

.test-mode-banner strong {
    margin-right: 8px;
    color: #e8bd4f;
    letter-spacing: .08em;
}

.checkout-result-card {
    max-width: 760px;
    margin: 32px auto;
    padding: 48px;
    text-align: center;
}

.checkout-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 34px;
    font-weight: 900;
}

.checkout-result-icon.success {
    color: #65dda6;
    border: 1px solid rgba(72, 205, 145, .35);
    background: rgba(72, 205, 145, .10);
}

.checkout-result-icon.cancelled {
    color: #e5b84b;
    border: 1px solid rgba(229, 184, 75, .35);
    background: rgba(229, 184, 75, .10);
}

.result-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #d9ae43;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.checkout-result-card h2 {
    margin: 0 0 14px;
    color: #f4f6f8;
}

.checkout-result-card p {
    max-width: 600px;
    margin: 0 auto;
    color: #98a4b5;
    line-height: 1.7;
}

.checkout-result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #35404d;
    border-radius: 8px;
    color: #c8d0da;
    background: #10161e;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 620px) {
    .checkout-result-card {
        margin: 18px 0;
        padding: 30px 20px;
    }
}


/* Milestone 6A — one-time security token */
.token-display {
    margin: 22px 0;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 10px;
    background: #080808;
    color: #f5d76e;
    font-family: Consolas, "Courier New", monospace;
    font-size: clamp(14px, 2vw, 19px);
    font-weight: 700;
    letter-spacing: 0.05em;
    overflow-wrap: anywhere;
    user-select: all;
}
/* ============================================================
   SARAK TRADING — Professional Customer Dashboard Upgrade
   Milestone 7B UI Review: Dashboard
   ============================================================ */

:root {
    --bg: #06080c;
    --sidebar: #080b10;
    --panel: #10151d;
    --panel2: #141b25;
    --panel3: #0c1118;
    --border: #303947;
    --border-soft: #252d38;
    --gold: #d8aa35;
    --gold2: #f0cd68;
    --text: #ffffff;
    --text-soft: #e4e9f0;
    --muted: #a9b4c3;
    --muted-strong: #c0c9d5;
    --green: #55dfa2;
    --blue: #6db7ff;
    --amber: #f1bf4b;
    --red: #ef7b84;
    --shadow: 0 18px 45px rgba(0, 0, 0, .20);
}

body {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.45;
    background:
        radial-gradient(circle at 78% 0, rgba(54, 73, 111, .13), transparent 31%),
        var(--bg);
}

.app-shell {
    grid-template-columns: 244px minmax(0, 1fr);
}

.sidebar {
    padding: 26px 16px 18px;
    border-right-color: #242c37;
    background:
        linear-gradient(180deg, rgba(12, 17, 24, .98), rgba(7, 10, 15, .99));
}

.brand {
    padding: 0 2px;
}

.brand-emblem {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 23px;
}

.brand-copy strong {
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 2.4px;
}

.brand-copy small {
    font-weight: 900;
}

.main-nav {
    gap: 8px;
    margin-top: 36px;
}

.main-nav a {
    min-height: 48px;
    gap: 12px;
    padding: 9px 11px;
    border-radius: 11px;
    color: #c4ccd7;
    font-weight: 750;
    transition:
        color .16s ease,
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.main-nav a:hover {
    color: #fff;
    border-color: #2c3542;
    background: #111821;
    transform: translateX(2px);
}

.main-nav a.active {
    color: #171208;
    border-color: #f0cb65;
    background: linear-gradient(135deg, #f1cd67, #ce9a2b);
    box-shadow: 0 10px 28px rgba(215, 170, 59, .18);
}

.nav-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid #303a47;
    border-radius: 9px;
    color: #d4dbe5;
    background: rgba(255, 255, 255, .025);
}

.main-nav a.active .nav-icon {
    color: #171208;
    border-color: rgba(23, 18, 8, .18);
    background: rgba(255, 255, 255, .20);
}

.nav-icon svg,
.member-crown svg,
.signout svg,
.summary-icon svg,
.gold-button svg,
.icon-download svg,
.plan-crown svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.member-card {
    padding: 14px;
    border-color: rgba(216, 170, 53, .38);
    background: linear-gradient(145deg, rgba(216, 170, 53, .11), rgba(216, 170, 53, .025));
}

.member-card strong {
    color: #fff;
    font-size: 12px;
}

.member-card small {
    color: #aeb8c6;
}

.member-crown {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 53, .28);
    border-radius: 10px;
    background: rgba(216, 170, 53, .08);
}

.secure-line {
    color: #8995a5;
}

.main-content {
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    padding: 28px 28px 26px;
}

.topbar {
    min-height: 58px;
    margin-bottom: 24px;
}

.page-heading h1 {
    color: #fff;
    font-size: 30px;
    font-weight: 850;
    letter-spacing: -.7px;
}

.page-heading p {
    max-width: 760px;
    color: #aeb8c6;
    font-size: 13px;
}

.top-actions {
    gap: 12px;
}

.profile-block {
    min-height: 48px;
    padding: 4px 7px 4px 4px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: inherit;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}

.profile-block:hover {
    border-color: #313b48;
    background: #10161e;
}

.profile-avatar {
    width: 40px;
    height: 40px;
}

.profile-copy strong {
    color: #fff;
    font-size: 12px;
}

.profile-copy small {
    color: var(--gold2);
    font-size: 10px;
}

.signout {
    min-height: 42px;
    padding: 8px 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #384351;
    border-radius: 10px;
    color: #dce2e9;
    background: #10161e;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition:
        color .15s ease,
        border-color .15s ease,
        background .15s ease,
        transform .15s ease;
}

.signout svg {
    width: 17px;
    height: 17px;
}

.signout:hover {
    color: #fff;
    border-color: rgba(216, 170, 53, .62);
    background: rgba(216, 170, 53, .09);
    transform: translateY(-1px);
}

.setup-alert {
    margin-bottom: 18px;
    padding: 15px 17px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    border: 1px solid rgba(216, 170, 53, .34);
    border-radius: 13px;
    color: #d9e0e9;
    background: rgba(216, 170, 53, .075);
}

.setup-alert-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 53, .42);
    border-radius: 9px;
    color: var(--gold2);
    font-weight: 900;
}

.setup-alert strong {
    color: #fff;
}

.setup-alert-list {
    display: grid;
    gap: 3px;
    margin-top: 5px;
    color: #bbc4cf;
    font-size: 12px;
}

.summary-grid {
    gap: 15px;
    margin-bottom: 18px;
}

.summary-card {
    min-height: 124px;
    padding: 18px;
    border-color: var(--border-soft);
    border-radius: 15px;
    background: linear-gradient(145deg, #151c26, #0f141c);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.summary-card:hover {
    border-color: #3a4554;
}

.summary-card.accent-card {
    border-color: rgba(216, 170, 53, .52);
    background:
        linear-gradient(145deg, rgba(216, 170, 53, .075), transparent 52%),
        linear-gradient(145deg, #151c26, #0f141c);
}

.summary-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 13px;
    color: var(--gold2);
}

.summary-icon svg {
    width: 22px;
    height: 22px;
}

.summary-copy {
    min-width: 0;
}

.summary-card span {
    color: #c1cad5;
    font-size: 12px;
    font-weight: 700;
}

.summary-card strong {
    margin: 5px 0 5px;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
}

.summary-card strong.success {
    color: #63e2aa;
}

.summary-card small {
    max-width: 230px;
    color: #9eabbc;
    font-size: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-primary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(340px, .75fr);
    gap: 17px;
    align-items: stretch;
    margin-bottom: 17px;
}

.dashboard-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
    align-items: start;
}

.panel {
    padding: 20px;
    border-color: var(--border-soft);
    border-radius: 15px;
    background: linear-gradient(155deg, #141b25, #0f141c);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
}

.products-panel-featured {
    position: relative;
    overflow: hidden;
    border-color: rgba(216, 170, 53, .34);
    background:
        radial-gradient(circle at 95% 0, rgba(216, 170, 53, .10), transparent 35%),
        linear-gradient(155deg, #151c26, #0f141c);
}

.products-panel-featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, transparent, #e7bd4f, transparent);
    opacity: .85;
}

.panel-header {
    margin-bottom: 17px;
}

.panel-header h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 820;
    letter-spacing: -.2px;
}

.panel-header p {
    color: #a4afbe;
    font-size: 12px;
    line-height: 1.5;
}

.panel-kicker {
    display: block;
    margin-bottom: 5px;
    color: #d9ad3e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.35px;
}

.text-link {
    color: #efc95f;
    font-size: 11px;
    font-weight: 800;
}

.text-link:hover {
    color: #fff;
}

.text-link-button {
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(216, 170, 53, .36);
    border-radius: 8px;
    background: rgba(216, 170, 53, .055);
}

.product-card-featured {
    min-height: 132px;
    padding: 18px;
    gap: 17px;
    border-color: #313b48;
    border-radius: 14px;
    background: rgba(7, 10, 15, .48);
}

.product-card-featured:hover {
    border-color: rgba(216, 170, 53, .48);
    background: rgba(10, 14, 20, .62);
}

.product-art-featured {
    width: 86px;
    height: 86px;
    flex-basis: 86px;
    border-radius: 15px;
    box-shadow: inset 0 0 26px rgba(216, 170, 53, .06);
}

.product-art-featured span {
    font-size: 28px;
}

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

.product-heading-row h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}

.product-info p {
    color: #b4becb;
    font-size: 13px;
}

.product-meta {
    color: #99a6b6;
    font-size: 11px;
}

.meta-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #596575;
}

.product-actions {
    margin-left: auto;
    flex: 0 0 auto;
}

.gold-button,
.outline-button {
    min-height: 41px;
    padding: 10px 15px;
    gap: 8px;
    border-radius: 9px;
    font-size: 12px;
}

.gold-button svg {
    width: 16px;
    height: 16px;
}

.gold-button:hover,
.outline-button:hover {
    transform: translateY(-1px);
}

.gold-button {
    color: #171208;
    background: linear-gradient(135deg, #f0cc66, #ca9626);
    box-shadow: 0 8px 22px rgba(200, 150, 38, .12);
}

.outline-button {
    color: #efcb68;
    background: rgba(216, 170, 53, .035);
    border-color: rgba(216, 170, 53, .42);
}

.outline-button:hover {
    color: #fff;
    border-color: rgba(216, 170, 53, .72);
    background: rgba(216, 170, 53, .08);
}

.license-panel {
    display: flex;
    flex-direction: column;
}

.shield-badge {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 16px;
}

.license-detail-list {
    flex: 1;
    margin-bottom: 18px;
}

.detail-list > div {
    grid-template-columns: minmax(115px, .85fr) minmax(135px, 1.2fr);
    padding: 10px 0;
    border-bottom-color: #29313d;
}

.detail-list dt {
    color: #aab5c3;
    font-size: 11px;
}

.detail-list dd {
    color: #f5f7fa;
    font-size: 11px;
    font-weight: 650;
}

.mono {
    color: #dce4ed !important;
    font-size: 10px !important;
}

.status-pill {
    min-height: 23px;
    padding: 4px 9px;
    font-size: 9px;
}

.download-item {
    min-height: 62px;
    padding: 12px 0;
    border-top-color: #2a3340;
}

.download-item strong,
.notice-item strong {
    color: #fff;
    font-size: 12px;
}

.download-item small {
    color: #9ca8b8;
}

.icon-download {
    display: grid;
    place-items: center;
    text-decoration: none;
}

.icon-download svg {
    width: 16px;
    height: 16px;
}

.notice-item {
    padding: 12px 0;
    border-top-color: #2a3340;
}

.notice-item p {
    color: #aab5c3;
    font-size: 11px;
}

.plan-crown {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 53, .30);
    border-radius: 11px;
    background: rgba(216, 170, 53, .07);
}

.plan-crown svg {
    width: 20px;
    height: 20px;
}

.plan-title {
    padding: 16px;
    border-radius: 12px;
}

.plan-title strong {
    color: #f2ce69;
    font-size: 14px;
}

.helper {
    color: #929faf;
    line-height: 1.45;
}

.empty-state {
    color: #9eaaba;
}

.empty-state-featured {
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    border: 1px dashed #394352;
    border-radius: 13px;
    background: rgba(7, 10, 15, .30);
}

.empty-state-featured strong {
    color: #fff;
    font-size: 15px;
}

.empty-state-featured span {
    color: #9faaba;
    font-size: 12px;
}

.empty-state-featured .gold-button {
    margin-top: 7px;
}

@media (max-width: 1380px) {
    .dashboard-primary-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, .8fr);
    }

    .dashboard-secondary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-secondary-grid .subscription-panel {
        grid-column: span 2;
    }
}

@media (max-width: 1120px) {
    .app-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .dashboard-primary-grid {
        grid-template-columns: 1fr;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        padding: 15px;
    }

    .main-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
        margin-top: 15px;
    }

    .main-nav a {
        min-height: 44px;
        justify-content: center;
        padding: 6px;
    }

    .main-nav a span:last-child {
        display: none;
    }

    .nav-icon {
        width: 31px;
        height: 31px;
    }

    .main-content {
        padding: 18px;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-secondary-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-secondary-grid .subscription-panel {
        grid-column: auto;
    }

    .product-card-featured {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .product-actions {
        width: 100%;
        margin-left: 103px;
    }
}

@media (max-width: 560px) {
    .main-content {
        padding: 14px;
    }

    .page-heading h1 {
        font-size: 25px;
    }

    .profile-copy {
        display: none;
    }

    .signout span {
        display: inline;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .summary-card {
        min-height: 106px;
    }

    .panel {
        padding: 16px;
    }

    .panel-header {
        align-items: flex-start;
    }

    .text-link-button {
        padding: 7px 8px;
    }

    .product-art-featured {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }

    .product-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .product-actions {
        margin-left: 0;
    }

    .product-actions .gold-button {
        width: 100%;
    }

    .detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .detail-list dd {
        text-align: left;
    }
}

/* ============================================================
   SARAK TRADING — Balanced Dashboard Panel Layout
   ============================================================ */

.dashboard-primary-grid,
.dashboard-secondary-grid {
    display: none;
}

.dashboard-balanced-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.dashboard-full-row {
    grid-column: 1 / -1;
}

.dashboard-equal-panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.dashboard-equal-panel .panel-header {
    min-height: 68px;
}

.license-panel,
.subscription-panel {
    min-height: 430px;
}

.license-panel .detail-list,
.subscription-panel .detail-list {
    flex: 1;
}

.license-panel > .outline-button,
.subscription-panel > .gold-button,
.subscription-panel > .outline-button {
    margin-top: auto;
}

.compact-info-panel {
    min-height: 190px;
}

.compact-info-panel .panel-header {
    min-height: 64px;
    margin-bottom: 10px;
}

.compact-info-panel .empty-state {
    flex: 1;
    display: grid;
    place-items: center;
}

@media (max-width: 1120px) {
    .dashboard-balanced-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-full-row {
        grid-column: auto;
    }

    .license-panel,
    .subscription-panel,
    .compact-info-panel {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .dashboard-equal-panel .panel-header,
    .compact-info-panel .panel-header {
        min-height: auto;
    }
}

/* ============================================================
   SARAK TRADING — Final Dashboard Alignment Correction
   Removes legacy grid spans from the original dashboard CSS.
   ============================================================ */

.dashboard-balanced-layout > .license-panel,
.dashboard-balanced-layout > .subscription-panel,
.dashboard-balanced-layout > .compact-info-panel {
    grid-row: auto !important;
    grid-column: auto !important;
}

.dashboard-balanced-layout > .license-panel,
.dashboard-balanced-layout > .subscription-panel {
    min-height: 390px;
    height: 100%;
}

.dashboard-balanced-layout > .compact-info-panel {
    min-height: 190px;
    height: 100%;
}

.dashboard-balanced-layout > .license-panel .panel-header,
.dashboard-balanced-layout > .subscription-panel .panel-header {
    min-height: 68px;
}

.dashboard-balanced-layout > .compact-info-panel .panel-header {
    min-height: 64px;
}

@media (max-width: 1120px) {
    .dashboard-balanced-layout > .license-panel,
    .dashboard-balanced-layout > .subscription-panel,
    .dashboard-balanced-layout > .compact-info-panel {
        min-height: auto;
        height: auto;
    }
}
/* ============================================================
   SARAK TRADING — Professional My Products Page
   ============================================================ */

.products-page-header {
    margin-bottom: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    background:
        radial-gradient(circle at 95% 0, rgba(216, 170, 53, .09), transparent 34%),
        linear-gradient(155deg, #141b25, #0f141c);
}

.products-page-header h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    letter-spacing: -.3px;
}

.products-page-header p {
    margin: 6px 0 0;
    color: #a9b4c3;
    font-size: 13px;
}

.products-count-card {
    min-width: 145px;
    padding: 13px 16px;
    border: 1px solid rgba(216, 170, 53, .35);
    border-radius: 12px;
    text-align: right;
    background: rgba(216, 170, 53, .055);
}

.products-count-card span {
    display: block;
    color: #b7c1ce;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.products-count-card strong {
    display: block;
    margin-top: 4px;
    color: #f1cd67;
    font-size: 25px;
    line-height: 1;
}

.products-page-grid {
    display: grid;
    gap: 16px;
}

.product-page-card-professional {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 190px;
    gap: 20px;
    align-items: center;
    padding: 22px;
    border-color: rgba(216, 170, 53, .28);
    background:
        linear-gradient(145deg, rgba(216, 170, 53, .035), transparent 38%),
        linear-gradient(155deg, #141b25, #0f141c);
}

.product-page-card-professional:hover {
    border-color: rgba(216, 170, 53, .52);
}

.product-art-page {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
    border-radius: 16px;
    box-shadow:
        inset 0 0 28px rgba(216, 170, 53, .07),
        0 12px 28px rgba(0, 0, 0, .16);
}

.product-art-page span {
    font-size: 31px;
}

.product-page-main {
    min-width: 0;
}

.product-page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.product-page-heading h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 21px;
    letter-spacing: -.25px;
}

.product-page-description {
    max-width: 840px;
    margin: 10px 0 16px;
    color: #b4becb;
    font-size: 13px;
    line-height: 1.6;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 10px;
}

.product-spec-grid > div {
    padding: 11px 12px;
    border: 1px solid #2b3441;
    border-radius: 10px;
    background: rgba(7, 10, 15, .34);
}

.product-spec-grid span,
.product-spec-grid strong {
    display: block;
}

.product-spec-grid span {
    color: #97a4b4;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.product-spec-grid strong {
    margin-top: 4px;
    color: #f4f7fa;
    font-size: 12px;
}

.product-page-actions {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    border-left: 1px solid #2b3441;
}

.product-page-actions .gold-button,
.product-page-actions .outline-button {
    min-width: 165px;
}

.products-empty-state {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
    text-align: center;
    border-style: dashed;
}

.products-empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 53, .34);
    border-radius: 17px;
    color: #efc960;
    background: rgba(216, 170, 53, .07);
}

.products-empty-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.products-empty-state h2 {
    margin: 2px 0 8px;
    color: #fff;
    font-size: 21px;
}

.products-empty-state p {
    max-width: 520px;
    margin: 0 0 20px;
    color: #a8b3c1;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .product-page-card-professional {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .product-page-actions {
        grid-column: 2;
        justify-content: flex-start;
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .products-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-count-card {
        width: 100%;
        text-align: left;
    }

    .product-page-card-professional {
        grid-template-columns: 1fr;
    }

    .product-art-page {
        width: 76px;
        height: 76px;
    }

    .product-page-heading {
        flex-direction: column;
    }

    .product-spec-grid {
        grid-template-columns: 1fr;
    }

    .product-page-actions {
        grid-column: auto;
    }

    .product-page-actions .gold-button,
    .product-page-actions .outline-button {
        width: 100%;
    }
}
/* ============================================================
   SARAK TRADING — Professional Subscription Plans Page
   ============================================================ */

.plans-test-banner {
    margin-bottom: 18px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(216, 170, 53, .38);
    border-radius: 13px;
    background:
        linear-gradient(90deg, rgba(216, 170, 53, .09), rgba(216, 170, 53, .035));
}

.plans-test-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(216, 170, 53, .43);
    border-radius: 10px;
    color: #f0ca61;
    background: rgba(216, 170, 53, .08);
    font-weight: 900;
}

.plans-test-banner strong {
    color: #f3cf69;
    font-size: 12px;
    letter-spacing: .2px;
}

.plans-test-banner p {
    margin: 3px 0 0;
    color: #b7c1ce;
    font-size: 12px;
}

.plans-intro {
    margin-bottom: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    background:
        radial-gradient(circle at 95% 0, rgba(216, 170, 53, .09), transparent 34%),
        linear-gradient(155deg, #141b25, #0f141c);
}

.plans-intro h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    letter-spacing: -.3px;
}

.plans-intro p {
    max-width: 760px;
    margin: 6px 0 0;
    color: #a9b4c3;
    font-size: 13px;
    line-height: 1.55;
}

.current-plan-summary {
    min-width: 190px;
    padding: 13px 16px;
    border: 1px solid rgba(85, 223, 162, .30);
    border-radius: 12px;
    text-align: right;
    background: rgba(85, 223, 162, .055);
}

.current-plan-summary span,
.current-plan-summary strong,
.current-plan-summary small {
    display: block;
}

.current-plan-summary span {
    color: #9eabbb;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.current-plan-summary strong {
    margin-top: 4px;
    color: #fff;
    font-size: 14px;
}

.current-plan-summary small {
    margin-top: 3px;
    color: #64e1aa;
    font-size: 10px;
    font-weight: 800;
}

.plans-professional-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.plan-card-professional {
    position: relative;
    min-height: 530px;
    display: flex;
    flex-direction: column;
    padding: 23px;
    overflow: hidden;
}

.plan-card-professional.recommended {
    border-color: rgba(216, 170, 53, .52);
    background:
        radial-gradient(circle at 100% 0, rgba(216, 170, 53, .12), transparent 34%),
        linear-gradient(155deg, #151c26, #0f141c);
}

.plan-card-professional.recommended::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #edc65d, transparent);
}

.plan-card-top {
    min-height: 62px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.plan-card-top h2 {
    margin: 7px 0 0;
    color: #fff;
    font-size: 21px;
    letter-spacing: -.25px;
}

.plan-period {
    color: #d9ad3e;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.15px;
}

.current-plan-badge,
.best-value-badge {
    min-height: 26px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .4px;
    white-space: nowrap;
}

.current-plan-badge {
    color: #76e8b5;
    border: 1px solid rgba(85, 223, 162, .33);
    background: rgba(85, 223, 162, .09);
}

.best-value-badge {
    color: #f2cf6c;
    border: 1px solid rgba(216, 170, 53, .38);
    background: rgba(216, 170, 53, .09);
}

.plan-price-professional {
    margin: 20px 0 13px;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    color: #fff;
}

.plan-price-professional .currency {
    margin-bottom: 8px;
    color: #efc85f;
    font-size: 24px;
    font-weight: 900;
}

.plan-price-professional strong {
    font-size: 43px;
    line-height: .95;
    letter-spacing: -1px;
}

.plan-price-professional .price-code {
    margin: 0 0 5px 4px;
    color: #abb6c4;
    font-size: 11px;
    font-weight: 800;
}

.plan-description {
    min-height: 44px;
    margin: 0 0 20px;
    color: #b4becb;
    font-size: 13px;
    line-height: 1.6;
}

.plan-includes-title {
    margin-bottom: 8px;
    color: #dce3eb;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .75px;
}

.plan-feature-list {
    margin: 0;
}

.plan-feature-list > div {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #2b3441;
}

.plan-feature-list dt {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #b5bfcc;
    font-size: 12px;
}

.plan-feature-list dd {
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.plan-feature-icon {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(85, 223, 162, .25);
    border-radius: 6px;
    color: #64dfa8;
    background: rgba(85, 223, 162, .06);
    font-size: 10px;
    font-weight: 900;
}

.plan-card-action {
    margin-top: auto;
    padding-top: 21px;
}

.plan-card-action small {
    display: block;
    min-height: 32px;
    margin-top: 9px;
    color: #919ead;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.plan-current-button,
.plan-unavailable-button {
    width: 100%;
    min-height: 43px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 850;
}

.plan-current-button {
    color: #78e7b4;
    border: 1px solid rgba(85, 223, 162, .31);
    background: rgba(85, 223, 162, .07);
}

.plan-unavailable-button {
    color: #d9c68e;
    border: 1px solid rgba(216, 170, 53, .25);
    background: rgba(216, 170, 53, .07);
}

.plans-security-note {
    margin-top: 18px;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid #27313d;
    border-radius: 12px;
    background: rgba(12, 17, 24, .66);
}

.plans-security-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #55dfa2;
    box-shadow: 0 0 12px rgba(85, 223, 162, .45);
}

.plans-security-note strong {
    color: #e9edf3;
    font-size: 11px;
}

.plans-security-note p {
    margin: 3px 0 0;
    color: #929eae;
    font-size: 10px;
    line-height: 1.5;
}

.plans-empty-state {
    grid-column: 1 / -1;
    padding: 50px 28px;
    text-align: center;
}

.plans-empty-state h2 {
    color: #fff;
}

.plans-empty-state p {
    color: #a9b4c3;
}

@media (max-width: 960px) {
    .plans-professional-grid {
        grid-template-columns: 1fr;
    }

    .plan-card-professional {
        min-height: auto;
    }
}

@media (max-width: 650px) {
    .plans-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .current-plan-summary {
        width: 100%;
        text-align: left;
    }

    .plan-card-professional {
        padding: 18px;
    }

    .plan-price-professional strong {
        font-size: 37px;
    }
}
/* ============================================================
   SARAK TRADING — Professional Downloads Page
   ============================================================ */

.downloads-page-header {
    margin-bottom: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 15px;
    background:
        radial-gradient(circle at 95% 0, rgba(85, 169, 255, .09), transparent 34%),
        linear-gradient(155deg, #141b25, #0f141c);
}

.downloads-page-header h2 {
    margin: 0;
    color: #fff;
    font-size: 22px;
    letter-spacing: -.3px;
}

.downloads-page-header p {
    margin: 6px 0 0;
    color: #a9b4c3;
    font-size: 13px;
}

.downloads-count-card {
    min-width: 145px;
    padding: 13px 16px;
    border: 1px solid rgba(85, 169, 255, .30);
    border-radius: 12px;
    text-align: right;
    background: rgba(85, 169, 255, .055);
}

.downloads-count-card span,
.downloads-count-card strong {
    display: block;
}

.downloads-count-card span {
    color: #b4bfcc;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.downloads-count-card strong {
    margin-top: 4px;
    color: #79bcff;
    font-size: 25px;
    line-height: 1;
}

.downloads-security-banner {
    margin-bottom: 16px;
    padding: 14px 17px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(85, 223, 162, .27);
    border-radius: 12px;
    background: rgba(85, 223, 162, .045);
}

.downloads-security-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(85, 223, 162, .30);
    border-radius: 10px;
    color: #63e1aa;
    background: rgba(85, 223, 162, .07);
}

.downloads-security-icon svg,
.download-preparing-button svg,
.downloads-empty-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.downloads-security-banner strong {
    color: #eaf0f5;
    font-size: 12px;
}

.downloads-security-banner p {
    margin: 3px 0 0;
    color: #9eabb9;
    font-size: 11px;
}

.downloads-list {
    display: grid;
    gap: 15px;
}

.download-card-professional {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 230px;
    gap: 18px;
    align-items: center;
    padding: 20px;
}

.download-file-mark {
    width: 70px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(85, 169, 255, .32);
    border-radius: 13px;
    color: #79bcff;
    background:
        radial-gradient(circle at 50% 30%, rgba(85, 169, 255, .13), transparent 58%),
        #0a0f16;
}

.download-file-mark span {
    font-size: 17px;
    font-weight: 900;
}

.download-file-mark small {
    margin-top: 5px;
    color: #93a6ba;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 1.2px;
}

.download-card-main {
    min-width: 0;
}

.download-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 13px;
}

.download-card-heading h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 18px;
}

.download-product-name {
    margin: 7px 0 13px;
    color: #abb7c5;
    font-size: 12px;
}

.download-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 9px;
}

.download-meta-grid > div {
    padding: 10px 11px;
    border: 1px solid #2b3441;
    border-radius: 9px;
    background: rgba(7, 10, 15, .30);
}

.download-meta-grid span,
.download-meta-grid strong {
    display: block;
}

.download-meta-grid span {
    color: #929faf;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .65px;
}

.download-meta-grid strong {
    margin-top: 4px;
    color: #f0f4f8;
    font-size: 11px;
}

.download-card-action {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 18px;
    border-left: 1px solid #2c3542;
}

.download-preparing-button {
    min-height: 42px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(216, 170, 53, .28);
    border-radius: 9px;
    color: #d9c68e;
    background: rgba(216, 170, 53, .065);
    font-size: 11px;
    font-weight: 850;
}

.download-card-action small {
    margin-top: 9px;
    color: #8e9baa;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.downloads-empty-state {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 45px 28px;
    text-align: center;
    border-style: dashed;
}

.downloads-empty-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 17px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(85, 169, 255, .30);
    border-radius: 16px;
    color: #75baff;
    background: rgba(85, 169, 255, .07);
}

.downloads-empty-icon svg {
    width: 26px;
    height: 26px;
}

.downloads-empty-state h2 {
    margin: 2px 0 8px;
    color: #fff;
    font-size: 20px;
}

.downloads-empty-state p {
    max-width: 520px;
    margin: 0 0 19px;
    color: #a8b3c1;
    line-height: 1.6;
}

.downloads-help-note {
    margin-top: 16px;
    padding: 14px 17px;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #28313d;
    border-radius: 12px;
    background: rgba(12, 17, 24, .64);
}

.downloads-help-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #55a9ff;
    box-shadow: 0 0 11px rgba(85, 169, 255, .42);
}

.downloads-help-note strong {
    color: #e9edf3;
    font-size: 11px;
}

.downloads-help-note p {
    margin: 3px 0 0;
    color: #919eae;
    font-size: 10px;
}

@media (max-width: 1050px) {
    .download-card-professional {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .download-card-action {
        grid-column: 2;
        padding: 0;
        border-left: 0;
    }
}

@media (max-width: 700px) {
    .downloads-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .downloads-count-card {
        width: 100%;
        text-align: left;
    }

    .download-card-professional {
        grid-template-columns: 1fr;
    }

    .download-card-action {
        grid-column: auto;
    }

    .download-meta-grid {
        grid-template-columns: 1fr;
    }

    .downloads-help-note {
        grid-template-columns: 8px 1fr;
    }

    .downloads-help-note .text-link {
        grid-column: 2;
        justify-self: start;
    }
}
/* SARAK TRADING — Professional Support Center */
.support-page-header{margin-bottom:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border-soft);border-radius:15px;background:radial-gradient(circle at 95% 0,rgba(216,170,53,.09),transparent 34%),linear-gradient(155deg,#141b25,#0f141c)}
.support-page-header h2{margin:0;color:#fff;font-size:22px;letter-spacing:-.3px}.support-page-header p{margin:6px 0 0;color:#a9b4c3;font-size:13px}
.support-status-card{min-width:180px;padding:13px 16px;border:1px solid rgba(85,223,162,.30);border-radius:12px;text-align:right;background:rgba(85,223,162,.055)}
.support-status-card span,.support-status-card strong,.support-status-card small{display:block}.support-status-card span{color:#9eabbb;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.support-status-card strong{margin-top:4px;color:#65e0aa;font-size:15px}.support-status-card small{margin-top:3px;color:#a7b2c0;font-size:9px}
.support-professional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
.support-card-professional{min-height:405px;display:flex;flex-direction:column;padding:23px}.featured-support-card{border-color:rgba(216,170,53,.48);background:radial-gradient(circle at 100% 0,rgba(216,170,53,.11),transparent 35%),linear-gradient(155deg,#151c26,#0f141c)}
.support-card-icon{width:54px;height:54px;margin-bottom:18px;display:grid;place-items:center;border:1px solid rgba(216,170,53,.32);border-radius:15px;color:#f0ca61;background:rgba(216,170,53,.07)}
.support-card-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.support-card-professional h2{margin:4px 0 8px;color:#fff;font-size:19px}.support-card-professional>p{min-height:62px;margin:0;color:#aeb9c7;font-size:12px;line-height:1.65}
.support-topic-list{display:grid;gap:8px;margin:18px 0 22px}.support-topic-list span{position:relative;padding-left:17px;color:#c1cad5;font-size:11px}.support-topic-list span:before{content:"";position:absolute;left:0;top:6px;width:6px;height:6px;border-radius:50%;background:#55dfa2;box-shadow:0 0 8px rgba(85,223,162,.35)}
.support-card-professional .gold-button,.support-card-professional .outline-button{margin-top:auto}
.support-guidance-panel{margin-top:18px;padding:22px}.support-guidance-panel h2{margin:0;color:#fff;font-size:20px}.support-guidance-panel>p{margin:6px 0 0;color:#a8b3c1;font-size:12px}
.support-checklist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.support-checklist-grid>div{padding:15px;display:flex;align-items:flex-start;gap:12px;border:1px solid #2b3441;border-radius:11px;background:rgba(7,10,15,.30)}
.support-check-number{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border:1px solid rgba(85,169,255,.30);border-radius:8px;color:#78bcff;background:rgba(85,169,255,.07);font-size:11px;font-weight:900}
.support-checklist-grid strong{color:#fff;font-size:12px}.support-checklist-grid p{margin:4px 0 0;color:#98a5b5;font-size:10px;line-height:1.5}
.support-contact-note{margin-top:16px;padding:14px 17px;display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid #28313d;border-radius:12px;background:rgba(12,17,24,.64)}
.support-contact-dot{width:8px;height:8px;border-radius:50%;background:#f0bd43;box-shadow:0 0 11px rgba(240,189,67,.38)}.support-contact-note strong{color:#e9edf3;font-size:11px}.support-contact-note p{margin:3px 0 0;color:#919eae;font-size:10px}
.support-coming-badge{min-height:27px;padding:5px 10px;display:inline-flex;align-items:center;border:1px solid rgba(216,170,53,.31);border-radius:999px;color:#e4c66f;background:rgba(216,170,53,.07);font-size:9px;font-weight:900}
@media(max-width:1050px){.support-professional-grid{grid-template-columns:1fr 1fr}.support-card-professional:last-child{grid-column:1/-1}.support-checklist-grid{grid-template-columns:1fr}}
@media(max-width:720px){.support-page-header{align-items:flex-start;flex-direction:column}.support-status-card{width:100%;text-align:left}.support-professional-grid{grid-template-columns:1fr}.support-card-professional:last-child{grid-column:auto}.support-card-professional{min-height:auto}.support-contact-note{grid-template-columns:8px 1fr}.support-coming-badge{grid-column:2;justify-self:start}}
/* ============================================================
   SARAK TRADING — Professional Account Center
   ============================================================ */

.account-overview-header{margin-bottom:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border-soft);border-radius:15px;background:radial-gradient(circle at 95% 0,rgba(216,170,53,.09),transparent 34%),linear-gradient(155deg,#141b25,#0f141c)}
.account-overview-header h2{margin:0;color:#fff;font-size:22px}.account-overview-header p{margin:6px 0 0;color:#a9b4c3;font-size:13px}
.account-status-summary{min-width:190px;padding:13px 16px;border:1px solid rgba(85,223,162,.30);border-radius:12px;text-align:right;background:rgba(85,223,162,.055)}
.account-status-summary span,.account-status-summary strong,.account-status-summary small{display:block}.account-status-summary span{color:#9eabbb;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.account-status-summary strong{margin-top:4px;color:#65e0aa;font-size:15px}.account-status-summary small{margin-top:3px;color:#a7b2c0;font-size:9px}
.account-professional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
.account-summary-card{display:flex;flex-direction:column;min-height:330px}
.account-card-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:16px}.account-card-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:1px solid rgba(216,170,53,.30);border-radius:11px;color:#efc960;background:rgba(216,170,53,.07)}
.account-card-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.account-card-heading h2{margin:2px 0 4px;color:#fff;font-size:17px}.account-card-heading p{margin:0;color:#9eabba;font-size:11px}
.account-detail-list{margin-bottom:0}.account-detail-list>div{min-height:42px;align-items:center}.account-card-action{margin-top:auto;padding-top:16px}
.security-status-box{padding:14px;display:flex;align-items:flex-start;gap:11px;border:1px solid rgba(85,223,162,.24);border-radius:11px;background:rgba(85,223,162,.045)}
.security-status-dot{width:8px;height:8px;flex:0 0 8px;margin-top:5px;border-radius:50%;background:#55dfa2;box-shadow:0 0 10px rgba(85,223,162,.45)}.security-status-box strong{color:#fff;font-size:12px}.security-status-box p{margin:4px 0 0;color:#98a5b5;font-size:10px;line-height:1.5}
.account-plan-highlight{margin-bottom:10px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid rgba(216,170,53,.30);border-radius:11px;background:rgba(216,170,53,.055)}
.account-plan-highlight strong,.account-plan-highlight small{display:block}.account-plan-highlight strong{color:#f1cd67;font-size:14px}.account-plan-highlight small{margin-top:3px;color:#a5b0bf;font-size:9px}
.account-empty-compact{padding:30px 16px;text-align:center}.account-empty-compact strong{color:#fff}.account-empty-compact p{color:#9ca8b7}
.account-license-section,.account-transfer-section{margin-top:18px}.account-license-list,.account-transfer-list{display:grid;gap:13px}
.account-license-card{display:grid;grid-template-columns:78px minmax(0,1fr) 210px;gap:17px;align-items:center;padding:16px;border:1px solid #2c3542;border-radius:13px;background:rgba(7,10,15,.32)}
.account-license-art{width:70px;height:70px;flex-basis:70px}.account-license-main{min-width:0}.account-license-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.account-license-heading h3{margin:0;color:#fff;font-size:16px}.account-license-heading p{margin:5px 0 0;color:#b3bdca}
.account-license-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:13px}.account-license-meta>div{padding:10px;border:1px solid #2a3340;border-radius:9px;background:rgba(8,12,17,.36)}
.account-license-meta span,.account-license-meta strong{display:block}.account-license-meta span{color:#8f9cac;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.account-license-meta strong{margin-top:4px;color:#f2f5f8;font-size:10px;overflow-wrap:anywhere}
.account-license-actions{display:grid;gap:9px;padding-left:16px;border-left:1px solid #2d3643}
.account-transfer-card{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:16px;align-items:center;padding:15px;border:1px solid #2c3542;border-radius:12px;background:rgba(7,10,15,.30)}
.account-transfer-status span,.account-transfer-status small{display:block}.account-transfer-status small{margin-top:6px;color:#8f9baa;font-size:9px}.account-transfer-main h3{margin:0;color:#fff;font-size:14px}.account-transfer-main>p{margin:4px 0;color:#a4afbd;font-size:11px}
.account-transfer-device{margin-top:7px;color:#919ead;font-size:10px}.account-transfer-device strong{color:#e8edf2}.account-admin-note{margin-top:9px;padding:10px;border:1px solid rgba(216,170,53,.23);border-radius:9px;background:rgba(216,170,53,.045)}.account-admin-note span{color:#d9ad3e;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.7px}.account-admin-note p{margin:4px 0 0;color:#b8c1cd;font-size:10px}
.account-empty-state{padding:34px;text-align:center;border:1px dashed #37414e;border-radius:11px}.account-empty-state strong{color:#fff}.account-empty-state p{margin:5px 0 0;color:#9ca8b7}
@media(max-width:1150px){.account-professional-grid{grid-template-columns:1fr 1fr}.account-summary-card:last-child{grid-column:1/-1}.account-license-card{grid-template-columns:70px minmax(0,1fr)}.account-license-actions{grid-column:2;padding:0;border-left:0}.account-transfer-card{grid-template-columns:1fr}}
@media(max-width:760px){.account-overview-header{align-items:flex-start;flex-direction:column}.account-status-summary{width:100%;text-align:left}.account-professional-grid{grid-template-columns:1fr}.account-summary-card:last-child{grid-column:auto}.account-license-card{grid-template-columns:1fr}.account-license-actions{grid-column:auto}.account-license-meta{grid-template-columns:1fr}.account-transfer-card{grid-template-columns:1fr}}
/* ============================================================
   SARAK TRADING — Professional License & Device Setup
   ============================================================ */

.license-page-header{margin-bottom:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border-soft);border-radius:15px;background:radial-gradient(circle at 95% 0,rgba(216,170,53,.09),transparent 34%),linear-gradient(155deg,#141b25,#0f141c)}
.license-page-header h2{margin:0;color:#fff;font-size:22px}.license-page-header p{margin:6px 0 0;color:#a9b4c3;font-size:13px}
.license-page-status{min-width:190px;padding:13px 16px;border:1px solid rgba(85,223,162,.30);border-radius:12px;text-align:right;background:rgba(85,223,162,.055)}
.license-page-status span,.license-page-status strong,.license-page-status small{display:block}.license-page-status span{color:#9eabbb;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.license-page-status strong{margin-top:4px;color:#65e0aa;font-size:15px}.license-page-status small{margin-top:3px;color:#a7b2c0;font-size:9px}
.license-professional-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:18px;align-items:start}
.license-form-panel,.license-summary-panel{padding:22px}.license-setup-form{display:grid;gap:17px}
.license-field{display:grid;gap:8px}.license-field label{color:#edf1f5;font-size:12px;font-weight:850}
.license-field input[type="text"]{width:100%;min-height:47px;padding:11px 13px;border:1px solid #303a47;border-radius:9px;color:#f4f6f9;background:#080d13;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.license-field input[type="text"]:focus{border-color:var(--gold2);box-shadow:0 0 0 3px rgba(215,170,59,.10)}
.license-field input:disabled{color:#a3adbb;background:#10151d;cursor:not-allowed}
.license-help{color:#929faf;font-size:10px;line-height:1.5}.license-error{color:#ff9da4;font-size:11px}
.license-error-banner{padding:12px 14px;border:1px solid rgba(238,106,114,.32);border-radius:10px;color:#ffabb1;background:rgba(238,106,114,.08)}
.license-device-locked{margin-bottom:18px;padding:14px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(216,170,53,.34);border-radius:11px;background:rgba(216,170,53,.07)}
.license-lock-icon{width:38px;height:38px;display:grid;place-items:center;border:1px solid rgba(216,170,53,.35);border-radius:10px;color:#efc85f;background:rgba(216,170,53,.07)}
.license-lock-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.license-device-locked strong{color:#f1cd67;font-size:12px}.license-device-locked p{margin:4px 0 0;color:#b5bfcc;font-size:10px;line-height:1.5}
.license-confirm{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #303946;border-radius:10px;background:rgba(7,10,15,.36);color:#d5dce5}
.license-confirm input{margin-top:3px}.license-confirm span strong,.license-confirm span small{display:block}.license-confirm span strong{color:#fff;font-size:11px}.license-confirm span small{margin-top:3px;color:#98a5b5;font-size:10px;line-height:1.45}
.license-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:2px}
.license-product-summary{margin-bottom:15px;padding:14px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(216,170,53,.28);border-radius:11px;background:rgba(216,170,53,.045)}
.license-summary-art{width:54px;height:54px;flex-basis:54px}.license-product-summary strong,.license-product-summary small{display:block}.license-product-summary strong{color:#fff;font-size:13px}.license-product-summary small{margin-top:4px;color:#9da9b8;font-size:9px}
.license-summary-list{margin:0}.license-summary-list>div{padding:12px 0;border-bottom:1px solid #2b3441}.license-summary-list dt{color:#94a1b1;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.license-summary-list dd{margin:5px 0 0;color:#f1f4f7;font-size:11px;font-weight:750;overflow-wrap:anywhere}
.license-summary-note{margin-top:16px;padding:12px;display:flex;align-items:flex-start;gap:9px;border:1px solid rgba(85,169,255,.23);border-radius:10px;background:rgba(85,169,255,.045)}
.license-summary-note span{width:7px;height:7px;flex:0 0 7px;margin-top:5px;border-radius:50%;background:#55a9ff;box-shadow:0 0 9px rgba(85,169,255,.4)}.license-summary-note p{margin:0;color:#99a6b5;font-size:9px;line-height:1.5}
@media(max-width:980px){.license-professional-layout{grid-template-columns:1fr}.license-device-locked{grid-template-columns:38px 1fr}.license-device-locked .outline-button{grid-column:2;justify-self:start}}
@media(max-width:650px){.license-page-header{align-items:flex-start;flex-direction:column}.license-page-status{width:100%;text-align:left}.license-device-locked{grid-template-columns:1fr}.license-device-locked .outline-button{grid-column:auto}.license-product-summary{grid-template-columns:54px 1fr}.license-product-summary .status-pill{grid-column:2;justify-self:start}.license-actions .gold-button,.license-actions .outline-button{width:100%}}

/* ============================================================
   SARAK TRADING — Final License & Device Setup Alignment
   Equal height, matching headers, and balanced internal spacing
   ============================================================ */

.license-professional-layout {
    align-items: stretch;
}

.license-form-panel,
.license-summary-panel {
    height: 100%;
}

.license-form-panel,
.license-summary-panel {
    display: flex;
    flex-direction: column;
}

.license-form-panel .panel-header,
.license-summary-panel .panel-header {
    min-height: 76px;
    margin-bottom: 17px;
}

.license-form-panel .license-setup-form {
    flex: 1;
}

.license-summary-panel .license-summary-list {
    flex: 1;
}

.license-summary-panel .license-summary-note {
    margin-top: auto;
}

.license-device-locked {
    min-height: 72px;
}

.license-summary-panel .license-product-summary {
    min-height: 72px;
}

.license-summary-list > div {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.license-actions {
    margin-top: auto;
}

@media (max-width: 980px) {
    .license-form-panel,
    .license-summary-panel {
        height: auto;
    }

    .license-form-panel .panel-header,
    .license-summary-panel .panel-header {
        min-height: auto;
    }
}
/* ============================================================
   SARAK TRADING — Professional Device Transfer
   ============================================================ */
.transfer-page-header{margin-bottom:18px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid var(--border-soft);border-radius:15px;background:radial-gradient(circle at 95% 0,rgba(216,170,53,.09),transparent 34%),linear-gradient(155deg,#141b25,#0f141c)}
.transfer-page-header h2{margin:0;color:#fff;font-size:22px}.transfer-page-header p{margin:6px 0 0;color:#a9b4c3;font-size:13px}
.transfer-page-status{min-width:190px;padding:13px 16px;border:1px solid rgba(85,223,162,.30);border-radius:12px;text-align:right;background:rgba(85,223,162,.055)}
.transfer-page-status span,.transfer-page-status strong,.transfer-page-status small{display:block}.transfer-page-status span{color:#9eabbb;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px}.transfer-page-status strong{margin-top:4px;color:#65e0aa;font-size:15px}.transfer-page-status small{margin-top:3px;color:#a7b2c0;font-size:9px}
.transfer-professional-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:18px;align-items:stretch}.transfer-main-panel,.transfer-license-panel{height:100%;display:flex;flex-direction:column}
.transfer-form{display:grid;gap:18px}.transfer-field{display:grid;gap:8px}.transfer-field label{color:#eef2f6;font-size:12px;font-weight:850}.transfer-field select,.transfer-field textarea{width:100%;padding:12px 13px;border:1px solid #303a47;border-radius:9px;color:#f4f6f9;background:#080d13;outline:none}.transfer-field select:focus,.transfer-field textarea:focus{border-color:var(--gold2);box-shadow:0 0 0 3px rgba(215,170,59,.10)}.transfer-help{color:#929faf;font-size:10px;line-height:1.5}.transfer-error{color:#ff9da4;font-size:11px}
.transfer-confirm{display:flex;gap:11px;align-items:flex-start;padding:14px;border:1px solid #303946;border-radius:10px;background:rgba(7,10,15,.36)}.transfer-confirm input{margin-top:3px}.transfer-confirm strong,.transfer-confirm small{display:block}.transfer-confirm strong{color:#fff;font-size:11px}.transfer-confirm small{margin-top:3px;color:#98a5b5;font-size:10px;line-height:1.45}
.transfer-form-actions,.transfer-approved-actions{display:flex;gap:10px;flex-wrap:wrap}.transfer-state-box{padding:15px;display:flex;align-items:flex-start;gap:12px;border-radius:11px;margin-bottom:16px}.transfer-state-box.approved{border:1px solid rgba(85,223,162,.30);background:rgba(85,223,162,.055)}.transfer-state-box.pending{border:1px solid rgba(216,170,53,.34);background:rgba(216,170,53,.07)}.transfer-state-icon{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:9px;font-weight:900}.approved .transfer-state-icon{color:#63e1aa;border:1px solid rgba(85,223,162,.28);background:rgba(85,223,162,.07)}.pending .transfer-state-icon{color:#efc85f;border:1px solid rgba(216,170,53,.30);background:rgba(216,170,53,.07)}.transfer-state-box strong{color:#fff;font-size:12px}.transfer-state-box p{margin:4px 0 0;color:#b4becb;font-size:10px;line-height:1.55}
.transfer-token-summary,.transfer-license-list{margin:16px 0 0}.transfer-token-summary>div,.transfer-license-list>div{padding:12px 0;border-bottom:1px solid #2b3441}.transfer-token-summary dt,.transfer-license-list dt{color:#929faf;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.65px}.transfer-token-summary dd,.transfer-license-list dd{margin:5px 0 0;color:#f2f5f8;font-size:11px;font-weight:750;overflow-wrap:anywhere}
.transfer-pending-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.transfer-pending-summary>div{padding:12px;border:1px solid #2c3542;border-radius:10px;background:rgba(7,10,15,.30)}.transfer-pending-summary span,.transfer-pending-summary strong{display:block}.transfer-pending-summary span{color:#929faf;font-size:8px;font-weight:900;text-transform:uppercase}.transfer-pending-summary strong{margin-top:4px;color:#fff;font-size:11px}
.transfer-product-summary{padding:14px;display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;border:1px solid rgba(216,170,53,.28);border-radius:11px;background:rgba(216,170,53,.045)}.transfer-product-art{width:54px;height:54px;flex-basis:54px}.transfer-product-summary strong,.transfer-product-summary small{display:block}.transfer-product-summary strong{color:#fff;font-size:13px}.transfer-product-summary small{margin-top:4px;color:#a4afbe;font-size:9px;overflow-wrap:anywhere}
.transfer-security-note{margin-top:auto;padding:12px;display:flex;align-items:flex-start;gap:9px;border:1px solid rgba(85,169,255,.23);border-radius:10px;background:rgba(85,169,255,.045)}.transfer-security-note span{width:7px;height:7px;flex:0 0 7px;margin-top:5px;border-radius:50%;background:#55a9ff}.transfer-security-note p{margin:0;color:#99a6b5;font-size:9px;line-height:1.5}
.transfer-history-panel{margin-top:18px}.transfer-history-list{display:grid;gap:10px}.transfer-history-item{padding:14px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center;border:1px solid #2c3542;border-radius:11px;background:rgba(7,10,15,.30)}.transfer-history-status span,.transfer-history-status small{display:block}.transfer-history-status small{margin-top:6px;color:#8f9baa;font-size:9px}.transfer-history-item strong{color:#fff;font-size:12px}.transfer-history-item p{margin:4px 0 0;color:#9ca8b7;font-size:10px}
@media(max-width:980px){.transfer-professional-grid{grid-template-columns:1fr}.transfer-main-panel,.transfer-license-panel{height:auto}}
@media(max-width:650px){.transfer-page-header{align-items:flex-start;flex-direction:column}.transfer-page-status{width:100%;text-align:left}.transfer-pending-summary{grid-template-columns:1fr}.transfer-history-item{grid-template-columns:1fr}.transfer-product-summary{grid-template-columns:54px 1fr}.transfer-product-summary .status-pill{grid-column:2;justify-self:start}.transfer-form-actions .gold-button,.transfer-form-actions .outline-button{width:100%}}

/* ============================================================
   SARAK TRADING — Downloads Final Professional Polish
   07 Aug 2026
   Focused visual-only refinement. No backend/access logic change.
   ============================================================ */

.downloads-page-header {
    margin-bottom: 14px;
    padding: 18px 20px;
}

.downloads-page-header h2 {
    font-size: 21px;
}

.downloads-page-header p {
    margin-top: 5px;
    line-height: 1.5;
}

.downloads-count-card {
    min-width: 146px;
    padding: 14px 16px;
}

.downloads-security-banner {
    margin-bottom: 14px;
    padding: 12px 15px;
}

.downloads-security-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
}

.downloads-security-icon svg {
    width: 18px;
    height: 18px;
}

.downloads-security-banner strong {
    font-size: 12px;
}

.downloads-security-banner p {
    margin-top: 3px;
    font-size: 10px;
}

.downloads-empty-state {
    min-height: 250px;
    padding: 30px 24px;
}

.downloads-empty-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.downloads-empty-icon svg {
    width: 24px;
    height: 24px;
}

.downloads-empty-state .panel-kicker {
    margin-bottom: 8px;
}

.downloads-empty-state h2 {
    margin: 0 0 7px;
    font-size: 19px;
    line-height: 1.25;
}

.downloads-empty-state p {
    max-width: 560px;
    margin: 0 0 16px;
    line-height: 1.52;
}

.downloads-empty-state .outline-button {
    min-height: 39px;
    padding: 9px 15px;
}

.downloads-help-note {
    margin-top: 14px;
    padding: 11px 14px;
    gap: 10px;
}

.downloads-help-note strong {
    font-size: 11px;
}

.downloads-help-note p {
    margin-top: 2px;
    line-height: 1.4;
}

.downloads-help-note .text-link-button {
    min-height: 32px;
    padding: 7px 10px;
}

/* Keep real-file cards clear without making the page oversized. */
.download-card-professional {
    padding-top: 17px;
    padding-bottom: 17px;
}

@media (max-width: 700px) {
    .downloads-empty-state {
        min-height: 230px;
        padding: 26px 18px;
    }

    .downloads-empty-state p {
        max-width: 460px;
    }

    .downloads-help-note {
        padding: 11px 13px;
    }
}
