:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e293b;background:#f6f7fb;font-size:15px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}
.shell{max-width:920px;margin:auto;min-height:100dvh;padding-bottom:92px}.top{display:flex;align-items:center;gap:12px;padding:23px 22px 17px;background:#fff;border-bottom:1px solid #eef0f5}.brand-symbol{display:flex;width:44px;height:44px;align-items:center;justify-content:center;background:#e8e8ff;border-radius:15px;font-size:27px;color:#635bce}.brand-title{font-size:21px;font-weight:780;letter-spacing:-.8px}.brand-sub{font-size:12px;color:#8490a4;margin-top:3px}.live-dot{margin-left:auto;color:#18a676;font-size:12px}
main{padding:22px 18px 32px}.loading,.empty{color:#93a0b0;text-align:center;padding:35px 15px}.page-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px}.page-head h1{margin:0;font-size:24px;letter-spacing:-.8px;line-height:1.2}.page-head p{margin:5px 0 0;color:#8490a4;font-size:13px}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.stat,.panel,.list-row,.item-box{border:1px solid #ecedf3;background:#fff;border-radius:18px;box-shadow:0 3px 15px #17254305}.stat{padding:17px 15px;min-height:110px}.stat .number{font-size:25px;letter-spacing:-1px;font-weight:800;margin:12px 0 4px;white-space:nowrap}.stat .hint{font-size:12px;color:#8d98a8}.stat .ico{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:11px;background:#f0edff;color:#7265c8}.stat.green .ico{background:#eaf8f2;color:#09956d}.stat.orange .ico{background:#fff3e6;color:#d48924}.panel{padding:17px;margin-bottom:14px}.section-title{display:flex;align-items:center;justify-content:space-between;font-weight:780;margin-bottom:12px;font-size:16px}.section-title small{font-size:12px;color:#8b97a8;font-weight:400}
.primary,.secondary,.ghost,.danger{border:0;border-radius:11px;padding:11px 14px;font-weight:700}.primary{color:white;background:#695dc9}.secondary{background:#eeeaff;color:#6356b9}.ghost{background:#f4f6f9;color:#566276}.danger{background:#fff0f0;color:#b14e57}.compact{font-size:12px;padding:8px 10px}.full{width:100%}
.list-row{width:100%;text-align:left;display:flex;gap:10px;align-items:center;padding:14px;margin-bottom:9px;color:inherit}.avatar{flex:none;width:40px;height:40px;background:#f1eefc;color:#6957be;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:800}.row-body{flex:1;min-width:0}.row-title{font-weight:730;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-sub{font-size:12px;color:#8b97a9;margin-top:4px}.chevron{font-size:18px;color:#aab1bf}.pill{font-size:11px;border-radius:12px;padding:5px 9px;background:#eef1f6;color:#667388;font-weight:650;white-space:nowrap}.pill.done{background:#e6f7ec;color:#20845b}.pill.due{background:#fff0eb;color:#bf6740}.pill.planned{background:#efebff;color:#6554b3}
.search{width:100%;padding:12px 14px;border:1px solid #e5e8f0;border-radius:12px;background:white;margin-bottom:12px;outline:none}.filters{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.filters button{border:1px solid #eceef3;background:#fff;border-radius:12px;padding:8px 11px;color:#667388}.filters button.active{color:#665aca;background:#f1eefe;border-color:#e0dcfc}.text-muted{color:#8290a3}.small{font-size:12px}.detail-hero{background:linear-gradient(130deg,#6861c8,#9789d9);padding:20px;border-radius:20px;color:#fff;margin-bottom:18px}.detail-hero h1{font-size:23px;margin:4px 0 10px}.detail-hero .meta{opacity:.85;font-size:13px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.three .stat{min-height:auto;text-align:center;padding:12px 6px}.three .stat .number{font-size:24px}.p-inline{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #f1f2f5}.p-inline:last-child{border:0}.tagline{font-size:12px;color:#95a1b1;margin:10px 0}.action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}.progress{height:8px;border-radius:15px;background:#f0eff7;overflow:hidden}.progress>div{height:100%;background:#7064c8;border-radius:15px}.line{border:0;border-top:1px solid #f0f1f4;margin:15px 0}.overline{font-size:11px;font-weight:800;letter-spacing:1px;color:#9ba5b5;text-transform:uppercase;margin-bottom:8px}.notice{padding:12px;border-radius:12px;background:#fff6e8;color:#9f6b20;font-size:13px;margin-bottom:14px}
.bottom{position:fixed;z-index:20;bottom:0;left:0;right:0;display:flex;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #eaedf4;padding:10px max(6px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom));justify-content:space-evenly}.bottom button{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;border:0;color:#929aab;font-size:10px;font-weight:650;min-width:57px}.bottom button span{font-size:22px;line-height:23px}.bottom button.selected{color:#6655ba}.mini-date{display:flex;align-items:center;gap:8px}.mini-date input{min-width:0;border:1px solid #e5e8f0;border-radius:10px;padding:9px 7px;background:white;font-size:13px;width:135px}
.modal-overlay{position:fixed;z-index:50;inset:0;background:#17214299;display:flex;align-items:flex-end;justify-content:center}.modal{background:#fff;border-radius:22px 22px 0 0;max-height:92dvh;overflow:auto;width:100%;max-width:580px;padding:22px 20px max(25px,env(safe-area-inset-bottom))}.modal h2{margin:0 0 19px;font-size:21px}.form-grid{display:grid;gap:13px}label.field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:650;color:#566476}.field input,.field select,.field textarea{background:#fafbfe;border:1px solid #e6e8ef;border-radius:11px;padding:11px 12px;width:100%;outline:none;color:#203047}.field textarea{min-height:62px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7467db}.modal-actions{display:flex;gap:10px;margin-top:19px}.modal-actions button{flex:1}.close-x{float:right;background:#f4f5fa;border:0;border-radius:50%;width:30px;height:30px;font-size:19px}#toast{position:fixed;z-index:99;bottom:90px;left:50%;transform:translateX(-50%);background:#26304a;color:white;border-radius:13px;padding:11px 18px;display:none;max-width:92vw;box-shadow:0 8px 22px #13182f33}
@media(min-width:680px){.shell{padding-bottom:100px}main{padding:30px 28px}.grid{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{min-height:122px}.modal-overlay{align-items:center}.modal{border-radius:22px}.bottom{max-width:920px;margin:auto;border-left:1px solid #edf0f5;border-right:1px solid #edf0f5}}
