:root{--ink:#14211d;--bottle:#12362e;--bottle-2:#1c4a3f;--orange:#e8892b;--amber:#94500f;--ground:#f4f5f1;--white:#fff;--line:#dfe3db;--muted:#56625c;--mint:#e5eee8;--peach:#fbeedd;--grey:#eceee9;--danger:#a3361f;--danger-soft:#f8e4de;--serif:"Libre Caslon Display", "Libre Caslon Text", Georgia, serif;--serif-t:"Libre Caslon Text", Georgia, serif;--sans:"Instrument Sans", -apple-system, "Segoe UI", Arial, sans-serif;--serif-weight:400;--serif-spacing:-.005em;--r-sm:8px;--r-md:10px;--r-lg:12px;--r-xl:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-style=playful]{--serif:"Baloo 2", "Nunito", system-ui, sans-serif;--serif-t:"Baloo 2", "Nunito", system-ui, sans-serif;--sans:"Nunito", -apple-system, "Segoe UI", Arial, sans-serif;--serif-weight:700;--serif-spacing:0;--ground:#fffcf5;--line:#e3e7dc;--grey:#f1f2ec;--r-sm:14px;--r-md:20px;--r-lg:24px;--r-xl:20px}:root[data-style=playful] .label{letter-spacing:.08em;font-weight:700}:root[data-style=playful] .btn,:root[data-style=playful] .pill{font-weight:700}*{box-sizing:border-box}html,body,#root{min-height:100%}body{background:var(--ground);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.5}h1,h2,h3,p{margin:0}a{color:var(--amber)}a:hover{color:var(--bottle)}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--orange);outline-offset:2px}.serif{font-family:var(--serif);font-weight:var(--serif-weight);letter-spacing:var(--serif-spacing);line-height:1.12}.label{letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:11.5px;font-weight:600}.label.amber{color:var(--amber)}.muted{color:var(--muted)}.small{font-size:13px}.strong{font-weight:600}.pattern{background-color:var(--bottle);background-image:url(/pattern.svg)}.stack{gap:var(--gap,12px);flex-direction:column;min-width:0;display:flex}.row{align-items:center;gap:var(--gap,12px);flex-wrap:wrap;display:flex}.row.between{justify-content:space-between}.row.nowrap{flex-wrap:nowrap}.grow{flex:auto;min-width:0}.grid{grid-template-columns:repeat(auto-fit, minmax(min(var(--min,260px), 100%), 1fr));gap:var(--gap,20px);align-items:start;display:grid}.btn{border-radius:var(--r-sm);border:1px solid var(--bottle);background:var(--bottle);min-height:44px;color:var(--white);cursor:pointer;white-space:nowrap;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:14px;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{background:var(--bottle-2);color:var(--white)}.btn.ghost{background:var(--white);color:var(--ink);border-color:var(--line)}.btn.ghost:hover{border-color:var(--muted);color:var(--ink)}.btn.accent{background:var(--orange);border-color:var(--orange);color:var(--ink)}.btn.accent:hover{color:var(--ink);background:#d97a1d}.btn.danger{background:var(--white);color:var(--danger);border-color:var(--line)}.btn.wide{width:100%}.btn.small{min-height:36px;padding:0 12px;font-size:13px}.btn[disabled],.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed;pointer-events:none}.linkbtn{color:var(--amber);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;min-height:32px;padding:0;font-size:13.5px;font-weight:600;display:inline-flex}.linkbtn:hover{color:var(--bottle)}.field{flex-direction:column;gap:6px;min-width:0;display:flex}.field>span{font-size:13px;font-weight:600}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--white);width:100%;height:46px;padding:0 14px;font-size:15px}.field textarea{resize:vertical;height:auto;padding:12px 14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--bottle);box-shadow:0 0 0 3px var(--mint);outline:none}.field .hint{color:var(--muted);font-size:12.5px}.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);flex-direction:column;gap:16px;min-width:0;padding:24px;display:flex}.card.tight{gap:12px;padding:18px}.card.soft{background:var(--grey);border-color:var(--grey)}.pill{background:var(--mint);color:var(--bottle);white-space:nowrap;border-radius:99px;align-items:center;padding:3px 10px;font-size:12.5px;font-weight:600;display:inline-flex}.pill.amber{background:var(--peach);color:var(--amber)}.pill.grey{background:var(--grey);color:var(--muted)}.pill.solid{background:var(--bottle);color:var(--white)}.pill.red{background:var(--danger-soft);color:var(--danger)}.avatar{background:var(--mint);width:38px;height:38px;color:var(--bottle);font-family:var(--serif-t);border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:14px;display:inline-flex}.notice{border-radius:var(--r-sm);background:var(--mint);color:var(--bottle);padding:12px 14px;font-size:14px}.notice.error{background:var(--danger-soft);color:var(--danger)}.notice.warn{background:var(--peach);color:var(--amber)}.table-wrap{overflow-x:auto}table.table{border-collapse:collapse;width:100%;min-width:560px}.table th{text-align:left;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);white-space:nowrap;padding:0 16px 12px 0;font-size:11.5px;font-weight:600}.table td{border-top:1px solid var(--line);vertical-align:middle;padding:14px 16px 14px 0;font-size:14px}.list-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:14px 0;display:flex}.empty{text-align:center;color:var(--muted);padding:28px 0 8px;font-size:14px}dialog.sheet{border-radius:var(--r-lg);width:min(520px,100vw - 32px);max-height:calc(100vh - 32px);color:var(--ink);border:0;padding:0;box-shadow:0 24px 60px #14211d40}dialog.sheet::backdrop{background:#14211d73}dialog.sheet form,dialog.sheet .sheet-body{flex-direction:column;gap:16px;padding:24px;display:flex}.shell{align-items:stretch;min-height:100vh;display:flex}.sidebar{flex-direction:column;flex:none;gap:28px;width:264px;height:100vh;padding:28px 16px 22px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar .logo{padding:0 14px;display:block}.sidebar .logo img{width:150px;display:block}.sidebar nav{flex-direction:column;gap:3px;display:flex}.sidebar nav a{border-radius:var(--r-sm);color:#ffffffd1;align-items:center;gap:12px;min-height:44px;padding:0 14px;font-size:14.5px;font-weight:500;text-decoration:none;display:flex}.sidebar nav a:hover{color:var(--white);background:#ffffff0f}.sidebar nav a.active{color:var(--white);background:#ffffff1c;font-weight:600}.sidebar nav a.active:after{content:"";background:var(--orange);border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar .me{color:var(--white);border-top:1px solid #ffffff29;align-items:center;gap:12px;margin-top:auto;padding:16px 14px 0;display:flex}.sidebar .me .avatar{background:var(--bottle-2);color:var(--white);width:36px;height:36px}.sidebar .me p{font-size:13.5px;font-weight:600}.sidebar .me p+p{color:#ffffffbf;font-size:12.5px;font-weight:400}.iconbtn{width:44px;height:44px;color:inherit;cursor:pointer;border-radius:var(--r-sm);background:0 0;border:0;flex:none;justify-content:center;align-items:center;display:inline-flex}.main{flex-direction:column;flex:auto;gap:28px;min-width:0;padding:40px clamp(16px,4vw,56px) 56px;display:flex}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.page-head h1{font-size:clamp(32px,4vw,44px)}.topbar{display:none}@media (width<=900px){.shell{flex-direction:column}.topbar{z-index:5;color:var(--white);justify-content:space-between;align-items:center;padding:10px 8px 10px 16px;display:flex;position:sticky;top:0}.topbar img{height:34px;display:block}.sidebar{z-index:10;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-100%);box-shadow:0 0 40px #0000004d}.sidebar.open{transform:none}.scrim{z-index:9;background:#14211d73;position:fixed;inset:0}.main{gap:22px;padding-top:24px}}.phone{background:var(--ground);flex-direction:column;max-width:560px;min-height:100vh;margin:0 auto;display:flex}.phone-head{color:var(--white);flex-direction:column;gap:6px;padding:22px 20px 24px;display:flex}.phone-head h1{color:var(--white);font-size:32px}.phone-head p{color:#ffffffd1;font-size:13.5px}.phone-main{flex-direction:column;flex:auto;gap:16px;padding:18px 16px 96px;display:flex}.tabs{background:var(--white);border-top:1px solid var(--line);width:100%;max-width:560px;padding:4px 6px calc(4px + env(safe-area-inset-bottom));z-index:5;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.tabs a{min-height:60px;color:var(--muted);flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:3px;font-size:11.5px;font-weight:500;text-decoration:none;display:flex}.tabs a.active{color:var(--bottle);font-weight:700}.auth{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100vh;display:grid}.auth-side{color:var(--white);flex-direction:column;justify-content:space-between;gap:32px;padding:48px;display:flex}.auth-side img{width:190px}.auth-side h2{color:var(--white);max-width:12ch;font-size:clamp(34px,4vw,52px)}.auth-form{justify-content:center;align-items:center;padding:40px 16px;display:flex}.auth-form .stack{--gap:18px;width:min(400px,100%)}@media (width<=800px){.auth{grid-template-rows:auto 1fr;grid-template-columns:1fr}.auth-side{padding:24px 20px 28px}.auth-side h2{font-size:30px}.auth-side .foot{display:none}.auth-side img{width:140px}.auth-form{align-items:flex-start;padding-top:28px}}.join-card{background:var(--bottle);color:var(--white);border-color:var(--bottle)}.join-card .muted{color:#fffc}.spinner{border:3px solid var(--line);border-top-color:var(--bottle);border-radius:50%;width:28px;height:28px;margin:40px auto;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.spinner{animation-duration:3s}.sidebar{transition:none}}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.reader{color:var(--white);z-index:20;background:#1d2622;flex-direction:column;display:flex;position:fixed;inset:0}.reader-bar{background:var(--bottle);align-items:center;gap:8px;padding:8px 8px 8px 4px;display:flex}.reader-bar .iconbtn{color:var(--white)}.reader-stage{perspective:1800px;touch-action:pan-y;flex:auto;justify-content:center;align-items:center;min-height:0;margin:12px;display:flex;position:relative}.reader-spread{transform-style:preserve-3d;justify-content:center;align-items:center;gap:0;display:flex}.reader-page{background:var(--white);display:block;box-shadow:0 10px 30px #00000059}.reader-spread.two .reader-page:first-child{box-shadow:-6px 10px 30px #00000059,inset -12px 0 18px #00000014}.reader-spread.turn-next{transform-origin:0;animation:.45s cubic-bezier(.3,.7,.2,1) turn-next}.reader-spread.turn-prev{transform-origin:100%;animation:.45s cubic-bezier(.3,.7,.2,1) turn-prev}@keyframes turn-next{0%{opacity:.2;transform:rotateY(-70deg)}to{opacity:1;transform:none}}@keyframes turn-prev{0%{opacity:.2;transform:rotateY(70deg)}to{opacity:1;transform:none}}.reader-tap{width:48px;height:72px;color:var(--white);cursor:pointer;background:#00000047;border:0;border-radius:10px;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.reader-tap.left{left:0}.reader-tap.right{right:0}.reader-tap:disabled{opacity:.2;cursor:default}@media (prefers-reduced-motion:reduce){.reader-spread.turn-next,.reader-spread.turn-prev{animation:none}}.dropzone{border:1px dashed var(--muted);border-radius:var(--r-md);background:var(--ground);cursor:pointer;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:120px;padding:16px;font-weight:600;display:flex}.dropzone input{opacity:0;width:1px;height:1px;position:absolute}.progress{background:#e6e9e2;border-radius:99px;height:8px;overflow:hidden}.progress>span{background:var(--bottle);height:100%;transition:width .2s;display:block}.thumbs{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;display:grid}.thumbs img,.thumbs .thumb{aspect-ratio:1;object-fit:cover;border-radius:var(--r-sm);background:var(--mint);width:100%;display:block}.count{background:var(--orange);min-width:22px;height:22px;color:var(--ink);border-radius:99px;justify-content:center;align-items:center;margin-left:auto;padding:0 6px;font-size:12px;font-weight:700;display:inline-flex}.sidebar nav a.active .count{margin-left:auto}.sidebar nav a.active:has(.count):after{display:none}.dot{background:var(--orange);border:2px solid var(--white);border-radius:50%;width:9px;height:9px;position:absolute;top:-2px;right:-4px}.topbar .dot{border-color:var(--bottle);top:10px;right:10px}.inbox{grid-template-columns:minmax(280px,380px) minmax(0,1fr);align-items:stretch;gap:20px;min-height:560px;display:grid}.inbox-list{gap:10px;max-height:calc(100vh - 220px);overflow-y:auto}.inbox-thread{min-height:560px;max-height:calc(100vh - 220px);display:flex}@media (width<=900px){.inbox{grid-template-columns:1fr}.inbox-list,.inbox-thread{max-height:none}}.thread{flex-direction:column;flex:auto;width:100%;min-height:0;display:flex}.thread-head{border-bottom:1px solid var(--line);padding:18px 20px 12px}.thread-body{flex-direction:column;flex:auto;gap:8px;min-height:200px;padding:8px 16px 16px;display:flex;overflow-y:auto}.bubble{border-radius:var(--r-xl) var(--r-xl) var(--r-xl) 4px;background:var(--ground);border:1px solid var(--line);max-width:min(78%,560px);padding:10px 14px;font-size:14.5px}.bubble.mine{background:var(--mint);border-color:var(--mint);border-radius:var(--r-xl) var(--r-xl) 4px var(--r-xl);margin-left:auto}.bubble-time{color:var(--muted);text-align:right;margin-top:4px;font-size:11.5px}.composer{border-top:1px solid var(--line);align-items:flex-end;gap:10px;padding:12px 16px;display:flex}.composer textarea{border:1px solid var(--line);border-radius:var(--r-md);resize:none;flex:auto;min-height:46px;max-height:160px;padding:10px 12px;font-size:15px}.composer textarea:focus{border-color:var(--bottle);box-shadow:0 0 0 3px var(--mint);outline:none}.phone-thread{flex-direction:column;height:100dvh;padding-bottom:72px;display:flex}.receipt-page{background:var(--ground);min-height:100vh;padding:24px 16px 48px}.receipt-actions{justify-content:space-between;gap:10px;max-width:720px;margin:0 auto 16px;display:flex}.receipt{background:var(--white);border:1px solid var(--line);border-radius:var(--r-md);flex-direction:column;gap:22px;max-width:720px;margin:0 auto;padding:32px;display:flex}.receipt .table td{font-size:15px}@media print{@page{size:A5;margin:12mm}body,.receipt-page{background:#fff;padding:0}.no-print{display:none!important}.receipt{border:0;max-width:none;padding:0}}.timetable th.today{color:var(--amber)}.timetable td{vertical-align:top;min-width:120px;padding-right:8px}.slot{text-align:left;border-radius:var(--r-sm);background:var(--mint);width:100%;min-height:64px;font:inherit;color:var(--ink);border:1px solid #0000;flex-direction:column;gap:2px;padding:8px 10px;font-size:13.5px;display:flex}button.slot{cursor:pointer}button.slot:hover{border-color:var(--bottle)}.slot.empty-slot{border:1px dashed var(--line);color:var(--muted);background:0 0;justify-content:center;align-items:center}.slot.empty-slot:hover{border-color:var(--muted)}@media print{.sidebar,.topbar,.no-print,.page-head .row{display:none!important}.main{padding:0}}
