:root{--ink:#1d2940;--muted:#768094;--line:#e6eaf0;--blue:#4e61d9;--bg:#f6f7fb}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}h1{font-size:34px;letter-spacing:-1.1px;margin:8px 0 10px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px;margin:0}h3{font-size:16px;margin:0 0 10px}p{line-height:1.65}.hidden{display:none!important}#shell{display:flex;min-height:100vh}aside{width:252px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:18px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2px;margin-top:6px}.brand-mark{background:var(--ink);color:#fff;width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-size:24px;font-weight:600}.nav-label{font-size:10px;font-weight:700;color:#939cad;letter-spacing:1.5px;margin:44px 12px 12px}nav{display:grid;gap:6px}nav a{display:flex;align-items:center;gap:14px;border-radius:8px;padding:13px 12px;font-size:17px;color:#7c8596}nav a span{font-size:13px}nav a.active{background:#eef0ff;color:var(--blue);font-weight:600}nav a:hover{background:#f6f7fb}.sidebar-bottom{margin-top:auto;padding-top:35px}.private{font-size:11px;color:#6e788a;display:flex;align-items:center;gap:8px}.dot{width:6px;height:6px;border-radius:50%;background:#27aa8c}.text-button{background:none;border:0;color:var(--muted);padding:20px 0 0;font-size:12px}main{margin-left:252px;width:calc(100% - 252px)}header{height:80px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 14px;color:#c7cdd7}.breadcrumb b{font-weight:500;color:#414d63}.header-right{display:flex;gap:24px;align-items:center;font-size:12px;color:#7d8696}.avatar{border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#edf0f7;color:#4d5b75;font-size:11px;font-weight:700}.page{padding:36px 42px 25px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#8791a3;margin:0}.page-heading p:not(.eyebrow){color:var(--muted);margin:0;font-size:13px}.primary{background:var(--blue);border:1px solid var(--blue);color:#fff;border-radius:7px;padding:12px 17px;font-size:12px;font-weight:550}.secondary{background:white;border:1px solid var(--line);color:#526078;border-radius:7px;padding:10px 14px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);padding:21px 23px;border-radius:11px}.stat-label{color:var(--muted);font-size:12px;display:flex;justify-content:space-between}.stat-number{font-size:30px;letter-spacing:-1px;font-weight:650;margin:13px 0 6px}.stat small{font-size:10px;color:#939bad}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 16px}.section-head a{font-size:12px;color:var(--blue)}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.project{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px;transition:box-shadow .15s}.project:hover{box-shadow:0 6px 20px #2231530b}.project-head{display:flex;gap:13px;align-items:center}.project-icon{width:40px;height:40px;background:var(--accent);color:white;border-radius:11px;display:grid;place-items:center;font-size:13px;font-weight:700}.project h3{margin:0;font-size:15px}.project-head .badge{margin-left:auto}.project p{font-size:12px;color:#6c7689;min-height:57px;margin:19px 0}.project-foot{border-top:1px solid #f0f2f6;padding-top:15px;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.project-foot a{color:var(--blue)}.badge{display:inline-block;white-space:nowrap;font-size:10px;border-radius:5px;padding:5px 8px;background:#f0f2f7;color:#6d778b}.badge.stage,.badge.done{background:#e6f5f0;color:#148467}.badge.local{background:#fff3dd;color:#aa7936}.badge.working{background:#edf0ff;color:#596cce}.badge.blocked{background:#fdeeee;color:#b65f61}.badge.production{background:#e2f4e9;color:#278b53}.badge.approved{background:#e6f5f0;color:#148467}.two-columns{display:grid;grid-template-columns:1.12fr 1fr;gap:22px;margin-top:25px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.panel-head a{font-size:11px;color:var(--blue)}.task{display:flex;gap:12px;padding:16px 0;border-top:1px solid #f0f2f6}.task:first-of-type{border-top:0}.task-check{border:1px solid #dce1eb;width:19px;height:19px;border-radius:5px;background:white;color:#5d6fce;flex-shrink:0}.task.done .task-check{background:#edf0ff}.task.done .task-title{text-decoration:line-through;color:#8791a3}.task-title{font-size:12px;line-height:1.55;font-weight:500}.task-meta{font-size:10px;color:#939bad;display:flex;gap:9px;margin-top:8px}.task .badge{align-self:flex-start;margin-left:auto}.timeline{padding:14px 0 14px 17px;border-left:2px solid #eef0f6;margin-left:3px;position:relative}.timeline:before{content:'';background:#aab4df;width:7px;height:7px;border-radius:50%;position:absolute;left:-4px;top:21px}.timeline h3{font-size:12px;margin-bottom:6px;line-height:1.5}.timeline p{font-size:12px;color:#7a8495;margin:9px 0}.timeline small{font-size:10px;color:#919bae}.notice{display:flex;align-items:flex-start;gap:12px;background:#edf0fb;color:#667594;padding:16px 18px;border-radius:8px;font-size:12px;line-height:1.65;margin:24px 0}.notice strong{color:#3c4b67}.filters{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 22px}input,select,textarea{border:1px solid #dce1eb;border-radius:7px;background:white;padding:11px 12px;color:#33405a;max-width:100%}select{min-width:180px}textarea{min-height:120px;resize:vertical}label{display:block;font-size:12px;font-weight:550;margin:17px 0 8px}.empty{text-align:center;padding:48px 24px}.empty .empty-icon{font-size:32px;color:#7c88b7}.empty p{font-size:13px;color:var(--muted);max-width:530px;margin:14px auto 25px}.connections{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.connections .panel p{font-size:12px;color:var(--muted);min-height:70px}.connection-icon{font-size:25px;margin-bottom:20px}.post-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.post-body{white-space:pre-wrap;font-size:13px;color:#647086;line-height:1.8}.post-foot{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.post-foot button:disabled{cursor:not-allowed;opacity:.5}.calendar-list{display:grid;gap:15px}.calendar-item{display:flex;align-items:center;gap:20px}.calendar-date{background:#eef0fb;border-radius:8px;width:65px;padding:10px;text-align:center;font-size:12px;color:#596ba0}.calendar-item p{font-size:12px;color:var(--muted);margin:6px 0}footer{padding:22px 42px;color:#9aa2b1;font-size:10px}dialog{border:0;border-radius:14px;padding:26px;width:min(560px,95vw);box-shadow:0 22px 90px #17233c3b}dialog::backdrop{background:#202c486b}.dialog-head{display:flex;justify-content:space-between;align-items:center}.icon-button{background:transparent;border:0;font-size:25px;color:#8290a8}#form-fields input,#form-fields select,#form-fields textarea{width:100%}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#form-error,#login-error{color:#b85157;font-size:12px}.login{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 70% 20%,#e7eaff,transparent 60%),#f6f7fb}.login-card{background:white;padding:42px;border:1px solid var(--line);border-radius:18px;width:min(450px,100%)}.login-card .brand-mark{margin-bottom:30px}.login-card h1{font-size:28px}.login-card p{font-size:13px;color:var(--muted)}.login-card input,.login-card button{width:100%}.login-card button{margin-top:18px}.login-card small{color:#9aa2b1;font-size:10px}#toast{position:fixed;bottom:25px;right:25px;max-width:420px;background:#24324c;color:white;border-radius:8px;padding:16px 20px;box-shadow:0 8px 30px #17233c30;z-index:10}.check-label{display:flex;align-items:center;gap:10px}.check-label input{width:auto!important}
@media(min-width:1400px){.project-grid{grid-template-columns:repeat(4,1fr)}.project-head{flex-wrap:wrap}.project-head .badge{margin-left:0}.project p{min-height:115px}}
@media(max-width:1100px){aside{width:205px;padding:25px 15px}main{margin-left:205px;width:calc(100% - 205px)}.page{padding:28px 25px}header{padding:0 25px}.connections{grid-template-columns:1fr 1fr}.stats{gap:10px}.stat{padding:17px}.two-columns{grid-template-columns:1fr}}
@media(max-width:760px){#shell{display:block}aside{position:static;width:100%;padding:18px}.brand{font-size:16px}.brand small,.nav-label,.sidebar-bottom{display:none}nav{display:flex;flex-wrap:wrap;gap:4px;margin-top:12px}nav a{padding:8px;font-size:13px}nav a span{font-size:11px}aside>nav{margin-top:0}main{margin:0;width:100%}header{height:58px;padding:0 20px}.header-right>span:first-child{display:none}.page{padding:25px 18px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.page-heading .primary{padding:10px;white-space:nowrap}.stats{grid-template-columns:1fr 1fr}.project-grid,.post-grid,.connections{grid-template-columns:1fr}.project p{min-height:0}.project-head .badge{margin-left:auto}footer{padding:20px}.two-columns{gap:16px}.panel{padding:19px}.login-card{padding:30px}.filters select{width:100%}}

.mail-row{padding:22px 0;border-bottom:1px solid var(--line)}.mail-row:last-child{border-bottom:0}.mail-row p{white-space:pre-wrap;font-size:12px;color:var(--muted)}.mail-row small{font-size:11px;color:var(--muted)}.mail-row .panel-head{gap:15px;align-items:flex-start}.mail-row h3{overflow-wrap:anywhere}
