:root {
  --st-bg:#e0e4e7; --st-text:#18252e; --st-muted:#344653; --st-accent:#265ed8;
  --st-surface-strong:#e6edf1; --glass-blur:20px; --control-ink:#213341;
  --record-field:linear-gradient(130deg,rgba(247,251,255,.37),rgba(234,243,248,.19));
  --record-control-shadow:inset 0 1px 1px rgba(255,255,255,.18),0 3px 12px rgba(23,40,52,.08);
  color:var(--st-text);font:16px/1.48 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
:root[data-storage-theme=dark] {
  --st-bg:#171a1d;--st-text:#f5f7fa;--st-muted:#d0d9df;--control-ink:#f5f7fa;--st-surface-strong:#22292f;
  --record-field:linear-gradient(130deg,rgba(46,53,62,.52),rgba(20,27,36,.24));
  --record-control-shadow:inset 0 1px 1px rgba(244,247,255,.09),0 3px 12px rgba(0,0,0,.16);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-height:100vh;min-height:100dvh;background:var(--st-bg);color:var(--st-text)}
.storage-screen .storage-scene{inset:0;border-radius:0}
.storage-screen .storage-scene>#scene-photo{object-position:65% center}
.storage-scene>.scene-shade{background:var(--st-scene)}
.shell{min-height:100dvh;width:min(1512px,100%);margin:auto;padding:clamp(14px,2.3vw,34px) clamp(16px,3.5vw,56px) max(36px,env(safe-area-inset-bottom))}
.topbar,.storage-header-tools,.brand,.actions{display:flex;align-items:center;gap:10px}
.topbar{justify-content:space-between;position:relative;z-index:5;min-width:0}
.storage-brand-capsule,.storage-header-tools{border-radius:22px;padding:5px;max-width:100%;min-width:0}
.storage-header-tools{gap:3px}.brand,.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;color:var(--st-text);cursor:pointer}
.storage-screen .brand{gap:10px;min-height:42px;padding:3px 12px 3px 5px;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:17px;font-size:17px;letter-spacing:-.035em;white-space:nowrap}
.brand .brand-icon{width:32px;height:32px;flex-shrink:0}.brand strong{font-weight:650}.brand .chevron{width:16px;height:16px;opacity:.78}
svg:not(.brand-icon){width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.storage-screen .icon-btn{width:42px;height:42px;padding:10px;border-radius:16px}
.main{margin-top:clamp(32px,6.2vh,88px)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(40px,5.1vw,76px);line-height:1.02;letter-spacing:-.061em;font-weight:650;margin-bottom:clamp(22px,3vw,42px);text-wrap:balance}
h2{font-size:clamp(23px,2.3vw,34px);line-height:1.13;letter-spacing:-.042em;font-weight:620;margin-bottom:16px}h3{font-size:19px;line-height:1.25;letter-spacing:-.025em;margin-bottom:12px}
.panel,.storage-login,.modal,.gc-popup{border:0;border-radius:26px;position:relative;min-width:0}
.login-card{width:min(430px,100%);padding:clamp(24px,3vw,40px)}
form{display:grid;gap:18px}
form h2{margin:0 0 4px}label{display:grid;gap:6px;font-size:14px;font-weight:550}
.section-icon{width:46px;height:46px;border-radius:15px;display:inline-grid;place-items:center;background:var(--record-field);color:var(--st-text);box-shadow:var(--record-control-shadow)}
.section-icon svg{width:25px;height:25px}
button,input,select,textarea{font:inherit;color:var(--control-ink)}
.storage-screen :is(.btn,.gc-trigger,input:not([type=checkbox]),textarea){position:relative;min-height:44px;border:0!important;border-radius:14px;padding:10px 14px;box-shadow:var(--record-control-shadow);-webkit-backdrop-filter:blur(14px) saturate(1.1);backdrop-filter:blur(14px) saturate(1.1)}
.storage-screen :is(input:not([type=checkbox]),textarea){width:100%;background:var(--record-field);font-weight:400;min-width:0}
input::placeholder{color:var(--st-muted);opacity:.85}
.btn,.gc-trigger{display:inline-flex;align-items:center;gap:8px;justify-content:center;font-weight:550;cursor:pointer;line-height:1.2}
.storage-screen .btn.primary{background:linear-gradient(130deg,#326ee8,#2152c9);color:#fff}
.storage-screen .btn.stop,.storage-screen .btn.danger{color:#fff;background:linear-gradient(130deg,#b83750,#9f2740)}
button:disabled{opacity:.58;cursor:default}
button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #739fff;outline-offset:3px}
form>.btn{justify-content:space-between}
.storage-screen .btn:not(.primary):not(.danger):not(.stop),.storage-screen .gc-trigger,.storage-screen .icon-btn{background:var(--record-field)}
.storage-screen .btn,.storage-screen .icon-btn,.storage-screen .gc-trigger{transition:transform .18s ease,box-shadow .2s ease}
@media(hover:hover){.storage-screen :is(.btn,.icon-btn,.gc-trigger):hover{transform:translateY(-1px);box-shadow:0 4px 15px rgba(19,40,66,.16)}}
@media(prefers-reduced-motion:no-preference){.storage-screen :is(.btn,.icon-btn,.gc-trigger)::after,.field-glass::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;background:conic-gradient(from var(--storage-glass-angle),transparent 0deg 310deg,rgba(247,251,255,.4) 334deg,transparent 354deg 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:storage-glass-edge 21.739s linear infinite}}
.record-native-select{display:none!important}
.field-glass{display:block;position:relative;border-radius:14px;min-width:0}
sabsus-memory-controls{display:block}
.sheet{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(370px,1.35fr);align-items:start;gap:clamp(16px,2vw,28px);min-width:0}
.sheet>.panel{padding:clamp(22px,2.4vw,36px)}
.panel-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.panel-heading h2{margin:0}
.actions{flex-wrap:wrap;align-items:stretch}.actions .btn{flex:1 0 135px}
.live-controls{display:grid;gap:14px}.live-controls .time{font-variant-numeric:tabular-nums;font-size:clamp(40px,4.1vw,60px);letter-spacing:-.045em;line-height:1.1}.live-controls meter,.record-history audio{width:100%}
details{margin-top:6px}summary{cursor:pointer;font-size:14px;font-weight:580}
details[open]{display:grid;gap:10px}details[open]>summary{margin-bottom:10px}
.meeting-context{margin:4px 0 0;min-width:0}
.meeting-context[open]{display:block}
.meeting-context>summary{display:flex;align-items:center;gap:10px;min-height:44px;list-style:none;font-size:15px}
.meeting-context>summary::-webkit-details-marker{display:none}
.meeting-context>summary svg:first-child{color:var(--st-muted)}
.meeting-context>summary svg:last-child{margin-left:auto;width:16px;transition:transform .18s ease}
.meeting-context[open]>summary{margin:0 0 10px}.meeting-context[open]>summary svg:last-child{transform:rotate(180deg)}
.context-body,.context-field,.context-nfc{display:grid;min-width:0}
.context-body{gap:16px}
.context-body p,.context-nfc h3{margin:0}
.context-body p,.context-result{font-size:14px;line-height:1.45;color:var(--st-muted)}
.context-fields{display:grid;grid-template-columns:minmax(95px,.85fr) minmax(130px,1.15fr);gap:12px}
.context-field{gap:7px;align-content:start}.context-field label{font-size:13px;font-weight:600}
.context-field .gc-trigger{width:100%;justify-content:space-between}
.context-apply{justify-self:start}
.context-nfc{gap:8px;padding-top:8px}.context-nfc h3{font-size:16px}
.context-nfc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:3px}
.context-nfc-actions .btn{flex:1 1 140px}
@media(max-width:480px){.context-fields{grid-template-columns:1fr}.context-apply{justify-self:stretch}.context-body{gap:15px}}
.record-history .history-body{display:grid;gap:12px}
.record-history .history-body>h3{margin:0}.history-body .item{display:flex;flex-direction:column;align-items:flex-start;text-align:start;width:100%;overflow-wrap:anywhere;gap:5px;min-height:48px;margin-bottom:7px}
.history-body p{margin:0;white-space:pre-wrap}.history-body .btn:not(.item){justify-self:start}.history-body .history-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.history-filters .gc-trigger{width:100%}.empty-state,.history-body small,.live-controls small{color:var(--st-muted);font-size:14px}.history-body small{display:block}
#message:not(:empty),.error:not(:empty){display:block;margin:14px 0 0;padding:10px 14px;border-radius:12px;background:var(--st-glass-popover);color:var(--st-text)}.error:empty{display:none}.entry-wrap{min-height:100dvh;display:grid;place-items:center}.entry-card{padding:20px 28px}.entry-card p{margin:0}
.gc-trigger{justify-content:space-between;text-align:start;max-width:100%}.gc-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gc-trigger svg{width:16px;height:16px}
.storage-header-tools .gc-trigger{max-width:min(36vw,260px);min-width:0}.storage-screen .gc-popup{position:fixed;margin:0;inset:auto;padding:5px;z-index:2147483645;max-height:min(45dvh,350px);overflow:auto}
.gc-option{display:flex;align-items:center;gap:8px;width:100%;text-align:start;padding:10px 13px;border:0;border-radius:11px;background:transparent;color:var(--st-text);font:inherit;cursor:pointer}
.gc-option[aria-selected=true],.gc-option:focus{background:rgba(65,126,225,.23);outline:none}
.storage-screen .modal{padding:0;color:var(--st-text);max-width:min(440px,calc(100vw - 32px));width:100%;max-height:80dvh;overflow:auto}
.modal::backdrop{background:rgba(10,16,24,.32);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.modal-content{padding:26px;display:grid;gap:16px}.modal-content h2,.modal-content p{margin:0}.modal-content .actions{justify-content:flex-end}.modal-content .actions .btn{flex:0 1 auto}
@media(max-width:800px){.sheet{grid-template-columns:1fr}.main{margin-top:32px}.storage-screen .storage-scene>#scene-photo{object-position:68% center}.login-card{max-width:430px}.shell{max-width:730px}}
@media(max-width:480px){.shell{padding:12px 14px max(30px,env(safe-area-inset-bottom))}.topbar{gap:6px}.brand{max-width:100%}.storage-screen .brand{font-size:15px;gap:6px}.brand .brand-icon{width:28px;height:28px}.storage-header-tools .gc-trigger{max-width:clamp(68px,23vw,110px);padding-inline:8px}.sheet>.panel{padding:20px 16px}.panel,.storage-login{border-radius:22px}.record-history .history-body .history-filters{grid-template-columns:1fr}.main{margin-top:28px}.login-card{margin-top:12px;padding:24px}.panel-heading{gap:9px;margin-bottom:17px}}

.record-header-identity{display:flex;gap:8px;align-items:center;min-width:0}
.storage-screen .record-header-identity .brand:after{display:none!important}
.language-tools{display:flex;align-items:center}
.storage-screen .language-tools .gc-trigger{width:auto;max-width:none;min-width:62px;gap:6px;background:transparent;box-shadow:none;backdrop-filter:none;padding-inline:8px}
.language-tools .gc-trigger::after{display:none}.language-tools .gc-trigger svg:last-child{display:none}
.record-section,.detail-title{min-width:0}.detail-title{display:grid;gap:7px;padding-bottom:3px}
.detail-title h3{font-size:clamp(22px,2vw,30px);letter-spacing:-.04em;margin:0}
.record-meta,.record-meta span,.detail-actions,.retention-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.record-meta{color:var(--st-muted);font-size:13px;gap:8px 16px}.record-meta span{gap:5px}.record-meta svg{width:15px;height:15px}
.record-section{padding:16px 0 0;margin-top:3px;box-shadow:inset 0 1px 0 color-mix(in srgb,var(--st-text) 12%,transparent)}
.record-section-head{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:11px}
.detail-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--record-field);color:var(--control-ink)}
.record-section-head h3{line-height:1.25;margin:0 0 4px;font-size:17px}.record-section-head p,.section-body small{color:var(--st-muted);font-size:13px;line-height:1.5}
.section-body{margin-left:45px;display:grid;gap:10px;min-width:0}.section-body:not(:empty){padding-top:13px}.section-body h4{font-size:15px;margin:5px 0 0}
.record-history .section-body p{font-size:15px;line-height:1.55}
.record-history .btn svg{width:17px;height:17px}.record-history .back-action{padding:5px 12px;min-height:36px}
.needs-attention .detail-icon{color:#8b4311;background:rgba(249,181,86,.23)}:root[data-storage-theme=dark] .needs-attention .detail-icon{color:#ffd29b}
.record-history .section-body .btn{min-height:40px}.record-history .time-link,.record-history .transcript-line{justify-content:flex-start;text-align:left;line-height:1.4}
.record-history .transcript-line{display:grid;justify-self:stretch!important;gap:6px;font-weight:600}.transcript-line>span{font-weight:400}
.storage-screen .btn.destructive{color:#a12736}.storage-screen[data-storage-theme=dark] .btn.destructive,:root[data-storage-theme=dark] .btn.destructive{color:#ffabb2}
.retention-tools .gc-trigger{min-width:min(220px,100%);max-width:100%}
@media(max-width:540px){.section-body{margin-left:0}.record-header-identity{gap:4px}.storage-screen .language-tools .gc-trigger{min-width:48px;padding-inline:5px}.language-tools .gc-trigger svg{width:14px}.storage-header-tools .gc-trigger{max-width:18vw}.topbar .brand .chevron{display:none}.topbar .brand{padding-right:6px}.retention-tools>*{max-width:100%}.section-body .detail-actions{gap:6px}}
@media(max-width:355px){.topbar .brand strong{display:none}.storage-header-tools .icon-btn{width:36px}.storage-header-tools .gc-trigger{min-width:0}}
@media(forced-colors:active){.storage-screen :is(.btn,.gc-trigger,.icon-btn,.gc-popup,.panel,.modal,input){border:1px solid ButtonText!important}.storage-scene,.sg-pane{display:none!important}}
