:root{color:#182126;background:#f6f7f4;font-family:Inter,PingFang SC,Microsoft YaHei,Segoe UI,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html{scrollbar-gutter:stable}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;overflow-y:scroll;background:linear-gradient(180deg,#ffffffd6,#f6f7f4eb),#f6f7f4}#root{min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}.adminLoginShell{min-height:100vh;padding:42px;background:linear-gradient(120deg,#edf6f2f0,#f7fafbeb 52%,#e7f1f8e6),#eef5f2;display:grid;place-items:center}.adminLoginFrame{width:min(1120px,100%);min-height:650px;border:1px solid rgba(208,224,218,.9);border-radius:18px;background:#ffffffe0;box-shadow:0 28px 70px #2d4b4426;display:grid;grid-template-columns:minmax(0,1.18fr) minmax(380px,.82fr);overflow:hidden}.adminLoginAside{position:relative;padding:42px 50px 36px;color:#f8fffc;background:linear-gradient(145deg,#194840f5,#2a6f5fe6),#245f53;display:flex;flex-direction:column;overflow:hidden}.adminLoginAside:after{content:"";position:absolute;right:-120px;bottom:-110px;width:390px;height:390px;border:1px solid rgba(220,255,244,.18);border-radius:50%;box-shadow:0 0 0 38px #dcfff40f,0 0 0 76px #dcfff40b}.adminLoginBrand,.adminLoginIntro,.adminLoginCapabilities,.adminLoginFooter{position:relative;z-index:1}.adminLoginBrand{display:flex;gap:12px;align-items:center}.adminLoginBrandMark,.adminLoginIcon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center}.adminLoginBrandMark{color:#1f6759;background:#e5f2ee}.adminLoginBrand strong,.adminLoginBrand span{display:block}.adminLoginBrand strong{font-size:20px;letter-spacing:0}.adminLoginBrand span{margin-top:2px;color:#f1fffab3;font-size:12px}.adminLoginIntro{max-width:430px;margin:auto 0 42px}.adminLoginEyebrow{margin:0 0 16px;color:#b6d8cf;font-size:12px;font-weight:800;letter-spacing:1.6px}.adminLoginIntro h1{margin:0;color:#fff;font-size:42px;font-weight:700;line-height:1.24;letter-spacing:0}.adminLoginIntro>p:last-child{max-width:390px;margin:20px 0 0;color:#f1fffac7;font-size:15px;line-height:1.8}.adminLoginCapabilities{display:grid;gap:12px}.adminLoginCapabilities div{width:max-content;max-width:100%;padding:10px 13px;border:1px solid rgba(227,255,248,.18);border-radius:8px;color:#f9fffce0;background:#ffffff12;display:inline-flex;gap:10px;align-items:center;font-size:13px}.adminLoginCapabilities svg{color:#bfe6d9}.adminLoginFooter{margin:28px 0 0;color:#f1fffa8f;font-size:12px}.adminLoginCard{padding:70px clamp(44px,6vw,78px);background:#fffffff2;display:flex;flex-direction:column;justify-content:center}.adminLoginCardHeader{margin-bottom:34px}.adminLoginIcon{margin-bottom:20px;color:#296d60;background:#e8f5f0}.adminLoginCardHeader p{margin:0 0 9px;color:#5c8f83;font-size:12px;font-weight:800;letter-spacing:1.2px}.adminLoginCardHeader h2{margin:0;color:#183a34;font-size:30px;line-height:1.2;letter-spacing:0}.adminLoginCardHeader span{display:block;margin-top:10px;color:#7c918b;font-size:14px}.adminLoginForm{gap:17px}.adminLoginForm .loginField input{height:56px;border-color:#d8e6e1;border-radius:8px;color:#28463f;background:#fbfdfc}.adminLoginForm .loginField input:focus{border-color:#5a998b;box-shadow:0 0 0 4px #5a998b1f}.adminLoginForm .primaryButton{min-height:56px;margin-top:8px;border-radius:8px;background:#286d5f;box-shadow:0 14px 24px #1e635533}.adminLoginForm .primaryButton:hover:not(:disabled){background:#205b4f}.adminLoginSecurityNote{margin:25px 0 0;color:#849a93;display:flex;gap:7px;align-items:center;font-size:12px;line-height:1.5}.adminLoginSecurityNote svg{flex:0 0 auto;color:#5c9c8d}.loginForm h2{margin:0;letter-spacing:0}.loginForm{display:grid;gap:14px}.loginForm label{display:grid;gap:7px;color:#59667b;font-weight:900;font-size:14px}.loginField{position:relative;display:block}.loginField svg{position:absolute;left:18px;top:50%;color:#7d7a75;transform:translateY(-50%);pointer-events:none}.loginForm .loginField input{width:100%;height:54px;padding:0 18px 0 56px;border:1px solid rgba(215,205,192,.72);border-radius:20px;color:#3d3934;background:#ffffffb8;outline:0}.loginForm .loginField input:focus{border-color:#c5a371;box-shadow:0 0 0 4px #b999661f}.loginForm .loginField input::placeholder{color:#aaa49c}.loginForm .primaryButton{min-height:54px;margin-top:4px;border-radius:20px;background:linear-gradient(135deg,#d8bd8f,#bf9460);box-shadow:0 18px 34px #ae844e40}.rememberPasswordLine{min-height:24px;display:inline-flex!important;grid-template-columns:none!important;grid-auto-flow:column;gap:8px!important;align-items:center;justify-content:start;color:#6f685f!important;font-size:13px!important;font-weight:850!important}.rememberPasswordLine input{width:17px;height:17px;margin:0;accent-color:#bf9460}.loginError{margin:0;color:#991b1b;font-size:14px}.content{width:min(1180px,100%)}.tag{border-radius:999px;white-space:nowrap}.avatar{width:48px;height:48px;flex:0 0 auto;border-radius:8px;display:grid;place-items:center;color:#fff;font-weight:800;background:#c26444}.tag{padding:5px 10px;color:#5c4a18;background:#fff1c2;font-size:13px}.primaryButton,.dangerButton{min-height:40px;border-radius:8px;padding:0 14px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.primaryButton{color:#fff;background:#0f766e}.primaryButton:hover{background:#0b5f59}.dangerButton{color:#9a3412;background:#fff7ed;border-color:#fed7aa}textarea{width:100%;border:1px solid #d4dcd6;border-radius:8px;color:#182126;background:#fff;outline:0}textarea{min-height:96px;padding:12px;resize:vertical}.small{color:#6a7771;font-size:13px}@media(max-width:760px){.adminLoginShell{padding:0;place-items:stretch}.adminLoginFrame{min-height:100vh;border:0;border-radius:0;grid-template-columns:1fr;box-shadow:none}.adminLoginAside{min-height:290px;padding:28px 24px 26px}.adminLoginIntro{margin:44px 0 0}.adminLoginIntro h1{font-size:31px}.adminLoginIntro>p:last-child,.adminLoginCapabilities,.adminLoginFooter{display:none}.adminLoginCard{min-height:0;padding:36px 24px 48px;justify-content:flex-start}.adminLoginCardHeader{margin-bottom:28px}}@keyframes cursorBlink{50%{opacity:0}}:root{--rb-canvas: #f1f5f9;--rb-surface: #fff;--rb-ink: #0f172a;--rb-text: #1e293b;--rb-muted: #64748b;--rb-border: #e2e8f0;--rb-success: #047857;--rb-danger: #e11d48;--rb-shadow: 0 20px 60px rgba(15, 23, 42, .08)}.adminRebuild{min-height:100vh;color:var(--rb-text);background:var(--rb-canvas);display:grid;grid-template-columns:300px minmax(0,1fr)}.adminRebuild *{box-sizing:border-box}.adminRebuild button,.adminRebuild input,.adminRebuild textarea{font:inherit}.rebuildSidebar{position:sticky;top:0;height:100vh;padding:24px;border-right:1px solid var(--rb-border);background:var(--rb-surface);display:flex;flex-direction:column}.rebuildBrand{margin:0 0 38px;padding:0;border:0;color:var(--rb-ink);background:transparent;display:flex;align-items:center;gap:12px;text-align:left}.rebuildBrand>span{width:44px;height:44px;border-radius:16px;color:#fff;background:var(--rb-ink);display:grid;place-items:center}.rebuildBrand strong,.rebuildBrand small{display:block}.rebuildBrand strong{font-size:20px;letter-spacing:-.04em}.rebuildBrand small{margin-top:2px;color:var(--rb-muted);font-size:12px}.rebuildSidebar nav{display:grid;gap:8px}.rebuildSidebar nav button{position:relative;min-height:48px;padding:0 16px;border:0;border-radius:16px;color:var(--rb-muted);background:transparent;display:grid;grid-template-columns:20px minmax(0,1fr);gap:12px;align-items:center;text-align:left;font-size:14px;font-weight:650;transition:.18s ease}.rebuildSidebar nav button:hover{color:var(--rb-ink);background:#f8fafc}.rebuildSidebar nav button.active{color:#fff;background:var(--rb-ink);box-shadow:0 8px 18px #0f172a24}.rebuildSidebar nav i{position:absolute;right:12px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;color:#fff;background:#e11d48;display:inline-grid;place-items:center;font-size:10px;font-style:normal}.rebuildAccount{margin-top:auto;padding:16px;border:1px solid #f1f5f9;border-radius:24px;background:#f8fafc}.rebuildAccount>button:first-child{width:100%;padding:0;border:0;color:var(--rb-ink);background:transparent;display:flex;align-items:center;gap:12px;text-align:left}.rebuildAccount>button:first-child>span{width:40px;height:40px;border-radius:14px;color:#334155;background:#fff;display:grid;place-items:center;font-weight:750}.rebuildAccount strong,.rebuildAccount small{display:block}.rebuildAccount strong{font-size:14px}.rebuildAccount small{margin-top:3px;color:var(--rb-muted);font-size:12px}.rebuildLogout{width:100%;min-height:40px;margin-top:14px;border:0;border-radius:14px;color:#fff;background:var(--rb-ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:650}.rebuildMain{min-width:0;padding:32px}.rebuildHeader{min-height:60px;margin:0 0 24px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rebuildHeader p,.rebuildHeader h1{margin:0}.rebuildHeader p{color:var(--rb-muted);font-size:13px}.rebuildHeader h1{margin-top:4px;color:var(--rb-ink);font-size:30px;letter-spacing:-.04em}.rebuildHeader>div:last-child{display:flex;align-items:center;gap:10px}.rebuildHeader>div:last-child>button{width:42px;height:42px;border:1px solid var(--rb-border);border-radius:14px;color:#475569;background:#fff;display:grid;place-items:center}.rebuildLive{min-height:34px;padding:0 11px;border-radius:999px;color:var(--rb-success);background:#ecfdf5;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:650}.rebuildLive i{width:7px;height:7px;border-radius:50%;background:#10b981}.rebuildPanel{padding:24px;border:1px solid rgba(255,255,255,.8);border-radius:24px;background:#fff;box-shadow:var(--rb-shadow)}.rebuildPanelHeader{min-height:24px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.rebuildPanelHeader h2{margin:0;color:var(--rb-ink);font-size:18px;letter-spacing:-.02em}.rebuildLink{padding:0;border:0;color:#475569;background:transparent;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:650}.rebuildHero{position:relative;min-height:132px;padding:24px 28px;border-radius:20px;color:#fff;background:linear-gradient(112deg,#0f172a,#17233a);display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 12px 28px #0f172a1f;overflow:hidden}.rebuildHero:after{content:"";position:absolute;right:-48px;top:-130px;width:300px;height:300px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 34px #ffffff06,0 0 0 68px #ffffff05;pointer-events:none}.rebuildHero>div,.rebuildHero>button{position:relative;z-index:1}.rebuildHero p,.rebuildHero h2,.rebuildHero span{margin:0;display:block}.rebuildHero p{color:#94a3b8;font-size:10px;font-weight:700;letter-spacing:.12em}.rebuildHero h2{max-width:660px;margin-top:8px;color:#fff;font-size:clamp(25px,2.35vw,32px);line-height:1.18;letter-spacing:-.04em}.rebuildHero span{margin-top:7px;color:#cbd5e1;font-size:12px}.rebuildHero button{flex:0 0 auto;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.18);border-radius:10px;color:#fff;background:#ffffff1a;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:650}.rebuildHero button:hover{border-color:#ffffff57;background:#ffffff29}.rebuildMetrics{margin:20px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.rebuildMetrics button{min-height:160px;padding:20px;border:1px solid rgba(255,255,255,.8);border-radius:24px;color:var(--rb-text);background:#fff;box-shadow:var(--rb-shadow);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto auto;text-align:left;transition:.18s ease}.rebuildMetrics button:hover{border-color:#cbd5e1;box-shadow:0 24px 45px #0f172a1a;transform:translateY(-2px)}.rebuildMetrics svg{color:#475569}.rebuildMetrics strong{align-self:end;color:var(--rb-ink);font-size:34px}.rebuildMetrics span{grid-column:1 / -1;color:#334155;font-size:14px;font-weight:650}.rebuildMetrics small{grid-column:1 / -1;margin-top:5px;color:var(--rb-muted);font-size:12px}.rebuildBadge{width:fit-content;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:650;white-space:nowrap}.rebuildBadge.success{color:var(--rb-success);background:#ecfdf5}.rebuildBadge.danger{color:var(--rb-danger);background:#fff1f2}.rebuildBadge.neutral{color:#475569;background:#f1f5f9}.rebuildPageIntro{min-height:126px;margin-bottom:24px;padding:28px 30px;border:1px solid rgba(255,255,255,.8);border-radius:24px;background:linear-gradient(135deg,#fff,#f8fafc);box-shadow:var(--rb-shadow);display:flex;align-items:center;justify-content:space-between;gap:24px}.rebuildPageIntro p,.rebuildPageIntro h2,.rebuildPageIntro span{margin:0;display:block}.rebuildPageIntro p{color:var(--rb-muted);font-size:11px;font-weight:700;letter-spacing:.09em}.rebuildPageIntro h2{margin-top:7px;color:var(--rb-ink);font-size:30px;letter-spacing:-.04em}.rebuildPageIntro span{margin-top:7px;color:var(--rb-muted);font-size:14px}.rebuildFilter{display:flex;flex-wrap:wrap;gap:8px}.rebuildFilter button{min-height:34px;padding:0 12px;border:0;border-radius:999px;color:#475569;background:#f1f5f9;font-size:12px;font-weight:650}.rebuildFilter button.active{color:#fff;background:var(--rb-ink)}.rebuildSearch{width:min(360px,100%);height:42px;padding:0 13px;border:1px solid var(--rb-border);border-radius:12px;color:#94a3b8;background:#f8fafc;display:flex;align-items:center;gap:8px}.rebuildSearch input{width:100%;min-width:0;height:100%;border:0;outline:0;color:var(--rb-text);background:transparent;font-size:13px}.rebuildSearch:focus-within{border-color:#94a3b8;background:#fff;box-shadow:0 0 0 3px #94a3b82e}.rebuildTable{overflow:auto}.rebuildTableHead,.rebuildTable article{min-width:720px;display:grid;grid-template-columns:1.15fr 1fr 1fr 110px;gap:18px;align-items:center}.rebuildTableHead{padding:0 16px 12px;color:var(--rb-muted);font-size:11px}.rebuildTable article{min-height:72px;padding:12px 16px;border-top:1px solid #f1f5f9}.rebuildTable article>div strong,.rebuildTable article>div small{display:block}.rebuildTable article>div strong{color:var(--rb-text);font-size:13px}.rebuildTable article>div small{margin-top:4px;color:var(--rb-muted);font-size:11px}.rebuildCalendarPanel{margin-bottom:20px}.rebuildCalendarHeader{margin-bottom:22px;display:flex;align-items:center;justify-content:space-between}.rebuildCalendarHeader p,.rebuildCalendarHeader h2{margin:0}.rebuildCalendarHeader p{color:var(--rb-muted);font-size:12px}.rebuildCalendarHeader h2{margin-top:5px;color:var(--rb-ink);font-size:20px}.rebuildCalendarHeader>div:last-child{display:flex;gap:8px}.rebuildCalendarHeader button{width:36px;height:36px;border:1px solid var(--rb-border);border-radius:11px;color:#475569;background:#fff;display:grid;place-items:center}.rebuildCalendarHeader button:hover{border-color:#94a3b8;background:#f8fafc}.rebuildCalendarWeekdays,.rebuildCalendarDays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.rebuildCalendarWeekdays{margin-bottom:8px;color:var(--rb-muted);text-align:center;font-size:11px}.rebuildCalendarDays{gap:8px}.rebuildCalendarDays>button{min-height:78px;padding:10px 8px;border:1px solid transparent;border-radius:16px;color:#475569;background:#f8fafc;display:grid;align-content:center;justify-items:center;gap:5px;transition:.16s ease}.rebuildCalendarDays>button:hover{border-color:#cbd5e1;background:#fff}.rebuildCalendarDays>button.today{border-color:#cbd5e1}.rebuildCalendarDays>button.selected{border-color:var(--rb-ink);color:#fff;background:var(--rb-ink);box-shadow:0 8px 16px #0f172a29}.rebuildCalendarDays strong{color:inherit;font-size:16px}.rebuildCalendarDays small{color:var(--rb-success);font-size:10px;font-weight:650}.rebuildCalendarDays button.selected small{color:#bbf7d0}.rebuildCalendarDays i{width:5px;height:5px;border-radius:50%;background:transparent}.rebuildCalendarDays button.hasAppointments i{background:#10b981}.rebuildCalendarDays>span{min-height:78px}.rebuildPanelCount{padding:5px 9px;border-radius:999px;color:var(--rb-success);background:#ecfdf5;font-size:11px;font-weight:650}.rebuildCalendarTools{display:flex;align-items:center;gap:12px}.rebuildCalendarTools>div{display:flex;gap:8px}.rebuildCalendarTools label{height:36px;padding:0 9px 0 11px;border:1px solid var(--rb-border);border-radius:11px;color:var(--rb-muted);background:#f8fafc;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650}.rebuildCalendarTools>.rebuildCounselorPicker{position:relative;display:grid;gap:4px}.rebuildCounselorPicker>span{color:var(--rb-muted);font-size:10px;font-weight:700;letter-spacing:.04em}.rebuildCounselorPicker>button{width:190px;height:38px;padding:0 10px 0 6px;border:1px solid var(--rb-border);border-radius:12px;color:var(--rb-text);background:#f8fafc;display:grid;grid-template-columns:26px minmax(0,1fr) 16px;gap:8px;align-items:center;text-align:left;box-shadow:none}.rebuildCounselorPicker>button:hover,.rebuildCounselorPicker>button.open{border-color:#94a3b8;background:#fff}.rebuildCounselorPicker>button.open{box-shadow:0 0 0 3px #94a3b82e}.rebuildCounselorPicker>button>i,.rebuildCounselorMenu>button>i{width:26px;height:26px;border-radius:9px;color:#fff;background:var(--rb-ink);display:grid;place-items:center;font-size:11px;font-style:normal;font-weight:750}.rebuildCounselorPicker>button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.rebuildCounselorPicker>button svg{color:var(--rb-muted);transition:transform .16s ease}.rebuildCounselorPicker>button.open svg{transform:rotate(180deg)}.rebuildCounselorMenu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:260px;max-height:280px;padding:6px;border:1px solid var(--rb-border);border-radius:16px;background:#fff;box-shadow:0 20px 42px #0f172a29;overflow:auto}.rebuildCounselorMenu>button{width:100%;min-height:52px;padding:7px;border:0;border-radius:11px;color:var(--rb-text);background:transparent;display:grid;grid-template-columns:30px minmax(0,1fr) 16px;gap:9px;align-items:center;text-align:left}.rebuildCounselorMenu>button:hover{background:#f8fafc}.rebuildCounselorMenu>button.selected{background:#f1f5f9}.rebuildCounselorMenu>button>i{width:30px;height:30px;border-radius:10px;background:#334155}.rebuildCounselorMenu span{min-width:0}.rebuildCounselorMenu strong,.rebuildCounselorMenu small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildCounselorMenu strong{font-size:12px}.rebuildCounselorMenu small{margin-top:3px;color:var(--rb-muted);font-size:10px}.rebuildCounselorMenu svg{color:var(--rb-success)}.rebuildEmpty{min-height:120px;padding:24px;border:1px dashed var(--rb-border);border-radius:16px;color:var(--rb-muted);background:#f8fafc;display:grid;place-items:center;text-align:center;font-size:13px}.rebuildMessages{min-height:calc(100vh - 148px);border:1px solid rgba(255,255,255,.8);border-radius:24px;background:#fff;box-shadow:var(--rb-shadow);display:grid;grid-template-columns:310px minmax(0,1fr);overflow:hidden}.rebuildMessages>aside{border-right:1px solid var(--rb-border)}.rebuildMessages>aside header{padding:24px;border-bottom:1px solid var(--rb-border)}.rebuildMessages>aside header p,.rebuildMessages>aside header h2{margin:0}.rebuildMessages>aside header p{color:var(--rb-muted);font-size:10px;letter-spacing:.1em}.rebuildMessages>aside header h2{margin-top:6px;color:var(--rb-ink);font-size:20px}.rebuildMessages>aside>div{padding:10px;display:grid;gap:4px}.rebuildMessages>aside button{width:100%;min-height:66px;padding:10px;border:0;border-radius:14px;color:var(--rb-text);background:transparent;display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left}.rebuildMessages>aside button:hover,.rebuildMessages>aside button.active{background:#f1f5f9}.rebuildMessages>aside button>span,.rebuildMessages>main>header>span{width:36px;height:36px;border-radius:12px;color:#fff;background:var(--rb-ink);display:grid;place-items:center;font-weight:700}.rebuildMessages>aside strong,.rebuildMessages>aside small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildMessages>aside strong{font-size:13px}.rebuildMessages>aside small{margin-top:4px;color:var(--rb-muted);font-size:11px}.rebuildMessages>aside i{min-width:17px;height:17px;border-radius:999px;color:#fff;background:var(--rb-danger);display:grid;place-items:center;font-size:10px;font-style:normal}.rebuildMessages>main{min-width:0;min-height:0;padding:24px;display:grid;grid-template-rows:auto minmax(300px,1fr) auto}.rebuildMessages>main>header{padding-bottom:16px;border-bottom:1px solid var(--rb-border);display:flex;align-items:center;gap:10px}.rebuildMessages>main>header strong,.rebuildMessages>main>header small{display:block}.rebuildMessages>main>header strong{font-size:14px}.rebuildMessages>main>header small{margin-top:3px;color:var(--rb-muted);font-size:11px}.rebuildChat{min-height:0;padding:20px 0;overflow:auto;display:grid;align-content:start;gap:14px}.rebuildChat article{max-width:70%}.rebuildChat article.mine{justify-self:end}.rebuildChat article small,.rebuildChat article time{color:var(--rb-muted);font-size:10px}.rebuildChat article p{width:fit-content;max-width:100%;margin:5px 0 4px;padding:10px 12px;border-radius:14px 14px 14px 4px;color:var(--rb-text);background:#f1f5f9;line-height:1.5;font-size:13px}.rebuildChat article.mine p{margin-left:auto;border-radius:14px 14px 4px;color:#fff;background:var(--rb-ink)}.rebuildChat article.mine small,.rebuildChat article.mine time{display:block;text-align:right}.rebuildMessages form{padding-top:16px;border-top:1px solid var(--rb-border);display:flex;gap:10px}.rebuildMessages form input{min-width:0;flex:1;height:42px;padding:0 12px;border:1px solid var(--rb-border);border-radius:12px;outline:0;background:#f8fafc}.rebuildCounselors{display:grid;gap:10px}.rebuildCounselors article{min-height:82px;padding:14px;border:1px solid var(--rb-border);border-radius:18px;display:grid;grid-template-columns:52px minmax(0,1fr) auto auto;gap:14px;align-items:center}.rebuildCounselorAvatar{width:52px;height:52px;border-radius:15px;color:#fff;background:var(--rb-ink);display:grid;place-items:center;overflow:hidden;font-weight:700}.rebuildCounselorAvatar img{width:100%;height:100%;object-fit:cover}.rebuildCounselors strong,.rebuildCounselors small,.rebuildCounselors em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildCounselors strong{font-size:14px}.rebuildCounselors small{margin-top:3px;color:var(--rb-muted);font-size:12px}.rebuildCounselors em{margin-top:5px;color:#475569;font-size:11px;font-style:normal}.rebuildRowActions{display:flex;gap:6px}.rebuildRowActions button{width:32px;height:32px;border:1px solid var(--rb-border);border-radius:10px;color:#475569;background:#fff;display:grid;place-items:center}.rebuildRowActions button.danger{border-color:#fecdd3;color:var(--rb-danger);background:#fff1f2}.rebuildButton{min-height:42px;padding:0 14px;border:0;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:650}.rebuildButton.primary{color:#fff;background:var(--rb-ink)}.rebuildButton.secondary{border:1px solid var(--rb-border);color:#475569;background:#fff}.rebuildButton.dangerButton{color:var(--rb-danger);background:#fff1f2}.rebuildSettings{max-width:920px}.rebuildSettingsHero{min-height:154px;padding:28px;border-radius:24px;color:#fff;background:var(--rb-ink);display:flex;align-items:center;gap:16px}.rebuildSettingsHero>span{width:58px;height:58px;border-radius:18px;color:var(--rb-ink);background:#fff;display:grid;place-items:center}.rebuildSettingsHero p,.rebuildSettingsHero h2,.rebuildSettingsHero small{margin:0;display:block}.rebuildSettingsHero p{color:#cbd5e1;font-size:11px;letter-spacing:.1em}.rebuildSettingsHero h2{margin-top:5px;color:#fff;font-size:27px}.rebuildSettingsHero small{margin-top:5px;color:#cbd5e1}.rebuildSettingsGrid{margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.rebuildSystemState{display:flex;gap:11px;color:var(--rb-success)}.rebuildSystemState strong,.rebuildSystemState small{display:block}.rebuildSystemState strong{color:var(--rb-text);font-size:13px}.rebuildSystemState small{margin-top:4px;color:var(--rb-muted);font-size:12px}.rebuildSettings ul{margin:0;padding:0;list-style:none;display:grid;gap:12px}.rebuildSettings li{color:#475569;display:flex;align-items:center;gap:8px;font-size:13px}.rebuildSettings li svg{color:var(--rb-success)}.rebuildDialogBackdrop{position:fixed;inset:0;z-index:100;padding:24px;background:#0f172a75;display:grid;place-items:center}.rebuildDialog{width:min(820px,100%);max-height:min(90vh,800px);padding:26px;border:0;border-radius:24px;background:#fff;box-shadow:0 24px 70px #0f172a38;overflow:auto}.rebuildDialog>header{margin-bottom:24px;display:flex;align-items:flex-start;justify-content:space-between}.rebuildDialog>header p,.rebuildDialog>header h2{margin:0}.rebuildDialog>header p{color:var(--rb-muted);font-size:11px;letter-spacing:.1em}.rebuildDialog>header h2{margin-top:6px;color:var(--rb-ink);font-size:24px}.rebuildDialog>header button{width:36px;height:36px;border:1px solid var(--rb-border);border-radius:12px;color:#475569;background:#fff;display:grid;place-items:center}.rebuildFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rebuildFormGrid label{color:#475569;font-size:13px;font-weight:650}.rebuildFormGrid label.full{grid-column:1 / -1}.rebuildFormGrid input,.rebuildFormGrid textarea{width:100%;margin-top:7px;padding:10px 11px;border:1px solid var(--rb-border);border-radius:12px;outline:0;color:var(--rb-text);background:#f8fafc}.rebuildCategories{margin:20px 0;padding:0;border:0}.rebuildCategories legend{margin-bottom:9px;color:#475569;font-size:13px;font-weight:650}.rebuildCategories button{min-height:30px;margin:0 7px 7px 0;padding:0 10px;border:1px solid var(--rb-border);border-radius:999px;color:#475569;background:#fff;font-size:12px}.rebuildCategories button.selected{border-color:#0f172a;color:#fff;background:#0f172a}.rebuildDialog footer{display:flex;justify-content:flex-end;gap:10px}.rebuildError{color:var(--rb-danger);font-size:13px}@media(min-width:981px){.adminRebuild{height:100vh;overflow:hidden}.rebuildMain{height:100vh;overflow-x:hidden;overflow-y:auto}.rebuildMain.dashboardMode{overflow:hidden}.dashboardMode .rebuildHeader{min-height:52px;margin-bottom:14px}.dashboardMode .rebuildHeader h1{font-size:27px}.rebuildDashboard{height:calc(100dvh - 154px);min-height:0;display:grid;grid-template-rows:112px 102px minmax(170px,1fr);gap:12px}.dashboardMode .rebuildHero{min-height:0;height:112px;padding:18px 24px;border-radius:18px}.dashboardMode .rebuildHero h2{margin-top:6px;font-size:clamp(23px,2vw,29px)}.dashboardMode .rebuildHero span{margin-top:5px;font-size:11px}.dashboardMode .rebuildHero:after{right:-68px;top:-150px;opacity:.8}.dashboardMode .rebuildMetrics{height:102px;margin:0;gap:12px}.dashboardMode .rebuildMetrics button{min-height:0;height:102px;padding:13px 16px;border-radius:18px}.dashboardMode .rebuildMetrics strong{font-size:25px}.dashboardMode .rebuildMetrics span{font-size:13px}.dashboardMode .rebuildMetrics small{margin-top:2px;font-size:11px}.dashboardMode .rebuildPanel{min-height:0;padding:17px 20px;border-radius:20px;box-shadow:0 14px 38px #0f172a11}.dashboardMode .rebuildPanelHeader{min-height:20px;margin-bottom:12px}.dashboardMode .rebuildPanelHeader h2{font-size:16px}}@media(min-width:981px){.rebuildMain.messagesMode{height:100vh;padding:32px;overflow:hidden;display:flex;flex-direction:column}.rebuildMain.messagesMode>.rebuildHeader{flex:0 0 auto}.rebuildMain.messagesMode .rebuildMessages{min-height:0;flex:1 1 auto;margin:0}.rebuildMain.messagesMode .rebuildMessages>aside{min-height:0;display:flex;flex-direction:column;overflow:hidden}.rebuildMain.messagesMode .rebuildMessages>aside>div{min-height:0;flex:1 1 auto;overflow:auto}.rebuildMain.messagesMode .rebuildMessages>main{min-height:0}}.rebuildGroupSearch{width:100%;height:36px;margin-top:14px;border-radius:10px}.rebuildGroupMessages>aside header>small{display:block;margin-top:5px;color:var(--rb-muted);font-size:11px}.rebuildGroupMessages>aside button{min-height:78px}.rebuildGroupMessages>aside button em{display:block;margin-top:5px;overflow:hidden;color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-style:normal}.rebuildGroupMessages .rebuildGroupListMark{color:#0f766e;background:#ccfbf1}.rebuildGroupMessages .rebuildGroupHeader{min-height:54px}.rebuildGroupAvatarStack{min-width:190px;display:flex;align-items:center;gap:5px}.rebuildGroupAvatarStack>span{width:34px;height:34px;margin-left:0;flex:0 0 34px;overflow:hidden;border:1px solid #e2e8f0;border-radius:10px;color:#fff;background:#0f766e;display:grid;place-items:center;font-size:11px;font-weight:800}.rebuildGroupAvatarStack>span:first-child{margin-left:0;background:#334155}.rebuildGroupAvatarStack>span:nth-child(2){background:#0f172a}.rebuildGroupAvatarStack>span.hasAvatar{background:#fff}.rebuildGroupAvatarStack>span.hasAvatar img{display:block;width:100%;height:100%;object-fit:contain}.rebuildGroupMessages .rebuildGroupHeader>div:nth-child(2){min-width:0}.rebuildGroupMessages .rebuildGroupHeader>em{margin-left:auto;padding:5px 8px;border-radius:999px;color:#0f766e;background:#ecfdf5;font-size:10px;font-style:normal;font-weight:750}.rebuildPeriod{padding:5px 9px;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:10px;font-weight:700}.rebuildChartBody{min-height:0;flex:1;display:flex;flex-direction:column}.rebuildChartValue{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.rebuildChartValue small,.rebuildChartValue strong{display:block}.rebuildChartValue small{color:var(--rb-muted);font-size:11px}.rebuildChartValue strong{margin-top:3px;color:var(--rb-ink);font-size:25px;line-height:1;letter-spacing:-.04em}.rebuildChartValue em{color:var(--rb-muted);font-size:11px;font-style:normal;font-weight:600;letter-spacing:0}.rebuildChartValue>span{margin-top:2px;padding:5px 7px;border-radius:8px;color:#0f766e;background:#ecfdf5;display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:700;white-space:nowrap}.rebuildChartValue>.rebuildChartNote{color:#475569;background:#f1f5f9}.rebuildChartBody svg{width:100%;min-height:0;flex:1;margin-top:4px;overflow:visible}.rebuildChartBody svg line{stroke:#e8eef5;stroke-dasharray:3 5}.rebuildLineChart svg polyline{fill:none;stroke:#0f766e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.rebuildLineChart svg circle{fill:#fff;stroke:#0f766e;stroke-width:3}.rebuildChartBody svg text{fill:#94a3b8;font-size:10px;font-weight:600}.rebuildStatusChart{min-height:0;flex:1;display:grid;grid-template-columns:118px minmax(0,1fr);gap:17px;align-items:center}.rebuildDonut{width:118px;height:118px;border-radius:50%;padding:15px;display:grid;place-items:center;box-shadow:inset 0 0 0 1px #ffffffb8,0 12px 22px #0f172a0d}.rebuildDonut>div{width:100%;height:100%;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center}.rebuildDonut strong,.rebuildDonut small{display:block}.rebuildDonut strong{color:var(--rb-ink);font-size:25px;letter-spacing:-.04em}.rebuildDonut small{margin-top:2px;color:var(--rb-muted);font-size:10px}.rebuildDonutLegend{display:grid;gap:8px}.rebuildDonutLegend>div{min-width:0;padding-bottom:7px;border-bottom:1px solid #f1f5f9;display:grid;grid-template-columns:7px minmax(0,1fr) auto;gap:7px;align-items:center}.rebuildDonutLegend>div:last-child{padding-bottom:0;border:0}.rebuildDonutLegend i{width:7px;height:7px;border-radius:50%}.rebuildDonutLegend span{overflow:hidden;color:#475569;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.rebuildDonutLegend strong{color:var(--rb-ink);font-size:12px}.rebuildDashboardFocus{min-height:0;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:12px}.rebuildDashboardFocus>.rebuildPanel,.rebuildDashboardInsightStack>.rebuildPanel{min-height:0;display:flex;flex-direction:column}.rebuildDashboardInsightStack{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:12px}.rebuildTodayPanel .rebuildPanelHeader h2{display:flex;align-items:center;gap:9px}.rebuildTodayPanel .rebuildPanelHeader h2>small{color:var(--rb-muted);font-size:12px;font-weight:600;letter-spacing:0}.rebuildTodayPanelActions{display:flex;align-items:center;gap:8px}.rebuildTodayPanelActions>em{padding:0 2px;color:var(--rb-muted);display:inline-flex;align-items:center;gap:5px;font-size:11px;font-style:normal;font-weight:650;white-space:nowrap}.rebuildTodayPanelActions>em>i{width:6px;height:6px;border-radius:50%;background:#10b981;box-shadow:0 0 0 3px #ecfdf5}.rebuildTodayPanelActions .rebuildLink{min-height:30px;padding:0 9px 0 10px;border:1px solid var(--rb-border);border-radius:9px;color:#334155;background:#f8fafc;font-size:11px;transition:.16s ease}.rebuildTodayPanelActions .rebuildLink:hover{border-color:#94a3b8;background:#fff;box-shadow:0 4px 10px #0f172a0f}.rebuildCalendarMonth{margin-top:5px;display:flex;align-items:center;gap:8px}.rebuildCalendarMonth h2{margin:0;min-width:128px;text-align:center}.rebuildCalendarMonth button{width:30px;height:30px;border-radius:9px}.rebuildCalendarTools{justify-content:flex-end}.rebuildMain.appointmentsMode>.rebuildHeader{display:none}.rebuildAppointmentDetailTools{display:flex;align-items:center;justify-content:flex-end;gap:12px}.rebuildAppointmentDetailTools .rebuildDetailFilter{gap:6px}.rebuildAppointmentDetailTools .rebuildDetailFilter button{min-height:31px;padding:0 10px;font-size:11px}.rebuildTodaySchedule{flex:0 0 auto;grid-template-rows:auto auto}.rebuildTodayList{display:block}.rebuildTodayList .rebuildEmpty{width:calc(100% - 12px);min-height:0;height:auto;margin:0 6px;aspect-ratio:1.85 / 1}.rebuildTodaySchedule{min-height:0;flex:1;display:grid;grid-template-rows:auto minmax(0,1fr) auto}.rebuildTodayList{min-height:0;overflow:hidden}.rebuildTodayListHead,.rebuildTodayList article{display:grid;grid-template-columns:minmax(120px,1.05fr) minmax(120px,1.05fr) minmax(120px,.95fr) auto;gap:14px;align-items:center}.rebuildTodayListHead{min-height:35px;padding:0 6px;color:#94a3b8;font-size:10px;font-weight:700}.rebuildTodayList article{min-height:66px;padding:8px 6px;border-top:1px solid #f1f5f9}.rebuildTodayPerson{min-width:0;display:flex;align-items:center;gap:8px}.rebuildTodayPerson>i{width:30px;height:30px;flex:0 0 auto;border-radius:10px;color:#fff;background:#1e293b;display:grid;place-items:center;font-size:12px;font-style:normal;font-weight:750}.rebuildTodayPerson.counselor>i{color:#0f766e;background:#e6fffa}.rebuildTodayPerson>div{min-width:0}.rebuildTodayPerson strong,.rebuildTodayPerson small,.rebuildTodayList time strong,.rebuildTodayList time small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildTodayPerson strong,.rebuildTodayList time strong{color:var(--rb-text);font-size:12px}.rebuildTodayPerson small,.rebuildTodayList time small{margin-top:3px;color:var(--rb-muted);font-size:10px}.rebuildTodayList .rebuildEmpty{height:calc(100% - 35px);min-height:0;margin:0 6px}.rebuildTodayPager{min-height:36px;padding-top:10px;border-top:1px solid #edf2f7;display:flex;align-items:center;justify-content:space-between}.rebuildTodayPager>span{color:#94a3b8;font-size:10px;font-weight:650}.rebuildTodayPager>div{display:flex;gap:5px}.rebuildTodayPager button{width:27px;height:27px;padding:0;border:1px solid var(--rb-border);border-radius:8px;color:#475569;background:#fff;display:grid;place-items:center}.rebuildTodayPager button:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc}.rebuildTodayPager button:disabled{cursor:not-allowed;opacity:.38}@media(min-width:981px){.dashboardMode .rebuildHeader{display:none}.dashboardMode .rebuildDashboard{height:calc(100dvh - 64px);grid-template-rows:112px 102px auto;align-content:start}.dashboardMode .rebuildDashboardFocus{min-height:0;align-items:stretch}.dashboardMode .rebuildDashboardFocus>.rebuildPanel{padding:17px 20px}.dashboardMode .rebuildTodayPanel{align-self:stretch}.dashboardMode .rebuildDashboardInsightStack>.rebuildPanel{padding:13px 16px;border-radius:18px}.dashboardMode .rebuildDashboardInsightStack .rebuildPanelHeader{min-height:18px;margin-bottom:7px}.dashboardMode .rebuildDashboardInsightStack .rebuildPanelHeader h2{font-size:13px}.dashboardMode .rebuildDashboardInsightStack .rebuildPeriod{padding:4px 7px;font-size:9px}.dashboardMode .rebuildDashboardInsightStack .rebuildLink{font-size:10px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartValue small{font-size:9px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartValue strong{font-size:19px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartValue>span{margin-top:0;padding:3px 5px;font-size:8px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartValue>span svg{width:11px;height:11px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartBody svg{margin-top:1px}.dashboardMode .rebuildDashboardInsightStack .rebuildChartBody svg text{font-size:8px}.dashboardMode .rebuildDashboardInsightStack .rebuildStatusChart{grid-template-columns:72px minmax(0,1fr);gap:11px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonut{width:72px;height:72px;padding:9px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonut strong{font-size:18px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonut small{font-size:8px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonutLegend{gap:3px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonutLegend>div{padding-bottom:3px;gap:5px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonutLegend i{width:5px;height:5px}.dashboardMode .rebuildDashboardInsightStack .rebuildDonutLegend span,.dashboardMode .rebuildDashboardInsightStack .rebuildDonutLegend strong{font-size:9px}}@media(min-width:981px){.rebuildMain.appointmentsMode{height:100vh;padding:32px;overflow:hidden;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-rows:minmax(0,1fr);gap:20px}.appointmentsMode .rebuildMain{min-width:0}.rebuildMain.appointmentsMode>.rebuildPanel{min-height:0;margin:0;padding:22px;display:flex;flex-direction:column}.rebuildMain.appointmentsMode .rebuildCalendarPanel{margin-bottom:0}.rebuildMain.appointmentsMode .rebuildCalendarDays{min-height:0;flex:1;grid-auto-rows:minmax(0,1fr)}.rebuildMain.appointmentsMode .rebuildCalendarDays>button,.rebuildMain.appointmentsMode .rebuildCalendarDays>span{min-height:0}.rebuildMain.appointmentsMode>.rebuildPanel:not(.rebuildCalendarPanel) .rebuildTable{min-height:0;flex:1}.rebuildMain.appointmentsMode>.rebuildPanel:not(.rebuildCalendarPanel){overflow:hidden}.rebuildMain.appointmentsMode>.rebuildPanel:not(.rebuildCalendarPanel) .rebuildTable{overflow:auto}.rebuildMain.appointmentsMode .rebuildPanelHeader{flex-wrap:wrap;align-items:flex-start}.rebuildMain.appointmentsMode .rebuildAppointmentDetailTools{margin-left:auto}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarPanel{align-self:start}.rebuildMain.appointmentsMode .rebuildCalendarDays{flex:0 0 auto;grid-auto-rows:82px;gap:8px}.rebuildMain.appointmentsMode .rebuildCalendarDays>button{position:relative;min-height:0;padding:12px 11px;border:1px solid transparent;border-radius:16px;background:linear-gradient(145deg,#f8fafc,#f1f5f9);align-content:space-between;justify-items:start;box-shadow:inset 0 1px #ffffffbf}.rebuildMain.appointmentsMode .rebuildCalendarDays>button:hover{border-color:#cbd5e1;background:#fff;box-shadow:0 8px 16px #0f172a12;transform:translateY(-1px)}.rebuildMain.appointmentsMode .rebuildCalendarDays>button strong{font-size:15px;letter-spacing:-.02em}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.today{border-color:#99f6e4;background:#f0fdfa}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.hasAppointments:after{content:"";position:absolute;top:13px;right:12px;width:6px;height:6px;border-radius:50%;background:#14b8a6;box-shadow:0 0 0 3px #ccfbf1}.rebuildMain.appointmentsMode .rebuildCalendarDays>button small{align-self:end;padding:3px 6px;border-radius:999px;color:#0f766e;background:#dffbf5;font-size:9px}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.selected{border-color:#0f172a;background:linear-gradient(145deg,#17233a,#0f172a);box-shadow:0 10px 20px #0f172a33;transform:none}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.selected small{color:#d1fae5;background:#ffffff1c}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.selected:after{background:#5eead4;box-shadow:0 0 0 3px #5eead429}.rebuildMain.appointmentsMode .rebuildCalendarWeekdays{margin:15px 0 9px;font-size:10px;font-weight:700;letter-spacing:.04em}.rebuildMain.appointmentsMode .rebuildCalendarDays>span{min-height:0;border-radius:16px;background:linear-gradient(145deg,#f8fafcb3,#f1f5f973)}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarPanel{align-self:stretch;position:relative}.rebuildMain.appointmentsMode .rebuildCalendarPanel:after{content:"调度提示\a\a带有绿色标识的日期表示已有预约。\a点击日期后，可在右侧查看当天的服务安排。";min-height:126px;margin-top:auto;padding:19px 20px 18px 53px;border:1px solid #dbeafe;border-radius:18px;color:#64748b;background:linear-gradient(135deg,#f8fbff,#f0f9ff);box-shadow:inset 0 1px #fffc;white-space:pre-line;font-size:12px;line-height:1.8}.rebuildMain.appointmentsMode .rebuildCalendarPanel:before{content:"i";position:absolute;left:40px;bottom:101px;z-index:1;width:22px;height:22px;border-radius:8px;color:#2563eb;background:#dbeafe;display:grid;place-items:center;font-family:Georgia,serif;font-size:15px;font-style:italic;font-weight:700}}@media(min-width:981px){.rebuildMain.appointmentsMode{display:block}.rebuildAppointmentWorkspace{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:20px}.rebuildCalendarColumn{min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);gap:20px}.rebuildAppointmentWorkspace>.rebuildPanel,.rebuildCalendarColumn>.rebuildPanel{min-height:0;margin:0;padding:22px}.rebuildCalendarColumn>.rebuildCalendarPanel{align-self:auto;position:static;display:flex;flex-direction:column}.rebuildCalendarColumn>.rebuildCalendarPanel:before,.rebuildCalendarColumn>.rebuildCalendarPanel:after{content:none}.rebuildCalendarColumn .rebuildCalendarDays{flex:0 0 auto;grid-auto-rows:72px;gap:8px}.rebuildCalendarColumn .rebuildCalendarDays>button{padding:10px}.rebuildAppointmentDetailPanel{min-height:0;display:flex;flex-direction:column;overflow:hidden}.rebuildAppointmentDetailPanel .rebuildTable{min-height:0;flex:1;overflow:auto}.rebuildScheduleUtility{min-height:0;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#fff,#f8fafc)}.rebuildScheduleUtility .rebuildPanelHeader{margin-bottom:18px}.rebuildScheduleUtility .rebuildPanelHeader>span{padding:5px 8px;border-radius:8px;color:#0f766e;background:#ecfdf5;font-size:10px;font-weight:700}.rebuildScheduleMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rebuildScheduleMetrics article{min-width:0;padding:14px 10px;border:1px solid #e8eef5;border-radius:15px;background:#fff}.rebuildScheduleMetrics small,.rebuildScheduleMetrics strong,.rebuildScheduleMetrics span{display:block}.rebuildScheduleMetrics small{overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.rebuildScheduleMetrics strong{margin-top:8px;color:#0f172a;font-size:26px;line-height:1;letter-spacing:-.04em}.rebuildScheduleMetrics span{margin-top:7px;overflow:hidden;color:#94a3b8;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.rebuildScheduleNote{margin-top:auto;padding-top:18px;border-top:1px solid #edf2f7;color:#64748b;display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.65}.rebuildScheduleNote>i{width:7px;height:7px;flex:0 0 auto;margin-top:6px;border-radius:50%;background:#14b8a6;box-shadow:0 0 0 4px #ccfbf1}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarColumn>.rebuildCalendarPanel{align-self:auto;position:static}.rebuildMain.appointmentsMode .rebuildCalendarColumn>.rebuildCalendarPanel:before,.rebuildMain.appointmentsMode .rebuildCalendarColumn>.rebuildCalendarPanel:after{content:none!important;min-height:0;margin:0;padding:0;border:0}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarColumn>.rebuildCalendarPanel{padding:20px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays{min-height:0;flex:0 0 auto;grid-auto-rows:60px;gap:7px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button,.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>span{min-height:60px;border-radius:14px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button{padding:9px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button strong{font-size:14px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarWeekdays{margin:12px 0 8px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarMonth{margin-top:3px}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorPicker>button{width:178px;height:34px;padding:0 8px 0 5px;grid-template-columns:24px minmax(0,1fr) 14px;gap:7px;border-radius:10px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorPicker>button>i{width:24px;height:24px;border-radius:8px;font-size:10px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorPicker>button strong{font-size:11px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu{width:206px;max-height:210px;padding:4px;border-radius:13px;box-shadow:0 14px 30px #0f172a24}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu>button{min-height:42px;padding:6px;grid-template-columns:25px minmax(0,1fr) 14px;gap:7px;border-radius:9px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu>button>i{width:25px;height:25px;border-radius:8px;font-size:10px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu strong{font-size:11px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu small{margin-top:1px;font-size:9px}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCounselorMenu svg{width:14px;height:14px}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel{position:relative;padding-bottom:76px}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildTable{flex:1 1 auto!important;height:auto;aspect-ratio:auto;min-height:0;overflow:auto}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildTable .rebuildEmpty{width:100%;min-height:0;height:calc(100% - 35px);margin:0;border-radius:16px}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager{position:absolute;right:22px;bottom:21px;height:34px;padding:0 0 0 11px;border:1px solid #edf2f7;border-radius:10px;color:#94a3b8;background:#fff;display:flex;align-items:center;gap:10px;box-shadow:0 5px 14px #0f172a0a}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager>span{font-size:10px;font-weight:650;white-space:nowrap}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager>div{height:100%;display:flex}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager button{width:33px;height:100%;padding:0;border:0;border-left:1px solid #edf2f7;color:#64748b;background:transparent;display:grid;place-items:center}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager button:last-child{border-radius:0 10px 10px 0}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager button:hover:not(:disabled){color:#0f172a;background:#f8fafc}.rebuildMain.appointmentsMode .rebuildAppointmentDetailPanel .rebuildAppointmentPager button:disabled{color:#cbd5e1;cursor:not-allowed}}@media(min-width:981px){.rebuildMain.visitorsMode{height:100vh;padding:32px;overflow:hidden}.rebuildMain.visitorsMode>.rebuildHeader{display:none}.rebuildVisitorWorkspace{height:100%;min-height:0;display:grid;grid-template-columns:minmax(300px,.68fr) minmax(0,1.32fr);gap:20px}.rebuildVisitorDirectory,.rebuildVisitorProfile{min-height:0;border:1px solid rgba(255,255,255,.8);border-radius:24px;background:#fff;box-shadow:var(--rb-shadow)}.rebuildVisitorDirectory{display:flex;flex-direction:column;overflow:hidden}.rebuildVisitorDirectory>header{padding:22px;border-bottom:1px solid #edf2f7;display:grid;gap:16px}.rebuildVisitorDirectory p,.rebuildVisitorDirectory h2,.rebuildVisitorDirectory small{margin:0;display:block}.rebuildVisitorDirectory p{color:#94a3b8;font-size:10px;font-weight:750;letter-spacing:.1em}.rebuildVisitorDirectory h2{margin-top:5px;color:#0f172a;font-size:20px;letter-spacing:-.03em}.rebuildVisitorDirectory header>div>small{margin-top:5px;color:#94a3b8;font-size:11px}.rebuildVisitorDirectory .rebuildSearch{width:100%;height:37px}.rebuildVisitorList{min-height:0;padding:10px;overflow:auto;display:grid;align-content:start;gap:4px}.rebuildVisitorList>button{width:100%;min-height:82px;padding:11px 10px;border:1px solid transparent;border-radius:15px;color:#334155;background:transparent;display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left}.rebuildVisitorList>button:hover{background:#f8fafc}.rebuildVisitorList>button.active{border-color:#cbd5e1;background:linear-gradient(135deg,#f8fafc,#f1f5f9);box-shadow:inset 3px 0 #0f172a}.rebuildVisitorList>button>span{width:35px;height:35px;border-radius:12px;color:#fff;background:#1e293b;display:grid;place-items:center;font-size:14px;font-weight:750}.rebuildVisitorList>button>div{min-width:0}.rebuildVisitorList strong,.rebuildVisitorList small,.rebuildVisitorList em{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildVisitorList strong{color:#1e293b;font-size:13px}.rebuildVisitorList small{margin-top:3px;color:#64748b;font-size:10px}.rebuildVisitorList em{margin-top:6px;color:#94a3b8;font-size:10px;font-style:normal}.rebuildVisitorList>button>i{min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:#e11d48;background:#fff1f2;display:grid;place-items:center;font-size:9px;font-style:normal;font-weight:750}.rebuildVisitorProfile{padding:24px;overflow:hidden;display:flex;flex-direction:column}.rebuildVisitorProfile>.rebuildEmpty{min-height:0;height:100%}.rebuildVisitorProfileHead{padding-bottom:18px;border-bottom:1px solid #edf2f7;display:flex;align-items:center;gap:13px}.rebuildVisitorProfileHead>span{width:49px;height:49px;flex:0 0 auto;border-radius:16px;color:#fff;background:linear-gradient(145deg,#1e293b,#0f172a);display:grid;place-items:center;font-size:19px;font-weight:750}.rebuildVisitorProfileHead>div{min-width:0}.rebuildVisitorProfileHead p,.rebuildVisitorProfileHead h2,.rebuildVisitorProfileHead small{margin:0;display:block}.rebuildVisitorProfileHead p{color:#94a3b8;font-size:10px;font-weight:750;letter-spacing:.1em}.rebuildVisitorProfileHead h2{margin-top:3px;color:#0f172a;font-size:23px;letter-spacing:-.04em}.rebuildVisitorProfileHead small{margin-top:4px;overflow:hidden;color:#64748b;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.rebuildVisitorProfileHead>em{margin-left:auto;padding:6px 9px;border-radius:9px;color:#0f766e;background:#ecfdf5;font-size:10px;font-style:normal;font-weight:700;white-space:nowrap}.rebuildVisitorOverview{padding:17px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.rebuildVisitorOverview article{min-width:0;padding:12px;border:1px solid #edf2f7;border-radius:14px;background:#fafcff}.rebuildVisitorOverview small,.rebuildVisitorOverview strong,.rebuildVisitorOverview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildVisitorOverview small{color:#64748b;font-size:10px}.rebuildVisitorOverview strong{margin-top:7px;color:#0f172a;font-size:22px;letter-spacing:-.04em}.rebuildVisitorOverview span{margin-top:5px;color:#94a3b8;font-size:9px}.rebuildVisitorProfileGrid{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);grid-template-rows:auto minmax(0,1fr);gap:12px}.rebuildVisitorInfoCard{min-width:0;padding:17px;border:1px solid #edf2f7;border-radius:18px;background:#fff}.rebuildVisitorInfoCard>header{margin-bottom:13px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.rebuildVisitorInfoCard header small,.rebuildVisitorInfoCard header h3{margin:0;display:block}.rebuildVisitorInfoCard header small{color:#94a3b8;font-size:9px;font-weight:750;letter-spacing:.09em}.rebuildVisitorInfoCard header h3{margin-top:4px;color:#0f172a;font-size:15px;letter-spacing:-.02em}.rebuildVisitorInfoCard header>span{padding:4px 7px;border-radius:7px;color:#475569;background:#f1f5f9;font-size:9px;font-weight:700;white-space:nowrap}.rebuildVisitorInfoCard>strong{color:#0f766e;font-size:15px}.rebuildVisitorInfoCard>p{margin:8px 0 0;color:#64748b;font-size:11px;line-height:1.65}.rebuildVisitorInfoCard.case{background:linear-gradient(135deg,#fbfdff,#f8fafc)}.rebuildVisitorInfoCard.case>small{display:block;margin-top:11px;color:#94a3b8;font-size:9px}.rebuildVisitorTags{margin-top:10px;display:flex;flex-wrap:wrap;gap:5px}.rebuildVisitorTags i{padding:4px 6px;border-radius:6px;color:#0f766e;background:#ecfdf5;font-size:9px;font-style:normal}.rebuildVisitorInfoCard.records{min-height:0;grid-column:1 / -1;display:flex;flex-direction:column}.rebuildVisitorRecordList{min-height:0;flex:1;overflow:auto}.rebuildVisitorRecordList article{min-height:53px;padding:8px 2px;border-top:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between;gap:12px}.rebuildVisitorRecordList article>div{min-width:0}.rebuildVisitorRecordList article strong,.rebuildVisitorRecordList article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rebuildVisitorRecordList article strong{color:#334155;font-size:11px}.rebuildVisitorRecordList article small{margin-top:4px;color:#94a3b8;font-size:10px}.rebuildVisitorRecordList .rebuildEmpty{min-height:110px;height:100%}.rebuildVisitorPrivacyNote{margin-top:12px;padding-top:12px;border-top:1px solid #edf2f7;color:#94a3b8;display:flex;align-items:flex-start;gap:7px;font-size:10px;line-height:1.55}.rebuildVisitorPrivacyNote svg{flex:0 0 auto;margin-top:1px;color:#64748b}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button small{display:none}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.hasAppointments:after{top:11px;right:11px;width:6px;height:6px;box-shadow:0 0 0 3px #ccfbf1}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today{border-color:#2dd4bf;background:linear-gradient(145deg,#f0fdfa,#e6fffa);box-shadow:inset 0 0 0 1px #14b8a614}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today:before{content:"今日";position:absolute;left:9px;bottom:8px;padding:2px 5px;border-radius:5px;color:#0f766e;background:#ccfbf1;font-size:9px;font-weight:750;line-height:1}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today strong{color:#0f766e}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today.selected:before{color:#d1fae5;background:#ffffff21}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today.selected strong{color:#fff}}@media(min-width:981px){.rebuildMain.appointmentsMode .rebuildCalendarDays>button>small{display:none!important}}.rebuildCalendarDays>button>small{display:none!important}@media(max-width:980px){.adminRebuild{display:block}.rebuildSidebar{position:static;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--rb-border)}.rebuildBrand{margin-bottom:16px}.rebuildSidebar nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.rebuildSidebar nav button{min-height:42px;padding:0 8px;grid-template-columns:1fr;gap:3px;justify-items:center;text-align:center;font-size:11px}.rebuildSidebar nav i{right:5px;top:4px}.rebuildAccount{display:none}.rebuildMain{padding:20px 16px 32px}.rebuildHeader{min-height:48px;margin-bottom:18px}.rebuildHeader h1{font-size:25px}.rebuildLive{display:none}.rebuildHero{min-height:164px;padding:22px;display:block}.rebuildHero h2{font-size:27px}.rebuildHero button{margin-top:15px}.rebuildMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rebuildMetrics button{min-height:135px;padding:16px;border-radius:18px}.rebuildDashboardFocus,.rebuildSettingsGrid{grid-template-columns:1fr;gap:14px}.rebuildPanel{padding:18px;border-radius:20px}.rebuildPageIntro{min-height:0;padding:22px;border-radius:20px;display:grid}.rebuildPageIntro h2{font-size:25px}.rebuildSearch{width:100%}.rebuildMessages{min-height:640px;grid-template-columns:1fr}.rebuildMessages>aside{max-height:230px;border-right:0;border-bottom:1px solid var(--rb-border);overflow:auto}.rebuildMessages>aside header{padding:16px}.rebuildMessages>aside>div{display:flex}.rebuildMessages>aside button{min-width:200px}.rebuildCounselors article{grid-template-columns:46px minmax(0,1fr) auto;gap:10px}.rebuildCounselors article>.rebuildBadge{display:none}.rebuildRowActions{grid-column:1 / -1}.rebuildDialog{padding:20px;border-radius:20px}.rebuildFormGrid{grid-template-columns:1fr;gap:12px}.rebuildFormGrid label.full{grid-column:auto}.rebuildCalendarHeader{align-items:flex-start;gap:14px;flex-direction:column}.rebuildCalendarTools{width:100%;justify-content:space-between}.rebuildCounselorPicker>button{width:min(190px,calc(100vw - 148px))}.rebuildCounselorMenu{right:auto;left:0;width:min(260px,calc(100vw - 64px))}.rebuildDashboardInsightStack{min-height:430px}.rebuildTodayListHead,.rebuildTodayList article{grid-template-columns:minmax(110px,1fr) minmax(110px,1fr)}.rebuildTodayListHead span:nth-child(n+3),.rebuildTodayList article>time,.rebuildTodayList article>.rebuildBadge{display:none}}@media(max-width:980px){.rebuildAppointmentDetailTools{width:100%;flex-wrap:wrap;justify-content:flex-start}.rebuildAppointmentDetailTools .rebuildDetailFilter{width:100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}.rebuildAppointmentDetailTools .rebuildDetailFilter button{white-space:nowrap}}.rebuildMain.appointmentsMode .rebuildCalendarDays>button.today{border-color:transparent;background:#f8fafc;box-shadow:none}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today strong{color:#0f172a!important;font-weight:800}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today:before{content:none!important}.rebuildMain.appointmentsMode .rebuildCalendarColumn .rebuildCalendarDays>button.today.selected strong{color:#0f172a!important}.rebuildVisitorDetailButton{margin-top:12px;padding:6px 9px;border:1px solid #b9eee7;border-radius:8px;color:#0f766e;background:#f0fdfa;font-size:10px;font-weight:750}.rebuildVisitorDetailButton:hover{color:#fff;border-color:#0f766e;background:#0f766e}.rebuildVisitorInfoCard.intention,.rebuildVisitorInfoCard.case{display:flex;flex-direction:column}.rebuildVisitorInfoCard.intention .rebuildVisitorDetailButton,.rebuildVisitorInfoCard.case .rebuildVisitorDetailButton{margin-top:auto;align-self:flex-start}.rebuildVisitorRecordPager{height:34px;flex:0 0 34px;margin-top:9px;border:1px solid #edf2f7;border-radius:10px;color:#94a3b8;background:#fff;display:flex;align-items:center;justify-content:space-between;overflow:hidden}.rebuildVisitorRecordPager>span{padding-left:11px;font-size:10px;font-weight:650}.rebuildVisitorRecordPager>div{height:100%;display:flex}.rebuildVisitorRecordPager button{width:33px;height:100%;padding:0;border:0;border-left:1px solid #edf2f7;color:#64748b;background:transparent;display:grid;place-items:center}.rebuildVisitorRecordPager button:hover:not(:disabled){color:#0f172a;background:#f8fafc}.rebuildVisitorRecordPager button:disabled{color:#cbd5e1;cursor:not-allowed}.rebuildVisitorDetails{width:min(700px,calc(100vw - 40px));max-height:min(740px,calc(100vh - 40px));padding:0;overflow:hidden;display:flex;flex-direction:column}.rebuildVisitorDetails>header{flex:0 0 auto;padding:21px 23px 17px;border-bottom:1px solid #edf2f7;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.rebuildVisitorDetails>header p,.rebuildVisitorDetails>header h2{margin:0}.rebuildVisitorDetails>header p{color:#94a3b8;font-size:10px;font-weight:750;letter-spacing:.09em}.rebuildVisitorDetails>header h2{margin-top:5px;color:#0f172a;font-size:20px;letter-spacing:-.03em}.rebuildVisitorDetails>header button{width:32px;height:32px;flex:0 0 auto;padding:0;border:1px solid #e2e8f0;border-radius:9px;color:#64748b;background:#fff;display:grid;place-items:center}.rebuildVisitorDetailsBody{min-height:0;padding:20px 23px 24px;overflow:auto}.rebuildSurveyAnswers{display:grid;gap:10px}.rebuildSurveyAnswers article{padding:13px 14px;border:1px solid #e8eef5;border-radius:13px;background:#fbfdff}.rebuildSurveyAnswers small,.rebuildSurveyAnswers strong{display:block}.rebuildSurveyAnswers small{color:#94a3b8;font-size:10px;font-weight:700}.rebuildSurveyAnswers strong{margin-top:5px;color:#334155;font-size:13px;line-height:1.55}.rebuildSurveyAnswers p{margin:9px 0 0;color:#0f766e;font-size:12px;font-weight:750;line-height:1.5}.rebuildCaseDetails{display:grid;gap:17px}.rebuildDetailMeta{display:flex;align-items:center;justify-content:space-between;gap:10px}.rebuildDetailMeta span{padding:5px 8px;border-radius:7px;color:#0f766e;background:#ecfdf5;font-size:10px;font-weight:750}.rebuildDetailMeta small{color:#94a3b8;font-size:10px}.rebuildCaseDetails section{padding-top:15px;border-top:1px solid #edf2f7}.rebuildCaseDetails h3,.rebuildCaseDetails p{margin:0}.rebuildCaseDetails h3{color:#334155;font-size:13px}.rebuildCaseDetails p{margin-top:8px;color:#64748b;font-size:12px;line-height:1.7;white-space:pre-wrap}.rebuildCaseImageGrid{margin-top:10px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.rebuildCaseImageGrid a{aspect-ratio:1;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;overflow:hidden}.rebuildCaseImageGrid img{width:100%;height:100%;display:block;object-fit:contain}@media(min-width:981px){.rebuildVisitorProfileGrid{grid-template-rows:minmax(152px,.68fr) minmax(0,1.32fr)}.rebuildVisitorInfoCard.records{min-height:0}.rebuildVisitorRecordList{overflow:hidden}}@media(max-width:980px){.rebuildVisitorDetails{width:calc(100vw - 28px)}.rebuildCaseImageGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}.rebuildStatusCell{display:flex;flex-direction:column;align-items:flex-start;gap:5px}.rebuildRefundTag{padding:3px 8px;border-radius:999px;font-size:11px;font-weight:650;white-space:nowrap;color:#475569;background:#f1f5f9}.rebuildRefundTag.processing{color:#b45309;background:#fffbeb}.rebuildRefundTag.success{color:var(--rb-success);background:#ecfdf5}.rebuildRefundTag.failed,.rebuildRefundTag.closed,.rebuildRefundTag.abnormal{color:var(--rb-danger);background:#fff1f2}.adminRebuild .rebuildRefundLink{padding:0;border:0;color:#475569;background:none;font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.adminRebuild .rebuildRefundLink.danger{color:var(--rb-danger)}.adminRebuild .rebuildRefundLink:disabled{color:var(--rb-muted);cursor:default}.rebuildDialog.refundDialog{width:min(520px,100%)}.rebuildRefundSummary{margin:0 0 18px;padding:14px 16px;border-radius:14px;background:#f8fafc;display:grid;gap:8px}.rebuildRefundSummary div{display:grid;grid-template-columns:76px 1fr;gap:10px;font-size:13px}.rebuildRefundSummary dt{color:var(--rb-muted)}.rebuildRefundSummary dd{margin:0;color:var(--rb-text);font-weight:650}.rebuildRefundNotes{margin:14px 0 18px;padding-left:18px;color:#475569;font-size:12px;line-height:1.8}.rebuildRefundNotes li.warn{color:#b45309;font-weight:650}.rebuildRefundDone{margin:0 0 18px;padding:14px 16px;border-radius:14px;color:var(--rb-success);background:#ecfdf5;display:flex;align-items:center;gap:8px;font-size:13px;font-weight:650}.rebuildDialog footer .rebuildButton:disabled{opacity:.55;cursor:not-allowed}.rebuildAppointmentDetailPanel .rebuildTableHead,.rebuildAppointmentDetailPanel .rebuildTable article{min-width:0;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(0,1fr) 96px;gap:12px}.rebuildAppointmentDetailPanel .rebuildTable article>div{min-width:0}.rebuildAppointmentDetailPanel .rebuildTable article>div strong,.rebuildAppointmentDetailPanel .rebuildTable article>div small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rebuildCancelTag{padding:3px 8px;border-radius:999px;color:#b45309;background:#fffbeb;font-size:11px;font-weight:650;white-space:nowrap}.rebuildCancelActions{display:flex;gap:10px}.rebuildHeroTodos{position:relative;z-index:1;flex:0 0 auto;display:flex;flex-direction:column;align-items:stretch;gap:8px}.rebuildHero .rebuildHeroTodos button{justify-content:space-between;min-height:34px;gap:10px}.rebuildHero .rebuildHeroTodos button b{min-width:20px;padding:1px 6px;border-radius:999px;color:#0f172a;background:#fff;font-size:12px;text-align:center}.rebuildHero .rebuildHeroTodos button.urgent{border-color:#fbbf248c;background:#fbbf2429}.rebuildHero .rebuildHeroTodos button.urgent b{background:#fbbf24}.cancellationQueue{min-height:0;overflow:auto;padding-bottom:24px}.queueTools{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;margin:16px 0}.queueTools .rebuildFilter{flex-wrap:wrap}.queueCard{padding:20px;margin-bottom:16px;border:1px solid var(--rb-border);border-radius:18px;background:#fff}.queueCard header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.queueCard h3{margin:0;font-size:16px}.queueCard p{font-size:13px;line-height:1.7;color:#475569;overflow-wrap:anywhere}.queueCard .queueNotice{padding:12px 16px;border-radius:12px;background:#fffbeb;color:#92400e}.queueCard footer{display:flex;flex-wrap:wrap;gap:10px}.rebuildStatusCell .cancelContext{white-space:normal!important;overflow-wrap:anywhere}.rebuildStatusCell summary{cursor:pointer;font-size:12px;color:#64748b}.syncWarning{position:fixed;z-index:200;top:8px;left:10%;right:10%;padding:12px;background:#fffbeb;border:1px solid #fbbf24;border-radius:12px;color:#92400e}.syncWarning button{margin-left:12px}.cancellationQueue{padding-top:0}.queueTools{position:sticky;top:0;z-index:3;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:10px 0 14px;background:linear-gradient(#f1f5f9 78%,#f1f5f900)}.queueCard{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:18px 22px;margin-bottom:12px;border:1px solid var(--rb-border);border-radius:16px;background:#fff}.queueCard header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.queueCardTitle{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;min-width:0}.queueCardTitle h3{margin:0;color:var(--rb-ink);font-size:15px}.queueCardMeta{color:var(--rb-muted);font-size:12px}.queueCardBody{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px 28px;margin-top:14px}.queueField{min-width:0}.queueField.wide{grid-column:1 / -1}.queueField small{display:block;margin-bottom:3px;color:var(--rb-muted);font-size:11px;font-weight:700;letter-spacing:.04em}.queueField p{margin:0;color:#334155;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.queueNotice{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:6px 28px;margin:14px 0 0;padding:12px 16px;border-radius:12px;background:#fffbeb;color:#92400e;font-size:13px;line-height:1.6}.queueNotice strong{grid-column:1 / -1}.queueCard footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #f1f5f9}.queueCard footer .rebuildButton{min-height:36px}.queueMore{padding:8px 0 16px;color:var(--rb-muted);font-size:12px;text-align:center}.rebuildMain.messagesMode .rebuildMessages>main{display:flex;flex-direction:column}.rebuildMain.messagesMode .rebuildMessages>main .rebuildEmpty{flex:1 1 auto;height:auto;min-height:0;margin:0;display:flex;align-items:center;justify-content:center;border:1px dashed var(--rb-border);border-radius:16px;background:#fbfdff}@media(max-width:980px){.rebuildMain.messagesMode .rebuildMessages>main .rebuildEmpty{min-height:220px}}.rebuildGroupMessages>aside>div{align-content:start;grid-auto-rows:min-content}
