:root{font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,sans-serif;color:#17211e;background:#f5f7f6;font-synthesis:none;text-rendering:optimizeLegibility;--brand: #1677ff;--brand-dark: #0958d9;--brand-soft: #eef5ff;--ink: #17211e;--muted: #68746f;--subtle: #8a9691;--border: #e1e7e4;--border-strong: #ccd6d1;--surface: #ffffff;--canvas: #f5f7f6;--danger: #c74343;--shadow: 0 12px 32px rgba(23, 33, 30, .11);letter-spacing:0}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-width:320px;background:var(--canvas)}button,input,textarea,select{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}::selection{color:#fff;background:var(--brand)}:focus-visible{outline:3px solid rgba(22,119,255,.24);outline-offset:2px}.button{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:6px;padding:7px 13px;font-size:13px;font-weight:650;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease}.button-primary{color:#fff;background:var(--brand);border-color:var(--brand);box-shadow:0 2px 5px #1677ff29}.button-primary:hover:not(:disabled){background:var(--brand-dark);border-color:var(--brand-dark)}.button-secondary{color:#34423d;background:#fff;border-color:var(--border-strong)}.button-secondary:hover:not(:disabled){color:var(--brand-dark);background:#f6f9ff;border-color:#a9c7f6}.button-ghost{color:#53615c;background:transparent}.button-ghost:hover:not(:disabled){color:var(--ink);background:#eef2f0}.button-danger{color:#b93636;background:#fff;border-color:#e8baba}.button-danger:hover:not(:disabled){color:#fff;background:#bd3b3b;border-color:#bd3b3b}.button:disabled{opacity:.55}.button-spinner{width:15px;height:15px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .65s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.icon-button{width:34px;height:34px;padding:0;display:inline-grid;place-items:center;color:#68746f;background:transparent;border:1px solid transparent;border-radius:6px}.icon-button:hover{color:var(--ink);background:#f0f3f2;border-color:var(--border)}.icon-button.is-danger:hover{color:var(--danger);background:#fff4f4;border-color:#f0cccc}.badge{min-height:22px;display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:650;line-height:1.2;white-space:nowrap}.badge-green{color:#0b705b;background:#e5f5ef}.badge-amber{color:#966017;background:#fff2d7}.badge-red{color:#aa3737;background:#fde9e9}.badge-blue{color:#245ea9;background:#e8f1fc}.badge-gray{color:#68746f;background:#eef1f0}.badge-purple{color:#7042a2;background:#f1eafa}.avatar{flex:0 0 auto;display:inline-grid;place-items:center;color:var(--avatar-color);background:color-mix(in srgb,var(--avatar-color) 13%,white);border:1px solid color-mix(in srgb,var(--avatar-color) 20%,white);border-radius:50%;font-size:11px;font-weight:750}.field{min-width:0;display:flex;flex-direction:column;gap:6px}.field-label{color:#34423d;font-size:12px;font-weight:650}.field-label em{margin-left:3px;color:var(--danger);font-style:normal}.field input,.field textarea,.field select,.phone-control,.code-control,.input-prefix,.input-suffix{width:100%;color:var(--ink);background:#fff;border:1px solid var(--border-strong);border-radius:6px;outline:0;transition:border-color .16s ease,box-shadow .16s ease}.field input,.field select{height:38px;padding:0 11px}.field textarea{resize:vertical;min-height:76px;padding:10px 11px;line-height:1.55}.field input:focus,.field textarea:focus,.field select:focus,.phone-control:focus-within,.code-control:focus-within,.input-prefix:focus-within,.input-suffix:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #1677ff1a}.field input::placeholder,.field textarea::placeholder{color:#a2aaa6}.field-hint,.field-message{font-size:11px;line-height:1.45}.field-hint{color:var(--subtle)}.field-message{color:var(--danger)}.field-error input,.field-error textarea{border-color:var(--danger)}.select-wrap{position:relative;min-width:128px;display:inline-flex}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;min-height:36px;padding:0 34px 0 11px;color:#34423d;background:#fff;border:1px solid var(--border-strong);border-radius:6px;outline:none}.select-wrap>svg{position:absolute;top:50%;right:10px;color:var(--subtle);transform:translateY(-50%);pointer-events:none}.search-input{width:min(360px,100%);height:36px;display:flex;align-items:center;gap:8px;padding:0 10px;color:var(--subtle);background:#fff;border:1px solid var(--border-strong);border-radius:6px}.search-input:focus-within{color:var(--brand);border-color:var(--brand);box-shadow:0 0 0 3px #1677ff14}.search-input input{flex:1;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px}.search-input button{width:24px;height:24px;display:grid;place-items:center;padding:0;color:var(--subtle);background:transparent;border:0;border-radius:4px}.search-input button:hover{background:#eef2f0;color:var(--ink)}.inline-message{min-height:36px;display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border-radius:6px;font-size:12px;line-height:1.4}.inline-message.error{color:#a03434;background:#fff2f2;border:1px solid #f1cece}.inline-message.success{color:#0a705a;background:#edf8f4;border:1px solid #cce9df}.modal-layer{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:24px;background:#131c197a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:fadeIn .16s ease}.modal{width:min(620px,100%);max-height:calc(100vh - 48px);display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.7);border-radius:8px;box-shadow:var(--shadow);animation:modalIn .18s ease}.modal-small{width:min(450px,100%)}.modal-large{width:min(1040px,100%)}.modal-header{flex:0 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px 15px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:17px;font-weight:720}.modal-header p{margin-top:4px;color:var(--muted);font-size:12px}.modal-body{flex:1 1 auto;overflow:auto;padding:20px}.modal-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:13px 20px;background:#fafbfb;border-top:1px solid var(--border)}.modal-footer-spacer{flex:1}@keyframes fadeIn{0%{opacity:0}}@keyframes modalIn{0%{opacity:0;transform:translateY(8px) scale(.99)}}.empty-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center}.empty-icon{width:48px;height:48px;display:grid;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:50%}.empty-state h3{margin-top:14px;font-size:15px}.empty-state p{max-width:390px;margin:6px 0 16px;color:var(--muted);font-size:12px;line-height:1.6}.app-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:10px;background:#fff}.app-loading strong{font-size:19px}.app-loading>i{width:18px;height:18px;margin-left:4px;border:2px solid #c7dafe;border-top-color:var(--brand);border-radius:50%;animation:spin .7s linear infinite}.brand-mark{position:relative;width:38px;height:38px;display:grid;place-items:center;color:#fff;background:var(--brand);border-radius:8px;overflow:hidden}.brand-mark>svg{position:relative;z-index:1}.brand-mark>span{position:absolute;width:16px;height:16px;right:-5px;bottom:-5px;border:3px solid rgba(255,255,255,.48);border-radius:50%}.app-shell{min-height:100vh;display:grid;grid-template-columns:226px minmax(0,1fr)}.sidebar{position:fixed;z-index:50;inset:0 auto 0 0;width:226px;display:flex;flex-direction:column;color:#dce6e2;background:#172521;border-right:1px solid #293a35;transition:width .2s ease,transform .2s ease}.sidebar-brand{height:66px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.07)}.brand{display:flex;align-items:center;gap:10px;overflow:hidden}.brand .brand-mark{width:34px;height:34px;flex:0 0 34px}.brand-copy{display:flex;flex-direction:column;white-space:nowrap}.brand-copy strong{color:#fff;font-size:16px}.brand-copy small{margin-top:1px;color:#82928c;font-size:10px}.primary-nav{flex:1;display:flex;flex-direction:column;gap:20px;padding:18px 10px;overflow:auto}.nav-group{display:flex;flex-direction:column;gap:3px}.nav-group-apps{padding-top:17px;border-top:1px solid rgba(255,255,255,.07)}.nav-section-label{margin:0 10px 6px;color:#70817b;font-size:10px;font-weight:650}.primary-nav a,.settings-link,.collapse-button{height:42px;display:flex;align-items:center;gap:11px;padding:0 11px;color:#aebcb7;background:transparent;border:0;border-radius:6px;font-size:13px;white-space:nowrap}.primary-nav a:hover,.settings-link:hover,.collapse-button:hover{color:#fff;background:#ffffff0e}.primary-nav a.active,.settings-link.active{color:#fff;background:#1677ff2e;box-shadow:inset 3px 0 #1677ff}.primary-nav a svg,.settings-link svg,.collapse-button svg{flex:0 0 auto}.nav-mini-icon{margin-left:auto;color:#76adff}.sidebar-bottom{padding:10px;border-top:1px solid rgba(255,255,255,.07)}.collapse-button{width:100%;margin-top:3px;text-align:left}.workspace{min-width:0;grid-column:2}.topbar{position:sticky;z-index:40;top:0;height:66px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:#fffffff5;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.topbar-context{display:flex;align-items:center;gap:9px;color:#34423d;font-size:13px;font-weight:650}.topbar-context i{width:1px;height:13px;background:var(--border-strong)}.topbar-context small{color:var(--subtle);font-size:11px;font-weight:450}.topbar-tools{display:flex;align-items:center;gap:15px}.sync-state{display:inline-flex;align-items:center;gap:6px;color:#7a8782;font-size:11px}.sync-state>span{width:7px;height:7px;background:#dd9c39;border-radius:50%;animation:pulse 1s ease infinite}.sync-state.synced{color:#54746b}.sync-state.failed{color:var(--danger)}@keyframes pulse{50%{opacity:.35}}.profile-menu{position:relative}.profile-trigger{height:46px;display:flex;align-items:center;gap:9px;padding:5px 7px;color:var(--ink);background:transparent;border:1px solid transparent;border-radius:6px}.profile-trigger:hover{background:#f6f8f7;border-color:var(--border)}.profile-trigger>.profile-copy{min-width:88px;display:flex;flex-direction:column;align-items:flex-start}.profile-trigger strong{font-size:12px}.profile-trigger small{max-width:120px;margin-top:1px;overflow:hidden;color:var(--subtle);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profile-popover{position:absolute;top:calc(100% + 8px);right:0;width:150px;padding:5px;background:#fff;border:1px solid var(--border);border-radius:7px;box-shadow:0 12px 28px #17211e21}.profile-popover button{width:100%;height:34px;display:flex;align-items:center;gap:8px;padding:0 9px;color:#44514d;background:transparent;border:0;border-radius:4px;font-size:12px;text-align:left}.profile-popover button:hover{background:#f1f4f3}.page-content{width:100%;max-width:1600px;min-height:calc(100vh - 66px);margin:0 auto;padding:24px 28px 40px}.nav-collapsed{grid-template-columns:70px minmax(0,1fr)}.nav-collapsed .sidebar{width:70px}.nav-collapsed .sidebar-brand{padding:0 18px}.nav-collapsed .primary-nav a,.nav-collapsed .settings-link,.nav-collapsed .collapse-button{justify-content:center;padding:0}.nav-collapsed .primary-nav a>span,.nav-collapsed .nav-section-label,.nav-collapsed .sidebar-bottom a>span,.nav-collapsed .collapse-button>span,.nav-collapsed .nav-mini-icon{display:none}.nav-collapsed .nav-group-apps{padding-top:12px}.mobile-menu,.mobile-close,.mobile-scrim{display:none}.page-header{min-height:56px;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.page-header h1{color:var(--ink);font-size:22px;font-weight:730;line-height:1.3}.page-header p{margin-top:5px;color:var(--muted);font-size:12px}.page-actions{display:flex;align-items:center;gap:8px}.global-error{position:fixed;z-index:80;top:78px;right:24px;max-width:390px;display:flex;align-items:center;gap:8px;padding:10px 12px;color:#993737;background:#fff5f5;border:1px solid #edc5c5;border-radius:7px;box-shadow:0 8px 24px #4e1e1e1f;font-size:12px}.global-error span{flex:1}.global-error button{width:24px;height:24px;display:grid;place-items:center;padding:0;color:inherit;background:transparent;border:0}.segmented{display:inline-flex;align-items:center;padding:3px;background:#edf1ef;border-radius:6px}.segmented button{min-width:64px;height:30px;padding:0 10px;color:#69756f;background:transparent;border:0;border-radius:4px;font-size:12px}.segmented button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1e2d281f;font-weight:650}.login-page{position:relative;min-height:100vh;display:grid;place-items:center;padding:32px 20px;background:#f5f7f6}.login-page-brand{position:absolute;top:20px;left:26px;display:flex;flex-direction:column;align-items:flex-start}.login-panel{width:min(500px,100%)}.login-form-wrap{width:100%;padding:36px 40px 28px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 16px 42px #1e2d281a}.login-brand-inline{display:flex;align-items:center;gap:9px;color:var(--ink)}.login-brand-inline .brand-mark{width:36px;height:36px}.login-brand-inline strong{font-size:18px}.login-brand-inline small{margin-left:2px;color:var(--muted);font-size:11px}.secure-label{display:inline-flex;align-items:center;gap:6px;color:var(--brand-dark);font-size:11px;font-weight:650}.login-heading h1{margin-top:14px;font-size:27px}.login-heading p{margin-top:7px;color:var(--muted);font-size:13px}.login-form{display:flex;flex-direction:column;gap:16px;margin-top:30px}.login-form>.button{height:42px;margin-top:3px}.phone-control,.code-control{height:42px;display:flex;align-items:center;overflow:hidden}.phone-control>span{height:22px;display:flex;align-items:center;padding:0 12px;color:#44514c;border-right:1px solid var(--border);font-size:13px}.phone-control input,.code-control input{height:100%;flex:1;min-width:0;padding:0 12px;border:0;outline:none}.code-control button{height:28px;margin-right:6px;padding:0 9px;color:var(--brand-dark);background:var(--brand-soft);border:0;border-radius:4px;font-size:11px;font-weight:650;white-space:nowrap}.code-control button:disabled{color:#9da7a3;background:#f0f2f1}.login-legal{margin-top:16px;color:#98a29e;font-size:10px;text-align:center}.demo-access{margin-top:27px;display:flex;align-items:center;justify-content:center;gap:8px;color:#87928e;font-size:10px}.demo-access span{padding:3px 7px;color:#66736e;background:#f0f3f2;border-radius:999px}.demo-access code{color:#4d5b56;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.demo-access i{font-style:normal}.data-panel,.panel,.balance-strip,.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:8px}.data-panel{overflow:hidden}.table-toolbar{min-height:58px;display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fafbfb;border-bottom:1px solid var(--border)}.table-toolbar .result-count{margin-left:auto;color:var(--subtle);font-size:11px;white-space:nowrap}.table-scroll{width:100%;overflow-x:auto}.data-table{width:100%;border-collapse:collapse;table-layout:auto;font-size:12px}.data-table th{height:40px;padding:0 14px;color:#72807a;background:#fbfcfb;border-bottom:1px solid var(--border);font-size:10px;font-weight:650;text-align:left;white-space:nowrap}.data-table td{height:58px;padding:8px 14px;color:#46534e;border-bottom:1px solid #edf0ef;vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:#f9fbfa}.person-cell{display:flex;align-items:center;gap:9px}.person-cell>div{min-width:0;display:flex;flex-direction:column}.person-cell strong{color:var(--ink);font-size:12px;white-space:nowrap}.person-cell small{margin-top:3px;color:var(--subtle);font-size:10px;white-space:nowrap}.cell-primary,.cell-secondary{display:block;white-space:nowrap}.cell-primary{color:#34423d;font-size:12px;font-weight:600}.cell-secondary{margin-top:3px;color:var(--subtle);font-size:10px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}.row-actions .button{min-height:32px}.input-prefix,.input-suffix{display:flex;align-items:center;overflow:hidden}.input-prefix>span,.input-suffix>span{height:36px;min-width:38px;display:grid;place-items:center;color:#6e7a76;background:#f5f7f6;border-right:1px solid var(--border);font-size:12px}.input-prefix>input,.input-suffix>input{border:0;box-shadow:none!important}.input-suffix>span{min-width:54px;border-right:0;border-left:1px solid var(--border)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .field:nth-last-child(1):nth-child(odd){grid-column:1 / -1}.form-grid.compact{gap:12px}.stack-form{display:flex;flex-direction:column;gap:16px}.confirm-copy{color:#53605b;font-size:13px;line-height:1.7}.section-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 4px}.section-heading h2{font-size:15px}.section-heading p{margin-top:3px;color:var(--muted);font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.metric-card{min-height:116px;display:flex;align-items:flex-start;gap:13px;padding:18px;background:#fff;border:1px solid var(--border);border-radius:8px}.metric-icon,.quick-icon{width:36px;height:36px;flex:0 0 auto;display:grid;place-items:center;border-radius:7px}.metric-icon.green,.quick-icon.green{color:#08765f;background:#e5f5ef}.metric-icon.blue,.quick-icon.blue{color:#2a65b0;background:#e8f1fc}.metric-icon.amber,.quick-icon.amber{color:#a46a17;background:#fff1d4}.metric-icon.purple,.quick-icon.purple{color:#7542a8;background:#f1eafa}.metric-card>div{min-width:0;display:flex;flex-direction:column}.metric-card small{color:var(--muted);font-size:11px}.metric-card strong{margin-top:7px;color:var(--ink);font-size:23px;line-height:1.1}.metric-card strong em{margin-left:3px;color:#6f7a76;font-size:11px;font-style:normal;font-weight:500}.metric-card p{display:flex;align-items:center;gap:4px;margin-top:8px;overflow:hidden;color:var(--subtle);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:14px}.panel{min-width:0;overflow:hidden}.panel-header{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-bottom:1px solid var(--border)}.panel-header h2{font-size:14px}.panel-header p{margin-top:3px;color:var(--muted);font-size:10px}.text-button{display:inline-flex;align-items:center;gap:5px;padding:5px;color:var(--brand-dark);background:transparent;border:0;font-size:11px;font-weight:650}.text-button:hover{color:var(--brand)}.timeline-list{padding:4px 16px 8px}.timeline-item{min-height:69px;display:grid;grid-template-columns:54px 14px 36px minmax(150px,1fr) auto 34px;align-items:center;gap:9px;border-bottom:1px solid #edf0ef}.timeline-item:last-child{border-bottom:0}.timeline-date{display:flex;flex-direction:column}.timeline-date strong{color:#44514c;font-size:10px;font-weight:600}.timeline-date span{margin-top:4px;color:var(--ink);font-size:12px;font-weight:700}.timeline-track{align-self:stretch;position:relative;display:flex;justify-content:center}.timeline-track:after{content:"";position:absolute;top:0;bottom:0;width:1px;background:#dce3e0}.timeline-track i{position:relative;z-index:1;width:8px;height:8px;align-self:center;background:#c6d0cc;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #c6d0cc}.timeline-track i.active{background:var(--brand);box-shadow:0 0 0 1px var(--brand)}.timeline-copy{min-width:0;display:flex;flex-direction:column}.timeline-copy strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.timeline-copy span{margin-top:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.compact-empty{min-height:128px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--muted);font-size:12px}.compact-empty svg{color:var(--brand)}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}.quick-grid button{min-height:96px;display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 9px;align-content:center;padding:10px;color:var(--ink);background:transparent;border:0;border-radius:6px;text-align:left}.quick-grid button:hover{background:#f6f9f8}.quick-grid .quick-icon{grid-row:1 / 3;align-self:center}.quick-grid strong{align-self:end;font-size:12px}.quick-grid small{align-self:start;color:var(--muted);font-size:10px}.attention-list{padding:5px 8px}.attention-list button{width:100%;min-height:61px;display:grid;grid-template-columns:32px 1fr 20px;align-items:center;gap:9px;padding:8px;color:var(--ink);background:transparent;border:0;border-radius:6px;text-align:left}.attention-list button:hover{background:#fffaf0}.attention-icon{width:32px;height:32px;display:grid;place-items:center;color:#a76b16;background:#fff2d8;border-radius:50%}.attention-list button>div{min-width:0;display:flex;flex-direction:column}.attention-list strong{font-size:11px}.attention-list small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.attention-list button>svg{color:var(--subtle)}.progress-panel{display:grid;grid-template-columns:minmax(0,1fr) 130px;align-items:center;padding-bottom:14px}.progress-panel .panel-header{grid-column:1 / -1;width:100%}.progress-ring{width:96px;height:96px;margin:16px auto 2px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--brand) var(--progress),#e9efec 0)}.progress-ring:before{content:"";position:absolute;width:72px;height:72px;background:#fff;border-radius:50%}.progress-ring>div{position:relative;display:flex;flex-direction:column;align-items:center}.progress-ring strong{font-size:18px}.progress-ring span{margin-top:2px;color:var(--muted);font-size:9px}.progress-legend{display:flex;flex-direction:column;gap:12px;padding:12px 16px 0 0}.progress-legend span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}.progress-legend i{width:7px;height:7px;background:#d9e2df;border-radius:50%}.progress-legend i.done{background:var(--brand)}.students-table{min-width:990px}.students-table th:first-child{width:180px}.students-table th:last-child{width:90px}.credit-number{color:var(--ink);font-size:14px;font-weight:720}.credit-number.low{color:#bd7722}.color-options{min-height:38px;display:flex;align-items:center;gap:9px}.color-options button{width:22px;height:22px;padding:0;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #cbd4d1}.color-options button.selected{box-shadow:0 0 0 2px var(--brand)}.student-profile{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--border)}.student-profile>div{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.student-profile h3{font-size:16px}.student-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:8px 0}.student-detail dl div{display:flex;flex-direction:column;gap:3px;padding:10px 0}.student-detail dt{color:var(--muted);font-size:10px}.student-detail dd{margin:0;color:var(--ink);font-size:12px;font-weight:650}.detail-note{display:flex;align-items:flex-start;gap:8px;padding:11px;color:#52605b;background:#f5f8f7;border-radius:6px;font-size:11px;line-height:1.6}.detail-note svg{flex:0 0 auto;margin-top:1px;color:var(--brand)}.schedule-toolbar{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:8px 10px;background:#fff;border:1px solid var(--border);border-radius:8px}.date-navigation{display:flex;align-items:center;gap:4px}.date-navigation>button:not(.icon-button){height:32px;padding:0 10px;color:var(--brand-dark);background:var(--brand-soft);border:0;border-radius:5px;font-size:11px;font-weight:650}.date-navigation strong{margin-left:9px;color:#34423d;font-size:12px}.calendar-wrap{width:100%;overflow-x:auto;background:#fff;border:1px solid var(--border);border-radius:8px}.week-calendar{min-width:990px;display:grid;grid-template-columns:66px repeat(7,minmax(126px,1fr));grid-template-rows:58px var(--calendar-height, 896px)}.calendar-corner,.day-header{position:sticky;z-index:4;top:0;background:#fafbfb;border-bottom:1px solid var(--border)}.calendar-corner{display:grid;place-items:center;color:var(--subtle);border-right:1px solid var(--border);font-size:10px}.day-header{display:flex;align-items:center;justify-content:center;gap:7px;color:#69756f;border:0;border-bottom:1px solid var(--border);border-right:1px solid var(--border)}.day-header span{font-size:10px}.day-header strong{width:27px;height:27px;display:grid;place-items:center;color:var(--ink);border-radius:50%;font-size:12px}.day-header:hover{background:#f3f7f5}.day-header.today{color:var(--brand-dark);background:#f2f7ff}.day-header.today strong{color:#fff;background:var(--brand)}.time-axis{grid-column:1;position:relative;background:#fafbfb;border-right:1px solid var(--border)}.time-axis span{position:relative;height:64px;display:block;padding-top:5px;color:#98a39f;font-size:9px;text-align:center}.day-column{position:relative;height:var(--calendar-height, 896px);overflow:hidden;border-right:1px solid var(--border)}.day-column:last-child{border-right:0}.hour-line{height:64px;display:block;border-bottom:1px solid #edf0ef}.calendar-event{position:absolute;z-index:2;top:var(--event-top);left:5px;width:calc(100% - 10px);height:var(--event-height);min-height:48px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;overflow:hidden;padding:7px 8px;color:#31413b;background:color-mix(in srgb,var(--student-color) 9%,white);border:1px solid color-mix(in srgb,var(--student-color) 28%,white);border-left:3px solid var(--student-color);border-radius:5px;text-align:left}.calendar-event:hover{z-index:3;box-shadow:0 5px 14px #1e2d2824}.calendar-event strong{max-width:100%;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.calendar-event span,.calendar-event small{color:#65736e;font-size:9px;white-space:nowrap}.calendar-event.status-completed{opacity:.7;background:#f1f4f3;border-color:#cbd4d1;border-left-color:#789088}.calendar-event.status-cancelled{opacity:.52;text-decoration:line-through}.schedule-list{padding:4px 14px}.schedule-list article{min-height:68px;display:grid;grid-template-columns:46px 34px minmax(200px,1fr) auto auto;align-items:center;gap:11px;border-bottom:1px solid #edf0ef}.schedule-list article:last-child{border-bottom:0}.schedule-date-block{display:flex;flex-direction:column;align-items:center}.schedule-date-block strong{font-size:17px}.schedule-date-block span{margin-top:2px;color:var(--muted);font-size:9px}.schedule-list-main{min-width:0;display:flex;flex-direction:column}.schedule-list-main strong{font-size:12px}.schedule-list-main span{display:flex;align-items:center;gap:5px;margin-top:5px;color:var(--muted);font-size:10px}.schedule-list-main i{width:1px;height:10px;margin:0 3px;background:var(--border-strong)}.form-alert{grid-column:1 / -1;display:flex;align-items:flex-start;gap:9px;padding:10px;color:#925b18;background:#fff8e8;border:1px solid #f1dcae;border-radius:6px}.form-alert>div{display:flex;flex-direction:column}.form-alert strong{font-size:11px}.form-alert span{margin-top:3px;font-size:10px}.confirm-lesson{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center}.confirm-lesson>div:nth-child(2){display:flex;flex-direction:column}.confirm-lesson>div:nth-child(2) strong{font-size:13px}.confirm-lesson>div:nth-child(2) span{margin-top:5px;color:var(--muted);font-size:10px}.consume-preview{grid-column:1 / -1;display:grid;grid-template-columns:1fr auto;gap:4px;margin-top:7px;padding:12px;background:#f3f8f6;border-radius:6px}.consume-preview span{color:var(--muted);font-size:11px}.consume-preview strong{color:var(--brand-dark);font-size:13px}.consume-preview small{grid-column:1 / -1;color:var(--subtle);font-size:10px}.review-list{padding:0 14px}.review-list article{min-height:92px;display:grid;grid-template-columns:38px minmax(260px,1fr) 150px 74px;align-items:center;gap:12px;border-bottom:1px solid #edf0ef}.review-list article:last-child{border-bottom:0}.review-list-main{min-width:0;display:flex;flex-direction:column}.review-list-main>div{display:flex;align-items:center;gap:8px}.review-list-main strong{font-size:12px}.review-list-main>span{margin-top:5px;color:#4b5a54;font-size:11px;font-weight:600}.review-list-main small{margin-top:5px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.review-date{display:flex;flex-direction:column;align-items:flex-end}.review-date strong{font-size:10px;font-weight:600}.review-date span{margin-top:5px;color:var(--subtle);font-size:9px;white-space:nowrap}.review-composer{min-height:610px;display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);margin:-20px}.review-input-panel,.review-result-panel{min-width:0;padding:20px}.review-input-panel{display:flex;flex-direction:column;gap:14px;border-right:1px solid var(--border)}.composer-section-title{display:flex;align-items:center;gap:9px;margin-top:2px}.composer-section-title>span{width:24px;height:24px;display:grid;place-items:center;color:var(--brand-dark);background:var(--brand-soft);border-radius:50%;font-size:10px;font-weight:700}.composer-section-title>div{display:flex;flex-direction:column}.composer-section-title strong{font-size:12px}.composer-section-title small{margin-top:2px;color:var(--subtle);font-size:9px}.generate-button{width:100%;height:40px;margin-top:2px}.review-result-panel{background:#f8faf9}.result-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--border)}.result-heading>div{display:flex;align-items:center;gap:9px}.ai-glyph{width:34px;height:34px;display:grid;place-items:center;color:#7042a2;background:#f0e8f9;border-radius:7px}.result-heading>div>div{display:flex;flex-direction:column}.result-heading strong{font-size:12px}.result-heading small{margin-top:3px;color:var(--muted);font-size:9px}.result-fields{display:flex;flex-direction:column;gap:12px;padding-top:15px}.result-fields textarea{background:#fff}.result-fields .content-editor{min-height:180px}.result-footnote{display:flex;align-items:center;gap:6px;color:#65736e;font-size:9px}.result-footnote svg{color:var(--brand)}.ai-empty{min-height:510px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.ai-empty>span{width:58px;height:58px;display:grid;place-items:center;color:#7a4aab;background:#f0e9f8;border-radius:50%}.ai-empty strong{margin-top:14px;font-size:13px}.ai-empty p{max-width:260px;margin-top:6px;color:var(--muted);font-size:10px;line-height:1.6}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.template-card{min-width:0;display:flex;flex-direction:column;padding:16px;background:#fff;border:1px solid var(--border);border-radius:8px}.template-card>header{display:flex;align-items:center;justify-content:space-between}.template-card>header>div{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.template-card>header small{color:var(--subtle);font-size:9px}.template-icon{width:38px;height:38px;display:grid;place-items:center;color:#5f6d68;background:#edf1f0;border-radius:7px}.template-icon.default{color:var(--brand-dark);background:var(--brand-soft)}.template-card h2{margin-top:15px;font-size:14px}.template-card>p{min-height:36px;margin-top:6px;color:var(--muted);font-size:10px;line-height:1.7}.template-preview{height:128px;margin-top:12px;overflow:hidden;padding:11px;color:#69756f;background:#f7f9f8;border:1px solid #edf0ef;border-radius:6px;font-size:9px;line-height:1.75;white-space:pre-line}.variable-tags{min-height:43px;display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px;padding:10px 0 8px}.variable-tags span{padding:3px 7px;color:#62706b;background:#eef2f0;border-radius:999px;font-size:9px;white-space:nowrap}.template-card>footer{display:flex;align-items:center;gap:4px;padding-top:11px;border-top:1px solid var(--border)}.template-card>footer .button{flex:1}.template-editor{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}.template-meta-form{display:flex;flex-direction:column;gap:15px}.check-row{display:flex;align-items:flex-start;gap:9px;padding:10px;background:#f5f8f7;border-radius:6px;cursor:pointer}.check-row input{margin-top:2px;accent-color:var(--brand)}.check-row>span{display:flex;flex-direction:column}.check-row strong{font-size:11px}.check-row small{margin-top:3px;color:var(--muted);font-size:9px}.template-content-editor{min-width:0}.variable-picker{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:10px}.variable-picker>span{margin-right:3px;color:var(--muted);font-size:10px}.variable-picker button{height:25px;padding:0 8px;color:var(--brand-dark);background:var(--brand-soft);border:1px solid #cfe0ff;border-radius:4px;font-size:9px}.variable-picker button:hover{background:#e0ecff}.template-content-editor textarea{min-height:345px;font-family:inherit}.apps-page{max-width:1180px}.apps-section{margin-top:22px}.apps-section+.apps-section{margin-top:30px}.apps-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:11px}.apps-section-heading h2{color:var(--ink);font-size:14px;font-weight:720}.apps-section-heading p{margin-top:4px;color:var(--muted);font-size:10px}.apps-section-heading>span{color:var(--subtle);font-size:10px;white-space:nowrap}.apps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.app-card{min-width:0;min-height:126px;display:flex;flex-direction:column;align-items:flex-start;padding:14px;color:var(--ink);background:var(--surface);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 14px #1e2d280a;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.app-card:hover{border-color:#a9c7f6;box-shadow:0 8px 20px #1677ff1a;transform:translateY(-1px)}.app-card:focus-visible{border-color:var(--brand)}.app-card-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:8px}.app-card-icon.blue{color:#2a65b0;background:#e8f1fc}.app-card-icon.green{color:#08765f;background:#e5f5ef}.app-card-icon.purple{color:#7542a8;background:#f1eafa}.app-card-icon.amber{color:#a46a17;background:#fff1d4}.app-card-icon.gray{color:#66736e;background:#eef1f0}.app-card-copy{min-width:0;display:flex;flex-direction:column;margin-top:11px}.app-card-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.app-card-copy small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.app-card-footer{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px;color:var(--subtle)}.app-card-footer .badge{min-height:18px;padding:2px 6px;font-size:9px}.apps-footer-desc{margin:28px 0 4px;color:#a0aaa5;font-size:10px;text-align:center}.credit-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px;background:#fff;border:1px solid var(--border);border-radius:8px}.credit-summary>div{min-height:90px;display:flex;align-items:center;gap:12px;padding:16px;border-right:1px solid var(--border)}.credit-summary>div:last-child{border-right:0}.credit-summary>div>div{display:flex;flex-direction:column}.credit-summary small{color:var(--muted);font-size:10px}.credit-summary strong{margin-top:6px;font-size:18px}.credit-summary em{margin-left:3px;color:var(--muted);font-size:10px;font-style:normal;font-weight:500}.balance-strip{margin-bottom:14px;overflow:hidden}.balance-strip>header{padding:13px 16px;border-bottom:1px solid var(--border)}.balance-strip h2{font-size:13px}.balance-strip p{margin-top:3px;color:var(--muted);font-size:9px}.balance-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.balance-list button{min-height:72px;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 14px;color:var(--ink);background:transparent;border:0;border-right:1px solid var(--border);text-align:left}.balance-list button:last-child{border-right:0}.balance-list button:hover{background:#f7faf9}.balance-list button>div{min-width:0;display:flex;flex-direction:column}.balance-list button>div strong{font-size:11px}.balance-list button>div small{margin-top:3px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.balance-list button>span{color:var(--muted);font-size:9px;white-space:nowrap}.balance-list button>span strong{color:var(--ink);font-size:16px}.balance-list button>span.low strong{color:#b8751e}.ledger-panel .table-toolbar{background:#fff;border-top:0}.ledger-table{min-width:850px}.credit-change{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700}.credit-change.positive{color:#08765f}.credit-change.negative{color:#a45930}.balance-preview{display:flex;align-items:center;justify-content:space-between;padding:11px;background:#f2f7f5;border-radius:6px}.balance-preview span{color:var(--muted);font-size:10px}.balance-preview strong{color:var(--brand-dark);font-size:13px}.segmented.three{width:100%}.segmented.three button{flex:1}.consume-list{display:flex;flex-direction:column;gap:7px}.consume-list label{min-height:60px;display:grid;grid-template-columns:16px 34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;cursor:pointer}.consume-list label:hover,.consume-list label.selected{background:#f2faf7;border-color:#9dd5c6}.consume-list input{accent-color:var(--brand)}.consume-list label>div{min-width:0;display:flex;flex-direction:column}.consume-list strong{font-size:11px}.consume-list span{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.consume-list small{color:var(--subtle);font-size:9px;white-space:nowrap}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:14px}.settings-template-section{margin-top:14px}.template-manager-actions{display:flex;justify-content:flex-end;margin-bottom:14px}.template-manager-embedded .template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-main,.settings-side{display:flex;flex-direction:column;gap:14px}.settings-section{overflow:hidden}.settings-section>header{min-height:64px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border)}.settings-section>header>span{width:34px;height:34px;display:grid;place-items:center;color:var(--brand-dark);background:var(--brand-soft);border-radius:7px}.settings-section>header>div{display:flex;flex-direction:column}.settings-section h2{font-size:13px}.settings-section header p{margin-top:3px;color:var(--muted);font-size:9px}.settings-section-body{padding:18px}.profile-avatar{display:flex;align-items:center;gap:13px;margin-bottom:18px;padding-bottom:17px;border-bottom:1px solid var(--border)}.profile-avatar>div{display:flex;flex-direction:column}.profile-avatar strong{font-size:14px}.profile-avatar span{margin-top:4px;color:var(--muted);font-size:10px}.toggle-list{margin-top:17px;border-top:1px solid var(--border)}.toggle-list label{min-height:65px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0ef;cursor:pointer}.toggle-list label:last-child{border-bottom:0}.toggle-list label>span{display:flex;flex-direction:column}.toggle-list strong{font-size:11px}.toggle-list small{margin-top:4px;color:var(--muted);font-size:9px}.toggle-list input{position:absolute;opacity:0;pointer-events:none}.toggle-list i{position:relative;width:38px;height:22px;flex:0 0 auto;background:#c9d2cf;border-radius:999px;transition:background .15s ease}.toggle-list i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0000002e;transition:transform .15s ease}.toggle-list input:checked+i{background:var(--brand)}.toggle-list input:checked+i:after{transform:translate(16px)}.bound-account{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px}.bound-account>span{width:36px;height:36px;display:grid;place-items:center;color:#2a65b0;background:#e8f1fc;border-radius:50%}.bound-account>div{display:flex;flex-direction:column}.bound-account strong{font-size:11px}.bound-account small{margin-top:4px;color:var(--muted);font-size:10px}.account-note{margin:15px 0;padding:10px;color:#64716c;background:#f5f7f6;border-radius:6px;font-size:9px;line-height:1.65}.account-section .button,.data-settings .button{width:100%}.data-settings .settings-section-body>p{margin-bottom:14px;color:var(--muted);font-size:10px;line-height:1.65}@media (max-width: 1240px){.metric-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.balance-list{grid-template-columns:repeat(2,minmax(0,1fr))}.balance-list button:nth-child(2){border-right:0}.balance-list button:nth-child(-n+2){border-bottom:1px solid var(--border)}.settings-layout{grid-template-columns:minmax(0,1fr) 300px}}@media (max-width: 1080px){.dashboard-layout{grid-template-columns:1fr}.progress-panel{min-height:210px}.template-editor{grid-template-columns:1fr}.template-meta-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.check-row{min-height:62px}.review-composer{grid-template-columns:1fr}.review-input-panel{border-right:0;border-bottom:1px solid var(--border)}.review-result-panel{min-height:430px}.ai-empty{min-height:360px}.settings-layout{grid-template-columns:1fr}.settings-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 920px){.app-shell,.nav-collapsed{display:block}.workspace{width:100%}.sidebar,.nav-collapsed .sidebar{width:226px;visibility:hidden;transform:translate(-100%);box-shadow:18px 0 40px #0b161233;transition-property:width,transform,visibility;transition-duration:.2s,.2s,0s;transition-delay:0s,0s,.2s}.sidebar.mobile-open{visibility:visible;transform:translate(0);transition-delay:0s}.nav-collapsed .primary-nav a,.nav-collapsed .settings-link,.nav-collapsed .collapse-button{justify-content:flex-start;padding:0 11px}.nav-collapsed .primary-nav a>span,.nav-collapsed .nav-section-label,.nav-collapsed .sidebar-bottom a>span,.nav-collapsed .collapse-button>span{display:initial}.mobile-menu,.mobile-close{display:inline-grid}.mobile-close{color:#aebcb7}.mobile-scrim{position:fixed;z-index:49;top:0;right:0;bottom:0;left:0;display:block;padding:0;background:#0d171473;border:0}.collapse-button{display:none}.topbar{height:60px;padding:0 16px}.page-content{min-height:calc(100vh - 60px);padding:20px 18px 34px}.login-form-wrap{padding:32px 34px 26px}.credit-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.credit-summary>div:nth-child(2){border-right:0}.credit-summary>div:nth-child(-n+2){border-bottom:1px solid var(--border)}}@media (max-width: 760px){.login-page{padding:20px 16px}.login-page-brand{top:16px;left:18px}.login-form-wrap{padding:28px 22px 22px;border-radius:8px}.login-brand-inline .brand-mark{width:34px;height:34px}.login-brand-inline strong{font-size:17px}.page-header{min-height:0;flex-direction:column;align-items:stretch;margin-bottom:16px}.page-actions{width:100%}.page-actions .button{flex:1}.topbar-context i,.topbar-context small,.sync-state{display:none}.profile-trigger>.profile-copy,.profile-trigger>svg{display:none}.metric-grid{grid-template-columns:1fr}.metric-card{min-height:96px}.schedule-toolbar{align-items:stretch;flex-direction:column}.date-navigation{width:100%}.date-navigation strong{flex:1;text-align:right}.schedule-toolbar>.segmented{align-self:flex-end}.form-grid,.form-grid.compact{grid-template-columns:1fr}.form-grid .field:nth-last-child(1):nth-child(odd){grid-column:auto}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-input{order:-1;width:100%}.table-toolbar .result-count{flex:1;text-align:right}.review-list article{grid-template-columns:38px minmax(0,1fr) 68px;min-height:104px}.review-date{display:none}.template-grid,.template-meta-form{grid-template-columns:1fr}.apps-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-list article{min-height:94px;grid-template-columns:42px 34px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:6px 9px;padding:9px 0}.schedule-date-block,.schedule-list article>.avatar{grid-row:1 / 3}.schedule-list-main{grid-column:3}.schedule-list article>.badge{grid-column:4;grid-row:1}.schedule-list .row-actions{grid-column:3 / 5;grid-row:2;justify-content:flex-start}.credit-summary{grid-template-columns:1fr}.credit-summary>div{border-right:0;border-bottom:1px solid var(--border)}.credit-summary>div:last-child{border-bottom:0}.balance-list{grid-template-columns:1fr}.balance-list button{border-right:0;border-bottom:1px solid var(--border)}.balance-list button:last-child{border-bottom:0}.settings-side{grid-template-columns:1fr}.modal-layer{align-items:end;padding:0}.modal,.modal-small,.modal-large{width:100%;max-height:92vh;border-radius:8px 8px 0 0}.modal-header,.modal-body,.modal-footer{padding-left:16px;padding-right:16px}.modal-footer{flex-wrap:wrap}.modal-footer-spacer{display:none}.modal-footer .button{flex:1}}@media (max-width: 480px){.page-content{padding:18px 12px 28px}.topbar{padding:0 10px}.profile-trigger{padding:4px}.quick-grid{grid-template-columns:1fr}.timeline-item{grid-template-columns:44px 10px 32px minmax(120px,1fr) 34px;gap:7px}.timeline-item .badge{display:none}.progress-panel{grid-template-columns:1fr}.progress-panel .panel-header{grid-column:1}.progress-legend{flex-direction:row;justify-content:center;padding:4px 12px 8px}.date-navigation strong{font-size:10px}.schedule-toolbar>.segmented{width:100%}.schedule-toolbar>.segmented button{flex:1}.review-composer{margin:-20px -16px}.review-input-panel,.review-result-panel{padding:16px}.review-list article{grid-template-columns:34px minmax(0,1fr)}.review-list .row-actions{grid-column:2;justify-content:flex-start}.settings-section-body{padding:14px}.login-form-wrap{padding:20px 16px}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
