.ar-root{--ar-ink:#183e56;--ar-muted:#587080;--ar-line:#d8e4eb;--ar-paper:#fff;--ar-soft:#f3f7fa;--ar-teal:#19767c;color:var(--ar-ink);max-width:1140px;margin:0 auto}.ar-root *{box-sizing:border-box}.ar-root [hidden]{display:none!important}.ar-root h1{font-size:clamp(1.95rem,3.4vw,2.8rem);line-height:1.16;letter-spacing:-.035em;margin:.35rem 0 .75rem}.ar-root h2{font-size:1.2rem;line-height:1.4}.ar-root h3{font-size:1rem;line-height:1.45}.ar-root p{line-height:1.65}.ar-root .button{min-height:42px;border-radius:9px;padding:.7rem 1rem;font-size:.85rem;line-height:1.4;gap:.5rem}.ar-root .button.primary{background:#173f69;color:white;border-color:#173f69}.ar-root .button:disabled{opacity:.55;cursor:default}.ar-root button:focus-visible,.ar-root a:focus-visible,.ar-root input:focus-visible,.ar-root textarea:focus-visible,.ar-root select:focus-visible,.ar-root summary:focus-visible{outline:3px solid #20898d;outline-offset:3px}.ar-root label{display:grid;gap:.45rem;font-size:.85rem;font-weight:650}.ar-root input:not([type=checkbox]):not([type=radio]),.ar-root select,.ar-root textarea{width:100%;padding:.8rem .85rem;min-height:44px;border:1px solid #bfcfdc;border-radius:8px;background:var(--ar-paper);color:var(--ar-ink);font:inherit;font-weight:400;max-width:100%}.ar-root textarea{resize:vertical;line-height:1.5}.ar-root input[type=checkbox]{accent-color:var(--ar-teal);width:19px;height:19px;flex-shrink:0}.ar-root .ar-check{display:flex;gap:.75rem;align-items:flex-start;font-weight:500;padding:.8rem 0;line-height:1.6}.ar-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;font-weight:750;color:var(--ar-teal)}.ar-heading{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-start;margin-bottom:1.5rem}.ar-heading p{color:var(--ar-muted);margin:.4rem 0;max-width:60ch;font-size:.9rem}.ar-heading-tools{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;max-width:320px}.ar-user-tabs,.ar-admin-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.25rem}.ar-user-tabs .button[aria-pressed=true],.ar-admin-tabs .button[aria-current=page]{background:#173f69;color:white;border-color:#173f69}.ar-feedback:empty{display:none}.ar-feedback:not(:empty),.ar-form-feedback:not(:empty),.ar-modal-feedback:not(:empty){font-size:.85rem;padding:.9rem 1rem;background:#fff3d7;color:#71551a;border-left:3px solid #b58925;border-radius:6px;line-height:1.6;margin:1rem 0;white-space:pre-line}.ar-muted,.ar-footnote{font-size:.8rem;color:var(--ar-muted);line-height:1.6}.ar-notice{padding:1rem 1.2rem;background:var(--ar-soft);border:1px solid var(--ar-line);border-left:3px solid var(--ar-teal);border-radius:8px;font-size:.85rem;line-height:1.6}.ar-preline{white-space:pre-line;overflow-wrap:anywhere}.ar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin-top:1rem}.ar-link{color:var(--ar-teal);font-size:.85rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}.ar-chat-layout{display:grid;grid-template-columns:185px minmax(0,1fr);border:1px solid var(--ar-line);border-radius:14px;overflow:hidden;background:var(--ar-paper);box-shadow:0 4px 22px #173d5610}.ar-history{border-right:1px solid var(--ar-line);background:var(--ar-soft);padding:1rem .8rem}.ar-history-head{display:grid;gap:.8rem;padding:0 .2rem 1rem}.ar-history-head strong{font-size:.8rem}.ar-history-head .button{font-size:.75rem;min-height:36px;padding:.5rem}.ar-history nav{display:grid;gap:.3rem;max-height:620px;overflow:auto}.ar-history nav>button{border:0;background:transparent;border-radius:8px;text-align:left;padding:.75rem .6rem;font:inherit;color:var(--ar-ink);cursor:pointer;min-width:0}.ar-history nav>button[aria-current=page]{background:#e1edf4;border:1px solid #b7cfdc}.ar-history nav>button>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;font-weight:650}.ar-history nav>button small{display:block;font-size:.65rem;color:var(--ar-muted);margin-top:.35rem}.ar-chat-main{min-width:0;display:flex;flex-direction:column}.ar-transcript{height:min(62dvh,650px);min-height:350px;overflow-y:auto;overscroll-behavior:contain;padding:1.6rem;background:var(--ar-paper);scroll-behavior:smooth}.ar-message{margin-bottom:1.5rem;max-width:96%}.ar-message.is-user{margin-left:auto;max-width:85%}.ar-message-by{display:block;font-size:.67rem;font-weight:750;letter-spacing:.04em;color:var(--ar-muted);margin:0 0 .45rem .1rem}.ar-message.is-user .ar-message-by{text-align:right}.ar-bubble{padding:1rem 1.15rem;border-radius:0 12px 12px;background:var(--ar-soft);overflow-wrap:anywhere}.ar-message.is-user .ar-bubble{background:#e4f2f1;border-radius:12px 0 12px 12px}.ar-bubble>p{margin:0;white-space:pre-line;font-size:.9rem}.ar-message-actions,.ar-starters{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.7rem}.ar-message-actions .button,.ar-starters .button{font-size:.73rem;min-height:36px;padding:.5rem .7rem;background:var(--ar-paper);border:1px solid var(--ar-line);color:var(--ar-ink)}.ar-source{margin-top:1rem;padding:1rem;border:1px solid var(--ar-line);border-radius:8px;background:var(--ar-paper)}.ar-source h3{margin:.4rem 0 .6rem}.ar-source-text p{font-size:.82rem;white-space:pre-line}.ar-source summary{cursor:pointer;font-size:.8rem;font-weight:650;color:var(--ar-teal)}.ar-source .ar-eyebrow{font-size:.6rem}.ar-source-meta{font-size:.68rem!important;line-height:1.6!important;color:var(--ar-muted);margin:.6rem 0}.ar-working{color:var(--ar-muted);font-size:.8rem}.ar-compose{border-top:1px solid var(--ar-line);padding:1rem 1.2rem;background:var(--ar-soft)}.ar-compose>label{font-size:.75rem}.ar-compose>div{display:flex;align-items:flex-end;gap:.6rem;margin-top:.45rem}.ar-compose textarea{min-height:70px;max-height:200px;flex:1}.ar-compose .button{margin:0;flex-shrink:0;min-height:45px}.ar-compose small{display:block;font-size:.66rem;color:var(--ar-muted);line-height:1.55;margin-top:.65rem}.ar-data-note{margin-top:1.2rem;border-top:1px solid var(--ar-line);padding-top:.8rem;font-size:.72rem;color:var(--ar-muted)}.ar-data-note p{margin:.4rem 0}.ar-case-strip{font-size:.75rem;background:#e5f3ed;color:#1b6650;padding:.75rem 1.2rem}.ar-case-strip button{border:0;background:transparent;color:inherit;font:inherit;font-weight:750;cursor:pointer;text-decoration:underline}.ar-guest{max-width:960px;padding:1rem 0}.ar-guest-mark{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.ar-guest-mark img{border-radius:50%;object-fit:contain}.ar-guest-mark>span{font-size:.8rem;color:var(--ar-muted)}.ar-lead{font-size:1.08rem;color:var(--ar-muted);max-width:65ch}.ar-guest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}.ar-guest-grid article{border-top:3px solid #2a858a;padding:1.2rem;background:var(--ar-paper);border-radius:0 0 10px 10px}.ar-guest-grid h2{font-size:1.05rem;margin:.2rem 0 .8rem}.ar-guest-grid p{font-size:.85rem;color:var(--ar-muted)}.ar-access{padding:1.6rem;background:var(--ar-soft);border:1px solid var(--ar-line);border-radius:12px;margin-bottom:1.5rem}.ar-access h2{margin:0}.ar-access .button{margin:.5rem .5rem 0 0}.ar-appointments{max-width:900px}.ar-appointments>header p{font-size:.85rem;color:var(--ar-muted)}.ar-appointment{padding:1.3rem;border:1px solid var(--ar-line);border-radius:12px;background:var(--ar-paper);margin:1rem 0;display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-start}.ar-appointment h3{margin:.6rem 0}.ar-appointment p{font-size:.85rem;margin:.5rem 0}.ar-appointment small{font-size:.65rem;overflow-wrap:anywhere;color:var(--ar-muted)}.ar-appointment .ar-actions{display:grid;max-width:200px;margin-top:0}.ar-appointment-time{color:var(--ar-teal)}.ar-appointment-time strong{font-size:1.15rem}.ar-badge{display:inline-flex;padding:.28rem .6rem;border-radius:20px;background:#eaf0f4;color:#516b7d;font-size:.67rem;font-weight:750;line-height:1.5}.ar-badge.is-confirmed{background:#e0f2e9;color:#1e6449}.ar-badge.is-cancelled{background:#f4e8e8;color:#8a4141}.ar-badge.is-attended{background:#e5eefb;color:#315f8c}.ar-badge.is-review{background:#fff0d4;color:#8c621d}.ar-agenda-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:2rem 0 1rem}.ar-agenda-heading>label{min-width:200px}.ar-slot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ar-slot{padding:1.2rem;border:1px solid var(--ar-line);border-radius:12px;background:var(--ar-paper);display:flex;flex-direction:column;align-items:flex-start}.ar-slot>span{font-size:.72rem;color:var(--ar-muted)}.ar-slot>strong{font-size:1.2rem;margin:.4rem 0;color:var(--ar-teal)}.ar-slot h3{margin:.4rem 0}.ar-slot p{font-size:.8rem;color:var(--ar-muted);margin:.25rem 0}.ar-slot>.button{margin-top:1rem}.ar-empty{padding:1.8rem;border:1px dashed #b2c8d5;border-radius:12px;background:var(--ar-soft)}.ar-empty h3{margin:0}.ar-empty p{color:var(--ar-muted);font-size:.85rem}.ar-past{margin-top:1.5rem}.ar-past>summary{padding:1rem;border:1px solid var(--ar-line);border-radius:8px;background:var(--ar-paper);font-size:.85rem;font-weight:650;cursor:pointer}.ar-dialog{color:var(--ar-ink);background:var(--ar-paper);border:1px solid var(--ar-line);border-radius:14px;max-width:620px;width:calc(100% - 28px);max-height:90dvh;padding:1.5rem;box-shadow:0 20px 80px #102c4450}.ar-dialog::backdrop{background:#11283c88}.ar-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;border-bottom:1px solid var(--ar-line);padding-bottom:1rem;margin-bottom:1rem}.ar-dialog-head h2{margin:0}.ar-dialog-head .button{min-height:34px;padding:.4rem .65rem;font-size:.75rem}.ar-dialog form>label{margin:1rem 0}.ar-dialog p{font-size:.9rem}.ar-booking-summary{background:var(--ar-soft);padding:1.2rem;border-radius:8px;border-left:3px solid var(--ar-teal);margin-bottom:1rem}.ar-booking-summary p{margin:.6rem 0}.ar-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin:1.5rem 0}.ar-admin-metrics>div{border:1px solid var(--ar-line);border-radius:10px;background:var(--ar-paper);padding:1rem}.ar-admin-metrics strong{display:block;font-size:1.9rem;font-variant-numeric:tabular-nums}.ar-admin-metrics span{font-size:.72rem;color:var(--ar-muted)}.ar-slot-builder{border:1px solid var(--ar-line);border-radius:12px;background:var(--ar-paper);margin-bottom:1.8rem}.ar-slot-builder>summary{padding:1.2rem;cursor:pointer;font-weight:750;font-size:.95rem}.ar-slot-builder>form{padding:0 1.3rem 1.3rem}.ar-slot-builder>form>p{font-size:.85rem;color:var(--ar-muted)}.ar-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.ar-admin form>label{margin:1rem 0}.ar-slot-preview{padding:.8rem;background:var(--ar-soft);border-radius:7px;font-size:.8rem}.ar-section-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem}.ar-section-heading h2{margin:0}.ar-section-heading small{font-size:.7rem;color:var(--ar-muted)}.ar-admin-section{margin:1.7rem 0}.ar-admin-rows{display:grid;gap:.7rem}.ar-admin-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1.2rem;padding:1.1rem;background:var(--ar-paper);border:1px solid var(--ar-line);border-radius:10px}.ar-admin-row h3{font-size:.95rem;margin:.5rem 0}.ar-admin-row p{font-size:.8rem;color:var(--ar-muted);margin:.3rem 0}.ar-admin-row small{font-size:.7rem;color:var(--ar-muted)}.ar-admin-row>.ar-muted{max-width:160px;font-size:.7rem}.ar-pagination{display:flex;justify-content:center;align-items:center;gap:1rem;margin:1.2rem 0}.ar-pagination>span{font-size:.8rem;color:var(--ar-muted)}.ar-admin-appointment-actions{min-width:180px;max-width:240px;display:grid;gap:.6rem}.ar-admin-appointment-actions form{display:grid;gap:.6rem}.ar-admin-appointment-actions label{font-size:.72rem}.ar-knowledge-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:1.5rem;margin-top:1.5rem}.ar-knowledge-grid>section{min-width:0}.ar-knowledge-grid>section:first-child{padding:1.4rem;border:1px solid var(--ar-line);background:var(--ar-paper);border-radius:12px}.ar-kb-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--ar-line)}.ar-kb-row h3{font-size:.9rem;line-height:1.45;margin:.4rem 0}.ar-kb-row p{font-size:.75rem;color:var(--ar-muted);margin:.3rem 0}.ar-kb-row small{font-size:.65rem;color:var(--ar-muted)}.ar-config{max-width:780px;padding:1.5rem;background:var(--ar-paper);border:1px solid var(--ar-line);border-radius:12px}
@media(max-width:1180px){.ar-knowledge-grid{grid-template-columns:1fr}.ar-heading{display:block}.ar-heading-tools{justify-content:flex-start;max-width:none;margin-top:1rem}.ar-chat-layout{grid-template-columns:160px minmax(0,1fr)}.ar-history{padding:.7rem}.ar-transcript{padding:1.2rem}.ar-admin-metrics{gap:.5rem}.ar-admin-metrics>div{padding:.8rem}}
@media(max-width:760px){.ar-chat-layout{display:block}.ar-history{border-right:0;border-bottom:1px solid var(--ar-line)}.ar-history-head{display:flex;align-items:center;justify-content:space-between;padding:0 .3rem .6rem}.ar-history nav{display:flex;gap:.4rem;overflow-x:auto;max-height:80px}.ar-history nav>button{flex:0 0 170px}.ar-history nav>p{margin:.3rem}.ar-transcript{height:55dvh;min-height:320px}.ar-message{max-width:100%}.ar-compose{padding:.85rem}.ar-guest-grid{grid-template-columns:1fr}.ar-guest-grid article{padding:1rem}.ar-guest-grid h2{margin:0 0 .5rem}.ar-guest-grid p{margin:.3rem 0}.ar-appointment{display:block}.ar-appointment .ar-actions{display:flex;max-width:none;margin-top:1rem}.ar-admin-row{flex-direction:column}.ar-admin-appointment-actions{max-width:none;width:100%}.ar-section-heading{align-items:flex-start;flex-direction:column}.ar-knowledge-grid>section:first-child{padding:1rem}.ar-admin-tabs .button{font-size:.75rem;padding:.6rem .7rem}.ar-form-grid{grid-template-columns:1fr}.ar-slot-builder>form{padding:0 1rem 1rem}.ar-dialog{padding:1rem}.ar-config{padding:1rem}.ar-data-note{font-size:.68rem}}
@media(max-width:480px){.ar-slot-grid{grid-template-columns:1fr}.ar-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ar-user-tabs{gap:.35rem}.ar-user-tabs .button{font-size:.7rem;padding:.6rem}.ar-agenda-heading{display:block}.ar-agenda-heading>label{margin-top:.8rem}.ar-compose>div{display:block}.ar-compose .button{width:100%;margin-top:.6rem}.ar-bubble{padding:.85rem}.ar-source{padding:.8rem}.ar-heading-tools .button{font-size:.73rem}.ar-root h1{font-size:2rem}}
html[data-theme=dark] .ar-root{--ar-ink:#deebf3;--ar-muted:#aec4d3;--ar-line:#365267;--ar-paper:#142f42;--ar-soft:#1c3c51;--ar-teal:#83d2d1}html[data-theme=dark] .ar-message.is-user .ar-bubble{background:#1b484e}html[data-theme=dark] .ar-history nav>button[aria-current=page]{background:#204a63}html[data-theme=dark] .ar-case-strip{background:#204a3b;color:#d0eedf}html[data-theme=dark] .ar-root .button.primary{background:#254e7a;color:white}
@media(prefers-reduced-motion:reduce){.ar-transcript{scroll-behavior:auto}}
@media print{.ar-history,.ar-compose,.ar-user-tabs,.ar-admin-tabs,.ar-slot-builder,.ar-root .button,.ar-dialog{display:none!important}.ar-chat-layout{display:block}.ar-transcript{height:auto;overflow:visible}.ar-root{color:#111;--ar-ink:#111;--ar-muted:#444;--ar-line:#bbb;--ar-paper:white}.ar-admin-row,.ar-appointment{break-inside:avoid}}

/* AMET Responde 8.12: one task at a time. */
.ar-simple-guest{max-width:780px}.ar-simple-guest .ar-lead{font-size:1.4rem;font-weight:650;color:var(--ar-ink);margin:.7rem 0}.ar-simple-guest>.ar-footnote{margin-top:1.5rem}.ar-simple-guest .ar-access{margin:1.5rem 0;padding:1.5rem}.ar-simple-guest .ar-access p{margin:.75rem 0;font-size:.9rem;color:var(--ar-muted)}.ar-root .ar-text-button{border:0;background:transparent;color:var(--ar-teal);font:inherit;font-size:.88rem;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:.35rem 0;text-align:left}.ar-steps{list-style:none;padding:0;display:grid;gap:1.2rem;margin:2rem 0}.ar-steps li{display:flex;gap:1rem;align-items:flex-start}.ar-steps li>span,.ar-editor-step legend>span{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:var(--ar-soft);color:var(--ar-teal);border:1px solid var(--ar-line);font-weight:750}.ar-steps strong{font-size:.95rem}.ar-steps p{font-size:.9rem;color:var(--ar-muted);margin:.35rem 0 0}.ar-simple-user .ar-heading h1,.ar-simple-admin .ar-heading h1{font-size:clamp(1.7rem,3vw,2.3rem)}.ar-simple-user .ar-heading,.ar-simple-admin .ar-heading{margin-bottom:1rem}.ar-simple-user .ar-user-tabs{display:flex;background:var(--ar-paper);border:1px solid var(--ar-line);border-radius:12px;padding:.3rem;gap:.3rem;width:max-content;max-width:100%}.ar-simple-user .ar-user-tabs .button{margin:0;min-width:110px;font-size:.9rem;border:0;background:transparent;box-shadow:none;color:var(--ar-ink)}.ar-simple-user .ar-user-tabs .button[aria-pressed=true]{background:#173f69;color:white}.ar-simple-chat{display:block}.ar-simple-chat .ar-history{border-right:0;border-bottom:1px solid var(--ar-line);padding:0;background:var(--ar-soft)}.ar-simple-chat .ar-history>summary{padding:.9rem 1.2rem;font-size:.82rem;font-weight:650;cursor:pointer}.ar-simple-chat .ar-history>summary>span{display:inline-block;margin-left:.5rem;padding:0 .4rem;border:1px solid var(--ar-line);border-radius:5px;font-size:.7rem}.ar-simple-chat .ar-history nav{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));max-height:230px;padding:0 1rem 1rem;gap:.5rem;overflow:auto}.ar-simple-chat .ar-history nav>button{border:1px solid var(--ar-line);background:var(--ar-paper)}.ar-simple-chat .ar-transcript{height:clamp(300px,46dvh,540px);min-height:300px}.ar-chat-intro{padding:.2rem 0}.ar-chat-intro h2{font-size:1.25rem;margin:.4rem 0}.ar-chat-intro>p{font-size:.92rem;max-width:60ch}.ar-chat-intro .ar-muted{font-size:.82rem;margin-top:1.2rem}.ar-simple-chat .ar-compose .button{font-size:.88rem}.ar-chat-bottom{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.8rem 1.2rem;border-top:1px solid var(--ar-line)}.ar-data-note>summary{cursor:pointer;font-size:.8rem;font-weight:650;padding:.65rem 0}.ar-data-note ol{line-height:1.8;padding-left:1.3rem}.ar-root .ar-optional{border-top:1px solid var(--ar-line);margin:.9rem 0;padding:.7rem 0}.ar-optional>summary{cursor:pointer;font-size:.82rem;color:var(--ar-teal);font-weight:600}.ar-optional>label,.ar-optional>p{margin-top:.8rem}.ar-guide{border-left:3px solid var(--ar-teal);padding:.8rem 1rem;background:var(--ar-soft);font-size:.9rem}.ar-inbox{min-width:0}.ar-inbox .ar-section-heading{margin-top:.5rem}.ar-inbox h2{font-size:1.25rem}.ar-howto{display:flex;gap:.8rem 1.4rem;list-style:none;margin:1rem 0 1.4rem;padding:0;flex-wrap:wrap}.ar-howto li{font-size:.82rem;color:var(--ar-muted);display:flex;gap:.45rem;align-items:center}.ar-howto b{display:grid;place-items:center;min-width:25px;height:25px;background:var(--ar-soft);border:1px solid var(--ar-line);border-radius:50%;color:var(--ar-teal)}.ar-inbox-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}.ar-inbox-filters .button{background:var(--ar-paper);border:1px solid var(--ar-line);font-size:.85rem;margin:0;color:var(--ar-ink)}.ar-inbox-filters .button[aria-pressed=true]{border-color:#173f69;background:#173f69;color:#fff}.ar-inbox-filters .button>span{font-size:.73rem;font-weight:750;padding:.05rem .35rem;border-radius:5px;background:#97aeb522}.ar-inbox-search{max-width:540px;margin-bottom:.7rem}.ar-inbox-rows{display:grid;gap:.65rem}.ar-root .ar-case-row{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;gap:1rem;padding:1.1rem 1.2rem;border:1px solid var(--ar-line);border-radius:11px;background:var(--ar-paper);font:inherit;color:var(--ar-ink);cursor:pointer;box-shadow:none;transition:border-color .15s}.ar-case-row:hover{border-color:var(--ar-teal)}.ar-case-row>span:first-child{min-width:0}.ar-case-row strong{display:block;font-size:.97rem;line-height:1.5;overflow-wrap:anywhere;margin:.45rem 0}.ar-case-row small{display:block;color:var(--ar-muted);font-size:.75rem}.ar-case-open{flex-shrink:0;font-size:.8rem;font-weight:700;color:var(--ar-teal)}.ar-badge.is-open{color:#855b17;background:#fff0d0}.ar-badge.is-answered{color:#245c8a;background:#e6f0fb}.ar-badge.is-closed{color:#26634c;background:#e0f1e7}.ar-case-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin:1.4rem 0}.ar-case-heading h2{margin:.6rem 0;overflow-wrap:anywhere}.ar-case-messages{display:grid;gap:1rem;margin:1.3rem 0}.ar-case-message{padding:1.2rem;border:1px solid var(--ar-line);background:var(--ar-paper);border-radius:11px;overflow-wrap:anywhere}.ar-case-message.is-staff{border-left:4px solid var(--ar-teal);background:var(--ar-soft)}.ar-case-message header{display:flex;gap:.5rem 1rem;align-items:center;justify-content:space-between}.ar-case-message strong{font-size:.82rem}.ar-case-message small{font-size:.7rem;color:var(--ar-muted)}.ar-case-message p,.ar-reply-preview{white-space:pre-line;line-height:1.7;font-size:.92rem;overflow-wrap:anywhere}.ar-case-compose{padding:1.4rem;background:var(--ar-paper);border:1px solid var(--ar-line);border-radius:12px;margin:1.5rem 0}.ar-case-compose h3{margin:0 0 1rem}.ar-case-compose .ar-optional small{font-size:.75rem;color:var(--ar-muted)}.ar-reply-preview{background:var(--ar-soft);border:1px solid var(--ar-line);border-radius:8px;padding:1rem;max-height:40dvh;overflow:auto}.ar-resolve{display:flex;justify-content:space-between;gap:1rem;align-items:center;border-top:1px solid var(--ar-line);padding:1rem 0;margin:1rem 0}.ar-resolve strong{font-size:.9rem}.ar-resolve p{font-size:.8rem;color:var(--ar-muted);margin:.4rem 0;max-width:55ch}.ar-admin-tabs .button{font-size:.85rem}.ar-simple-admin .ar-knowledge{max-width:900px}.ar-editor-step{margin:1.2rem 0;padding:1.2rem 1.4rem;border:1px solid var(--ar-line);border-radius:10px;background:var(--ar-paper);min-width:0}.ar-editor-step legend{font-size:1rem;font-weight:700;padding:0 .5rem}.ar-editor-step legend>span{width:26px;height:26px;margin-right:.4rem;font-size:.8rem}.ar-editor-step label{margin:.9rem 0}.ar-simple-admin #ar-kb-editor{max-width:780px}.ar-simple-admin #ar-kb-library{border-top:1px solid var(--ar-line);padding-top:.5rem}.ar-simple-admin .ar-kb-row{padding:1.1rem .25rem}.ar-simple-admin .ar-kb-row .button{font-size:.85rem;min-width:75px}.ar-simple-admin .ar-slot-builder{margin-top:1rem}.ar-simple-admin .ar-slot-builder>summary{color:var(--ar-teal)}
@media(max-width:760px){.ar-howto{display:grid;gap:.5rem}.ar-simple-chat .ar-history nav{display:grid;grid-template-columns:1fr;max-height:200px}.ar-simple-chat .ar-history nav>button{flex:initial}.ar-chat-bottom{padding:.8rem;flex-wrap:wrap}.ar-simple-user .ar-user-tabs{width:100%}.ar-simple-user .ar-user-tabs .button{min-width:0;flex:1;padding:.75rem .5rem;font-size:.82rem}.ar-case-row{padding:1rem!important}.ar-case-open{font-size:.75rem;max-width:70px}.ar-case-message header,.ar-case-heading,.ar-resolve{align-items:flex-start;flex-direction:column}.ar-case-compose,.ar-editor-step{padding:1rem}.ar-inbox-filters .button{flex:1 0 40%;justify-content:space-between}.ar-simple-guest .ar-access{padding:1rem}.ar-simple-guest .ar-access>.button{width:100%;margin:0}.ar-simple-user .ar-heading>.button{margin-top:.7rem}}

.ar-root .ar-document-excerpt{padding:.8rem 1rem;border-left:3px solid var(--ar-teal);background:var(--ar-soft);font-size:.84rem;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere}.ar-root .ar-source details{margin:.6rem 0}.ar-root .ar-source details summary{cursor:pointer;font-weight:650}
