@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-400-normal.0htov46p8uoeb.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-400-normal.0pprcnx577ywq.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-looped-thai-400-normal.1hu1rp-b-1t0d.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-thai-400-normal.0ip9_y-8rycff.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-looped-latin-ext-400-normal.1apifvc0ls4d5.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-ext-400-normal.1rx81yr7f9u4q.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:400;src:url(../media/ibm-plex-sans-thai-looped-latin-400-normal.1ta9_gkrx39l1.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-400-normal.30j2onbm5c_pb.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-500-normal.3o1prurpq5f__.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-500-normal.0w7zf87k1dxgm.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-looped-thai-500-normal.0is3s5gpy0gli.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-thai-500-normal.30vsnzy5-9g52.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-looped-latin-ext-500-normal.32p6pi8mvyi40.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-ext-500-normal.373svzjteb9at.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:500;src:url(../media/ibm-plex-sans-thai-looped-latin-500-normal.03ay8vdq9bm2u.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-500-normal.1xwts5v_n19lp.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-600-normal.31kl9-bhqmb4a.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-600-normal.2sexvu2v22ehu.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-looped-thai-600-normal.19elj6mez_q4z.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-thai-600-normal.0xgvee9ga197h.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-looped-latin-ext-600-normal.43165h8d0yejr.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-ext-600-normal.363ne132mmwm5.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:600;src:url(../media/ibm-plex-sans-thai-looped-latin-600-normal.1_125qmyaj12o.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-600-normal.36l0yctjgd_pu.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-700-normal.1st3oe4abfofh.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-cyrillic-ext-700-normal.0ufjtd_a4e2sm.woff)format("woff");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ibm-plex-sans-thai-looped-thai-700-normal.11p5nivui9w-v.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-thai-700-normal.17wdz4uprjz23.woff)format("woff");unicode-range:U+2D7,U+303,U+331,U+E01-E5B,U+200C-200D,U+25CC}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ibm-plex-sans-thai-looped-latin-ext-700-normal.3oxv37q_dzkp6.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-ext-700-normal.150i4qn8aofcd.woff)format("woff");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:IBM Plex Sans Thai Looped;font-style:normal;font-display:swap;font-weight:700;src:url(../media/ibm-plex-sans-thai-looped-latin-700-normal.1ep8k56j44nxg.woff2)format("woff2"),url(../media/ibm-plex-sans-thai-looped-latin-700-normal.2ysr23l2fi83t.woff)format("woff");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--ink:#1d2529;--ink-soft:#5b666c;--paper:#f4f6fa;--sheet:#fff;--rule:#e0e5ee;--scrub:#1f55e6;--scrub-deep:#1742b8;--marigold:#e9a51f;--alert:#a8321f;--ok:#197a3e}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{background:var(--paper);min-height:100dvh;color:var(--ink);font-variant-numeric:tabular-nums;margin:0;font-family:IBM Plex Sans Thai Looped,Leelawadee UI,Thonburi,Noto Sans Thai,system-ui,sans-serif;font-size:1rem;line-height:1.7}.page{max-width:33rem;min-height:100dvh;margin:0 auto;padding:3rem 1.5rem 4rem;position:relative}.page-wide{max-width:46rem}.brand{letter-spacing:-.01em;color:var(--ink);align-items:center;gap:.45rem;margin-bottom:3.5rem;font-size:1.25rem;font-weight:700;text-decoration:none;display:inline-flex}.brand:before{content:"";background:url(/icons/katii-card-192.png?v=3) 50%/contain no-repeat;width:28px;height:28px}h1{letter-spacing:-.01em;margin:0 0 .5rem;font-size:clamp(1.9rem,5vw,2.6rem);font-weight:600;line-height:1.3}.lede{color:var(--ink-soft);max-width:34ch;margin:0 0 2rem}.slip{background:var(--sheet);border:1px solid var(--rule);border-radius:12px;padding:1.5rem 1.25rem 1.25rem}.field{margin-bottom:1.25rem}.field label{margin-bottom:.3rem;font-weight:500;display:block}.field input,.field textarea{width:100%;font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:.7rem .8rem}.field input:focus-visible,.field textarea:focus-visible{outline:2px solid var(--scrub);outline-offset:1px;background:var(--sheet)}.field input[aria-invalid=true]{border-color:var(--alert)}.field textarea{resize:vertical;min-height:5rem;line-height:1.6}.field input[type=file]{padding:.55rem .6rem;font-size:.9375rem}.field input[type=file]::file-selector-button{font:inherit;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);cursor:pointer;border-radius:8px;margin-right:.75rem;padding:.35rem .8rem;font-weight:500}.hint{color:var(--ink-soft);margin:.3rem 0 0;font-size:.875rem}.field input[data-state=ok]{border-color:var(--ok)}.status{min-height:1.5rem;color:var(--ink-soft);margin:.3rem 0 0;font-size:.9375rem;font-weight:500}.status:empty{min-height:0;margin:0}.status-ok{color:var(--ok)}.status-ok:before{content:"✓ "}.status-bad{color:var(--alert)}.button{width:100%;font:inherit;color:#fff;background:var(--scrub);cursor:pointer;border:0;border-radius:8px;padding:.8rem 1rem;font-weight:600}.button:hover{background:var(--scrub-deep)}.button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.button[disabled]{color:#fff;cursor:not-allowed;background:#b9c9c5}.button[disabled]:hover{background:#b9c9c5}.button-quiet{width:auto;color:var(--ink);border:1px solid var(--rule);background:0 0;padding:.45rem .9rem;font-weight:500}.button-quiet:hover{background:var(--sheet)}.message{border-radius:8px;margin:0 0 1.25rem;padding:.7rem .85rem}.message-error{color:var(--alert);background:#fbeeeb}.message-info{color:var(--ink);background:#e6f3f0}.aside{color:var(--ink-soft);margin:1.5rem 0 0}a{color:var(--scrub-deep);text-underline-offset:.2em}a:focus-visible{outline:2px solid var(--scrub);outline-offset:2px}.staff-door{margin:3rem 0 0;font-size:.8125rem}.staff-door a{color:var(--ink-soft);text-decoration:none}.staff-door a:hover,.staff-door a:focus-visible{text-decoration:underline}.tally{flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 0;padding:0;list-style:none;display:flex}.tally a{border:1px solid var(--rule);color:var(--ink);background:0 0;border-radius:8px;align-items:baseline;gap:.5rem;padding:.5rem .9rem;text-decoration:none;display:flex}.tally a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:#fff}.tally strong{font-size:1.25rem;font-weight:600}.application{margin-top:1.5rem}.application h2{margin:0 0 1rem;font-size:1.4rem;font-weight:600;line-height:1.4}.application .facts{margin-bottom:1rem}.license-no{letter-spacing:.04em;white-space:nowrap;font-size:1.15rem}.flag{border-left:3px solid var(--marigold);background:#fdf6e3;margin:0 0 1rem;padding:.6rem .8rem}.flag-stop{border-left-color:var(--alert);background:#fbeeeb}.doc-links{flex-wrap:wrap;gap:.5rem 1.5rem;margin:0 0 1.25rem;display:flex}.review-buttons{gap:.75rem;display:flex}.review-buttons .button{flex:1;width:auto}.review-buttons .button-quiet{flex:none;padding:.8rem 1.1rem}.button-danger{background:var(--alert)}.button-danger:hover{background:#8a2718}.outcome{border-top:1px solid var(--rule);color:var(--ink-soft);margin:0;padding-top:1rem}.outcome strong{color:var(--ink)}.empty{color:var(--ink-soft);margin-top:1.5rem}.clinic-name{color:var(--ink-soft);margin:0 0 .75rem;font-weight:600}.tabs{border-bottom:1px solid var(--rule);flex-wrap:wrap;gap:.25rem 1.5rem;margin:0 0 2.25rem;display:flex}.tabs a{color:var(--ink-soft);border-bottom:3px solid #0000;margin-bottom:-1px;padding:.4rem 0;text-decoration:none}.tabs a:hover{color:var(--ink)}.tabs a[aria-current=page]{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}.field select{width:100%;font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:.7rem .8rem}.field select:focus-visible,.row select:focus-visible{outline:2px solid var(--scrub);outline-offset:1px}.field input:disabled{color:var(--ink-soft);background:0 0;border-style:dashed}.field-row{grid-template-columns:1fr 1fr;gap:0 1rem;display:grid}.check{align-items:center;gap:.6rem;margin:0 0 .6rem;font-weight:400;display:flex}.check input{width:1.15rem;height:1.15rem;accent-color:var(--scrub);flex:none}.check-indent{margin-left:1.75rem}.scope{border:0;margin:0 0 1.25rem;padding:0}.scope legend{margin-bottom:.5rem;padding:0;font-weight:500}.tag{vertical-align:middle;color:var(--ink-soft);border:1px solid var(--rule);border-radius:999px;margin-left:.4rem;padding:0 .5rem;font-size:.8125rem;font-weight:500;line-height:1.6;display:inline-block}.tag-warn{color:var(--alert);border-color:#e6bcb3}.rows{margin:0;padding:0;list-style:none}.row{border-top:1px solid var(--rule);grid-template-columns:1fr auto;align-items:start;gap:.5rem 1rem;padding:1rem 0;display:grid}.row:first-child{border-top:0;padding-top:0}.row:last-child{padding-bottom:0}.row-title{overflow-wrap:anywhere;margin:0;font-weight:600}.row-sub{color:var(--ink-soft);overflow-wrap:anywhere;margin:0;font-size:.9375rem}.row-role{margin:0;font-weight:500}.row-controls{justify-items:end;gap:.4rem;display:grid}.row select{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:.4rem .6rem}.row-buttons{flex-wrap:wrap;justify-content:flex-end;gap:.25rem 1rem;display:flex}.row-panel{grid-column:1/-1;margin:.25rem 0 0}.link-button{font:inherit;color:var(--scrub-deep);text-underline-offset:.2em;cursor:pointer;background:0 0;border:0;padding:0;font-size:.9375rem;text-decoration:underline}.link-button:focus-visible{outline:2px solid var(--scrub);outline-offset:2px}.link-button[disabled]{opacity:.5;cursor:default}.link-danger{color:var(--alert)}.invite-link{background:#e6f3f0;border-radius:8px;margin:0 0 1.5rem;padding:1rem}.invite-link p{margin:0 0 .6rem}.invite-link input{width:100%;font:inherit;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:8px;margin-bottom:.75rem;padding:.6rem .7rem;font-size:.9375rem}.button-link{text-align:center;text-decoration:none;display:block}.slip-action{margin:1.25rem 0 0}.topbar{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:3.5rem;display:flex}.topbar .brand{margin-bottom:0}.who{color:var(--ink-soft);align-items:center;gap:.75rem;font-size:.9375rem;display:flex}.who form{margin:0}.clinic{margin-top:1.5rem}.clinic h2{margin:0 0 1rem;font-size:1.5rem;font-weight:600;line-height:1.4}.facts{grid-template-columns:max-content 1fr;gap:.35rem 1.5rem;margin:0;display:grid}.facts dt{color:var(--ink-soft)}.facts dd{overflow-wrap:anywhere;margin:0;font-weight:500}@media (max-width:34rem){.page{padding:2rem 1rem 3rem}.brand,.topbar{margin-bottom:2.25rem}.who span{display:none}.application .facts{grid-template-columns:1fr;gap:0}.application .facts dt{margin-top:.6rem;font-size:.875rem}.application .facts dt:first-child{margin-top:0}.field-row,.row{grid-template-columns:1fr}.row-controls{justify-items:start}.row-buttons{justify-content:flex-start}}.name-en{color:var(--ink);opacity:.75;margin:-.4rem 0 .8rem}fieldset.field{border:0;min-width:0;padding:0}fieldset.field legend{margin-bottom:.5rem;padding:0;font-weight:500}.field .choice{align-items:flex-start;gap:.6rem;margin:0 0 .6rem;font-weight:400;display:flex}.field .choice input{width:1.15rem;height:1.15rem;accent-color:var(--scrub);flex:none;margin-top:.25rem;padding:0}.field .time-range{flex-wrap:wrap;align-items:center;gap:.6rem;margin:0 0 .6rem 1.75rem;display:flex}.field .time-range label{margin:0;font-weight:400}.field .time-range input{width:auto}.field select:disabled{color:var(--ink-soft);background:0 0;border-style:dashed}.section-title{margin:2.75rem 0 .25rem;font-size:1.25rem}.section-title+.lede{max-width:none;margin-bottom:1.25rem}.tag-ok{color:var(--ok);border-color:#b5d9c2}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.check span{min-width:0}.scope .hint{margin:0 0 .5rem}.week{border:0;min-width:0;margin:0 0 1.25rem;padding:0}.week-day{border-top:1px solid var(--rule);grid-template-columns:7.5rem 1fr;align-items:start;gap:.25rem 1rem;padding:.75rem 0;display:grid}.week-day:first-of-type{border-top:0;padding-top:0}.week-day .check{margin:.35rem 0 0;font-weight:500}.week-closed{color:var(--ink-soft);margin:.35rem 0 0}.week-ranges{justify-items:start;gap:.5rem;display:grid}.week-ranges .status{margin:0}.time-range{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.time-range input[type=time]{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;padding:.45rem .5rem}.time-range input[type=time]:focus-visible{outline:2px solid var(--scrub);outline-offset:1px}.week:disabled input{color:var(--ink-soft)}@media (max-width:480px){.week-day{grid-template-columns:1fr}}form>.hint{margin-bottom:1.25rem}.public-head{margin-bottom:1rem}.public-head h1{margin-bottom:.15rem}.public-name-en{color:var(--ink-soft);margin:0 0 .75rem;font-size:1.125rem}.public-license{color:var(--ink-soft);margin:0 0 1.25rem;font-size:.9375rem}.contact-chips{flex-wrap:wrap;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.contact-chips a{color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:999px;padding:.45rem .9rem;text-decoration:none;display:inline-block}.contact-chips a:hover{border-color:var(--ink)}.service-card{margin-bottom:1.25rem}.service-card h3,.public .application h3{margin:0 0 .35rem;font-size:1.25rem}.service-meta{color:var(--ink-soft);flex-wrap:wrap;gap:.25rem 1rem;margin:0 0 .75rem;display:flex}.service-meta strong{color:var(--ink)}.service-description{white-space:pre-line;margin:0 0 1rem}.availability{margin-top:.5rem}.date-strip{scroll-snap-type:x proximity;gap:.5rem;padding:.25rem 0 .75rem;display:flex;overflow-x:auto}.date-chip{min-width:3.6rem;font:inherit;color:var(--ink-soft);background:var(--paper);border:1px solid var(--rule);cursor:pointer;scroll-snap-align:start;border-radius:6px;flex:none;justify-items:center;gap:.1rem;padding:.5rem .4rem;font-size:.8125rem;display:grid}.date-chip strong{color:var(--ink);font-size:1.25rem}.date-chip[aria-selected=true]{color:var(--paper);background:var(--ink);border-color:var(--ink)}.date-chip[aria-selected=true] strong{color:var(--paper)}.date-chip:focus-visible{outline:2px solid var(--scrub);outline-offset:2px}.slot-area{min-height:3rem}.slot-list{grid-template-columns:repeat(auto-fill,minmax(4.5rem,1fr));gap:.5rem;margin:0 0 1rem;padding:0;list-style:none;display:grid}.slot-list li{text-align:center;font-variant-numeric:tabular-nums;border:1px solid var(--scrub);color:var(--scrub-deep);border-radius:8px;padding:.5rem 0}.hours-table{border-collapse:collapse;width:100%}.hours-table th,.hours-table td{text-align:left;border-top:1px solid var(--rule);font-variant-numeric:tabular-nums;padding:.4rem 0;font-weight:400}.hours-table th{width:7rem;color:var(--ink-soft)}.hours-table tr:first-child th,.hours-table tr:first-child td{border-top:0}.public-foot{color:var(--ink-soft);margin-top:3rem;font-size:.875rem}.public-foot a{color:var(--ink);font-weight:600;text-decoration:none}.slot-list .slot{width:100%;font:inherit;font-variant-numeric:tabular-nums;color:var(--scrub-deep);background:var(--sheet);border:1px solid var(--scrub);cursor:pointer;border-radius:8px;padding:.5rem 0}.slot-list li{border:0;padding:0}.slot-list .slot[aria-pressed=true]{color:var(--paper);background:var(--scrub)}.slot-list .slot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.booking-form{border-top:1px solid var(--rule);margin-top:1rem;padding-top:1.25rem}.booking-form h4{margin:0;font-size:1.125rem}.booking-when{color:var(--scrub-deep);margin:.25rem 0 1.25rem;font-weight:600}.check-top{align-items:flex-start}.check-top input{margin-top:.2rem}.message-ok{color:var(--ok);border-left:3px solid var(--ok);background:#e6f3ea}.card-clinic{color:var(--ink-soft);margin:0 0 .25rem}.card-status{color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:999px;margin:0 0 1.25rem;padding:.2rem .75rem;font-weight:600;display:inline-block}.card-status-confirmed{color:var(--ok);border-color:#b5d9c2}.card-status-pending{color:#8a5a00;border-color:var(--marigold)}.card-status-cancelled,.card-status-no_show{color:var(--alert);border-color:#e6bcb3}.card-slip{margin-bottom:1.25rem}.card-date{margin:0;font-size:1.125rem;font-weight:600}.card-time{font-variant-numeric:tabular-nums;margin:0 0 1rem;font-size:1.75rem;font-weight:700}.card-actions{gap:.75rem;margin-bottom:1.25rem;display:grid}.appt-waiting{border-top-color:var(--marigold);margin-bottom:1.5rem}.appt-day{margin:1rem 0 1.5rem}.appt-waiting h2,.appt-day h2{margin:0 0 .75rem;font-size:1.125rem}.appt-list{margin:0;padding:0;list-style:none}.appt{border-top:1px solid var(--rule);grid-template-columns:4.25rem 1fr;gap:.25rem .75rem;padding:.9rem 0;display:grid}.appt:first-child{border-top:0;padding-top:0}.appt-time{font-variant-numeric:tabular-nums;font-weight:700}.appt-time span{color:var(--ink-soft);font-size:.875rem;font-weight:400;display:block}.appt-title{margin:0;font-weight:600}.appt-badges{flex-wrap:wrap;gap:.35rem;margin:.35rem 0 0;display:flex}.appt-badges .tag{margin-left:0}.appt-request{background:#fdf5e3;border-radius:8px;margin:.6rem 0 0;padding:.6rem .75rem}.appt-request p{margin:0 0 .4rem}.appt-actions{justify-content:flex-start;margin-top:.6rem}.appt-cancelled,.appt-expired,.appt-no_show{opacity:.6}.tag-wait{color:#8a5a00;border-color:var(--marigold)}.clinic-links{flex-wrap:wrap;gap:.5rem 1.25rem;display:flex}.katii-card-offer{border-top-color:var(--scrub);margin:1.5rem 0}.katii-card-offer h2{margin:0 0 .75rem;font-size:1.25rem}.benefits{margin:0 0 1.25rem;padding-left:1.2rem}.benefits li{margin-bottom:.3rem}.wallet-card{color:var(--ink);gap:.2rem;margin-bottom:1rem;text-decoration:none;display:grid}.wallet-card .card-status{justify-self:start;margin:.4rem 0 0}.wallet-clinic{color:var(--ink-soft);font-size:.875rem}.wallet-add{margin-top:2rem}a.button{box-sizing:border-box;text-align:center;text-decoration:none;display:block}.cancelled-notice{background:var(--sheet);border-left:4px solid var(--alert);border-radius:10px;margin:1rem 0;padding:1rem 1.1rem}.cancelled-notice h2,.kc-main .cancelled-notice h2{color:var(--alert);margin:0 0 .5rem;font-size:1.1rem}.cancelled-notice p{margin:0 0 .6rem}.cancelled-notice blockquote{background:var(--paper);border-radius:8px;margin:0 0 .75rem;padding:.6rem .8rem}.cancelled-notice blockquote p{white-space:pre-line;margin:0 0 .3rem}.cancelled-notice blockquote footer{color:var(--ink-soft);font-size:.85rem}.cancelled-notice .button{text-align:center;text-decoration:none;display:block}.reschedule-day{grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem;display:grid}.reschedule-day input{min-width:0;font:inherit;border:1px solid var(--rule);background:var(--sheet);border-radius:6px;padding:.55rem .6rem}.reschedule .slot:disabled{opacity:.45;text-decoration:line-through}.reschedule select{width:100%;font:inherit;border:1px solid var(--rule);background:var(--sheet);border-radius:6px;padding:.55rem .6rem}.today-nav{grid-template-columns:auto 1fr auto;align-items:center;gap:.5rem .75rem;margin:-.5rem 0 1rem;display:grid}.today-nav .lede{text-align:center}.today-nav>.link-button{grid-column:1/-1;justify-self:start}.today-nav .lede{margin:0}.today-nav a.button{padding:.35rem .9rem;text-decoration:none}.today-branches{flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;display:flex}.today-branches a{border:1px solid var(--rule);color:var(--ink-soft);border-radius:999px;padding:.3rem .8rem;font-size:.9375rem;text-decoration:none}.today-branches a[aria-current=page]{color:var(--paper);background:var(--ink);border-color:var(--ink)}.today-counts{color:var(--ink-soft);margin:0 0 1.25rem;font-size:.9375rem}.today-attention{color:var(--alert);font-weight:600}.today-panel{background:var(--sheet);border:1px solid var(--rule);border-radius:8px;margin-top:.75rem;padding:.9rem 1rem}.today-step+.today-step{border-top:1px solid var(--rule);margin-top:1rem;padding-top:1rem}.today-step-title{margin:0 0 .25rem;font-weight:600}.today-hn{gap:.5rem;margin:.5rem 0;display:flex}.today-hn .button{flex:none;width:auto}.today-hn input{min-width:0;font:inherit;letter-spacing:.04em;border:1px solid var(--rule);background:var(--paper);border-radius:6px;flex:1;padding:.55rem .7rem;font-size:1.05rem}.today-dups{margin:.5rem 0 0;padding:0;list-style:none}.today-dups li{border-top:1px dashed var(--rule);padding:.6rem 0}.today-dups li:first-child{border-top:0}.today-dups .tag{margin-left:.25rem}.hn-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:0 1rem;display:grid}.aftercare-notice{background:var(--sheet);border-left:4px solid var(--ok);border-radius:10px;margin:1rem 0;padding:1rem 1.1rem}.aftercare-notice h2,.kc-main .aftercare-notice h2{color:var(--ok);margin:0 0 .5rem;font-size:1.1rem}.aftercare-notice p{white-space:pre-line;margin:0 0 .5rem}.aftercare-notice .aftercare-from{color:var(--ink-soft);margin:0;font-size:.85rem}.complete-panel h3{margin:0 0 .75rem;font-size:1rem}.complete-task{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;margin-bottom:.6rem;display:flex}.complete-task .check{margin:0}.complete-task select,.complete-when select{width:auto;padding:.35rem .5rem}.complete-when{align-items:center;gap:.4rem;display:inline-flex}.complete-when input{width:4rem;padding:.35rem .5rem}.complete-note{flex:12rem;padding:.35rem .5rem}.followup-overdue{border-left:3px solid var(--alert);padding-left:.5rem}.appt-full{grid-template-columns:1fr}.brand-logo-row{flex-wrap:wrap;align-items:center;gap:1.25rem;display:flex}.brand-logo-preview{background:#fff;border-radius:50%;flex:none;place-items:center;width:88px;height:88px;display:grid;overflow:hidden;box-shadow:0 0 0 1px #c3a27a}.brand-logo-preview img{object-fit:contain;width:78%;height:78%}.brand-logo-preview span{color:var(--brand-text);font-family:Taviraj,serif;font-size:2.3rem}.brand-upload{cursor:pointer;display:inline-block;position:relative}.brand-upload input{opacity:0;cursor:pointer;position:absolute;inset:0}.brand-upload:focus-within{outline:2px solid var(--scrub);outline-offset:2px}.brand-logo-row .link-button{margin-top:.5rem;display:block}.brand-swatches{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.brand-swatch{cursor:pointer;border:0;border-radius:50%;width:2.4rem;height:2.4rem;box-shadow:0 0 0 1px #00000014}.brand-swatch[aria-pressed=true]{box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--ink)}.brand-swatch:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.brand-custom{cursor:pointer;align-items:center;gap:.4rem;font-weight:400;display:inline-flex}.brand-custom input{cursor:pointer;background:0 0;border:0;width:2.4rem;height:2.4rem;padding:0}.brand-preview{box-shadow:0 0 0 1px var(--rule);background:#fff;border-radius:18px;margin:0 0 1.25rem;overflow:hidden}.brand-preview-top{background:var(--brand-soft);padding:1rem 1.25rem}.brand-preview-top small{color:var(--brand-text);font-weight:600;display:block}.brand-preview-top strong{color:#2f2233;font-family:Taviraj,serif;font-size:2rem;font-weight:500}.brand-preview-button{color:#fff;background:var(--brand-fill);border-radius:999px;margin:1rem 1.25rem;padding:.55rem 1.3rem;font-weight:600;display:inline-block}.site-block{margin-bottom:1.25rem}.site-block h2{margin:1.5rem 0 .75rem;font-size:1.15rem}.site-block h2:first-child{margin-top:0}.site-photo{margin:.5rem 0 1rem}.site-photo-frame{color:var(--ink-soft);background:#f3eced;border-radius:14px;place-items:center;font-size:.875rem;display:grid;overflow:hidden}.site-photo-frame img{object-fit:cover;width:100%;height:100%}.site-photo-wide .site-photo-frame{aspect-ratio:16/9;max-width:28rem}.site-photo-tall .site-photo-frame{aspect-ratio:4/5}.site-photo-round .site-photo-frame{border-radius:50%;width:96px;height:96px}.site-photo-actions{align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.site-gallery{grid-template-columns:repeat(auto-fill,minmax(8rem,1fr));gap:.75rem;display:grid}.site-gallery .site-photo{margin:0}.g-pin{vertical-align:.1em;background:#1d4ed8;border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.g-name{color:#1d4ed8;margin:0 0 2px;font-size:.8rem;font-weight:600}.site-guide-note{border-left:4px solid #1d4ed8;margin-bottom:1.25rem}.site-guide-note p{margin:0 0 .75rem}.g-here{border-radius:10px;scroll-margin-top:1rem;animation:2.4s ease-out g-here}@keyframes g-here{0%,40%{background:#eff4ff;box-shadow:0 0 0 3px #1d4ed8}to{box-shadow:0 0 0 3px #0000}}@media (prefers-reduced-motion:reduce){.g-here{animation:none;box-shadow:0 0 0 3px #1d4ed8}}.theme-list{gap:.75rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}@media (min-width:720px){.theme-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.theme-card{border:1px solid var(--rule);background:var(--sheet);border-radius:14px;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:.5rem .9rem;padding:.75rem;display:grid}.theme-card-on{border-color:var(--scrub);box-shadow:0 0 0 1px var(--scrub)}.theme-text{flex-direction:column;min-width:0;line-height:1.4;display:flex}.theme-text span{color:var(--ink-soft);font-size:.85rem}.theme-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:.5rem;display:flex}.theme-actions .tag{margin-left:0}.theme-thumb{border-radius:12px;width:76px;height:100px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.theme-thumb i,.theme-thumb b,.theme-thumb s{display:block;position:absolute}.theme-thumb-luxe{background:#fbf7f6}.theme-thumb-luxe i{background:#e6dcd6;border-radius:8px;height:46px;top:8px;left:8px;right:8px;box-shadow:inset 0 0 0 3px #e6dcd6,inset 0 0 0 4px #fff}.theme-thumb-luxe b{background:#fff;border-radius:8px;height:30px;top:44px;left:12px;right:12px;box-shadow:0 4px 8px -4px #2f223366}.theme-thumb-luxe s{background:#a86b78;border-radius:3px;width:34px;height:5px;top:52px;left:18px}.theme-thumb-modern{background:#fff}.theme-thumb-modern i{background:#dedad5;height:52px;top:0;left:0;right:0}.theme-thumb-modern b{background:#151515;border-radius:2px;width:52px;height:9px;top:60px;left:8px}.theme-thumb-modern s{background:#151515;border-radius:2px;width:36px;height:9px;top:74px;left:8px}.theme-thumb-medical{background:#f2f5f8}.theme-thumb-medical i{background:#d9dfe6;border-radius:6px;height:36px;top:8px;left:8px;right:8px}.theme-thumb-medical b{background:#fff;border-top:3px solid #3c6e91;border-radius:6px;height:34px;top:38px;left:12px;right:12px}.theme-thumb-medical s{background:repeating-linear-gradient(90deg,#e6ecf2 0 12px,#0000 12px 15px);border-radius:3px;height:8px;top:60px;left:16px;right:16px}.theme-thumb-friendly{background:#fffaf4}.theme-thumb-friendly s{background:#ffe08a;border-radius:50%;width:40px;height:40px;top:-8px;right:-10px}.theme-thumb-friendly i{background:#e3ddd6;border-radius:12px;height:40px;top:10px;left:10px;right:10px;transform:rotate(-3deg)}.theme-thumb-friendly b{background:#e0607e;border-radius:12px;height:34px;top:44px;left:6px;right:6px}.theme-actions .button{flex:1 1 0;width:auto;min-width:0;margin:0}.shell{--bar-h:56px;--nav-w:228px;--scrub:var(--brand-fill);--scrub-deep:var(--brand-text);background:var(--paper);min-height:100dvh}.shell [id]{scroll-margin-top:calc(var(--bar-h) + 64px)}.shell .message-info,.shell .invite-link{background:var(--brand-soft)}.shell .button[disabled],.shell .button[disabled]:hover{background:#c6cbcf}.shell .button:hover{background:color-mix(in srgb, var(--brand-fill) 85%, #000)}.shell .button-quiet,.shell .button-quiet:hover{color:var(--ink);background:var(--sheet)}.shell .button-quiet:hover{border-color:#c9cfd3}.shell-bar{z-index:30;height:var(--bar-h);background:var(--sheet);border-bottom:1px solid var(--rule);align-items:center;gap:12px;padding:0 12px 0 16px;display:flex;position:sticky;top:0}.shell-clinic{min-width:0;color:var(--ink);flex:1;align-items:center;gap:10px;text-decoration:none;display:flex}.shell-logo{background:var(--brand-soft);width:36px;height:36px;box-shadow:inset 0 0 0 1px var(--brand-line);border-radius:10px;flex:none;place-items:center;display:grid;overflow:hidden}.shell-logo img{object-fit:contain;width:84%;height:84%}.shell-logo span{color:var(--brand-text);font-weight:700}.shell-clinic-text{flex-direction:column;min-width:0;line-height:1.25;display:flex}.shell-clinic-text strong{white-space:nowrap;text-overflow:ellipsis;font-size:1rem;overflow:hidden}.shell-clinic-text small{color:var(--ink-soft);font-size:.75rem}.shell-account{flex:none;position:relative}.shell-account summary{cursor:pointer;width:36px;height:36px;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:50%;place-items:center;font-weight:600;list-style:none;display:grid}.shell-account summary::-webkit-details-marker{display:none}.shell-account summary:focus-visible{outline:2px solid var(--brand-fill);outline-offset:2px}.shell-account-menu{z-index:40;background:var(--sheet);border:1px solid var(--rule);border-radius:12px;gap:10px;width:250px;padding:14px;display:grid;position:absolute;top:46px;right:0;box-shadow:0 16px 36px -16px #1d252959}.shell-account-menu p{overflow-wrap:anywhere;margin:0;line-height:1.4}.shell-account-menu small{color:var(--ink-soft);display:block}.shell-account-menu form{margin:0}.shell-account-menu .button{width:100%}.shell-nav{z-index:30;padding:6px 6px calc(6px + env(safe-area-inset-bottom));background:var(--sheet);border-top:1px solid var(--rule);grid-auto-columns:1fr;grid-auto-flow:column;display:grid;position:fixed;bottom:0;left:0;right:0}.shell-nav a{color:var(--ink-soft);flex-direction:column;align-items:center;gap:2px;padding:2px;font-size:.75rem;line-height:1.3;text-decoration:none;display:flex}.shell-ico{border-radius:999px;place-items:center;width:52px;height:30px;display:grid}.shell-nav a[aria-current=page]{color:var(--brand-text);font-weight:600}.shell-nav a[aria-current=page] .shell-ico{background:var(--brand-soft)}.shell-nav a:focus-visible{outline:2px solid var(--brand-fill);outline-offset:2px;border-radius:10px}.shell-main{padding:20px 16px calc(92px + env(safe-area-inset-bottom))}.shell-main>*{max-width:46rem;margin-left:auto;margin-right:auto}.shell-main h1{margin:0 0 .25rem;font-size:1.6rem;line-height:1.35}.shell-main .lede{max-width:none;margin:0 0 1.25rem}.subnav{top:var(--bar-h);z-index:20;scrollbar-width:none;background:var(--paper);border-bottom:1px solid var(--rule);gap:6px;margin:-20px -16px 18px;padding:10px 16px;display:flex;position:sticky;overflow-x:auto}.subnav::-webkit-scrollbar{display:none}.subnav-group{display:contents}.subnav-group>p{display:none}.subnav a{white-space:nowrap;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:999px;flex:none;padding:5px 14px;font-size:.9rem;text-decoration:none}.subnav a[aria-current=page]{color:#fff;background:var(--brand-fill);border-color:var(--brand-fill);font-weight:600}.subnav a:focus-visible{outline:2px solid var(--brand-fill);outline-offset:2px}.settings-layout{max-width:46rem}@media (min-width:900px){.shell-nav{top:var(--bar-h);width:var(--nav-w);border-top:0;border-right:1px solid var(--rule);grid-auto-rows:min-content;grid-auto-flow:row;align-content:start;gap:2px;padding:16px 12px;right:auto}.shell-nav a{border-radius:10px;flex-direction:row;gap:10px;padding:8px 10px;font-size:.95rem}.shell-ico{width:auto;height:auto;background:0 0!important}.shell-nav a:hover{background:var(--paper);color:var(--ink)}.shell-nav a[aria-current=page]{background:var(--brand-soft)}.shell-main{margin-left:var(--nav-w);padding:28px 40px 64px}.subnav{margin:-28px -40px 24px;padding:12px 40px}}@media (min-width:1180px){.shell-main>.settings-layout{grid-template-columns:196px minmax(0,46rem);align-items:start;gap:36px;max-width:64rem;margin:0;display:grid}.subnav{top:calc(var(--bar-h) + 28px);background:0 0;border:0;flex-direction:column;gap:0;margin:0;padding:0;position:sticky;overflow:visible}.subnav-group{flex-direction:column;gap:1px;margin-bottom:16px;display:flex}.subnav-group>p{color:var(--ink-soft);margin:0 0 4px;padding:0 12px;font-size:.75rem;font-weight:600;display:block}.subnav a{background:0 0;border:0;border-radius:8px;padding:6px 12px}.subnav a:hover{background:var(--sheet)}.subnav a[aria-current=page]{color:var(--brand-text);background:var(--brand-soft)}}.ai-status{color:var(--ink-soft);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;font-size:.9rem;display:flex}.ai-status .tag{margin-left:0}.ai-tabs{scrollbar-width:none;gap:6px;margin:0 0 16px;padding:2px 0;display:flex;overflow-x:auto}.ai-tabs::-webkit-scrollbar{display:none}.ai-tabs a{white-space:nowrap;color:var(--ink);background:var(--sheet);border:1px solid var(--rule);border-radius:999px;flex:none;padding:6px 14px;font-size:.9rem;text-decoration:none}.ai-tabs a[aria-current=page]{color:#fff;background:var(--brand-fill,var(--scrub));border-color:var(--brand-fill,var(--scrub));font-weight:600}.ai-chat .hint{margin-top:0}.ai-log{background:var(--paper);border-radius:12px;gap:12px;min-height:220px;max-height:60dvh;margin:12px 0;padding:12px;display:grid;overflow-y:auto}.ai-empty{color:var(--ink-soft);text-align:center;margin:auto;font-size:.9rem}.ai-turn{gap:6px;max-width:88%;display:grid}.ai-user{justify-self:end}.ai-assistant{justify-self:start}.ai-bubble{white-space:pre-line;overflow-wrap:anywhere;border-radius:16px;margin:0;padding:9px 13px;line-height:1.55}.ai-user .ai-bubble{color:#fff;background:var(--brand-fill,var(--scrub));border-bottom-right-radius:4px}.ai-assistant .ai-bubble{background:var(--sheet);border:1px solid var(--rule);border-bottom-left-radius:4px}.ai-typing{color:var(--ink-soft)}.ai-meta{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}.ai-meta .tag{margin-left:0;font-size:.75rem}.ai-feedback{flex-wrap:wrap;gap:4px 12px;width:100%;font-size:.85rem;display:flex}.ai-feedback .link-button{font-size:.85rem}.ai-fix{width:100%}.ai-fix label{font-size:.85rem;font-weight:500;display:block}.ai-fix textarea{width:100%;font:inherit;border:1px solid var(--rule);border-radius:8px;margin:4px 0 8px;padding:8px}.ai-input{gap:8px;margin:0 0 8px;display:flex}.ai-input input{min-width:0;font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--rule);border-radius:8px;flex:1;padding:.65rem .8rem}.ai-input .button{flex:none;width:auto;padding-left:1.2rem;padding-right:1.2rem}.ai-facts{gap:8px;margin:0;padding:0;list-style:none;display:grid}.ai-facts li{flex-wrap:wrap;align-items:baseline;gap:4px 8px;display:flex}.ai-facts strong{font-size:1.1rem}.ai-rules{border-top:1px solid var(--rule);padding:12px 0}.ai-rules:first-of-type{border-top:0;padding-top:0}.ai-rules h3{margin:0;font-size:1.05rem}.ai-rules .hint{margin:2px 0 8px}.ai-rule-list{gap:6px;margin:0 0 8px;padding:0;list-style:none;display:grid}.ai-rule-list li{background:var(--paper);border-radius:8px;justify-content:space-between;gap:12px;padding:8px 10px;display:flex}.ai-choices{flex-wrap:wrap;gap:4px 18px;display:flex}.ai-hard{background:var(--paper)}.ai-hard ul{color:var(--ink-soft);margin:0;padding-left:1.2rem}.ai-case-tags{flex-wrap:wrap;gap:4px;margin:4px 0;display:flex}.ai-progress{gap:6px;display:grid}.ai-progress progress{width:100%;height:10px;accent-color:var(--brand-fill,var(--scrub))}.ai-results{gap:8px;margin:8px 0 0;padding:0;list-style:none;display:grid}.ai-result{background:var(--paper);border-left:4px solid #0000;border-radius:10px;padding:10px 12px}.ai-result-block{background:#fff7ed;border-left-color:#c2410c}.ai-result-warn{border-left-color:#ca8a04}.ai-passed{margin-top:12px}.ai-passed summary{cursor:pointer;padding:6px 0;font-weight:600}.ai-compare-wrap{overflow-x:auto}.ai-compare{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.ai-compare th,.ai-compare td{text-align:left;border-bottom:1px solid var(--line,#e5e7eb);vertical-align:top;padding:8px 6px}.ai-compare td:first-child{font-weight:600}.ai-compare th{color:var(--ink-soft);font-size:.85rem;font-weight:600}.shell-ico{position:relative}.shell-badge{color:#fff;text-align:center;background:#c2410c;border-radius:9px;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;line-height:18px;position:absolute;top:-4px;right:6px}.shell:has(.ib) .shell-main{padding:0}.shell:has(.ib) .shell-main>*{max-width:none;margin:0}.ib{height:calc(100dvh - var(--bar-h) - 68px - env(safe-area-inset-bottom));background:var(--paper);display:flex;position:relative}.ib button{font:inherit;cursor:pointer}.ib-list{background:var(--sheet);flex-direction:column;flex:1;min-width:0;display:flex}.ib-list-head{padding:14px 14px 8px}.ib-list-head h1{margin:0 0 8px;font-size:1.35rem}.ib-list-head input{background:var(--paper);width:100%;height:40px;font:inherit;border:0;border-radius:10px;padding:0 12px}.ib-tabs{background:var(--paper);border-radius:10px;gap:2px;margin-top:10px;padding:3px;display:flex}.ib-tabs button{height:34px;color:var(--ink-soft);background:0 0;border:0;border-radius:8px;flex:1;font-size:.88rem}.ib-tabs button[aria-selected=true]{background:var(--sheet);color:var(--ink);font-weight:600;box-shadow:0 1px 2px #00000014}.ib-tab-hot{color:#c2410c;font-weight:700}.ib-rows{flex:1;padding:2px 6px 10px;overflow-y:auto}.ib-row{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:10px 10px 10px 16px;display:flex;position:relative}.ib-row:hover{background:var(--paper)}.ib-row[aria-current=true]{background:var(--brand-soft)}.ib-bar{border-radius:2px;width:3px;position:absolute;top:12px;bottom:12px;left:4px}.ib-av{color:#33414a;background:#e3e8ef;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-weight:600;display:grid;position:relative}.ib-av-lg{width:48px;height:48px;font-size:1.1rem}.ib-ch{border:2px solid var(--sheet);border-radius:50%;width:14px;height:14px;position:absolute;bottom:-2px;right:-2px}.ib-row-text{flex-direction:column;flex:1;min-width:0;display:flex}.ib-row-top,.ib-row-bottom{justify-content:space-between;align-items:center;gap:8px;display:flex}.ib-name{white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.ib-when{color:var(--ink-soft);flex:none;font-size:.75rem}.ib-wait{color:#c2410c;flex:none;font-size:.75rem;font-weight:700}.ib-preview{min-width:0;color:var(--ink-soft);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.86rem;overflow:hidden}.ib-preview-new{color:var(--ink);font-weight:500}.ib-unread{color:#fff;text-align:center;border-radius:10px;flex:none;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;font-weight:700;line-height:20px}.ib-legend{border-top:1px solid var(--rule);color:var(--ink-soft);gap:12px;margin:0;padding:8px 16px;font-size:.75rem;display:flex}.ib-legend i{border-radius:2px;width:8px;height:8px;margin-right:4px;display:inline-block}.ib-empty{color:var(--ink-soft);margin:16px;font-size:.9rem}.ib-thread{background:var(--paper);flex-direction:column;flex:1;min-width:0;display:none}.ib-head{background:var(--sheet);border-bottom:1px solid var(--rule);align-items:center;gap:8px;padding:8px 12px;display:flex}.ib-head-text{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.ib-head-text strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ib-head-text span{color:var(--ink-soft);font-size:.8rem}.ib-head .button{padding:.5rem .9rem}.ib-resume{align-items:center;gap:6px;display:inline-flex}.ib-icon{border:1px solid var(--rule);background:var(--sheet);width:40px;height:40px;color:var(--ink);border-radius:10px;flex:none;place-items:center;display:grid}.ib-back{border:0}.ib-more{position:relative}.ib-more summary{border:1px solid var(--rule);background:var(--sheet);cursor:pointer;border-radius:10px;place-items:center;width:40px;height:40px;list-style:none;display:grid}.ib-more summary::-webkit-details-marker{display:none}.ib-more-menu{z-index:20;background:var(--sheet);border:1px solid var(--rule);border-radius:12px;gap:8px;width:230px;padding:12px;display:grid;position:absolute;top:46px;right:0;box-shadow:0 16px 36px -16px #1d252959}.ib-more-menu label{color:var(--ink-soft);font-size:.8rem}.ib-more-menu select{border:1px solid var(--rule);background:var(--sheet);height:38px;font:inherit;border-radius:8px}.ib-window{color:#6b3400;background:#fff7ef;border-bottom:1px solid #f3c9a8;margin:0;padding:8px 16px;font-size:.85rem}.ib-msgs{flex-direction:column;flex:1;gap:10px;padding:16px 18px;display:flex;overflow-y:auto}.ib-msg-wrap{flex-direction:column;gap:10px;display:flex}.ib-day{color:var(--ink-soft);align-self:center;margin:0;font-size:.75rem}.ib-msg{flex-direction:column;align-items:flex-start;display:flex}.ib-msg-out{align-items:flex-end}.ib-bubble{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sheet);border:1px solid var(--rule);border-radius:16px 16px 16px 4px;max-width:min(70%,34rem);padding:9px 13px;line-height:1.6}.ib-bubble-ai{background:#e8ecf1;border-color:#d3dae3;border-radius:16px 16px 4px}.ib-bubble-staff{background:var(--brand-soft);border-color:var(--brand-line);border-radius:16px 16px 4px}.ib-by{color:#4b5563;align-items:center;gap:4px;margin-bottom:2px;font-size:.75rem;font-weight:600;display:flex}.ib-srcs{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.ib-src{background:var(--sheet);color:#33414a;border:1px solid #dfe4ea;border-radius:999px;padding:0 8px;font-size:.72rem}.ib-meta{color:var(--ink-soft);margin:3px 6px 0;font-size:.72rem}.ib-note{white-space:pre-wrap;background:#fff8db;border:1px dashed #d9b84a;border-radius:12px;align-self:center;max-width:80%;padding:8px 14px;font-size:.9rem;line-height:1.55}.ib-note small{color:#6b5000;font-size:.72rem;font-weight:600;display:block}.ib-note small:last-child{margin-top:2px;font-weight:400}.ib-handoff{background:var(--sheet);border:1px solid #f0c9a8;border-radius:12px;flex-direction:column;gap:2px;padding:10px 14px;font-size:.9rem;line-height:1.55;display:flex;box-shadow:inset 4px 0 #c2410c}.ib-handoff strong{color:#8f4300}.ib-composer{background:var(--sheet);border-top:1px solid var(--rule);padding:6px 12px 12px;position:relative}.ib-composer-note{background:#fffbea}.ib-tools{align-items:center;gap:2px;display:flex}.ib-tool{color:#33414a;background:0 0;border:0;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.ib-tool:hover,.ib-tool[aria-expanded=true]{background:var(--paper)}.ib-tools-gap{flex:1}.ib-mode{background:var(--paper);border-radius:8px;padding:2px;display:inline-flex}.ib-mode button{height:30px;color:var(--ink-soft);background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:.8rem}.ib-mode button[aria-selected=true]{background:var(--sheet);color:var(--ink);font-weight:600}.ib-input{align-items:flex-end;gap:8px;margin-top:4px;display:flex}.ib-input textarea{resize:vertical;min-height:46px;max-height:160px;font:inherit;border:1px solid var(--rule);background:var(--sheet);border-radius:12px;flex:1;padding:10px 12px}.ib-hint{color:var(--ink-soft);margin:6px 2px 0;font-size:.75rem}.ib-picker{z-index:15;background:var(--sheet);border:1px solid var(--rule);border-radius:14px;width:min(440px,100% - 24px);max-height:340px;padding:6px;position:absolute;bottom:calc(100% + 6px);left:12px;overflow-y:auto;box-shadow:0 18px 40px -18px #1d252959}.ib-pick{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;border-radius:10px;flex-direction:column;gap:2px;padding:9px 11px;display:flex}.ib-pick:hover{background:var(--paper)}.ib-pick span{color:var(--ink-soft);white-space:pre-line;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;display:-webkit-box;overflow:hidden}.ib-pick small{color:var(--ink-soft);font-weight:400}.ib-picker-foot{color:var(--ink-soft);margin:4px 8px;font-size:.75rem}.ib-panel{background:var(--sheet);flex-direction:column;display:none;overflow-y:auto}.ib-panel-close{border:0;border-bottom:1px solid var(--rule);text-align:left;color:var(--brand-text);background:0 0;padding:12px 16px;display:block}.ib-panel-head{align-items:center;gap:12px;padding:16px;display:flex}.ib-panel-head div{flex-direction:column;min-width:0;display:flex}.ib-panel-head small{color:var(--ink-soft);font-size:.82rem}.ib-dup{background:#fff7ef;border-radius:10px;margin:0 16px 12px;padding:10px 12px;font-size:.82rem;line-height:1.5}.ib-dup-soft{background:var(--paper)}.ib-sec{border-top:1px solid var(--rule);flex-direction:column;gap:4px;padding:12px 16px;display:flex}.ib-sec h3,.ib-sec label{color:var(--ink-soft);margin:0;font-size:.8rem;font-weight:600}.ib-sec p{margin:0}.ib-sec select{border:1px solid var(--rule);background:var(--sheet);height:38px;font:inherit;border-radius:9px}.ib-sec a{font-size:.85rem}.ib-strong{font-weight:600}.ib-soft{color:var(--ink-soft);font-size:.88rem}.ib-fold summary{cursor:pointer;border-top:1px solid var(--rule);padding:12px 16px;font-size:.88rem;font-weight:600}.ib-fold p{margin:0 16px 8px;font-size:.86rem}.ib-blank{color:var(--ink-soft);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;display:none}.ib-toast{z-index:30;color:#fff;background:#1d2529;border-radius:12px;align-items:center;gap:12px;padding:10px 14px;font-size:.88rem;display:flex;position:absolute;bottom:120px;right:16px;box-shadow:0 16px 36px -16px #00000080}.ib-toast button{color:#9cc0ff;background:0 0;border:0;font-weight:600}.ct-vars{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.ct-var{background:var(--brand-soft);height:30px;color:var(--brand-text);font:inherit;cursor:pointer;border:1px dashed #b9c6dc;border-radius:8px;padding:0 10px;font-size:.85rem}.ct-preview{background:var(--paper);border-radius:12px;margin:0 0 1rem;padding:12px 14px}.ct-preview p{white-space:pre-line;margin:4px 0 0}.ib-open .ib-list{display:none}.ib-open .ib-thread{display:flex}.ib-open.ib-showpanel .ib-thread{display:none}.ib-open.ib-showpanel .ib-panel{flex:1;display:flex}@media (min-width:900px){.shell:has(.ib){--nav-w:84px}.shell:has(.ib) .shell-nav a{text-align:center;flex-direction:column;gap:2px;padding:8px 2px;font-size:.72rem}.ib{height:calc(100dvh - var(--bar-h))}.ib-list,.ib-open .ib-list{border-right:1px solid var(--rule);flex:none;width:320px;display:flex}.ib-thread{display:none}.ib-open .ib-thread,.ib-open.ib-showpanel .ib-thread,.ib-blank{display:flex}.ib-open .ib-blank,.ib-back,.ib-panel-close{display:none}.ib-open.ib-showpanel .ib-panel{border-left:1px solid var(--rule);flex:none;width:300px;display:flex}}.ib-input textarea{min-width:0}.ib-input .button{flex:none;width:auto;min-width:84px}.ib-head{flex-wrap:wrap}.ib-head-text{flex:1 1 0}.ib-head .button{flex:1 0 100%;order:5;width:auto}@media (min-width:900px){.ib-head{flex-wrap:nowrap}.ib-head .button{flex:none;order:0}}@media (max-width:899px){.shell-nav a{white-space:nowrap;font-size:.7rem}.shell-ico{width:46px}}.page-loading{gap:14px;padding-top:4px;display:grid}.sk{background:linear-gradient(90deg,#eceff3 0%,#f6f7f9 50%,#eceff3 100%) 0 0/200% 100%;border-radius:12px;animation:1.1s ease-in-out infinite sk}.sk-title{width:40%;height:30px}.sk-line{width:70%;height:16px}.sk-card{height:96px}@keyframes sk{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){.sk{animation:none}}.button:active:not([disabled]),.shell-nav a:active,.ib-row:active,.link-button:active{transform:scale(.97)}.button,.shell-nav a,.ib-row{transition:transform 80ms ease-out}
