/* Unified design-system layer and the four responsive breakpoints. */
html,body{background:var(--bg-0);color:var(--tx-1)}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;font-size:var(--fs-body);line-height:1.55}
button,input,select,textarea{font-family:inherit}
.btn:focus-visible,.sidebar a:focus-visible,.sidebar button:focus-visible,.tabbar a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.icon{display:inline-block;width:16px;height:16px;flex:0 0 auto;vertical-align:middle;stroke:currentColor;stroke-width:1.75;fill:none}
.sidebar .icon{width:18px;height:18px}
.app-shell{background:var(--bg-0)}
.sidebar{width:256px;flex:0 0 256px;background:var(--bg-1);border-right:1px solid var(--line);box-shadow:12px 0 35px var(--overlay-black-0p18);transition:width .22s ease,transform .22s cubic-bezier(.4,0,.2,1);z-index:20}
.sidebar-head{height:72px;padding:0 var(--s-4);border-bottom:1px solid var(--line)}
.sidebar-logo{width:36px;height:36px;border-radius:var(--r-md);background:linear-gradient(135deg,var(--accent),var(--accent-1685a0));color:var(--accent-ecfeff);font-size:var(--fs-h2);box-shadow:0 8px 20px var(--accent-alpha-20-184-166-0p22)}
.sidebar-brand .brand{font-size:var(--fs-h2);color:var(--tx-1);letter-spacing:0;font-weight:700}.sidebar-subtitle{font-size:var(--fs-label);color:var(--tx-4)}
.sidebar-toggle{width:var(--tap);height:var(--tap);border-radius:var(--r-sm);background:var(--bg-2);border-color:var(--line-strong);color:var(--tx-3)}.sidebar-toggle:hover{background:var(--bg-3);color:var(--tx-1);border-color:var(--line-strong)}
.sidebar-section-title{padding:18px var(--s-5) 8px;color:var(--tx-3);font-size:var(--fs-label);letter-spacing:.08em}.sidebar-config-title{margin-top:14px}.sidebar-config-hint{padding:0 var(--s-5);color:var(--tx-3);font-size:var(--fs-label)}
.sidebar-tabs{gap:4px;padding:0 var(--s-3)}.sidebar-tabs a{min-height:44px;padding:10px 14px;border-radius:var(--r-md);color:var(--tx-2);font-size:var(--fs-body);gap:10px;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.sidebar-tabs a:hover{color:var(--tx-1);background:var(--bg-2)}.sidebar-tabs a.on{background:var(--accent-weak);color:var(--accent);font-weight:650;box-shadow:inset 3px 0 0 var(--accent)}.sidebar-tabs .tabicon{width:20px;color:var(--tx-3);font-size:var(--fs-body)}.sidebar-tabs a.on .tabicon{color:var(--accent)}.sidebar-tabs .n{min-width:28px;padding:4px 7px;border-radius:var(--r-pill);background:var(--bg-2);color:var(--tx-3);font-size:var(--fs-label)}.sidebar-tabs a.on .n{background:var(--accent-weak);color:var(--accent)}
.sidebar-subnav{gap:3px;margin:0 var(--s-3) 2px 40px;padding-left:10px;border-left:1px solid var(--line-strong)}.sidebar-subnav a{min-height:44px;padding:8px 10px;border-radius:var(--r-sm);color:var(--tx-2);font-size:var(--fs-aux)}.sidebar-subnav a:hover{background:var(--bg-2);color:var(--tx-1)}.sidebar-subnav a.on{background:var(--accent-weak);color:var(--accent)}
.system-sidebar-nav{gap:4px;margin:0 var(--s-3) 8px;max-height:none;overflow:visible;flex:0 0 auto}.system-sidebar-nav .nav-group{padding:16px 12px 6px;color:var(--tx-3);font-size:var(--fs-label);letter-spacing:.08em}.system-sidebar-nav .nav-group:first-child{padding-top:8px}.system-sidebar-nav button{min-height:44px;padding:10px 14px;border-radius:var(--r-md);color:var(--tx-2);font-size:var(--fs-body);gap:10px;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.system-sidebar-nav button:hover{background:var(--bg-2);color:var(--tx-1)}.system-sidebar-nav button.on{background:var(--accent-weak);border-color:transparent;color:var(--accent);box-shadow:inset 3px 0 0 var(--accent)}.system-sidebar-nav button span{color:var(--tx-3)}.system-sidebar-nav button.on span{color:var(--accent)}
.sidebar-foot{padding:15px var(--s-5);border-top:1px solid var(--line);color:var(--tx-3)}.sidebar-port{color:var(--tx-4)}.sidebar-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line-strong) var(--bg-1)}
.top{height:60px;flex:0 0 60px;padding:0 var(--s-5);background:var(--bg-1);border-bottom:1px solid var(--line);gap:12px}.top-left,.top-mid,.top-right{display:flex;align-items:center}.top-left{flex:0 0 auto;min-width:0;gap:10px}.top-mid{flex:1 1 320px;min-width:120px;max-width:420px}.top-right{flex:0 0 auto;gap:8px}.top-eyebrow{color:var(--tx-3);font-size:var(--fs-label)}.top-title h1{font-size:var(--fs-h1);color:var(--tx-1)}.top .q{width:100%;height:38px;background:var(--bg-0);border-color:var(--line-strong);border-radius:var(--r-md);padding:0 12px}.top .q input{font-size:var(--fs-body)}.top .q:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak)}.sync{font-size:var(--fs-aux);color:var(--tx-3);white-space:nowrap}.who{padding:7px 12px;border-radius:var(--r-md);border-color:var(--line-strong);background:var(--bg-2);color:var(--tx-2);font-size:var(--fs-body);white-space:nowrap}.who:hover{background:var(--bg-3);border-color:var(--line-strong);color:var(--tx-1)}.top .btn,.sync,.who{white-space:nowrap}.top-more{position:relative;display:block}.top-more-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:50;display:none;flex-direction:column;gap:6px;min-width:180px;padding:8px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--bg-1);box-shadow:var(--sh-2)}.top-more-menu.on{display:flex}.top-more-menu .btn{width:100%;justify-content:flex-start}
.wrap{background:var(--bg-0)}.list,.contentview,.tableview,.settingsview{padding:var(--s-6);background:var(--bg-0)}.list-toolbar{margin-bottom:18px}.list-toolbar-title b{font-size:var(--fs-h2);color:var(--tx-1)}.list-toolbar-title span{font-size:var(--fs-aux);color:var(--tx-3)}.cards{gap:14px}.card{border-radius:var(--r-md);background:var(--bg-2);border-color:var(--line);box-shadow:var(--sh-1)}.card:hover{border-color:var(--line-strong);background:var(--bg-3);box-shadow:var(--sh-2)}.productcard{padding:var(--s-4)}.card .ttl{font-size:var(--fs-h2)}.card .row{font-size:var(--fs-aux)}.cardops{gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top-color:var(--line)}
.claimpanel,.tablecard,.pricingsection,.info-panel{border-radius:var(--r-lg);background:var(--bg-2);border-color:var(--line);box-shadow:var(--sh-1)}.tablecard{padding:var(--s-4)}.tablecard .ops{border-top-color:var(--line)}
.btn{min-height:36px;padding:8px 14px;border-radius:var(--r-sm);border:1px solid var(--line-strong);background:var(--bg-2);color:var(--tx-1);font-size:var(--fs-body);white-space:nowrap;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}.btn:hover{background:var(--bg-3);border-color:var(--line-strong);color:var(--tx-1);transform:translateY(-1px);box-shadow:var(--sh-1)}.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.btn.pri{background:var(--accent-h);border-color:var(--accent-h);color:var(--accent-062c35);box-shadow:0 8px 18px var(--accent-alpha-13-148-136-0p22)}.btn.pri:hover{background:var(--accent);border-color:var(--accent)}.btn.ok{background:var(--success-alpha-34-197-94-0p15);border-color:var(--success-alpha-34-197-94-0p4);color:var(--success-4ade80)}.btn.no{background:var(--danger-alpha-239-68-68-0p15);border-color:var(--danger-alpha-239-68-68-0p4);color:var(--danger-f87171)}.btn.sm{min-height:32px;padding:6px 12px;border-radius:var(--r-sm);font-size:var(--fs-label)}.btn.lg{min-height:44px;padding:12px 16px;font-size:var(--fs-body)}.btn[disabled],.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
input[type=text],input[type=password],input[type=number],input[type=email],select,textarea,.field input,.field select,.field textarea{min-height:34px;padding:8px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--bg-0);color:var(--tx-1);font:inherit;font-size:var(--fs-body);outline:2px solid transparent}textarea{min-height:92px}.field input:focus,.field select:focus,.field textarea:focus,input[type=text]:focus,input[type=password]:focus,input[type=number]:focus,input[type=email]:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-weak)}
input[type=checkbox],input[type=radio]{appearance:none;-webkit-appearance:none;width:18px;height:18px;flex:0 0 auto;min-height:0;min-width:0;padding:0;margin:0;border:1.5px solid var(--line-strong);border-radius:var(--r-sm);background:var(--bg-1);display:inline-grid;place-content:center;cursor:pointer;transition:.15s}input[type=radio]{border-radius:50%}input[type=checkbox]:checked,input[type=radio]:checked{background:var(--accent);border-color:var(--accent)}input[type=checkbox]:checked::after{content:"";width:9px;height:5px;border-left:2px solid var(--bg-0);border-bottom:2px solid var(--bg-0);transform:rotate(-45deg) translateY(-1px)}input[type=radio]:checked::after{content:"";width:7px;height:7px;border-radius:50%;background:var(--bg-0)}input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.card,.claimpanel,.tablecard,.pricingsection,.info-panel,.contenttablewrap,.sheetwrap,.modal .mbox{border-radius:var(--r-md)}.account-view-tabs{gap:4px;margin-bottom:16px;padding:4px;border-radius:var(--r-md);background:var(--bg-1);border-color:var(--line)}.account-view-tabs button{min-height:32px;padding:6px 14px;border-radius:var(--r-sm);font-size:var(--fs-aux);color:var(--tx-3)}.account-view-tabs button:hover{background:var(--bg-2);color:var(--tx-1)}.account-view-tabs button.on{background:var(--accent-weak);color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)}
.chip{border-radius:var(--r-pill);padding:3px 9px;font-size:var(--fs-label);font-weight:500}.chip.g{background:var(--success-alpha-34-197-94-0p13);color:var(--success-4ade80);border-color:var(--success-alpha-34-197-94-0p3)}.chip.b{background:var(--danger-alpha-239-68-68-0p13);color:var(--danger-f87171);border-color:var(--danger-alpha-239-68-68-0p3)}.chip.a{background:var(--warning-alpha-245-158-11-0p13);color:var(--warning-fbbf24);border-color:var(--warning-alpha-245-158-11-0p3)}.chip.c{background:var(--neutral-overlay-100-116-139-0p15);color:var(--tx-3);border-color:var(--neutral-overlay-100-116-139-0p3)}.chip.d{background:var(--info-alpha-76-141-255-0p13);color:var(--info-7ba9ff);border-color:var(--info-alpha-76-141-255-0p32)}
.modal .mbox{width:min(560px,92vw);background:var(--bg-1);border-color:var(--line);box-shadow:var(--sh-2)}.modal textarea,.modal input[type=text]{background:var(--bg-0);border-color:var(--line)}.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.tablequeue,.table-host{display:block;width:100%;min-width:0}.table-scroll{width:100%;max-height:calc(100vh - 260px);overflow:auto;border:1px solid var(--line);border-radius:var(--r-md);background:var(--bg-1)}.table-scroll table{width:100%;min-width:640px;border-collapse:separate;border-spacing:0}.table-scroll thead th{position:sticky;top:0;z-index:2;background:var(--bg-3);box-shadow:inset 0 -1px 0 var(--line);font-size:var(--fs-aux);font-weight:600;color:var(--tx-2);text-align:left;padding:10px 12px}.table-scroll tbody td{padding:10px 12px;border-top:1px solid var(--line);font-size:var(--fs-body)}.table-scroll tbody tr:hover{background:var(--bg-3)}
.system-list{min-width:0}.system-list-head{margin-bottom:var(--s-3)}.system-list-head h3{font-size:var(--fs-h2);color:var(--tx-1)}.system-list-controls{display:flex;align-items:center;gap:var(--s-2);flex-wrap:wrap;margin-bottom:var(--s-2)}.system-list-controls input,.system-list-controls select{min-height:36px;width:auto;min-width:140px;font-size:var(--fs-aux)}.system-list-controls .system-list-search{flex:1 1 220px;max-width:320px}.system-list-selection{display:flex;align-items:center;gap:var(--s-3);min-height:32px;margin-bottom:var(--s-2);color:var(--tx-3);font-size:var(--fs-aux)}.system-list-selection label{display:flex;align-items:center;gap:var(--s-2)}.system-select-col{width:44px;min-width:44px;text-align:center}.system-select-col input{width:18px;height:18px}.system-list-pager{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);padding:var(--s-3) 0;color:var(--tx-3);font-size:var(--fs-aux)}.system-list-pager>div{display:flex;gap:var(--s-2)}.density-compact .table-scroll tbody td{padding:6px 8px}.density-compact .table-scroll thead th{padding:7px 8px}.density-compact .gallery-grid{gap:var(--s-2)}.density-compact .gallery-item{padding:6px}.system-gallery-list .gallery-grid{margin-top:0}.system-gallery-list .gallery-item{min-height:0}
.subaccount-table-scroll{width:100%;overflow:auto;border:1px solid var(--line);border-radius:var(--r-md);background:var(--bg-1)}.subaccount-table{width:100%;min-width:980px;border-collapse:separate;border-spacing:0}.subaccount-table th,.subaccount-table td{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top;text-align:left;font-size:var(--fs-body)}.subaccount-table th{position:sticky;top:0;z-index:2;background:var(--bg-3);color:var(--tx-2);font-size:var(--fs-aux);font-weight:600}.subaccount-table tr:last-child td{border-bottom:0}.subaccount-table tbody tr:hover td{background:var(--bg-3)}.subaccount-table td:nth-child(1){min-width:150px}.subaccount-table td:nth-child(2){min-width:140px}.subaccount-table td:nth-child(3){min-width:110px}.subaccount-table td:nth-child(4){width:80px}.subaccount-table td:nth-child(5){width:90px}.subaccount-table td:nth-child(6){min-width:150px}.subaccount-table td:nth-child(7){min-width:320px}.subaccount-actions{display:flex;flex-wrap:wrap;gap:var(--s-2);margin-bottom:var(--s-2)}.cap-tools{display:flex;align-items:center;gap:var(--s-2);flex-wrap:wrap;margin:var(--s-2) 0}.cap-tools input,.cap-tools select{min-height:34px;min-width:180px;width:auto;font-size:var(--fs-aux)}.cap-tools input{flex:1 1 220px}.subaccount-table .apikey-list{margin-top:var(--s-2)}
.top .ver{white-space:nowrap}.scrim{display:none}.tabbar{display:none}
@media (min-width:1280px){.sidebar{width:256px;flex-basis:256px}.top{height:60px;flex-basis:60px;padding:0 var(--s-5)}.top-mid{flex:1 1 320px;max-width:420px}.wrap>.list,.wrap>.contentview,.wrap>.tableview,.wrap>.settingsview{max-width:1440px;margin:0 auto;width:100%}}
@media (min-width:1024px) and (max-width:1279px){.sidebar{width:224px;flex-basis:224px}.top{padding:0 var(--s-4)}.top-right{gap:6px}.top .q{height:44px}.top .q input{min-height:44px}.top .btn,.list-toolbar .btn{min-height:44px}.top-more>button{min-width:44px}.ver{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.list,.contentview,.tableview,.settingsview{padding:var(--s-5)}}
@media (min-width:768px) and (max-width:1023px){body:not(.nav-open) .sidebar{transform:translateX(-100%)}body.nav-open .sidebar{transform:translateX(0);width:min(80vw,300px);flex-basis:min(80vw,300px);position:fixed;inset:0 auto 0 0;box-shadow:var(--sh-2)}body.nav-open .scrim{display:block;position:fixed;inset:0;background:var(--overlay-black-0p66);z-index:15}.sidebar-toggle,.mobile-menu-btn{display:flex;width:44px;height:44px}.top{flex:0 0 auto;position:relative;height:auto;min-height:68px;flex-wrap:wrap;padding:10px var(--s-4)}.top-left{width:100%;order:1}.top-mid{width:100%;max-width:none;order:2}.top .q{height:44px}.top .q input{min-height:44px}.top-right{position:absolute;right:var(--s-4);top:17px}.top-right .top-more,.top-right .btn.pri{display:none}.top-title h1{font-size:var(--fs-h2)}.wrap{min-height:calc(100vh - 108px)}.list,.contentview,.tableview,.settingsview{padding:var(--s-5)}.btn.sm{min-height:44px}.ver{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}.table-scroll table{min-width:900px}.table-scroll td:first-child,.table-scroll th:first-child{position:sticky;left:0;z-index:3;background:var(--bg-1)}}
@media (max-width:767px){body:not(.nav-open) .sidebar{transform:translateX(-100%)}body.nav-open .sidebar{transform:translateX(0);width:min(80vw,300px);flex-basis:min(80vw,300px);position:fixed;inset:0 auto 0 0;border-radius:0 var(--r-lg) var(--r-lg) 0;box-shadow:var(--sh-2)}body.nav-open .scrim{display:block;position:fixed;inset:0;background:var(--overlay-black-0p72);z-index:15}.mobile-menu-btn{display:flex;width:44px;height:44px;align-items:center;justify-content:center;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--bg-2);color:var(--tx-2);font-size:var(--fs-h2-mobile)}.top{height:60px;min-height:60px;padding:8px var(--s-3);gap:8px}.top-left{width:auto;flex:1;min-width:0}.top-eyebrow,.top .ver,.top-mid,.top-right .sync,.top-right .top-more,.top-right .btn.pri{display:none}.top-title h1{font-size:var(--fs-h1-mobile);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-right{display:flex;flex:0 0 auto;position:static}.who{min-height:44px;padding:7px 10px;max-width:44px;overflow:hidden}.who #whoTxt{display:none}.wrap{min-height:calc(100vh - 60px - 56px);padding-bottom:56px}.list,.contentview,.tableview,.settingsview{padding:var(--s-3)}.cards{display:flex;flex-direction:column;gap:var(--s-3)}.cardops{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-2)}.cardops .btn,.btn{min-height:44px}.btn{padding:10px 14px}.btn.sm{min-height:44px;font-size:var(--fs-aux-mobile)}body{font-size:var(--fs-body-mobile)}.top .q input,input[type=text],input[type=password],input[type=number],input[type=email],select,textarea,.field input,.field select,.field textarea{font-size:var(--fs-input);min-height:44px}.gallery-grid{grid-template-columns:repeat(2,minmax(140px,1fr));gap:var(--s-3)}.system-layout{display:block}.system-form-grid,.newaccount-fields,.modelrow,.pricinggrid,.pricingresult{grid-template-columns:1fr}.table-scroll{max-height:none;border:0;background:transparent;overflow:visible}.table-scroll table,.table-scroll thead,.table-scroll tbody,.table-scroll tr,.table-scroll td{display:block;width:100%}.table-scroll table{min-width:0}.table-scroll thead{position:absolute;left:-9999px}.table-scroll tr{border:1px solid var(--line);border-radius:var(--r-md);margin-bottom:var(--s-3);padding:6px var(--s-3);background:var(--bg-2)}.table-scroll td{display:flex;justify-content:space-between;gap:var(--s-3);border:0;padding:7px 0;font-size:var(--fs-body-mobile)}.table-scroll td::before{content:attr(data-label);color:var(--tx-3);font-size:var(--fs-aux-mobile);flex:0 0 auto}.table-scroll td:last-child{justify-content:flex-end}.table-scroll td:first-child{position:static;background:transparent}.modal{padding:0;align-items:flex-end}.modal .mbox{width:100%;max-width:none;max-height:90vh;border-radius:var(--r-lg) var(--r-lg) 0 0}.mfoot{padding-bottom:calc(var(--s-3) + env(safe-area-inset-bottom))}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:repeat(4,1fr);padding:6px var(--s-2) calc(6px + env(safe-area-inset-bottom));background:var(--bg-1);border-top:1px solid var(--line);box-shadow:0 -8px 24px var(--overlay-black-0p25)}.tabbar a{min-height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:var(--tx-3);font-size:var(--fs-label-mobile);text-decoration:none;border-radius:var(--r-sm)}.tabbar a.on,.tabbar a:focus-visible{color:var(--accent);background:var(--accent-weak)}.tabbar .tabicon{font-size:var(--fs-h2-mobile);line-height:1}}
@media (max-width:767px){.system-list-controls{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.system-list-controls .system-list-search{grid-column:1/-1;max-width:none}.system-list-controls input,.system-list-controls select,.system-list-controls .btn{width:100%;min-width:0;min-height:44px}.system-list-selection{min-height:44px}.system-list-pager{flex-wrap:wrap}.system-list-pager>div{width:100%}.system-list-pager>div .btn{flex:1;min-height:44px}.system-gallery-list .gallery-grid{grid-template-columns:repeat(2,minmax(140px,1fr))}}
@media (max-width:767px){.subaccount-table-scroll{border-radius:var(--r-sm)}.subaccount-table{min-width:920px}.cap-tools{display:grid;grid-template-columns:1fr 1fr}.cap-tools input,.cap-tools select{width:100%;min-width:0;min-height:44px}.cap-tools input{grid-column:1/-1}.cap-tools .btn{min-height:44px}}
@media (orientation:landscape) and (max-height:500px){.sidebar{position:fixed;inset:0 auto 0 0}.top{height:48px;min-height:48px}.wrap{min-height:calc(100vh - 48px)}}

