
:root{--ink:#1e3a5f;--line:#24384b;--paper:#fffbeb;--yellow:#fcd34d;--mint:#a7f3d0;--blue:#bfdbfe;--pink:#fbcfe8;--muted:#73808c;--radius:16px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background-color:var(--paper);background-image:linear-gradient(#24384b09 1px,transparent 1px),linear-gradient(90deg,#24384b09 1px,transparent 1px);background-size:24px 24px;font:14px/1.6 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit}aside{position:fixed;inset:0 auto 0 0;width:240px;background:var(--ink);color:white;padding:26px 18px;display:flex;flex-direction:column;z-index:30;overflow-y:auto}.brand{display:flex;gap:12px;align-items:center;font-size:22px;font-weight:900;letter-spacing:-1px}.logo{background:var(--yellow);color:var(--ink);border:2px solid #0e243d;border-radius:12px;box-shadow:3px 3px 0 #112841;padding:2px 11px;font-size:27px;transform:rotate(-6deg)}.brand small{display:block;font-size:10px;letter-spacing:3px;color:#bac9dc;font-weight:500}.workspace{border:1px solid #ffffff2b;background:#ffffff09;border-radius:12px;margin:25px 0 18px;padding:12px}.workspace small{color:#a8bed5;font-size:10px;letter-spacing:1.4px}.workspace div{display:flex;align-items:center;justify-content:space-between;margin-top:4px}.navlabel{font-size:10px;letter-spacing:2px;color:#91a7c3;margin:18px 10px 7px}.nav{display:flex;align-items:center;gap:12px;width:100%;padding:11px 13px;border:2px solid transparent;border-radius:10px;background:none;color:#d7e2ef;text-align:left;margin:3px 0;transition:.15s}.nav:hover{background:#ffffff0e}.nav.active{background:var(--yellow);border-color:#102b49;box-shadow:3px 3px 0 #102b49;color:var(--ink);font-weight:800;transform:rotate(-1deg)}.nav .count{margin-left:auto;font-size:10px;border:1px solid currentColor;border-radius:5px;padding:0 5px}.sidebarfoot{margin-top:auto;padding-top:25px}.notepaper{background:#ffedaf;color:var(--ink);padding:13px;transform:rotate(-2deg);border:2px solid #0e243d;border-radius:7px;box-shadow:3px 3px 0 #102b49;font-size:12px}.notepaper b{display:block}.sideuser{display:flex;align-items:center;gap:10px;margin-top:23px;font-size:12px}.avatar{display:grid;place-items:center;background:var(--pink);border:2px solid var(--line);border-radius:50%;width:36px;height:36px;color:var(--ink);font-weight:800}.sideuser small{display:block;color:#b0c3d9}.shell{margin-left:240px}header{height:74px;padding:0 34px;border-bottom:2px solid #24384b16;background:#fffbebef;display:flex;align-items:center;justify-content:space-between;gap:12px}.crumb{font-size:12px;color:var(--muted)}.crumb b{color:var(--ink);margin-left:9px}.topright{display:flex;align-items:center;gap:14px;font-size:12px}.demo{background:#fff3c4;border:1px dashed #ad821c;border-radius:6px;padding:3px 8px;color:#795614}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#1c9b70;margin-right:6px}.icon{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.btn,.iconbtn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;border:2px solid var(--line);border-radius:9px;background:white;color:var(--ink);font-weight:700;box-shadow:2px 2px 0 var(--line);text-decoration:none;white-space:nowrap;transition:.12s}.btn:hover,.iconbtn:hover{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--line)}.btn:active{transform:translate(2px,2px);box-shadow:none}.btn.primary{background:var(--ink);color:white}.btn.yellow{background:var(--yellow)}.btn.danger{background:#fee2e2;color:#b42332}.btn.small{font-size:12px;padding:5px 10px;box-shadow:1px 1px 0 var(--line)}.iconbtn{padding:7px;box-shadow:none}.menu{display:none}main{padding:28px 34px 40px;max-width:1680px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#7b8590;margin-bottom:5px}h1{font-size:30px;letter-spacing:-1px;margin:0;font-weight:900;line-height:1.4}h1 mark{color:inherit;background:linear-gradient(transparent 62%,var(--yellow) 62%);padding-right:5px}.subtitle{color:var(--muted);font-size:12px;margin:7px 0 0}.actions{display:flex;gap:10px;flex-wrap:wrap}.welcome{display:flex;align-items:center;justify-content:space-between;position:relative;background:#fff3bd;border:2px solid var(--line);box-shadow:4px 4px 0 var(--line);border-radius:16px;padding:21px 25px;margin-bottom:26px;overflow:hidden}.welcome h2{font-size:20px;margin:0 0 6px;letter-spacing:-.5px}.welcome p{margin:0;font-size:12px;color:#5a6480}.sticker{font-size:11px;background:white;border:2px solid var(--line);padding:6px 12px;border-radius:7px;transform:rotate(5deg);margin-right:12px;box-shadow:3px 3px 0 var(--line)}.doodle{position:absolute;right:180px;top:4px;font-size:64px;opacity:.12;transform:rotate(-12deg)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{background:white;border:1.5px solid var(--line);border-radius:14px;padding:17px 18px;box-shadow:3px 3px 0 #24384b18;position:relative}.stathead{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#677789}.stathead span:last-child{display:grid;place-items:center;width:34px;height:34px;border:1.5px solid var(--line);border-radius:10px;transform:rotate(4deg);color:var(--ink)}.stat strong{font-size:27px;letter-spacing:-1px;display:block;margin:6px 0 4px;font-weight:900}.stat small{font-size:10px;color:var(--muted)}.up{color:#18815d;font-weight:800;margin-right:6px}.panel{background:white;border:1.5px solid var(--line);border-radius:16px;box-shadow:3px 3px 0 #24384b16;min-width:0;overflow:hidden;margin-bottom:22px}.panelhead{display:flex;align-items:center;justify-content:space-between;padding:19px 21px 12px;gap:12px}.panelhead h3{margin:0;font-size:15px;font-weight:850}.panelhead small{color:var(--muted);font-size:11px}.panelbody{padding:4px 21px 21px}.cols{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:21px}.tabs{display:flex;gap:4px;padding:3px;background:#f3f5f6;border-radius:8px;border:1px solid #e3e7eb}.tabs button{background:none;border:0;border-radius:5px;padding:4px 9px;color:#6c7985;font-size:11px}.tabs button.active{background:var(--yellow);color:var(--ink);font-weight:800;box-shadow:1px 1px 0 var(--line)}.legend{display:flex;gap:17px;font-size:11px;color:var(--muted);margin-top:2px}.legend i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.chart{width:100%;height:200px;display:block}.chart text{font-size:10px;fill:#80909b}.ringbox{display:flex;align-items:center;gap:23px;padding:19px 0}.ring{width:133px;height:133px;flex-shrink:0;border-radius:50%;background:conic-gradient(var(--ink) 0 43%,var(--yellow) 43% 72%,var(--mint) 72% 92%,var(--pink) 92%);border:2px solid var(--line);display:grid;place-items:center;transform:rotate(-8deg)}.ring>div{width:91px;height:91px;background:white;border:1.5px solid var(--line);border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;transform:rotate(8deg)}.ring b{font-size:24px}.ring small{font-size:10px;color:var(--muted)}.shares{flex:1}.share{display:flex;justify-content:space-between;font-size:11px;margin:13px 0;gap:8px}.share i{display:inline-block;width:8px;height:8px;border:1px solid var(--line);margin-right:6px;border-radius:2px}.hint{background:#fffbeb;border:1px dashed #d6c780;padding:10px 12px;border-radius:8px;color:#7a7046;font-size:11px}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap;font-size:12px}th{background:#f7f8fa;color:#7c8998;font-weight:600;padding:12px 19px;border-block:1px solid #e9edf0;font-size:11px}td{padding:14px 19px;border-bottom:1px solid #edf0f3}tbody tr:hover{background:#fffcf1}tbody tr:last-child td{border:0}td small{display:block;color:#87929e;font-size:10px}.mono{font-family:ui-monospace,Consolas,monospace;font-size:11px}.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid #24384b35;border-radius:6px;padding:2px 7px;background:#f2f4f6;font-size:10px;white-space:nowrap}.badge.ok{background:#dcfce7;color:#18794e}.badge.warn{background:#fef3c7;color:#93620a}.badge.bad{background:#ffe4e6;color:#a92c43}.badge.blue{background:#e0efff;color:#326593}.link{color:var(--ink);background:none;border:0;font-weight:700;font-size:11px;cursor:pointer;padding:4px;text-decoration:underline;text-underline-offset:3px}.tablefoot{padding:13px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f3;font-size:11px;color:var(--muted)}.notes{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:2px}.note{padding:16px;border:1.5px solid var(--line);border-radius:12px;position:relative;background:#e6f9ee}.note:nth-child(2){background:#fff1d0}.note:nth-child(3){background:#fce8f3}.note h4{margin:0 0 5px;font-size:13px}.note p{font-size:11px;margin:0;color:#677685}.note .icon{float:right}.footer{display:flex;justify-content:space-between;margin-top:25px;font-size:10px;color:#88928f}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1;min-width:180px;max-width:360px}input,select,textarea{border:2px solid #dce1e5;border-radius:9px;padding:9px 12px;color:var(--ink);background:white;max-width:100%}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px #fcd34d66}textarea{min-height:120px;width:100%;resize:vertical}.productgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.product{border:2px solid var(--line);border-radius:16px;overflow:hidden;background:white;box-shadow:4px 4px 0 #24384b20;transition:.15s}.product:hover{transform:translateY(-3px);box-shadow:5px 7px 0 #24384b23}.cover{height:125px;display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:2px solid var(--line);position:relative;overflow:hidden}.cover:after{content:'';position:absolute;width:115px;height:115px;border:2px dashed #24384b25;border-radius:50%;right:-28px;top:-25px}.cover .icon{width:46px;height:46px;stroke-width:1.3;transform:rotate(-9deg)}.cover b{font-size:28px;letter-spacing:-1px;font-weight:900;transform:rotate(4deg);z-index:1}.productbody{padding:19px}.productbody h3{margin:0;font-size:16px}.productbody p{color:var(--muted);font-size:11px;margin:6px 0 13px}.productmeta{display:flex;justify-content:space-between;border-top:1px dashed #d9dfe5;padding-top:12px;margin-top:12px}.price{font-size:22px;font-weight:900}.productbottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.switch{width:38px;height:22px;border:1.5px solid var(--line);background:#e3e7eb;border-radius:20px;position:relative;padding:0}.switch:after{content:'';position:absolute;width:14px;height:14px;border:1px solid var(--line);border-radius:50%;left:3px;top:2.5px;background:white;transition:.15s}.switch.on{background:var(--mint)}.switch.on:after{left:19px}.paymentgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.channel{padding:21px;border:2px solid var(--line);border-radius:14px;background:white;box-shadow:3px 3px 0 #24384b15}.channeltop{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.channelicon{border:1.5px solid var(--line);border-radius:12px;padding:9px;background:var(--blue)}.channel h3{font-size:16px;margin:0}.channel p{font-size:11px;color:var(--muted)}.channel dl{font-size:11px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.channel dt{color:var(--muted)}.channel dd{text-align:right;margin:0}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:6px;font-size:12px}.field.full{grid-column:1/-1}.field small{color:var(--muted)}.preview{background:#e8f0e8;border:2px solid var(--line);border-radius:22px;padding:18px;max-width:360px;margin:10px auto}.previewhead{text-align:center;font-weight:800;font-size:13px;padding:0 0 16px}.bubble{background:white;border:1px solid #c1d3c4;border-radius:14px 14px 14px 3px;padding:16px;white-space:pre-wrap;font-size:12px}.bubblebtn{background:#ffffffba;padding:9px;text-align:center;margin-top:5px;border-radius:7px;font-size:11px}.progress{height:7px;border:1px solid var(--line);border-radius:6px;background:#f4f6f8;overflow:hidden;min-width:90px}.progress span{display:block;height:100%;background:var(--mint)}.modalshade{position:fixed;inset:0;background:#12284288;z-index:60;display:grid;place-items:center;padding:20px;backdrop-filter:blur(3px)}.modal{background:var(--paper);border:2px solid var(--line);box-shadow:7px 7px 0 #102a43;border-radius:18px;width:min(540px,100%);max-height:90vh;overflow:auto;padding:26px}.modal h2{font-size:21px;margin:0 0 5px}.modal .actions{justify-content:flex-end;margin-top:24px}.modal dl{display:grid;grid-template-columns:110px 1fr;gap:14px;font-size:13px}.modal dt{color:var(--muted)}.modal dd{margin:0;overflow-wrap:anywhere}.step{border-left:2px dashed #c7cdd1;padding:0 0 20px 20px;margin-left:10px;position:relative;font-size:12px}.step:before{content:'';width:12px;height:12px;border:2px solid var(--line);background:var(--yellow);position:absolute;left:-8px;border-radius:50%}.step small{display:block;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:90;background:var(--ink);border:2px solid #142c44;color:white;box-shadow:4px 4px 0 var(--yellow);padding:13px 23px;border-radius:10px;max-width:90vw;display:none;font-size:13px}.empty{text-align:center;padding:55px 20px;color:var(--muted)}.empty .icon{width:50px;height:50px;margin-bottom:10px}.shield{display:none}.searchcount{font-size:12px;color:var(--muted)}@media(min-width:1500px){main{padding:34px 46px}}@media(max-width:1200px){aside{width:210px}.shell{margin-left:210px}main{padding:24px}.cols{grid-template-columns:1.4fr 1fr}.ringbox{gap:12px}.ring{width:110px;height:110px}.ring>div{width:76px;height:76px}.productgrid,.paymentgrid{grid-template-columns:repeat(2,1fr)}.topright .status{display:none}}@media(max-width:950px){.stats{grid-template-columns:repeat(2,1fr)}.cols{grid-template-columns:1fr}.notes{grid-template-columns:1fr}.heading{align-items:flex-start}.heading .actions{justify-content:flex-end}.sticker{display:none}}@media(max-width:700px){aside{transform:translateX(-100%);transition:.2s;width:240px}.shell{margin-left:0}body.navopen aside{transform:translateX(0)}body.navopen .shield{display:block;position:fixed;inset:0;background:#10284166;z-index:29}.menu{display:inline-flex}header{height:64px;padding:0 17px}.topright{gap:8px}.topright .avatar{display:none}.crumb{display:none}main{padding:20px 16px}.heading{display:block}h1{font-size:25px}.heading .actions{justify-content:flex-start;margin-top:16px}.welcome{padding:18px}.welcome h2{font-size:17px}.stat{padding:13px}.stat strong{font-size:23px}.stats{gap:11px}.productgrid,.paymentgrid{grid-template-columns:1fr}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.footer{display:block}.footer span{display:block}.panelhead{padding:16px}.panelbody{padding:4px 16px 17px}.ringbox{justify-content:center}.shares{max-width:220px}.modal{padding:20px}.welcome p{font-size:11px}}
/* Notebook v3 */
.nav.active{transform:rotate(-1.1deg) translateX(1px)}.nav:nth-of-type(3n+2).active{transform:rotate(1.2deg) translateX(3px);border-radius:15px 7px 15px 7px}.nav:nth-of-type(3n).active{transform:translateX(4px);box-shadow:4px 3px 0 #102b49}.nav:nth-of-type(4n).active{transform:rotate(.5deg) translateY(-1px);border-style:dashed}.nav{transition:transform .2s,background .2s,box-shadow .2s}.panelhead{flex-wrap:wrap}.loginwrap{min-height:100vh;display:grid;grid-template-columns:1fr 430px;gap:70px;align-items:center;max-width:1120px;margin:auto;padding:45px}.loginart h1{font-size:52px;line-height:1.3;margin:25px 0}.loginart p{font-size:16px;color:#6a7b89;max-width:400px}.loginart .notepaper{display:inline-block;padding:20px;transform:rotate(-4deg);margin-top:30px}.logincard{border:2px solid var(--line);border-radius:22px;background:white;box-shadow:8px 8px 0 var(--ink);padding:34px}.logincard h2{font-size:26px;margin:0}.logincard .field{margin:20px 0}.logincard .btn{width:100%;margin:6px 0 18px}.loginerror{padding:10px;background:#ffe4e6;color:#a62c43;border-radius:8px;margin-top:15px}.console{background:#182d46;color:#d7e5f4;border:2px solid #0e243d;border-radius:12px;max-height:540px;min-height:250px;overflow:auto;padding:16px;font:12px/1.8 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.logrow{display:grid;grid-template-columns:170px 65px 1fr;gap:10px;border-bottom:1px solid #ffffff0d;padding:5px 0}.logrow .ERROR,.logrow .CRITICAL{color:#fca5a5}.logrow .WARNING{color:#fcd34d}.logrow .INFO{color:#a7f3d0}.logrow .time{color:#96acc5}.statusstrip{padding:10px 14px;background:#fef3c7;border:1px dashed #b28c25;border-radius:9px;margin-bottom:20px;font-size:12px}.annbody{white-space:pre-wrap;color:#56697c;font-size:13px;max-height:160px;overflow:auto;margin:14px 0}.annmeta{font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.checkfield{display:flex;align-items:center;gap:8px}.checkfield input{width:18px;height:18px;accent-color:var(--ink)}.field input,.field select{width:100%}.dialogerror{color:#a62c43;font-size:12px;margin-top:12px;white-space:pre-wrap}.sorttag{display:inline-block;border:2px solid var(--line);padding:5px 12px;box-shadow:2px 2px 0 var(--line);border-radius:7px;transform:rotate(3deg);background:var(--yellow)}.content-error{padding:40px;background:#fff;border:2px solid var(--line);border-radius:15px;white-space:pre-wrap}.badge.completed{background:#dcfce7}.badge.pending,.badge.sending{background:#fef3c7}.badge.failed,.badge.interrupted{background:#ffe4e6}.badge.paid{background:#dbeafe}.badge.draft{background:#f1f5f9}.chartbars{height:200px;display:flex;align-items:flex-end;gap:12px;padding-top:15px}.barcol{flex:1;text-align:center;font-size:10px;color:var(--muted);min-width:0}.barcol i{display:block;background:var(--yellow);border:1.5px solid var(--line);border-radius:7px 7px 0 0;margin:0 auto 7px;width:65%;min-height:2px;max-height:150px}.barcol:nth-child(even) i{background:var(--mint)}.subtle{font-size:11px;color:var(--muted)}.modal .actions{position:sticky;bottom:-20px;background:var(--paper);padding:12px 0}.warningtext{color:#a56a13}@media(max-width:800px){.loginwrap{grid-template-columns:1fr;gap:24px;max-width:490px;padding:26px}.loginart h1{font-size:29px;margin:14px 0}.loginart p{font-size:13px}.loginart .notepaper{display:none}.logincard{padding:25px}.logrow{grid-template-columns:1fr 60px}.logrow .message{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

.macbar{display:flex;align-items:center;gap:8px;background:#263747;border:2px solid #17283d;border-bottom:0;padding:13px 16px;border-radius:12px 12px 0 0;color:#a9b8ca;font:12px monospace}.macbar i{width:12px;height:12px;border-radius:50%;background:#ff5f57}.macbar i:nth-child(2){background:#febc2e}.macbar i:nth-child(3){background:#28c840}.macbar span{margin-left:20px}.macbar+.console{border-radius:0 0 12px 12px;padding:16px}.console:before,.console:after{display:none}.v5-select{width:18px;height:18px;accent-color:#1e3a5f}

/* V5.1 themed, compact, responsive notebook */
:root{--surface:#fffef9;--glass:rgba(255,253,243,.94)}
:root[data-theme=dark]{--paper:#141d2a;--surface:#202c3b;--glass:rgba(32,44,59,.95);--ink:#e0e9f4;--line:#61758d;--muted:#a7b6c8;--yellow:#dab44e}
[data-theme=dark] aside{background:#101b2b;color:#e0e9f4}
[data-theme=dark] :is(header,.panel,.stat,.product,.channel,.logincard,.modal,.toolbar,.tablefoot,.field input,.field textarea,.field select,input,select,textarea,.btn,.iconbtn){background:var(--surface);color:var(--ink)}
[data-theme=dark] :is(.welcome,.note,.hint,.notepaper,.cover,.badge,th,.demo,.statusstrip){background:#2b3a4b!important;color:var(--ink)!important}
[data-theme=dark] mark{background:#9a7b28;color:#fff}[data-theme=dark] .primary{background:#345879;color:white}
[data-theme=dark] .subtitle,[data-theme=dark] .subtle{color:var(--muted)}
.modalshade{background:rgba(21,34,50,.22);backdrop-filter:blur(9px) saturate(120%);-webkit-backdrop-filter:blur(9px) saturate(120%)}
.modal{background:var(--glass)!important;backdrop-filter:blur(20px);box-shadow:7px 8px 0 #12223835;animation:pagein51 .2s ease-out}
#content,.logincard{animation:pagein51 .25s ease-out}.shell,aside{transition:margin .22s,width .22s}
@keyframes pagein51{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}
#toast{display:none!important}#notice-stack{position:fixed;top:max(20px,env(safe-area-inset-top));right:20px;width:min(360px,calc(100vw - 32px));z-index:9999;display:grid;gap:12px;pointer-events:none}
.notice-card{pointer-events:auto;position:relative;background:var(--surface);color:var(--ink);border:2px solid var(--line);border-radius:13px;padding:14px 18px 20px;box-shadow:4px 4px 0 #263a5260;overflow:hidden;animation:noticein51 .25s ease-out;transition:opacity .25s,transform .25s}
.notice-card button{float:right;border:0;background:none;color:inherit;font-size:20px}.notice-card p{margin:7px 0 0;overflow-wrap:anywhere}.notice-card i{position:absolute;bottom:0;left:0;right:0;height:4px;background:#67bfa1}.notice-card.leaving{opacity:0;transform:translateX(25px)}
@keyframes noticein51{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:none}}
.terminal51 .macbar{padding:7px 12px;font-size:11px;min-height:32px;display:flex;align-items:center;gap:6px}.terminal51 .macbar i{width:9px;height:9px;flex:0 0 9px}.terminal51 .macbar span{flex:1}.terminal51 .console{font-size:11px;line-height:1.5;padding:12px;min-height:240px;max-height:420px}.terminal51 .logrow{font-size:11px;gap:8px}.terminal51 .macbar button{padding:1px 8px;font-size:13px}.terminal-full{position:fixed;inset:0;z-index:3000;background:#141b26;display:flex;flex-direction:column;padding:8px}.terminal-full .console{flex:1;max-height:none;min-height:0}.terminal-full .macbar{flex-shrink:0}
.trend51{width:100%;max-height:240px}.ringwrap{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.ringwrap p{margin:3px 0}#analytics51{margin:20px 0}#analytics51 .stats{grid-template-columns:repeat(3,1fr)}.note[role=button]{cursor:pointer}.note[role=button]:hover{transform:translateY(-2px)}
@media(min-width:901px){.sidebar-small aside{width:82px;padding:22px 12px}.sidebar-small .shell{margin-left:82px}.sidebar-small aside .brand>div,.sidebar-small .workspace,.sidebar-small .sidebarfoot,.sidebar-small .navlabel{display:none}.sidebar-small .nav{font-size:0;justify-content:center;padding:12px}.sidebar-small .nav span{font-size:22px!important}.sidebar-small .brand{justify-content:center;margin-bottom:24px}}
@media(max-width:900px){.topright{flex-wrap:wrap;gap:5px}.topright .btn{font-size:11px;padding:5px 8px}.crumb{display:none}#analytics51 .stats{grid-template-columns:1fr}.modal{max-width:calc(100vw - 20px);max-height:90dvh}.modalshade{padding:10px}.ringwrap{justify-content:center}.terminal51 .logrow{display:block;overflow-wrap:anywhere}.terminal51 .time{font-size:10px}.terminal51 .message{display:block}.notice-card{padding:12px 14px 18px}.logincard{padding:24px!important}}
select{appearance:none;background:var(--surface);color:var(--ink);border:2px solid var(--line);border-radius:11px;padding:10px 35px 10px 12px;box-shadow:2px 3px 0 #21384b30}
.select51-trigger{display:flex;width:100%;justify-content:space-between;gap:12px;align-items:center;background:var(--surface);color:var(--ink);border:2px solid var(--line);border-radius:10px;padding:9px 12px;text-align:left;box-shadow:2px 3px 0 #21384b30}
.select51-popup{position:fixed;z-index:10000;max-height:300px;overflow:auto;background:var(--surface);color:var(--ink);border:2px solid var(--line);border-radius:12px;padding:8px;box-shadow:5px 5px 0 #21384b50;animation:pagein51 .15s ease-out}.select51-popup input{width:100%;border:1px solid var(--line);padding:8px;margin-bottom:5px;border-radius:7px;background:var(--surface);color:var(--ink)}.select51-popup button{display:block;width:100%;text-align:left;border:0;border-radius:7px;padding:9px 12px;background:transparent;color:inherit}.select51-popup button:hover,.select51-popup button:focus-visible{background:#9fc6b650;outline:2px solid var(--line)}.select51-popup button[aria-selected=true]{background:#e5c35555;font-weight:bold}.select51-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* V5.1.1 compact notification and equal chart panels */
#notice-stack{width:min(280px,calc(100vw - 28px));right:14px;top:14px;gap:8px}.notice-card{padding:9px 11px 13px;border-radius:10px;box-shadow:3px 3px 0 #263a5240;font-size:12px;line-height:1.45}.notice-card b{font-size:12px}.notice-card p{margin-top:4px}.notice-card button{font-size:16px;line-height:1}.notice-card i{height:3px}
#analytics51 .cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}#analytics51 .cols>div{min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.plot511{width:100%;min-width:0}.plot511 svg{display:block;width:100%;height:240px}.plot511 text{fill:currentColor;font-size:12px}.grid511{stroke:currentColor;stroke-opacity:.15;stroke-dasharray:3 4}.point-info511{font-size:12px;min-height:36px;margin:4px 0 0;color:var(--muted)}.plot511 circle{cursor:pointer}.plot511 circle:focus{outline:none;stroke:var(--ink);stroke-width:3}.upload-report511{white-space:pre-wrap;overflow:auto;max-height:220px;font-size:12px}.range-label511{font-size:12px;color:var(--muted)}
@media(max-width:900px){#analytics51 .cols{grid-template-columns:minmax(0,1fr)}.plot511 svg{height:220px}}

.secret-summary512{display:block;padding:7px 10px;margin:5px 0;border:1px dashed var(--line);border-radius:7px;letter-spacing:1px;color:var(--muted);background:#9fc6b620;font-family:monospace}

/* V5.1.2 graphite + sage + warm amber. Readable surfaces, no neon fills. */
:root[data-theme=dark]{--paper:#16191d;--surface:#22272b;--glass:rgba(34,39,43,.96);--ink:#e8e5dd;--line:#4c575b;--muted:#a4b0af;--yellow:#d4b474;--mint:#8db8a7;--blue:#9bb5c7;--pink:#c3a1ad}
[data-theme=dark] body{background-image:linear-gradient(#e8e5dd04 1px,transparent 1px),linear-gradient(90deg,#e8e5dd04 1px,transparent 1px)}
[data-theme=dark] aside{background:#191f22;color:#deded6}[data-theme=dark] .nav.active{background:#a6b9a1!important;color:#18221c!important}
[data-theme=dark] :is(.welcome,.note,.hint,.notepaper,.cover,.badge,th,.demo,.statusstrip){background:#2b3436!important;color:#dce3dc!important}
[data-theme=dark] .note:nth-child(2){background:#383329!important;color:#e1d4b3!important}[data-theme=dark] .primary{background:#a6b9a1!important;color:#15231c!important}[data-theme=dark] .yellow{background:#c7ad77!important;color:#292319!important}
[data-theme=dark] .stathead>span,[data-theme=dark] .channelicon{background:#39494a!important;color:#c0d2c6!important}[data-theme=dark] mark{background:#62563c;color:#f4e4bb}[data-theme=dark] .logo{background:#c7ad77;color:#20241e}
[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select{background:#1d2326!important;color:#e8e5dd!important}[data-theme=dark] .console{background:#13191b;color:#bdcec5}[data-theme=dark] .macbar{background:#283034;color:#c0cec9}
[data-theme=dark] .badge.paid,[data-theme=dark] .badge.completed{color:#b6d7b5!important;background:#30473c!important}[data-theme=dark] .badge.failed{color:#e5b5ad!important;background:#513734!important}
#chain-content td{max-width:280px;overflow-wrap:anywhere}#sync512{font-size:10px;color:var(--muted)}

/* V5.1.3 dedicated analytical cards */
#analytics51{border:1px solid var(--line);box-shadow:none;border-radius:18px;overflow:visible}#analytics51 .cols>div{border:1px solid #82929b30;box-shadow:none;border-radius:16px;padding:20px;background:var(--surface)}#analytics51 h4{font-size:14px;font-weight:600;margin:0 0 12px}#analytics51 .panelhead{border-bottom:1px solid #82929b25}#analytics51 .btn{box-shadow:none;border:1px solid #82929b40;border-radius:8px}
.plot513{position:relative;touch-action:pan-y}.plot513 svg{height:260px;width:100%;display:block}.plot513 .grid511{stroke-opacity:.12;stroke-dasharray:3 5}.plot513 text{font-size:11px;fill:var(--muted)}.plot513 .point-info511{font-size:11px;min-height:20px;opacity:.8}
.tooltip513,.ring-tip513{position:absolute;z-index:10;pointer-events:none;background:var(--surface);color:var(--ink);border:1px solid #82929b40;box-shadow:0 8px 28px #0002;border-radius:10px;padding:12px;font-size:12px;min-width:174px;max-width:230px}.tooltip513 b{display:block;font-weight:600;margin-bottom:10px}.tooltip513 div{display:flex;gap:8px;align-items:center}.tooltip513 strong{margin-left:auto}.tooltip513 small{display:block;color:var(--muted);margin-top:7px}.tooltip513 i,.legend513 i{width:8px;height:8px;border-radius:50%;flex:0 0 8px;display:inline-block}
.donut513{display:flex;align-items:center;gap:22px;min-height:260px}.donut-visual513{position:relative;width:210px;flex:0 0 210px}.donut-visual513 svg{width:100%;display:block}.ring-label513{fill:var(--muted);font-size:12px}.ring-total513{fill:var(--ink);font-size:26px;font-weight:700}.ring-tip513{left:5px;bottom:0;min-width:160px;font-size:11px}.legend513{flex:1;min-width:0}.legend513>div{display:flex;align-items:center;gap:8px;padding:9px 0;font-size:12px;cursor:default}.legend513 span{flex:1;overflow-wrap:anywhere}.legend513 small{color:var(--muted);min-width:42px;text-align:right}.donut513 circle[data-ring513]{pointer-events:stroke;transition:filter .15s}.donut513 circle[data-ring513]:hover{filter:brightness(1.1)}
[hidden]{display:none!important}@media(max-width:1100px){.donut513{flex-wrap:wrap;justify-content:center;gap:8px}.legend513{flex-basis:100%}.plot513 svg{height:230px}}@media(max-width:500px){#analytics51 .cols>div{padding:12px}.tooltip513{font-size:11px;min-width:160px;padding:10px}}

/* 5.1.4: calm analytical surfaces and intentional motion */
#analytics51{background:var(--surface);border-color:#82929b30;box-shadow:0 8px 28px #15233906}
#analytics51 .cols{gap:20px;margin-top:18px}#analytics51 .cols>div{padding:22px;border-color:#82929b24;box-shadow:0 3px 12px #15233904;transition:border-color .2s,box-shadow .2s}
#analytics51 .cols>div:hover{border-color:#82929b55;box-shadow:0 8px 24px #1523390a}#analytics51 h4{letter-spacing:.25px;color:var(--ink)}
.plot513 .line514{filter:drop-shadow(0 2px 3px #648bba20)}.plot513 .cross513{stroke-width:1;stroke-opacity:.6}.plot513 .dot513{filter:drop-shadow(0 0 4px #638cb950)}
.tooltip513{border-color:#82929b30;box-shadow:0 12px 34px #14233220;padding:13px 15px;border-radius:12px;animation:tipin514 .12s ease-out;font-variant-numeric:tabular-nums}
.tooltip513 strong{font-size:14px}.tooltip513 b{font-size:11px;color:var(--muted);font-weight:500}.tooltip513 small{font-size:10px}.plot513 .point-info511{border-top:1px solid #82929b15;padding-top:8px;font-size:10px}
.legend513>div{border-radius:8px;padding:10px 8px;margin:2px 0;transition:background .16s,opacity .16s;outline-offset:2px}.legend513 small{font-variant-numeric:tabular-nums}.legend513 b{font-variant-numeric:tabular-nums;font-size:13px}
.donut513 circle[data-ring513]{transition:opacity .18s,stroke-width .18s,filter .18s;cursor:pointer}.donut513.ring-active514 circle[data-ring513]:not(.ring-selected514){opacity:.25}.donut513 circle.ring-selected514{stroke-width:29;filter:drop-shadow(0 2px 4px #0002)}.legend513 .ring-selected514{background:#82929b15}.donut513.ring-active514 .legend513>div:not(.ring-selected514){opacity:.5}.ring-label513{font-size:10px;letter-spacing:.3px}.ring-total513{font-size:28px;font-variant-numeric:tabular-nums}.ring-tip513{border-radius:9px;font-size:11px;box-shadow:0 6px 18px #0002}
@keyframes tipin514{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
[data-theme=dark] #analytics51 .cols>div{background:#252b30;border-color:#778a9328}[data-theme=dark] .tooltip513,[data-theme=dark] .ring-tip513{background:#2a3238;border-color:#8ca0ad40;box-shadow:0 12px 34px #0005}
@media(max-width:500px){#analytics51 .cols>div{padding:13px}.donut-visual513{width:190px;flex-basis:190px}.tooltip513{padding:10px 12px}}
@media(prefers-reduced-motion:reduce){.donut513 circle,.legend513>div,.tooltip513{transition:none!important;animation:none!important}}

/* V5.1.5 hover magnification: scale only SVG, never tooltip ancestors. */
.plot513 svg{transform-origin:center;transition:scale .25s cubic-bezier(.22,.61,.36,1);overflow:visible}.donut-visual513 svg{transform-origin:center;transition:scale .28s cubic-bezier(.22,.61,.36,1);overflow:visible}
@media(hover:hover) and (pointer:fine){.plot513:hover svg{scale:1.025}.donut513.ring-active514 .donut-visual513 svg{scale:1.065}.legend513>div:hover{background:#82929b18}.plot513:hover .line514{stroke-width:3.2;filter:drop-shadow(0 3px 5px #648bba35)}}
.plot513 .line514{transition:stroke-width .2s,filter .2s}.donut513 circle.ring-selected514{stroke-width:30;filter:drop-shadow(0 3px 5px #0003)}.donut513 circle[data-ring513]{transition:opacity .2s,stroke-width .25s,filter .25s}
.tooltip513.cursor-tip515,.ring-tip513.cursor-tip515{position:fixed!important;z-index:12000;pointer-events:none;max-width:min(260px,calc(100vw - 20px));min-width:160px;white-space:normal;overflow-wrap:anywhere;animation:none!important;backdrop-filter:blur(12px);border:1px solid #82929b45;box-shadow:0 10px 30px #12203325,0 2px 6px #12203312}
.tooltip513.cursor-tip515{padding:13px 15px}.ring-tip513.cursor-tip515{padding:11px 14px;font-size:12px}.tooltip513 strong{letter-spacing:.2px}.legend513 i{box-shadow:0 0 0 3px #82929b10}
[data-theme=dark] .cursor-tip515{box-shadow:0 14px 36px #0006!important;background:rgba(38,47,53,.97)!important}
@media(prefers-reduced-motion:reduce){.plot513 svg,.donut-visual513 svg{scale:1!important;transition:none!important}}

/* V5.1.6 compact three-column product gallery */
.productgrid:has(>.product){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.productgrid>.product{min-width:0;border-width:2px;border-radius:14px;box-shadow:3px 3px 0 #24384b25}.productgrid>.product .cover{height:100px;min-height:0;padding:12px}.productgrid>.product .cover>span{font-size:30px!important}.productgrid>.product .productbody{padding:14px}.productgrid>.product h3{font-size:16px;line-height:1.45;margin-bottom:7px;overflow-wrap:anywhere}.productgrid>.product .productbody>p{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.productgrid>.product .price{font-size:20px}.productgrid>.product .subtle{font-size:11px}.productgrid>.product .productbottom{gap:8px;flex-wrap:wrap}.productgrid>.product .btn{padding:5px 9px;font-size:12px;box-shadow:2px 2px 0 #24384b25}.status-ring516 .legend513>div{padding:6px 7px}.status-ring516 .zero516{opacity:.65}.status-ring516{min-height:280px}.donut513 circle[data-ring513]{stroke-linejoin:round}
@media(max-width:1100px){.productgrid:has(>.product){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.productgrid:has(>.product){grid-template-columns:minmax(0,1fr)}.productgrid>.product .cover{height:88px}}

/* V5.1.7 full-width analytics */
.combined517{margin:18px 0 26px}.legend517{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:12px;margin:12px 0}.legend517 span{display:inline-flex;gap:6px;align-items:center}.legend517 i{width:9px;height:9px;border-radius:50%}.legend517 small{margin-left:auto;opacity:.65}.multi517 svg{width:100%;height:330px}.extra517{margin-top:22px;padding:14px;border:1px solid #8899aa30;border-radius:14px}.extra517 summary{cursor:pointer;font-size:13px}.multi517:hover .series517{stroke-width:3}.multi517 .tooltip513{min-width:205px}.multi517 path{transition:stroke-width .25s}.combined517 .multi517:hover{transform:scale(1.012)}@media(max-width:600px){.multi517 svg{height:245px}.legend517{gap:8px}.legend517 small{width:100%;margin:0}.multi517{padding:8px}}

/* V5.1.8 grouped bars */
.bars518 svg{width:100%;height:330px}.bar518{transform-box:fill-box;transform-origin:center bottom;transition:opacity .2s,filter .2s,transform .2s}.bars518:has(.bar-active518) .bar518:not(.bar-active518){opacity:.34}.bar518.bar-active518{filter:drop-shadow(0 4px 5px #1f293730);transform:scaleX(1.12)}.bars518:hover{transform:scale(1.008)}.bars518 .tooltip513{min-width:210px}.ring-tip513.cursor-tip515,.tooltip513.cursor-tip515{margin:0!important}@media(max-width:600px){.bars518 svg{height:245px}.bars518{padding:8px}.bar518{rx:2}}

/* V5.1.9 merged stacked columns */
.stacked519 svg{width:100%;height:330px}.stack-seg519{transform-box:fill-box;transform-origin:center;transition:opacity .18s,filter .18s,transform .18s;stroke:var(--surface);stroke-width:1.4}.stacked519:has(.stack-active519) .stack-seg519:not(.stack-active519){opacity:.28}.stack-seg519.stack-active519{filter:brightness(1.04) drop-shadow(0 3px 4px #1e293b28);transform:scaleX(1.07)}.stack-tip519.cursor-tip515{min-width:196px;padding:10px 12px}.legend519 small{font-weight:500}.stacked519:hover{transform:none!important}@media(max-width:600px){.stacked519 svg{height:250px}.stacked519{padding:7px}.stack-tip519.cursor-tip515{min-width:178px;font-size:11px}}

/* V5.2.0 operations dashboard */
.dash-hero520{position:relative;overflow:hidden;min-height:126px;background:linear-gradient(125deg,#202f46,#344d68 58%,#526f82);color:#fff;border:0}.dash-hero520:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-55px;top:-115px;background:radial-gradient(circle,#f4cf7b55,transparent 68%);animation:float520 6s ease-in-out infinite}.dash-hero520 small,.panelhead small{font-size:10px;letter-spacing:.16em;opacity:.67}.dash-hero520 h2{margin:7px 0}.dash-live520{z-index:1;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center;padding:13px 16px;border:1px solid #ffffff30;border-radius:14px;background:#ffffff12;backdrop-filter:blur(10px)}.dash-live520 i{grid-row:1/3;width:10px;height:10px;border-radius:50%;background:#ef7c80;box-shadow:0 0 0 5px #ef7c8030}.dash-live520.ok i{background:#76d2ac;box-shadow:0 0 0 5px #76d2ac30;animation:pulse520 1.8s infinite}.dash-live520 span{font-size:10px;letter-spacing:.12em}.dash-live520 b{font-size:17px}.ops-strip520{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}.ops-strip520 button{border:1px solid #8192a425;background:var(--surface);color:var(--ink);border-radius:15px;padding:15px;text-align:left;display:grid;gap:2px;transition:.22s transform,.22s box-shadow,.22s border-color}.ops-strip520 button:hover{transform:translateY(-3px);box-shadow:0 10px 22px #24354a12;border-color:#7890ad55}.ops-strip520 b{font-size:24px}.ops-strip520 span{font-size:12px;font-weight:700}.ops-strip520 small{font-size:10px;color:var(--muted)}.dashboard-grid520{display:grid;grid-template-columns:1.15fr .85fr;gap:15px;margin:15px 0}.stock-watch520{display:grid;gap:13px}.stock-row520{display:grid;grid-template-columns:minmax(120px,1fr) minmax(80px,1.2fr) 34px;gap:12px;align-items:center}.stock-row520 span{display:grid}.stock-row520 small{color:var(--muted);font-size:10px}.stock-row520>i{height:7px;border-radius:10px;background:#8393a318;overflow:hidden}.stock-row520 em{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#79bba5,#86a8d7)}.stock-row520 strong{text-align:right}.stock-row520 strong.risk{color:#d26e76}.pulse-body520{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center}.pulse-number520{display:grid;text-align:center;padding:18px;border-radius:50%;aspect-ratio:1;place-content:center;background:radial-gradient(circle,var(--surface) 53%,transparent 54%),conic-gradient(#77b9a2 0 72%,#8293a41f 72%)}.pulse-number520 strong{font-size:34px}.pulse-number520 span{font-size:11px}.pulse-number520 small{margin-top:7px;color:var(--muted)}.pulse-list520 p{display:grid;grid-template-columns:9px 1fr auto;align-items:center;gap:8px;border-bottom:1px solid #8393a31c;padding:10px 0;margin:0}.pulse-list520 i{width:8px;height:8px;border-radius:50%}.pulse-list520 .pending{background:#e5ae53}.pulse-list520 .paid{background:#818cf8}.pulse-list520 .done{background:#34bda0}.recent520{margin-top:15px}.dash-footer520{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.dash-footer520 span{padding:8px 12px;border-radius:99px;background:#8393a312;font-size:11px}.analytics520{margin-top:15px;overflow:visible}.analytics-head520 p{margin:5px 0 0;color:var(--muted);font-size:11px}.range-tabs520{display:flex;gap:6px}.range-tabs520 .active520{background:var(--ink);color:var(--surface)}.metric-row520{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:14px}.metric-row520 .stat{margin:0}.chart-stage520{margin:0 14px 14px;padding:16px;border:1px solid #8393a326;border-radius:16px;background:linear-gradient(180deg,#8393a307,transparent)}.stage-title520,.mini-title520{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.stage-title520 h4,.mini-title520 h4{margin:0}.stage-title520 p{font-size:10px;color:var(--muted);margin:4px 0}.stage-title520>span{font-size:10px;padding:6px 9px;border-radius:99px;background:#8393a314}.insight-grid520{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 14px 14px}.insight-grid520>section{border:1px solid #8393a326;border-radius:16px;padding:15px;background:var(--surface)}.mini-title520 small{color:var(--muted)}.data-note520{font-size:10px;color:var(--muted);padding:0 16px 15px}.analytics520,.ops-strip520,.dashboard-grid520,.recent520{animation:rise520 .42s cubic-bezier(.2,.7,.2,1) both}.ops-strip520{animation-delay:.05s}.dashboard-grid520{animation-delay:.1s}.recent520{animation-delay:.15s}@keyframes rise520{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes pulse520{50%{box-shadow:0 0 0 9px #76d2ac08}}@keyframes float520{50%{transform:translate(-10px,12px)}}
[data-theme=dark] .dash-hero520{background:linear-gradient(125deg,#20292e,#2e3c42 60%,#485d59)}[data-theme=dark] .chart-stage520,[data-theme=dark] .insight-grid520>section{background:#252c30;border-color:#8fa1a524}
@media(max-width:900px){.ops-strip520,.metric-row520{grid-template-columns:repeat(2,1fr)}.dashboard-grid520,.insight-grid520{grid-template-columns:1fr}}@media(max-width:560px){.dash-hero520{align-items:flex-start;gap:14px}.dash-live520{padding:9px 11px}.ops-strip520{gap:8px}.ops-strip520 button{padding:12px}.pulse-body520{grid-template-columns:130px 1fr}.metric-row520{padding:10px}.chart-stage520{margin:0 10px 10px;padding:10px}.insight-grid520{padding:0 10px 10px}}
@media(prefers-reduced-motion:reduce){.analytics520,.ops-strip520,.dashboard-grid520,.recent520,.dash-live520.ok i,.dash-hero520:after{animation:none!important}}
/* Professional dashboard, scoped so legacy management forms retain behavior. */
body.dashboard530{background:#f4f6fa;background-image:none;color:#243047}
.dashboard530 #content{max-width:1640px;margin:auto}.dashboard530 .heading h1{font-size:29px;letter-spacing:-.7px}.dashboard530 .panel,.dashboard530 .stat{border:1px solid #e5e9f1;border-radius:14px;box-shadow:0 3px 16px #16213d04;background:#fff;transform:none}.dashboard530 .panelhead{padding:20px 22px;border-bottom:1px solid #edf0f5;gap:16px}.dashboard530 .panelhead h3{font-size:16px;margin:0}.dashboard530 .panelhead p{font-size:12px;opacity:.65;margin:6px 0 0}.dashboard530 .hero530{display:flex;justify-content:space-between;align-items:center;padding:27px 30px;border-radius:16px;background:linear-gradient(120deg,#18223c,#344276);color:#fff;border:0;box-shadow:none;transform:none;margin-bottom:22px}.hero530 h2{font-size:24px;margin:10px 0}.hero530 p,.hero530 small{opacity:.75}.health530{background:#ffffff17;padding:10px 16px;border-radius:30px;white-space:nowrap;font-size:12px}.health530.good{color:#86efcf}.grid530{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:20px}.grid530>.panel{margin:0;min-width:0}.metrics530,.ops530{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:20px 0}.metrics530 .stat{padding:22px;min-width:0;margin:0}.metrics530 .stat strong{font-size:29px;letter-spacing:-.8px}.metrics530 .stathead span{color:white;border:0;border-radius:8px}.metrics530 .stat small{font-size:11px}.ops530 button{display:grid;text-align:left;padding:18px 22px;gap:7px;color:inherit;cursor:pointer;margin:0!important}.ops530 button strong{font-size:27px}.ops530 button small{font-size:12px;opacity:.7}.ops530 button span{font-size:11px;color:#6366f1}.analytics530>.panelhead{padding:12px 0!important;border:0!important;display:flex;align-items:center;justify-content:space-between}.chart530{padding:15px;min-width:0}.chart530>svg{width:100%;height:auto;display:block;min-height:150px}.chart530 details{font-size:12px;opacity:.8}.chart530 summary{cursor:pointer;padding:8px}.chart530 details[open]{max-height:340px;overflow:auto}.ring530{display:flex;gap:20px;align-items:center;padding:22px;min-height:232px}.ring530 svg{width:160px;flex-shrink:0}.ring530>div{flex:1;min-width:0}.ring530 p{display:flex;gap:8px;align-items:center;font-size:12px;margin:12px 0}.ring530 p span{flex:1;overflow-wrap:anywhere}.ring530 p i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.ring530 p small{opacity:.65;min-width:42px;text-align:right}.rank530{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:18px;font-size:13px}.rank530 span{max-width:80%;overflow-wrap:anywhere}.rank530>div{width:100%;height:7px;border-radius:10px;background:#e9edf6}.rank530 i{display:block;height:100%;border-radius:10px;background:#6366f1}.total530>strong{font-size:34px;display:block;margin:6px 0 12px}.total530>span{font-size:12px;opacity:.65}.total530>div{margin-top:22px}.total530 p{display:flex;justify-content:space-between}.server530{display:grid;grid-template-columns:1fr 1fr 1fr 1.6fr;gap:22px;padding:24px}.gauge530{text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px}.gauge530>div{width:116px;height:116px;border-radius:50%;background:conic-gradient(var(--gauge) calc(var(--percent)*1%),#e9edf6 0);display:grid;place-items:center}.gauge530 strong{width:90px;height:90px;border-radius:50%;display:grid;place-items:center;background:#fff;font-size:21px}.gauge530 b{font-size:13px}.gauge530 small{font-size:11px;opacity:.6;line-height:1.6}.serverlist530 p{display:flex;justify-content:space-between;gap:14px;margin:0 0 10px;font-size:11px}.serverlist530 b{text-align:right}.dashboard530 .btn{box-shadow:none;border-radius:8px}.dashboard530 .btn.primary{background:#6366f1;color:#fff;border-color:#6366f1}.dashboard530 .footer{margin-top:25px}.dashboard530 .notepaper{display:none}
html[data-theme=dark] body.dashboard530{background:#101724;color:#dce4f1}html[data-theme=dark] .dashboard530 .panel,html[data-theme=dark] .dashboard530 .stat{background:#192334;border-color:#2b374b}html[data-theme=dark] .dashboard530 .panelhead{border-color:#2b374b}html[data-theme=dark] .gauge530 strong{background:#192334}html[data-theme=dark] .rank530>div{background:#2b374b}html[data-theme=dark] .ops530 button{color:#dce4f1}
@media(max-width:1100px){.server530{grid-template-columns:repeat(3,1fr)}.serverlist530{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}.ring530{flex-direction:column}.ring530>div{width:100%}.metrics530 .stat strong{font-size:24px}}
@media(max-width:700px){.grid530{grid-template-columns:1fr}.metrics530,.ops530{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metrics530 .stat{padding:16px}.dashboard530 .hero530{padding:22px;align-items:flex-start;gap:20px;flex-direction:column}.dashboard530 .hero530 h2{font-size:20px}.ring530{flex-direction:row}.server530{padding:18px;gap:22px 8px}.gauge530>div{width:86px;height:86px}.gauge530 strong{width:66px;height:66px;font-size:16px}.gauge530 small{font-size:10px}.serverlist530{display:block}.dashboard530 .panelhead{padding:17px}.analytics530>.panelhead{align-items:flex-start;flex-direction:column}.dashboard530 .heading h1{font-size:25px}.dashboard530 .heading{gap:18px}.dashboard530 .stathead{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dashboard530 *{animation:none!important;transition:none!important}}

.profile-avatar531{width:96px;height:96px;border-radius:50%;overflow:hidden;margin-bottom:20px}.profile-avatar531 img,.avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.sideuser .avatar{border-radius:50%;overflow:hidden}#credentials531{max-width:520px}

/* V5.3.2 consistent upload controls and payment actions */
input[type=file].file-input532{width:100%;min-height:64px;box-sizing:border-box;border:1px dashed #a5b4fc;border-radius:12px;background:rgba(99,102,241,.045);padding:12px;color:inherit;font:inherit;cursor:pointer}input[type=file].file-input532::file-selector-button{border:0;border-radius:8px;background:#6366f1;color:white;padding:10px 16px;margin-right:12px;font:inherit;cursor:pointer}input[type=file].file-input532:hover{border-color:#6366f1;background:rgba(99,102,241,.09)}input[type=file].file-input532:focus-visible{outline:2px solid #6366f1;outline-offset:3px}.file-help532{display:block;line-height:1.7;overflow-wrap:anywhere;opacity:.7}.paymentgrid .channel>.btn{min-height:38px;padding:8px 12px;line-height:20px;font-size:12px;border-radius:8px;box-sizing:border-box;margin-top:8px}.paymentgrid .channel>.btn[data-act=v5-qr]{background:transparent;color:inherit}html[data-theme=dark] input[type=file].file-input532{border-color:#536084;background:#ffffff06}

/* V5.3.4: scoped Cupertino analytics, no framework dependency */
.report534{padding:22px!important;position:relative;min-width:0;border-radius:20px}.report534 .panelhead{padding:0 0 18px}.report534 .panelhead small{letter-spacing:1px}.kpis534{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.kpis534>div{padding:16px;background:rgba(128,128,150,.07);border-radius:14px}.kpis534 small{opacity:.65}.kpis534 strong{display:block;font-size:25px;letter-spacing:-.7px;margin-top:6px;overflow-wrap:anywhere}.legend534{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin:12px 0}.legend534 i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}.scroll534{overflow-x:auto;overscroll-behavior-x:contain}.report534 svg{display:block;width:100%;height:auto}.report534 svg text{fill:currentColor;font-size:11px;pointer-events:none}.hit534{fill:transparent}.hit534:hover,.hit534:focus{fill:#007aff0c}.bar534{cursor:pointer;transition:opacity .12s}.bar534:hover,.bar534:focus{opacity:.72;outline:2px solid currentColor;outline-offset:1px}.report534 p{font-size:12px;opacity:.65;line-height:1.7}.tip534{position:fixed;z-index:200;pointer-events:none;background:var(--card,#fff);color:var(--text,#1c1c1e);border:1px solid #8883;box-shadow:0 15px 45px #0002;padding:16px;border-radius:15px;min-width:190px;max-width:min(290px,calc(100vw - 16px));font-size:12px}.tip534[hidden]{display:none!important}.tip534>div{display:flex;justify-content:space-between;gap:24px;padding-top:8px}.tip534 small{display:block;border-top:1px solid #8883;margin-top:10px;padding-top:8px}.tip534 span{overflow-wrap:anywhere}.report534 details{overflow:auto}.report534 summary{cursor:pointer}@media(max-width:600px){.report534{padding:14px!important}.kpis534{gap:8px}.kpis534>div{padding:10px}.kpis534 strong{font-size:19px}}@media(prefers-reduced-motion:reduce){.bar534{transition:none}}

/* V5.4 inventory, narrow sidebar and helper UI */
.v54-toolbar,.v54-actions,.v54-counts,.v54-pages,.v54-tools{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.v54-toolbar .field{min-width:180px;flex:1}.v54-counts{margin-bottom:16px}.v54-counts span{background:var(--soft,#f8f6ef);border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-width:105px}.v54-counts b{font-size:20px;margin-left:10px}.v54-actions{margin-bottom:14px}.v54-code{display:block;max-width:520px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);user-select:text}.v54-pages{justify-content:center;margin-top:15px}.v54-progress{height:14px;margin:15px 0}.emoji-tools54{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:7px}.emoji-tools54 input{max-width:230px}.emoji-tools54 small{color:var(--muted)}
@media(min-width:901px){body.sidebar-small aside{width:58px;padding-left:7px;padding-right:7px}body.sidebar-small .shell{margin-left:58px}body.sidebar-small aside .brand div,body.sidebar-small .workspace,body.sidebar-small .navlabel,body.sidebar-small .nav:not(.active){font-size:0}body.sidebar-small .nav{padding:10px 9px;justify-content:center;transform:none!important;border-radius:10px!important}body.sidebar-small .nav span{font-size:19px!important;width:auto!important;transform:none!important}body.sidebar-small .nav.active{transform:none!important;border-radius:10px!important}body.sidebar-small .sidebarfoot{display:none}body.sidebar-small aside .brand{justify-content:center}body.sidebar-small aside .logo{transform:none!important}}

.ui-icon55{width:22px;height:22px;vertical-align:middle;flex:none}.nav .ui-icon55{opacity:.85}.nav.active .ui-icon55{opacity:1}.iconbtn .ui-icon55{width:20px;height:20px}
