:root{--ink:#163b37;--ink-soft:#55706c;--teal:#16796e;--teal-dark:#0f5e56;--teal-pale:#e8f4f1;--paper:#fbfcf9;--canvas:#f2f4ef;--line:#dce4df;--line-strong:#cbd7d1;--white:#fff;--coral:#d85f45;--coral-pale:#fff0eb;--amber:#c78b2f;--amber-pale:#fff5df;--blue:#4d6f9f;--blue-pale:#edf2fa;--violet:#765fa6;--violet-pale:#f1edfa;--shadow:0 16px 38px #193a3414}*{box-sizing:border-box}html{background:var(--canvas);min-width:320px}body{color:var(--ink);background:radial-gradient(circle at 92% 3%, #16796e14, transparent 24rem), var(--canvas);-webkit-font-smoothing:antialiased;margin:0;font-family:Microsoft YaHei UI,PingFang SC,Noto Sans CJK SC,system-ui,sans-serif}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:1px;outline:3px solid #16796e33}.app-shell{grid-template-columns:272px minmax(0,1fr);min-height:100vh;display:grid}.app-shell.embedded-management-view{background:0 0;min-height:auto;display:block}.embedded-management-main{width:100%}.embedded-management-view .page-content{width:min(1260px,100% - 56px);padding:34px 0 64px}.sidebar{z-index:20;color:#eff9f6;background:linear-gradient(#ffffff0a,#0000 18rem),#143f3b;flex-direction:column;height:100vh;padding:26px 18px 20px;display:flex;position:sticky;top:0}.brand{gap:14px;padding:2px 8px 30px;display:grid}.brand-system-name{color:#b9d5cf;letter-spacing:.04em;max-width:220px;font-size:14px;line-height:1.55;display:block}.brand-identity{align-items:center;gap:13px;display:flex}.brand-logo{object-fit:cover;background:#fff;border:2px solid #ffffffd1;border-radius:50%;flex:0 0 52px;width:52px;height:52px;display:block;box-shadow:0 3px 12px #021b1838}.brand-title,.brand-title strong,.brand-title span{display:block}.brand-title strong{color:#fff;letter-spacing:.08em;font-family:Microsoft YaHei UI,Microsoft YaHei,sans-serif;font-size:28px;line-height:1.25}.brand-title span{color:#e0f0ec;letter-spacing:.04em;margin-top:3px;font-size:17px;font-weight:700;line-height:1.4}.sidebar nav{gap:10px;display:grid}.nav-item{color:#c8ddd9;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:14px;grid-template-columns:44px 1fr auto;align-items:center;gap:12px;width:100%;min-height:58px;padding:7px 14px 7px 8px;transition:background .16s,color .16s,transform .16s;display:grid}.nav-item:hover{color:#fff;background:#ffffff12;transform:translate(2px)}.nav-item.active{color:#fff;background:linear-gradient(90deg,#1f665e,#1b5b54);box-shadow:inset 3px 0 #9cdbce}.nav-icon{letter-spacing:.04em;background:#ffffff09;border:1px solid #ffffff1f;border-radius:11px;place-items:center;width:42px;height:38px;font-size:14px;font-weight:800;display:grid}.nav-item.active .nav-icon{background:#ffffff17;border-color:#b9e3db8f}.nav-item b{color:#143f3b;text-align:center;background:#b9e3db;border-radius:999px;min-width:22px;padding:2px 6px;font-size:11px}.sidebar-foot{color:#bad3ce;background:#00000009;border-radius:10px;align-items:center;gap:9px;margin-top:0;padding:8px 10px;display:flex}.sidebar-bottom{border-top:1px solid #ffffff14;gap:8px;margin-top:auto;padding-top:12px;display:grid}.about-system-button{color:#d6e8e4;text-align:left;cursor:pointer;background:linear-gradient(135deg,#ffffff0e,#ffffff05);border:1px solid #b9e3db29;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 18px;align-items:center;gap:9px;width:100%;min-height:52px;padding:8px 10px 8px 8px;display:grid}.about-system-button:hover{color:#fff;background:#ffffff14;border-color:#b9e3db52}.sidebar-info-icon{color:#dff5f0;background:#73d4c21a;border:1px solid #b9e3db52;border-radius:50%;place-items:center;width:28px;height:28px;font-family:Georgia,serif;font-size:15px;font-weight:800;display:grid}.sidebar-info-copy{min-width:0}.sidebar-info-arrow{color:#96bbb4;font-size:22px;line-height:1}.about-system-button strong{font-size:14px}.about-system-button small{font-size:12px}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{color:#eef8f6;font-size:12px}.sidebar-foot small{margin-top:3px;font-size:10px;line-height:1.45}.privacy-dot{background:#73d4c2;border-radius:50%;flex:none;width:8px;height:8px;margin-top:4px;box-shadow:0 0 0 4px #73d4c21f}.app-main{min-width:0}.topbar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fbfcf9e0;border-bottom:1px solid #cbd7d1cc;justify-content:space-between;align-items:center;gap:14px;min-height:64px;padding:9px clamp(18px,2.6vw,36px);display:flex}.topbar-title{min-width:0}.topbar-account-row{white-space:nowrap;justify-content:flex-end;align-items:center;gap:9px;margin-left:auto;display:flex}.topbar-link,.topbar-admin-link{color:#17665f;background:#fff;border:1px solid #bdd8d4;border-radius:9px;align-items:center;min-height:42px;padding:0 12px;font-size:14px;font-weight:800;text-decoration:none;display:inline-flex}.topbar-admin-link{color:#fff;background:#177e73;border-color:#16776c}.topbar-switch-account{min-height:42px}.topbar h1{letter-spacing:.02em;margin:2px 0 0;font-family:Georgia,Microsoft YaHei UI,serif;font-size:24px}.eyebrow{color:var(--teal);letter-spacing:.16em;text-transform:uppercase;margin:0;font-size:11px;font-weight:700}.shift-area{align-items:center;gap:12px;display:flex}.live-badge{color:var(--teal-dark);background:var(--teal-pale);border:1px solid #bfddd7;border-radius:999px;align-items:center;gap:7px;padding:7px 11px;font-size:14px;font-weight:700;display:inline-flex}.live-badge i{background:#2e9c8f;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #2e9c8f24}.counselor-box{border:1px solid var(--line);background:#fff;border-radius:10px;align-content:center;height:50px;padding:5px 12px;display:grid}.counselor-box span{color:#7d918d;font-size:10px}.counselor-box input{width:112px;color:var(--ink);background:0 0;border:0;padding:2px 0;font-size:13px;font-weight:700}.counselor-box input:focus{outline:0}.shift-time{text-align:right;min-width:84px}.shift-time strong,.shift-time span{display:block}.shift-time strong{font-family:SFMono-Regular,Consolas,monospace;font-size:15px}.shift-time span{color:#738884;margin-top:2px;font-size:10px}.notice{z-index:80;color:#fff;background:#244f4a;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;width:min(560px,100vw - 32px);padding:13px 15px;font-size:13px;display:flex;position:fixed;top:92px;left:50%;transform:translate(-50%);box-shadow:0 14px 40px #0b2a2638}.notice.success{background:#176b55}.notice.warning{background:#9a6510}.notice.error{background:#a13232}.notice.info{background:#244f4a}.notice button{color:#fff;cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:22px}.page-content{width:min(1560px,100%);margin:0 auto;padding:24px clamp(20px,3.2vw,48px) 50px}.shift-duty-card{background:linear-gradient(110deg,#f5fbf9,#fff);border:1px solid #c8ddd8;border-radius:13px;align-items:center;gap:12px;min-height:66px;margin-bottom:12px;padding:11px 14px;display:flex;box-shadow:0 8px 24px #1e4e470d}.phone-display-status{background:#f7fbfa;border:1px solid #c7dcd7;border-radius:13px;flex-wrap:wrap;align-items:center;gap:12px;min-height:64px;margin:-2px 0 12px;padding:12px 15px;display:flex;box-shadow:0 8px 24px #1e4e470d}.phone-display-status.incoming{background:linear-gradient(110deg,#e8f8f4,#fbfffe);border-color:#67b4a8;box-shadow:0 10px 28px #107e6f1f}.phone-display-status.disconnected{background:#fffaf0;border-color:#e4cc9c}.phone-display-status.connecting{background:#f8faf9;border-color:#cfdcd9}.phone-display-icon{color:#fff;background:#7c9e98;border-radius:11px;flex:none;place-items:center;width:40px;height:40px;font-size:14px;font-weight:800;display:grid}.phone-display-status.incoming .phone-display-icon,.phone-display-status.connected .phone-display-icon{background:var(--teal)}.phone-display-status.disconnected .phone-display-icon{background:#b8842f}.phone-display-copy{flex:1;gap:3px;min-width:0;display:grid}.phone-display-copy>strong,.phone-display-heading strong{color:var(--ink);font-size:16px;line-height:1.4}.phone-display-status.incoming .phone-display-heading strong{overflow-wrap:anywhere;color:#075f53;font-variant-numeric:tabular-nums;letter-spacing:.02em;font-size:24px}.phone-display-heading{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.phone-display-phase{color:#08695c;background:#d5f1eb;border-radius:999px;flex:none;padding:3px 9px;font-size:13px;font-weight:800}.phone-display-copy>span,.phone-display-attribution{color:#4f716b;font-size:15px;line-height:1.5}.phone-display-copy small{color:#6d817d;font-size:13px;line-height:1.45}.phone-workflow-list{flex:1 0 100%;gap:9px;padding-top:3px;display:grid}.phone-workflow-item{background:#ffffffc7;border:1px solid #d4e4e0;border-radius:10px;gap:6px;padding:10px 11px;display:grid}.phone-workflow-item.blacklisted{background:#fff7f0;border-color:#d99670}.phone-workflow-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 12px;display:flex}.phone-workflow-heading strong{color:#155f55;font-variant-numeric:tabular-nums}.phone-workflow-heading span{color:#607a75;font-size:13px}.phone-workflow-actions{flex-wrap:wrap;gap:7px;display:flex}.phone-workflow-actions button{color:#075f53;background:#fff;border:1px solid #afd2ca;border-radius:8px;min-height:32px;padding:5px 10px;font-weight:700}.phone-workflow-actions button:hover:not(:disabled){border-color:var(--teal);background:#eaf7f4}.phone-blacklist-alert{color:#8d341d;background:#fff1e9;border-left:3px solid #c05c39;margin:0;padding:7px 9px;font-size:14px;line-height:1.5}@media (width<=640px){.phone-display-status{align-items:flex-start;padding:12px}.phone-workflow-heading{align-items:flex-start}.phone-display-status.incoming .phone-display-heading strong{font-size:21px}}.shift-duty-icon{color:#fff;background:var(--teal);border-radius:10px;flex:none;place-items:center;width:38px;height:38px;font-size:13px;font-weight:800;display:grid}.shift-duty-copy{flex:1;gap:3px;min-width:0;display:grid}.shift-duty-copy strong{color:var(--ink);font-size:14px}.shift-duty-copy span{color:#6f8581;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.shift-duty-copy.warning strong{color:#8f5d13}.shift-takeover-reason{color:#7d5415;gap:4px;min-width:min(360px,42vw);font-size:11px;font-weight:700;display:grid}.shift-takeover-reason textarea{resize:vertical;width:100%;min-height:48px;color:var(--ink);font:inherit;background:#fffaf0;border:1px solid #d9bd7c;border-radius:8px;padding:7px 9px;font-weight:500}.shift-occupied-recovery{gap:8px;min-width:min(620px,62vw);display:grid}.shift-occupied-recovery .shift-takeover-reason{font-size:16px}.shift-occupied-recovery .shift-takeover-reason textarea{min-height:84px}.shift-occupied-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.shift-duty-tag{border-radius:999px;flex:none;padding:6px 10px;font-size:11px;font-weight:700}.shift-duty-tag.warning{color:#8b5c12;background:#fff0ca}.shift-duty-tag.done{color:#256f65;background:#e2f3ef}.shift-duty-tag.takeover-fact{white-space:normal;border-radius:10px;max-width:100%;font-size:14px;line-height:1.55}.shift-duty-action{color:#fff;background:var(--teal);cursor:pointer;border:0;border-radius:9px;flex:none;padding:9px 14px;font-size:12px;font-weight:700}.shift-duty-action.signature{background:#a76a17}.shift-duty-action.secondary{color:var(--teal-dark);background:#f3faf8;border:1px solid #b8d5cf}.shift-duty-action:disabled{cursor:wait;opacity:.65}.handover-card{background:#ffffffd1;border:1px solid #d9e4e1;border-radius:12px;align-items:start;gap:14px;min-height:56px;margin:-4px 0 12px;padding:18px;display:grid}.handover-card.incoming_pending{background:#fffaf0;border-color:#e3c989}.handover-card.outgoing_pending{background:#faf8ff;border-color:#cbc5e4}.handover-card-heading{justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.handover-card-heading strong{color:var(--ink);font-size:12px}.handover-card-heading span,.handover-loading,.handover-empty{color:#728783;font-size:10px}.handover-item-badges{flex-wrap:wrap;flex:1;gap:6px;min-width:0;display:flex}.handover-item-badges span{color:#586d69;background:#edf3f1;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700}.handover-item-details{background:#fbfefd;border:1px solid #d9e7e3;border-radius:12px;gap:12px;padding:14px;display:grid}.handover-detail-heading{gap:4px;display:grid}.handover-detail-heading strong{color:var(--ink);font-size:16px}.handover-detail-heading span{color:#647a76;font-size:14px;line-height:1.5}.handover-detail-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.handover-detail-item{background:#fff;border:1px solid #dfe9e6;border-radius:10px;gap:7px;padding:12px 14px;display:grid}.handover-detail-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.handover-detail-title strong,.handover-detail-reference{color:var(--ink);margin:0;font-size:16px;line-height:1.5}.handover-detail-title span{color:#346c64;background:#e8f4f0;border-radius:999px;flex:none;padding:4px 9px;font-size:14px;font-weight:700}.handover-detail-meta{flex-wrap:wrap;gap:6px 12px;display:flex}.handover-detail-meta span{color:#5f736f;font-size:14px;line-height:1.5}.handover-review-confirmation{color:#264e49;cursor:pointer;background:#fff9e8;border:1px solid #d5c27f;border-radius:10px;align-items:center;gap:10px;min-height:48px;padding:10px 14px;font-size:16px;font-weight:700;display:flex}.handover-review-confirmation input{width:22px;height:22px;accent-color:var(--teal);margin:0}.handover-no-items-note{color:#326f66;background:#edf8f4;border-radius:10px;margin:0;padding:10px 14px;font-size:16px;line-height:1.5}.handover-items-error{color:#8b3d33;background:#fff4f1;border:1px solid #ecc7bd;border-radius:10px;margin:0;padding:10px 14px;font-size:16px;line-height:1.5}.handover-empty{color:#2f766d;flex:1}.handover-notes{flex:1;gap:3px;min-width:230px;display:grid}.handover-notes span{color:#728783;font-size:9px}.handover-notes input{width:100%;color:var(--ink);background:#fff;border:1px solid #d4e0dd;border-radius:8px;padding:7px 9px;font-size:11px}.handover-notes input:focus{border-color:var(--teal);outline:2px solid #1f7d711a}.handover-actions{flex:none;gap:7px;margin-left:auto;display:flex}.contact-reminder-card{background:#ffffffd1;border:1px solid #c8ddd8;border-radius:12px;gap:10px;min-height:86px;margin:-4px 0 12px;padding:11px 14px;display:grid}.contact-reminder-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.contact-reminder-head strong{color:var(--ink);font-size:13px;display:block}.contact-reminder-head span{color:#6f8581;margin-top:3px;font-size:10px;display:block}.contact-reminder-close{color:#27665f;min-height:38px;font:inherit;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #c8d9d4;border-radius:10px;padding:7px 14px;font-weight:800}.contact-reminder-empty{color:#6f7c78;font-size:17px;font-weight:800;line-height:1.55}.contact-reminder-completed{color:#21685f;background:#eaf7f3;border:1px solid #bfe0d8;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;min-height:54px;padding:10px 12px;display:flex}.contact-reminder-completed strong{font-size:18px}.contact-reminder-completed button,.next-shift-change-success button{color:#17665d;min-height:42px;font:inherit;cursor:pointer;background:#fff;border:1px solid #88bab0;border-radius:10px;padding:8px 14px;font-weight:800}.contact-reminder-error{color:#3e6661;background:#f5faf8;border:1px solid #c9ddd8;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:9px 12px;font-size:16px;line-height:1.55;display:flex}.contact-reminder-error button,.simple-handover-error button,.shift-refresh-error button{color:#245f59;cursor:pointer;background:#fff;border:1px solid #9fc4bd;border-radius:10px;flex:none;min-height:44px;padding:8px 14px;font-size:15px;font-weight:800}.contact-reminder-error button:disabled{cursor:wait;opacity:.65}.contact-reminder-list{gap:10px;display:grid}.contact-reminder-item{border:1px solid var(--line);background:#fff;border-radius:10px;gap:8px;padding:10px;display:grid}.contact-reminder-item-head{justify-content:space-between;gap:10px;display:flex}.contact-reminder-item-head strong{color:var(--ink);font-size:12px}.contact-reminder-meta{gap:3px;display:grid}.contact-reminder-meta span,.contact-reminder-attempt-list,.contact-reminder-empty{color:#6e8782;font-size:10px}.contact-reminder-attempt-list{gap:3px;margin:0;padding-left:16px;display:grid}.contact-reminder-meta span{line-height:1.5}.contact-reminder-pill{border-radius:999px;align-items:center;height:22px;padding:0 8px;font-size:10px;font-weight:700;display:inline-flex}.contact-reminder-pill.pending{color:#b47c2b;background:#fff2d9}.contact-reminder-pill.overdue{color:#a33f32;background:var(--coral-pale)}.contact-reminder-pill.completed{color:#1f7267;background:#dbf1ea}.contact-reminder-actions{flex-wrap:wrap;gap:7px;display:flex}.contact-reminder-action{color:#2f625a;background:#f4fbf8;border:1px solid #c7e1db;border-radius:7px;padding:5px 8px;font-size:10px}.contact-reminder-action:disabled{cursor:not-allowed;opacity:.55}.shift-warm-message{background:linear-gradient(135deg,#f6fcf9,#fffaf0);border:1px solid #cfe3dc;border-radius:18px;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:18px;margin:0 0 14px;padding:18px 20px;animation:.42s ease-out gentle-arrival;display:grid;box-shadow:0 10px 30px #2c5e5314}.shift-warm-icon{background:#edf8f3;border-radius:50%;place-items:center;width:96px;height:96px;font-size:60px;line-height:1;display:grid}.shift-care-panel{background:linear-gradient(135deg,#f6fcf9 0%,#fffdf5 100%);border:1px solid #cfe3dc;border-radius:16px;grid-template-columns:86px minmax(0,1fr) auto;gap:14px 16px;margin:0 0 10px;padding:15px 17px;display:grid;box-shadow:0 8px 24px #2c5e5312}.shift-care-flower{background:#edf8f3;border:1px solid #d5e9df;border-radius:50%;align-self:start;place-items:center;width:76px;height:76px;display:grid;overflow:hidden}.shift-care-flower img{object-fit:contain;width:68px;height:68px}.takeover-welcome-backdrop{z-index:1000;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#143a348a;place-items:center;padding:24px;animation:.28s ease-out both takeover-backdrop-in;display:grid;position:fixed;inset:0}.takeover-welcome-dialog{color:#173f39;text-align:center;background:radial-gradient(circle at 50% 26%,#fff 0,#fbfdf8 43%,#f1faf5 100%);border:1px solid #cfe4d9;border-radius:28px;flex-direction:column;align-items:center;width:min(760px,100%);max-height:calc(100vh - 48px);padding:30px 42px 28px;animation:.48s cubic-bezier(.2,.8,.2,1) both takeover-dialog-in;display:flex;position:relative;overflow:auto;box-shadow:0 30px 80px #0a2f2a4d}.takeover-welcome-close{color:#406b63;cursor:pointer;background:#edf7f2;border:0;border-radius:50%;width:40px;height:40px;font-size:24px;position:absolute;top:16px;right:18px}.takeover-welcome-logo{object-fit:contain;border-radius:50%;width:92px;height:92px}.takeover-welcome-flower{background:radial-gradient(circle,#fff9daf2 0,#dcf4e6b8 52%,#dcf4e600 72%);border-radius:50%;place-items:center;width:210px;height:210px;margin:-2px 0 -12px;animation:1.8s cubic-bezier(.18,.85,.24,1) both welcome-flower-bloom;display:grid}.takeover-welcome-flower img{object-fit:contain;filter:drop-shadow(0 14px 22px #276e4d2e);width:190px;height:190px}.takeover-welcome-dialog h2{color:#0d5d52;margin:0;font-size:clamp(28px,4vw,38px);line-height:1.25}.takeover-welcome-gift{color:#177363;margin-top:14px;font-size:clamp(19px,2.5vw,24px)}.takeover-welcome-dialog p{color:#3f625c;margin:12px 0 0;font-size:clamp(17px,2.2vw,20px);line-height:1.55}.takeover-welcome-action{color:#fff;cursor:pointer;background:linear-gradient(135deg,#168475,#0b655c);border:0;border-radius:15px;min-width:min(360px,100%);min-height:54px;margin-top:24px;padding:12px 26px;font-size:19px;font-weight:800;box-shadow:0 10px 22px #106f603d}.takeover-welcome-action:hover,.takeover-welcome-action:focus-visible{outline-offset:3px;background:linear-gradient(135deg,#11776a,#07554f);outline:3px solid #1c97823d}.takeover-welcome-dialog small{color:#60827b;letter-spacing:.06em;margin-top:18px;font-size:14px}@keyframes takeover-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes takeover-dialog-in{0%{opacity:0;transform:translateY(18px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes welcome-flower-bloom{0%{opacity:0;transform:scale(.45)rotate(-7deg)}60%{opacity:1;transform:scale(1.06)rotate(2deg)}to{opacity:1;transform:scale(1)rotate(0)}}@media (width<=640px){.takeover-welcome-backdrop{padding:12px}.takeover-welcome-dialog{border-radius:22px;padding:24px 18px 22px}.takeover-welcome-logo{width:72px;height:72px}.takeover-welcome-flower{width:170px;height:170px}.takeover-welcome-flower img{width:154px;height:154px}}@media (prefers-reduced-motion:reduce){.takeover-welcome-backdrop,.takeover-welcome-dialog,.takeover-welcome-flower{animation:none}}.shift-care-main>strong{color:#174a47;font-size:19px}.shift-care-main>p{color:#456963;margin:5px 0 10px;font-size:15px;line-height:1.55}.shift-care-statuses{flex-wrap:wrap;gap:7px;display:flex}.shift-care-statuses>span,.shift-care-statuses>button{min-height:34px;font:inherit;border:1px solid #0000;border-radius:999px;align-items:center;padding:6px 11px;font-size:13px;font-weight:800;display:inline-flex}.shift-care-statuses>button{cursor:pointer}.shift-care-statuses .done{color:#21685f;background:#e7f6f1;border-color:#bfe0d8}.shift-care-statuses .neutral{color:#667874;background:#f3f6f5;border-color:#d3dedb}.shift-care-statuses .next-shift-arrangement{order:-1}.shift-care-statuses .pending{color:#794d08;background:#fff0c9;border-color:#e2be68}.shift-care-statuses .ongoing{color:#275f79;background:#edf7fb;border-color:#b9d8e6}.shift-care-statuses .prominent-task,.shift-care-statuses .hangzhou-task{min-height:40px;padding-inline:14px;box-shadow:0 4px 12px #275f791a}.shift-care-statuses .hangzhou-task{color:#725213;background:#fff6d8;border-color:#d1b26c}.shift-care-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;min-width:150px;display:flex}.shift-care-actions .shift-duty-action{white-space:nowrap;min-height:44px}.shift-care-actions .shift-duty-action.contact{color:#6d4a08;background:#fff5d7;border-color:#d9b45d;box-shadow:0 4px 12px #805c131a}.shift-end-waiting{color:#6a7f7a;white-space:nowrap;font-size:13px}.shift-care-statuses .checking{color:#8b453d;background:#fff1ef;border-color:#e8c0ba}.shift-care-statuses>button:hover{filter:brightness(.98);box-shadow:0 3px 10px #23524b1a}.shift-care-statuses>button:disabled{cursor:not-allowed;opacity:.7}.temporary-handover-panel{border-top:1px solid #dcebe5;grid-column:2/-1;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;padding-top:12px;display:grid}.temporary-handover-panel label{color:#315e59;gap:6px;display:grid}.temporary-handover-panel textarea{width:100%;min-height:66px}.followup-group-confirmation{color:#704c10;background:#fff8e7;border:1px solid #e4bd6a;border-radius:12px;padding:12px 14px}.followup-group-confirmation input{width:18px;height:18px;margin-right:8px}.followup-group-label{border-radius:999px;margin-top:5px;padding:3px 8px;font-weight:800;display:inline-flex}.followup-group-label.current{color:#23645b;background:#e7f6f1}.followup-group-label.overdue{color:#864119;background:#ffe9da}.followup-group-label.future{color:#536b76;background:#edf3f5}.followup-overdue-note{color:#7c431d;margin:7px 0 0;font-weight:700}.hangzhou-completion-action,.hangzhou-completion-confirmed{border-radius:12px;margin-top:14px;padding:12px 14px}.hangzhou-completion-action{background:#f4fbf8;border:1px solid #c9dfd7;justify-content:space-between;align-items:center;gap:12px;display:flex}.hangzhou-completion-confirmed{color:#1f6b5d;background:#eaf8f2;border:1px solid #b9dfcf;font-weight:800}.shift-resource-notice{background:#fffaf0;border:1px solid #eadcb5;border-radius:12px;align-items:center;gap:10px;min-height:48px;margin-top:12px;padding:7px 9px 7px 13px;display:flex}.shift-resource-notice-link{color:#365f5a;min-width:0;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:9px;padding:5px;display:flex}.shift-resource-notice-link>span{color:#8a641e;flex:none;font-size:13px;font-weight:800}.shift-resource-notice-link>strong{color:#234f4b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;overflow:hidden}.shift-resource-notice-link>b{color:#14776f;flex:none;margin-left:auto;font-size:13px}.shift-resource-notice-controls{color:#6c7f7a;flex:none;align-items:center;gap:6px;font-size:12px;display:flex}.shift-resource-notice-controls button{color:#316a63;cursor:pointer;background:#fff;border:1px solid #cbded9;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;font-size:20px;display:grid}.shift-warm-icon.lamp{background:#fff5d8;box-shadow:0 0 28px #dfa03247}.shift-warm-message strong,.shift-end-copy strong{color:var(--ink);font-size:22px}.shift-warm-message p,.shift-end-copy p{color:#56706b;margin:7px 0 0;font-size:16px;line-height:1.7}.shift-warm-message button,.previous-handover-entry{min-height:44px;color:var(--teal-dark);background:#fff;border:1px solid #bcd8d1;border-radius:12px;padding:10px 16px;font-size:16px;font-weight:800}.shift-operation-tips{background:#f7fcfa;border:1px solid #cfe3dc;border-radius:14px;margin:0 0 10px;overflow:hidden;box-shadow:0 6px 18px #2c5e530f}.shift-operation-tips-toggle{color:#245f59;cursor:pointer;background:linear-gradient(135deg,#f2faf7,#fffaf0);border:0;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:44px;padding:9px 15px;font-size:16px;display:flex}.shift-operation-tips-toggle>span,.shift-operation-tips-toggle>strong{font-size:16px}.shift-operation-tips-toggle>strong{color:#14776f;white-space:nowrap}.shift-operation-tips-body{background:#fff;border-top:1px solid #dce9e5;padding:18px}.shift-operation-tips-summary{color:#234f4b;background:#eef8f5;border-radius:11px;margin:0 0 16px;padding:13px 15px;font-size:16px;font-weight:700;line-height:1.7}.shift-operation-tips-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.shift-operation-tips-grid section{background:#fbfdfc;border:1px solid #e0ebe8;border-radius:11px;padding:14px 15px}.shift-operation-tips-grid strong,.shift-operation-tips-grid p{font-size:16px}.shift-operation-tips-grid strong{color:#174a47}.shift-operation-tips-grid p{color:#526e6a;margin:6px 0 0;line-height:1.65}.previous-handover-entry{text-align:left;width:100%;margin:0 0 12px}.previous-handover-entry.pending{background:#fff8e8;border-color:#e2c681}.simple-handover-error{color:#7f3027;background:#fff2ef;border:1px solid #efc4bc;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin:0 0 12px;padding:10px 14px;font-size:16px;line-height:1.55;display:flex}.shift-refresh-error{color:#74530b;background:#fff8e8;border:1px solid #e2c681;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin:0 0 12px;padding:10px 14px;font-size:16px;line-height:1.55;display:flex}.simple-handover-note,.shift-end-card.open{background:#fffaf0;border:1px solid #d8c37b;border-radius:16px;gap:16px;margin:0 0 14px;padding:20px;display:grid}.simple-handover-note-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.simple-handover-note-head strong{color:var(--ink);font-size:20px}.simple-handover-note-head span{color:#6e7464;font-size:14px}.simple-handover-note-text{white-space:pre-wrap;color:#243f3a;background:#fff;border-radius:12px;margin:0;padding:16px;font-size:17px;line-height:1.75}.shift-end-card{color:#6f6757;background:#fffdf8;border:1px solid #e4ded0;border-radius:12px;justify-content:flex-end;align-items:center;gap:12px;min-height:54px;margin:0 0 14px;padding:8px 12px;font-size:14px;display:flex}.shift-end-card.open{grid-template-columns:88px minmax(0,1fr);align-items:start}.shift-end-copy label{color:#405a55;gap:7px;margin-top:14px;font-size:16px;font-weight:800;display:grid}.shift-end-copy textarea{min-height:96px;color:var(--ink);font:inherit;resize:vertical;background:#fff;border:1px solid #cfded9;border-radius:12px;padding:12px 14px;font-weight:400;line-height:1.6}.contact-reminder-card{background:#fff9e9;border-color:#ddbd68;padding:18px;box-shadow:0 8px 24px #7e5d1914}.contact-reminder-head strong,.contact-reminder-item-head strong{font-size:18px}.contact-reminder-head span,.contact-reminder-guidance,.contact-reminder-phone{color:#5f716d;font-size:14px;line-height:1.6}.contact-reminder-guidance{margin:0}.contact-reminder-item{border-radius:14px;gap:14px;padding:16px}.contact-reminder-action{border-radius:10px;min-height:44px;padding:10px 15px;font-size:15px;font-weight:800}.contact-reminder-action.primary{color:#fff;border-color:var(--teal);background:var(--teal)}.contact-reminder-action.secondary{color:#5f6c68;background:#fff;border-color:#d7dfdc}.contact-reminder-action.change{color:#76520f;background:#fffaf0;border-color:#d4ae55}.next-shift-change-panel{color:var(--ink);background:#f7fbfa;border:1px solid #b9d7d0;border-radius:12px;gap:14px;margin-top:2px;padding:16px;font-size:16px;line-height:1.6;display:grid}.next-shift-change-panel h4,.next-shift-change-panel p{margin:0}.next-shift-change-panel h4{color:#155f57;font-size:19px}.next-shift-change-panel>label{gap:7px;font-weight:700;display:grid}.next-shift-change-panel select,.next-shift-change-panel textarea{width:100%;min-height:48px;color:var(--ink);font:inherit;background:#fff;border:1px solid #b8d0ca;border-radius:10px;padding:10px 12px;font-weight:500}.next-shift-change-panel textarea{resize:vertical;min-height:88px}.next-shift-change-panel select:focus,.next-shift-change-panel textarea:focus{border-color:var(--teal);outline:3px solid #1f7d7129}.next-shift-change-panel fieldset{border:1px solid #cadbd7;border-radius:10px;gap:8px;margin:0;padding:12px;display:grid}.next-shift-change-panel legend{padding:0 6px;font-weight:700}.next-shift-radio,.next-shift-confirm{align-items:center;min-height:44px;grid-template-columns:none!important;gap:10px!important;font-weight:500!important;display:flex!important}.next-shift-radio input,.next-shift-confirm input{width:20px;height:20px;accent-color:var(--teal);flex:none}.next-shift-change-error{color:#8f3026;background:#fff4f1;border:1px solid #e7b3aa;border-radius:9px;padding:10px 12px;font-weight:600}.next-shift-change-actions{justify-content:flex-end;gap:10px;display:flex}.next-shift-change-actions button{color:#245f59;cursor:pointer;background:#fff;border:1px solid #b9d1cb;border-radius:10px;min-height:48px;padding:10px 18px;font-size:16px;font-weight:700}.next-shift-change-actions button.primary{border-color:var(--teal);background:var(--teal);color:#fff}.next-shift-change-actions button:disabled{cursor:not-allowed;opacity:.58}.next-shift-change-success{color:#225f56;background:#effaf6;border:1px solid #8fcabd;border-radius:12px;gap:5px;padding:14px 16px;font-size:16px;line-height:1.6;display:grid}.next-shift-change-success strong{font-size:17px}@keyframes gentle-arrival{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=680px){.shift-warm-message{grid-template-columns:76px minmax(0,1fr)}.shift-warm-icon{width:72px;height:72px;font-size:46px}.shift-warm-message>button{grid-column:1/-1}.shift-care-panel{grid-template-columns:52px minmax(0,1fr);padding:13px}.shift-care-flower{width:48px;height:48px;font-size:30px}.shift-care-actions{grid-column:1/-1;justify-content:stretch}.shift-care-actions .shift-duty-action,.shift-care-actions .shift-end-waiting{text-align:center;width:100%}.temporary-handover-panel{grid-column:1/-1;grid-template-columns:1fr}.hangzhou-completion-action,.shift-resource-notice{flex-direction:column;align-items:stretch}.shift-resource-notice-link{flex-wrap:wrap}.shift-resource-notice-link>strong{white-space:normal;width:100%}.shift-resource-notice-controls{justify-content:flex-end}.shift-operation-tips-toggle{flex-direction:column;align-items:flex-start;gap:4px}.shift-operation-tips-grid{grid-template-columns:1fr}}.app-shell .legacy-shift-duty-card{display:none!important}.app-shell .handover-lamp-panel{background:radial-gradient(circle at 25% 20%,#ffe7ad33,#0000 30%),linear-gradient(145deg,#fffdf7,#f7fbf8);border:1px solid #d7c89f;border-radius:22px;margin-bottom:18px;padding:22px 26px 18px;box-shadow:0 16px 42px #4455461a}.app-shell .handover-lamp-panel.loading{color:#4f6d68;place-items:center;min-height:116px;display:grid}.app-shell .handover-lamp-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.app-shell .handover-lamp-heading h2{color:#123f3b;margin:2px 0 0;font-size:27px}.app-shell .handover-lamp-state{border-radius:999px;padding:8px 14px;font-weight:800}.app-shell .handover-lamp-state.active{color:#8a4c00;background:#fff3d7;border:1px solid #efc474}.app-shell .handover-lamp-state.vacant{color:#54716b;background:#eff7f4;border:1px solid #cbded9}.app-shell .handover-lamp-state.completed{color:#08625a;background:#e4f7f1;border:1px solid #82c7ba}.app-shell .handover-lamp-heading-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.app-shell .handover-lamp-return{color:#185f58;background:#f7fcfa;border:1px solid #9bcac2;border-radius:10px;min-height:42px;padding:0 16px;font-weight:800}.app-shell .handover-lamp-stage{grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);align-items:center;gap:14px;display:grid}.app-shell .handover-lamp-unit{text-align:center;background:#ffffffdb;border:1px solid #d8e4df;border-radius:20px;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;min-height:278px;padding:18px;transition:border-color .18s,box-shadow .18s,background .18s;display:flex}.app-shell .handover-lamp-unit.lit{background:linear-gradient(#fff7df,#fffdfa);border-color:#efbd62;box-shadow:inset 0 0 48px #ffbe4729,0 10px 28px #9f69171f}.app-shell .handover-lamp-unit>strong{color:#143f3b;font-size:22px}.app-shell .handover-lamp-unit>span{color:#55716c;min-height:24px}.app-shell .handover-lamp-arrow{color:#9e7938;text-align:center;font-size:34px;font-weight:900}.app-shell .ancient-oil-lamp{width:122px;height:150px;margin-bottom:4px;position:relative}.app-shell .oil-lamp-glow,.app-shell .oil-lamp-flame,.app-shell .oil-lamp-wick,.app-shell .oil-lamp-bowl,.app-shell .oil-lamp-stand,.app-shell .oil-lamp-base{display:block;position:absolute;left:50%;transform:translate(-50%)}.app-shell .oil-lamp-glow{opacity:0;background:radial-gradient(circle,#ffb82f57,#ffd36f14 55%,#0000 72%);border-radius:50%;width:82px;height:82px;top:3px}.app-shell .oil-lamp-flame{transform-origin:50% 90%;background:#9dafaa;border-radius:58% 42% 62% 38%/68% 55% 45% 32%;width:28px;height:42px;top:20px;transform:translate(-50%)rotate(5deg)}.app-shell .lit .oil-lamp-glow{opacity:1;animation:1.8s ease-in-out infinite alternate handover-lamp-glow}.app-shell .lit .oil-lamp-flame{background:linear-gradient(#fff09c 0%,#ffb229 50%,#e56b1f 100%);animation:1.2s ease-in-out infinite alternate handover-lamp-flame;box-shadow:0 0 15px #ff9f23b3}.app-shell .oil-lamp-wick{background:#654f38;border-radius:4px;width:5px;height:19px;top:61px}.app-shell .oil-lamp-bowl{background:linear-gradient(#e8f1ee,#aec1bb);border:4px solid #78918a;border-top-width:7px;border-radius:12px 12px 48px 48px;width:96px;height:38px;top:72px}.app-shell .lit .oil-lamp-bowl{background:linear-gradient(#ffe1a0,#c98734);border-color:#b56d21}.app-shell .oil-lamp-stand{background:#79918b;border-radius:3px;width:12px;height:27px;top:106px}.app-shell .lit .oil-lamp-stand,.app-shell .lit .oil-lamp-base{background:#a96828}.app-shell .oil-lamp-base{background:#79918b;border-radius:50%;width:74px;height:12px;top:130px}.app-shell .handover-lamp-button{border-radius:12px;width:min(100%,250px);min-height:48px;margin-top:4px;font-size:16px;font-weight:800}.app-shell .handover-lamp-button.outgoing{color:#744300;background:#fff0c9;border:1px solid #e2ae54}.app-shell .handover-lamp-button.incoming{color:#fff;background:linear-gradient(#24958b,#126e68);border:1px solid #0f746d}.app-shell .handover-lamp-login{background:#f7fbfa;border:1px solid #b9d6d0;border-radius:16px;grid-template-columns:minmax(180px,1fr) minmax(220px,1fr);gap:14px;max-width:780px;margin:18px auto 0;padding:18px;display:grid}.app-shell .handover-lamp-login-heading,.app-shell .handover-lamp-login-error,.app-shell .handover-lamp-login-actions{grid-column:1/-1}.app-shell .handover-lamp-login-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.app-shell .handover-lamp-login-heading strong{color:#164b46;font-size:19px}.app-shell .handover-lamp-login label{color:#244f4a;gap:6px;font-weight:700;display:grid}.app-shell .handover-lamp-login input{width:100%;min-height:48px}.app-shell .handover-lamp-password{grid-template-columns:1fr auto;display:grid}.app-shell .handover-lamp-password input{border-radius:10px 0 0 10px}.app-shell .handover-lamp-password button{background:#edf7f4;border:1px solid #a9cbc5;border-left:0;border-radius:0 10px 10px 0;min-width:70px}.app-shell .handover-lamp-login-error{color:#9e2828;background:#fff0f0;border:1px solid #efbbbb;border-radius:10px;padding:10px 12px}.app-shell .handover-lamp-login-actions{justify-content:flex-end;gap:10px;display:flex}.app-shell .handover-lamp-footnote{color:#647b76;text-align:center;margin:14px 0 0}.app-shell .handover-lamp-completion{text-align:center;background:linear-gradient(#f4fcf9,#e9f7f2);border:1px solid #a9d4cc;border-radius:16px;justify-items:center;gap:9px;max-width:840px;margin:18px auto 0;padding:20px;display:grid}.app-shell .handover-lamp-completion>strong{color:#0d5e57;font-size:24px}.app-shell .handover-lamp-completion>p{color:#345d58;margin:0;font-size:17px}.app-shell .handover-lamp-completion-action{color:#fff;background:linear-gradient(#24958b,#126e68);border:1px solid #0f746d;border-radius:12px;min-height:52px;margin-top:5px;padding:0 24px;font-size:17px;font-weight:900;box-shadow:0 8px 20px #126e682e}.app-shell .workbench.handover-focus>:not(.handover-lamp-panel){display:none!important}.app-shell .workbench.handover-focus .handover-lamp-panel{width:min(100%,1060px);margin:18px auto}@keyframes handover-lamp-flame{0%{transform:translate(-50%)rotate(-4deg)scaleX(.96)}to{transform:translate(-50%)rotate(6deg)scale(1.04,1.08)}}@keyframes handover-lamp-glow{0%{opacity:.72;transform:translate(-50%)scale(.92)}to{opacity:1;transform:translate(-50%)scale(1.08)}}@media (width<=760px){.app-shell .handover-lamp-panel{padding:18px 14px}.app-shell .handover-lamp-heading,.app-shell .handover-lamp-login-heading{flex-direction:column;align-items:flex-start}.app-shell .handover-lamp-heading-actions{flex-direction:column;align-items:stretch;width:100%}.app-shell .handover-lamp-stage,.app-shell .handover-lamp-login{grid-template-columns:1fr}.app-shell .handover-lamp-arrow{transform:rotate(90deg)}.app-shell .handover-lamp-login-heading,.app-shell .handover-lamp-login-error,.app-shell .handover-lamp-login-actions{grid-column:1}}@media (prefers-reduced-motion:reduce){.shift-warm-message,.app-shell .lit .oil-lamp-glow,.app-shell .lit .oil-lamp-flame{animation:none}}.metric-row{grid-template-columns:repeat(4,minmax(104px,150px)) minmax(340px,1fr);align-items:stretch;gap:10px;margin-bottom:14px;display:grid}.metric{border:1px solid var(--line);background:#ffffffd6;border-radius:13px;min-height:84px;padding:13px 14px;position:relative;overflow:hidden}.metric:before{content:"";background:var(--tone);width:3px;position:absolute;inset:0 auto 0 0}.metric>span,.metric>small{color:#708682;font-size:10px;display:block}.metric strong{color:var(--tone);margin:5px 0 0;font-family:Georgia,serif;font-size:27px;display:inline-block}.metric small{float:right;margin-top:15px}.metric.teal{--tone:#16796e}.metric.sand{--tone:#a77830}.metric.coral{--tone:#cf5d44}.metric.blue{--tone:#4d6f9f}.quick-actions{justify-content:flex-end;align-items:center;gap:9px;display:flex}.primary-button,.ghost-button,.text-button{cursor:pointer;border:0;transition:transform .14s,background .14s,border-color .14s}.primary-button,.ghost-button{border-radius:10px;min-height:40px;padding:9px 15px;font-size:12px;font-weight:700}.primary-button{color:#fff;background:var(--teal);box-shadow:0 7px 16px #16796e2e}.primary-button:hover{background:var(--teal-dark);transform:translateY(-1px)}.ghost-button{color:var(--ink);border:1px solid var(--line-strong);background:#fff}.ghost-button:hover{background:#f7fbfa;border-color:#9cbdb6}.text-button{color:var(--teal);background:0 0;padding:4px 0;font-size:12px;font-weight:700}button:disabled{cursor:not-allowed;opacity:.48;transform:none!important}.intake-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);border-radius:17px;overflow:hidden}.phone-ribbon{background:linear-gradient(92deg,#e9f5f2,#f6faf8 58%,#eef6f4),#eef8f5;border-bottom:1px solid #cce0db;grid-template-columns:minmax(230px,.8fr) minmax(320px,1.2fr) minmax(220px,.7fr);align-items:center;gap:20px;min-height:82px;padding:14px 20px;display:grid}.editing-banner{color:#514276;background:#f1ecfa;border:1px solid #d8cfec;border-radius:14px 14px 0 0;justify-content:space-between;align-items:center;gap:16px;margin:-1px -1px 0;padding:12px 18px;display:flex}.editing-banner strong,.editing-banner span{display:block}.editing-banner strong{font-size:12px}.editing-banner span{margin-top:3px;font-size:9px;line-height:1.5}.editing-banner button{color:#5c4889;cursor:pointer;background:#fff;border:1px solid #cbbde6;border-radius:8px;flex:none;padding:7px 10px;font-size:9px;font-weight:800}.phone-prompt{align-items:center;gap:11px;display:flex}.phone-prompt label,.phone-prompt small{display:block}.phone-prompt label{font-size:14px;font-weight:800}.phone-prompt small{color:#68827d;margin-top:3px;font-size:10px;line-height:1.5}.phone-icon{color:#fff;background:var(--teal);border-radius:12px;flex:none;place-items:center;width:42px;height:42px;font-size:22px;display:grid;box-shadow:0 8px 18px #16796e2e}.phone-input-wrap{position:relative}.phone-input-wrap input{width:100%;height:48px;color:var(--ink);letter-spacing:.05em;background:#fff;border:1px solid #b8d5cf;border-radius:11px;padding:0 116px 0 16px;font-family:SFMono-Regular,Consolas,monospace;font-size:18px}.lookup-result{color:#6e8580;background:#f1f5f3;border-radius:7px;padding:6px 8px;font-size:10px;font-weight:700;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.lookup-result.repeat{color:#9a4a37;background:var(--coral-pale)}.repeat-alert,.first-alert{border-left:3px solid var(--teal);align-content:center;min-height:48px;padding:7px 12px;display:grid}.repeat-alert{border-color:var(--coral);background:#fff0ebb3}.repeat-alert strong,.repeat-alert span,.first-alert strong,.first-alert span{display:block}.repeat-alert strong,.first-alert strong{font-size:12px}.repeat-alert span,.first-alert span{color:#6d817d;margin-top:3px;font-size:10px}.stepper{border-bottom:1px solid var(--line);background:#fff;grid-template-columns:repeat(4,1fr);min-height:70px;display:grid}.step{cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:10px;padding:11px 8px;display:flex;position:relative}.step:not(:last-child):after{content:"";background:var(--line);width:36px;height:1px;position:absolute;top:50%;right:-18px}.step>span{color:#7c908c;border:1px solid var(--line-strong);background:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:11px;font-weight:800;display:grid}.step strong,.step small{text-align:left;display:block}.step strong{font-size:12px}.step small{color:#8ba09c;margin-top:2px;font-size:9px}.step.active{background:#f4faf8}.step.active:before{content:"";background:var(--teal);border-radius:999px 999px 0 0;height:3px;position:absolute;inset:auto 24% 0}.step.active>span{color:#fff;border-color:var(--teal);background:var(--teal)}.step.done>span{color:var(--teal);background:var(--teal-pale);border-color:#a8d1c9}.intake-layout{grid-template-columns:minmax(0,1fr) 330px;min-height:590px;display:grid}.form-panel{min-width:0;padding:24px 28px 20px}.form-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.form-heading p{color:#849995;margin:0 0 4px;font-size:10px}.form-heading h2{margin:0;font-family:Georgia,Microsoft YaHei UI,serif;font-size:22px}.risk-chip{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;width:fit-content;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.risk-none{color:#34766e!important;background:#e7f4f1!important}.risk-three{color:#966b1e!important;background:#fff1d5!important}.risk-two{color:#a9502b!important;background:#ffeadf!important}.risk-one{color:#a33430!important;background:#ffe2df!important}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px;display:grid}.field{align-content:start;gap:7px;min-width:0;display:grid;position:relative}.field.full,.risk-panel{grid-column:1/-1}.field>span:first-child{color:#536c67;font-size:11px;font-weight:700}.field>span:first-child i{color:var(--coral);margin-left:3px;font-style:normal}.field input,.field select,.field textarea,.search-input{color:#203f3b;border:1px solid var(--line-strong);background:#fff;border-radius:9px;width:100%;transition:border-color .16s,box-shadow .16s}.field input,.field select{height:42px;padding:0 12px}.field textarea{resize:vertical;min-height:82px;padding:11px 12px;line-height:1.7}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{border-color:#7db7ad;outline:0;box-shadow:0 0 0 3px #16796e14}.field input::placeholder,.field textarea::placeholder,.search-input::placeholder{color:#a8b6b3}.field-help{color:#859793!important;font-size:9px!important;font-weight:400!important}.field.has-error{background:#fff8f6;border:1px solid #d28a82;border-radius:10px;padding:10px}.field [aria-invalid=true]{box-shadow:0 0 0 3px #b64d431f;border-color:#b64d43!important}.field-error{line-height:1.5;color:#9f2f27!important;font-size:14px!important;font-weight:700!important}.char-count{background:#ffffffdb;position:absolute;bottom:8px;right:10px;color:#9cacaa!important;font-size:9px!important;font-weight:400!important}.segmented{border:1px solid var(--line-strong);background:#fff;border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.segmented button{color:#6c817d;cursor:pointer;background:#fff;border:0;min-height:40px;padding:8px 12px;font-size:11px}.segmented button+button{border-left:1px solid var(--line)}.segmented button.selected{color:var(--teal-dark);background:var(--teal-pale);font-weight:800}.segmented.compact{width:190px}.risk-select{font-weight:800}.risk-panel{border:1px solid;border-radius:12px;padding:17px}.risk-panel.risk-three{border-color:#efd39c}.risk-panel.risk-two{border-color:#efbea8}.risk-panel.risk-one{border-color:#eeaaa5}.risk-panel-head{align-items:flex-start;gap:10px;margin-bottom:15px;display:flex}.risk-panel-head>span{color:#fff;background:var(--coral);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-family:Georgia,serif;font-weight:800;display:grid}.risk-panel-head strong,.risk-panel-head small{display:block}.risk-panel-head strong{font-size:13px}.risk-panel-head small{color:#765e58;margin-top:3px;font-size:10px}.form-heading-meta{justify-content:flex-end;align-items:center;gap:10px;display:flex}.draft-save-state{color:var(--teal);justify-items:end;font-size:11px;font-weight:800;display:grid}.draft-save-state small{color:var(--muted);margin-top:2px;font-size:9px;font-weight:600}.risk-guidance{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px;display:grid}.risk-guidance section{background:#ffffff94;border:1px solid #6d4f4424;border-radius:10px;padding:12px 14px}.risk-guidance strong{margin-bottom:6px;font-size:12px;display:block}.risk-guidance ul,.risk-guidance ol{color:#624f49;margin:0;padding-left:20px;font-size:11px;line-height:1.65}.form-actions{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:24px;padding-top:17px;display:flex}.form-actions>div{gap:9px;display:flex}.history-panel{border-left:1px solid var(--line);background:#f4f7f4;flex-direction:column;min-width:0;padding:21px 18px;display:flex}.panel-title{justify-content:space-between;align-items:flex-start;padding:0 2px 14px;display:flex}.panel-title p,.panel-title h3{margin:0}.panel-title p{color:#829691;font-size:9px}.panel-title h3{margin-top:3px;font-family:Georgia,Microsoft YaHei UI,serif;font-size:17px}.panel-title>span{min-width:42px;color:var(--teal);background:var(--teal-pale);text-align:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.empty-state{text-align:center;align-content:center;justify-items:center;min-height:270px;padding:22px;display:grid}.empty-state>span{color:#71948d;background:#fff;border:1px solid #ceded9;border-radius:18px 18px 18px 6px;place-items:center;width:52px;height:52px;margin-bottom:13px;font-family:Georgia,serif;font-size:20px;display:grid;box-shadow:0 8px 20px #19423b0f}.empty-state strong{font-size:13px}.empty-state p{color:#829591;max-width:230px;margin:7px 0 0;font-size:10px;line-height:1.7}.history-list{gap:8px;max-height:450px;padding-right:2px;display:grid;overflow:auto}.history-summary{color:#49625e;background:#f1f7f5;border:1px solid #cfe0dc;border-radius:10px;padding:11px 12px}.history-summary strong{font-size:10px}.history-summary p{margin:5px 0 0;font-size:10px;line-height:1.55}.history-limit-note{color:#7e918d;text-align:center;font-size:9px}.history-item{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:10px;width:100%;padding:12px;display:block}.history-item:hover{border-color:#a8c8c1}.history-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.history-top strong{font-size:11px}.history-item p{color:#405a56;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:8px 0;font-size:11px;line-height:1.55;display:-webkit-box;overflow:hidden}.history-item small{color:#899b97;font-size:9px}.privacy-note{color:#6e817d;background:#edf3f0;border:1px solid #d9e4e0;border-radius:9px;align-items:flex-start;gap:9px;margin-top:auto;padding:12px;display:flex}.privacy-note>span{width:25px;height:25px;color:var(--teal);background:#fff;border-radius:8px;flex:none;place-items:center;font-size:10px;display:grid}.privacy-note p,.privacy-note strong{margin:0}.privacy-note p{font-size:9px;line-height:1.5}.privacy-note strong{color:#46635e;font-size:10px;display:block}.page-header{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:22px;display:flex}.page-header-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.page-header h2{margin:4px 0 6px;font-family:Georgia,Microsoft YaHei UI,serif;font-size:28px}.page-header>div>p:last-child{max-width:720px;color:var(--ink-soft);margin:0;font-size:12px;line-height:1.7}.toolbar{border:1px solid var(--line);background:#ffffffbf;border-radius:12px;align-items:end;gap:12px;margin-bottom:14px;padding:11px;display:flex}.search-input{width:100%;max-width:none;height:44px;padding:0 13px}.record-filter-field{min-width:180px;color:var(--ink-soft);gap:6px;font-size:14px;font-weight:700;display:grid}.record-filter-field select{border:1px solid var(--line);min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:10px;padding:0 36px 0 12px}.record-filter-search{flex:1;min-width:280px}.large-empty{background:#ffffff94;border:1px dashed #c8d8d3;border-radius:15px;place-items:center;min-height:390px;display:grid}.table-card{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 10px 28px #193a340d}.record-table{border-top:1px solid #edf0ee;grid-template-columns:1.05fr .9fr 1.25fr .7fr .8fr .65fr 1.35fr;align-items:center;gap:12px;min-height:60px;padding:10px 16px;font-size:11px;display:grid}.record-table-actions{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.record-table-actions-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell .record-table-actions .record-action-button{color:#075f56;cursor:pointer;background:#f3faf8;border:1px solid #87b5ad;border-radius:9px;justify-content:center;align-items:center;min-width:104px;min-height:44px;padding:7px 12px;font-size:14px;font-weight:750;display:inline-flex;box-shadow:0 1px 2px #18443f14}.app-shell .record-table-actions .record-action-button:hover{background:#e4f4f0;border-color:#4e9288}.app-shell .record-table-actions .record-action-button.hangzhou{color:#725213;background:#fff9e9;border-color:#d1b26c}.app-shell .record-table-actions .record-action-button.hangzhou:hover{background:#fff1c9;border-color:#b8923e}.hangzhou-decision-box{gap:8px;display:grid}.hangzhou-decision-box .segmented.compact{width:min(580px,100%)}.hangzhou-decision-box small,.hangzhou-decision-note{color:#526f6b;margin:0;line-height:1.5}.hangzhou-decision-note{background:#f2f6f5;border-radius:9px;padding:12px 14px}.hangzhou-decision-note.error{color:#8e3029;background:#fff0ee}.hangzhou-final-decision{background:#f7fbfa;border:1px solid #c7ddd8;border-radius:14px;gap:10px;margin:14px 18px 0;padding:16px;display:grid}.hangzhou-final-decision-heading{color:#184d49;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.hangzhou-final-decision-heading>span{color:#6b817c;font-size:13px}.record-table>span>strong,.record-table>span>small{display:block}.record-table>span>small{color:#8da09c;margin-top:2px;font-size:9px}.record-category-cell small{text-overflow:ellipsis;white-space:nowrap;max-width:34ch;overflow:hidden}.record-head{color:#768b86;background:#f5f7f4;border-top:0;min-height:42px;font-size:9px;font-weight:800}.task-grid{gap:12px;display:grid}.task-card{border:1px solid var(--line);background:#fff;border-radius:14px;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;display:grid}.task-date{color:var(--blue);background:var(--blue-pale);text-align:center;border-radius:10px;padding:12px}.task-date span,.task-date small{display:block}.task-date span{font-weight:800}.task-date small{margin-top:3px;font-size:9px}.task-card h3{margin:0 0 5px;font-size:14px}.task-card p{color:var(--ink-soft);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.tag-row{gap:6px;margin-top:9px;display:flex}.tag-row span{color:#617772;background:#f0f3f1;border-radius:999px;padding:4px 7px;font-size:9px}.card,.mapping-card{border:1px solid var(--line);background:#fff;border-radius:15px;box-shadow:0 10px 28px #193a340d}.resource-form{margin-bottom:14px;padding:20px}.resource-form-heading{margin-bottom:18px}.resource-form-heading h2{color:var(--ink);margin:0;font-size:20px}.resource-form-heading p{color:var(--ink-soft);margin:6px 0 0;font-size:14px;line-height:1.6}.resource-form-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.resource-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.resource-card{border:1px solid var(--line);background:#fff;border-radius:14px;flex-direction:column;min-height:280px;padding:18px;display:flex}.resource-card.inactive{background:#f6f8f7;border-color:#d8dedc}.resource-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.resource-card-head>span{color:var(--teal);font-size:10px;font-weight:800}.resource-card-head b{border-radius:999px;padding:4px 7px;font-size:8px}.resource-badges{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.resource-card-head b.resource-status.active{color:#25655b;background:#e3f4ef}.resource-card-head b.resource-status.inactive{color:#66706e;background:#e7ebea}.resource-card-head b.internal{color:#9b4d36;background:var(--coral-pale)}.resource-card-head b.shareable{color:var(--teal);background:var(--teal-pale)}.resource-card h3{margin:16px 0 7px;font-family:Georgia,Microsoft YaHei UI,serif;font-size:17px}.resource-card>p{color:var(--ink-soft);margin:0;font-size:10px;line-height:1.6}.resource-card pre{color:#405b56;white-space:pre-wrap;background:#f4f7f5;border-radius:9px;max-height:130px;margin:14px 0;padding:12px;font:10px/1.7 Microsoft YaHei UI,sans-serif;overflow:auto}.resource-card .resource-contact{color:#4f6661;margin:0 0 14px;font-size:16px;line-height:1.6}.resource-card-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:auto;display:flex}.resource-form-actions button,.resource-card-actions button{border-radius:10px;min-height:44px;padding:9px 14px;font-size:16px;font-weight:700}.resource-form-actions .secondary-button,.resource-card-actions .secondary-button,.resource-card-actions .danger-secondary-button{color:var(--teal);background:#fff;border:1px solid #bfd1cd}.resource-card-actions .danger-secondary-button{color:#8e4936;background:#fff8f5;border-color:#e2c7bd}.resource-form-actions button:disabled,.resource-card-actions button:disabled{cursor:wait;opacity:.65}.resource-card .text-button{width:fit-content;margin-top:0}.template-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:13px;margin-bottom:16px;display:grid}.template-card{border:1px solid var(--line);background:#fff;border-radius:15px;grid-template-columns:54px 1fr;align-content:start;gap:14px;min-height:225px;padding:19px;display:grid;box-shadow:0 10px 28px #193a340d}.template-card.muted{background:#ffffff8c}.template-icon{border-radius:14px 14px 14px 5px;place-items:center;width:52px;height:52px;font-family:Georgia,serif;font-size:14px;font-weight:800;display:grid}.template-icon.teal{color:var(--teal);background:var(--teal-pale)}.template-icon.violet{color:var(--violet);background:var(--violet-pale)}.template-icon.sand{color:var(--amber);background:var(--amber-pale)}.template-card h3{margin:7px 0 6px;font-size:16px}.template-card p{color:var(--ink-soft);margin:0;font-size:10px;line-height:1.7}.template-card .ghost-button{grid-column:1/-1;width:100%;margin-top:auto}.template-status{color:#6c837e;font-size:9px;font-weight:800}.mapping-card{grid-template-columns:minmax(210px,.7fr) minmax(460px,1.4fr);gap:30px;padding:24px;display:grid}.mapping-card h2{max-width:310px;margin:7px 0 0;font-family:Georgia,Microsoft YaHei UI,serif;font-size:24px;line-height:1.35}.mapping-table{border:1px solid var(--line);border-radius:11px;overflow:hidden}.mapping-head,.mapping-row{grid-template-columns:repeat(3,1fr);display:grid}.mapping-head{color:#6c827d;background:#f2f5f3;font-size:9px;font-weight:800}.mapping-row{border-top:1px solid var(--line);font-size:10px}.mapping-head span,.mapping-row span{padding:10px 12px}.mapping-head span+span,.mapping-row span+span{border-left:1px solid var(--line)}.drawer-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0c262242;justify-content:flex-end;display:flex;position:fixed;inset:0}.output-drawer{background:#fbfcf9;width:min(590px,94vw);height:100vh;padding:23px 24px 30px;overflow:auto;box-shadow:-18px 0 50px #0d2b2629}.drawer-head{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.drawer-head h2{margin:5px 0 0;font-family:Georgia,Microsoft YaHei UI,serif;font-size:22px}.drawer-head>button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;width:35px;height:35px;font-size:21px}.phone-access-strip{background:#f3faf7;border:1px solid #cfe1dd;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;margin:16px 0 4px;padding:12px 14px;display:flex}.phone-access-strip strong,.phone-access-strip small{display:block}.phone-access-strip strong{color:var(--ink);letter-spacing:.04em;font-size:16px}.phone-access-strip small{color:var(--ink-soft);margin-top:3px;line-height:1.5}.phone-access-strip .ghost-button{flex:none}.phone-input-wrap input:disabled{color:#667a77;cursor:not-allowed;background:#edf2f0}.drawer-tabs{background:#e9eeeb;border-radius:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:20px 0 14px;padding:4px;display:grid}.drawer-tabs button{color:#6a7f7a;cursor:pointer;background:0 0;border:0;border-radius:8px;min-height:38px;font-size:11px;font-weight:800}.drawer-tabs button.active{color:var(--teal-dark);background:#fff;box-shadow:0 3px 10px #193a3414}.save-status-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:7px;margin-bottom:12px;display:grid}.save-status{border:1px solid var(--line);background:#fff;border-radius:9px;align-items:center;gap:8px;min-height:58px;padding:9px;display:flex}.save-status>span{width:24px;height:24px;color:var(--teal);background:var(--teal-pale);border-radius:50%;flex:none;place-items:center;font-size:11px;font-weight:900;display:grid}.save-status.pending>span{color:#946923;background:var(--amber-pale)}.save-status.failed>span{color:#a43d31;background:var(--coral-pale)}.save-status strong,.save-status small{display:block}.save-status strong{font-size:9px}.save-status small{color:#7d918d;margin-top:2px;font-size:8px}.save-status-message{text-overflow:ellipsis;white-space:nowrap;max-width:150px;overflow:hidden}.save-status-meta{white-space:normal;line-height:1.35}.save-status-retry{color:var(--teal-dark);cursor:pointer;background:#f1f8f6;border:1px solid #bdd8d2;border-radius:6px;margin-left:auto;padding:5px 7px;font-size:8px;font-weight:800}.save-status-retry:disabled{cursor:wait;opacity:.6}.output-list{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.output-row{border-top:1px solid #edf0ee;grid-template-columns:155px minmax(0,1fr);align-items:start;gap:14px;min-height:46px;padding:11px 13px;display:grid}.output-row:first-child{border-top:0}.output-row>span{color:#7a8e8a;font-size:10px}.output-row>strong{color:#284843;white-space:pre-wrap;font-size:11px;font-weight:600;line-height:1.65}.output-list.ordered-copy .output-row{grid-template-columns:155px minmax(0,1fr) auto}.output-row>button{color:var(--teal);cursor:pointer;background:#f1f8f6;border:1px solid #bdd8d2;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:800}button.copy-feedback-success{color:#116149!important;background:#e5f7ee!important;border-color:#65b18e!important}button.copy-feedback-error{color:#962e27!important;background:#fff0ee!important;border-color:#d99c96!important}.drawer-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:15px;display:flex}.drawer-action-hint{color:var(--muted);text-align:right;flex:0 0 100%;font-size:14px;line-height:1.55}.drawer-action-feedback{text-align:left;border-radius:8px;flex:0 0 100%;padding:10px 12px;font-size:15px;font-weight:600;line-height:1.55}.drawer-action-feedback.success{color:#17665e;background:#edf8f5;border:1px solid #b8dcd5}.drawer-action-feedback.error{color:#9a3e31;background:#fff3f0;border:1px solid #edc5bd}.drawer-actions .wide{width:100%}.copy-form-tip{color:#5c4d7c;background:var(--violet-pale);border:1px solid #ddd4ef;border-radius:9px;margin-bottom:10px;padding:10px 12px;font-size:10px;line-height:1.6}.hangzhou-fill-mode{background:#f5fbf9;border:1px solid #c7ded8;border-radius:10px;gap:9px;margin-bottom:12px;padding:14px;display:grid}.hangzhou-fill-mode>strong{color:var(--ink);font-size:16px}.hangzhou-fill-mode>small{color:var(--ink-soft);font-size:14px;line-height:1.6}.hangzhou-client-panel{background:#eef8f5;border:1px solid #b8d5cd;border-radius:10px;gap:12px;margin-top:14px;padding:15px;display:grid}.hangzhou-client-panel>div:first-child{gap:5px;display:grid}.hangzhou-client-panel strong{color:var(--ink);font-size:16px}.hangzhou-client-panel small{color:var(--ink-soft);font-size:14px;line-height:1.6}.hangzhou-client-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.hangzhou-client-actions a{text-decoration:none}.hangzhou-client-safety{border-top:1px solid #d4e6e1;padding-top:9px}@media (width<=1260px){.app-shell{grid-template-columns:92px minmax(0,1fr)}.sidebar{padding-inline:12px}.brand{padding-inline:0;display:block}.brand-system-name,.brand-title,.nav-item>span:nth-child(2),.sidebar-foot>div,.sidebar-info-copy,.sidebar-info-arrow{display:none}.about-system-button{grid-template-columns:1fr;justify-items:center;padding-inline:8px}.brand-identity{justify-content:center}.nav-item{grid-template-columns:1fr;justify-items:center;padding-inline:0}.nav-item b{margin:-27px 0 0 30px;position:absolute}.sidebar-foot{justify-content:center}.metric-row{grid-template-columns:repeat(4,minmax(100px,1fr))}.quick-actions{grid-column:1/-1}.phone-ribbon{grid-template-columns:minmax(200px,.8fr) minmax(300px,1.2fr)}.repeat-alert,.first-alert{display:none}}@media (width<=980px){.topbar{align-items:flex-start}.topbar-account-row{flex-wrap:wrap}.handover-card{flex-wrap:wrap;align-items:flex-start}.handover-card-heading,.handover-item-badges,.handover-notes,.handover-item-details{min-width:min(100%,280px)}.handover-card-heading,.handover-detail-title{display:grid}.contact-reminder-head,.contact-reminder-item-head,.shift-duty-card{flex-wrap:wrap}.shift-takeover-reason,.shift-occupied-recovery{min-width:100%}.shift-duty-copy{min-width:220px}.metric-row{grid-template-columns:repeat(2,1fr)}.intake-layout{grid-template-columns:1fr}.history-panel{border-top:1px solid var(--line);border-left:0;min-height:310px}.history-list{grid-template-columns:repeat(2,1fr)}.privacy-note{margin-top:16px}.resource-grid,.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mapping-card{grid-template-columns:1fr}.record-table{grid-template-columns:1fr .9fr 1.2fr .7fr .6fr}.record-table>:nth-child(5),.record-head>:nth-child(5),.record-table>:nth-child(6),.record-head>:nth-child(6){display:none}}@media (width<=680px){.app-shell{display:block}.sidebar{z-index:60;width:100%;height:64px;padding:7px 8px;display:block;position:fixed;inset:auto 0 0}.brand,.sidebar-foot,.sidebar-bottom{display:none}.sidebar nav{grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:3px}.nav-item{border-radius:9px;grid-template-columns:1fr;align-content:center;gap:0;min-height:50px;display:grid}.nav-item>span:nth-child(2){margin-top:2px;font-size:8px;display:block}.nav-icon{width:32px;height:26px;font-size:12px}.nav-item.active{box-shadow:inset 0 2px #9cdbce}.topbar{min-height:68px;padding:10px 15px}.topbar h1{font-size:19px}.topbar .eyebrow{font-size:8px}.counselor-box{height:44px;padding-inline:8px}.counselor-box input{width:82px}.page-content{padding:14px 12px 90px}.metric-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.metric{min-height:70px;padding:9px}.metric strong{font-size:21px}.contact-reminder-item,.contact-reminder-head{gap:7px}.metric small{display:none}.contact-reminder-action{flex:calc(50% - 7px)}.quick-actions{grid-template-columns:repeat(3,1fr);display:grid}.quick-actions button{padding-inline:5px;font-size:9px}.phone-ribbon{grid-template-columns:1fr;gap:10px;padding:13px}.phone-prompt small{display:none}.stepper{min-height:60px}.step{justify-items:center;gap:3px;padding:7px 3px;display:grid}.step>div{display:none}.step>span{width:30px;height:30px}.form-panel{padding:20px 14px 15px}.form-grid{grid-template-columns:1fr;gap:14px}.field.full,.risk-panel{grid-column:auto}.risk-panel .form-grid{grid-template-columns:1fr}.form-heading-meta{flex-direction:column-reverse;align-items:flex-end}.risk-guidance{grid-template-columns:1fr}.form-actions{align-items:stretch}.form-actions>div{grid-template-columns:auto 1fr;display:grid}.history-list{grid-template-columns:1fr}.page-header{flex-direction:column;align-items:flex-start}.page-header-actions{width:100%}.page-header-actions>button{flex:180px}.page-header h2{font-size:24px}.toolbar{flex-direction:column;align-items:stretch}.record-head{display:none}.record-table{grid-template-columns:1fr 1fr;padding:14px}.record-table>:nth-child(3),.record-table>:nth-child(5),.record-table>:nth-child(6){display:none}.task-card{grid-template-columns:85px 1fr}.task-card>button{grid-column:1/-1}.resource-grid,.template-grid{grid-template-columns:1fr}.mapping-card{padding:17px}.mapping-table{overflow-x:auto}.mapping-head,.mapping-row{min-width:540px}.output-row,.output-list.ordered-copy .output-row{grid-template-columns:120px minmax(0,1fr)}.output-list.ordered-copy .output-row button{grid-column:2;width:fit-content}.drawer-actions{flex-direction:column;align-items:stretch}.save-status-grid{grid-template-columns:1fr}}.app-shell .record-workspace{grid-template-columns:340px minmax(0,1fr);align-items:start;gap:18px;display:grid}.app-shell .record-workspace.list-hidden{grid-template-columns:52px minmax(0,1fr)}.app-shell .record-workspace-status{color:#526d69;background:#f7fbfa;border:1px solid #d6e6e2;border-radius:12px;flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:16px;min-height:48px;padding:9px 15px;font-size:14px;display:flex}.app-shell .record-workspace-status strong{color:#1d5955;font-size:16px}.app-shell .record-workspace-status .attention{color:#83591d;background:#fff0cf;border-radius:999px;padding:4px 9px;font-weight:800}.app-shell .record-workspace-status .shift-risk-summary{color:#536f6b;background:#eaf3f1;border-radius:999px;padding:4px 9px;font-weight:800}.app-shell .followup-summary-button{color:#526d69;min-width:150px;min-height:48px;font:inherit;text-align:left;cursor:pointer;background:#fff;border:1px solid #cddedb;border-radius:12px;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;margin-left:auto;padding:6px 12px;display:grid}.app-shell .followup-summary-button strong,.app-shell .followup-summary-button span{grid-column:1}.app-shell .followup-summary-button strong{color:#315d58;font-size:15px;line-height:1.25}.app-shell .followup-summary-button span{margin-top:1px;font-size:12px;line-height:1.2}.app-shell .followup-summary-button b{grid-area:1/2/3;font-size:21px}.app-shell .followup-summary-button.attention{color:#744d0d;background:linear-gradient(135deg,#fff5d9,#ffe9b8);border-color:#dcb65d;box-shadow:0 7px 18px #9d691724}.app-shell .followup-summary-button.attention strong{color:#6d4608}.app-shell .followup-summary-button.attention:hover{background:#ffe9b1;border-color:#c99629}.app-shell .record-workspace-list,.app-shell .record-workspace-editor{background:#fff;border:1px solid #cfe0dd;border-radius:18px;min-width:0;box-shadow:0 12px 34px #174c4612}.app-shell .worklog-actions .ghost-button.danger{color:#923a3a;background:#fff7f7;border-color:#dfb9b9}.app-shell .record-workspace-editor:focus{outline:none}.app-shell .record-workspace-list{position:sticky;top:86px;overflow:hidden}.app-shell .record-workspace-list-actions{gap:8px;display:grid}.app-shell .record-workspace-list-counts{color:#57736f;margin-top:4px;font-size:13px;font-weight:750;display:block}.app-shell .draft-resume-button{color:#6f4b0f;background:#fff1c8;border-color:#b9953d}.app-shell .record-workspace-list-reopen{color:#245f59;writing-mode:vertical-rl;cursor:pointer;background:#f2faf7;border:1px solid #b9d4cf;border-radius:14px;min-height:180px;padding:12px 8px;font-size:15px;font-weight:800;line-height:1.45;position:sticky;top:86px}.app-shell .record-workspace-list-heading,.app-shell .worklog-form-intro,.app-shell .worklog-detail-heading{background:linear-gradient(135deg,#f2faf7,#fff);border-bottom:1px solid #e2ecea;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.app-shell .record-workspace-list-heading h2,.app-shell .worklog-form-intro h2,.app-shell .worklog-detail-heading h2{color:#123f42;margin:2px 0 0;font-size:24px;line-height:1.35}.app-shell .record-workspace-list-heading h2{font-size:22px}.app-shell .record-workspace-list-heading .eyebrow,.app-shell .worklog-form-intro .eyebrow,.app-shell .worklog-detail-heading .eyebrow{color:#397d76;margin:0;font-size:14px;font-weight:800}.app-shell .worklog-form-intro p:last-child,.app-shell .worklog-detail-heading p:last-child{color:#627a76;margin:6px 0 0;font-size:15px;line-height:1.55}.app-shell .primary-button.compact{white-space:nowrap;min-height:44px;padding:0 16px}.app-shell .shift-record-list{max-height:min(62vh,720px);padding:10px;overflow:auto}.app-shell .shift-record-row-shell{gap:0;margin:0 0 8px;display:grid}.app-shell .shift-record-row{text-align:left;color:#224c4b;cursor:pointer;background:#fbfdfc;border:1px solid #d8e7e4;border-radius:13px;gap:8px;width:100%;min-height:112px;margin:0;padding:14px;display:grid}.app-shell .shift-record-row-shell .shift-record-row{border-radius:13px 13px 0 0}.app-shell .shift-record-item-actions{background:#f5faf8;border:1px solid #cfe1de;border-top:0;border-radius:0 0 13px 13px;grid-template-columns:minmax(0,1fr) auto;display:grid;overflow:hidden}.app-shell .shift-record-item-actions button{cursor:pointer;border:0;min-height:40px;padding:8px 12px;font-size:14px;font-weight:800}.app-shell .shift-record-open-action{color:#15695f;background:#eef8f5}.app-shell .shift-record-open-action:hover{background:#dff2ed}.app-shell .shift-record-view-action{color:#245f64;background:#fff}.app-shell .shift-record-view-action:hover{background:#edf6f5}.app-shell .shift-record-item-actions.completed{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .shift-record-item-actions.completed .shift-record-open-action{border-left:1px solid #cfe1de}.app-shell .shift-record-item-actions.completed .shift-record-delete{grid-column:1/-1;border-top:1px solid #e1b0aa!important;border-left:0!important}.app-shell .shift-record-crisis-action{color:#7b4d00;background:#fff3d8;grid-column:1/-1;border-top:1px solid #e8c277!important}.app-shell .shift-record-crisis-action:hover{background:#ffe7ae}.app-shell .shift-record-crisis-action.waiting,.app-shell .shift-record-crisis-action.done{color:#32645f;background:#f3f8f7;border-top-color:#cfe1de!important}.app-shell .shift-record-crisis-action.done:hover,.app-shell .shift-record-crisis-action.waiting:hover{background:#e6f2ef}.app-shell .shift-record-delete{color:#9b3028;background:#fff7f5;border-left:1px solid #e1b0aa!important}.app-shell .shift-record-delete:hover:not(:disabled){background:#ffe9e5}.app-shell .shift-record-delete:disabled{cursor:wait;opacity:.68}.app-shell .shift-record-row:hover,.app-shell .shift-record-row.selected{background:#eef8f5;border-color:#6ea9a0;box-shadow:0 5px 16px #2870661a}.app-shell .shift-record-row-top,.app-shell .shift-record-row-tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-shell .shift-record-row-top{justify-content:flex-start;font-size:16px}.app-shell .shift-record-row-top>span:last-child{margin-left:auto}.app-shell .record-overall-status{text-align:center;border-radius:50%;flex:none;place-items:center;width:48px;height:48px;padding:4px;font-size:12px;font-weight:850;line-height:1.15;display:grid}.app-shell .record-overall-status.draft{color:#2b685f;background:#e3f4ef;border:1px solid #a9d4cb}.app-shell .record-overall-status.pending{color:#784e0a;background:#fff0bf;border:1px solid #edc56b}.app-shell .record-overall-status.done{color:#65736f;background:#eef2f1;border:1px solid #d4ddda}.app-shell .shift-record-row p{color:#3e605d;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:16px;line-height:1.5;overflow:hidden}.app-shell .shift-record-row-tags.fact-tags span,.app-shell .shift-record-row-tags.fact-tags .risk-chip{color:#55706b;background:#eaf3f1;border:0;border-radius:999px;align-items:center;min-height:25px;padding:0 8px;font-size:13px;font-weight:700;display:inline-flex}.app-shell .shift-record-row-tags.fact-tags .risk-chip{color:#6f6457;background:#f1eee8}.app-shell .shift-record-pending-items{flex-wrap:wrap;gap:6px;display:flex}.app-shell .shift-record-pending-items span{color:#7b4d00;background:#fff0c9;border:1px solid #edc981;border-radius:999px;align-items:center;min-height:28px;padding:0 9px;font-size:13px;font-weight:800;display:inline-flex}.app-shell .platform-chip,.app-shell .followup-chip,.app-shell .record-state-chip,.app-shell .crisis-document-list-chip{color:#576c68;background:#edf2f1;border-radius:999px;align-items:center;min-height:28px;padding:0 9px;font-size:14px;font-weight:700;display:inline-flex}.app-shell .record-state-chip.draft{color:#7a541e;background:#fff0cd}.app-shell .record-state-chip.completed{color:#17655b;background:#dff3ee}.app-shell .crisis-document-list-chip.pending{color:#8b3f17;background:#ffe5cf}.app-shell .crisis-document-list-chip.waiting{color:#6b5b2b;background:#f4edcf}.app-shell .crisis-document-list-chip.done{color:#17655b;background:#dff3ee}.app-shell .call-kind-chip{color:#2d625d;background:#e9f5f2}.app-shell .platform-chip.pending{color:#855e1f;background:#fff0cf}.app-shell .followup-chip{color:#7b541f;background:#fff3da}.app-shell .record-workspace-empty{color:#66807c;text-align:center;align-content:center;place-items:center;gap:8px;min-height:110px;padding:24px;display:grid}.app-shell .record-workspace-empty>span{color:#fff;background:#5d9d94;border-radius:15px;place-items:center;width:52px;height:52px;font-size:22px;display:grid}.app-shell .record-workspace-empty strong,.app-shell .record-workspace-empty p{margin:0;font-size:16px}.app-shell .worklog-form,.app-shell .worklog-detail,.app-shell .missed-record-form{overflow:hidden}.app-shell .record-entry-mode-switch{background:#fbfdfc;border-bottom:1px solid #dce9e6;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;padding:16px 22px;display:flex}.app-shell .record-entry-mode-copy{color:#526e6a;flex:320px;gap:4px;min-width:min(100%,300px);font-size:14px;line-height:1.5;display:grid}.app-shell .record-entry-mode-copy strong{color:#173f3e;font-size:17px}.app-shell .record-entry-mode-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;gap:10px;display:flex}.app-shell .record-entry-mode-actions button{color:#286b66;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #9fcac4;border-radius:11px;flex:1 0 auto;min-height:46px;padding:0 18px;font-size:16px;font-weight:800}.app-shell .record-entry-mode-actions button.selected{color:#fff;background:#167f75;border-color:#167f75;box-shadow:0 5px 14px #167f752e}.app-shell .worklog-save-state{color:#366b65;background:#f4faf8;border:1px solid #cfe2dd;border-radius:11px;gap:3px;min-width:190px;padding:10px 13px;font-size:14px;display:grid}.app-shell .worklog-save-state strong{text-align:left;font-size:16px}.app-shell .worklog-group{background:#fff;border:1px solid #d8e6e3;border-radius:15px;margin:16px 18px;padding:18px}.app-shell .worklog-group-heading{align-items:center;gap:12px;margin-bottom:17px;display:flex}.app-shell .worklog-group-heading>span{color:#fff;background:#277f77;border-radius:11px;flex:none;place-items:center;width:38px;height:38px;font-size:18px;font-weight:900;display:grid}.app-shell .worklog-group-heading h3,.app-shell .worklog-group-heading p{margin:0}.app-shell .worklog-group-heading h3{color:#17484a;font-size:21px}.app-shell .worklog-group-heading p{color:#69807c;margin-top:2px;font-size:14px}.app-shell .worklog-grid .field>span:first-child,.app-shell .missed-record-form .field>span:first-child{font-size:16px}.app-shell .worklog-grid input,.app-shell .worklog-grid select,.app-shell .worklog-grid textarea,.app-shell .missed-record-form input,.app-shell .missed-record-form textarea{min-height:46px;font-size:16px}.app-shell .phone-history-inline{color:#355f5b;background:#eff7f4;border-radius:9px;grid-column:1/-1;padding:10px 12px;font-size:14px}.app-shell .phone-history-inline-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .phone-history-inline-heading>span{flex:1}.app-shell .phone-history-inline-list{border-top:1px solid #cfe0dd;gap:10px;margin-top:12px;padding-top:12px;display:grid}.app-shell .phone-history-inline-record{background:#fff;border:1px solid #c8dcda;border-radius:10px;overflow:hidden}.app-shell .phone-history-inline-summary{cursor:pointer;width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(150px,1.2fr) minmax(110px,.8fr) auto auto;align-items:center;gap:10px;padding:11px 12px;display:grid}.app-shell .phone-history-inline-summary b{color:#08756d;white-space:nowrap;font-size:13px}.app-shell .phone-history-inline-record.expanded>.phone-history-inline-summary{background:#f5faf8;border-bottom:1px solid #d9e7e4}.app-shell .phone-history-inline-record-body{gap:12px;padding:14px;display:grid}.app-shell .phone-history-risk-detail{background:#fff7f4;border:1px solid #f0c7bc;border-radius:9px;gap:10px;padding:12px;display:grid}.app-shell .phone-history-limit-note{color:#607b77}.app-shell .phone-history-inline-actions{justify-content:space-between;align-items:center;gap:12px;padding-top:2px;display:flex}.app-shell .phone-history-inline-load-more{justify-self:start}@media (width<=760px){.app-shell .phone-history-inline-heading{flex-direction:column;align-items:flex-start}.app-shell .phone-history-inline-summary{grid-template-columns:1fr auto}.app-shell .phone-history-inline-actions{flex-direction:column;align-items:stretch}}.app-shell .phone-followup-inline,.app-shell .followup-link-panel,.app-shell .drawer-callback-strip{color:#365f5b;background:#f6fbfa;border:1px solid #cfe0dd;border-radius:12px;grid-column:1/-1;padding:12px 14px;font-size:16px;line-height:1.55}.app-shell .phone-followup-inline.attention{color:#77521b;background:#fff8e8;border-color:#ead39e}.app-shell .followup-link-panel{gap:8px;display:grid}.app-shell .followup-link-panel .next-shift-confirm{justify-content:flex-start;width:fit-content;min-height:36px;padding:0}.app-shell .followup-link-panel .next-shift-confirm input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;margin:0}.app-shell .followup-link-panel .next-shift-confirm span{white-space:normal}.app-shell .followup-link-panel>.ghost-button.danger{justify-self:end;width:fit-content}.app-shell .followup-link-panel>span,.app-shell .followup-link-panel>strong,.app-shell .followup-link-panel>small{display:block}.app-shell .followup-link-panel select{width:100%;min-height:46px;font-size:16px}.app-shell .drawer-callback-strip{justify-content:space-between;align-items:center;gap:14px;margin:0 18px 14px;display:flex}.app-shell .drawer-callback-strip button{flex:none;min-height:44px}.app-shell .drawer-other-actions,.app-shell .output-detail-disclosure,.app-shell .crisis-document-upload,.app-shell .crisis-document-secondary{background:#fbfdfc;border:1px solid #cfe0dd;border-radius:12px}.app-shell .drawer-other-actions,.app-shell .output-detail-disclosure{margin:0 18px 14px}.app-shell .drawer-other-actions>summary,.app-shell .output-detail-disclosure>summary,.app-shell .crisis-document-upload>summary,.app-shell .crisis-document-secondary>summary{color:#176b65;cursor:pointer;padding:12px 14px;font-weight:700}.app-shell .drawer-other-actions .drawer-callback-strip{border:0;border-top:1px solid #dfeae8;border-radius:0 0 12px 12px;margin:0}.app-shell .record-next-actions{background:#f4fbf9;border:1px solid #afd4ce;border-radius:14px;gap:10px;margin:0 18px 14px;padding:14px;display:grid}.app-shell .record-next-actions-heading,.app-shell .record-next-action{justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .record-next-actions-heading span,.app-shell .record-next-action span{color:#607b77;font-size:14px}.app-shell .record-next-action{border-radius:11px;padding:12px 14px}.app-shell .record-next-action>div{gap:3px;display:grid}.app-shell .record-next-action.pending{background:#fff8e8;border:1px solid #e9c77b}.app-shell .record-next-action.done{background:#edf8f5;border:1px solid #bfe0d8}.app-shell .drawer-callback-copy{gap:4px;display:grid}.app-shell .drawer-callback-copy strong,.app-shell .drawer-callback-copy span{display:block}.app-shell .drawer-callback-copy strong{color:#153f3c;font-size:17px}.app-shell .crisis-document-card,.app-shell .crisis-document-shortcut{background:#fff7f4;border:1px solid #e7b3aa;border-radius:14px;margin:0 18px 14px;padding:16px}.app-shell .crisis-document-card{gap:12px;display:grid}.app-shell .crisis-document-card.simple{background:#fffaf3;border-color:#e8c7a8;gap:14px}.app-shell .crisis-document-card.simple h3,.app-shell .crisis-document-card.simple p{margin:0}.app-shell .crisis-document-card.simple h3{color:#463b2d;font-size:21px}.app-shell .crisis-document-simple-action{background:#fff;border:1px solid #ebc8bd;border-radius:11px;justify-content:space-between;align-items:center;gap:14px;padding:13px 14px;display:flex}.app-shell .crisis-document-simple-action p{color:#753c33;font-size:15px;line-height:1.6}.app-shell .crisis-document-upload-button.simple-upload{color:#fff;background:#177e73;border-color:#17786e;min-height:46px;font-size:16px;font-weight:850}.app-shell .crisis-document-upload-button.simple-upload:hover{background:#11685f}.app-shell .crisis-document-file-name,.app-shell .crisis-document-file-location{background:#f2faf8;border:1px solid #b9d9d3;border-radius:11px;align-items:center;gap:10px;padding:12px 14px;display:grid}.app-shell .crisis-document-file-name{background:#fffdf9;border-color:#e4d2b9;grid-template-columns:auto minmax(0,1fr)}.app-shell .crisis-document-file-location{grid-template-columns:minmax(0,1fr);align-items:start;gap:6px}.app-shell .crisis-document-file-location>*{min-width:0;max-width:100%}.app-shell .crisis-document-file-name strong,.app-shell .crisis-document-file-location strong{color:#205f59}.app-shell .crisis-document-file-name span,.app-shell .crisis-document-file-location span{color:#526d69;overflow-wrap:anywhere}.app-shell .crisis-document-file-location small{color:#486763;overflow-wrap:anywhere;line-height:1.6;display:block}.app-shell .crisis-document-file-hint{color:#675c4f;font-size:15px;line-height:1.65}.app-shell .crisis-document-file-actions{flex-wrap:wrap;gap:10px;display:flex}.app-shell .crisis-document-card-head,.app-shell .crisis-document-shortcut,.app-shell .crisis-document-actions,.app-shell .crisis-document-revise,.app-shell .crisis-document-error{justify-content:space-between;align-items:center;gap:12px;display:flex}.app-shell .crisis-document-card-head strong,.app-shell .crisis-document-card-head span,.app-shell .crisis-document-shortcut strong,.app-shell .crisis-document-shortcut span{display:block}.app-shell .crisis-document-card-head strong,.app-shell .crisis-document-shortcut strong{font-size:18px}.app-shell .crisis-document-card-head span,.app-shell .crisis-document-shortcut span,.app-shell .crisis-document-template-note{color:#6f625e;margin-top:4px;font-size:15px;line-height:1.55}.app-shell .crisis-document-card-head b,.app-shell .crisis-document-status{color:#8a382d;white-space:nowrap;background:#fbe1db;border-radius:999px;padding:6px 10px;font-size:14px}.app-shell .crisis-document-actions{flex-wrap:wrap;justify-content:flex-start}.app-shell .crisis-document-upload-button{color:#176b65;cursor:pointer;background:#fff;border:1px solid #7fb8b0;border-radius:9px;align-items:center;width:fit-content;min-height:42px;padding:0 14px;font-weight:700;display:inline-flex;position:relative}.app-shell .crisis-document-upload-button input{opacity:0;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .crisis-document-upload,.app-shell .crisis-document-secondary{padding:0 12px 12px}.app-shell .crisis-document-upload>p{color:#6f625e;margin:0 0 10px}.app-shell .crisis-document-upload>input{border:1px solid var(--line);border-radius:9px;width:100%;min-height:44px;margin:10px 0;padding:0 12px;font-size:16px}.app-shell .output-detail-disclosure>.drawer-tabs,.app-shell .output-detail-disclosure>.save-status-grid,.app-shell .output-detail-disclosure>.output-list,.app-shell .output-detail-disclosure>.copy-form-tip,.app-shell .output-detail-disclosure>.drawer-actions,.app-shell .output-detail-disclosure>.hangzhou-assistant{margin-left:14px;margin-right:14px}.app-shell .runtime-file-drop-field{flex:520px;gap:8px;min-width:min(100%,320px);display:grid}.app-shell .runtime-file-drop-label{color:#164d49;font-size:16px;font-weight:700}.app-shell .runtime-file-drop-zone{text-align:center;background:#f7fbfa;border:2px dashed #91bbb5;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:150px;padding:20px;display:flex}.app-shell .runtime-file-drop-zone[data-dragging=true]{background:#eaf7f5;border-color:#0d8278}.app-shell .runtime-file-drop-zone[data-disabled=true]{opacity:.65}.app-shell .runtime-file-drop-zone strong{color:#153f3d;overflow-wrap:anywhere}.app-shell .runtime-file-drop-zone span{color:#57706e;line-height:1.6}.app-shell .runtime-file-drop-choose{color:#126d66;cursor:pointer;background:#fff;border:1px solid #3d8e87;border-radius:10px;min-height:48px;padding:0 22px;font-size:16px;font-weight:700}.app-shell .runtime-file-drop-choose:focus-visible{outline-offset:2px;outline:3px solid #0d827847}.app-shell .runtime-file-drop-input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .runtime-file-drop-error{font-weight:600;color:#9b2f36!important}.app-shell .crisis-document-revise input{border:1px solid var(--line);border-radius:9px;flex:260px;min-width:0;min-height:46px;padding:0 12px;font-size:16px}.app-shell .crisis-document-history{border-top:1px solid #efd4ce;gap:7px;padding-top:10px;display:grid}.app-shell .crisis-document-history>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.app-shell .crisis-document-feedback,.app-shell .crisis-document-error{border-radius:9px;padding:11px 12px;font-size:15px;line-height:1.5}.app-shell .crisis-document-feedback.success{color:#17695f;background:#e8f6f2}.app-shell .crisis-document-feedback.error,.app-shell .crisis-document-error{color:#9b3128;background:#fff0ed}.app-shell .crisis-document-management-list{gap:10px;display:grid}.app-shell .crisis-document-management-toolbar{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:repeat(5,minmax(140px,1fr)) auto;align-items:end;gap:12px;margin-bottom:12px;padding:16px;display:grid}.app-shell .crisis-document-management-toolbar label{color:var(--ink-soft);gap:6px;font-size:14px;font-weight:750;display:grid}.app-shell .crisis-document-management-toolbar input,.app-shell .crisis-document-management-toolbar select{border:1px solid var(--line-strong);min-width:0;min-height:42px;color:var(--ink);font:inherit;background:#fff;border-radius:9px;padding:8px 10px}.app-shell .crisis-document-batch-bar{background:#eef8f6;border:1px solid #bedbd7;border-radius:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;margin-bottom:12px;padding:12px 16px;display:flex}.app-shell .crisis-document-batch-bar label{align-items:center;gap:8px;margin-right:auto;font-weight:800;display:inline-flex}.app-shell .crisis-document-management-row{border:1px solid var(--line);background:#fff;border-radius:13px;grid-template-columns:auto minmax(220px,1fr) auto auto auto;align-items:center;gap:14px;padding:16px 18px;display:grid}.app-shell .crisis-document-management-row>input[type=checkbox],.app-shell .crisis-document-selection-spacer{width:18px;height:18px}.app-shell .crisis-document-row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.app-shell .crisis-document-management-row strong,.app-shell .crisis-document-management-row small{display:block}.app-shell .crisis-document-management-row small{color:var(--ink-soft);margin-top:4px;font-size:14px}@media (width<=820px){.app-shell .crisis-document-card-head,.app-shell .crisis-document-shortcut,.app-shell .crisis-document-revise,.app-shell .crisis-document-error,.app-shell .crisis-document-file-name,.app-shell .crisis-document-file-location{flex-direction:column;align-items:stretch}.app-shell .crisis-document-file-name,.app-shell .crisis-document-file-location{display:flex}.app-shell .crisis-document-management-row,.app-shell .crisis-document-management-toolbar{grid-template-columns:1fr}.app-shell .crisis-document-selection-spacer{display:none}}.app-shell .record-status-cell{gap:4px;display:grid}.app-shell .record-table-overall-status{text-align:center;border-radius:50%;place-items:center;width:58px;height:58px;padding:5px;font-size:13px;font-weight:850;line-height:1.15;display:grid}.app-shell .record-table-overall-status.draft{color:#2b685f;background:#e3f4ef;border:1px solid #a9d4cb}.app-shell .record-table-overall-status.pending{color:#784e0a;background:#fff0bf;border:1px solid #edc56b}.app-shell .record-table-overall-status.done{color:#65736f;background:#eef2f1;border:1px solid #d4ddda}.app-shell .record-status-cell small{color:#627a76;font-size:14px}.app-shell .task-card h3{font-size:17px}.app-shell .task-card p,.app-shell .task-date small{font-size:15px}.app-shell .task-card>button{min-height:46px;font-size:16px}.app-shell .worklog-risk{grid-column:1/-1;padding:14px}.app-shell .crisis-decision-control{gap:10px;display:grid}.app-shell .crisis-decision-control .segmented{max-width:360px}.app-shell .crisis-decision-control textarea{width:100%;min-height:76px}.app-shell .worklog-risk summary,.app-shell .worklog-supplement summary{color:#255e5a;cursor:pointer;align-items:center;min-height:44px;font-size:16px;font-weight:800;display:flex}.app-shell .risk-guideline-summary{color:#5d5144;font-size:14px;line-height:1.6}.app-shell .worklog-supplement{background:#f8fbfa;border:1px dashed #bfd3d0;border-radius:14px;margin:16px 18px;padding:10px 18px 18px}.app-shell .worklog-supplement>p,.app-shell .missed-record-note{color:#687e7a;font-size:14px;line-height:1.6}.app-shell .worklog-actions{border-top:1px solid #e5eeec;justify-content:flex-end;gap:10px;min-height:72px;padding:14px 18px 18px;display:flex}.app-shell .worklog-actions button{min-height:46px;font-size:16px}.app-shell .worklog-actions>:first-child{margin-right:auto}.app-shell .record-completion-tasks{background:#f7fbfa;border:1px solid #b8d5cf;border-radius:14px;gap:12px;margin:18px;padding:16px;display:grid}.app-shell .record-completion-tasks-heading{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.app-shell .record-completion-tasks-heading strong{color:#164f4a;font-size:18px}.app-shell .record-completion-tasks-heading span{color:#687e7a;font-size:14px}.app-shell .record-completion-task{border-radius:12px;justify-content:space-between;align-items:center;gap:16px;min-height:72px;padding:12px 14px;display:flex}.app-shell .record-completion-task.pending{background:#fff9ed;border:1px solid #e9c47d}.app-shell .record-completion-task.done{background:#eff9f3;border:1px solid #b7d8c8}.app-shell .record-completion-task>div{gap:4px;display:grid}.app-shell .record-completion-task strong{color:#173f3c;font-size:16px}.app-shell .record-completion-task span,.app-shell .record-completion-task b{color:#60736f;font-size:14px}.app-shell .record-completion-task b{color:#287558}.app-shell .worklog-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.app-shell .worklog-detail-item{background:#f5f9f8;border-radius:10px;gap:5px;padding:12px;display:grid}.app-shell .worklog-detail-item.full{grid-column:1/-1}.app-shell .worklog-detail-item span{color:#667d79;font-size:14px}.app-shell .worklog-detail-item strong{color:#234b49;white-space:pre-wrap;font-size:16px;line-height:1.65}.app-shell .worklog-risk-detail{background:#fff8f6;border:1px solid #efc8c2;border-radius:12px;gap:12px;margin-top:16px;padding:16px;display:grid}.app-shell .worklog-risk-detail h4{color:#8d3e35;margin:0;font-size:18px}.app-shell .record-detail-state{text-align:center;place-content:center;min-height:360px;padding:32px;display:grid}.app-shell .record-detail-state strong{color:#244e4b;font-size:22px}.app-shell .record-detail-state p{color:#617874;max-width:560px;margin:8px auto 0;font-size:16px;line-height:1.7}.app-shell .record-detail-state.error{color:#8b3f39}.app-shell .missed-record-form>.form-grid,.app-shell .missed-record-note{margin:18px}@media (width<=1180px){.app-shell .record-workspace{grid-template-columns:320px minmax(0,1fr)}.app-shell .worklog-grid{grid-template-columns:1fr}.app-shell .worklog-grid .field.full,.app-shell .worklog-risk{grid-column:1}}@media (width<=860px){.app-shell .record-workspace,.app-shell .record-workspace.list-hidden{grid-template-columns:1fr}.app-shell .record-workspace-list-reopen{writing-mode:horizontal-tb;min-height:48px;position:static}.app-shell .record-workspace-list{position:static}.app-shell .shift-record-list{max-height:360px}}@media (width<=680px){.app-shell .record-workspace-status{flex-direction:column;align-items:flex-start;gap:5px}.app-shell .record-workspace-list-heading,.app-shell .worklog-form-intro,.app-shell .worklog-detail-heading,.app-shell .record-entry-mode-switch,.app-shell .worklog-actions{flex-direction:column;align-items:stretch}.app-shell .record-entry-mode-actions{grid-template-columns:1fr;display:grid}.app-shell .worklog-group,.app-shell .worklog-supplement,.app-shell .missed-record-form>.form-grid,.app-shell .missed-record-note{margin-left:12px;margin-right:12px}.app-shell .worklog-detail-grid{grid-template-columns:1fr}.app-shell .worklog-detail-item.full{grid-column:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}.app-shell{font-size:16px;line-height:1.55}.app-shell button,.app-shell input,.app-shell select,.app-shell textarea,.app-shell .nav-item,.app-shell .primary-button,.app-shell .ghost-button,.app-shell .text-button{font-size:16px}.app-shell button,.app-shell input,.app-shell select,.app-shell .primary-button,.app-shell .ghost-button,.app-shell .segmented button,.app-shell .contact-reminder-action,.app-shell .task-card>button,.app-shell .drawer-actions button{min-height:44px}.app-shell .brand small,.app-shell .nav-item b,.app-shell .sidebar-foot strong,.app-shell .sidebar-foot small,.app-shell .eyebrow,.app-shell .live-badge,.app-shell .counselor-box span,.app-shell .shift-time span,.app-shell .shift-duty-copy span,.app-shell .shift-duty-tag,.app-shell .handover-card-heading span,.app-shell .handover-loading,.app-shell .handover-empty,.app-shell .handover-item-badges span,.app-shell .handover-detail-heading span,.app-shell .handover-detail-title span,.app-shell .handover-detail-meta span,.app-shell .handover-notes span,.app-shell .contact-reminder-head span,.app-shell .contact-reminder-meta span,.app-shell .contact-reminder-attempt-list,.app-shell .contact-reminder-empty,.app-shell .contact-reminder-pill,.app-shell .metric>span,.app-shell .metric>small,.app-shell .shift-duty-icon,.app-shell .editing-banner span,.app-shell .editing-banner button,.app-shell .phone-prompt small,.app-shell .lookup-result,.app-shell .repeat-alert span,.app-shell .first-alert span,.app-shell .step>span,.app-shell .step small,.app-shell .form-heading p,.app-shell .risk-chip,.app-shell .field-help,.app-shell .char-count,.app-shell .risk-panel-head small,.app-shell .draft-save-state,.app-shell .draft-save-state small,.app-shell .risk-guidance ol,.app-shell .panel-title p,.app-shell .panel-title>span,.app-shell .empty-state p,.app-shell .history-summary strong,.app-shell .history-summary p,.app-shell .history-limit-note,.app-shell .history-top strong,.app-shell .history-item p,.app-shell .history-item small,.app-shell .privacy-note>span,.app-shell .privacy-note p,.app-shell .privacy-note strong,.app-shell .record-table>span>small,.app-shell .record-head,.app-shell .task-date small,.app-shell .task-card p,.app-shell .tag-row span,.app-shell .resource-card-head>span,.app-shell .resource-card-head b,.app-shell .resource-card>p,.app-shell .template-card p,.app-shell .template-status,.app-shell .mapping-head,.app-shell .drawer-tabs button,.app-shell .save-status>span,.app-shell .save-status strong,.app-shell .save-status small,.app-shell .save-status-message,.app-shell .save-status-meta,.app-shell .save-status-retry,.app-shell .output-row>span,.app-shell .output-row>strong,.app-shell .output-row>button,.app-shell .copy-form-tip,.app-shell .nav-item>span:nth-child(2),.app-shell .nav-icon{line-height:1.5;font-size:14px!important}.app-shell .contact-reminder-empty{font-weight:800;font-size:17px!important}.app-shell .nav-item>span:nth-child(2){letter-spacing:.02em;font-weight:700;font-size:18px!important}.app-shell .counselor-box input,.app-shell .notice,.app-shell .shift-duty-copy strong,.app-shell .shift-takeover-reason,.app-shell .shift-duty-action,.app-shell .handover-card-heading strong,.app-shell .handover-detail-heading strong,.app-shell .handover-detail-title strong,.app-shell .handover-detail-reference,.app-shell .handover-review-confirmation,.app-shell .handover-no-items-note,.app-shell .handover-items-error,.app-shell .handover-notes input,.app-shell .contact-reminder-head strong,.app-shell .contact-reminder-error,.app-shell .contact-reminder-item-head strong,.app-shell .contact-reminder-action,.app-shell .phone-prompt label,.app-shell .repeat-alert strong,.app-shell .first-alert strong,.app-shell .step strong,.app-shell .field>span:first-child,.app-shell .segmented button,.app-shell .risk-panel-head strong,.app-shell .risk-guidance strong,.app-shell .empty-state strong,.app-shell .page-header>div>p:last-child,.app-shell .task-card h3,.app-shell .resource-card pre,.app-shell .record-head,.app-shell .record-table,.app-shell .task-card,.app-shell .output-row,.app-shell .mapping-row{font-size:16px;line-height:1.55}.app-shell .editing-banner button,.app-shell .contact-reminder-action,.app-shell .drawer-tabs button,.app-shell .save-status-retry,.app-shell .output-row>button,.app-shell .output-row>strong,.app-shell .record-head{font-size:16px!important}.app-shell .resource-card h3{font-size:20px;line-height:1.4}.app-shell .resource-card .resource-contact{font-size:16px}.app-shell .resource-card .text-button{align-items:center;min-height:44px;display:inline-flex}.app-shell .management-context{background:#f8f7fc;border:1px solid #d7d4e8;border-radius:12px;min-height:50px;padding:6px 10px}.app-shell .management-role{color:#5d4f83;background:#f1edfa;border-color:#d7d0eb}.app-shell .live-badge.awaiting-duty{color:#835c1b;background:#fff7e6;border-color:#e4cb96}.app-shell .live-badge.awaiting-duty i{background:#d39a35;box-shadow:0 0 0 4px #d39a3524}.app-shell .intake-card.duty-required{background:linear-gradient(145deg,#fffdf7,#f8fbf9);border-color:#dfc998;box-shadow:0 14px 34px #75562014}.app-shell .intake-card.duty-required .empty-state{min-height:340px}@media (width<=680px){.app-shell .sidebar{height:82px;padding:6px 8px 8px}.app-shell .nav-item{min-height:68px;padding:4px 2px}.app-shell .nav-item>span:nth-child(2){text-align:center;white-space:normal;line-height:1.2;font-size:14px!important}.app-shell .page-content{padding-bottom:108px}}.counselor-task-reminder-panel,.counselor-task-reminder-error{color:#244d49;background:#fffaf0;border:1px solid #e8c77c;border-radius:16px;margin:14px 24px 0;box-shadow:0 10px 24px #34564f14}.counselor-task-reminder-panel{padding:16px 18px}.counselor-task-reminder-heading{align-items:center;gap:10px;margin-bottom:10px;display:flex}.counselor-task-reminder-heading div{gap:2px;display:grid}.counselor-task-reminder-heading small{color:#607b76}.counselor-task-reminder-icon{color:#785400;background:#f5d991;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:800;display:grid}.counselor-task-reminder-item{border-top:1px solid #f0dfba;align-items:center;gap:16px;padding:12px 0;display:flex}.counselor-task-reminder-item p{flex:1;margin:0;line-height:1.7}.counselor-task-reminder-item button,.counselor-task-reminder-error button{color:#fff;white-space:nowrap;background:#147e72;border:1px solid #86bbb2;border-radius:10px;min-height:42px;padding:0 18px;font-weight:700}.counselor-task-reminder-error{color:#9b2f2a;background:#fff5f4;border-color:#e5a5a1;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}@media (width<=780px){.counselor-task-reminder-panel,.counselor-task-reminder-error{margin-inline:12px}.counselor-task-reminder-item,.counselor-task-reminder-error{flex-direction:column;align-items:stretch}}
