:root{
    --bg:#f4f6f9;
    --panel:#ffffff;
    --panel-soft:#f9fafc;
    --text:#111827;
    --muted:#657286;
    --line:#e7ebf1;
    --navy:#101d31;
    --navy-2:#0a1424;
    --red:#ef233c;
    --red-2:#d91631;
    --orange:#ff7a1a;
    --amber:#f59e0b;
    --green:#14a44d;
    --blue:#2f80ed;
    --purple:#7c3aed;
    --shadow:0 14px 36px rgba(17,24,39,.08);
    --shadow-soft:0 8px 22px rgba(17,24,39,.06);
    --radius:18px;
    --radius-sm:12px;
    --sidebar:240px;
    --topbar:88px;
    font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg)}
body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
code{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;background:#f6f7fb;border:1px solid var(--line);padding:4px 7px;border-radius:8px;color:#243049;white-space:nowrap}
.app-shell{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}
.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--navy-2),var(--navy));color:#fff;padding:22px 14px;display:flex;flex-direction:column;gap:18px;overflow-y:auto;z-index:40;box-shadow:10px 0 35px rgba(2,8,23,.15)}
.brand{display:flex;align-items:center;gap:12px;padding:0 7px 14px;border-bottom:1px solid rgba(255,255,255,.08)}
.brand-mark{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--red),#ff5368);display:grid;place-items:center;font-weight:900;font-size:25px;box-shadow:0 16px 35px rgba(239,35,60,.28)}
.brand-title{font-size:30px;font-weight:900;letter-spacing:-1px;line-height:1}
.brand-subtitle{text-transform:uppercase;font-size:11px;color:#aab5c7;font-weight:700;letter-spacing:.4px;margin-top:3px}
.nav-list{display:flex;flex-direction:column;gap:6px}
.nav-item{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;color:#d9e2f0;border-radius:12px;padding:11px 11px;font-weight:720;transition:.18s ease;background:transparent}
.nav-item span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nav-item:hover{background:rgba(255,255,255,.07);transform:translateX(2px)}
.nav-item.active{background:linear-gradient(135deg,var(--red),var(--red-2));color:#fff;box-shadow:0 12px 25px rgba(239,35,60,.25)}
.nav-icon{font-size:17px;text-align:center;filter:grayscale(.1);width:24px;overflow:hidden;white-space:nowrap}
.nav-badge{background:#f8243e;color:#fff;border-radius:999px;min-width:24px;text-align:center;font-size:11px;padding:2px 7px;font-weight:900}
.system-card{margin-top:auto;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045);border-radius:16px;padding:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.system-title{font-weight:900;margin-bottom:8px}.system-online{display:flex;align-items:center;gap:8px;color:#74e291;font-size:12px;font-weight:800;margin-bottom:15px}.system-online span{width:9px;height:9px;border-radius:50%;background:#24d36a;box-shadow:0 0 0 4px rgba(36,211,106,.12)}
.meter{margin:11px 0}.meter label{display:flex;justify-content:space-between;color:#d8deeb;font-size:12px;margin-bottom:7px}.meter i{display:block;height:7px;border-radius:99px;background:linear-gradient(90deg,var(--red),#ff5166);width:var(--w);box-shadow:0 6px 16px rgba(239,35,60,.35)}
.meter:after{content:"";display:block;margin-top:-7px;height:7px;border-radius:99px;background:rgba(255,255,255,.12);position:relative;z-index:-1}
.sidebar-footer{font-size:12px;color:#95a3b9;padding:3px 8px 0}.main-shell{min-width:0;display:flex;flex-direction:column}.topbar{height:var(--topbar);background:rgba(255,255,255,.82);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;padding:0 24px;position:sticky;top:0;z-index:30}.topbar-title{min-width:0;flex:1}.topbar-title h1{margin:0;font-size:25px;letter-spacing:-.7px}.topbar-title p{margin:2px 0 0;color:var(--muted);font-weight:600}.topbar-actions{display:flex;align-items:center;gap:14px}.searchbox{height:44px;width:290px;background:#fff;border:1px solid var(--line);border-radius:13px;display:flex;align-items:center;gap:9px;padding:0 12px;box-shadow:var(--shadow-soft)}.searchbox span{font-size:19px;color:#8390a6}.searchbox input{border:0;outline:0;min-width:0;flex:1;background:transparent;color:var(--text)}.searchbox kbd{border:1px solid var(--line);background:#f9fafc;border-radius:7px;padding:3px 7px;color:#7b879a;font-size:11px}.icon-button{width:42px;height:42px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;place-items:center;box-shadow:var(--shadow-soft);position:relative}.notify b{position:absolute;right:-6px;top:-7px;background:var(--red);color:white;border-radius:99px;font-size:10px;line-height:1;padding:4px 6px}.user-menu{display:flex;align-items:center;gap:10px;border-left:1px solid var(--line);padding-left:14px}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#f3f5f8,#dce6f2);border:2px solid #fff;box-shadow:var(--shadow-soft);display:grid;place-items:center;font-weight:900;color:var(--navy)}.user-menu strong{display:block;font-size:14px}.user-menu small{display:block;color:var(--muted);font-weight:600}.logout-link{font-size:12px;color:var(--red);font-weight:900;border:1px solid rgba(239,35,60,.2);padding:7px 9px;border-radius:9px}.content{padding:22px 24px 32px;min-width:0}.page-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px}.page-head h2{font-size:28px;letter-spacing:-.7px;margin:0}.page-head p{margin:5px 0 0;color:var(--muted);font-weight:600}.kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:16px;margin-bottom:18px}.kpi-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:20px 18px;display:grid;grid-template-columns:58px 1fr;grid-template-rows:auto auto auto;gap:2px 12px;min-height:110px}.kpi-icon{grid-row:1/4;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:26px}.kpi-icon.red{background:#ffe8eb;color:var(--red)}.kpi-icon.orange{background:#fff0e7;color:var(--orange)}.kpi-icon.purple{background:#f0eaff;color:var(--purple)}.kpi-icon.amber{background:#fff5db;color:var(--amber)}.kpi-icon.navy{background:#eef2f8;color:var(--navy)}.kpi-card span{color:var(--muted);font-weight:800}.kpi-card strong{font-size:25px;letter-spacing:-.5px}.trend{font-style:normal;font-size:12px;font-weight:850}.trend.up{color:#19a65a}.trend.down{color:#f04438}.quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-bottom:18px}.quick-action{min-height:68px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow-soft);display:flex;align-items:center;justify-content:center;gap:12px;font-weight:900;color:#1f2937;transition:.18s ease}.quick-action span{font-size:22px;color:var(--red)}.quick-action:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:18px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h3{margin:0;font-size:17px}.panel-head h3 small{color:var(--muted);font-weight:700}.panel-head a{font-size:13px;color:var(--red);font-weight:900}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(360px,.9fr);gap:18px;margin-bottom:18px}.panel-wide{min-width:0}.bottom-grid{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:18px}.table-wrap{width:100%;overflow:auto}.data-table{width:100%;border-collapse:collapse;min-width:880px}.data-table th{font-size:12px;text-align:left;color:#344054;background:#f8fafc;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:11px 12px;white-space:nowrap}.data-table td{padding:12px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:13px;white-space:nowrap}.data-table tbody tr:hover{background:#fafbfe}.table-sub{display:block;color:var(--muted);font-size:11px;margin-top:2px}.badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:12px;font-weight:900;padding:4px 9px;border:1px solid transparent;white-space:nowrap}.badge-success{background:#e8f8ef;color:#138343;border-color:#c3efd3}.badge-info{background:#e9f3ff;color:#1c61b6;border-color:#cfe4ff}.badge-warning{background:#fff5dd;color:#b56b00;border-color:#ffe1a2}.badge-danger{background:#ffe9ed;color:#c91834;border-color:#ffc8d0}.badge-muted{background:#f1f4f8;color:#657286;border-color:#e1e6ed}.event-list{display:flex;flex-direction:column}.event-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:11px;border-bottom:1px solid var(--line);border-radius:10px}.event-row:hover{background:#fafbfe}.event-row:last-child{border-bottom:0}.event-icon{font-size:20px}.event-icon.success{color:#1aa75b}.event-icon.danger{color:var(--red)}.event-icon.warning{color:#f59e0b}.event-icon.info{color:#2f80ed}.event-row strong{display:block;font-size:13px}.event-row small{display:block;color:var(--muted);font-size:12px}.event-row time{color:#667085;font-size:12px;white-space:nowrap}.event-list.full .event-row{grid-template-columns:32px 1fr 180px}.bar-chart{display:flex;flex-direction:column;gap:12px;padding:6px 2px}.bar-row{display:grid;grid-template-columns:95px 1fr 1fr;gap:10px;align-items:center}.bar-row label{font-size:12px;color:#667085;font-weight:800;white-space:nowrap}.bar{height:16px;border-radius:99px;width:var(--v);min-width:18px;display:block}.bar.red{background:linear-gradient(90deg,var(--red),#ff5c6e)}.bar.navy{background:linear-gradient(90deg,var(--navy),#243b64)}.chart-legend{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center;justify-content:center;margin-top:8px}.legend-red,.legend-navy{width:16px;height:8px;border-radius:99px;display:inline-block}.legend-red{background:var(--red)}.legend-navy{background:var(--navy)}.donut-block{display:grid;grid-template-columns:180px 1fr;align-items:center;gap:20px}.donut{width:170px;height:170px;border-radius:50%;background:conic-gradient(var(--red) 0 var(--a),var(--navy) var(--a) var(--b),var(--blue) var(--b) var(--c),var(--amber) var(--c) var(--d),#98a2b3 var(--d) 100%);position:relative;box-shadow:inset 0 0 0 1px #fff}.donut:after{content:"";position:absolute;inset:42px;border-radius:50%;background:white;box-shadow:inset 0 0 0 1px var(--line)}.donut-legend{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.donut-legend li{display:grid;grid-template-columns:14px 1fr auto;gap:8px;align-items:center;color:#475467;font-weight:750}.dot{width:11px;height:11px;border-radius:50%}.dot.red{background:var(--red)}.dot.navy{background:var(--navy)}.dot.blue{background:var(--blue)}.dot.amber{background:var(--amber)}.dot.gray{background:#98a2b3}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.feature-grid div{border:1px solid var(--line);background:#fcfdff;border-radius:14px;padding:16px 10px;display:grid;place-items:center;gap:8px;text-align:center;font-size:26px;min-height:90px}.feature-grid span{font-size:12px;font-weight:850;color:#344054}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:16px}.dealer-card,.product-card,.pricing-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:18px}.dealer-head{display:grid;grid-template-columns:54px 1fr auto;gap:12px;align-items:center}.dealer-avatar{width:54px;height:54px;border-radius:17px;background:#fff0f2;color:var(--red);display:grid;place-items:center;font-weight:1000;font-size:22px}.dealer-head h3,.product-card h3,.pricing-card h3{margin:0}.dealer-head p,.product-card p{margin:4px 0 0;color:var(--muted);font-weight:650}.dealer-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:18px 0}.dealer-stats span{background:#f8fafc;border:1px solid var(--line);border-radius:13px;padding:11px;display:block;color:var(--muted);font-size:12px}.dealer-stats b{display:block;color:var(--text);font-size:15px}.dealer-contact{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(300px,1fr))}.product-card{display:grid;grid-template-columns:60px 1fr auto;gap:14px;align-items:center}.product-icon{width:60px;height:60px;border-radius:17px;background:linear-gradient(135deg,#ffe9ed,#fff5f6);display:grid;place-items:center;font-size:26px}.package-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.package-row span{font-size:12px;background:#f7f8fb;border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-weight:800;color:#475467}.product-price{text-align:right}.product-price strong{display:block;font-size:18px}.product-price small{color:var(--muted)}.btn,.mini-btn{border:0;border-radius:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.btn{height:42px;padding:0 15px}.btn-primary{background:linear-gradient(135deg,var(--red),var(--red-2));color:#fff;box-shadow:0 10px 20px rgba(239,35,60,.2)}.btn-soft,.mini-btn{background:#fff;border:1px solid var(--line);color:#344054}.mini-btn{height:36px;padding:0 12px;font-size:12px}.btn-full{width:100%}.form-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px}.grid-form{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-stack{display:flex;flex-direction:column;gap:14px}.grid-form label,.form-stack label{display:flex;flex-direction:column;gap:7px}.grid-form span,.form-stack span{font-weight:850;color:#344054}.grid-form input,.grid-form select,.form-stack input{height:46px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;outline:0}.grid-form input:focus,.grid-form select:focus,.form-stack input:focus{border-color:rgba(239,35,60,.55);box-shadow:0 0 0 4px rgba(239,35,60,.09)}.form-actions{grid-column:1/-1;display:flex;gap:10px;justify-content:flex-end;margin-top:5px}.created-license{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;border:1px solid #c5efd7;background:#ecfff3;border-radius:14px;padding:14px;margin-bottom:14px}.created-license span{font-weight:900;color:#138343}.alert{border-radius:12px;padding:12px 14px;margin-bottom:14px;font-weight:800}.alert-danger{background:#fff0f2;color:#b42334;border:1px solid #ffd1d8}.alert-success{background:#ecfff3;color:#138343;border:1px solid #c5efd7}.info-panel .check-list{margin:0;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:11px}.check-list li{padding-left:28px;position:relative;color:#475467;font-weight:700}.check-list li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:#e8f8ef;color:#138343;display:grid;place-items:center;font-size:12px;font-weight:1000}.api-sample{border:1px solid var(--line);border-radius:14px;background:#f8fafc;padding:14px;margin-top:15px;display:flex;flex-direction:column;gap:9px}.api-sample code{white-space:normal;word-break:break-all}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.pricing-card strong{font-size:30px;display:block;margin-top:15px}.pricing-card small{color:var(--muted);font-weight:700}.pricing-card ul{padding-left:18px;color:#475467;line-height:1.8;min-height:92px}.report-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.report-wide{grid-column:1/-1}.status-report{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.status-report div{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fbfcfe;display:flex;justify-content:space-between;align-items:center}.status-report strong{font-size:24px}.bar-chart.tall .bar-row{grid-template-columns:145px 1fr 100px}.insight-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.insight-list div{background:#fbfcfe;border:1px solid var(--line);border-radius:14px;padding:15px}.insight-list b{display:block;margin-bottom:4px}.insight-list span{color:#667085}.settings-list{display:flex;flex-direction:column;gap:12px}.settings-list label{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:14px;padding:14px;font-weight:850}.settings-list input{accent-color:var(--red);width:20px;height:20px}.toast{position:fixed;right:22px;bottom:22px;background:#101828;color:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 18px 45px rgba(16,24,40,.22);opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s ease;z-index:1000;font-weight:800}.toast.show{opacity:1;transform:translateY(0)}
.login-body{min-height:100vh;background:radial-gradient(circle at 20% 20%,rgba(239,35,60,.18),transparent 28%),linear-gradient(135deg,#07101f,#14233b);display:grid;place-items:center;padding:24px}.login-layout{max-width:1120px;width:100%;display:grid;grid-template-columns:1.1fr 420px;gap:24px;align-items:stretch}.login-hero{color:#fff;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.13);border-radius:28px;padding:44px;box-shadow:0 40px 90px rgba(0,0,0,.25)}.brand-login{border:0;padding:0;margin-bottom:80px}.login-hero h1{font-size:46px;line-height:1.05;letter-spacing:-1.6px;margin:0 0 18px}.login-hero p{font-size:18px;color:#c5cede;max-width:620px}.login-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:38px}.login-feature-grid span{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:15px;padding:14px;font-weight:850}.login-card{background:#fff;border-radius:28px;box-shadow:0 40px 90px rgba(0,0,0,.24);padding:34px}.login-card-head{text-align:center;margin-bottom:24px}.login-icon{width:62px;height:62px;background:#fff0f2;color:var(--red);border-radius:20px;display:grid;place-items:center;margin:0 auto 14px;font-size:28px}.login-card h2{margin:0;font-size:28px}.login-card p{margin:6px 0 0;color:var(--muted)}.test-credentials{margin-top:20px;border:1px dashed #ccd3df;border-radius:15px;padding:14px;background:#fbfcfe;display:flex;flex-direction:column;gap:8px}.test-credentials strong{color:#344054}.test-credentials code{display:block;text-align:center}
@media (max-width:1300px){.kpi-grid{grid-template-columns:repeat(3,1fr)}.quick-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid,.bottom-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:980px){:root{--sidebar:0px}.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;transform:translateX(-105%);width:260px;transition:.2s ease}.sidebar.open{transform:translateX(0)}.topbar{height:auto;min-height:82px;align-items:flex-start;padding:16px}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.searchbox{width:240px}.cards-grid,.product-grid,.pricing-grid,.report-grid,.settings-grid,.form-layout{grid-template-columns:1fr}.login-layout{grid-template-columns:1fr}.login-hero{display:none}.grid-form{grid-template-columns:1fr}.status-report,.insight-list{grid-template-columns:1fr}.donut-block{grid-template-columns:1fr;place-items:center}.content{padding:18px}}
@media (max-width:640px){.topbar{flex-wrap:wrap}.topbar-title{order:3;flex-basis:100%}.topbar-title h1{font-size:21px}.topbar-title p{font-size:12px}.topbar-actions{width:100%;justify-content:space-between}.searchbox{width:100%;order:3}.user-menu{border-left:0;padding-left:0}.logout-link{display:none}.kpi-grid{grid-template-columns:1fr}.quick-grid{grid-template-columns:1fr}.kpi-card{grid-template-columns:50px 1fr}.event-list.full .event-row,.event-row{grid-template-columns:28px 1fr}.event-row time{grid-column:2}.feature-grid{grid-template-columns:repeat(2,1fr)}.product-card{grid-template-columns:56px 1fr}.product-price{grid-column:1/-1;text-align:left}.login-card{padding:24px}.data-table{min-width:760px}.form-actions{justify-content:stretch;flex-direction:column}.btn{width:100%}}
.grid-form .span-2{grid-column:1/-1}.check-line{height:46px;flex-direction:row!important;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px}.check-line input{width:18px;height:18px;accent-color:var(--red);padding:0}.check-line span{font-weight:850;color:#344054}.panel-head small{color:var(--muted);font-weight:750}.product-card .product-price{display:flex;flex-direction:column;gap:4px;align-items:flex-end}.product-card .product-price small{display:block}
@media (max-width:640px){.grid-form .span-2{grid-column:auto}.check-line{grid-column:auto}.product-card .product-price{align-items:flex-start}}

/* QBS draggable popup window system */
body.modal-open{overflow:hidden}
body.is-dragging-modal{user-select:none;cursor:move}
.panel-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.qbs-modal{position:fixed;inset:0;z-index:2000;display:none}
.qbs-modal.open{display:block}
.qbs-modal-backdrop{position:absolute;inset:0;background:rgba(8,15,28,.50);backdrop-filter:blur(7px)}
.qbs-modal-window{position:absolute;left:50%;top:8vh;transform:translateX(-50%);width:min(680px,calc(100vw - 32px));max-height:calc(100vh - 48px);background:#fff;border:1px solid rgba(231,235,241,.95);border-radius:20px;box-shadow:0 30px 90px rgba(2,8,23,.32);overflow:hidden;display:flex;flex-direction:column}
.qbs-modal-wide{width:min(980px,calc(100vw - 32px))}
.qbs-modal-titlebar{min-height:72px;padding:16px 18px;background:linear-gradient(180deg,#fff,#fafbfe);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:move;touch-action:none}
.qbs-modal-titlebar h3{margin:0;font-size:18px;letter-spacing:-.2px}.qbs-modal-titlebar small{display:block;color:var(--muted);font-weight:750;margin-top:3px}.qbs-modal-close{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#101828;font-size:25px;line-height:1;display:grid;place-items:center;cursor:pointer}.qbs-modal-close:hover{background:#fff0f2;color:var(--red);border-color:#ffd1d8}.qbs-modal-body{padding:18px;overflow:auto}.qbs-modal-body.grid-form{display:grid}.qbs-modal-actions{position:sticky;bottom:-18px;background:linear-gradient(180deg,rgba(255,255,255,.82),#fff 35%);border-top:1px solid var(--line);padding-top:14px;margin:4px -18px -18px;padding-right:18px;padding-bottom:18px}.qbs-modal .form-stack{padding:18px;overflow:auto}.qbs-modal .form-stack.qbs-modal-body{padding:18px}.qbs-modal .form-stack .qbs-modal-actions{margin-left:-18px;margin-right:-18px}
@media (max-width:980px){.qbs-modal-window,.qbs-modal-wide{top:18px!important;left:16px!important;right:16px;width:auto;transform:none;max-height:calc(100vh - 36px)}.qbs-modal-titlebar{cursor:default}.panel-actions{justify-content:stretch}.panel-actions .btn{width:100%}}
@media (max-width:640px){.qbs-modal-body.grid-form{grid-template-columns:1fr}.qbs-modal-actions{justify-content:stretch;flex-direction:column}.qbs-modal-actions .btn{width:100%}}

/* v5 teklif / CMS / dosya / e-fatura */
.product-thumb{width:64px;height:64px;border-radius:18px;overflow:hidden;background:#f2f4f7;box-shadow:0 10px 28px rgba(16,24,40,.10)}
.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}.cms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.cms-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-sm);overflow:hidden}.cms-card img{width:100%;height:150px;object-fit:cover;display:block}.cms-card>div{padding:14px}.cms-card small{display:block;color:var(--muted);margin-top:5px}.cms-file-icon{height:150px;display:grid;place-items:center;background:#f8fafc;font-size:42px}.offer-document{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 12px 40px rgba(16,24,40,.06)}.offer-doc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:18px}.offer-doc-head h2{margin:0;font-size:30px;letter-spacing:-.7px}.offer-doc-head p{margin:8px 0 0;color:var(--muted);font-weight:750}.offer-total{font-size:30px;font-weight:950;color:var(--red);white-space:nowrap}.offer-party-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.offer-party-grid>div{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.offer-party-grid strong{display:block;color:#667085;font-size:12px}.offer-party-grid span{display:block;font-weight:900;margin-top:4px}.offer-party-grid small{display:block;color:var(--muted);margin-top:4px}.offer-summary{margin-left:auto;margin-top:18px;width:min(420px,100%);display:flex;flex-direction:column;gap:8px}.offer-summary span{display:flex;justify-content:space-between;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.offer-summary .grand{background:#fff0f2;color:var(--red);font-weight:950}.offer-note{background:#fffbeb;border:1px solid #fde68a;border-radius:14px;padding:14px;margin-top:18px}.share-grid{display:flex;gap:12px;flex-wrap:wrap;align-items:end;margin-top:16px}.mini-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.mini-form label{min-width:280px}.package-picker{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fbfcfe;max-height:330px;overflow:auto}.package-picker>strong{display:block;margin-bottom:10px}.package-check{display:grid!important;grid-template-columns:22px 1fr 80px;align-items:center;gap:10px;border:1px solid #e7ebf1;border-radius:12px;padding:9px;margin-bottom:8px;background:#fff}.package-check input[type=number]{height:36px}.package-check small{display:block;color:var(--muted)}.btn-mini{padding:7px 10px;border-radius:10px;font-size:12px}.btn-success{background:#16a34a;color:#fff}.status-report{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.status-report>div{background:#f8fafc;border:1px solid var(--line);border-radius:16px;padding:14px}.status-report b{display:block;color:#667085;font-size:12px}.status-report span{display:block;font-weight:950;margin-top:5px}@media(max-width:820px){.offer-doc-head,.share-grid,.mini-form{display:block}.offer-total{margin-top:12px}.offer-party-grid,.status-report{grid-template-columns:1fr}.mini-form label{min-width:0}.mini-form .btn{margin-top:10px}.package-check{grid-template-columns:22px 1fr}}
@media print{.sidebar,.topbar,.panel-head .panel-actions,.share-grid,.qbs-modal,.toast{display:none!important}.main-shell{margin:0}.content{padding:0}.panel{box-shadow:none;border:0}.offer-document{box-shadow:none;border:0}}

/* v6 professional offer + role/user management */
.qbs-modal-xl{width:min(1220px,calc(100vw - 32px))}.info-box{border:1px solid #dbe4f0;background:#f8fafc;border-radius:14px;padding:14px;color:#344054}.professional-offer-form{display:block}.offer-form-section{border:1px solid var(--line);border-radius:18px;background:#fff;margin-bottom:16px;padding:16px}.offer-form-section h4{margin:0 0 12px;font-size:16px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.offer-line-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.offer-line-table{width:100%;border-collapse:collapse;min-width:1120px}.offer-line-table th{background:#f8fafc;color:#344054;font-size:12px;text-align:left;padding:10px;border-bottom:1px solid var(--line)}.offer-line-table td{padding:8px;border-bottom:1px solid var(--line)}.offer-line-table select,.offer-line-table input{width:100%;height:38px;border:1px solid var(--line);border-radius:10px;padding:0 9px;background:#fff}.offer-line-table td:nth-child(1){min-width:320px}.offer-line-table td:nth-child(8){min-width:170px}.btn-danger-line{border:1px solid #ffd1d8;background:#fff0f2;color:var(--red)}.offer-live-totals{margin-top:14px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.offer-live-totals span{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px;display:flex;justify-content:space-between;font-weight:850}.offer-live-totals .grand{background:#fff0f2;color:var(--red);font-weight:950}.professional-offer-document{background:#fff;border:1px solid #dfe5ee;border-radius:22px;box-shadow:0 18px 60px rgba(16,24,40,.08);overflow:hidden}.pro-offer-header{display:grid;grid-template-columns:130px 1fr auto;gap:20px;align-items:center;padding:28px;background:linear-gradient(135deg,#fff,#f8fafc);border-bottom:1px solid var(--line)}.pro-logo-box{width:110px;height:82px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;place-items:center;overflow:hidden}.pro-logo-box img{max-width:100%;max-height:100%;object-fit:contain}.pro-logo-placeholder{font-weight:950;font-size:28px;color:var(--red)}.pro-offer-title span{text-transform:uppercase;color:var(--red);font-size:12px;font-weight:950;letter-spacing:.8px}.pro-offer-title h2{margin:4px 0 6px;font-size:28px;letter-spacing:-.8px}.pro-offer-title p{margin:0;color:var(--muted);font-weight:750}.pro-offer-total{text-align:right}.pro-offer-total small{display:block;color:var(--muted);font-weight:850}.pro-offer-total strong{display:block;color:var(--red);font-size:30px;white-space:nowrap}.pro-party-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;padding:20px 24px}.pro-party-grid>div{border:1px solid var(--line);border-radius:16px;background:#fbfcfe;padding:16px}.pro-party-grid h4{margin:0 0 8px;color:#667085}.pro-party-grid strong{display:block;font-size:16px;margin-bottom:6px}.pro-party-grid p{margin:4px 0;color:#344054}.pro-offer-lines{padding:0 24px}.pro-offer-bottom{display:grid;grid-template-columns:1fr 360px;gap:22px;padding:22px 24px 28px}.pro-terms{border:1px solid var(--line);border-radius:16px;background:#fff;padding:16px}.pro-terms h4{margin:0 0 10px}.pro-terms p{margin:7px 0;color:#344054}.pro-totals{display:flex;flex-direction:column;gap:8px}.pro-totals span{display:flex;justify-content:space-between;gap:18px;border:1px solid var(--line);background:#f8fafc;border-radius:12px;padding:12px}.pro-totals .grand{background:#fff0f2;color:var(--red);font-size:16px;font-weight:950}.menu-permission-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-bottom:20px}.menu-permission-grid label{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fbfcfe}.menu-permission-grid input,.permission-table input{width:18px;height:18px;accent-color:var(--red)}.menu-permission-grid span{font-weight:850}.menu-permission-grid small{margin-left:auto;color:var(--muted);font-size:11px}.permission-panel h4{margin:18px 0 12px}.permission-table th,.permission-table td{text-align:center}.permission-table td:nth-child(1),.permission-table td:nth-child(2),.permission-table th:nth-child(1),.permission-table th:nth-child(2){text-align:left}@media(max-width:900px){.pro-offer-header,.pro-party-grid,.pro-offer-bottom{grid-template-columns:1fr}.pro-offer-total{text-align:left}.offer-live-totals{grid-template-columns:1fr 1fr}}@media(max-width:640px){.offer-live-totals{grid-template-columns:1fr}.qbs-modal-xl{width:auto}.pro-offer-title h2{font-size:22px}}@media print{.professional-offer-document{border:0;box-shadow:none}.pro-offer-header{padding-top:0}.share-grid,.panel-head .panel-actions{display:none!important}}

/* =========================================================
   v8 UI FIX - Unified inputs + draggable/resizable/maximized windows
   Kapsam: Liste formları değil; mevcut popup/form görsel standardı.
   ========================================================= */
:root{
    --field-bg:#ffffff;
    --field-border:#d8e0eb;
    --field-border-hover:#c8d2df;
    --field-text:#111827;
    --field-placeholder:#98a2b3;
    --field-focus:rgba(239,35,60,.12);
}
.qbs-modal-window{
    min-width:min(560px,calc(100vw - 32px));
    min-height:360px;
}
@media (min-width:981px){
    .qbs-modal-window{resize:both;overflow:hidden;}
    .qbs-modal-wide{min-width:760px;}
    .qbs-modal-xl{min-width:980px;}
}
.qbs-modal-titlebar{user-select:none;}
.qbs-modal-tools{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0;}
.qbs-modal-maximize,
.qbs-modal-close{
    width:40px;
    height:40px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
    color:#101828;
    display:grid;
    place-items:center;
    cursor:pointer;
    line-height:1;
    transition:.16s ease;
}
.qbs-modal-maximize{font-size:18px;font-weight:950;}
.qbs-modal-close{font-size:25px;}
.qbs-modal-maximize:hover,
.qbs-modal-close:hover{background:#fff0f2;color:var(--red);border-color:#ffd1d8;}
.qbs-modal-window.is-maximized{
    left:12px!important;
    top:12px!important;
    width:calc(100vw - 24px)!important;
    height:calc(100vh - 24px)!important;
    max-height:none!important;
    transform:none!important;
    resize:none!important;
    border-radius:18px;
}
.qbs-modal-window.is-maximized .qbs-modal-body,
.qbs-modal-window.is-maximized .form-stack{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
}
.qbs-modal-window.is-maximized .qbs-modal-titlebar{cursor:default;}
.qbs-modal-window.is-maximized .qbs-modal-actions{bottom:-18px;}

/* Unified modern field system */
.grid-form label,
.form-stack label,
.mini-form label,
.qbs-field{
    display:flex;
    flex-direction:column;
    gap:7px;
    min-width:0;
}
.grid-form label > span,
.form-stack label > span,
.mini-form label > span,
.qbs-field > span{
    font-size:13px;
    font-weight:900;
    color:#344054;
    letter-spacing:-.1px;
}
.grid-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.grid-form select,
.grid-form textarea,
.form-stack input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-stack select,
.form-stack textarea,
.qbs-modal-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.raw-input),
.qbs-modal-body select:not(.raw-input),
.qbs-modal-body textarea:not(.raw-input),
.mini-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.mini-form select,
.mini-form textarea,
.offer-line-table input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.offer-line-table select,
.offer-line-table textarea{
    width:100%;
    min-width:0;
    border:1px solid var(--field-border);
    background:var(--field-bg);
    color:var(--field-text);
    border-radius:13px;
    outline:0;
    box-shadow:0 1px 2px rgba(16,24,40,.03);
    transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.grid-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.grid-form select,
.form-stack input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-stack select,
.qbs-modal-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.raw-input),
.qbs-modal-body select:not(.raw-input),
.mini-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.mini-form select{
    height:46px;
    padding:0 13px;
}
.grid-form textarea,
.form-stack textarea,
.qbs-modal-body textarea:not(.raw-input),
.mini-form textarea,
.offer-line-table textarea{
    min-height:82px;
    padding:12px 13px;
    line-height:1.45;
    resize:vertical;
    font-family:inherit;
}
.grid-form input:hover,
.grid-form select:hover,
.grid-form textarea:hover,
.form-stack input:hover,
.form-stack select:hover,
.form-stack textarea:hover,
.qbs-modal-body input:hover,
.qbs-modal-body select:hover,
.qbs-modal-body textarea:hover,
.mini-form input:hover,
.mini-form select:hover,
.mini-form textarea:hover,
.offer-line-table input:hover,
.offer-line-table select:hover,
.offer-line-table textarea:hover{border-color:var(--field-border-hover);}
.grid-form input:focus,
.grid-form select:focus,
.grid-form textarea:focus,
.form-stack input:focus,
.form-stack select:focus,
.form-stack textarea:focus,
.qbs-modal-body input:focus,
.qbs-modal-body select:focus,
.qbs-modal-body textarea:focus,
.mini-form input:focus,
.mini-form select:focus,
.mini-form textarea:focus,
.offer-line-table input:focus,
.offer-line-table select:focus,
.offer-line-table textarea:focus{
    border-color:rgba(239,35,60,.65)!important;
    box-shadow:0 0 0 4px var(--field-focus)!important;
}
.grid-form ::placeholder,
.form-stack ::placeholder,
.qbs-modal-body ::placeholder,
.mini-form ::placeholder{color:var(--field-placeholder);opacity:1;}
.qbs-modal-body input[type="file"]{
    padding:10px 13px!important;
    height:auto!important;
    min-height:46px;
    line-height:1.4;
}
.qbs-modal-body input[type="checkbox"],
.qbs-modal-body input[type="radio"],
.grid-form input[type="checkbox"],
.grid-form input[type="radio"],
.form-stack input[type="checkbox"],
.form-stack input[type="radio"]{
    width:18px!important;
    height:18px!important;
    accent-color:var(--red);
    flex:0 0 auto;
}
.offer-form-section{
    background:#fff;
    border:1px solid #e5eaf2;
    box-shadow:0 10px 24px rgba(16,24,40,.035);
}
.offer-line-table-wrap{
    background:#fff;
}
.offer-line-table th{
    height:42px;
    font-weight:950;
}
.offer-line-table td{vertical-align:middle;}
.offer-line-table select,
.offer-line-table input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){
    height:42px!important;
    border-radius:12px!important;
    padding:0 11px!important;
}
.offer-line-table td:nth-child(1){min-width:340px;}
.offer-line-table td:nth-child(8){min-width:190px;}
.offer-line-table .btn-danger-line{
    height:42px;
    border-radius:12px;
}
.offer-live-totals span{
    min-height:54px;
    align-items:center;
    background:#fbfcfe;
}
.qbs-modal-actions{
    display:flex;
    justify-content:flex-end;
    gap:10px;
    align-items:center;
}
@media (max-width:980px){
    .qbs-modal-window{resize:none;min-width:0;}
    .qbs-modal-tools{gap:6px;}
    .qbs-modal-maximize{display:none;}
}
@media (max-width:640px){
    .offer-line-table{min-width:980px;}
    .qbs-modal-titlebar{min-height:64px;padding:13px 14px;}
    .qbs-modal-titlebar h3{font-size:16px;}
}

/* v9 scope/protection panels */
.panel-grid{display:grid;gap:18px;margin-top:18px}
.panel-grid.two-col{grid-template-columns:repeat(2,minmax(0,1fr))}
.compact-table th,.compact-table td{padding:10px 12px;font-size:13px;vertical-align:top}
.info-box{border:1px solid #dbe3ef;background:#f8fafc;border-radius:14px;padding:14px 16px;color:#334155;line-height:1.55}
@media (max-width:1100px){.panel-grid.two-col{grid-template-columns:1fr}}

/* v10 CRUD / card action fixes */
.row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;white-space:nowrap}.inline-form{display:inline-flex;margin:0}.btn-danger-soft{background:#fff1f2!important;color:#e11d48!important;border-color:#fecdd3!important}.btn-danger-soft:hover{background:#ffe4e6!important}.card-actions{margin-top:14px;padding-top:12px;border-top:1px solid var(--border,#e5e7eb)}.product-card .card-actions{grid-column:1/-1}.permission-note{font-size:12px;color:#64748b;margin-top:6px}

/* v11 CRM/access UI helpers */
.panel-grid.three-col{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.customer-autofill-card{border:1px solid #dbe5f1;background:#f8fafc;border-radius:16px;padding:14px 16px;color:#334155;line-height:1.55}
.inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0}
.mini-input{min-width:180px;max-width:280px;padding:8px 10px;border:1px solid #dbe5f1;border-radius:10px;background:#fff;font:inherit;color:#0f172a}
@media (max-width: 1180px){.panel-grid.three-col{grid-template-columns:1fr}}

/* v12 role/permission editor fixes */
.row-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.inline-form { display:inline-flex; margin:0; padding:0; }
.permission-module { border:1px solid rgba(15,23,42,.08); border-radius:14px; margin:12px 0; background:#fff; overflow:hidden; }
.permission-module > summary { cursor:pointer; list-style:none; padding:14px 16px; font-weight:800; color:#172033; background:linear-gradient(180deg,#fbfcff,#f7f8fb); display:flex; justify-content:space-between; align-items:center; }
.permission-module > summary::-webkit-details-marker { display:none; }
.permission-module > summary small { color:#7b8494; font-weight:600; }
.permission-module .table-wrap { border-top:1px solid rgba(15,23,42,.08); border-radius:0; }
.permission-table input[type="checkbox"], .menu-permission-grid input[type="checkbox"], .check-line input[type="checkbox"] { width:18px; height:18px; accent-color:#e23b4a; }
.qbs-modal-tools { display:flex; gap:6px; align-items:center; }
.qbs-modal-max { width:34px; height:34px; border:0; border-radius:10px; cursor:pointer; background:rgba(255,255,255,.16); color:#fff; font-weight:900; }
.qbs-modal-max:hover { background:rgba(255,255,255,.28); }

/* v13 authorization designer */
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.metric-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:16px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.metric-card span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;background:#fff1f2;color:#e23b4a;font-weight:900;margin-bottom:10px}
.metric-card b{display:block;color:#0f172a;font-size:15px;margin-bottom:4px}
.metric-card small{color:#64748b;font-weight:650}
@media (max-width:1100px){.metric-grid,.metric-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.metric-grid,.metric-grid.four{grid-template-columns:1fr}}

/* v14 role matrix editor */
.selected-row { background: rgba(239, 35, 60, 0.06); }
.matrix-toolbar { display:flex; flex-wrap:wrap; gap:10px; margin: 12px 0 18px; }
.role-action-matrix th, .role-action-matrix td { vertical-align: top; }
.matrix-check { display:flex; align-items:center; gap:6px; margin:4px 0; font-size:12px; font-weight:700; color:#1f2a44; }
.matrix-check input { width:16px; height:16px; accent-color:#ef233c; }
.permission-table input[type="checkbox"], .menu-permission-grid input[type="checkbox"] { accent-color:#ef233c; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 12px 0 0; border-top: 1px solid #e7edf5; z-index: 2; }
.muted { color:#8190a8; font-size:12px; }

/* =========================================================
   v15 - Uygulama Yönetimi / App Store Connect benzeri görünüm
   ========================================================= */
.appstore-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.appstore-product-rail {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 118px);
    overflow: auto;
}
.panel-head.compact {
    align-items: center;
    margin-bottom: 12px;
}
.appstore-list {
    display: grid;
    gap: 10px;
}
.appstore-list-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5eaf3;
    border-radius: 18px;
    text-decoration: none;
    color: #0f172a;
    background: #fff;
    transition: .18s ease;
}
.appstore-list-item:hover,
.appstore-list-item.active {
    border-color: rgba(239, 35, 60, .35);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}
.appstore-list-item.active {
    background: linear-gradient(135deg, #fff, #fff6f7);
}
.appstore-mini-icon,
.appstore-icon-large {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #ef233c, #ff6b81);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(239, 35, 60, .24);
}
.appstore-mini-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 22px;
}
.appstore-mini-icon img,
.appstore-icon-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.appstore-list-item strong {
    display: block;
    font-size: 14px;
    line-height: 1.25;
}
.appstore-list-item small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 12px;
}
.appstore-detail {
    display: grid;
    gap: 18px;
    min-width: 0;
}
.appstore-hero {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    background:
        radial-gradient(circle at 90% 0%, rgba(239, 35, 60, .08), transparent 34%),
        linear-gradient(180deg, #fff, #fbfcff);
}
.appstore-icon-large {
    width: 118px;
    height: 118px;
    border-radius: 28px;
    font-size: 48px;
}
.appstore-crumb {
    color: #ef233c;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.appstore-hero-main h3 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 42px);
    letter-spacing: -0.04em;
    color: #0f172a;
}
.appstore-hero-main p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    max-width: 760px;
}
.appstore-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.appstore-meta-row span,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f5f7fb;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #e5eaf3;
}
.appstore-status-stack {
    display: grid;
    gap: 10px;
    justify-items: end;
}
.appstore-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.metric-card {
    background: #fff;
    border: 1px solid #e5eaf3;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 15px 34px rgba(15, 23, 42, .055);
}
.metric-card span,
.metric-card small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.metric-card strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 28px;
    color: #0f172a;
    letter-spacing: -0.04em;
}
.appstore-preview-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 18px;
    align-items: start;
    padding: 18px;
    border: 1px solid #e5eaf3;
    border-radius: 22px;
    background: #fbfcff;
}
.appstore-preview-card h4 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.03em;
}
.lead-text {
    font-size: 16px;
    color: #ef233c;
    font-weight: 800;
}
.definition-grid.compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.definition-grid.compact div {
    padding: 12px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5eaf3;
}
.definition-grid.compact dt {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.definition-grid.compact dd {
    margin: 5px 0 0;
    color: #0f172a;
    font-weight: 800;
    word-break: break-word;
}
.release-timeline {
    display: grid;
    gap: 12px;
}
.release-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid #e5eaf3;
    background: #fff;
}
.release-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.release-title strong {
    font-size: 18px;
}
.release-title span,
.release-title em {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f5f7fb;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    font-style: normal;
}
.release-title em {
    background: #dcfce7;
    color: #15803d;
}
.release-card p {
    color: #475569;
    margin: 10px 0;
}
.app-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.media-card {
    border: 1px solid #e5eaf3;
    border-radius: 20px;
    padding: 12px;
    background: #fff;
    display: grid;
    gap: 10px;
}
.media-thumb {
    height: 132px;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #64748b;
    font-size: 34px;
}
.media-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-body strong {
    display: block;
    color: #0f172a;
}
.media-body small {
    display: block;
    margin: 4px 0 8px;
    color: #64748b;
    font-size: 12px;
}
.activity-list {
    display: grid;
    gap: 10px;
}
.activity-list article {
    padding: 14px 16px;
    border: 1px solid #e5eaf3;
    border-radius: 18px;
    background: #fff;
}
.activity-list article span {
    display: inline-block;
    color: #ef233c;
    font-weight: 900;
    font-size: 12px;
    margin-right: 8px;
}
.activity-list article strong {
    color: #0f172a;
}
.activity-list article small {
    display: block;
    color: #64748b;
    margin-top: 5px;
}
.activity-list article p {
    margin: 8px 0 0;
    color: #475569;
}
.muted-box,
.empty-state {
    padding: 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e5eaf3;
    color: #64748b;
}
.empty-state strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 8px;
}
.qbs-modal-xwide {
    width: min(1280px, calc(100vw - 44px));
}
@media (max-width: 1180px) {
    .appstore-layout { grid-template-columns: 1fr; }
    .appstore-product-rail { position: static; max-height: none; }
    .appstore-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
    .appstore-hero { grid-template-columns: 96px minmax(0, 1fr); }
    .appstore-status-stack { grid-column: 1 / -1; justify-items: start; display: flex; flex-wrap: wrap; }
}
@media (max-width: 760px) {
    .appstore-metrics { grid-template-columns: 1fr 1fr; }
    .appstore-preview-card { grid-template-columns: 1fr; }
    .definition-grid.compact { grid-template-columns: 1fr; }
    .release-card { grid-template-columns: 1fr; }
}

/* v16 - ayrılmış teklif / uygulama / medya / demo-lead akışı */
.app-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.app-list-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px; border: 1px solid var(--border); border-radius: 22px; background: var(--panel-bg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.app-list-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.app-card-icon, .app-icon-large { display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, rgba(45,127,249,.15), rgba(70,209,255,.12)); border: 1px solid rgba(45,127,249,.18); }
.app-card-icon { width: 64px; height: 64px; font-size: 30px; }
.app-icon-large { width: 92px; height: 92px; font-size: 42px; }
.app-card-main strong { display:block; font-size: 18px; }
.app-card-main small, .app-card-version small, .app-card-version em { display:block; color: var(--muted); font-style: normal; }
.app-card-version { text-align: right; min-width: 90px; }
.app-card-version b { display:block; font-size: 20px; }
.app-detail-hero { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--border); border-radius: 26px; background: var(--panel-bg); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.app-detail-hero h2 { margin: 4px 0 4px; }
.app-detail-hero p { margin: 0; color: var(--muted); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.app-meta-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.app-meta-pills span { padding: 5px 9px; border-radius: 999px; background: var(--soft-bg); color: var(--muted); font-size: 12px; }
.app-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.app-tabs a { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-bg); text-decoration: none; color: var(--text); }
.app-tabs a.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.release-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.release-card { border: 1px solid var(--border); border-radius: 20px; padding: 16px; background: var(--panel-bg); box-shadow: var(--shadow-xs); }
.release-card h3 { margin: 6px 0; }
.release-card h3 em { font-size: 13px; color: var(--muted); font-style: normal; }
.media-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.media-slot-card { border: 1px solid var(--border); border-radius: 22px; background: var(--panel-bg); overflow: hidden; }
.media-slot-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px; border-bottom: 1px solid var(--border); }
.media-slot-head h3 { margin: 0 0 4px; }
.media-slot-head small { color: var(--muted); }
.media-slot-body { padding: 14px; display: grid; gap: 10px; }
.media-item-row { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 16px; padding: 10px; }
.media-thumb.small { width: 76px; height: 58px; border-radius: 12px; display: grid; place-items: center; background: var(--soft-bg); overflow: hidden; }
.media-thumb.small img { width: 100%; height: 100%; object-fit: cover; }
.empty-slot { border: 1px dashed var(--border); border-radius: 16px; padding: 18px; color: var(--muted); text-align: center; background: var(--soft-bg); }
.upload-drop { border: 1px dashed var(--accent); border-radius: 18px; padding: 18px; background: rgba(45,127,249,.06); }
.upload-drop input { margin-top: 12px; }
.upload-drop em { display:block; margin-top: 8px; color: var(--muted); font-style: normal; }
.standalone-actions { position: sticky; bottom: 0; background: var(--body-bg); padding: 14px 0 4px; z-index: 5; }
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.inline-card-form { border: 1px solid var(--border); border-radius: 18px; padding: 14px; background: var(--panel-bg); display: grid; gap: 10px; }
.stack-form { display: grid; gap: 8px; }
.delete-strip { padding: 0 18px 18px; }
.metric-big { font-size: 34px; font-weight: 800; margin: 8px 0 12px; }
.showcase-preview { overflow: hidden; padding: 0; }
.showcase-cover { min-height: 260px; background: var(--soft-bg); display: grid; place-items: center; }
.showcase-cover img { width: 100%; max-height: 360px; object-fit: cover; }
.showcase-cover-empty { color: var(--muted); }
.showcase-content { padding: 24px; }
.showcase-content h1 { margin: 0 0 8px; }
.lead-text { color: var(--muted); font-size: 18px; }
@media print {
    body:not(.modal-open) .sidebar,
    body:not(.modal-open) .topbar,
    body:not(.modal-open) .page-head,
    body:not(.modal-open) .panel-actions,
    body:not(.modal-open) .app-tabs,
    body:not(.modal-open) .btn,
    body:not(.modal-open) .qbs-modal { display: none !important; }
    .print-document-only { box-shadow: none !important; border: 0 !important; }
}
@media (max-width: 900px) { .app-detail-hero { grid-template-columns: 72px minmax(0,1fr); } .hero-actions { grid-column: 1 / -1; justify-content: flex-start; } .app-list-card { grid-template-columns: 56px minmax(0,1fr); } .app-card-version { grid-column: 1 / -1; text-align: left; } }

/* =========================================================
   v17 - Button contrast fix + notification/settings UI
   Kapsam: kırmızı zemin/kırmızı yazı ve ikon görünmeme hatası.
   ========================================================= */
.btn, .mini-btn, .btn-mini{
    line-height:1;
    white-space:nowrap;
}
.btn-primary,
a.btn-primary,
button.btn-primary,
.panel-head a.btn-primary,
.row-actions a.btn-primary{
    color:#ffffff!important;
}
.btn-primary *,
a.btn-primary *,
button.btn-primary *{
    color:#ffffff!important;
}
.btn-soft,
a.btn-soft,
button.btn-soft,
.panel-head a.btn-soft,
.row-actions a.btn-soft,
.btn-mini,
a.btn-mini,
button.btn-mini{
    color:#344054!important;
}
.btn-danger-soft,
a.btn-danger-soft,
button.btn-danger-soft,
.btn-danger-line,
a.btn-danger-line,
button.btn-danger-line{
    color:#9f1239!important;
}
.btn-success,
a.btn-success,
button.btn-success{
    color:#ffffff!important;
}
.btn .btn-icon,
.mini-btn .btn-icon,
.btn-mini .btn-icon{
    display:inline-grid;
    place-items:center;
    width:18px;
    height:18px;
    flex:0 0 auto;
    color:inherit!important;
}
.panel-head a.btn,
.panel-actions a.btn,
.row-actions a.btn{
    font-weight:900;
}
.settings-section-tabs{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 16px;
}
.settings-section-tabs a{
    border:1px solid var(--line);
    background:#fff;
    border-radius:999px;
    padding:9px 13px;
    font-weight:900;
    color:#344054;
}
.settings-section-tabs a:hover{
    background:#fff0f2;
    border-color:#ffd1d8;
    color:#9f1239;
}
.template-preview-box{
    border:1px solid var(--line);
    background:#fbfcfe;
    border-radius:16px;
    padding:14px;
    max-height:260px;
    overflow:auto;
    color:#344054;
}
.notification-flow-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(180px,1fr));
    gap:12px;
    margin-bottom:16px;
}
.notification-flow-grid article{
    border:1px solid var(--line);
    background:#fff;
    border-radius:16px;
    padding:14px;
    box-shadow:var(--shadow-soft);
}
.notification-flow-grid strong{display:block;font-size:18px;margin-top:5px;}
.notification-flow-grid span{color:var(--muted);font-weight:800;font-size:12px;}
@media(max-width:920px){.notification-flow-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.notification-flow-grid{grid-template-columns:1fr;}}

/* =========================================================
   v18 - Bayilik / iş ortaklığı başvuru süreç ekranı
   ========================================================= */
.dealer-application-stats{grid-template-columns:repeat(6,minmax(0,1fr));}
.dealer-application-filter{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px;align-items:end;}
.dealer-application-filter label{display:flex;flex-direction:column;gap:6px;font-weight:850;color:#344054;}
.dealer-application-filter input,.dealer-application-filter select{height:42px;border:1px solid var(--line);border-radius:12px;padding:0 12px;background:#fff;font-weight:800;color:#101828;}
.dealer-application-filter .span-2{grid-column:span 2;}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px;}
.detail-grid>div{border:1px solid var(--line);background:#f8fafc;border-radius:14px;padding:12px;}
.detail-grid b{display:block;color:#667085;font-size:12px;margin-bottom:5px;}
.detail-grid span{display:block;font-weight:850;color:#101828;}
.detail-grid .span-2{grid-column:span 2;}
.timeline-list{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.timeline-item{border:1px solid var(--line);border-left:4px solid var(--red);background:#fff;border-radius:14px;padding:12px 14px;}
.timeline-item strong{display:block;color:#101828;font-weight:950;}
.timeline-item small{display:block;color:#667085;margin-top:4px;}
.timeline-item p{margin:8px 0 0;color:#344054;}
.muted-box{border:1px dashed var(--line);border-radius:14px;background:#f8fafc;color:#667085;font-weight:850;padding:14px;}
@media(max-width:1100px){.dealer-application-stats{grid-template-columns:repeat(3,minmax(0,1fr));}.dealer-application-filter{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:720px){.dealer-application-stats,.dealer-application-filter,.detail-grid{grid-template-columns:1fr}.dealer-application-filter .span-2,.detail-grid .span-2{grid-column:auto;}}

/* v19 Bayilik başvuru CMS / evrak yönetimi */
.document-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin: 14px 0 18px;
}
.document-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px;
    background: #ffffff;
    display: grid;
    gap: 10px;
}
.document-card.ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.document-card.missing {
    border-color: #fed7aa;
    background: #fff7ed;
}
.document-card strong {
    display: block;
    color: #111827;
}
.document-card small {
    display: block;
    color: #64748b;
    line-height: 1.45;
}
.document-upload-form {
    margin: 16px 0;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
}
.muted-text {
    color: #64748b;
}

/* v24 login, soft theme and universal collapsible filters */
:root{
    --bg:#f7f8fb;
    --panel:#ffffff;
    --panel-soft:#fbfcff;
    --text:#182033;
    --muted:#6b778a;
    --line:#edf1f6;
    --navy:#172238;
    --navy-2:#111b2e;
    --red:#e24b61;
    --red-2:#c83b50;
    --shadow:0 14px 34px rgba(16,24,40,.065);
    --shadow-soft:0 8px 22px rgba(16,24,40,.045);
    --radius:22px;
    --radius-sm:14px;
}
body{background:linear-gradient(180deg,#f8f9fc 0%,#f4f7fb 100%);}
.panel,.dealer-card,.product-card,.pricing-card,.kpi-card,.stat-card{border-color:var(--line);box-shadow:var(--shadow-soft);}
.btn,.mini-btn{border-radius:14px;}
.btn-primary{color:#fff!important;background:linear-gradient(135deg,var(--red),var(--red-2))!important;border-color:transparent!important;box-shadow:0 12px 24px rgba(226,75,97,.18)!important;}
.btn-primary *, .btn-danger-solid *, .btn-danger-soft *{color:inherit!important;fill:currentColor!important;}
.btn-soft,.mini-btn{background:#fff!important;border:1px solid #e7edf5!important;color:#304054!important;box-shadow:0 6px 14px rgba(16,24,40,.035);}
.btn-danger-soft{background:#fff1f3!important;border:1px solid #ffd5dc!important;color:#b42334!important;}
.btn-danger-solid{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important;}
.panel-head a.btn-primary,.panel-head button.btn-primary,.row-actions .btn-primary,.table-actions .btn-primary{color:#fff!important;}
.panel-head a.btn-danger-solid,.panel-head button.btn-danger-solid,.row-actions .btn-danger-solid,.table-actions .btn-danger-solid{color:#fff!important;}

.login-body-v24{min-height:100vh;background:radial-gradient(circle at 10% 10%,rgba(226,75,97,.14),transparent 28%),radial-gradient(circle at 82% 20%,rgba(47,128,237,.12),transparent 25%),linear-gradient(135deg,#f8f9fc,#eef3f9);display:grid;place-items:center;padding:32px;}
.login-page-v24{width:min(1180px,100%);min-height:720px;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.86);border-radius:34px;box-shadow:0 34px 90px rgba(16,24,40,.16);overflow:hidden;backdrop-filter:blur(18px);}
.login-promo-v24{padding:46px;display:flex;flex-direction:column;gap:30px;background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(243,247,252,.82));position:relative;overflow:hidden;}
.login-promo-v24:before{content:"";position:absolute;right:-120px;top:-120px;width:320px;height:320px;border-radius:50%;background:rgba(226,75,97,.12);}
.login-promo-v24:after{content:"";position:absolute;left:-160px;bottom:-180px;width:360px;height:360px;border-radius:50%;background:rgba(47,128,237,.10);}
.login-promo-v24>*{position:relative;z-index:1;}
.login-brand-v24{display:flex;align-items:center;gap:14px;color:#172238;}
.login-brand-logo-v24{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#172238,#2b3c61);color:#fff;display:grid;place-items:center;font-weight:1000;font-size:30px;box-shadow:0 18px 34px rgba(23,34,56,.20);}
.login-brand-v24 strong{display:block;font-size:24px;letter-spacing:-.5px;}
.login-brand-v24 span{display:block;color:#68758a;font-weight:800;font-size:13px;margin-top:3px;}
.login-eyebrow-v24{display:inline-flex;align-self:flex-start;margin:0 0 12px;padding:7px 11px;border-radius:999px;background:#fff1f3;color:#b42334;font-weight:950;font-size:12px;letter-spacing:.2px;}
.login-promo-content-v24 h1{font-size:48px;line-height:1.04;letter-spacing:-1.9px;margin:0 0 18px;color:#121a2a;max-width:720px;}
.login-promo-content-v24 p:not(.login-eyebrow-v24){font-size:17px;line-height:1.7;color:#5e6b7f;max-width:670px;margin:0;}
.login-feature-list-v24{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:auto;}
.login-feature-list-v24 article{background:rgba(255,255,255,.78);border:1px solid rgba(231,237,245,.95);border-radius:22px;padding:18px;box-shadow:0 10px 22px rgba(16,24,40,.045);}
.login-feature-list-v24 span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#f2f5fa;color:#172238;font-weight:1000;margin-bottom:13px;}
.login-feature-list-v24 b{display:block;color:#172238;font-size:15px;margin-bottom:4px;}
.login-feature-list-v24 small{display:block;color:#6b778a;line-height:1.45;font-weight:700;}
.login-public-actions-v24{display:grid;grid-template-columns:minmax(240px,.9fr) minmax(320px,1.1fr);gap:14px;align-items:stretch;}
.login-public-primary-v24{display:flex;align-items:center;justify-content:center;text-align:center;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#172238,#2f4168);color:#fff;font-weight:950;box-shadow:0 16px 34px rgba(23,34,56,.20);}
.login-token-form-v24{background:#fff;border:1px solid #e7edf5;border-radius:18px;padding:12px;box-shadow:0 10px 22px rgba(16,24,40,.045);}
.login-token-form-v24 label{display:block;font-size:12px;color:#6b778a;font-weight:900;margin:0 0 7px;}
.login-token-form-v24 div{display:grid;grid-template-columns:1fr auto;gap:8px;}
.login-token-form-v24 input{height:42px;border:1px solid #e2e8f0;border-radius:13px;padding:0 12px;outline:0;background:#fbfcff;}
.login-token-form-v24 input:focus{border-color:rgba(226,75,97,.62);box-shadow:0 0 0 4px rgba(226,75,97,.10);}
.login-token-form-v24 button{height:42px;border:0;border-radius:13px;padding:0 14px;background:#eef2f7;color:#26364f;font-weight:950;}
.login-panel-v24{padding:46px 42px;background:#fff;display:flex;flex-direction:column;justify-content:center;}
.login-panel-head-v24{display:flex;align-items:center;gap:14px;margin-bottom:28px;}
.login-lock-v24{width:52px;height:52px;border-radius:17px;background:#fff1f3;color:#b42334;display:grid;place-items:center;font-size:24px;font-weight:1000;}
.login-panel-head-v24 h2{margin:0;font-size:30px;letter-spacing:-.8px;color:#121a2a;}
.login-panel-head-v24 p{margin:4px 0 0;color:#6b778a;font-weight:750;}
.login-form-v24{display:flex;flex-direction:column;gap:16px;}
.login-form-v24 label{display:flex;flex-direction:column;gap:8px;font-weight:900;color:#344054;}
.login-form-v24 input{height:52px;border:1px solid #e2e8f0;border-radius:16px;background:#fbfcff;padding:0 14px;outline:0;font-weight:800;color:#172238;}
.login-form-v24 input:focus{border-color:rgba(226,75,97,.62);box-shadow:0 0 0 4px rgba(226,75,97,.10);background:#fff;}
.login-note-v24{margin-top:22px;border:1px solid #e7edf5;border-radius:16px;background:#f8fafc;color:#677489;font-weight:750;line-height:1.55;padding:14px;}

.qbs-filter-collapse,.license-filter-shell{display:block;margin-top:12px;border:1px solid #e7edf5;border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 8px 18px rgba(16,24,40,.04);overflow:hidden;}
.qbs-filter-collapse summary,.license-filter-shell summary{cursor:pointer;list-style:none;user-select:none;}
.qbs-filter-collapse summary::-webkit-details-marker,.license-filter-shell summary::-webkit-details-marker{display:none;}
.qbs-filter-collapse summary,.license-filter-summary{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px!important;border:0!important;background:linear-gradient(180deg,#ffffff,#fbfcff)!important;border-radius:0!important;}
.qbs-filter-collapse summary strong,.license-filter-summary strong{display:block;font-size:15px;color:#172238;}
.qbs-filter-collapse summary small,.license-filter-summary small{display:block;color:#6b778a;font-weight:750;margin-top:2px;}
.qbs-filter-toggle-text,.license-filter-summary .btn{display:inline-flex;align-items:center;justify-content:center;height:34px;border-radius:12px;padding:0 12px;background:#f2f5fa!important;border:1px solid #e3e9f2!important;color:#344054!important;font-weight:950;font-size:12px;white-space:nowrap;}
.qbs-filter-collapse[open] .qbs-filter-toggle-text,.license-filter-shell[open] .license-filter-summary .btn{background:#fff1f3!important;border-color:#ffd5dc!important;color:#b42334!important;}
.qbs-filter-body,.license-filter-body{padding:0 16px 16px!important;border-top:1px solid #edf1f6;}
.qbs-filter-body form,.license-filter-body form{margin-top:14px;}
.filter-form input,.filter-form select,.license-compact-grid input,.license-compact-grid select{border-color:#e2e8f0!important;background:#fff!important;}

@media(max-width:980px){
    .login-body-v24{padding:18px;place-items:start center;}
    .login-page-v24{grid-template-columns:1fr;min-height:0;border-radius:26px;}
    .login-promo-v24,.login-panel-v24{padding:28px;}
    .login-promo-content-v24 h1{font-size:36px;}
    .login-public-actions-v24{grid-template-columns:1fr;}
}
@media(max-width:640px){
    .login-feature-list-v24{grid-template-columns:1fr;}
    .login-token-form-v24 div{grid-template-columns:1fr;}
}
