@charset "UTF-8";
:root{--brand:#e65c24;--brand-dark:#bf4616;--ink:#252c37;--muted:#75808d;--line:#e6e9ee;--bg:#f3f5f8;--white:#fff;--orange-bg:#fff2e9;--green:#178463;--green-bg:#e9f7f1;--red:#c33e49;--red-bg:#fff0f1;--blue:#4275bb;--blue-bg:#edf4ff;--yellow:#a96d14;--yellow-bg:#fff8e5;--shadow:0 3px 14px #26354a06;--radius:14px}
*{box-sizing:border-box}body{margin:0;font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e65c2480;outline-offset:3px}svg{vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-.6px;font-weight:700}h2{font-size:17px}h3{font-size:15px}.muted{color:var(--muted)}.mono{font-family:"Cascadia Code",Consolas,monospace;font-variant-numeric:tabular-nums}.small{font-size:12px}.tiny{font-size:11px}.strong{font-weight:700}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap{flex-wrap:wrap}.gap{margin-top:20px}.stack{display:grid;gap:16px}.loading{padding:60px;text-align:center;color:var(--muted)}.icon{width:19px;height:19px;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;letter-spacing:1px}.brand img{width:35px;height:35px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1.5px;color:var(--muted)}.brand-name{line-height:1.35}.pill,.status{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:11px;font-weight:600;color:var(--muted);background:#f0f2f5}.pill{border-radius:20px}.status.green{color:var(--green);background:var(--green-bg)}.status.orange{color:var(--brand-dark);background:var(--orange-bg)}.status.red{color:var(--red);background:var(--red-bg)}.status.blue{color:var(--blue);background:var(--blue-bg)}.status.yellow{color:var(--yellow);background:var(--yellow-bg)}.dot{height:6px;width:6px;display:inline-block;border-radius:100%;background:currentColor}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font-size:12px;font-weight:600;padding:9px 13px;white-space:nowrap;min-height:36px;transition:background .15s}.btn:hover{background:#f7f8fa}.btn.primary{background:var(--brand);color:white;border-color:var(--brand)}.btn.primary:hover{background:var(--brand-dark)}.btn.soft{background:var(--orange-bg);color:var(--brand-dark);border-color:transparent}.btn.danger{background:var(--red-bg);border-color:transparent;color:var(--red)}.btn.text{border:0;background:none;color:var(--brand);padding:4px 2px}.btn.sm{padding:6px 9px;min-height:30px;font-size:11px}.btn.full{width:100%}.actions{display:flex;gap:7px;flex-wrap:wrap}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-pad{padding:22px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 22px;border-bottom:1px solid var(--line)}.card-head h2 .muted{font-weight:400;margin-left:8px;font-size:12px}.card-head a{color:var(--brand);font-size:12px}.empty{padding:42px 20px;text-align:center;color:var(--muted);font-size:13px}.empty .icon{width:30px;height:30px;margin-bottom:10px;color:#bac2cb}.empty p{margin-bottom:10px}.subtitle{color:var(--muted);margin-top:4px;font-size:13px}.page-heading{margin-bottom:24px}.page-heading .right{display:flex;gap:10px}.demo-tag{font-size:10px;padding:2px 7px;color:var(--brand-dark);background:var(--orange-bg);border:1px solid #ffe3d0;border-radius:4px;letter-spacing:.3px}.hint{color:var(--muted);font-size:12px}.notice{background:var(--orange-bg);border:1px solid #ffdfc9;color:#8e531d;padding:11px 15px;border-radius:9px;font-size:12px}.notice.blue{background:var(--blue-bg);border-color:#dce8ff;color:var(--blue)}.notice.red{background:var(--red-bg);border-color:#f7dce0;color:var(--red)}.notice .icon{margin-right:6px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
/* Shared desktop workspace */
.sidebar{position:fixed;inset:0 auto 0 0;width:220px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:20}.sidebar .brand{padding:27px 22px 25px}.side-label{padding:0 24px;margin:0 0 9px;color:#a0a8b2;font-size:10px;letter-spacing:2px}.nav{padding:0 12px;display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:13px;padding:11px 14px;color:#687380;font-size:13px;border-radius:8px}.nav a:hover{background:#f7f8fa}.nav a.active{color:var(--brand);background:var(--orange-bg);font-weight:600}.side-foot{margin-top:auto;padding:16px;border-top:1px solid var(--line)}.side-foot .btn{font-size:11px}.side-foot .avatar{height:32px;width:32px;font-size:12px}.avatar{height:34px;width:34px;border-radius:10px;background:var(--orange-bg);color:var(--brand-dark);display:grid;place-items:center;font-weight:700;flex-shrink:0}.work{margin-left:220px}.topbar{height:68px;background:#ffffffdc;border-bottom:1px solid var(--line);padding:0 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:15;backdrop-filter:blur(8px)}.breadcrumbs{font-size:12px;color:var(--muted)}.breadcrumbs span{color:var(--ink);margin-left:8px}.top-right{display:flex;gap:14px;align-items:center}.clock{font-size:11px;color:var(--muted);display:flex;gap:6px;align-items:center}.workspace{padding:29px 30px 36px;max-width:1700px;margin:auto}.scope-bar{display:flex;gap:8px;align-items:center;margin-bottom:20px}.scope-bar select{max-width:240px}.field{display:grid;gap:7px}.field label{font-size:12px;color:#596473;font-weight:600}.field input,.field select,.field textarea,select.filter,input.filter{border:1px solid #dce1e8;background:white;color:var(--ink);border-radius:8px;padding:10px 12px;width:100%;outline:none;font-size:13px;min-height:40px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand)}.field textarea{resize:vertical;min-height:86px}.toolbar{display:flex;gap:10px;padding:17px 22px;border-bottom:1px solid var(--line);align-items:center;flex-wrap:wrap}.toolbar input{width:240px}.toolbar select{width:auto}.toolbar .count{margin-left:auto;font-size:12px;color:var(--muted)}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.kpi{padding:20px 21px;position:relative}.kpi-icon{position:absolute;right:18px;top:20px;border-radius:10px;background:var(--bg);padding:9px;color:#8994a1}.kpi:first-child .kpi-icon{background:var(--orange-bg);color:var(--brand)}.kpi-label{font-size:12px;color:var(--muted)}.kpi-number{font-family:"Bahnschrift","DIN Alternate",Arial,sans-serif;font-size:32px;line-height:1.25;margin:8px 0 10px;font-weight:600;letter-spacing:-.5px}.kpi-foot{font-size:11px;color:var(--muted)}.kpi-foot em{font-style:normal;color:var(--green);margin-right:4px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.resource-tile{border:1px solid var(--line);padding:17px;border-radius:11px;background:white;transition:border-color .15s}.resource-tile:hover{border-color:#ebbdab}.resource-tile .tile-title{font-weight:600;font-size:13px}.resource-tile .unit{font-size:11px;color:var(--muted)}.resource-tile .scene-symbol{width:32px;height:32px;display:grid;place-items:center;background:var(--bg);color:#687380;border-radius:8px;margin-bottom:12px}.resource-tile footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;padding-top:11px;border-top:1px dashed var(--line);gap:5px}.wiring{display:flex;gap:5px;align-items:center;margin-top:12px;color:var(--muted);font-size:10px}.wiring .icon{width:12px;height:12px}.wiring i{width:10px;border-top:1px dashed #c6ccd4}.wiring .online{color:var(--green)}.alert-item,.list-row{display:flex;gap:12px;padding:17px 20px;border-bottom:1px solid var(--line)}.alert-item:last-child,.list-row:last-child{border:0}.alert-icon{height:32px;width:32px;display:grid;place-items:center;background:var(--red-bg);color:var(--red);border-radius:8px;flex-shrink:0}.alert-copy{flex:1;min-width:0}.alert-copy strong{font-size:12px}.alert-copy p{font-size:11px;color:var(--muted);margin-top:4px}.list-row .amount{font-size:15px;font-weight:700;margin-left:auto}.summary-divider{height:1px;background:var(--line);margin:18px 0}.scene-bars{display:grid;gap:17px;padding:22px}.scene-bar .bar-track{height:7px;border-radius:8px;background:var(--bg);margin-top:9px;overflow:hidden}.scene-bar .bar-track span{display:block;height:100%;background:var(--brand);border-radius:8px}.scene-bar .bar-track .chess{background:#5578b7}.scene-bar .bar-track .hotel{background:#359a85}.rate-0{width:0}.rate-10{width:10%}.rate-20{width:20%}.rate-30{width:30%}.rate-40{width:40%}.rate-50{width:50%}.rate-60{width:60%}.rate-70{width:70%}.rate-80{width:80%}.rate-90{width:90%}.rate-100{width:100%}.table-wrap{overflow-x:auto;width:100%}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;font-weight:500;color:var(--muted);background:#fafbfc;padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:middle}td.wrap-cell{white-space:normal;min-width:180px;max-width:330px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfdfe}td strong{font-weight:600}td .sub{font-size:10px;color:var(--muted);display:block;margin-top:4px}td .actions{flex-wrap:nowrap}.device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.device-card{padding:20px}.device-identity{display:flex;align-items:center;gap:12px;margin-bottom:15px}.device-identity .hardware-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--bg);border-radius:12px;color:var(--ink)}.device-identity .status{margin-left:auto}.device-serial{color:var(--muted);font-size:10px;margin-top:3px}.channel{border:1px solid var(--line);border-radius:8px;padding:11px 12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-top:8px;gap:8px}.channel .state-on{color:var(--green)}.toggle{height:22px;width:38px;background:#cfd6df;border:0;border-radius:20px;position:relative;flex-shrink:0}.toggle::before{content:"";position:absolute;top:3px;left:3px;height:16px;width:16px;background:white;border-radius:50%;box-shadow:0 1px 3px #0002}.toggle.on{background:var(--green)}.toggle.on::before{left:19px}.device-meta{margin-top:14px;padding-top:13px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.command-row{padding:14px 18px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.command-row:last-child{border:0}.command-row h3{font-size:12px}.command-row p{font-size:11px;color:var(--muted);margin-top:4px}.command-row time{font-size:10px;color:var(--muted)}.chip-tabs{display:flex;gap:8px;flex-wrap:wrap}.chip-tabs button{background:white;border:1px solid var(--line);color:#64707e;border-radius:7px;font-size:12px;padding:8px 13px}.chip-tabs button.active{background:var(--orange-bg);color:var(--brand);border-color:#ffd8c5}.store-card{padding:23px}.store-card .scene-art{height:105px;border-radius:10px;margin-bottom:18px}.store-card .store-stats{display:flex;justify-content:space-between;gap:10px;padding:17px 0;border-top:1px solid var(--line);margin-top:18px}.store-card .store-stats strong{display:block;font-size:22px;font-family:Bahnschrift,Arial,sans-serif}.store-card .store-stats span{font-size:10px;color:var(--muted)}.product-card{padding:20px}.product-symbol{width:46px;height:46px;background:var(--bg);border-radius:12px;display:grid;place-items:center;font-size:22px;margin-bottom:15px}.product-card .price{color:var(--brand);font-size:21px;font-weight:700}.task-card{padding:20px}.task-card .steps{display:flex;justify-content:space-between;margin:20px 0;color:#98a2ae;font-size:10px}.task-card .steps span{display:grid;justify-items:center;gap:6px}.task-card .steps i{display:grid;place-items:center;border-radius:50%;height:23px;width:23px;font-style:normal;background:#f0f2f6}.task-card .steps .done{color:var(--green)}.task-card .steps .done i{background:var(--green-bg)}.task-card .steps .current{color:var(--brand)}.task-card .steps .current i{background:var(--orange-bg)}
/* Mobile workspaces */
.mobile-bg{min-height:100vh;padding:24px}.mobile-shell{max-width:460px;min-height:calc(100vh - 48px);margin:auto;background:#f6f7f9;box-shadow:0 12px 60px #2232480d;border:1px solid #e0e5eb;border-radius:20px;overflow:hidden;position:relative;padding-bottom:80px}.mobile-top{padding:22px 20px 16px;background:white;border-bottom:1px solid var(--line)}.mobile-top .brand{font-size:19px}.mobile-top .brand img{width:30px;height:30px}.mobile-top .identity{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center;margin-top:14px}.mobile-body{padding:20px 16px}.mobile-body h1{font-size:24px}.mobile-body .page-heading{margin-bottom:18px}.bottom-nav{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:458px;width:calc(100% - 50px);background:#fffffffa;backdrop-filter:blur(8px);border-top:1px solid var(--line);display:flex;z-index:14;padding:9px 4px 12px;border-radius:0 0 20px 20px}.bottom-nav a{display:grid;justify-items:center;gap:3px;flex:1;font-size:10px;color:var(--muted)}.bottom-nav a.active{color:var(--brand);font-weight:700}.bottom-nav .icon{height:21px;width:21px}.mobile-body .card-pad{padding:17px}.mobile-body .grid2,.mobile-body .grid3{grid-template-columns:1fr}.mobile-body .notice{font-size:11px}.mobile-body .kpis{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:18px}.mobile-body .kpi{padding:14px}.mobile-body .kpi-number{font-size:25px}.mobile-body .kpi-icon{display:none}.mobile-body .kpi-foot{font-size:9px}.mobile-body .device-grid{grid-template-columns:1fr}.mobile-section-head{display:flex;justify-content:space-between;align-items:center;margin:21px 0 12px}.mobile-section-head h2{font-size:16px}.store-selector{display:flex;gap:8px;overflow:auto;padding-bottom:2px;margin:17px 0}.store-selector button{border:1px solid var(--line);background:white;border-radius:10px;flex:1;padding:10px 8px;min-width:112px;font-size:12px;color:var(--muted)}.store-selector button strong{display:block;color:var(--ink);font-size:13px;margin-top:4px}.store-selector button.active{border-color:var(--brand);background:var(--orange-bg);color:var(--brand)}.store-selector button.active strong{color:var(--brand-dark)}.scene-art{background:#e7f1ed;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.scene-art svg{height:100%;width:100%}.scene-art.chess{background:#edf0fa}.scene-art.hotel{background:#eef1f4}.booking-card{display:flex;gap:14px;padding:14px;background:white;border:1px solid var(--line);border-radius:13px;margin-bottom:12px}.booking-card .scene-art{width:91px;min-height:102px;border-radius:8px;flex-shrink:0}.booking-card .booking-info{flex:1;min-width:0}.booking-card h3{font-size:14px}.booking-card .room-note{color:var(--muted);font-size:10px;margin:6px 0 10px}.booking-card .booking-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:11px}.booking-card .price{font-family:Bahnschrift,Arial,sans-serif;font-size:20px;color:var(--brand);font-weight:600}.booking-card .price small{font-family:"Microsoft YaHei",sans-serif;font-size:9px;color:var(--muted);font-weight:400}.booking-card .btn{padding:8px 11px;min-height:32px}.order-card{padding:18px;margin-bottom:13px}.order-card h3{margin:13px 0 4px}.order-card .order-detail{color:var(--muted);font-size:11px;margin:8px 0 14px}.order-card .payment-line{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:13px;margin-bottom:12px;font-size:12px}.order-card .price{font-family:Bahnschrift,Arial,sans-serif;font-size:22px;font-weight:600}.order-card .actions .btn{flex:1}.remaining{background:var(--ink);color:white;padding:26px 20px;border-radius:14px;margin-bottom:18px;position:relative}.remaining .muted{color:#b0bac9}.remaining .timer{font-family:Bahnschrift,Arial,sans-serif;font-size:43px;line-height:1.4;letter-spacing:1px}.remaining .timer small{font-size:13px;letter-spacing:0;color:#b0bac9}.remaining .status{background:#ffffff17;color:#e0e5ed}.remaining .orders-title{margin-top:12px;font-size:13px}.mobile-device{padding:18px;margin-bottom:12px}.shop-buy .product-card{margin-bottom:12px}.profile-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:12px}.profile-row:last-child{border:0}
/* Entry and forms */
.portal{max-width:1130px;margin:auto;padding:34px 30px 50px}.portal-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:22px}.portal-intro{padding:32px 0 23px}.portal-intro h1{font-size:31px}.portal-intro .subtitle{margin-top:9px;font-size:14px}.portal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.portal-card{padding:25px;display:flex;flex-direction:column;min-height:258px}.portal-card .portal-icon{width:44px;height:44px;display:grid;place-items:center;color:var(--brand);background:var(--orange-bg);border-radius:13px;margin-bottom:18px}.portal-card .portal-icon .icon{width:23px;height:23px}.portal-card p{color:var(--muted);font-size:12px;line-height:1.9;margin:8px 0 21px;flex:1}.portal-card select{margin-bottom:9px}.portal-footer{margin-top:28px;padding:18px 0;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;align-items:center;gap:20px;flex-wrap:wrap}.portal-footer strong{color:var(--ink)}.login-wrap{max-width:430px;margin:9vh auto;padding:30px}.login-wrap h1{font-size:24px;margin:25px 0 8px}.login-options{display:grid;gap:10px;margin-top:24px}.login-option{text-align:left;padding:14px;border:1px solid var(--line);background:white;border-radius:9px}.login-option strong{display:block}.login-option small{color:var(--muted)}dialog{width:min(500px,calc(100% - 28px));border:1px solid var(--line);border-radius:16px;padding:0;box-shadow:0 25px 90px #15233630;max-height:88vh;color:var(--ink)}dialog::backdrop{background:#1b283b55;backdrop-filter:blur(2px)}.modal-head{padding:20px 23px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:18px}.modal-close{background:#f1f3f6;border:0;border-radius:50%;height:27px;width:27px;color:var(--muted);font-size:19px;line-height:1}.modal-body{padding:23px;display:grid;gap:17px}.modal-body .grid2{gap:13px}.modal-footer{padding:16px 23px;border-top:1px solid var(--line);background:#fafbfc;display:flex;justify-content:flex-end;gap:9px}.modal-price{display:flex;align-items:center;justify-content:space-between;background:var(--orange-bg);padding:16px;border-radius:10px;color:var(--brand-dark)}.modal-price strong{font-family:Bahnschrift,Arial,sans-serif;font-size:26px}.form-error{color:var(--red);font-size:12px;min-height:0}.error-box{padding:20px;color:var(--red)}#toasts{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:200;display:grid;gap:8px;pointer-events:none;width:max-content;max-width:calc(100vw - 30px)}.toast{background:var(--ink);color:white;font-size:12px;border-radius:9px;padding:12px 18px;box-shadow:0 8px 35px #0002;animation:toast-in .2s ease-out}.toast.error{background:#ae3340}.toast.success{background:#176e54}@keyframes toast-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 360px}.resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.sidebar{width:190px}.work{margin-left:190px}.sidebar .brand{padding-left:17px;font-size:18px}.workspace{padding:24px 20px}.topbar{padding:0 20px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.stack{display:grid;grid-template-columns:1fr 1fr}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-number{font-size:28px}.kpi-icon{padding:6px;right:12px}.kpi{padding:17px}}
@media(max-width:850px){.sidebar{position:static;width:auto;border-bottom:1px solid var(--line);border-right:0}.sidebar .brand{padding:15px 18px}.side-label,.side-foot{display:none}.nav{display:flex;overflow:auto;padding:0 10px 10px;gap:4px}.nav a{padding:8px 11px;flex-shrink:0;gap:7px;font-size:12px}.nav .icon{width:16px;height:16px}.work{margin-left:0}.topbar{height:52px;padding:0 18px}.workspace{padding:22px 16px}.top-right .avatar,.clock{display:none}.kpis{grid-template-columns:repeat(2,1fr)}.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:repeat(2,1fr)}.page-heading h1{font-size:24px}.page-heading{align-items:flex-start}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal{padding:22px 18px}.portal-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-intro h1{font-size:27px}}
@media(max-width:520px){.mobile-bg{padding:0}.mobile-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none}.bottom-nav{bottom:0;width:100%;border-radius:0;max-width:460px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.mobile-body{padding:18px 15px}.mobile-body h1{font-size:23px}.resource-grid{grid-template-columns:1fr}.device-grid,.grid2,.grid3,.dashboard-grid>.stack{grid-template-columns:1fr}.card-pad{padding:16px}.card-head{padding:16px}.page-heading{display:block}.page-heading .right{margin-top:12px}.portal-top .clock{display:none}.portal-cards{grid-template-columns:1fr}.portal-card{min-height:220px}.portal-intro h1{font-size:24px}.topbar .demo-tag{display:none}.kpi-number{font-size:26px}.kpi-icon{display:none}.kpi-foot{font-size:10px}.modal-body{padding:20px}.modal-body .grid2{grid-template-columns:1fr 1fr}.toolbar{padding:14px}.toolbar input{width:100%}.toolbar .count{margin-left:0}td,th{padding-left:13px;padding-right:13px}.clock-advance{display:grid;grid-template-columns:1fr 1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Account identity and workspace entry share the desktop header. */
.topbar .breadcrumbs{flex-shrink:0}
.topbar .top-right{min-width:0;margin-left:auto}
.top-account{display:flex;align-items:center;gap:10px;min-width:0;padding-left:14px;border-left:1px solid var(--line)}
.top-account .avatar{width:32px;height:32px;font-size:12px;display:grid}
.account-identity{min-width:0;max-width:210px;line-height:1.45}
.account-identity strong,.account-context{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.top-account>.btn{flex-shrink:0}
@media(max-width:1200px){.topbar .top-right{gap:10px}.topbar .demo-tag{display:none}.account-identity{max-width:170px}}
@media(max-width:1100px){.topbar .clock{display:none}}
@media(max-width:850px){.work>.topbar{height:auto;min-height:68px;padding:10px 18px;flex-wrap:wrap;gap:8px}.topbar .top-right{justify-content:flex-end}.top-account{padding-left:10px}.account-identity{max-width:150px}}
@media(max-width:600px){.topbar .top-right{flex-basis:100%}.top-account{flex:1;justify-content:flex-end}.account-identity{max-width:160px}}
@media(max-width:380px){.top-account{gap:7px}.account-identity{max-width:115px}.topbar .top-right{gap:7px}}
