:root{--bg:#f4f5f7;--surface:#fff;--sidebar-bg:#fafafb;--text:#3d3a45;--text-h:#1a1523;--muted:#6f6b78;--border:#e6e4ea;--accent:#7c3aed;--accent-soft:#f3e8ff;--accent-hover:#ede9fe;--shadow:0 1px 2px #1a15230f;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,Segoe UI,Roboto,sans-serif;font-weight:400;line-height:1.45}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{min-height:100svh}button{font:inherit}.shell{background:var(--bg);grid-template-columns:260px 1fr;min-height:100svh;display:grid}.sidebar{background:var(--sidebar-bg);border-right:1px solid var(--border);flex-direction:column;padding:24px 16px;display:flex}.brand{align-items:center;gap:10px;padding:4px 8px 28px;display:flex}.brand-mark{background:var(--accent);color:#fff;letter-spacing:-.04em;border-radius:8px;place-items:center;width:28px;height:28px;font-size:13px;font-weight:700;display:grid}.brand-name{color:var(--text-h);letter-spacing:-.02em;font-size:14px;font-weight:650}.nav{flex-direction:column;gap:4px;display:flex}.nav-item{appearance:none;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:10px 12px;font-size:14px;font-weight:500;line-height:1.3}.nav-item:hover{background:var(--accent-hover);color:var(--text-h)}.nav-item.active{background:var(--accent-soft);color:var(--accent);font-weight:600}.nav-item:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.main{flex-direction:column;min-width:0;display:flex}.header{background:var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);justify-content:space-between;align-items:center;gap:16px;padding:20px 32px;display:flex}.header h1{color:var(--text-h);letter-spacing:-.03em;margin:0;font-size:20px;font-weight:650}.content{flex:1;padding:32px}.page-title{color:var(--text-h);letter-spacing:-.04em;margin:0;font-size:28px;font-weight:650}@media (width<=800px){.shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:16px}.brand{padding-bottom:16px}.nav{flex-direction:row;overflow-x:auto}.nav-item{white-space:nowrap}.header,.content{padding-inline:20px}}.dashboard{flex-direction:column;gap:24px;max-width:1200px;display:flex}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{background:#fff;border:1px solid #e8e4ef;border-radius:14px;padding:24px;box-shadow:0 2px 8px #2814460a}.stat-card p{color:#777184;margin:0 0 12px;font-size:14px}.stat-card strong{color:#39166b;font-size:34px}.dashboard-panel{background:#fff;border:1px solid #e8e4ef;border-radius:14px;padding:24px}.dashboard-panel h3{color:#39166b;margin:0 0 20px;font-size:19px}.dashboard-row{border-bottom:1px solid #f0edf4;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-size:14px;display:flex}.dashboard-row:last-child{border-bottom:none}.status-pill{color:#54218a;white-space:nowrap;background:#f0e8fa;border-radius:20px;padding:6px 12px;font-size:12px}.activity-time{color:#928b9b;white-space:nowrap;font-size:12px}@media (width<=900px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.stats-grid{grid-template-columns:1fr}}.queue-table-wrapper{margin-top:20px;overflow-x:auto}.queue-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.queue-table th{color:#54218a;background:#f5f1fa;padding:14px;font-weight:600}.queue-table td{border-bottom:1px solid #eee9f3;padding:16px 14px}.queue-table tbody tr:hover{background:#faf8fd}.queue-table input[type=checkbox]{accent-color:#54218a;cursor:pointer;width:17px;height:17px}.load-button{color:#fff;cursor:pointer;background:#54218a;border:none;border-radius:9px;margin-top:24px;padding:13px 20px;font-size:14px;font-weight:600}.load-button:hover:not(:disabled){background:#39166b}.load-button:disabled{opacity:.45;cursor:not-allowed}.sequence-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.sequence-step{background:#f7f3fc;border:1px solid #e8def4;border-radius:12px;padding:20px}.sequence-step strong{color:#54218a;font-size:14px}.sequence-step p{color:#777184;margin-bottom:0;font-size:13px}.schedule-form{flex-direction:column;align-items:flex-start;gap:12px;margin-top:24px;display:flex}.schedule-form label{font-size:14px;font-weight:600}.schedule-form input{font:inherit;border:1px solid #d9d0e4;border-radius:8px;padding:12px}.schedule-form .load-button{margin-top:4px}@media (width<=800px){.sequence-steps{grid-template-columns:1fr}}.reply-card{border-bottom:1px solid #eee9f3;padding:22px 0}.reply-card:last-child{border-bottom:none}.reply-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.reply-header strong{color:#39166b;font-size:16px}.reply-header p{color:#777184;margin:6px 0 0;font-size:13px}.reply-message{background:#faf8fd;border-radius:10px;margin:18px 0;padding:16px;font-size:14px;line-height:1.6}.reply-actions{flex-wrap:wrap;align-items:flex-end;gap:14px;display:flex}.reply-actions label{flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.reply-actions select{font:inherit;background:#fff;border:1px solid #d9d0e4;border-radius:8px;padding:11px}.reply-actions .load-button{margin-top:0}.opt-out-pill{color:#b42318;background:#fce8e8;border-radius:20px;padding:7px 12px;font-size:12px;font-weight:600}.header-user{color:#777184;align-items:center;gap:14px;font-size:13px;display:flex}.logout-button{font:inherit;background:0 0;border:1px solid #d9d0e4;border-radius:8px;padding:8px 14px}.logout-button .name-link{font:inherit;color:#54218a;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-weight:600}.logout-button .name-link:hover{text-decoration:underline}.logout-button .name-link:focus-visible,.logout-button .back-link:focus-visible{outline-offset:2px;outline:2px solid #54218a}.logout-button .back-link{font:inherit;color:#54218a;cursor:pointer;background:0 0;border:none;padding:0;font-size:14px}.logout-button .logout-button:hover{background:#f5f1fa}.logout-button .login-page{background:var(--bg);place-items:center;min-height:100vh;padding:16px;display:grid}.logout-button .login-card{background:#fff;border:1px solid #e8e4ef;border-radius:14px;flex-direction:column;gap:16px;width:100%;max-width:380px;padding:32px;display:flex}.logout-button .login-card h1{color:#39166b;margin:4px 0;font-size:19px}.logout-button .login-card label{flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.logout-button .login-card input{font:inherit;border:1px solid #d9d0e4;border-radius:8px;padding:11px}.logout-button .login-card .load-button{margin-top:4px}.logout-button .login-error{color:#b42318;margin:0;font-size:13px}.logout-button .profile{flex-direction:column;align-items:stretch;gap:20px;margin-top:20px;display:flex}.logout-button .profile>.back-link{align-self:flex-start}.logout-button .profile-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.logout-button .profile-header h3{margin-bottom:8px}.logout-button .profile-header p{margin:4px 0 0;font-size:14px}.logout-button .profile-meta{color:#777184}.logout-button .profile-meta a{color:#54218a}.logout-button .profile-job-title{color:#39166b}.logout-button .profile-sub{color:#777184;margin:4px 0 0;font-size:13px}.logout-button .profile-job-side{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.logout-button .profile-error{color:#b42318}
