:root{color:#1f2933;background:#edf1f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow:hidden}code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.page{background:#eef2f5;height:100vh;min-height:100vh;overflow:hidden}.login-screen{grid-template-columns:minmax(0,1.1fr) 430px;align-items:center;gap:32px;max-width:1100px;min-height:100vh;margin:0 auto;padding:24px;display:grid}.login-copy h1,.sidebar-brand h1{letter-spacing:0;margin:0;font-size:38px;line-height:1.1}.login-copy p{color:#52616f;max-width:620px;font-size:17px}.eyebrow{color:#2f6f73;text-transform:uppercase;margin:0 0 8px;font-size:13px;font-weight:700}.login-card{border-radius:8px;box-shadow:0 18px 45px #2a36471f}.app-layout{background:#f5f7f9;height:100vh;min-height:100vh;overflow:hidden}.app-sider{background:#fff;flex:0 0 248px;height:100vh}.sider-inner{flex-direction:column;gap:18px;height:100vh;padding:18px 12px;display:flex}.sidebar-brand{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;display:grid}.brand-mark{color:#fff;background:#18a058;border-radius:8px;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.sidebar-brand h1{font-size:19px}.sidebar-brand .eyebrow{color:#6b7280;margin:0 0 4px}.sidebar-footer{justify-content:space-between;align-items:center;gap:10px;margin-top:auto;display:flex}.workspace-layout{background:#f5f7f9;height:100vh;min-height:0;overflow:hidden}.workspace{min-width:0;height:calc(100vh - 87px);padding:20px;overflow:auto}.workspace-header{background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:58px;padding:14px 20px;display:flex}.workspace-header h2{letter-spacing:0;margin:0;font-size:26px;line-height:1.15}.workspace-section{margin-bottom:16px}.step-title{align-items:center;gap:8px;display:inline-flex}.step-title strong{color:#fff;background:#18a058;border-radius:999px;place-items:center;width:22px;height:22px;font-size:13px;display:inline-grid}.step-title.compact strong{width:20px;height:20px;font-size:12px}.stats,.home-dashboard,.workbench,.admin-section,.data-section{max-width:none;margin:0 0 16px}.stats .n-card,.home-dashboard .n-card,.input-panel,.form-panel,.admin-section .n-card,.data-section .n-card{border-radius:8px;box-shadow:0 8px 24px #1f29330f}.home-dashboard{grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);gap:16px;display:grid}.todo-column,.import-column{align-content:start;gap:16px;display:grid}.todo-list{gap:10px;display:grid}.todo-item{background:#fbfcfd;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.todo-title{align-items:center;gap:8px;font-weight:700;display:flex}.todo-item p{color:#52616f;margin:6px 0}.todo-meta{color:#667085;flex-wrap:wrap;gap:8px 12px;font-size:12px;display:flex}.focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.excel-upload,.import-summary,.quick-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.excel-upload{margin-bottom:12px}.import-summary{justify-content:space-between;margin:12px 0}.quick-actions{margin-top:2px}.workbench{grid-template-columns:minmax(320px,.9fr) minmax(520px,1.1fr);gap:16px;display:grid}.reminder-panel{grid-column:1/-1}.quick-row{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.opening-panel{margin:2px 0 14px}.scratch-panel{background:#fbfcfd;border:1px solid #e5e7eb;border-radius:8px;gap:10px;margin-bottom:16px;padding:12px;display:grid}.scratch-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.scratch-head p{color:#667085;margin:3px 0 0;font-size:13px}.opening-text{margin:0;line-height:1.7}.opening-tips{color:#52616f;margin:8px 0 0;padding-left:18px}.ai-issues{margin-top:12px}.issue-title{margin-bottom:4px;font-weight:700}.issue-line+.issue-line{margin-top:3px}.card-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.record-form{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;display:grid}.record-form .wide{grid-column:1/-1}.reminder-form{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;display:grid}.copy-actions{margin-top:12px}.upgrade-row{grid-template-columns:minmax(180px,260px) minmax(220px,1fr) auto auto;align-items:center;gap:12px;display:grid}.hidden-file-input{display:none}.upgrade-log{color:#dbeafe;white-space:pre-wrap;background:#16202a;border-radius:8px;max-height:220px;margin:14px 0 0;padding:12px;font-size:12px;overflow:auto}.data-section{background:#ffffffb8;border-radius:8px;padding:16px}.data-toolbar{flex-wrap:wrap;align-items:center;gap:10px;max-width:none;margin-bottom:14px;display:flex}.data-toolbar .n-input{max-width:520px}.lead-filter-select{width:132px}.table-actions{align-items:center;gap:6px;display:flex}.lead-note-cell{color:#52616f;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-height:40px;line-height:20px;display:-webkit-box;overflow:hidden}.lead-editor-modal{width:min(760px,100vw - 28px)}.section-title{color:#1f2937;margin:2px 0 8px;font-size:14px;font-weight:700}.lead-history{gap:8px;margin-top:8px;display:grid}.lead-history-item{background:#fbfcfd;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.lead-history-head{color:#667085;justify-content:space-between;align-items:center;gap:10px;font-size:12px;display:flex}.lead-history-item p{color:#52616f;white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 0;line-height:1.6}.student-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));align-items:start;gap:12px;display:grid}.timeline{gap:10px;display:grid}.timeline p{color:#52616f;margin:0}@media (width<=900px){body{overflow:auto}.page{height:auto;overflow:visible}.login-screen,.home-dashboard,.workbench{grid-template-columns:1fr}.login-screen{padding:14px}.app-layout{height:auto;display:block;overflow:visible}.app-sider{height:auto;position:static}.sider-inner{height:auto}.workspace{height:auto;padding:14px;overflow:visible}.record-form,.todo-item,.focus-grid,.reminder-form,.upgrade-row{grid-template-columns:1fr}}
