:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#27292e;background:#f7f7f8;--red:#e85d5d;--border:#e2e3e7}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.login-view{min-height:100vh;display:grid;place-items:center;background:linear-gradient(145deg,#fff7f7,#f3f4f7)}.login-card{width:min(390px,calc(100% - 32px));padding:38px;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 18px 50px #20202015;text-align:center}.login-card .logo,.brand>span,.mobile-brand>span{display:inline-grid;place-items:center;background:var(--red);color:#fff;border-radius:9px}.login-card .logo{width:46px;height:46px;font-size:28px}.login-card h1{margin:14px 0 3px}.login-card p{margin:0 0 24px;color:#8a8d95}.login-card label,.login-card small{display:block;text-align:left}.login-card input{margin-top:8px}.login-card small{margin-top:18px;color:#9a9da4;line-height:1.6}.shell{min-height:100vh;display:flex}.sidebar{position:sticky;top:0;width:238px;height:100vh;flex:0 0 238px;padding:18px 12px 14px;background:#f1f1f3;border-right:1px solid #e0e0e3;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:2px 10px 16px;font-weight:700;font-size:20px}.brand>span,.mobile-brand>span{width:30px;height:30px}.side-add,.primary{border:0;background:var(--red);color:#fff;border-radius:7px;font-weight:600}.side-add{margin:0 6px 15px;padding:9px}.primary{padding:10px 15px}.primary:hover,.side-add:hover{background:#d94c4c}.wide{width:100%;margin-top:18px;padding:11px}nav{display:flex;flex-direction:column;gap:2px}nav button,.smart{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:7px;width:100%;min-height:38px;border:0;border-radius:7px;background:transparent;text-align:left;color:#555961;padding:7px 10px}nav button:hover,.smart:hover{background:#e5e5e8}nav button.active{background:#fff;color:#c94141;font-weight:600;box-shadow:0 1px 3px #2221}nav i,.smart i{font-style:normal;text-align:center}.smart-title{margin:22px 10px 7px;padding-top:14px;border-top:1px solid #dddde0;color:#9a9ca2;font-size:12px;font-weight:600}.smart{grid-template-columns:22px 1fr}.sidebar-bottom{margin-top:auto;padding-top:11px;border-top:1px solid #dddde0;display:flex;align-items:center;justify-content:space-between}.sidebar-bottom button{border:0;background:none;color:#777b84;font-size:12px;padding:7px}.sidebar-bottom button:first-child{display:flex;align-items:center;gap:6px}.sidebar-bottom button:first-child>span:first-child{width:7px;height:7px;border-radius:50%;background:#50a36f}.main{min-width:0;flex:1}.topbar{height:56px;position:sticky;top:0;z-index:5;background:#fffffff0;backdrop-filter:blur(10px);border-bottom:1px solid #ededee;display:flex;align-items:center;padding:0 28px}.top-actions{display:flex;gap:8px;margin-left:auto}.sync,.icon{border:1px solid var(--border);background:#fff;color:#6d7078;border-radius:8px;height:36px}.sync{padding:0 11px}.icon{width:36px}.content{max-width:1280px;padding:28px 30px}.heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.heading h1{font-size:27px;margin:3px 0}.heading p{margin:0;color:#858991}.eyebrow{color:#a35c5c;font-size:12px;letter-spacing:.11em}.notice,.backlog{display:flex;align-items:center;justify-content:space-between;padding:11px 14px;margin-bottom:17px;border-radius:8px}.notice{background:#fff1f2;border:1px solid #f4cfd3;color:#a23d48}.backlog{background:#fffaf0;border:1px solid #efdfbc;color:#79591a}.backlog button{border:0;background:none;color:inherit;text-decoration:underline}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--border);border-radius:8px;margin-bottom:20px;padding:14px 0}.stats div{padding:0 20px;border-right:1px solid var(--border)}.stats div:last-child{border:0}.stats span{font-size:13px;color:#858991}.stats strong{font-size:21px;margin-left:10px}.board-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.board-head h2{font-size:17px}.filters{display:flex;gap:8px}.search{display:flex;align-items:center;gap:5px;background:#f0f0f2;padding:0 9px;border-radius:7px}.search input{width:150px;border:0;outline:0;background:transparent}.filters>input{border:1px solid var(--border);border-radius:7px;padding:7px;background:#fff}.board{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quadrant{--q:#7e8796;background:#fff;border:1px solid var(--border);border-top:2px solid var(--q);border-radius:8px;padding:16px;min-height:225px}.quadrant.q1{--q:#d45766}.quadrant.q2{--q:#4675d9}.quadrant.q3{--q:#b88624}.q-head{display:flex;justify-content:space-between;align-items:center}.q-head h3{font-size:16px;margin:0}.q-head span{color:var(--q);background:#f7f7f8;border-radius:5px;padding:3px 8px;font-size:12px}.q-hint{margin:6px 0 11px;color:#9296a0;font-size:12px}.task{padding:10px 9px;border-top:1px solid #ececef}.task:first-of-type{border-top:0}.task-row{display:flex;align-items:flex-start;gap:9px}.task-check{appearance:none;width:17px;height:17px;border:1.5px solid var(--q,#989ca5);border-radius:50%;margin:2px 0 0;flex:0 0 auto}.task-check:checked{background:var(--red);border-color:var(--red);box-shadow:inset 0 0 0 4px white}.task-title{border:0;background:none;text-align:left;padding:0;font-size:14px;font-weight:600;flex:1}.task.done .task-title{text-decoration:line-through;color:#9a9ca4}.badge{font-size:11px;padding:2px 7px;border-radius:10px;background:#fff5df;color:#a36a17}.done .badge{background:#eaf8f0;color:#2c7b54}.task-note{margin:5px 26px;color:#7e828b;font-size:12px;white-space:pre-wrap}.task-meta{display:flex;gap:10px;margin:6px 26px 0;color:#9b9ea5;font-size:11px}.task-meta button{border:0;background:none;color:#8a8d95;padding:0}.add-inline{border:0;background:none;color:#858993;padding:9px 2px 0}.empty{height:105px;display:grid;place-items:center;border:1px dashed #e3e4e7;border-radius:7px;color:#9a9da5;font-size:13px}.flat-list{display:flex;flex-direction:column;gap:7px}.flat-list .task{background:#fff;border:1px solid var(--border);border-radius:7px}.flat-list .empty{background:#fff}dialog{border:0;border-radius:12px;padding:0;width:min(540px,calc(100% - 28px));box-shadow:0 20px 60px #2224}dialog::backdrop{background:#18191c66}dialog form{padding:25px;display:flex;flex-direction:column;gap:15px}.dialog-head{display:flex;justify-content:space-between}.dialog-head h2{margin:0}.dialog-head p{margin:4px 0;color:#8b8e96;font-size:13px}.close{border:0;background:none;font-size:26px;color:#8c8f97}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.secondary{border:1px solid var(--border);background:#fff;border-radius:7px;padding:9px 14px}dialog label,.login-card label{font-size:14px;font-weight:600;text-align:left}input,select,textarea{width:100%;margin-top:7px;padding:10px 11px;border:1px solid #d8d9de;border-radius:7px;background:#fff;color:#282a2f}textarea{resize:vertical}fieldset{border:0;padding:0;margin:0}legend{font-size:14px;font-weight:600;margin-bottom:7px}.segments{display:grid;grid-template-columns:1fr 1fr;gap:8px}.segments label{display:flex;align-items:center;justify-content:center;border:1px solid var(--border);padding:9px;border-radius:7px}.segments input{width:auto;margin:0 7px 0 0}.form-error{margin-top:12px;padding:9px;background:#fff0f1;color:#a83c48;border-radius:7px;font-size:13px}.switch-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--border);padding:12px;border-radius:8px}.switch-row small{display:block;color:#898d96;margin-top:3px;font-weight:400}.switch-row input{width:18px;margin:0}.toast{position:fixed;right:24px;bottom:24px;z-index:20;padding:11px 16px;border-radius:8px;background:#34363b;color:#fff;font-size:14px}.mobile-only,.mobile-brand{display:none}@media(max-width:820px){.sidebar{display:none;position:fixed;z-index:20}.sidebar.open{display:flex}.mobile-only{display:block}.mobile-brand{display:flex;align-items:center;gap:7px;font-weight:700}.mobile-brand>span{width:27px;height:27px}.topbar{padding:0 16px}.content{padding:22px 17px}.stats{grid-template-columns:1fr 1fr;gap:14px}.stats div{border:0}.board{grid-template-columns:1fr}.heading h1{font-size:24px}.filters{width:100%;flex-wrap:wrap}.search{flex:1}.board-head{align-items:flex-start;flex-direction:column}.toast{left:18px;right:18px}}@media(max-width:520px){.heading{gap:12px}.heading p{max-width:200px}.stats strong{display:block;margin:4px 0 0}.filters>input{width:100%}.sync{max-width:105px;overflow:hidden;white-space:nowrap}}
