@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--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,ui-sans-serif,system-ui,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{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}:-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}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.block{display:block}.hidden{display:none}.inline{display:inline}.table{display:table}.grow{flex-grow:1}.rounded{border-radius:.25rem}.lowercase{text-transform:lowercase}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#193441;--bg-panel:#274b5c;--fg:#fcfff5;--border:#d1dbbd;--link:#40e0d0;--accent:#7fff00;--muted:#a8c4b8}html[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--bg-panel:#f5f5f5;--fg:#111;--border:#999;--link:#0645ad;--accent:#2e7d32;--muted:#666}html{font-family:Arial,Helvetica,ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:1.5}body{background:var(--bg);max-width:76ch;color:var(--fg);margin:0;margin-inline:auto;padding:1.5rem 1.75rem 3rem}header{margin-bottom:1.5rem}a{color:var(--link);text-underline-offset:.15em;text-decoration:underline}code,pre{font-family:Consolas,Courier New,ui-monospace,monospace}h1{font-size:138.5%}h2{font-size:123.1%}h3{font-size:108%}input,textarea,select{border:1px solid var(--border);background:var(--bg-panel);color:var(--fg);border-radius:0;padding:.25rem .4rem}input:not([type=checkbox]):not([type=radio]),select,button{box-sizing:border-box;vertical-align:middle;height:1.9rem}input[type=checkbox],input[type=radio]{border:0;padding:0}button{border:1px solid var(--border);background:var(--bg-panel);color:var(--fg);cursor:pointer;border-radius:0;padding:.25rem .6rem}button:disabled{cursor:not-allowed;opacity:.5}table{border-collapse:collapse;width:100%}th,td{border:1px solid var(--border);text-align:left;padding:.25rem .5rem}small{color:var(--muted)}pre{border:1px solid var(--border);background:var(--bg-panel);padding:.5rem .75rem;overflow-x:auto}.prose h1,.prose h2,.prose h3,.prose h4,.prose h5,.prose h6{margin:1.4em 0 .6em;font-weight:700;line-height:1.3}.prose h1{border-bottom:1px solid var(--border);padding-bottom:.2em;font-size:1.5em}.prose h2{border-bottom:1px solid var(--border);padding-bottom:.15em;font-size:1.3em}.prose h3{font-size:1.15em}.prose h4{font-size:1em}.prose h5,.prose h6{color:var(--muted);font-size:.95em}.prose p,.prose ul,.prose ol,.prose blockquote,.prose pre{margin:.8em 0}.prose ul,.prose ol{padding-left:1.6em}.prose ul{list-style:outside}.prose ol{list-style:decimal}.prose blockquote{border-left:3px solid var(--border);color:var(--muted);margin-left:0;padding-left:.8em}.prose code{background:var(--bg-panel);padding:.1em .3em}.prose pre code{background:0 0;padding:0}.prose hr{border:0;border-top:1px solid var(--border);margin:1.5em 0}.prose img{max-width:100%}.feed,.topic-list{margin:0;padding:0;list-style:none}.feed-item{box-sizing:border-box;border-bottom:1px solid var(--border);flex-direction:column;gap:.15rem;width:100%;padding:.7rem 0;display:flex}.feed-title a{font-size:1.05rem;font-weight:700}.feed-meta{color:var(--muted);font-size:.85rem}.feed-excerpt{color:var(--muted)}.tag{border:1px solid var(--border);border-radius:2px;padding:0 .35em;font-size:.75rem;display:inline-block}.tag-post{color:var(--accent)}.tag-topic{color:var(--link)}.topic-item{border-bottom:1px solid var(--border);align-items:baseline;gap:.6rem;padding:.5rem 0;display:flex}.topic-rank{color:var(--muted);text-align:right;min-width:1.6em}.topic-body{flex-direction:column;flex:1;min-width:0;display:flex}.topic-title a{font-weight:700}.topic-meta{color:var(--muted);font-size:.82rem}.topic-count{background:var(--bg-panel);color:var(--fg);white-space:nowrap;border-radius:8px;padding:.05em .55em;font-size:.8rem}.post-table{table-layout:fixed}.post-table th{background:var(--bg-panel);font-size:.85rem}.post-table .col-status{width:4.5rem}.post-table .col-date{width:6.5rem}.post-table .col-comments{width:3.5rem}.post-table .col-actions{width:6rem}.post-title a{font-weight:700}.post-excerpt{color:var(--muted);font-size:.85rem;font-weight:400;display:block}.toolbar{align-items:center;gap:.5rem;margin:0 0 1.25rem;display:flex}.toolbar form{flex:1;align-items:center;gap:.5rem;margin:0;display:flex}.toolbar .spacer{flex:1}.btn{box-sizing:border-box;border:1px solid var(--border);background:var(--bg-panel);height:1.9rem;color:var(--fg);white-space:nowrap;align-items:center;padding:.25rem .7rem;text-decoration:none;display:inline-flex}.delete-form{margin-left:.75rem}.translate-tool{margin-top:.5rem}.translate-bar{align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.translate-bar .spacer{flex:1}.translate-panes{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.translate-panes textarea{box-sizing:border-box;resize:vertical;width:100%;font-family:inherit;line-height:1.5}.translate-error{color:#ff7b72;margin:.5rem 0}.translate-settings{border:1px solid var(--border);background:var(--bg-panel);flex-direction:column;gap:.6rem;margin-bottom:.75rem;padding:.75rem;display:flex}.translate-settings label{flex-direction:column;gap:.2rem;font-size:.85rem;display:flex}.translate-settings input,.translate-settings textarea{box-sizing:border-box;width:100%}.key-row{align-items:center;gap:.5rem;display:flex}.key-row input[type=text],.key-row input[type=password]{flex:1}.key-toggle{white-space:nowrap;flex-direction:row;align-items:center;gap:.25rem;display:flex}.settings-actions{gap:.5rem;display:flex}@media (max-width:560px){.translate-panes{grid-template-columns:1fr}}.chat-tool{grid-template-columns:11rem 1fr;gap:.9rem;margin-top:.5rem;display:grid}.chat-sidebar{flex-direction:column;gap:.5rem;display:flex}.chat-new{width:100%}.chat-list{flex-direction:column;gap:.2rem;max-height:60vh;margin:0;padding:0;list-style:none;display:flex;overflow-y:auto}.chat-list li{align-items:center;gap:.2rem;display:flex}.chat-item{text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:1px solid #0000;flex:1;min-width:0;overflow:hidden}.chat-list li.active .chat-item{border-color:var(--border);background:var(--bg-panel)}.chat-del{color:var(--muted);background:0 0;border:1px solid #0000;flex-shrink:0;padding:0 .45rem}.chat-del:hover{color:#ff7b72}.chat-main{flex-direction:column;min-width:0;display:flex}.chat-scroll{border:1px solid var(--border);background:var(--bg-panel);flex-direction:column;gap:.5rem;height:55vh;margin-bottom:.6rem;padding:.5rem;display:flex;overflow-y:auto}.chat-empty{color:var(--muted);text-align:center;margin:auto}.bubble-row{display:flex}.bubble-row.user{justify-content:flex-end}.bubble-row.assistant{justify-content:flex-start}.bubble{word-break:break-word;border-radius:1rem;max-width:78%;padding:.4rem .7rem;line-height:1.4}.bubble.user{background:var(--link);color:#193441;border-bottom-right-radius:.25rem}.bubble.assistant{background:var(--bg);color:var(--fg);border:1px solid var(--border);border-bottom-left-radius:.25rem}.bubble-text{white-space:pre-wrap}.bubble .prose{white-space:normal}.bubble .prose p,.bubble .prose ul,.bubble .prose ol,.bubble .prose blockquote,.bubble .prose pre{margin:.4em 0}.bubble .prose p:first-child,.bubble .prose ul:first-child,.bubble .prose ol:first-child,.bubble .prose blockquote:first-child,.bubble .prose pre:first-child{margin-top:0}.bubble .prose p:last-child,.bubble .prose ul:last-child,.bubble .prose ol:last-child,.bubble .prose blockquote:last-child,.bubble .prose pre:last-child{margin-bottom:0}.bubble .prose pre{padding:.4rem .6rem;font-size:.85em}.bubble .prose code{font-size:.9em}.bubble.user .prose a{color:#0d5c56}.bubble.user .prose code{color:#193441;background:#19344126}.bubble.user .prose pre{background:#1934411f;border-color:#19344140}.bubble.user .prose blockquote{color:#193441bf;border-left-color:#19344159}.bubble-time{opacity:.65;text-align:right;margin-top:.15rem;font-size:.7rem}.chat-error{color:#ff7b72;margin:0 0 .5rem}.chat-input{align-items:flex-end;gap:.5rem;display:flex}.chat-input textarea{resize:vertical;flex:1;font-family:inherit}@media (max-width:640px){.chat-tool{grid-template-columns:1fr}.chat-sidebar{flex-direction:row}.chat-list{flex-direction:row;max-height:none;overflow-x:auto}}
