:root{color-scheme:light;--bg:#f8f6f2;--paper:#fffefa;--ink:#302922;--muted:#756b63;--line:#e9e1d9;--accent:#9e4d43;--accent-dark:#843b32;--soft:#f4e6df;--sage:#e8eee1;--radius:18px;--shadow:0 6px 22px #4c372207;font:15px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}svg{width:20px;height:20px;display:block;flex:none}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex:none}
.shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{height:100dvh;position:sticky;top:0;display:flex;flex-direction:column;background:#fffdf8;border-right:1px solid var(--line);padding:29px 17px 15px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;margin:0 6px 47px}.brand-mark{width:43px;height:43px;border-radius:14px;background:var(--accent);color:#fff8ed;box-shadow:0 5px 12px #a6504330}.brand-mark svg{width:24px;height:24px}.brand strong{font:600 24px/1.1 Georgia,serif;display:block;letter-spacing:-.7px}.brand small,.nav-caption,.eyebrow,.day-label,.mini-heading{font-size:10px;letter-spacing:1.45px;font-weight:750}.brand small{display:block;color:var(--muted);margin-top:5px}.nav-caption{color:#81746a;margin:0 10px 11px}.sidebar nav button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;margin-bottom:5px;padding:11px 10px;background:none;border:0;border-radius:10px;color:#62564d;font-weight:560}.sidebar nav button:hover,.sidebar nav button.selected{background:var(--soft);color:#843e35}.sidebar-bottom{margin-top:auto}.internal{color:var(--muted);font-size:12px;padding:0 9px 13px;margin:0;display:flex;align-items:center;gap:8px}.live-dot{width:7px;height:7px;border-radius:50%;background:#7c9569}.account{display:flex;align-items:center;gap:9px;text-align:left;background:none;border:0;border-top:1px solid var(--line);width:100%;padding:13px 3px 0}.account>span:nth-child(2){min-width:0}.account strong,.account small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account strong{font-size:13px}.account small{font-size:11px;color:var(--muted)}.account-arrow{margin-left:auto;color:var(--muted)}.account-arrow svg{width:15px;height:15px}
.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:12px;font-weight:750;flex:none}.rose{background:#f3dfda;color:#873f35}.sage{background:#e7eddf;color:#466040}.plum{background:#eee4ef;color:#754d7d}.sand{background:#f3e7d2;color:#74522c}.blue{background:#e1e9f2;color:#45617e}
.topbar{height:66px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 34px;border-bottom:1px solid var(--line);background:#fffdf9;color:var(--muted);font-size:13px}.topbar div{display:flex;align-items:center;gap:8px}.topbar strong{color:var(--ink);font-weight:650}.topbar svg{width:14px;height:14px}.workspace{max-width:1600px;margin:auto;padding:31px 34px 38px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:23px}.eyebrow{color:var(--accent);margin:0 0 8px}.page-head h1{font:500 clamp(35px,4.2vw,54px)/1.03 Georgia,serif;letter-spacing:-1.9px;margin:0 0 7px}.page-head p:last-child{color:var(--muted);margin:0}.btn,.icon-btn{border:1px solid var(--line);background:#fffefa;border-radius:10px;display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:9px 12px;text-decoration:none;white-space:nowrap;font-size:13px;font-weight:650;min-height:39px}.btn:hover,.icon-btn:hover{background:#f5ede7}.btn svg{width:17px;height:17px}.btn.primary{background:var(--accent);color:white;border-color:var(--accent);box-shadow:0 3px 8px #9e4d4324;padding-inline:14px}.btn.primary:hover{background:var(--accent-dark)}.icon-btn{width:36px;min-height:36px;padding:0}.icon-btn svg{width:17px;height:17px}
.summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:20px}.stat,.panel,.directory-card,.notice{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat{padding:15px 16px;display:flex;align-items:center;gap:12px}.stat-icon{width:39px;height:39px;border-radius:12px}.stat small{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font:500 27px/1.1 Georgia,serif;margin-top:3px}.agenda-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:15px;align-items:start}.calendar-panel{overflow:hidden}.cal-top{padding:16px;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}.cal-tools,.segmented,.filter-row{display:flex;align-items:center;gap:5px}.cal-tools h2{font:500 22px/1.1 Georgia,serif;margin:0 6px;white-space:nowrap}.cal-tools .btn{min-height:36px}.segmented{border:1px solid var(--line);border-radius:10px;background:#f8f4ed;padding:3px;gap:2px}.segmented button{padding:5px 9px;border:1px solid transparent;border-radius:7px;font-size:12px;background:none;color:var(--muted)}.segmented .selected{background:#fffefa;border-color:var(--line);color:var(--ink);font-weight:650}.filter-row{padding:0 16px 13px;justify-content:space-between;color:var(--muted);font-size:12px}.filter-row select{max-width:60%;border:1px solid var(--line);background:#fffefa;border-radius:8px;padding:5px 8px;color:var(--ink)}.calendar{border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar.day-view{grid-template-columns:1fr}.day-label{text-align:center;color:var(--muted);padding:9px 0;background:#fbf8f3;border-bottom:1px solid var(--line);letter-spacing:1px}.date-cell{position:relative;min-width:0;min-height:86px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px;cursor:pointer}.date-cell:nth-child(7n){border-right:0}.date-cell:hover,.date-cell.selected-day{background:#faf0ea}.date-cell.outside{background:#fdfaf5;color:#84766d}.date-cell.week{min-height:235px}.date-cell.full-day{min-height:250px;border-right:0}.date-number{display:inline-grid;place-items:center;border:0;background:transparent;border-radius:50%;width:27px;height:27px;font-size:12px;margin-bottom:4px;padding:0}.date-number.today{background:var(--accent);color:white;font-weight:750}.date-number:hover{outline:1px solid var(--accent)}.event-chip{width:100%;border:0;border-radius:6px;text-align:left;padding:4px 5px;margin-bottom:4px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:680}.event-chip.cancelled{text-decoration:line-through;opacity:.6}.more{display:block;font-size:10px;color:var(--muted);padding:2px 3px}.calendar-foot{padding:10px 15px;color:var(--muted);font-size:11px}.day-panel{padding:16px}.day-panel h2{font:500 25px/1.13 Georgia,serif;margin:3px 0 3px}.day-panel>p{font-size:12px;color:var(--muted);margin:0 0 13px}.day-panel .mini-heading{color:var(--accent);margin-bottom:5px}.day-panel .btn{width:100%;margin-top:12px}.empty{text-align:center;color:var(--muted);border:1px dashed #e5d9ce;border-radius:13px;padding:20px 10px;background:#fcfaf6;font-size:13px}.empty .stat-icon{margin:0 auto 7px}.empty strong{display:block;color:var(--ink);margin-bottom:3px}.schedule-item{width:100%;display:flex;align-items:flex-start;gap:9px;text-align:left;border:1px solid var(--line);background:white;border-radius:10px;padding:8px;margin-bottom:6px}.schedule-item:hover{background:#fbf5f1}.schedule-item time{font-size:11px;font-weight:750;color:var(--accent);padding-top:2px}.schedule-item strong,.schedule-item small{display:block;overflow-wrap:anywhere}.schedule-item strong{font-size:13px}.schedule-item small{font-size:11px;color:var(--muted)}.legend{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.legend span{display:inline-flex;gap:5px;align-items:center;color:var(--muted);font-size:11px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor}.legend .dot{margin-right:0}.legend .rose{background:#ad665b}.legend .sage{background:#7b946e}.legend .plum{background:#9b79a0}.legend .sand{background:#a98350}.legend .blue{background:#7192b4}
.notice{padding:13px 15px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:11px;background:#fbf1e9;color:#654a3b;font-size:13px}.notice strong{display:block;color:#60392e}.directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:14px}.directory-card{padding:17px}.directory-card h2{font:500 24px/1.15 Georgia,serif;margin:7px 0}.directory-card p{color:var(--muted);margin:5px 0;overflow-wrap:anywhere}.directory-card footer{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.directory-card .avatar{width:47px;height:47px;font-size:16px}.badge{display:inline-flex;align-items:center;border-radius:20px;padding:3px 8px;background:#f3e8df;color:#6d4b3c;font-size:11px;font-weight:650}.badge.good{background:var(--sage);color:#466040}.directory-empty{padding:33px 17px;text-align:center}.directory-empty h2{font:500 27px Georgia,serif;margin:0 0 6px}.directory-empty p{margin:0 0 13px;color:var(--muted)}
dialog{width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--line);border-radius:20px;background:#fffdf8;color:var(--ink);box-shadow:0 20px 70px #32271f35}dialog::backdrop{background:#30251f69;backdrop-filter:blur(2px)}.modal-head{padding:17px 20px 12px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.modal-head h2{font:500 29px/1.15 Georgia,serif;margin:0}.modal-head p{font-size:12px;color:var(--muted);margin:5px 0 0}.modal-body{padding:15px 20px 18px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:grid;gap:4px;align-content:start;font-size:12px;font-weight:660}.field.wide,.wide{grid-column:1/-1}.field input,.field select,.field textarea{padding:8px;width:100%;border:1px solid #e3d9cf;background:white;border-radius:8px;color:var(--ink);font-size:14px}.field textarea{min-height:68px;resize:vertical}.pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.total{display:flex;justify-content:space-between;gap:10px;background:#f7ebe3;border-radius:9px;padding:8px 10px;font-size:13px;color:#703d33}.modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:15px;flex-wrap:wrap}.form-error{color:#8d2e25;font-size:13px;min-height:0;margin:8px 0 0}.helper{font-size:12px;color:var(--muted);margin:0}.toast{display:none;position:fixed;bottom:17px;right:17px;z-index:5;background:#433229;color:white;padding:11px 15px;border-radius:10px;max-width:calc(100vw - 34px);box-shadow:0 5px 15px #2c221b30}.toast.show{display:block}.loading{color:var(--muted);padding:20px}
@media(max-width:1180px){.agenda-grid{grid-template-columns:minmax(0,1fr) 235px}.workspace{padding-inline:23px}.topbar{padding-inline:23px}.shell{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:960px){.agenda-grid{grid-template-columns:1fr}.day-panel{display:block}.shell{grid-template-columns:172px minmax(0,1fr)}}
@media(max-width:690px){.shell{display:block}.sidebar{height:auto;position:relative;display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0}.brand strong{font-size:22px}.brand small{font-size:9px}.brand-mark{width:36px;height:36px}.sidebar nav{grid-row:2;grid-column:1/-1;display:flex;gap:4px}.sidebar nav button{padding:8px 6px;margin:0;gap:5px;font-size:12px;justify-content:center}.sidebar nav button svg{width:16px;height:16px}.nav-caption,.internal,.account-arrow,.account>span:nth-child(2){display:none}.sidebar-bottom{margin:0}.account{padding:0;border:0}.topbar{height:42px;padding:0 12px;font-size:11px}.workspace{padding:18px 11px}.page-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}.page-head h1{font-size:38px}.page-head p:last-child{font-size:13px}.summary{gap:5px}.stat{display:block;padding:8px}.stat-icon{width:30px;height:30px;margin-bottom:5px}.stat-icon svg{width:16px;height:16px}.stat small{font-size:10px}.stat strong{font-size:20px}.cal-top{padding:10px}.cal-tools h2{font-size:19px;margin-inline:2px}.filter-row{padding:0 9px 9px}.date-cell{padding:3px;min-height:65px}.date-cell.week{min-height:150px}.event-chip{font-size:9px;padding:3px 2px}.notice{align-items:flex-start;flex-wrap:wrap}.day-label{font-size:9px}}
.demo-notice .badge{white-space:nowrap}
.demo-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;font-size:13px}
.demo-detail p{margin:0;color:var(--muted)}.demo-detail strong{color:var(--ink)}
