
:root{
 --gd-bg:#f8fafd;--gd-panel:#fff;--gd-text:#1f1f1f;--gd-muted:#5f6368;--gd-line:#e5e9ef;
 --gd-blue:#0b57d0;--gd-blue-soft:#c2e7ff;--gd-hover:#e9eef6;--gd-green:#188038;
 --gd-red:#b3261e;--gd-shadow:0 1px 2px rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.05);
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,"Segoe UI",Roboto,sans-serif;color:var(--gd-text)}
body{background:var(--gd-bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}
.gd-body{min-height:100vh}.gd-sidebar{position:fixed;left:0;top:0;bottom:0;width:256px;padding:14px 12px 16px;background:var(--gd-bg);display:flex;flex-direction:column;overflow:auto;z-index:20}
.gd-logo{height:46px;display:flex;align-items:center;gap:10px;padding:0 12px;font-size:22px;color:#3c4043}.gd-logo-mark{font-size:27px;color:var(--gd-blue)}.gd-logo b{font-weight:600}
.gd-new{width:118px;height:56px;margin:10px 0 18px 4px;border:0;border-radius:16px;background:#fff;box-shadow:0 1px 2px #3c404330,0 1px 3px 1px #3c404326;display:flex;align-items:center;justify-content:center;gap:12px;font-weight:600;cursor:pointer}.gd-new span{font-size:28px;font-weight:300}.gd-new:hover{background:#f7f9fc;box-shadow:0 2px 6px #3c404336}
.gd-nav-group{display:grid;gap:2px}.gd-nav{height:38px;padding:0 14px;border-radius:19px;display:flex;align-items:center;gap:14px;font-size:14px;color:#3c4043}.gd-nav:hover{background:var(--gd-hover)}.gd-nav.active{background:var(--gd-blue-soft);color:#001d35;font-weight:600}.gd-nav-icon{width:20px;text-align:center;font-size:17px}.gd-nav-label{font-size:11px;font-weight:700;color:#687078;padding:20px 14px 7px;letter-spacing:.55px}.gd-admin-nav .gd-nav{font-size:13px}
.gd-storage{margin-top:auto;padding:18px 14px 0;color:var(--gd-muted);font-size:12px}.gd-storage-title{display:flex;justify-content:space-between;gap:8px;margin-bottom:8px}.gd-progress{height:4px;border-radius:99px;background:#dfe4ea;overflow:hidden}.gd-progress i{height:100%;display:block;background:var(--gd-blue);border-radius:99px}.gd-storage small{display:block;margin-top:8px}
.gd-app{margin-left:256px;min-height:100vh}.gd-topbar{height:72px;padding:8px 20px 8px 12px;display:flex;align-items:center;gap:18px;background:var(--gd-bg);position:sticky;top:0;z-index:15}.gd-search{height:48px;max-width:720px;flex:1;background:#edf2fc;border-radius:24px;display:flex;align-items:center;padding:0 18px;gap:12px}.gd-search span{font-size:23px;color:#444746}.gd-search input{border:0;outline:0;background:transparent;width:100%;font-size:16px;color:#1f1f1f}.gd-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.gd-icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center}.gd-icon-btn:hover{background:#e8ebef}.gd-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#6b4eff;color:#fff;font-weight:700}.gd-user{display:grid;font-size:12px;line-height:1.25}.gd-user small{color:var(--gd-muted)}.gd-logout{font-size:13px;color:var(--gd-blue);padding:8px 10px;border-radius:18px}.gd-logout:hover{background:#e8f0fe}
.gd-main{margin:0 16px 16px 0;background:#fff;border-radius:16px;min-height:calc(100vh - 88px);padding:22px 24px 34px;box-shadow:var(--gd-shadow)}.gd-titlebar{display:flex;align-items:center;justify-content:space-between;min-height:52px}.gd-titlebar h1{font-size:24px;font-weight:500;margin:0;letter-spacing:-.25px}.gd-titlebar p{margin:5px 0 0;color:var(--gd-muted);font-size:13px}
.gd-toolbar{display:flex;align-items:center;gap:8px;margin:12px 0 14px;min-height:44px}.gd-toolbar-right{margin-left:auto;display:flex;gap:8px}.gd-btn{border:1px solid #c4c7c5;background:#fff;border-radius:20px;height:38px;padding:0 15px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#1f1f1f}.gd-btn:hover{background:#f1f3f4}.gd-btn.primary{background:var(--gd-blue);color:#fff;border-color:var(--gd-blue)}.gd-btn.primary:hover{background:#0842a0}.gd-btn.danger{color:var(--gd-red)}.gd-btn:disabled{opacity:.4;cursor:default}
.gd-breadcrumb{display:flex;align-items:center;gap:7px;color:#444746;font-size:14px;min-height:36px;overflow:auto;white-space:nowrap}.gd-breadcrumb a{padding:6px 8px;border-radius:7px}.gd-breadcrumb a:hover{background:#f1f3f4}.gd-breadcrumb .sep{color:#8b9197}
.gd-table{width:100%;border-collapse:separate;border-spacing:0;margin-top:8px}.gd-table th{height:44px;text-align:left;font-size:12px;color:#5f6368;font-weight:500;border-bottom:1px solid var(--gd-line);padding:0 12px}.gd-table td{height:52px;border-bottom:1px solid #edf0f3;padding:0 12px;font-size:13px}.gd-table tr.data:hover{background:#f7f9fc}.gd-table .check{width:42px}.gd-name{display:flex;align-items:center;gap:10px;min-width:260px}.gd-fileicon{width:24px;text-align:center;font-size:20px}.gd-name a{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:560px}.gd-version{font-size:10px;color:#5f6368;background:#eef2f6;padding:2px 6px;border-radius:8px}.gd-actions{display:flex;justify-content:flex-end;gap:2px;opacity:0}.gd-table tr:hover .gd-actions{opacity:1}.gd-action{width:32px;height:32px;border:0;background:transparent;border-radius:50%;cursor:pointer;display:grid;place-items:center;color:#444746}.gd-action:hover{background:#e8eaed}.gd-action.starred{color:#f9ab00}
.gd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin-top:12px}.gd-card-item{border:1px solid var(--gd-line);border-radius:12px;background:#f8fafd;min-height:120px;padding:14px;display:flex;flex-direction:column;gap:10px;cursor:pointer}.gd-card-item:hover{background:#edf2fa}.gd-card-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600}.gd-card-meta{margin-top:auto;color:var(--gd-muted);font-size:11px}
.gd-selection{display:none;align-items:center;gap:8px;background:#edf2fc;border-radius:10px;padding:7px 10px;margin:8px 0}.gd-selection.show{display:flex}.gd-selection strong{font-size:13px}.gd-selection .spacer{flex:1}
.gd-empty{padding:80px 20px;text-align:center;color:var(--gd-muted)}.gd-empty .icon{font-size:54px;margin-bottom:12px}.gd-empty h3{font-weight:500;color:#3c4043;margin:0 0 7px}.gd-empty p{margin:0}
.gd-tabs{height:48px;display:flex;gap:22px;border-bottom:1px solid var(--gd-line);margin:6px 0 22px}.gd-tabs a{display:flex;align-items:center;height:48px;font-size:14px;color:#5f6368;border-bottom:2px solid transparent}.gd-tabs a.active{color:var(--gd-blue);border-bottom-color:var(--gd-blue);font-weight:600}
.gd-panel{border:1px solid var(--gd-line);border-radius:12px;background:#fff;padding:18px;margin-bottom:16px}.gd-panel h2{margin:0 0 4px;font-size:18px;font-weight:500}.gd-panel>p{margin:0 0 16px;color:var(--gd-muted);font-size:13px}
.gd-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}.gd-kpi{border:1px solid var(--gd-line);border-radius:12px;padding:16px}.gd-kpi small{color:var(--gd-muted);display:block}.gd-kpi strong{font-size:26px;font-weight:500;display:block;margin-top:8px}
.gd-admin-table{width:100%;border-collapse:collapse}.gd-admin-table th,.gd-admin-table td{text-align:left;border-bottom:1px solid var(--gd-line);padding:11px 10px;font-size:13px}.gd-admin-table th{color:var(--gd-muted);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.3px}.gd-admin-table input,.gd-admin-table select{border:1px solid #c4c7c5;border-radius:8px;padding:8px;background:#fff;max-width:180px}.gd-status{display:inline-flex;border-radius:10px;padding:4px 8px;font-size:11px;font-weight:600}.gd-status.ok{background:#e6f4ea;color:#137333}.gd-status.off{background:#f1f3f4;color:#5f6368}
.gd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.gd-field{display:grid;gap:6px;font-size:12px;color:#5f6368}.gd-field input,.gd-field select,.gd-field textarea{width:100%;border:1px solid #c4c7c5;border-radius:8px;padding:10px 11px;background:#fff;color:#1f1f1f}.gd-field textarea{min-height:100px;resize:vertical}.gd-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}
.gd-dialog{border:0;border-radius:14px;padding:0;min-width:min(480px,calc(100vw - 32px));box-shadow:0 8px 30px #20212440}.gd-dialog::backdrop{background:#20212466}.gd-dialog form{padding:22px}.gd-dialog h2{font-size:20px;font-weight:500;margin:0 0 18px}.gd-dialog .gd-field{margin-bottom:12px}
.gd-timeline{display:grid}.gd-event{display:grid;grid-template-columns:32px 1fr auto;gap:10px;padding:12px 4px;border-bottom:1px solid var(--gd-line)}.gd-event-icon{width:30px;height:30px;border-radius:50%;background:#e8f0fe;display:grid;place-items:center;color:var(--gd-blue)}.gd-event b{font-size:13px;font-weight:500}.gd-event small{display:block;color:var(--gd-muted);font-size:11px;margin-top:3px}.gd-event time{font-size:11px;color:var(--gd-muted)}
.gd-preview-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px}.gd-preview{background:#202124;border-radius:12px;min-height:600px;display:grid;place-items:center;overflow:hidden}.gd-preview img,.gd-preview video,.gd-preview iframe{width:100%;height:600px;border:0;object-fit:contain}.gd-preview audio{width:80%}.gd-comments textarea{width:100%;min-height:80px;border:1px solid #c4c7c5;border-radius:8px;padding:10px;resize:vertical}.gd-comment{padding:12px 0;border-bottom:1px solid var(--gd-line)}.gd-comment small{display:block;color:var(--gd-muted);font-size:11px}.gd-comment p{font-size:13px;line-height:1.5;margin:8px 0 0}
.gd-login-body{min-height:100vh;display:grid;place-items:center;background:#fff;padding:20px}.gd-login-card{width:min(450px,100%);border:1px solid #dadce0;border-radius:16px;padding:38px 40px}.gd-login-logo{font-size:24px;margin-bottom:24px}.gd-login-card h1{font-size:24px;font-weight:400;margin:0 0 8px}.gd-login-card p{color:#5f6368;font-size:14px;margin:0 0 24px}.gd-login-card input{width:100%;height:52px;border:1px solid #dadce0;border-radius:5px;padding:0 13px;margin-bottom:12px}.gd-login-card button{height:42px;border:0;border-radius:4px;background:var(--gd-blue);color:#fff;padding:0 24px;font-weight:600;float:right}.gd-error{background:#fce8e6;color:#a50e0e;padding:10px 12px;border-radius:6px;font-size:12px;margin-bottom:12px}
@media(max-width:1050px){.gd-kpis{grid-template-columns:repeat(2,1fr)}.gd-preview-layout{grid-template-columns:1fr}.gd-preview{min-height:450px}.gd-preview img,.gd-preview video,.gd-preview iframe{height:450px}}
@media(max-width:760px){.gd-sidebar{width:72px;padding:12px 8px}.gd-logo span:last-child,.gd-new:not(:focus-visible){font-size:0}.gd-logo{justify-content:center;padding:0}.gd-new{width:54px;height:54px;border-radius:16px}.gd-new span{font-size:28px}.gd-nav{padding:0;justify-content:center}.gd-nav span:last-child,.gd-nav-label,.gd-storage{display:none}.gd-app{margin-left:72px}.gd-user{display:none}.gd-main{margin-right:8px;padding:16px}.gd-search{max-width:none}.gd-table th:nth-child(3),.gd-table td:nth-child(3),.gd-table th:nth-child(4),.gd-table td:nth-child(4){display:none}.gd-form-grid{grid-template-columns:1fr}.gd-kpis{grid-template-columns:1fr 1fr}.gd-name{min-width:160px}}

/* uploader */
#dropOverlay{position:fixed;inset:0;background:rgba(11,87,208,.10);backdrop-filter:blur(2px);z-index:1000;display:none;place-items:center;border:4px dashed #0b57d0}
#dropOverlay.show{display:grid}#dropOverlay>div{background:#fff;border-radius:18px;padding:34px 46px;box-shadow:0 8px 30px #20212433;display:grid;gap:7px;text-align:center;color:#3c4043}
#dropOverlay>div:first-letter{font-size:34px}.transfers{position:fixed;right:24px;bottom:20px;width:360px;max-height:420px;background:#fff;border:1px solid #dadce0;border-radius:12px 12px 0 0;box-shadow:0 8px 30px #20212430;z-index:900;overflow:hidden}.transferHead{height:48px;padding:0 14px;background:#202124;color:#fff;display:flex;align-items:center;justify-content:space-between}.transferHead button{border:0;background:transparent;color:#fff;font-size:20px}.transferList{max-height:360px;overflow:auto}.transfer{padding:12px 14px;border-bottom:1px solid #eceff1}.transfer>div{display:flex;justify-content:space-between;gap:10px}.transfer b{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.transfer small{font-size:10px;color:#5f6368}.transfer progress{width:100%;height:4px;margin-top:8px}.transfer.error small{color:#b3261e}.transfers.mini .transferList{display:none}

/* 0.9.2 thumbnails */
.gd-thumb-sm{width:28px;height:28px;border-radius:5px;object-fit:cover;display:block;background:#eef2f6}.gd-thumb-wrap{height:132px;border-radius:9px;background:#eef2f6;display:grid;place-items:center;overflow:hidden;margin:-3px -3px 2px}.gd-thumb{width:100%;height:100%;object-fit:cover}.gd-folder-preview{height:132px;border-radius:9px;background:#e9f2ff;display:grid;place-items:center;font-size:58px;margin:-3px -3px 2px}.gd-card-file{min-height:190px}.gd-theme-btn{border:0;background:transparent;cursor:pointer;font-size:19px}
/* Dark Cyberpunk: estructura Drive, piel nocturna */
html[data-theme="cyber"]{color-scheme:dark;--gd-bg:#050a12;--gd-panel:#0a111d;--gd-text:#e9f7ff;--gd-muted:#82a0b6;--gd-line:#183047;--gd-blue:#21d4fd;--gd-blue-soft:#0d3145;--gd-hover:#102536;--gd-green:#34f5a4;--gd-red:#ff5d8f;--gd-shadow:0 0 0 1px rgba(33,212,253,.04),0 10px 38px rgba(0,0,0,.32)}
html[data-theme="cyber"] body{background:radial-gradient(circle at 78% -10%,rgba(115,45,255,.15),transparent 34%),linear-gradient(180deg,#050a12,#070d16)}
html[data-theme="cyber"] .gd-sidebar,html[data-theme="cyber"] .gd-topbar{background:rgba(5,10,18,.96)}
html[data-theme="cyber"] .gd-main,html[data-theme="cyber"] .gd-panel,html[data-theme="cyber"] .gd-card-item{background:#09111c;border-color:#173249}
html[data-theme="cyber"] .gd-main{box-shadow:0 0 0 1px rgba(33,212,253,.05),0 18px 60px rgba(0,0,0,.42)}
html[data-theme="cyber"] .gd-logo,html[data-theme="cyber"] .gd-nav,html[data-theme="cyber"] .gd-titlebar h1,html[data-theme="cyber"] .gd-card-title,html[data-theme="cyber"] .gd-table td,html[data-theme="cyber"] .gd-admin-table td{color:#dff8ff}
html[data-theme="cyber"] .gd-logo-mark,html[data-theme="cyber"] .gd-nav.active .gd-nav-icon{color:#21d4fd;text-shadow:0 0 12px rgba(33,212,253,.55)}
html[data-theme="cyber"] .gd-nav.active{background:linear-gradient(90deg,rgba(33,212,253,.16),rgba(126,34,206,.14));color:#bdf6ff;box-shadow:inset 2px 0 #21d4fd}
html[data-theme="cyber"] .gd-new{background:#0b1724;color:#e8fbff;border:1px solid #20435c;box-shadow:0 0 18px rgba(33,212,253,.09)}
html[data-theme="cyber"] .gd-new:hover{background:#102536;box-shadow:0 0 24px rgba(33,212,253,.15)}
html[data-theme="cyber"] .gd-search{background:#0b1624;border:1px solid #173249}html[data-theme="cyber"] .gd-search input{color:#e9f7ff}html[data-theme="cyber"] .gd-search input::placeholder{color:#6e8aa0}
html[data-theme="cyber"] .gd-btn{background:#0a1622;border-color:#24435a;color:#dff8ff}html[data-theme="cyber"] .gd-btn:hover{background:#102536}html[data-theme="cyber"] .gd-btn.primary{background:linear-gradient(90deg,#00b8e6,#7b2cff);border:0;color:white;box-shadow:0 0 16px rgba(33,212,253,.16)}
html[data-theme="cyber"] .gd-table th,html[data-theme="cyber"] .gd-admin-table th{color:#7899af;border-color:#173249}html[data-theme="cyber"] .gd-table td,html[data-theme="cyber"] .gd-admin-table td{border-color:#13283b}html[data-theme="cyber"] .gd-table tr.data:hover{background:#0e1d2b}
html[data-theme="cyber"] .gd-card-item:hover{background:#0d1d2b;border-color:#24516c;box-shadow:0 0 18px rgba(33,212,253,.08)}
html[data-theme="cyber"] .gd-thumb-wrap,html[data-theme="cyber"] .gd-thumb-sm{background:#111c29}html[data-theme="cyber"] .gd-folder-preview{background:linear-gradient(145deg,#102a3e,#171436)}
html[data-theme="cyber"] .gd-dialog{background:#09111c;color:#e9f7ff;border:1px solid #1b3b52}html[data-theme="cyber"] .gd-dialog input,html[data-theme="cyber"] .gd-dialog select,html[data-theme="cyber"] .gd-dialog textarea,html[data-theme="cyber"] .gd-field input,html[data-theme="cyber"] .gd-field select,html[data-theme="cyber"] .gd-field textarea{background:#07101a;color:#dff8ff;border-color:#25445a}
html[data-theme="cyber"] .gd-selection{background:#0c2739;border:1px solid #17506d}html[data-theme="cyber"] .gd-version{background:#102536;color:#83def4}html[data-theme="cyber"] .gd-action{color:#9ab7c9}html[data-theme="cyber"] .gd-action:hover{background:#173047}
html[data-theme="cyber"] .gd-storage{border-top:1px solid #12283a}html[data-theme="cyber"] .gd-progress{background:#142b3e}html[data-theme="cyber"] .gd-progress i{background:linear-gradient(90deg,#21d4fd,#8b5cf6)}
html[data-theme="cyber"] code{background:#07101a;color:#82e7ff;border:1px solid #173249}

/* Asertic Box 0.10 · Akane */
.ak-top-btn{font-size:19px;color:#6f3ff5}.ak-drawer{position:fixed;top:0;right:-430px;width:min(420px,calc(100vw - 24px));height:100vh;background:var(--gd-panel);z-index:80;box-shadow:-12px 0 40px rgba(32,33,36,.18);display:grid;grid-template-rows:auto 1fr auto auto;transition:right .22s ease;border-left:1px solid var(--gd-line)}.ak-drawer.open{right:0}.ak-backdrop{display:none;position:fixed;inset:0;background:rgba(20,24,33,.18);z-index:70}.ak-backdrop.open{display:block}.ak-head{height:68px;padding:0 16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--gd-line)}.ak-head>div{display:grid;grid-template-columns:32px 1fr;align-items:center}.ak-head b{font-size:15px}.ak-head small{grid-column:2;color:var(--gd-muted);font-size:11px}.ak-logo{grid-row:1/3;width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#06b6d4);color:#fff}.ak-head button{border:0;background:transparent;font-size:25px;color:var(--gd-muted);cursor:pointer}.ak-messages{overflow:auto;padding:18px;display:grid;align-content:start;gap:16px}.ak-msg{display:grid;grid-template-columns:28px 1fr;gap:9px}.ak-avatar{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eef2ff;color:#6536d5;font-size:12px}.ak-msg.user .ak-avatar{background:#dbeafe;color:#0b57d0}.ak-msg b{font-size:12px}.ak-msg p{font-size:13px;line-height:1.55;margin:5px 0 0;color:var(--gd-text)}.ak-sources{max-height:130px;overflow:auto;border-top:1px solid var(--gd-line);padding:9px 16px;display:grid;gap:4px}.ak-sources:empty{display:none}.ak-sources>small{font-size:9px;color:var(--gd-muted);font-weight:700;letter-spacing:.7px}.ak-sources a{font-size:11px;padding:5px 7px;border-radius:7px;background:var(--gd-bg);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ak-sources a span{color:#6f3ff5;margin-right:6px}.ak-compose{padding:12px 14px 14px;border-top:1px solid var(--gd-line)}.ak-compose textarea{width:100%;resize:none;border:1px solid #c7cbd1;border-radius:14px;padding:11px 12px;background:var(--gd-panel);color:var(--gd-text);outline:none}.ak-compose textarea:focus{border-color:#6f3ff5;box-shadow:0 0 0 2px rgba(111,63,245,.12)}.ak-compose>div{display:flex;align-items:center;justify-content:space-between;margin-top:6px}.ak-compose span{font-size:10px;color:var(--gd-muted)}.ak-compose button{width:34px;height:34px;border:0;border-radius:50%;background:linear-gradient(135deg,#7c3aed,#0ea5e9);color:#fff;cursor:pointer}.ak-workspace{max-width:1120px}.ak-hero{display:grid;grid-template-columns:54px 1fr;gap:14px;align-items:center;background:linear-gradient(135deg,rgba(124,58,237,.08),rgba(14,165,233,.06))}.ak-hero .ak-orb{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,#7c3aed,#06b6d4);color:#fff;font-size:25px;box-shadow:0 8px 24px rgba(111,63,245,.18)}.ak-hero h2{margin:0}.ak-search-full{grid-column:1/-1;display:flex;gap:9px}.ak-search-full input{flex:1;height:46px;border:1px solid #c7cbd1;border-radius:23px;padding:0 17px;background:var(--gd-panel);color:var(--gd-text)}.ak-results{display:grid}.ak-result{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px 5px;border-bottom:1px solid var(--gd-line)}.ak-result b{font-size:13px}.ak-result p{font-size:12px;line-height:1.45;color:var(--gd-muted);margin:5px 0 0}.ak-result>span{font-size:10px;color:#6f3ff5}.ak-prompt{border:1px solid var(--gd-line);text-align:left;font:inherit;color:inherit}
html[data-theme="cyber"] .ak-drawer{background:#08131f;border-left-color:#163149;box-shadow:-18px 0 55px rgba(0,240,255,.08)}html[data-theme="cyber"] .ak-logo,html[data-theme="cyber"] .ak-compose button{box-shadow:0 0 18px rgba(0,238,255,.25)}html[data-theme="cyber"] .ak-avatar{background:#10253a;color:#4ef2ff}html[data-theme="cyber"] .ak-compose textarea{border-color:#21415c;background:#07121d}
/* 0.10.1 telemetry + grid selection */
.tel-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.tel-list{display:grid;grid-template-columns:minmax(120px,.8fr) 1fr;gap:9px 14px;margin:0}.tel-list dt{color:var(--gd-muted);font-size:12px}.tel-list dd{margin:0;font-size:12px;font-weight:600;overflow-wrap:anywhere}.tel-bar{height:5px;border-radius:999px;background:var(--gd-line);overflow:hidden;margin-top:9px}.tel-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0b57d0,#6f3ff5);transition:width .25s ease}.gd-card-file{position:relative}.gd-grid-check{position:absolute;top:10px;left:10px;z-index:4;width:20px;height:20px;accent-color:#0b57d0;filter:drop-shadow(0 1px 2px rgba(0,0,0,.18))}.gd-card-file.selected{outline:2px solid #0b57d0;background:rgba(11,87,208,.06)}html[data-theme="cyber"] .gd-card-file.selected{outline-color:#4ef2ff;background:rgba(78,242,255,.07)}
@media(max-width:850px){.tel-grid{grid-template-columns:1fr}.tel-kpis{grid-template-columns:repeat(2,1fr)}}


/* ==========================================================
   Asertic Box 0.10.2 · Global UI consolidation
   ========================================================== */
:root{
 --gd-radius:14px;--gd-radius-lg:20px;--gd-control-h:38px;
 --gd-shadow-soft:0 1px 2px rgba(32,33,36,.04),0 8px 28px rgba(32,33,36,.055);
}
*{scrollbar-width:thin;scrollbar-color:#c8ccd1 transparent}
body{letter-spacing:-.005em}
.gd-main{border-radius:22px;box-shadow:var(--gd-shadow-soft)}
.gd-sidebar{border-right:1px solid var(--gd-line)}
.gd-logo{font-size:19px;letter-spacing:-.02em}
.gd-logo-mark{width:35px;height:35px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#e8f0fe,#f4f7ff);font-size:18px}
.gd-new{border:1px solid var(--gd-line);font-weight:650;box-shadow:0 1px 3px rgba(60,64,67,.08)}
.gd-nav{border-radius:10px;margin:1px 9px;padding:9px 11px;transition:background .14s ease,color .14s ease,transform .14s ease}
.gd-nav:hover{transform:translateX(1px)}
.gd-nav-icon{width:26px;text-align:center;opacity:.88}
.gd-nav-label{letter-spacing:.085em;font-size:9px;margin:18px 18px 6px}
.gd-topbar{backdrop-filter:blur(12px);border-bottom:1px solid var(--gd-line)}
.gd-search{border:1px solid transparent;transition:border .15s,box-shadow .15s,background .15s}
.gd-search:focus-within{border-color:#a8c7fa;background:var(--gd-panel);box-shadow:0 0 0 3px rgba(11,87,208,.08)}
.gd-icon-btn{transition:background .14s,transform .14s}
.gd-icon-btn:hover{transform:translateY(-1px)}
.gd-avatar{box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
.gd-titlebar{padding-top:2px}
.gd-titlebar h1{font-size:24px;letter-spacing:-.025em}
.gd-subtitle{line-height:1.5}
.gd-toolbar{gap:8px;position:sticky;top:64px;z-index:12;background:color-mix(in srgb,var(--gd-bg) 92%,transparent);backdrop-filter:blur(9px);padding:10px 0}
.gd-btn{min-height:var(--gd-control-h);border-radius:10px;font-weight:600;transition:background .14s,border .14s,box-shadow .14s,transform .14s}
.gd-btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px rgba(60,64,67,.08)}
.gd-btn.primary{box-shadow:0 2px 8px rgba(11,87,208,.16)}
.gd-btn.danger{background:#fff7f7;color:#b3261e;border-color:#f2b8b5}
.gd-panel{border:1px solid var(--gd-line);border-radius:var(--gd-radius-lg);box-shadow:0 1px 2px rgba(60,64,67,.025)}
.gd-panel h2{letter-spacing:-.015em}
.gd-kpi{border:1px solid var(--gd-line);border-radius:18px;box-shadow:0 1px 2px rgba(60,64,67,.03)}
.gd-kpi small{font-weight:600;letter-spacing:.02em}
.gd-kpi strong{letter-spacing:-.025em}
.gd-table,.gd-admin-table{border-collapse:separate;border-spacing:0}
.gd-table thead th,.gd-admin-table thead th{position:sticky;top:113px;z-index:8;background:var(--gd-panel);font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.gd-table tr.data,.gd-admin-table tbody tr{transition:background .12s}
.gd-table td,.gd-admin-table td{vertical-align:middle}
.gd-name a{font-weight:550}
.gd-version{font-weight:700}
.gd-actions{opacity:.72;transition:opacity .12s}
tr:hover .gd-actions{opacity:1}
.gd-action{border-radius:9px}
.gd-grid{grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:12px}
.gd-card-item{border-radius:16px;padding:11px;transition:transform .14s,box-shadow .14s,border .14s,background .14s}
.gd-card-item:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(60,64,67,.08)}
.gd-card-title{font-weight:650}
.gd-card-meta{line-height:1.45}
.gd-card-file .gd-grid-check{opacity:.14;transition:opacity .12s,transform .12s}
.gd-card-file:hover .gd-grid-check,.gd-card-file.selected .gd-grid-check{opacity:1;transform:scale(1.06)}
.gd-thumb-wrap,.gd-folder-preview{border:1px solid var(--gd-line)}
.gd-selection{position:sticky;top:112px;z-index:18;border-radius:13px;box-shadow:0 8px 24px rgba(60,64,67,.09)}
.gd-dialog{border:1px solid var(--gd-line);border-radius:20px;box-shadow:0 24px 80px rgba(32,33,36,.24);padding:24px}
.gd-dialog::backdrop{background:rgba(32,33,36,.32);backdrop-filter:blur(3px)}
.gd-field{gap:6px;font-weight:600;font-size:12px}
.gd-field input,.gd-field select,.gd-field textarea{min-height:40px;border-radius:10px;transition:border .12s,box-shadow .12s}
.gd-field input:focus,.gd-field select:focus,.gd-field textarea:focus{outline:none;border-color:#8ab4f8;box-shadow:0 0 0 3px rgba(11,87,208,.08)}
.gd-tabs{border-bottom:1px solid var(--gd-line);gap:3px}
.gd-tab{border-radius:9px 9px 0 0;font-weight:600}
.gd-empty{padding:70px 20px}
.gd-empty .icon{width:68px;height:68px;border-radius:22px;background:var(--gd-hover);display:grid;place-items:center;margin:0 auto 14px}
.gd-progress{height:6px}
.gd-storage{font-size:11px}
.transferHead{background:#202124}
.transfers{border:1px solid rgba(255,255,255,.08)}
.tel-grid{gap:14px}
.tel-list dt{text-transform:uppercase;letter-spacing:.055em;font-size:9px;font-weight:700}
.tel-list dd{font-size:13px}
.tel-bar{height:7px}
.ak-drawer{width:min(440px,calc(100vw - 18px))}
.ak-head{height:72px}
.ak-messages{padding:20px}
.ak-msg p{line-height:1.6}
.ak-compose textarea{min-height:54px}
.ak-result{border-radius:10px;padding:12px}
.ak-result:hover{background:var(--gd-hover)}

.gd-status-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:700;background:#e6f4ea;color:#137333}
.gd-status-chip::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.gd-status-chip.warn{background:#fef7e0;color:#b06000}
.gd-status-chip.danger{background:#fce8e6;color:#b3261e}
.gd-status-chip.neutral{background:#f1f3f4;color:#5f6368}

html[data-theme="cyber"] .gd-logo-mark{background:linear-gradient(145deg,#092739,#191235);box-shadow:0 0 20px rgba(33,212,253,.08)}
html[data-theme="cyber"] .gd-toolbar{background:rgba(5,10,18,.84)}
html[data-theme="cyber"] .gd-btn.danger{background:#351421;color:#ff9caf;border-color:#663047}
html[data-theme="cyber"] .gd-dialog::backdrop{background:rgba(0,0,0,.58)}
html[data-theme="cyber"] .gd-card-item:hover{box-shadow:0 8px 30px rgba(33,212,253,.075)}
html[data-theme="cyber"] .gd-status-chip{background:#0c3129;color:#5dffc0}
html[data-theme="cyber"] .gd-status-chip.warn{background:#33260c;color:#ffd36f}
html[data-theme="cyber"] .gd-status-chip.danger{background:#351421;color:#ff8fab}
html[data-theme="cyber"] .gd-status-chip.neutral{background:#122536;color:#91afc2}

@media(max-width:1100px){
 .gd-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
 .gd-toolbar{top:60px}
}
@media(max-width:720px){
 .gd-titlebar h1{font-size:20px}
 .gd-toolbar{position:static}
 .gd-table thead th,.gd-admin-table thead th{position:static}
 .gd-selection{top:64px}
 .gd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 0.11.0 Pro Foundation */
.gd-device-card{display:flex;flex-direction:column;gap:10px}.gd-device-identity{display:grid;gap:2px;padding:9px 10px;border-radius:10px;background:var(--gd-hover);font-size:12px}.gd-device-identity span{color:var(--gd-muted)}.gd-device-actions,.gd-row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.gd-device-actions{margin-top:auto}.gd-muted{color:var(--gd-muted)}.gd-notice-ok{background:#e6f4ea;color:#137333}.gd-notice-error{background:#fce8e6;color:#b3261e}
html[data-theme="cyber"] select{color-scheme:dark;background-color:#07101a!important;color:#dff8ff!important;border-color:#25445a!important}html[data-theme="cyber"] select option{background:#07101a!important;color:#dff8ff!important}html[data-theme="cyber"] select option:checked{background:#163b55!important;color:#fff!important}html[data-theme="cyber"] .gd-admin-table select{background:#07101a!important;color:#dff8ff!important;border-color:#25445a!important}html[data-theme="cyber"] .gd-notice-ok{background:#0c3129;color:#5dffc0}html[data-theme="cyber"] .gd-notice-error{background:#351421;color:#ff9caf}


/* ==========================================================
   Asertic Box 0.11.1 · Mobile-first responsive pass
   ========================================================== */
.gd-mobile-menu,.gd-mobile-close,.gd-mobile-backdrop{display:none}
.gd-sidebar-head{display:flex;align-items:center;justify-content:space-between}
.gd-table-wrap,.gd-admin-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
body.akane-open{overflow:hidden}

@media(max-width:900px){
 html,body{overflow-x:hidden}
 .gd-body{background:var(--gd-panel)}
 .gd-sidebar{
   position:fixed;left:0;top:0;bottom:0;width:min(310px,88vw);
   transform:translateX(-104%);transition:transform .22s ease;
   z-index:80;box-shadow:18px 0 60px rgba(32,33,36,.18);
   border-right:1px solid var(--gd-line);padding-top:10px;
 }
 body.gd-nav-open .gd-sidebar{transform:translateX(0)}
 .gd-mobile-backdrop{
   display:block;position:fixed;inset:0;background:rgba(24,26,29,.38);
   backdrop-filter:blur(2px);z-index:75;opacity:0;pointer-events:none;transition:opacity .18s ease
 }
 body.gd-nav-open .gd-mobile-backdrop{opacity:1;pointer-events:auto}
 .gd-mobile-menu{
   display:grid;place-items:center;position:fixed;left:12px;top:12px;z-index:50;
   width:42px;height:42px;border:1px solid var(--gd-line);border-radius:13px;
   background:var(--gd-panel);color:var(--gd-text);font-size:20px;box-shadow:var(--gd-shadow)
 }
 .gd-mobile-close{
   display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:12px;
   background:transparent;color:var(--gd-text);font-size:25px;cursor:pointer;margin-right:4px
 }
 .gd-sidebar-head .gd-logo{flex:1}
 .gd-new{width:calc(100% - 8px);height:48px;justify-content:flex-start;padding:0 16px;margin:6px 4px 14px}
 .gd-nav{height:44px;border-radius:12px;font-size:14px}
 .gd-app{margin-left:0;min-width:0}
 .gd-topbar{
   min-height:66px;height:auto;padding:10px 12px 10px 64px;gap:8px;
   display:grid;grid-template-columns:minmax(0,1fr) auto;
   background:color-mix(in srgb,var(--gd-bg) 94%,transparent)
 }
 .gd-search{grid-column:1/2;height:44px;min-width:0;width:100%;padding:0 13px}
 .gd-search input{font-size:14px;min-width:0}
 .gd-top-actions{grid-column:2/3;gap:4px}
 .gd-user,.gd-logout,.gd-top-actions>a[title="Dispositivos"]{display:none}
 .gd-icon-btn{width:38px;height:38px}
 .gd-main{
   margin:0;background:var(--gd-panel);border-radius:0;box-shadow:none;
   min-height:calc(100vh - 66px);padding:16px 14px 92px
 }
 .gd-titlebar{min-height:auto;margin-bottom:8px;align-items:flex-start}
 .gd-titlebar h1{font-size:22px;line-height:1.2}
 .gd-titlebar p{font-size:12px;line-height:1.45;margin-top:6px}
 .gd-toolbar{
   position:static!important;margin:8px -2px 12px;padding:4px 2px;
   overflow-x:auto;scrollbar-width:none;align-items:center;flex-wrap:nowrap
 }
 .gd-toolbar::-webkit-scrollbar{display:none}
 .gd-toolbar .gd-btn{flex:0 0 auto}
 .gd-toolbar-right{margin-left:0;display:flex;gap:7px}
 .gd-btn{min-height:42px;height:auto;padding:9px 13px;border-radius:12px}
 .gd-breadcrumb{margin:0 -2px;padding:2px;scrollbar-width:none}
 .gd-tabs{height:auto;min-height:48px;gap:4px;overflow-x:auto;white-space:nowrap;margin:2px 0 14px;scrollbar-width:none}
 .gd-tabs a{flex:0 0 auto;padding:0 12px;height:46px}
 .gd-panel{border-radius:16px;padding:15px;margin-bottom:12px;overflow:hidden}
 .gd-panel>p{line-height:1.5}
 .gd-kpis,.tel-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .gd-kpi{padding:13px;border-radius:14px}
 .gd-kpi strong{font-size:21px}
 .gd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
 .gd-card-item{min-width:0;min-height:112px;padding:11px;border-radius:14px}
 .gd-card-title{font-size:12px;overflow-wrap:anywhere}
 .gd-card-meta{font-size:10px;overflow-wrap:anywhere}
 .gd-selection{
   position:fixed!important;left:10px;right:10px;bottom:12px;top:auto!important;
   z-index:60;box-shadow:0 8px 32px rgba(32,33,36,.22);border:1px solid var(--gd-line);
   padding:9px 10px;border-radius:15px
 }
 .gd-selection .spacer{display:none}
 .gd-selection .gd-btn{padding:8px 10px;min-height:38px}
 .gd-table,.gd-admin-table{display:block;overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}
 .gd-table thead,.gd-admin-table thead{position:static}
 .gd-table th,.gd-table td,.gd-admin-table th,.gd-admin-table td{white-space:nowrap}
 .gd-table .gd-name{min-width:210px}
 .gd-actions{opacity:1}
 .gd-admin-table input,.gd-admin-table select{max-width:none;min-width:120px}
 .gd-form-grid{grid-template-columns:1fr;gap:11px}
 .gd-form-actions{grid-column:1;position:sticky;bottom:0;background:var(--gd-panel);padding-top:8px;flex-wrap:wrap}
 .gd-field input,.gd-field select,.gd-field textarea{font-size:16px;min-height:46px}
 .gd-dialog{
   width:calc(100vw - 16px);max-width:none;min-width:0;margin:auto 8px 8px;
   border-radius:20px 20px 12px 12px;max-height:86dvh;overflow:auto
 }
 .gd-dialog form{padding:18px 15px}
 .gd-preview-layout{grid-template-columns:1fr}
 .gd-preview{min-height:44vh;border-radius:14px}
 .gd-preview img,.gd-preview video,.gd-preview iframe{height:52vh}
 .gd-event{grid-template-columns:32px minmax(0,1fr);gap:9px}
 .gd-event time{grid-column:2}
 .tel-grid{grid-template-columns:1fr}
 .tel-list{grid-template-columns:1fr;gap:3px}
 .tel-list dd{margin-bottom:8px}
 .gd-device-actions,.gd-row-actions{gap:6px}
 .gd-device-actions .gd-btn,.gd-row-actions .gd-btn{flex:1 1 auto;justify-content:center}
 .gd-empty{padding:50px 12px}
 .gd-empty .icon{width:60px;height:60px;font-size:34px}
 .ak-workspace{display:block}
 .ak-hero{grid-template-columns:auto minmax(0,1fr);gap:12px}
 .ak-search-full{display:grid;grid-template-columns:1fr}
 .ak-search-full input{width:100%;font-size:16px}
 .ak-search-full .gd-btn{justify-content:center}
 .ak-prompt{min-height:96px}
 .ak-drawer{
   top:auto!important;left:0;right:0;bottom:0;width:100%!important;height:min(88dvh,760px);
   border-left:0;border-top:1px solid var(--gd-line);border-radius:22px 22px 0 0;
   transform:translateY(105%);box-shadow:0 -20px 60px rgba(32,33,36,.18)
 }
 .ak-drawer.open{transform:translateY(0)}
 .ak-head{height:64px;padding:10px 14px}
 .ak-messages{padding:14px 12px}
 .ak-msg{grid-template-columns:30px minmax(0,1fr);gap:8px}
 .ak-msg p{font-size:13px;line-height:1.55}
 .ak-sources{padding:8px 12px}
 .ak-compose{padding:10px 10px calc(10px + env(safe-area-inset-bottom))}
 .ak-compose textarea{font-size:16px;min-height:48px;max-height:120px}
}

@media(max-width:520px){
 .gd-topbar{grid-template-columns:minmax(0,1fr) auto;padding-left:58px}
 .gd-top-actions .gd-theme-btn{display:none}
 .gd-search span{display:none}
 .gd-grid{grid-template-columns:1fr}
 .gd-kpis,.tel-kpis{grid-template-columns:1fr 1fr}
 .gd-kpi strong{font-size:19px}
 .gd-titlebar h1{font-size:20px}
 .gd-panel{padding:13px}
 .gd-btn{font-size:12px}
 .gd-selection{overflow-x:auto}
 .gd-device-identity{padding:8px}
 .ak-orb{width:46px;height:46px}
 .ak-hero h2{font-size:17px}
 .ak-hero p{font-size:12px}
}

@media(max-width:380px){
 .gd-kpis,.tel-kpis{grid-template-columns:1fr}
 .gd-top-actions .ak-top-btn{display:none}
}


/* ==========================================================
   Asertic Box 1.0.0 · real phone layout correction
   Must remain LAST: overrides legacy max-width:760 desktop-collapse rules.
   ========================================================== */
@media(max-width:900px){
  /* Mobile drawer must preserve its labels, never enter old collapsed-sidebar mode */
  .gd-sidebar{width:min(320px,88vw)!important;padding:12px 10px 18px!important}
  .gd-sidebar .gd-logo{justify-content:flex-start!important;padding:0 8px!important}
  .gd-sidebar .gd-logo span:last-child{
    display:inline!important;font-size:18px!important;white-space:nowrap!important
  }
  .gd-sidebar .gd-new{
    width:auto!important;height:48px!important;border-radius:14px!important;
    justify-content:flex-start!important;font-size:14px!important;padding:0 16px!important
  }
  .gd-sidebar .gd-new span{font-size:22px!important}
  .gd-sidebar .gd-nav{
    padding:0 13px!important;justify-content:flex-start!important;gap:12px!important;
    height:44px!important;margin:1px 3px!important;border-radius:12px!important
  }
  .gd-sidebar .gd-nav span:last-child{
    display:inline!important;font-size:14px!important;white-space:nowrap!important
  }
  .gd-sidebar .gd-nav-label{
    display:block!important;font-size:9px!important;padding:18px 12px 7px!important;
    margin:0!important;letter-spacing:.08em!important
  }
  .gd-sidebar .gd-storage{
    display:block!important;margin:16px 7px 4px!important
  }

  /* Toolbar: intentional two-column touch layout instead of a clipped desktop ribbon */
  .gd-toolbar{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;overflow:visible!important;margin:10px 0 14px!important
  }
  .gd-toolbar>.gd-btn,.gd-toolbar>form>.gd-btn{
    width:100%!important;justify-content:center!important;white-space:nowrap!important
  }
  .gd-toolbar>form{display:contents}
  .gd-toolbar-right{
    grid-column:1/-1!important;display:flex!important;justify-content:flex-end!important;
    gap:7px!important;margin:0!important
  }
  .gd-toolbar-right>span{margin-right:auto!important}
  .gd-toolbar-right .gd-btn{width:40px!important;min-width:40px!important;padding:0!important}

  /* Cards: no giant white slabs on phones */
  .gd-grid{grid-template-columns:1fr!important;gap:8px!important}
  .gd-card-item.gd-card-file{
    min-height:0!important;height:auto!important;padding:9px!important;
    border-radius:13px!important;display:block!important
  }
  .gd-card-file-link{
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:11px!important;row-gap:3px!important;
    align-items:center!important;text-decoration:none!important;min-width:0!important
  }
  .gd-thumb-wrap,.gd-folder-preview{
    grid-column:1!important;grid-row:1/3!important;
    width:78px!important;height:62px!important;min-height:62px!important;
    margin:0!important;border-radius:9px!important
  }
  .gd-folder-preview{font-size:31px!important}
  .gd-card-title{
    grid-column:2!important;grid-row:1!important;
    align-self:end!important;min-width:0!important;font-size:13px!important;
    padding-right:4px!important
  }
  .gd-card-title span{
    white-space:normal!important;display:-webkit-box!important;
    -webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
    overflow:hidden!important;line-height:1.25!important
  }
  .gd-card-meta{
    grid-column:2!important;grid-row:2!important;
    align-self:start!important;margin:0!important;font-size:10px!important;
    line-height:1.25!important
  }
  .gd-grid-check{
    top:7px!important;left:7px!important;width:19px!important;height:19px!important;
    opacity:.9!important
  }

  /* Title area has less dead space */
  .gd-titlebar{margin:0 0 8px!important}
  .gd-titlebar h1{margin-bottom:3px!important}
  .gd-breadcrumb{min-height:34px!important;padding:4px 2px!important}

  /* Topbar */
  .gd-topbar{padding-right:10px!important}
  .gd-search{height:42px!important}
  .gd-avatar{width:34px!important;height:34px!important}
}

@media(max-width:520px){
  .gd-main{padding:12px 9px 88px!important}
  .gd-topbar{padding-left:56px!important;padding-top:8px!important;padding-bottom:8px!important}
  .gd-mobile-menu{left:7px!important;top:7px!important}
  .gd-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .gd-toolbar .gd-btn{font-size:11px!important;padding:8px 7px!important;min-height:40px!important}
  .gd-titlebar h1{font-size:19px!important}
  .gd-card-file-link{grid-template-columns:72px minmax(0,1fr)!important}
  .gd-thumb-wrap,.gd-folder-preview{width:72px!important;height:58px!important;min-height:58px!important}
  .gd-panel{border-radius:14px!important}
}

/* Improve menu in Cyber mode too */
html[data-theme="cyber"] .gd-mobile-menu,
html[data-theme="cyber"] .gd-mobile-close{
  color:#dff8ff;
}


/* ==========================================================
   Asertic Box 1.0.0 · Premium UI refresh (Drive / Dropbox / Linear inspired)
   ========================================================== */
:root{
  --ab-font:'Inter','Geist','Segoe UI',Roboto,Arial,sans-serif;
  --gd-bg:#f6f8fc;
  --gd-panel:#ffffff;
  --gd-text:#111827;
  --gd-muted:#667085;
  --gd-line:#e5e7eb;
  --gd-blue:#2563eb;
  --gd-blue-soft:#eaf1ff;
  --gd-hover:#f2f5fb;
  --gd-violet:#7c3aed;
  --gd-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 30px rgba(16,24,40,.06);
}
html,body{font-family:var(--ab-font)!important}
body{background:linear-gradient(180deg,#f7f9fd 0%,#f5f7fb 100%)}
.gd-sidebar{
  width:292px!important;padding:18px 14px 18px!important;background:rgba(255,255,255,.82)!important;
  backdrop-filter:blur(10px);border-right:1px solid rgba(15,23,42,.06)
}
.gd-app{margin-left:292px!important}
.gd-logo{height:54px!important;font-size:18px!important;font-weight:700!important;color:#0f172a!important}
.gd-logo-mark{
  width:40px!important;height:40px!important;border-radius:14px!important;
  background:linear-gradient(135deg,var(--gd-blue),var(--gd-violet))!important;
  color:#fff!important;box-shadow:0 8px 22px rgba(79,70,229,.18)
}
.gd-new{
  width:calc(100% - 6px)!important;height:50px!important;margin:10px 3px 18px!important;
  border-radius:14px!important;background:#fff!important;border:1px solid var(--gd-line)!important;
  justify-content:flex-start!important;padding:0 16px!important;font-size:14px!important
}
.gd-new span{font-size:24px!important}
.gd-nav{
  height:44px!important;font-size:15px!important;border-radius:12px!important;
  gap:12px!important;padding:0 14px!important;margin:3px 4px!important;color:#344054!important
}
.gd-nav-icon{width:24px!important;font-size:16px!important}
.gd-nav.active{
  background:linear-gradient(180deg,#eef4ff 0%,#e9f0ff 100%)!important;
  color:#1447d7!important;box-shadow:inset 0 0 0 1px rgba(37,99,235,.08)
}
.gd-nav:hover{background:var(--gd-hover)!important}
.gd-nav-label{font-size:10px!important;color:#98a2b3!important;padding:20px 16px 8px!important}
.gd-storage{
  margin-top:18px!important;padding:16px!important;border:1px solid var(--gd-line)!important;
  border-radius:16px!important;background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important
}
.gd-progress{height:8px!important;background:#e8eef8!important}
.gd-progress i{background:linear-gradient(90deg,var(--gd-blue),var(--gd-violet))!important}
.gd-topbar{
  height:84px!important;padding:14px 24px 14px 18px!important;background:rgba(246,248,252,.72)!important;
  backdrop-filter:blur(12px)!important;border-bottom:1px solid rgba(15,23,42,.06)!important
}
.gd-search{
  height:56px!important;border-radius:18px!important;background:#fff!important;border:1px solid var(--gd-line)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.02)!important;max-width:820px!important;padding:0 18px!important
}
.gd-search input{font-size:18px!important;color:#344054!important}
.gd-search span{font-size:24px!important;color:#667085!important}
.gd-icon-btn{width:44px!important;height:44px!important;border-radius:14px!important;border:1px solid transparent}
.gd-icon-btn:hover{background:#fff!important;border-color:var(--gd-line)!important}
.gd-avatar{width:42px!important;height:42px!important;font-size:16px!important}
.gd-user{font-size:13px!important}
.gd-logout{padding:10px 12px!important;border-radius:12px!important}
.gd-main{
  margin:18px 20px 20px 0!important;padding:28px 28px 34px!important;background:rgba(255,255,255,.88)!important;
  border-radius:22px!important;border:1px solid rgba(15,23,42,.05)!important;box-shadow:var(--gd-shadow)!important;
  min-height:calc(100vh - 118px)!important
}
.gd-titlebar h1{font-size:48px!important;line-height:1.06!important;font-weight:800!important;letter-spacing:-.045em!important;color:#0f172a!important}
.gd-subtitle,.gd-titlebar p{font-size:17px!important;line-height:1.55!important;color:#667085!important;margin-top:10px!important}
.gd-breadcrumb{min-height:42px!important;font-size:15px!important;margin-top:2px!important}
.gd-toolbar{
  margin:18px 0 18px!important;gap:10px!important;padding:12px 0!important;top:72px!important
}
.gd-btn{
  height:46px!important;min-height:46px!important;border-radius:12px!important;font-size:15px!important;
  padding:0 18px!important;border:1px solid #d6dae1!important;background:#fff!important;color:#1f2937!important
}
.gd-btn.primary{
  background:linear-gradient(135deg,#2563eb 0%,#3b82f6 55%,#6366f1 100%)!important;
  border-color:#2563eb!important;color:#fff!important;box-shadow:0 10px 24px rgba(37,99,235,.16)!important
}
.gd-table{margin-top:10px!important;border:1px solid var(--gd-line)!important;border-radius:16px!important;overflow:hidden!important}
.gd-table thead th{
  height:52px!important;font-size:12px!important;letter-spacing:.02em!important;background:#fbfcfe!important;
  color:#667085!important
}
.gd-table td{
  height:62px!important;font-size:15px!important;border-bottom:1px solid #eef2f6!important
}
.gd-name{gap:12px!important}
.gd-name a{font-size:15px!important;font-weight:600!important}
.gd-fileicon{font-size:22px!important}
.gd-grid{gap:14px!important;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))!important}
.gd-card-item{
  border-radius:16px!important;background:#fff!important;border:1px solid var(--gd-line)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.03)!important
}
.gd-card-title{font-size:15px!important}
.gd-card-meta{font-size:12px!important}
.gd-panel{
  border-radius:18px!important;padding:22px!important;background:#fff!important;box-shadow:0 1px 2px rgba(16,24,40,.03)!important
}
.gd-panel h2{font-size:22px!important;font-weight:700!important;color:#0f172a!important}
.gd-field{font-size:13px!important}
.gd-field input,.gd-field select,.gd-field textarea{
  min-height:46px!important;border-radius:12px!important;padding:12px 14px!important;border:1px solid #d7dde5!important
}
.gd-kpi{padding:18px!important;border-radius:18px!important}
.gd-kpi strong{font-size:32px!important}
.gd-admin-table th,.gd-admin-table td{padding:14px 12px!important;font-size:14px!important}
.gd-tabs a{font-size:15px!important}

/* Akane drawer refined */
.ak-drawer{
  width:min(520px,calc(100vw - 20px))!important;background:rgba(255,255,255,.95)!important;
  border-left:1px solid rgba(15,23,42,.06)!important;box-shadow:-20px 0 50px rgba(15,23,42,.12)!important
}
.ak-head{
  height:88px!important;padding:0 24px!important;border-bottom:1px solid var(--gd-line)!important
}
.ak-head .ak-logo{
  width:40px;height:40px;border-radius:14px;display:inline-grid;place-items:center;
  background:linear-gradient(135deg,#8b5cf6,#06b6d4);color:#fff;margin-right:12px
}
.ak-head b{font-size:21px!important}
.ak-head small{font-size:14px!important;color:#667085!important}
.ak-head button{font-size:30px!important;color:#667085!important}
.ak-messages{padding:24px!important}
.ak-msg{
  display:grid!important;grid-template-columns:40px 1fr!important;gap:14px!important;margin-bottom:26px!important
}
.ak-avatar{
  width:40px!important;height:40px!important;border-radius:50%!important;font-size:16px!important
}
.ak-msg b{display:block!important;font-size:17px!important;margin-bottom:8px!important}
.ak-msg p{
  font-size:16px!important;line-height:1.7!important;margin:0!important;color:#111827!important
}
.ak-msg.assistant p,.ak-msg.user p{
  background:#f4f7fd!important;border:1px solid #e7edf6!important;border-radius:16px!important;padding:16px 18px!important
}
.ak-msg.user .ak-avatar{background:#dbeafe!important;color:#1d4ed8!important}
.ak-msg.assistant .ak-avatar{background:linear-gradient(135deg,#8b5cf6,#06b6d4)!important;color:#fff!important}
.ak-sources{
  padding:0 24px 14px!important;display:grid!important;gap:8px!important
}
.ak-sources small{font-size:11px!important;letter-spacing:.08em!important;color:#98a2b3!important}
.ak-sources a{
  display:flex!important;align-items:center!important;gap:10px!important;padding:12px 14px!important;
  border-radius:12px!important;background:#f8fbff!important;border:1px solid #e6edf8!important;font-size:14px!important
}
.ak-compose{
  border-top:1px solid var(--gd-line)!important;padding:16px 18px 18px!important;background:rgba(255,255,255,.88)!important
}
.ak-compose textarea{
  min-height:70px!important;border-radius:16px!important;border:1px solid #d7dde5!important;padding:14px 16px!important;
  font-size:16px!important;background:#fff!important
}
.ak-compose div{display:flex!important;align-items:center!important;justify-content:space-between!important;margin-top:10px!important}
.ak-compose button{
  width:44px!important;height:44px!important;border-radius:14px!important;border:0!important;color:#fff!important;
  background:linear-gradient(135deg,var(--gd-blue),var(--gd-violet))!important
}
#akaneState{font-size:13px!important;color:#667085!important}

/* Dark mode */
html[data-theme="cyber"]{
  --gd-bg:#07111c;
  --gd-panel:#0d1826;
  --gd-text:#eef2ff;
  --gd-muted:#9fb0c5;
  --gd-line:#213247;
  --gd-hover:#122032;
  --gd-blue:#3b82f6;
  --gd-blue-soft:#142744;
  --gd-shadow:0 1px 2px rgba(0,0,0,.3),0 14px 44px rgba(0,0,0,.36);
}
html[data-theme="cyber"] body{
  background:
    radial-gradient(circle at 20% 0%,rgba(59,130,246,.12),transparent 36%),
    radial-gradient(circle at 100% 0%,rgba(124,58,237,.09),transparent 30%),
    linear-gradient(180deg,#06101a 0%,#091522 100%);
}
html[data-theme="cyber"] .gd-sidebar,
html[data-theme="cyber"] .gd-main,
html[data-theme="cyber"] .ak-drawer,
html[data-theme="cyber"] .gd-panel,
html[data-theme="cyber"] .gd-storage,
html[data-theme="cyber"] .gd-card-item{background:rgba(10,20,31,.82)!important}
html[data-theme="cyber"] .gd-sidebar{border-right-color:#193149!important}
html[data-theme="cyber"] .gd-main{border-color:#193149!important}
html[data-theme="cyber"] .gd-titlebar h1{color:#f8fbff!important}
html[data-theme="cyber"] .gd-logo{color:#f8fbff!important}
html[data-theme="cyber"] .gd-new,
html[data-theme="cyber"] .gd-btn,
html[data-theme="cyber"] .gd-search,
html[data-theme="cyber"] .gd-field input,
html[data-theme="cyber"] .gd-field select,
html[data-theme="cyber"] .gd-field textarea,
html[data-theme="cyber"] .ak-compose textarea{
  background:#0f1a28!important;border-color:#24394f!important;color:#eef2ff!important
}
html[data-theme="cyber"] .gd-topbar{background:rgba(7,17,28,.7)!important;border-bottom-color:#183047!important}
html[data-theme="cyber"] .gd-table thead th{background:#0d1826!important;color:#9fb0c5!important}
html[data-theme="cyber"] .gd-table td{border-bottom-color:#183047!important}
html[data-theme="cyber"] .gd-nav{color:#d3def0!important}
html[data-theme="cyber"] .gd-nav.active{
  background:linear-gradient(180deg,#10243d 0%,#0f2945 100%)!important;color:#8cc3ff!important;
  box-shadow:inset 0 0 0 1px rgba(59,130,246,.2)
}
html[data-theme="cyber"] .gd-nav:hover{background:#112134!important}
html[data-theme="cyber"] .gd-storage{border-color:#213247!important}
html[data-theme="cyber"] .gd-search input,
html[data-theme="cyber"] .gd-subtitle,
html[data-theme="cyber"] .gd-titlebar p,
html[data-theme="cyber"] .gd-user small,
html[data-theme="cyber"] #akaneState{color:#9fb0c5!important}
html[data-theme="cyber"] .ak-msg p{
  background:#101d2e!important;border-color:#22364b!important;color:#eff6ff!important
}
html[data-theme="cyber"] .ak-sources a{background:#0f1a29!important;border-color:#213247!important;color:#e5efff!important}

/* Responsive after upscale */
@media (max-width: 1100px){
  .gd-sidebar{width:270px!important}
  .gd-app{margin-left:270px!important}
  .gd-titlebar h1{font-size:40px!important}
  .gd-search{max-width:none!important}
}
@media (max-width: 900px){
  .gd-sidebar{width:min(340px,90vw)!important}
  .gd-topbar{padding:12px 14px 12px 64px!important;height:auto!important}
  .gd-search{height:52px!important}
  .gd-main{margin:12px!important;padding:22px 18px 28px!important}
  .gd-titlebar h1{font-size:34px!important}
  .gd-toolbar{top:auto!important}
  .ak-drawer{width:min(100vw,560px)!important}
}
@media (max-width: 640px){
  .gd-main{margin:10px!important;padding:18px 14px 24px!important}
  .gd-titlebar h1{font-size:30px!important}
  .gd-subtitle,.gd-titlebar p{font-size:15px!important}
  .gd-top-actions{gap:8px!important}
  .gd-user,.gd-logout{display:none!important}
  .gd-table th{height:46px!important;font-size:11px!important}
  .gd-table td{height:58px!important;font-size:14px!important}
}


/* ==========================================================
   Asertic Box 1.0.0 · Premium UI 2.0
   Stronger scale, docked Akane and desktop composition.
   ========================================================== */
:root{
 --ab-sidebar:310px;
 --ab-akane:470px;
 --ab-radius:14px;
 --ab-font-size:16px;
}
html{font-size:16px}
body{font-size:var(--ab-font-size)!important}
.gd-sidebar{
 width:var(--ab-sidebar)!important;
 padding:20px 16px 20px!important;
}
.gd-app{
 margin-left:var(--ab-sidebar)!important;
 transition:margin-right .24s ease,width .24s ease!important;
}
.gd-logo{
 height:60px!important;
 font-size:22px!important;
 gap:12px!important;
}
.gd-logo-mark{width:44px!important;height:44px!important;font-size:21px!important}
.gd-new{
 height:54px!important;
 font-size:16px!important;
 border-radius:14px!important;
 margin:12px 4px 20px!important;
}
.gd-nav{
 height:48px!important;
 font-size:16px!important;
 border-radius:12px!important;
 gap:14px!important;
}
.gd-nav-icon{font-size:18px!important;width:26px!important}
.gd-nav-label{font-size:11px!important;margin-top:8px!important}
.gd-storage{font-size:13px!important}
.gd-topbar{
 height:88px!important;
 padding:16px 24px 16px 22px!important;
}
.gd-search{
 height:58px!important;
 border-radius:16px!important;
 max-width:900px!important;
}
.gd-search input{font-size:17px!important}
.gd-icon-btn{width:46px!important;height:46px!important}
.gd-avatar{width:44px!important;height:44px!important}
.gd-user{font-size:14px!important;line-height:1.35!important}
.gd-user small{font-size:12px!important}
.gd-main{
 margin:18px 22px 22px 0!important;
 padding:32px 34px 40px!important;
 border-radius:22px!important;
 min-height:calc(100vh - 128px)!important;
}
.gd-titlebar{min-height:80px!important}
.gd-titlebar h1{
 font-size:44px!important;
 font-weight:750!important;
 letter-spacing:-.045em!important;
}
.gd-subtitle,.gd-titlebar p{font-size:17px!important;max-width:760px!important}
.gd-breadcrumb{font-size:16px!important;min-height:44px!important}
.gd-toolbar{
 min-height:58px!important;
 gap:10px!important;
 margin:16px 0 18px!important;
}
.gd-btn{
 height:48px!important;
 min-height:48px!important;
 font-size:16px!important;
 padding:0 18px!important;
 border-radius:12px!important;
}
.gd-table th{
 height:54px!important;
 font-size:12px!important;
 padding:0 16px!important;
}
.gd-table td{
 height:64px!important;
 font-size:16px!important;
 padding:0 16px!important;
}
.gd-name{min-width:300px!important;gap:13px!important}
.gd-name a{font-size:16px!important;font-weight:600!important}
.gd-fileicon{font-size:24px!important;width:28px!important}
.gd-version{font-size:11px!important;padding:3px 7px!important}
.gd-action{width:38px!important;height:38px!important;font-size:16px!important}
.gd-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important}
.gd-card-item{padding:15px!important}
.gd-card-title{font-size:16px!important}
.gd-card-meta{font-size:13px!important}
.gd-panel{padding:24px!important}
.gd-panel h2{font-size:23px!important}
.gd-panel>p{font-size:15px!important}
.gd-tabs{height:54px!important}
.gd-tabs a{height:54px!important;font-size:16px!important}
.gd-admin-table th{font-size:12px!important}
.gd-admin-table td{font-size:15px!important;padding:15px 12px!important}
.gd-field{font-size:14px!important}
.gd-field input,.gd-field select,.gd-field textarea{font-size:16px!important}

/* Desktop Akane is a dock, not an overlay */
@media(min-width:1181px){
 body.akane-open .gd-app{margin-right:calc(var(--ab-akane) + 18px)!important}
 body.akane-open .gd-main{margin-right:0!important}
 body.akane-open .gd-table th:nth-child(3),
 body.akane-open .gd-table td:nth-child(3){display:none}
 .ak-backdrop{display:none!important}
 .ak-drawer{
   top:18px!important;
   right:18px!important;
   bottom:18px!important;
   height:auto!important;
   width:var(--ab-akane)!important;
   border:1px solid var(--gd-line)!important;
   border-radius:20px!important;
   transform:translateX(calc(100% + 30px))!important;
   transition:transform .24s ease!important;
   overflow:hidden!important;
   z-index:60!important;
 }
 .ak-drawer.open{transform:translateX(0)!important}
}

/* Akane visual scale */
.ak-head{
 height:92px!important;
 padding:0 24px!important;
}
.ak-head>div{
 grid-template-columns:48px 1fr!important;
 column-gap:12px!important;
}
.ak-head .ak-logo{
 width:48px!important;height:48px!important;border-radius:15px!important;
 font-size:21px!important;
}
.ak-head b{font-size:22px!important;line-height:1.1!important}
.ak-head small{font-size:13px!important;margin-top:4px!important}
.ak-messages{padding:24px 24px 18px!important;gap:20px!important}
.ak-msg{
 grid-template-columns:42px minmax(0,1fr)!important;
 gap:14px!important;
}
.ak-avatar{
 width:42px!important;height:42px!important;font-size:17px!important;
}
.ak-msg b{font-size:17px!important;margin-top:3px!important}
.ak-msg p{
 font-size:16px!important;
 line-height:1.65!important;
 margin-top:8px!important;
 padding:15px 17px!important;
 border-radius:14px!important;
}
.ak-msg.error p{
 background:#fff4f4!important;
 border:1px solid #fecaca!important;
 color:#991b1b!important;
}
.ak-sources{padding:12px 24px 16px!important}
.ak-sources a{font-size:14px!important;padding:11px 12px!important;border-radius:11px!important}
.ak-compose{
 padding:16px 18px 18px!important;
}
.ak-compose textarea{
 min-height:76px!important;
 font-size:16px!important;
 line-height:1.5!important;
 padding:15px 16px!important;
 border-radius:15px!important;
}
.ak-compose button{width:46px!important;height:46px!important;border-radius:13px!important;font-size:18px!important}
#akaneState{font-size:13px!important}

/* Premium surface details */
.gd-table{
 box-shadow:0 1px 2px rgba(15,23,42,.025)!important;
}
.gd-table tr.data{transition:background .12s ease,transform .12s ease!important}
.gd-table tr.data:hover{background:#f8faff!important}
.gd-btn:not(.primary):hover{background:#f8fafc!important;border-color:#c7d0dc!important}
.gd-icon-btn.ak-top-btn{
 background:linear-gradient(135deg,#eef2ff,#eef7ff)!important;
 color:#6d4aff!important;
 border-color:#e0e7ff!important;
}

/* Dark premium parity */
html[data-theme="cyber"] .ak-msg.error p{
 background:#2c1218!important;
 border-color:#6b2632!important;
 color:#ffb4c0!important;
}
html[data-theme="cyber"] .gd-table tr.data:hover{background:#101f30!important}
html[data-theme="cyber"] .gd-btn:not(.primary):hover{background:#142437!important;border-color:#31506b!important}
html[data-theme="cyber"] .gd-icon-btn.ak-top-btn{
 background:linear-gradient(135deg,#16233f,#132d3a)!important;
 color:#a9b7ff!important;
 border-color:#293d5f!important;
}

/* Large desktop keeps premium density without becoming tiny */
@media(min-width:1600px){
 .gd-titlebar h1{font-size:48px!important}
 .gd-main{padding-left:38px!important;padding-right:38px!important}
 .gd-table td{font-size:16.5px!important}
}

/* Tablet/mobile keeps the dock as overlay/bottom sheet and sane scale */
@media(max-width:1180px){
 .gd-app{margin-left:270px!important}
 .gd-sidebar{width:270px!important}
 .gd-titlebar h1{font-size:38px!important}
 .gd-table td{font-size:15px!important}
}
@media(max-width:900px){
 .gd-app{margin-left:0!important}
 .gd-sidebar{width:min(340px,90vw)!important}
 .gd-titlebar h1{font-size:32px!important}
 .gd-main{padding:22px 18px 28px!important}
 .gd-btn{font-size:14px!important}
 .ak-drawer{
   top:auto!important;right:0!important;bottom:0!important;left:0!important;
   width:100%!important;height:min(88dvh,820px)!important;
   border-radius:22px 22px 0 0!important;
   transform:translateY(105%)!important;
 }
 .ak-drawer.open{transform:translateY(0)!important}
 .ak-backdrop.open{display:block!important}
}


/* ==========================================================
   ASERTIC BOX PRO 1.0 · Product Design System
   ========================================================== */
:root{
 --ab-blue:#2563eb;
 --ab-blue-2:#1689ff;
 --ab-violet:#7c3aed;
 --ab-cyan:#06b6d4;
 --ab-ink:#0b1531;
 --ab-text:#1d2939;
 --ab-muted:#667085;
 --ab-line:#e5eaf2;
 --ab-soft:#f7f9fc;
 --ab-soft-blue:#eef4ff;
 --ab-panel:#ffffff;
 --ab-sidebar:286px;
 --ab-akane:438px;
 --ab-radius:14px;
 --ab-shadow:0 1px 2px rgba(16,24,40,.03),0 10px 28px rgba(16,24,40,.045);
}

html,body{font-family:'Inter','Geist','Segoe UI',sans-serif!important}
body{
 background:#f5f7fb!important;
 color:var(--ab-text)!important;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility
}
[hidden]{display:none!important}

/* Brand */
.gd-sidebar{
 width:var(--ab-sidebar)!important;
 background:#fff!important;
 border-right:1px solid #e9edf4!important;
 padding:18px 15px 18px!important;
 box-shadow:none!important
}
.gd-app{margin-left:var(--ab-sidebar)!important}
.gd-sidebar-head{height:54px!important}
.gd-logo{
 height:52px!important;padding:0 8px!important;gap:10px!important;
 font-size:20px!important;color:var(--ab-ink)!important
}
.gd-brand-mark{width:42px;height:34px;display:block;object-fit:contain}
.gd-brand-name{display:inline-flex;gap:4px;align-items:baseline;white-space:nowrap}
.gd-brand-name b{font-weight:800}
.gd-brand-name strong{font-weight:800;color:var(--ab-blue)}
.gd-pro-badge{
 display:inline-flex;align-items:center;height:23px;padding:0 8px;border-radius:8px;
 background:#eef3ff;border:1px solid #dbe5ff;color:#364152;font-size:11px;font-weight:700
}
.gd-new{
 height:48px!important;width:calc(100% - 8px)!important;margin:10px 4px 16px!important;
 background:linear-gradient(135deg,#1f6fff,#3b82f6)!important;color:#fff!important;
 border:0!important;box-shadow:0 7px 16px rgba(37,99,235,.18)!important;
 border-radius:11px!important;font-size:14px!important;justify-content:flex-start!important
}
.gd-new:hover{background:linear-gradient(135deg,#155fe7,#2877ef)!important}
.gd-new span{font-size:20px!important}
.gd-nav-group{gap:3px!important}
.gd-nav{
 height:43px!important;margin:0 2px!important;padding:0 12px!important;border-radius:10px!important;
 font-size:14px!important;font-weight:500!important;color:#475467!important;gap:11px!important
}
.gd-nav:hover{background:#f5f7fb!important;transform:none!important}
.gd-nav.active{
 background:#eaf2ff!important;color:#1454d8!important;box-shadow:inset 0 0 0 1px #d9e7ff!important
}
.gd-nav-icon{
 width:22px!important;height:22px!important;display:grid!important;place-items:center!important;
 color:#667085!important;opacity:1!important
}
.gd-nav.active .gd-nav-icon{color:#2563eb!important}
.gd-nav-icon svg{width:18px;height:18px;fill:currentColor}
.gd-nav-label{
 margin:17px 10px 6px!important;padding:0!important;font-size:9px!important;
 color:#98a2b3!important;letter-spacing:.11em!important
}
.gd-storage{
 margin-top:auto!important;padding:14px!important;border-radius:13px!important;
 background:#fbfcfe!important;border:1px solid #e9edf4!important;font-size:11px!important
}
.gd-storage-title{font-size:11px!important}
.gd-progress{height:6px!important;background:#e7edf6!important}
.gd-progress i{background:linear-gradient(90deg,#1689ff,#2563eb,#7c3aed)!important}

/* Topbar */
.gd-topbar{
 height:72px!important;background:#f7f9fc!important;border-bottom:1px solid #edf0f5!important;
 padding:10px 20px 10px 16px!important;gap:16px!important;backdrop-filter:none!important
}
.gd-search{
 height:48px!important;max-width:760px!important;background:#fff!important;border:1px solid #e3e8f0!important;
 border-radius:13px!important;box-shadow:0 1px 2px rgba(16,24,40,.02)!important
}
.gd-search:focus-within{border-color:#a9c7ff!important;box-shadow:0 0 0 3px rgba(37,99,235,.08)!important}
.gd-search span{font-size:21px!important;color:#8491a5!important}
.gd-search input{font-size:14px!important;color:#344054!important}
.gd-icon-btn{
 width:40px!important;height:40px!important;border-radius:12px!important;color:#344054!important;
 background:transparent!important;border:1px solid transparent!important
}
.gd-icon-btn:hover{background:#fff!important;border-color:#e3e8f0!important;transform:none!important}
.gd-icon-btn.ak-top-btn{
 background:#f1efff!important;border-color:#ebe7ff!important;color:#6d3df2!important
}
.gd-spark{font-size:18px;line-height:1}
.gd-avatar{width:36px!important;height:36px!important;background:#6e49f6!important;font-size:13px!important}
.gd-user{font-size:12px!important}
.gd-user b{font-size:12px!important;color:#101828}
.gd-user small{font-size:10px!important;color:#98a2b3!important}
.gd-logout{font-size:12px!important}

/* Main content */
.gd-main{
 margin:0 14px 16px 0!important;background:#fff!important;border-radius:0 0 14px 14px!important;
 min-height:calc(100vh - 88px)!important;padding:24px 24px 36px!important;
 box-shadow:none!important;border:0!important
}
.gd-titlebar{min-height:56px!important;margin:0!important}
.gd-titlebar h1{
 margin:0!important;font-size:32px!important;line-height:1.15!important;font-weight:800!important;
 letter-spacing:-.035em!important;color:#0d1733!important
}
.gd-titlebar p,.gd-subtitle{
 margin:6px 0 0!important;font-size:13px!important;line-height:1.5!important;color:#667085!important
}
.gd-breadcrumb{min-height:34px!important;font-size:13px!important;color:#667085!important}
.gd-toolbar{
 position:static!important;min-height:52px!important;margin:10px -24px 14px!important;padding:10px 24px!important;
 background:#f8fafc!important;border-top:1px solid #f0f3f7!important;border-bottom:1px solid #edf1f5!important;
 backdrop-filter:none!important;gap:8px!important
}
.gd-btn{
 height:38px!important;min-height:38px!important;padding:0 13px!important;border-radius:9px!important;
 font-size:12px!important;font-weight:650!important;border:1px solid #d7dee8!important;background:#fff!important;
 box-shadow:0 1px 1px rgba(16,24,40,.02)!important;transform:none!important
}
.gd-btn:hover{background:#f8fafc!important;border-color:#cbd5e1!important;box-shadow:none!important}
.gd-btn.primary{
 background:linear-gradient(135deg,#176bff,#2f80ff)!important;color:#fff!important;border-color:#176bff!important;
 box-shadow:0 4px 10px rgba(37,99,235,.14)!important
}
.gd-btn-caret{font-size:13px;opacity:.85;margin-left:2px}
.gd-akane-action{
 color:#5b35cf!important;background:#faf8ff!important;border-color:#e9e1ff!important
}
.gd-akane-action span{color:#7c3aed}
.gd-item-count{color:#98a2b3;font-size:11px;align-self:center;margin-right:3px}

/* File table */
.gd-table{
 width:100%!important;margin-top:0!important;border:1px solid #e6ebf2!important;border-radius:13px!important;
 overflow:hidden!important;background:#fff!important;box-shadow:none!important
}
.gd-table thead th{
 position:static!important;height:42px!important;padding:0 12px!important;background:#fbfcfe!important;
 border-bottom:1px solid #e9edf4!important;color:#8491a5!important;font-size:9px!important;
 text-transform:uppercase!important;letter-spacing:.055em!important;font-weight:700!important
}
.gd-table td{
 height:51px!important;padding:0 12px!important;font-size:12px!important;border-bottom:1px solid #edf1f5!important;
 color:#475467!important
}
.gd-table tbody tr:last-child td{border-bottom:0!important}
.gd-table tr.data:hover{background:#f8faff!important}
.gd-name{min-width:280px!important;gap:10px!important}
.gd-name a{font-size:12px!important;font-weight:700!important;color:#253047!important}
.gd-thumb-sm{
 width:24px!important;height:24px!important;border-radius:6px!important;background:#f0f3f8!important
}
.gd-fileicon{width:25px!important;font-size:18px!important}
.gd-version{
 font-size:8px!important;padding:2px 5px!important;border-radius:6px!important;background:#eef1f6!important;color:#7a8595!important
}
.gd-actions{opacity:.72!important}
.gd-action{
 width:29px!important;height:29px!important;font-size:12px!important;color:#8491a5!important;border-radius:8px!important
}
.gd-action:hover{background:#eef3f9!important;color:#4f46e5!important}

/* Grid */
.gd-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:12px!important}
.gd-card-item{
 border:1px solid #e5eaf2!important;border-radius:13px!important;background:#fff!important;
 padding:11px!important;box-shadow:none!important;transform:none!important
}
.gd-card-item:hover{background:#fafcff!important;border-color:#d7e1ee!important;transform:none!important}
.gd-card-title{font-size:13px!important;color:#253047!important}
.gd-card-meta{font-size:10px!important;color:#8491a5!important}

/* Panels/admin/forms */
.gd-panel{
 background:#fff!important;border:1px solid #e5eaf2!important;border-radius:14px!important;padding:18px!important;
 box-shadow:none!important
}
.gd-panel h2{font-size:18px!important;font-weight:750!important;color:#101828!important}
.gd-panel>p{font-size:12px!important;color:#667085!important}
.gd-tabs{height:46px!important;border-bottom-color:#e8edf4!important}
.gd-tabs a{height:46px!important;font-size:12px!important}
.gd-kpi{border-radius:13px!important;padding:15px!important;border-color:#e5eaf2!important}
.gd-kpi strong{font-size:25px!important}
.gd-admin-table th{font-size:9px!important;color:#8491a5!important}
.gd-admin-table td{font-size:12px!important;padding:11px 10px!important}
.gd-field{font-size:11px!important;color:#667085!important}
.gd-field input,.gd-field select,.gd-field textarea{
 min-height:40px!important;padding:9px 11px!important;font-size:13px!important;border-radius:9px!important;
 border-color:#d7dee8!important;background:#fff!important
}
.gd-dialog{border-radius:14px!important;padding:0!important;border:1px solid #e5eaf2!important}
.gd-dialog form{padding:20px!important}

/* Akane: absolutely hidden until explicit invocation */
.ak-drawer[hidden],.ak-backdrop[hidden]{display:none!important}
.ak-drawer{
 position:fixed!important;top:14px!important;right:14px!important;bottom:14px!important;
 width:var(--ab-akane)!important;height:auto!important;border-radius:16px!important;
 background:#fff!important;border:1px solid #e3e8f0!important;box-shadow:0 20px 55px rgba(16,24,40,.14)!important;
 transform:translateX(calc(100% + 32px))!important;opacity:0!important;pointer-events:none!important;
 transition:transform .22s ease,opacity .18s ease!important;z-index:70!important;overflow:hidden!important
}
.ak-drawer.open{transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important}
.ak-backdrop{display:none!important}
body.akane-open .gd-app{
 margin-right:calc(var(--ab-akane) + 28px)!important;transition:margin-right .22s ease!important
}
.ak-head{
 height:72px!important;padding:0 18px!important;border-bottom:1px solid #e9edf4!important;background:#fff!important
}
.ak-head>div{display:flex!important;align-items:center!important;gap:10px!important}
.ak-logo{
 width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:12px!important;
 background:linear-gradient(135deg,#8b5cf6,#1c9cf2)!important;color:#fff!important;font-size:17px!important
}
.ak-title{display:grid;min-width:0}
.ak-title b{font-size:15px!important;color:#101828!important;line-height:1.15!important}
.ak-title small{font-size:10px!important;color:#8491a5!important;line-height:1.2!important}
.ak-title em{
 font-style:normal;font-size:9px!important;color:#98a2b3!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.ak-head button{
 margin-left:auto!important;width:34px!important;height:34px!important;border:0!important;border-radius:9px!important;
 background:transparent!important;color:#8491a5!important;font-size:22px!important
}
.ak-head button:hover{background:#f2f4f7!important;color:#344054!important}
.ak-messages{padding:18px!important;background:#fff!important}
.ak-msg{
 grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;margin-bottom:16px!important
}
.ak-avatar{
 width:34px!important;height:34px!important;border-radius:50%!important;font-size:13px!important;
 background:linear-gradient(135deg,#8b5cf6,#16a8f5)!important;color:#fff!important
}
.ak-msg.user .ak-avatar{background:#e8f1ff!important;color:#2563eb!important}
.ak-msg b{font-size:13px!important;color:#101828!important;margin:1px 0 5px!important}
.ak-msg p{
 font-size:12px!important;line-height:1.55!important;padding:11px 12px!important;border-radius:11px!important;
 background:#f5f8fc!important;border:1px solid #edf1f6!important;color:#344054!important
}
.ak-msg.error p{background:#fff4f4!important;border-color:#fecaca!important;color:#991b1b!important}
.ak-sources{padding:0 18px 12px!important;background:#fff!important}
.ak-sources small{font-size:9px!important;color:#98a2b3!important}
.ak-sources a{
 padding:9px 10px!important;border-radius:9px!important;background:#f8fbff!important;border:1px solid #e8eef6!important;
 font-size:11px!important
}
.ak-compose{
 padding:12px 14px 14px!important;background:#fff!important;border-top:1px solid #e8edf4!important
}
.ak-compose textarea{
 min-height:62px!important;max-height:130px!important;padding:11px 12px!important;border-radius:11px!important;
 border:1px solid #dce3ec!important;background:#fff!important;font-size:12px!important;line-height:1.45!important
}
.ak-compose button{
 width:38px!important;height:38px!important;border-radius:10px!important;background:#1675ff!important;color:#fff!important
}
#akaneState{font-size:10px!important;color:#98a2b3!important}

/* Dark mode: exact same component hierarchy */
html[data-theme="cyber"]{
 --ab-panel:#0d1826;
 --ab-text:#e7eef8;
 --ab-muted:#8fa1b8;
 --ab-line:#1d3044;
}
html[data-theme="cyber"] body{background:#07111c!important;color:#e7eef8!important}
html[data-theme="cyber"] .gd-sidebar{background:#0a1725!important;border-right-color:#1b2e42!important}
html[data-theme="cyber"] .gd-logo{color:#f6f9ff!important}
html[data-theme="cyber"] .gd-pro-badge{background:#14243a!important;border-color:#253b55!important;color:#b8c8dc!important}
html[data-theme="cyber"] .gd-nav{color:#b7c5d8!important}
html[data-theme="cyber"] .gd-nav:hover{background:#0f2031!important}
html[data-theme="cyber"] .gd-nav.active{background:#102a4a!important;color:#84b8ff!important;box-shadow:inset 0 0 0 1px #1f4772!important}
html[data-theme="cyber"] .gd-nav-icon{color:#8398af!important}
html[data-theme="cyber"] .gd-nav.active .gd-nav-icon{color:#62a7ff!important}
html[data-theme="cyber"] .gd-storage{background:#0d1b2b!important;border-color:#1f3348!important}
html[data-theme="cyber"] .gd-topbar{background:#08131f!important;border-bottom-color:#172a3d!important}
html[data-theme="cyber"] .gd-search{background:#0d1a29!important;border-color:#21354a!important}
html[data-theme="cyber"] .gd-search input{color:#dce8f6!important}
html[data-theme="cyber"] .gd-icon-btn{color:#c0ccdb!important}
html[data-theme="cyber"] .gd-icon-btn:hover{background:#102033!important;border-color:#233950!important}
html[data-theme="cyber"] .gd-icon-btn.ak-top-btn{background:#182140!important;border-color:#28365d!important;color:#9a8cff!important}
html[data-theme="cyber"] .gd-user b{color:#edf4ff!important}
html[data-theme="cyber"] .gd-main{background:#0b1725!important}
html[data-theme="cyber"] .gd-titlebar h1{color:#f7f9ff!important}
html[data-theme="cyber"] .gd-toolbar{background:#0d1a29!important;border-color:#1b2e42!important}
html[data-theme="cyber"] .gd-btn{background:#0e1d2d!important;border-color:#294056!important;color:#dbe7f5!important}
html[data-theme="cyber"] .gd-btn:hover{background:#122438!important;border-color:#36536c!important}
html[data-theme="cyber"] .gd-btn.primary{background:linear-gradient(135deg,#176bff,#3c78ff)!important;border-color:#176bff!important;color:#fff!important}
html[data-theme="cyber"] .gd-akane-action{background:#181a36!important;border-color:#34305d!important;color:#c6b7ff!important}
html[data-theme="cyber"] .gd-table{background:#0b1725!important;border-color:#1d3044!important}
html[data-theme="cyber"] .gd-table thead th{background:#0d1a29!important;border-color:#1b2e42!important;color:#8295ac!important}
html[data-theme="cyber"] .gd-table td{border-color:#172a3d!important;color:#aebed0!important}
html[data-theme="cyber"] .gd-table tr.data:hover{background:#0f2031!important}
html[data-theme="cyber"] .gd-name a{color:#e4edf8!important}
html[data-theme="cyber"] .gd-version{background:#142235!important;color:#91a3b9!important}
html[data-theme="cyber"] .gd-panel,
html[data-theme="cyber"] .gd-card-item{background:#0d1a29!important;border-color:#203449!important}
html[data-theme="cyber"] .gd-panel h2{color:#edf4ff!important}
html[data-theme="cyber"] .gd-field input,
html[data-theme="cyber"] .gd-field select,
html[data-theme="cyber"] .gd-field textarea{background:#0a1725!important;border-color:#294056!important;color:#e3ecf7!important}
html[data-theme="cyber"] .ak-drawer,
html[data-theme="cyber"] .ak-head,
html[data-theme="cyber"] .ak-messages,
html[data-theme="cyber"] .ak-sources,
html[data-theme="cyber"] .ak-compose{background:#0c1826!important;border-color:#1d3044!important}
html[data-theme="cyber"] .ak-title b,
html[data-theme="cyber"] .ak-msg b{color:#f0f5ff!important}
html[data-theme="cyber"] .ak-title small,
html[data-theme="cyber"] .ak-title em{color:#8498af!important}
html[data-theme="cyber"] .ak-msg p{background:#101f31!important;border-color:#20364c!important;color:#dce7f4!important}
html[data-theme="cyber"] .ak-sources a{background:#0f1e2e!important;border-color:#20364c!important;color:#dce7f4!important}
html[data-theme="cyber"] .ak-compose textarea{background:#0a1725!important;border-color:#294056!important;color:#dce7f4!important}

/* Tablet */
@media(max-width:1180px){
 :root{--ab-sidebar:260px}
 .gd-titlebar h1{font-size:30px!important}
}

/* Mobile */
@media(max-width:900px){
 :root{--ab-sidebar:0px}
 .gd-app{margin-left:0!important}
 body.akane-open .gd-app{margin-right:0!important}
 .gd-sidebar{width:min(330px,90vw)!important;background:#fff!important}
 .gd-topbar{height:auto!important;min-height:66px!important;padding:9px 10px 9px 60px!important}
 .gd-search{height:44px!important}
 .gd-main{margin:0!important;border-radius:0!important;padding:17px 12px 88px!important}
 .gd-titlebar h1{font-size:25px!important}
 .gd-toolbar{
   margin:8px 0 12px!important;padding:0!important;background:transparent!important;border:0!important;
   display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important
 }
 .gd-toolbar>.gd-btn{width:100%!important;justify-content:center!important}
 .gd-toolbar-right{grid-column:1/-1!important}
 .gd-grid{grid-template-columns:1fr!important}
 .gd-table td{height:56px!important;font-size:12px!important}
 .ak-drawer{
   left:0!important;right:0!important;top:auto!important;bottom:0!important;width:100%!important;height:min(88dvh,760px)!important;
   border-radius:18px 18px 0 0!important;transform:translateY(105%)!important;opacity:0!important
 }
 .ak-drawer.open{transform:translateY(0)!important;opacity:1!important}
 .ak-backdrop:not([hidden]){display:block!important}
 html[data-theme="cyber"] .gd-sidebar{background:#0a1725!important}
}

@media(max-width:520px){
 .gd-brand-name{font-size:18px}
 .gd-pro-badge{height:21px;font-size:10px}
 .gd-top-actions .gd-theme-btn{display:none}
 .gd-titlebar h1{font-size:23px!important}
 .gd-btn{font-size:11px!important}
}
/* 1.1.0 · bulk selection */
.gd-selection.show{display:flex;flex-wrap:wrap}
.gd-selection .spacer{min-width:12px}

/* 1.1.4 · Public Share UX */
.ab-public-body{background:#f6f8fc;margin:0;color:#202124}.ab-public-wrap{max-width:1120px;margin:0 auto;padding:34px 20px 60px}.ab-public-brand{display:flex;align-items:center;gap:4px;font-size:20px;margin:0 0 22px;color:#202124}.ab-brand-cloud{color:#1a73e8;font-size:24px}.ab-public-brand b{font-weight:750}.ab-public-panel{background:#fff;border:1px solid #e4e8ef;border-radius:18px;padding:26px;box-shadow:0 1px 2px rgba(16,24,40,.04)}.ab-public-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #edf0f4;padding-bottom:20px;margin-bottom:18px}.ab-public-head h1{font-size:27px;font-weight:600;margin:0 0 6px}.ab-public-head p{margin:0;color:#667085}.ab-public-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ab-view-switch{display:inline-flex;border:1px solid #d9e0ea;border-radius:9px;padding:3px;background:#f8fafc}.ab-view-switch a{display:grid;place-items:center;width:34px;height:32px;border-radius:7px;text-decoration:none;color:#526173;font-size:18px}.ab-view-switch a.active{background:#fff;color:#1a73e8;box-shadow:0 1px 2px rgba(16,24,40,.09)}.ab-public-items.is-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}.ab-public-items.is-grid .ab-public-item{min-height:98px;display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;align-content:center;padding:16px;border:1px solid #e3e7ee;border-radius:13px;text-decoration:none;color:#202124;background:#fff}.ab-public-items.is-grid .ab-public-icon{grid-row:1/3;font-size:27px;align-self:center}.ab-public-items.is-grid .ab-public-name{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ab-public-items.is-grid .ab-public-meta{font-size:12px;color:#7a8494;margin-top:5px}.ab-public-items.is-list{display:flex;flex-direction:column;border:1px solid #e4e8ef;border-radius:12px;overflow:hidden}.ab-public-items.is-list .ab-public-item{display:grid;grid-template-columns:34px minmax(0,1fr) 140px;align-items:center;gap:10px;padding:12px 14px;text-decoration:none;color:#202124;background:#fff;border-bottom:1px solid #edf0f4}.ab-public-items.is-list .ab-public-item:last-child{border-bottom:0}.ab-public-items.is-list .ab-public-item:hover,.ab-public-items.is-grid .ab-public-item:hover{background:#f7faff;border-color:#c9dcfa}.ab-public-items.is-list .ab-public-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ab-public-items.is-list .ab-public-meta{text-align:right;color:#7a8494;font-size:12px}.ab-public-breadcrumb{display:flex;gap:12px;align-items:center;margin:0 0 14px;font-size:13px}.ab-public-breadcrumb a{color:#1a73e8;text-decoration:none}.ab-public-breadcrumb span{color:#667085}.ab-public-upload{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 0 18px}.ab-public-success{background:#ecfdf3;color:#027a48;border:1px solid #abefc6;padding:10px 12px;border-radius:9px;margin:12px 0}@media(max-width:680px){.ab-public-wrap{padding:18px 12px 36px}.ab-public-panel{padding:18px}.ab-public-head{flex-direction:column}.ab-public-actions{width:100%;justify-content:space-between}.ab-public-items.is-list .ab-public-item{grid-template-columns:30px minmax(0,1fr)}.ab-public-items.is-list .ab-public-meta{display:none}}
