/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:Manrope, Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-xl:1.25rem;--font-weight-semibold:600;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-xl:.75rem;--radius-2xl:1rem;--default-font-family:Manrope, Arial, sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--line-height);margin:0}button,select,textarea,input{font:inherit}button:not(:disabled),summary{cursor:pointer}button,select,textarea,input{-webkit-tap-highlight-color:transparent}:focus-visible{outline:var(--focus-width) solid var(--accent);outline-offset:var(--space-1)}::selection{background:var(--added-bg);color:var(--text)}textarea,input{caret-color:var(--accent)}*{scrollbar-color:var(--border) var(--surface);scrollbar-width:thin}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.relative{position:relative}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline-flex{display:inline-flex}.min-h-12{min-height:calc(var(--spacing) * 12)}.w-full{width:100%}.shrink-0{flex-shrink:0}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.resize-y{resize:vertical}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing) * 2)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-border{border-color:var(--border)}.border-transparent{border-color:#0000}.bg-card{background-color:var(--surface)}.bg-primary{background-color:var(--accent)}.bg-secondary{background-color:var(--surface-raised)}.bg-transparent{background-color:#0000}.p-4{padding:calc(var(--spacing) * 4)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-foreground{color:var(--text)}.text-muted-foreground{color:var(--muted)}.text-primary-foreground{color:var(--accent-ink)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.outline-none{--tw-outline-style:none;outline-style:none}.placeholder\:text-muted-foreground::placeholder{color:var(--muted)}.focus\:border-primary:focus{border-color:var(--accent)}.focus-visible\:border-primary-foreground:focus-visible{border-color:var(--accent-ink)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-primary:focus-visible{outline-color:var(--accent)}@media (hover:hover){.enabled\:hover\:border-primary:enabled:hover{border-color:var(--accent)}.enabled\:hover\:bg-secondary:enabled:hover{background-color:var(--surface-raised)}.enabled\:hover\:text-foreground:enabled:hover{color:var(--text)}.enabled\:hover\:brightness-110:enabled:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.disabled\:cursor-default:disabled{cursor:default}.disabled\:opacity-50:disabled{opacity:.5}}@font-face{font-family:Literata;font-style:italic;font-weight:200 900;font-display:swap;src:url(/fonts/literata-italic-variable.ttf)format("truetype")}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-variable.ttf)format("truetype")}@font-face{font-family:Spectral;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/spectral-400.ttf)format("truetype")}@font-face{font-family:Spectral;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/spectral-700.ttf)format("truetype")}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f5f3ec;--surface:#fffefa;--surface-raised:#eee9dd;--border:#7d8d80;--line:#dfe3dc;--text:#24332d;--muted:#5b6861;--faint:#5b6861;--accent:#176b4c;--accent-ink:#fff;--added:#24332d;--added-bg:#dbeade;--removed:#9b3539;--removed-bg:#f5dfdc;--overlay:#14251cb3;--font-sans:Manrope, Arial, sans-serif;--font-writing:Spectral, Georgia, serif;--font-mono:ui-monospace, Consolas, monospace;--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-lg:1.125rem;--text-xl:1.5rem;--text-title:clamp(2rem, 5vw, 3rem);--space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--radius:1.375rem;--radius-sm:.75rem;--radius-pill:100rem;--line-height:1.65;--control:3rem;--page-width:75rem;--editor-height:10rem;--editor-height-mobile:11.25rem;--heading-height:3rem;--border-width:1px;--focus-width:2px}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#161819;--surface:#222627;--surface-raised:#2c3231;--border:#65766e;--line:#39423e;--text:#eef0ed;--muted:#a9b2ad;--faint:#a9b2ad;--accent:#79d3ae;--accent-ink:#102a20;--added:#eef0ed;--added-bg:#29493d;--removed:#ffb8bc;--removed-bg:#502c31;--overlay:#080e0ccc}@media (prefers-color-scheme:dark){:root:not([data-theme=light]):not([data-theme=dark]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#161819;--surface:#222627;--surface-raised:#2c3231;--border:#65766e;--line:#39423e;--text:#eef0ed;--muted:#a9b2ad;--faint:#a9b2ad;--accent:#79d3ae;--accent-ink:#102a20;--added:#eef0ed;--added-bg:#29493d;--removed:#ffb8bc;--removed-bg:#502c31;--overlay:#080e0ccc}}.shell input:not([type=radio]):focus,.shell select:focus,.shell textarea:focus{outline:2px solid var(--accent);outline-offset:2px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}.history-page>h1{margin-bottom:var(--space-4)}.history-page button,.history-page select{border-radius:var(--radius-control);font-size:var(--text-sm)}.history-page button{min-height:var(--control);padding-inline:var(--space-3)}.history-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:20px;display:grid}.history-toolbar-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.history-toolbar-actions .sort-field{margin-left:auto}.search-field{position:relative}.search-field>svg{color:var(--muted);pointer-events:none;position:absolute;top:15px;left:16px}.history-page .search-field input{border-color:var(--line);border-radius:var(--radius-pill);padding-left:44px}.history-page .filter-trigger{border-color:var(--border);border-radius:var(--radius-control);background:var(--surface-raised);color:var(--text);gap:6px}.history-page .filter-trigger[aria-expanded=true]{color:var(--accent);border-color:var(--accent)}.filter-count{background:var(--accent);width:22px;height:22px;color:var(--accent-ink);border-radius:50%;place-items:center;font-size:12px;display:grid}.history-field{gap:var(--space-1);min-width:0;color:var(--muted);font-size:var(--text-sm);display:grid}.history-field input,.history-field select{width:100%;min-width:0;min-height:var(--control);padding:var(--space-2) var(--space-3);border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font:inherit}.history-field input::placeholder{color:var(--faint)}.filter-panel{margin-top:var(--space-3)}.filter-panel>summary{width:fit-content;min-height:var(--control);padding-block:var(--space-3);color:var(--muted)}.filter-fields{align-items:end;gap:var(--space-3);background:0 0;border-radius:0;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));padding:16px 0 8px;display:grid}.filter-fields[hidden]{display:none}.filter-fields .history-field input{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding-inline:2px}.filter-fields .history-field select,.history-page .sort-field select{appearance:none;border:1px solid var(--border);background:var(--surface);color:var(--text);color-scheme:inherit;border-radius:12px;padding:10px 42px 10px 14px}.history-field:has(>select){position:relative}.history-field:has(>select):after{content:"";border-right:1.8px solid var(--text);border-bottom:1.8px solid var(--text);pointer-events:none;width:7px;height:7px;position:absolute;bottom:22px;right:18px;transform:rotate(45deg)}@media (forced-colors:active){.history-page select{appearance:auto}.history-field:has(>select):after{display:none}}.history-page select option,.history-page select optgroup{background:var(--surface);color:var(--text)}.history-page select option:checked{background:var(--added-bg);color:var(--text)}.history-empty button{background:0 0}.list-heading{justify-content:space-between;align-items:center;gap:var(--space-3);margin:var(--space-4) 0;display:flex}.history-page small{color:var(--muted);font-size:var(--text-sm)}.sort-field{align-items:center;gap:var(--space-2);white-space:nowrap;display:flex}.sort-field select{background:0 0;border:0;width:auto;padding-inline:8px}.history-list{border-top:var(--border-width) solid var(--border)}.history-entry{border-bottom:var(--border-width) solid var(--border)}.history-entry>summary{align-items:center;gap:var(--space-4);padding-block:var(--space-4);list-style:none;display:flex}.history-entry>summary::-webkit-details-marker{display:none}.request-more>summary::-webkit-details-marker{display:none}.history-entry-summary{gap:var(--space-2);flex:1;min-width:0;display:grid}.history-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.history-meta{color:var(--muted);font-size:var(--text-xs);overflow-wrap:anywhere}.expand-control{flex:0 0 var(--control);height:var(--control);color:var(--muted);font-size:var(--text-xl);place-items:center;margin-left:auto;display:grid}.expand-control:before,.disclosure-sign:before{content:"+"}.history-entry[open]>summary .expand-control:before,.request-more[open]>summary .disclosure-sign:before{content:"−"}.history-entry>summary:hover .expand-control{color:var(--accent)}.history-entry[open]{padding-bottom:var(--space-4)}.history-detail{padding-top:var(--space-2)}.history-page .editor-heading{min-height:var(--control);margin-bottom:var(--space-2)}.history-original,.history-page .editor-input,.history-page .result-box{height:auto;min-height:0;padding:var(--space-4);border:var(--border-width) solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.history-page .editor-input{field-sizing:content}.history-request{margin-top:var(--space-4)}.history-request .editor-heading h2{overflow-wrap:anywhere;min-width:0}.history-page .result-toggle{background:0 0;flex-shrink:0;padding:0}.history-page .result-toggle label{min-height:var(--control);border-radius:var(--radius-control);align-items:center;display:inline-flex}.result-actions{margin-top:var(--space-3);justify-content:flex-end;display:flex}.request-metrics{gap:var(--space-3);margin:var(--space-4) 0 0;padding-block:var(--space-4);border-top:var(--border-width) solid var(--border);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.request-metrics dt{color:var(--muted);font-size:var(--text-xs)}.request-metrics dd{margin:var(--space-1) 0 0;font-size:var(--text-sm);overflow-wrap:anywhere}.request-more>summary{align-items:center;gap:var(--space-2);min-height:var(--control);color:var(--muted);font-size:var(--text-sm);list-style:none;display:flex}.detail-groups{gap:var(--space-5);margin-top:var(--space-2);padding:var(--space-4);border-radius:var(--radius-sm);background:var(--surface);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.detail-groups section{min-width:0}.detail-groups h3{margin:0 0 var(--space-3);font-size:var(--text-sm);font-weight:500}.request-facts{gap:var(--space-2);font-size:var(--text-xs);margin:0;display:grid}.request-facts>div{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.request-facts dt{color:var(--muted)}.request-facts dd{overflow-wrap:anywhere;margin:0}.request-parameters{color:var(--muted);font:var(--text-xs) / var(--line-height) var(--font-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.history-status{color:var(--muted)}.history-error{margin-block:var(--space-3);color:var(--removed);overflow-wrap:anywhere}.history-pagination{justify-content:space-between;align-items:center;gap:var(--space-3);margin-top:var(--space-3);padding-top:var(--space-3);display:flex}.page-buttons{align-items:center;gap:var(--space-3);display:flex}.history-pagination [aria-current]{background:0 0}.history-empty{padding:var(--space-7) var(--space-4);text-align:center;border-block:var(--border-width) solid var(--border)}.history-empty h2{margin-bottom:var(--space-2);font-size:var(--text-lg)}.history-empty p{margin-bottom:var(--space-4);color:var(--muted)}.history-page .history-cost-note{color:var(--muted);margin-top:24px;font-size:12px;line-height:1.6;display:block}.history-cost-note a{color:inherit;text-decoration:underline}@media (width<=720px){.history-tools{grid-template-columns:minmax(0,1fr);gap:10px}.history-tools .search-field{grid-column:1/-1}.history-tools .sort-field{justify-self:end}.filter-fields,.request-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-groups{grid-template-columns:minmax(0,1fr)}.history-pagination{flex-direction:column;align-items:stretch}.page-buttons{justify-content:space-between}.page-buttons button{flex:1}.history-entry>summary{gap:var(--space-2)}}.history-page{--radius-control:.75rem}.history-page>h1{align-items:center;gap:8px;margin-bottom:16px;font-size:22px;font-weight:600;line-height:1.4;display:flex}.history-page>h1 svg{width:22px;height:22px;color:var(--accent)}.history-list{border:0;gap:16px;display:grid}.history-entry{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:0 20px}.history-entry>summary{min-height:100px}.history-entry-icon{color:var(--accent);flex-shrink:0}.history-preview{font:20px var(--font-writing)}.history-meta{font-size:12px}.history-detail{padding-bottom:8px}.history-page .result-box,.history-page .editor-input.result-text,.history-original{font-family:var(--font-writing);border-color:var(--line);font-size:20px}.history-original{background:var(--surface-raised)}.history-request{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}.history-delete{margin-bottom:16px}.history-delete>button{color:var(--removed)}.history-delete p{color:var(--muted);margin-bottom:12px;font-size:14px}.history-page .editor-heading{flex-wrap:wrap}.history-page .editor-heading h2{font:600 14px/1.5 var(--font-sans);letter-spacing:normal}.history-detail>.editor-heading{min-height:24px}.history-page .result-toggle{background:var(--surface-raised);padding:4px}.history-page .result-toggle label:has(input:checked){background:var(--surface)}.request-outcome-badge{display:none}.history-request .correction-counter{text-align:center;white-space:normal;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-width:0;display:flex}.history-request .correction-counter>span:first-child{border:1px solid var(--border);background:var(--surface-raised);color:var(--text);white-space:nowrap;border-radius:8px;padding:6px 10px;font-weight:600}.history-request .navigation-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.history-request .navigation-description{text-wrap:pretty}.history-request .correction-navigation svg{stroke-width:2.25px;flex-shrink:0;width:24px;height:24px}@media (width>=1024px){.history-request.request-failed{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px 24px;margin-top:16px;padding-top:16px;display:grid}.history-request.request-failed .result-toolbar{display:contents}.history-request.request-failed .result-toolbar .request-actions{grid-area:1/2/span 2;align-self:center;margin:0}.history-request.request-failed .request-outcome-heading{grid-area:1/1;gap:12px;min-height:0}.history-page .history-request.request-failed .request-outcome-heading h2{clip-path:none;white-space:normal;width:auto;height:auto;color:var(--muted);font-size:13px;position:static;overflow:visible}.history-request.request-failed .request-outcome-badge{background:var(--removed-bg);color:var(--removed);border-radius:8px;align-items:center;gap:6px;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.history-request.request-failed .request-mode,.history-request.request-failed>.history-status{display:none}.history-request.request-failed>.history-error{grid-area:2/1;margin:0;font-size:14px}.history-request .result-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.history-request .editor-heading{justify-content:flex-start;gap:16px;margin:0}.history-request:not(.multiple-results) .editor-heading h2{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.history-request.multiple-results .editor-heading h2{color:var(--muted);font-size:13px}.history-request .correction-navigation{grid-template-columns:minmax(160px,1fr) minmax(200px,2fr) minmax(160px,1fr);gap:24px}.history-page .history-request .correction-navigation button{justify-self:stretch;width:100%;height:36px;min-height:36px;padding-block:4px}.history-request .correction-comparison{min-width:0;margin-top:16px}.history-page .history-request .correction-comparison dl>div{background:var(--surface-raised)}.history-request .explanation-panel .explain-button{width:100%;padding-inline:16px}.history-request .result-toolbar .request-actions{gap:16px;margin-top:0}.history-page .history-request .request-actions>button,.history-page .history-request .request-actions .history-delete>button{padding-inline:24px}}@media (width<=1023px){.history-request .correction-navigation{grid-template-columns:48px minmax(0,1fr) 48px}.history-request .correction-navigation button{width:48px;padding-inline:0}.history-request{flex-direction:column;display:flex}.history-request .result-toolbar{display:contents}.history-request .request-actions{order:5}}.request-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:16px;display:flex}.history-page .request-actions>button,.history-page .request-actions .history-delete>button{min-height:var(--control);font-size:var(--text-sm);gap:6px;padding-inline:6px;font-weight:600;line-height:20px}.request-actions>button,.request-actions .history-delete{flex:0 auto;min-width:0}.request-actions .history-delete{margin:0}.request-actions .history-delete>button{width:100%}.request-actions svg{flex-shrink:0;width:18px;height:18px}.request-actions .history-delete:has(.delete-confirmation){flex-basis:100%}.delete-confirmation{padding-top:12px}.delete-confirmation>button:first-of-type{color:var(--removed)}@media (width<=720px){.request-actions>button,.request-actions .history-delete{flex:1}}.request-metrics{border-color:var(--line)}.request-parameters{line-height:var(--line-height)}.history-page .filter-fields{border:0;border-bottom:1px solid var(--line)}.request-sheet{border:0;border-right:1px solid var(--line);background:var(--surface);width:min(600px,100%);max-width:100%;height:100dvh;max-height:100dvh;color:var(--text);overscroll-behavior:contain;opacity:0;transition:transform .22s ease-out, opacity .22s ease-out, display .22s allow-discrete, overlay .22s allow-discrete;margin:0;padding:24px;position:fixed;inset:0 auto 0 0;overflow:auto;transform:translate(-100%)}.request-sheet[open]{opacity:1;transform:translate(0)}.request-sheet::backdrop{background:var(--overlay);opacity:0;transition:opacity .22s ease-out, display .22s allow-discrete, overlay .22s allow-discrete}.request-sheet[open]::backdrop{opacity:1}.sheet-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:start;gap:12px;padding-bottom:20px;display:flex}.sheet-heading h2{font-size:28px}.sheet-heading p{color:var(--muted);margin-top:4px;font-size:13px}.sheet-heading button{flex-shrink:0}.request-sheet .detail-groups{background:0 0;grid-template-columns:minmax(0,1fr);gap:28px;padding:24px 0}.request-sheet h3{color:var(--accent);font-weight:600}.request-summary{border-bottom:1px solid var(--line);padding:24px 0}.request-summary h3{margin:0 0 16px;font-size:14px}.request-sheet .request-metrics{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;margin:0;padding:0}.request-sheet .request-metrics dd{font-variant-numeric:tabular-nums;font-size:18px;font-weight:600}.request-sheet .request-facts{gap:14px;font-size:14px}.request-sheet .request-parameters{background:var(--surface-raised);border-radius:12px;padding:16px;font-size:13px}body:has(dialog[open]){overflow:hidden}@starting-style{.request-sheet[open]{opacity:0;transform:translate(-100%)}.request-sheet[open]::backdrop{opacity:0}}@media (width<=720px){.history-entry{border-radius:17px;padding-inline:16px}.list-heading{flex-wrap:wrap}.history-original,.history-page .result-box{font-size:20px}.history-page .filter-fields{padding:12px 0}.request-sheet{border-left:0;border-right:0;border-top:1px solid var(--line);width:100%;height:88dvh;max-height:100dvh;padding:20px 16px calc(24px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0;inset:auto 0 0;transform:translateY(100%)}.request-sheet[open]{transform:translateY(0)}.sheet-heading h2{font-size:25px}.history-page .sort-field select{max-width:100%}@starting-style{.request-sheet[open]{transform:translateY(100%)}}}@media (prefers-reduced-motion:reduce){.request-sheet,.request-sheet::backdrop{transition:none}}.history-request-caption,.metric-caption{color:var(--muted);overflow-wrap:anywhere;font-size:13px;line-height:1.6}.history-request-caption{margin:0 0 12px}.request-summary>.metric-caption{margin:0 0 20px}.metric-group>summary,.explanation-attempt>summary{cursor:pointer;overflow-wrap:anywhere;align-content:center;min-height:44px;font-weight:600}.metric-group[open]>summary{margin-bottom:14px}.metric-group>summary:focus-visible,.explanation-attempt>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.request-sheet .request-summary .detail-groups,.request-sheet .explanation-attempt .detail-groups{gap:8px;padding-bottom:0}.explanation-metrics{padding:24px 0}.explanation-metrics>h3{margin-bottom:8px}.explanation-metrics>.metric-caption{margin-bottom:20px}.explanation-attempt{border-top:1px solid var(--line);padding:12px 0}.explanation-attempt>summary>span{display:block}.explanation-attempt>summary .metric-caption{font-weight:400}.explanation-fragments{gap:12px;margin:16px 0 24px;display:grid}.explanation-fragments dt{color:var(--muted);font-size:13px}.explanation-fragments dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0}.metric-group>summary,.explanation-attempt>summary{padding-left:28px;list-style:none;position:relative}.metric-group>summary::-webkit-details-marker{display:none}.explanation-attempt>summary::-webkit-details-marker{display:none}.metric-group>summary::marker{content:""}.explanation-attempt>summary::marker{content:""}.metric-group>summary>.disclosure-plus,.metric-group>summary>.disclosure-minus,.explanation-attempt>summary>.disclosure-plus,.explanation-attempt>summary>.disclosure-minus{position:absolute;top:13px;left:0}.metric-group>summary>.disclosure-minus,.explanation-attempt>summary>.disclosure-minus,.metric-group[open]>summary>.disclosure-plus,.explanation-attempt[open]>summary>.disclosure-plus{display:none}.metric-group[open]>summary>.disclosure-minus,.explanation-attempt[open]>summary>.disclosure-minus{display:block}.install-dialog{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(440px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);margin:auto;padding:20px;overflow:auto}.install-dialog::backdrop{background:var(--overlay)}.install-heading,.install-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.install-heading img{border-radius:12px}.install-dialog h2{margin:12px 0 8px;font-size:clamp(20px,5vw,24px);line-height:1.3}.install-dialog p{color:var(--muted);margin:8px 0;line-height:1.6}.install-actions{justify-content:flex-end;margin-top:20px}.shell{max-width:var(--page-width);margin-inline:auto;padding:0 24px 16px}.local-data-controls{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding-block:16px;font-size:14px;display:flex}.header-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.settings-label{display:inline}.app-settings{position:relative}.app-settings summary{cursor:pointer;list-style:none}.app-settings summary::-webkit-details-marker{display:none}.settings-panel{z-index:10;background:var(--surface);width:290px;color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);padding:16px;position:absolute;top:calc(100% + 8px);right:0}.settings-panel>p:not(.sr-only){margin:0 0 12px;font-size:14px}.settings-panel>button{justify-content:flex-start;width:100%;margin-top:12px}@media (width<=720px){.settings-label,.install-name{display:none}.install-trigger,.install-trigger:hover{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-raised);width:44px;min-height:44px;color:var(--text);padding:10px}.install-trigger:hover{border-color:var(--text)}.install-trigger>span{display:none}.install-trigger svg{width:20px;height:20px}}.app-header{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding-block:18px;display:flex}.brand{white-space:nowrap;align-items:center;gap:0;font:italic 700 27px Literata,Georgia,serif;display:flex}.brand-mark{border-radius:10px;flex-shrink:0;width:48px;height:48px;display:block}.brand-word{margin-left:-2px}nav{gap:4px;display:flex}.app-header nav button{background:0 0;border-radius:0;gap:8px;font-weight:500;position:relative}.app-header nav button:hover{color:var(--text);background:0 0}.app-header nav [aria-current]{color:var(--text);font-weight:600}.app-header nav [aria-current]:after{content:"";bottom:0;background:currentColor;height:2px;position:absolute;inset-inline:12px}.theme-control,.mode-switch{background:var(--surface-raised);border:0;border-radius:12px;gap:4px;margin:0;padding:4px;display:flex}.theme-control label,.mode-switch label{min-height:44px;color:var(--muted);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:8px 12px;font-size:13px;font-weight:600;display:flex}.theme-control input,.mode-switch input,.result-toggle input{opacity:0;width:0;height:0;position:absolute}.theme-control label{gap:6px}.theme-control svg{flex-shrink:0;width:16px;height:16px}:is(.theme-control label:has(:checked),.mode-switch label:has(:checked)){background:var(--surface);color:var(--accent);box-shadow:0 2px 5px #15261a0a}:is(.theme-control label:has(:focus-visible),.mode-switch label:has(:focus-visible),.result-toggle label:has(:focus-visible)){outline:2px solid var(--accent);outline-offset:1px}.mode-switch label:has(:disabled){cursor:default;opacity:.6}main{max-width:900px;margin:auto;padding-top:32px}@media (width>=1440px){.shell{max-width:clamp(1200px,100vw - 240px,1440px)}main{max-width:clamp(900px,100vw - 540px,1200px)}}h1,h2{font-family:var(--font-sans);letter-spacing:normal}h1{font-size:var(--text-title);font-weight:400}h2{font-size:24px;font-weight:400}.workspace-intro{margin:0 0 16px}.workspace-intro p{color:var(--muted);margin:0;font-family:Literata,Georgia,serif;font-size:16px;font-style:italic}.editors{align-items:start;gap:24px;display:grid}.correction-workspace{grid-template-columns:minmax(0,1fr);grid-template-areas:"original""mode""result""opinion"}.editor{min-width:0}.original-editor{background:var(--surface);border-radius:var(--radius);grid-area:original;padding:24px;box-shadow:0 14px 45px #363f3012}.model-control{flex-wrap:wrap;grid-area:mode;align-items:center;gap:12px;display:flex}.result-editor{grid-area:result}.workspace-opinion{grid-area:opinion;min-width:0}.editor-heading{min-height:var(--heading-height);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.original-editor .editor-heading h2{font:700 14px var(--font-sans);letter-spacing:normal}.editor-input,.result-box{min-height:var(--editor-height)}.editor-input{height:var(--editor-height);line-height:var(--line-height);font-family:var(--font-writing);padding:24px;font-size:21px}.original-editor .editor-input{resize:none;background:0 0;border:0;border-radius:4px;padding:12px 0;overflow-y:hidden}.shell .original-editor #original:focus{border-color:#0000;outline:none}.original-editor:has(#original:focus-visible){outline:2px solid var(--accent);outline-offset:3px}.editor-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:18px;display:flex}.character-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px}.result-box{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--muted);overflow-wrap:anywhere;padding:28px}.result-box p+p{margin-top:8px;font-size:14px}.result-text{color:var(--text);border-color:var(--line);white-space:pre-wrap}.result-changes{white-space:pre-wrap;max-height:34rem;line-height:1.85;font-family:var(--font-writing);color:var(--text);tab-size:4;font-size:26px;overflow:auto}.result-heading{grid-template-columns:var(--control) minmax(0, 1fr) var(--control);touch-action:pan-y;-webkit-user-select:none;user-select:none;align-items:center;gap:12px;margin-bottom:8px;display:grid}.result-heading h2{text-align:center;font:600 16px/1.5 var(--font-sans);letter-spacing:normal;grid-area:1/2}.result-heading button{width:var(--control);grid-row:1;padding:0}.result-heading .previous-model{grid-column:1}.result-heading .next-model{grid-column:3}.result-heading svg{width:20px;height:20px}.result-model{color:var(--muted);font:13px var(--font-sans);letter-spacing:normal;margin-left:8px;display:inline}.workspace-result[hidden]{display:none}.correction-highlight{color:var(--text);background:linear-gradient(transparent 64%, var(--added-bg) 64%);-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer;border-radius:5px;padding:0 2px}.correction-highlight[aria-pressed=true]{background:var(--added-bg);text-decoration:underline;-webkit-text-decoration-color:var(--accent);text-decoration-color:var(--accent);text-underline-offset:.15em}.correction-highlight:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.correction-deletion,.correction-whitespace{text-align:center;min-width:.5em;line-height:1.25;display:inline-block}.correction-whitespace{position:relative}.correction-whitespace:after{content:"·";color:var(--accent);position:absolute;inset:0}.correction-deletion{color:var(--removed);vertical-align:baseline;-webkit-user-select:none;user-select:none;margin-inline:.08em;padding:.12em}.correction-spacing-only{color:var(--text);-webkit-text-decoration:underline dotted var(--muted);text-decoration:underline dotted var(--muted);text-underline-offset:.3em;background:0 0}.correction-spacing-only.correction-whitespace:after{color:var(--muted)}.correction-details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);margin-top:16px;padding:20px}.correction-navigation{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.correction-navigation .previous-correction{grid-area:1/1;justify-self:start}.correction-navigation .next-correction{grid-area:1/3;justify-self:end}.correction-counter{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;grid-area:1/2;font-size:13px}.correction-comparison{margin-top:16px}.correction-kind{color:var(--muted);margin-bottom:12px;font-size:13px}.correction-comparison dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0;display:grid}.correction-comparison dl>div{background:var(--surface-raised);border-radius:12px;min-width:0;padding:16px}.correction-comparison dl>div:last-child{background:var(--added-bg)}.correction-comparison dt{color:var(--muted);font-size:12px}.correction-comparison dd{font:19px/1.6 var(--font-writing);white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.result-toggle{background:var(--surface-raised);font:13px var(--font-sans);border:0;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.result-toggle label{min-height:44px;color:var(--muted);cursor:pointer;border-radius:9px;align-items:center;padding:8px 12px;display:flex}.result-toggle label:has(input:checked){color:var(--accent);background:var(--surface)}.result-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.inspector-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.inspector-heading h3{color:var(--muted);font-size:13px}.inspector-heading .correction-navigation{flex:1;min-width:260px}.opinion-action{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:20px;font-size:14px;display:flex}.opinion-button-cost{color:var(--muted);margin-left:4px;font-size:12px;font-weight:400}.clipboard-feedback{color:var(--muted);overflow-wrap:anywhere;margin-top:12px;font-size:14px}.clipboard-feedback:empty{margin:0}.explanation-panel{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.explanation-panel .explain-button{width:100%;min-height:var(--control);font-size:var(--text-sm);justify-content:center;gap:6px;font-weight:600;line-height:20px}.explain-button svg{flex-shrink:0;width:18px;height:18px}.explanation-text{color:var(--text);font-family:var(--font-writing);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:20px;line-height:1.8}.explanation-label{color:var(--muted);margin:0 0 10px;font-size:13px;font-weight:600}.mobile-copy-bar{display:none}.app-toaster{bottom:calc(20px + env(safe-area-inset-bottom))!important}@media (width<=720px){.shell{padding:0 12px calc(12px + env(safe-area-inset-bottom))}.shell:has(.mobile-copy-bar){padding-bottom:calc(84px + env(safe-area-inset-bottom))}.app-header{grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;padding-block:12px;display:grid}.brand{font-size:20px}.brand-mark{width:32px;height:34px}.app-header nav button{padding-inline:10px}.theme-control{justify-self:start}.theme-control label{padding-inline:9px}.new-correction{padding-inline:8px;font-size:12px}main{padding-top:24px}.workspace-intro{margin:0 4px 12px}.workspace-intro p{font-size:14px}.original-editor{border-radius:17px;padding:18px}.editor-input{min-height:var(--editor-height-mobile);height:var(--editor-height-mobile);padding:20px;font-size:19px}.editor-actions>button,.mode-switch{width:100%}.mode-switch label{flex:1}.result-box{border-radius:17px;min-height:12rem;padding:22px}.result-changes{font-size:22px;line-height:1.8}.correction-details{border-radius:17px;padding:16px}.correction-comparison dl{grid-template-columns:minmax(0,1fr);gap:10px}.inspector-heading .correction-navigation{flex-basis:100%;width:100%;min-width:0}.opinion-action>button{width:100%}.opinion-button-cost{margin-left:0}.mobile-copy-bar{z-index:20;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line);display:block;position:fixed;bottom:0;left:0;right:0}.mobile-copy-bar button{width:100%}body:has(#original:focus) .mobile-copy-bar{display:none}body:has(.mobile-copy-bar) .app-toaster{bottom:calc(84px + env(safe-area-inset-bottom))!important}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}@media (width<=400px){.theme-control label{flex-direction:column;gap:2px;padding-block:6px}.brand{gap:0;font-size:22px}.brand-mark{width:40px;height:40px}.app-header nav button{padding-inline:8px;font-size:12px}}.editor-actions .model-control{flex:1}@media (width<=720px){.editor-actions .model-control{flex-basis:100%}.editor-actions .character-count{order:-1}.app-header{flex-wrap:nowrap;justify-content:space-between;gap:4px;padding-block:12px;display:flex}.app-header .brand{font-size:20px}.app-header .brand-mark{width:32px;height:32px}.app-header .header-actions{margin-left:0;display:contents}.desktop-settings summary{width:44px;min-height:44px;padding:8px}.app-header nav{display:contents}.app-header nav button{gap:4px;min-height:44px;padding-inline:4px;font-size:12px}.app-header nav svg{flex-shrink:0;width:16px;height:16px}.app-header nav [aria-current]:after{inset-inline:4px}}@media (width<=360px){.app-header{gap:4px}.app-header nav button{flex-direction:column;gap:2px;padding-inline:2px;font-size:11px}.app-header nav svg{width:14px;height:14px}.app-header .brand{font-size:17px}.app-header .brand-mark{width:26px;height:26px}}.sheet-heading{background:var(--surface);z-index:1;margin:-24px -24px 0;padding:24px;position:sticky;top:-24px}@media (width<=720px){.sheet-heading{margin:-20px -16px 0;padding:20px 16px;top:-20px}.settings-panel{width:min(290px,100vw - 24px)}.explanation-text{font-size:18px}}@media (width>=721px){.correction-workspace .result-actions{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);display:grid}.correction-workspace .result-actions>.result-toggle{justify-self:start}.correction-workspace .workspace-copy-action{justify-self:center}.correction-workspace .regenerate-action{justify-self:end}}
