*{box-sizing:border-box} :root{--side:clamp(190px,18vw,254px);--rose:#a5576c;--rose-soft:#f8edf0;--ink:#303035;--muted:#77747b;--line:#ebe7e8;--green:#43715c}body{margin:0;font:16px/1.45 'Segoe UI',sans-serif;color:var(--ink);background:#f8f7f8}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid #dfdadd;background:white;border-radius:8px;padding:10px 15px;color:inherit;transition:background .15s}button:hover{background:#f4eef0}button:focus-visible,a:focus-visible{outline:3px solid #ac6c85;outline-offset:3px}button.primary{background:var(--rose);color:white;border-color:var(--rose);box-shadow:0 4px 10px #a5576c20}button.primary:hover{background:#91485c}aside{width:var(--side);position:fixed;inset:0 auto 0 0;background:#262627;color:#e8e4e5;display:flex;flex-direction:column;z-index:3;border-right:1px solid #383538}.brand-art{height:174px;flex-shrink:0;display:flex;justify-content:center;padding:12px}.brand-art svg{width:135px;height:150px;background:white;border-radius:4px}nav{padding:12px;overflow-y:auto}nav a{display:flex;align-items:center;gap:12px;text-decoration:none;color:#d9d5d7;font-size:14px;padding:11px 13px;border-radius:7px;margin:3px 0}nav a:hover{background:#363234}nav a.active{background:#a5576c;color:white}nav .nav-group{color:#9c9599;font-size:12px;letter-spacing:1.4px;padding:16px 13px 6px}svg.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.aside-foot{margin-top:auto;display:flex;gap:11px;align-items:center;padding:19px;border-top:1px solid #444044;font-size:14px}.avatar{background:#ead2d9;color:#714153;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font-size:13px;font-weight:600}small{display:block;font-size:13px}.aside-foot small{color:#aba2a7}header{height:174px;background:white;margin-left:var(--side);display:flex;align-items:center;justify-content:space-between;padding:20px clamp(24px,3vw,48px);gap:20px;border-bottom:1px solid var(--line)}.wordmark{width:clamp(270px,31vw,430px)}.wordmark svg{width:100%;display:block}.hello{text-align:right;font-size:16px;white-space:nowrap}.hello small{color:var(--muted);margin-top:5px}main{margin-left:var(--side);padding:26px clamp(22px,2.8vw,46px) 42px;max-width:2000px}.page-heading,.section-head{display:flex;align-items:center;justify-content:space-between;gap:18px}.page-heading{margin-bottom:24px}h1{font-family:Georgia,serif;font-size:32px;font-weight:500;margin:0 0 3px}h2{font-size:19px;font-weight:600;margin:0}h3{font-size:16px;margin:0}p{margin:7px 0}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1.5px;color:var(--rose)}.demo{font-size:12px;border:1px solid #e4d7dd;background:#f3e9ed;color:#8a5065;border-radius:20px;padding:4px 10px;display:inline-block;margin-left:10px;vertical-align:middle}.actions{display:flex;gap:10px;flex-wrap:wrap}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:0 4px 14px #35232a03}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:20px}.today{grid-column:1/-1}.tabs{display:flex;gap:6px;flex-wrap:wrap}.tabs button{border:0;background:transparent;color:#79717a;font-size:14px;padding:8px 13px}.tabs button.selected{background:var(--rose-soft);color:#994e65;font-weight:600}.today .tabs{margin:17px 0}.tasks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.task{background:#fbf8f9;border:1px solid #eee5e8;border-radius:9px;padding:16px;min-height:150px;display:flex;flex-direction:column;align-items:flex-start}.task.green{background:#f3f7f4;border-color:#e1ebe3}.task.amber{background:#fffbf3;border-color:#f0e6d1}.task-head{display:flex;justify-content:space-between;width:100%;gap:6px;font-size:13px;color:var(--rose);margin-bottom:10px}.task h3{margin-bottom:3px}.task p{font-size:14px;color:#777078;margin:2px 0 10px}.task button{margin-top:auto;border:0;background:transparent;color:var(--rose);padding:3px 0;font-size:14px}.text-link{border:0;background:transparent;color:var(--rose);padding:0;font-size:14px}.stock-list{margin-top:17px}.stock-row{padding:16px 0;border-bottom:1px solid var(--line)}.stock-row:last-child{border:0;padding-bottom:0}.stock-top{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:10px}.stock-top strong{font-size:22px;font-weight:600}.stock-top small{display:inline;color:var(--muted)}.track{height:7px;border-radius:10px;background:#f1ecee;overflow:hidden}.track i{display:block;background:#bf8b9b;height:100%;border-radius:10px}.stock-row:nth-child(2) .track i{background:#b6a39d}.stock-row:nth-child(3) .track i{background:#94ac9a}.stock-caption{font-size:13px;color:var(--muted);margin-top:7px}.kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:17px;margin-top:22px}.kpi{padding-bottom:12px;border-bottom:1px solid var(--line)}.kpi span{font-size:14px;color:var(--muted)}.kpi strong{font-family:Georgia,serif;font-size:29px;font-weight:500;display:block;margin:4px 0}.kpi small{color:var(--green)}.chart{display:flex;height:110px;align-items:end;gap:12px;padding:15px 3px 0}.bar-group{flex:1;height:100%;display:flex;align-items:end;justify-content:center;position:relative;gap:3px;padding-bottom:20px}.bar-group i{width:18px;background:#b5768a;border-radius:3px 3px 0 0}.bar-group i+ i{background:#a0b3a3}.bar-group span{position:absolute;bottom:0;font-size:12px;color:var(--muted)}.legend{display:flex;gap:16px;font-size:12px;margin-top:12px;color:var(--muted)}.legend b{width:8px;height:8px;background:#b5768a;display:inline-block;margin-right:5px;border-radius:2px}.legend span+span b{background:#a0b3a3}.wide{grid-column:1/-1}.table-wrap{overflow:auto;margin-top:17px}table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;white-space:nowrap}th{font-weight:500;color:#8a8087;background:#faf8f9}th,td{padding:14px 13px;border-bottom:1px solid var(--line)}tbody tr:last-child td{border:0}.badge{font-size:12px;padding:4px 9px;border-radius:5px;background:#f7eddc;color:#96723b}.badge.good{background:#eaf3ed;color:#4d775d}.badge.rose{background:#f7e8ed;color:#a35770}.filterbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}.filterbar input{width:min(100%,320px)}input,select{border:1px solid #dfd9dd;border-radius:7px;background:white;padding:10px 12px;min-width:0;width:100%;color:var(--ink)}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.metrics-row .kpi{border:0}.catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.swatch{height:95px;background:var(--swatch);border-radius:7px;margin-bottom:15px;display:grid;place-items:center;color:white;font-family:Georgia,serif;font-size:30px}.catalog h3{margin:10px 0 3px}.catalog p{font-size:14px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin-top:20px}.day{min-height:96px;background:white;padding:10px;font-size:14px}.day.week{min-height:auto;color:var(--muted);background:#faf8f9}.day.current{background:#fbf0f3}.day small{background:#f3e1e7;color:#925367;border-radius:4px;margin-top:8px;padding:4px;font-size:12px}.settings{max-width:780px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}label{display:flex;flex-direction:column;gap:7px;font-size:14px}.full{grid-column:1/-1}dialog{width:min(650px,90vw);border:0;border-radius:16px;padding:28px;box-shadow:0 30px 100px #0003;color:var(--ink)}dialog::backdrop{background:#211b225c;backdrop-filter:blur(3px)}.icon-btn{border:0;font-size:28px;padding:0 7px;background:transparent}.summary{display:flex;justify-content:space-between;background:#f9f1f4;border-radius:8px;padding:16px;font-size:14px}.summary strong{display:block;font-size:21px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin:20px 0}#form-error{color:#b33251;font-size:14px}#toast{position:fixed;bottom:28px;right:28px;background:#344a3d;color:white;padding:16px 22px;border-radius:9px;box-shadow:0 8px 35px #0002;z-index:9;display:none}.empty{padding:30px;color:var(--muted);text-align:center}.note{margin-top:18px;font-size:13px;color:var(--muted)}@media(min-width:1700px){.tasks{gap:20px}.task{padding:22px}main{padding-top:32px}.card{padding:27px}}@media(max-width:1150px){header{height:155px}.brand-art{height:155px}.brand-art svg{height:133px}.wordmark{width:290px}.hello small{white-space:normal;max-width:190px}.dashboard-grid{grid-template-columns:1fr}.tasks{grid-template-columns:1fr 1fr}.catalog{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.page-heading .actions{max-width:260px;justify-content:flex-end}}@media(max-width:850px){:root{--side:182px}header{padding:16px 20px;align-items:flex-start;flex-direction:column;justify-content:center;gap:4px}.wordmark{width:270px}.hello{text-align:left;font-size:14px}.hello small{display:none}main{padding:22px 18px}.page-heading{flex-direction:column}.page-heading .actions{max-width:none;justify-content:flex-start}.card{padding:17px}.section-head{flex-wrap:wrap}.metrics-row{grid-template-columns:1fr}.catalog{grid-template-columns:1fr}.day{padding:5px;min-height:80px}nav a{padding:10px 8px;gap:8px;font-size:14px}}@media(max-width:620px){body{min-width:620px}}
/* Keep intrinsic table widths inside their own scrolling panels. */
.dashboard-grid>*{min-width:0}.table-wrap{max-width:100%}.task{min-width:0}.task p{overflow-wrap:anywhere}@media(max-width:1150px){.dashboard-grid{grid-template-columns:minmax(0,1fr)}.tasks{grid-template-columns:repeat(2,minmax(0,1fr))}}
