
:root{--bg:#f5f3f8;--paper:#fff;--ink:#252133;--muted:#787285;--accent:#6f4de5;--lavender:#ece7fb;--line:#e8e4ef;--green:#31694e;--peach:#ffd5b8;--radius:26px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.5;cursor:wait}a{color:var(--accent)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bd8c3f;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:36px;line-height:1.14;letter-spacing:-1.3px;font-weight:650}h2{font-size:22px;line-height:1.3;letter-spacing:-.5px;font-weight:650}h3{font-size:17px;font-weight:650}.muted{color:var(--muted)}.small{font-size:14px}.overline{font-size:12px;letter-spacing:1.5px;text-transform:uppercase;font-weight:650}.icon{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{max-width:1540px;margin:auto;display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;background:var(--paper)}.brand{display:flex;gap:12px;align-items:center;font-weight:700;line-height:1.1;letter-spacing:-.4px}.logo-mark{background:var(--accent);color:white;font-size:24px;width:43px;height:43px;border-radius:14px;display:inline-grid;place-items:center;font-weight:700}.brand small{font-size:12px;font-weight:400;letter-spacing:.3px;color:var(--muted);display:block;margin-top:7px}.navigation{display:flex;flex-direction:column;gap:8px;margin-top:50px}.nav-btn{display:flex;gap:13px;align-items:center;padding:14px 15px;background:transparent;border-radius:14px;text-align:left;color:var(--muted)}.nav-btn.active{color:var(--accent);background:var(--lavender);font-weight:650}.side-bottom{margin-top:auto;padding-top:22px}.side-note{border-radius:20px;background:var(--bg);padding:18px;font-size:14px;margin-bottom:16px}.content{padding:28px 42px 46px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:28px}.topbar .brand{display:none}.date{font-size:14px;color:var(--muted)}.top-actions{display:flex;gap:10px;align-items:center}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--peach);color:#774522;font-weight:600}.icon-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--paper)}.tag{display:inline-flex;align-items:center;padding:5px 11px;border-radius:10px;font-size:12px;background:var(--lavender);color:var(--accent);font-weight:600}.tag.green{background:#e9f3ec;color:var(--green)}.page-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:28px}.page-head p{margin-top:10px}.main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.stack{display:flex;flex-direction:column;gap:20px}.hero{background:#302447;color:#fff;border:0;min-height:306px;padding:30px;position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start}.hero .tag{background:#ffffff17;color:#e2d4fc}.hero h2{font-size:42px;line-height:1.06;letter-spacing:-1.3px;margin:22px 0 12px;max-width:85%}.hero p{color:#cdc3db;max-width:75%;font-size:15px}.hero-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;margin-top:27px}.hero .primary{background:var(--peach);color:#39252e}.hero-number{font-size:100px;font-weight:650;line-height:1;position:absolute;right:16px;bottom:73px;color:#ffffff08;pointer-events:none}.primary,.secondary,.text-btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;border-radius:14px;padding:13px 19px;font-weight:600;text-decoration:none}.primary{background:var(--accent);color:#fff}.secondary{background:var(--lavender);color:var(--accent)}.text-btn{background:transparent;color:var(--accent);padding:4px;font-size:14px}.full{width:100%}.row{display:flex;gap:12px;align-items:center;justify-content:space-between}.grow{flex:1;min-width:0}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;margin-top:20px}.day{display:flex;flex-direction:column;gap:10px;align-items:center;padding:13px 0;border-radius:16px;background:var(--bg);font-size:12px;color:var(--muted)}.day b{font-size:17px;color:var(--ink);font-weight:650}.day.today{background:var(--accent);color:#ffffffba}.day.today b{color:#fff}.day.done{background:#edf4ef}.day.done b{color:var(--green)}.ring-wrap{display:flex;justify-content:center;padding:14px 0;position:relative}.ring{width:154px;height:154px;transform:rotate(-90deg)}.ring circle{fill:none;stroke-width:9}.ring-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-text strong{font-size:34px;letter-spacing:-1px}.ring-text small{color:var(--muted)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:var(--bg);border-radius:18px;padding:17px}.stat strong{font-size:26px;display:block;font-weight:650;letter-spacing:-.7px}.section-head{margin:28px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.material{background:var(--paper);border:1px solid var(--line);border-radius:21px;text-align:left;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;transition:transform .15s}.material:hover{transform:translateY(-3px)}.material.locked{background:#f0edf4;color:#817b8b}.material-icon{width:46px;height:46px;border-radius:15px;background:var(--lavender);color:var(--accent);display:grid;place-items:center}.material:nth-child(3n+2) .material-icon{background:#fff0e6;color:#a45d31}.material:nth-child(3n+3) .material-icon{background:#eaf2ed;color:#44745b}.material p{font-size:13px;color:var(--muted)}.material strong{font-size:17px;line-height:1.3}.material .row{width:100%;margin-top:auto}.chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.chip{padding:9px 16px;border-radius:12px;background:var(--paper);border:1px solid var(--line);font-size:14px}.chip.selected{background:var(--ink);border-color:var(--ink);color:white}.empty{padding:26px 10px;color:var(--muted);text-align:center}.empty h3{color:var(--ink);margin:10px 0}.list-item{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px}.list-item:last-child{border-bottom:0}.list-item button{background:var(--lavender);border-radius:12px;padding:9px;color:var(--accent)}.subscription{background:#f3eee8;border:1px solid #e7ddd1;color:#6e553c;border-radius:20px;padding:19px}.subscription p{font-size:14px;margin-top:6px}.chart{width:100%;display:block}.chart text{fill:var(--muted);font:13px 'Segoe UI',sans-serif}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;color:var(--muted);font-weight:500}td,th{padding:14px 8px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted)}.forms{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:block;font-size:14px;margin:15px 0 6px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d8d1e3;border-radius:12px;background:var(--paper);color:var(--ink);min-width:0}textarea{min-height:100px;resize:vertical}.check{display:flex;gap:12px;align-items:flex-start}.check input{width:19px;height:19px;flex-shrink:0;accent-color:var(--accent)}form>.primary{margin-top:22px}.form-error{color:#b23939;margin-top:12px;white-space:pre-line}.search{max-width:320px}.admin-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}.admin-toolbar select{width:auto}.staff-profile{padding:18px;background:var(--bg);border-radius:16px;margin-top:14px}.staff-profile p{margin:8px 0}.mobile-nav{display:none}dialog{border:0;border-radius:28px;padding:27px;width:calc(100% - 30px);max-width:580px;max-height:88vh;overflow:auto;background:var(--paper);color:var(--ink);box-shadow:0 30px 100px #1b153d33}dialog::backdrop{background:#1c162a85;backdrop-filter:blur(4px)}dialog h2{margin:18px 0 10px;font-size:29px}dialog p{margin:12px 0}.dialog-body{white-space:pre-wrap;line-height:1.7}.close{width:36px;height:36px;border-radius:50%;background:var(--bg);font-size:24px}.material-preview{background:var(--lavender);border-radius:18px;min-height:120px;display:grid;place-items:center;margin:20px 0;color:var(--accent)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);max-width:90%;background:#302447;color:white;padding:13px 22px;border-radius:14px;z-index:100;text-align:center}.boot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;min-height:80vh}.login{max-width:460px;margin:10vh auto;padding:30px}.login h1{margin:28px 0 12px}.login p{margin:12px 0}.demo-switch{font-size:12px;max-width:155px;padding:7px 10px;border-radius:10px}.notice{font-size:13px;background:#fff2df;color:#6f4f26;padding:10px 16px;border-radius:12px;margin-bottom:18px}.subtle-footer{font-size:12px;color:var(--muted);text-align:center;margin:30px 0 0}.chart-value{font-size:38px;letter-spacing:-1px;font-weight:650}.health-icon{background:var(--lavender);border-radius:16px;padding:14px;display:inline-flex}.profile-head{display:flex;align-items:center;gap:18px}.profile-head .avatar{width:66px;height:66px;font-size:26px}.profile-head h1{font-size:29px}.muted-block{background:var(--bg);padding:16px;border-radius:15px}.badge-dot:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:6px}progress{width:100%;accent-color:var(--accent)}@media(max-width:1100px){.content{padding:26px}.shell{grid-template-columns:210px 1fr}.main-grid{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.hero{padding:24px}.hero h2{font-size:35px}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:850px){.shell{display:block}.sidebar{display:none}.content{padding:22px 20px 110px;max-width:720px;margin:auto}.topbar .brand{display:flex}.date{display:none}.topbar{padding-bottom:27px}.mobile-nav{display:flex;justify-content:space-around;gap:4px;position:fixed;bottom:0;left:0;right:0;background:#fffffff5;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:10px 9px max(12px,env(safe-area-inset-bottom));z-index:5}.mobile-nav .nav-btn{display:flex;flex-direction:column;gap:4px;padding:6px 10px;font-size:11px;border-radius:14px}.mobile-nav .nav-btn.active{background:transparent}.mobile-nav .add{background:var(--accent);color:white;border-radius:18px;margin-top:-22px;width:52px;height:52px;display:grid;place-items:center;box-shadow:0 7px 20px #6f4de533}.mobile-nav .add .icon{width:26px;height:26px}#toast{bottom:95px}.hero h2{font-size:36px}.page-head h1{font-size:30px}.main-grid{grid-template-columns:1fr}.main-grid>.stack{display:grid;grid-template-columns:1fr 1fr;align-items:start}.main-grid>.stack>.card:first-child{grid-row:span 2}.hero{min-height:290px}.content>.notice{margin-top:-8px}.page-head .secondary{font-size:14px;padding:10px 13px}}@media(max-width:460px){.content{padding:20px 17px 105px}.topbar .brand{font-size:15px}.logo-mark{width:37px;height:37px;font-size:22px}.brand small{font-size:10px}.topbar{gap:8px}.top-actions{gap:6px}.top-actions>.avatar{display:none}.demo-switch{max-width:114px;font-size:11px}.page-head{align-items:flex-start;margin-bottom:22px}.page-head h1{font-size:29px}.page-head .secondary{padding:10px}.page-head .secondary .btn-label{display:none}.card{padding:20px;border-radius:23px}.hero{padding:25px}.hero h2{font-size:38px}.main-grid>.stack{display:flex}.ring-wrap{padding:2px}.stats{gap:10px}.material-grid{gap:11px}.material{padding:16px;border-radius:19px}.material strong{font-size:15px}.material p{font-size:12px}.week{gap:5px}.day{padding:10px 0}.forms{gap:10px}.mobile-nav .nav-btn{padding:6px 7px}.profile-head h1{font-size:24px}.admin-toolbar{gap:7px}.admin-toolbar .secondary{font-size:13px;padding:10px}.hero p{max-width:100%}.hero-number{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
