*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;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}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.mx-auto{margin-left:auto;margin-right:auto}.-mt-2{margin-top:-.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-2{margin-left:.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.\!inline{display:inline!important}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.\!table{display:table!important}.table{display:table}.\!grid{display:grid!important}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-full{height:100%}.max-h-72{max-height:18rem}.min-h-screen{min-height:100vh}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[16rem\]{min-width:16rem}.max-w-5xl{max-width:64rem}.max-w-\[88\%\]{max-width:88%}.flex-1{flex:1}.grow{flex-grow:1}.rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse}.cursor-pointer{cursor:pointer}.resize-none{resize:none}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.self-center{align-self:center}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.whitespace-pre-wrap{white-space:pre-wrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-amber-400{--tw-border-opacity:1;border-color:rgb(251 191 36/var(--tw-border-opacity,1))}.border-black\/10{border-color:#0000001a}.border-black\/15{border-color:#00000026}.bg-amber-100{--tw-bg-opacity:1;background-color:rgb(254 243 199/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-black\/\[\.03\]{background-color:#00000008}.bg-black\/\[\.05\]{background-color:#0000000d}.bg-emerald-100{--tw-bg-opacity:1;background-color:rgb(209 250 229/var(--tw-bg-opacity,1))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity,1))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(255 237 213/var(--tw-bg-opacity,1))}.bg-rose-100{--tw-bg-opacity:1;background-color:rgb(255 228 230/var(--tw-bg-opacity,1))}.bg-rose-50{--tw-bg-opacity:1;background-color:rgb(255 241 242/var(--tw-bg-opacity,1))}.bg-sky-100{--tw-bg-opacity:1;background-color:rgb(224 242 254/var(--tw-bg-opacity,1))}.bg-sky-600{--tw-bg-opacity:1;background-color:rgb(2 132 199/var(--tw-bg-opacity,1))}.bg-violet-100{--tw-bg-opacity:1;background-color:rgb(237 233 254/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/60{background-color:#fff9}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-10{padding-bottom:2.5rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pr-4{padding-right:1rem}.pt-1{padding-top:.25rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.tracking-wide{letter-spacing:.025em}.text-amber-800{--tw-text-opacity:1;color:rgb(146 64 14/var(--tw-text-opacity,1))}.text-amber-900{--tw-text-opacity:1;color:rgb(120 53 15/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-emerald-800{--tw-text-opacity:1;color:rgb(6 95 70/var(--tw-text-opacity,1))}.text-emerald-900{--tw-text-opacity:1;color:rgb(6 78 59/var(--tw-text-opacity,1))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity,1))}.text-orange-900{--tw-text-opacity:1;color:rgb(124 45 18/var(--tw-text-opacity,1))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-rose-600{--tw-text-opacity:1;color:rgb(225 29 72/var(--tw-text-opacity,1))}.text-rose-800{--tw-text-opacity:1;color:rgb(159 18 57/var(--tw-text-opacity,1))}.text-rose-900{--tw-text-opacity:1;color:rgb(136 19 55/var(--tw-text-opacity,1))}.text-sky-900{--tw-text-opacity:1;color:rgb(12 74 110/var(--tw-text-opacity,1))}.text-violet-900{--tw-text-opacity:1;color:rgb(76 29 149/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.underline{text-decoration-line:underline}.overline{text-decoration-line:overline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000), var(--tw-ring-shadow,0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.ring-amber-300{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity,1))}.blur{--tw-blur:blur(8px);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)}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--onyx:#f7f8fa;--onyx-2:#f1f2f5;--onyx-3:#e9eaee;--ivory:#111318;--ivory-dim:#6b7280;--gold:#6366f1;--gold-soft:#6366f161;--gold-faint:#6366f11a;--hairline:#e5e7eb;--card:#fff;--rail:#fff;--rail-ink:#3f4653;--cap-ink:#9aa1b2;--ease:cubic-bezier(.25, .6, .25, 1);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=night]{--onyx:#0f1115;--onyx-2:#151820;--onyx-3:#1c2029;--ivory:#f3f4f6;--ivory-dim:#9aa1ac;--gold:#818cf8;--gold-soft:#818cf866;--gold-faint:#818cf81f;--hairline:#f3f4f61a;--card:#151820;--rail:#12141a;--rail-ink:#c6ccd6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}html,body{background:var(--onyx);color:var(--ivory);font-family:var(--font-sans,Inter, -apple-system, "Segoe UI", sans-serif);font-weight:300}h1,h2,h3{color:var(--ivory);letter-spacing:.01em;font-weight:500}h1{font-size:2.6rem}h1:after{content:"";background:var(--gold);width:2.6rem;height:1px;margin-top:.8rem;display:block}strong,b{color:var(--ivory);font-weight:500}a{color:var(--gold)}hr{border:none;border-top:1px solid var(--hairline)}.border-t,.divide-y>:not([hidden])~:not([hidden]){border-color:var(--hairline)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#d3cab4}::-webkit-scrollbar-thumb:hover{background:var(--gold-soft)}[data-theme=night] ::-webkit-scrollbar-thumb{background:#2c2b33}::-webkit-scrollbar-track{background:0 0}input[type=checkbox],input[type=range]{accent-color:var(--gold)}.z-card{background:var(--card);border:1px solid var(--hairline);border-radius:16px}.zs-sect{background:var(--card);border:1px solid var(--hairline);border-left:3px solid var(--gold);border-radius:14px;padding:1rem 1.3rem;box-shadow:0 1px 3px #1113180a}.zs-sect h2{letter-spacing:.01em;margin:0;font-size:1.25rem;font-weight:600}.zs-sect p{color:var(--ivory-dim);margin:.28rem 0 0;font-size:.84rem;font-weight:300}.zs-pcard{background:var(--card);border:1px solid var(--hairline);border-left:4px solid var(--gold);border-radius:12px;padding:1.05rem 1.3rem;box-shadow:0 1px 3px #1113180a}.zs-pcard .row{justify-content:space-between;align-items:center;gap:1rem;display:flex}.zs-pcard h3{margin:0;font-size:1.02rem;font-weight:600}.zs-pcard .meta{color:var(--ivory-dim);margin-top:.55rem;font-size:.8rem;line-height:1.6}.zs-pcard .meta strong{color:var(--ivory);font-weight:600}.zs-subhead{letter-spacing:.1em;text-transform:uppercase;color:var(--gold);font-size:.7rem;font-weight:700}.z-details{background:var(--onyx-2);border:1px solid var(--hairline);transition:border-color .25s var(--ease)}.z-details:hover{border-color:var(--gold-soft)}.z-details>summary{cursor:pointer;letter-spacing:.06em;color:var(--ivory);padding:.6rem .9rem;font-size:.86rem;font-weight:400;list-style-position:inside}.z-details>:not(summary){margin:0 .9rem .75rem}.z-btn{background:var(--card);color:var(--ivory);border:1px solid var(--hairline);transition:background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);border-radius:12px;padding:.55rem 1.2rem;font-size:.86rem;font-weight:500}.z-btn:hover:not(:disabled){background:var(--onyx-3);border-color:#d1d5db;box-shadow:0 2px 8px #1113180f}.z-btn:disabled{opacity:.5}.z-btn-primary{background:var(--gold);color:#fff;transition:background .2s var(--ease), opacity .2s var(--ease);border:none;border-radius:999px;padding:.6rem 1.5rem;font-size:.9rem;font-weight:600}.z-btn-primary:hover:not(:disabled){background:#4f52d6}.z-btn-primary:disabled{opacity:.5}.z-input{background:var(--onyx-2);border:1px solid var(--hairline);color:var(--ivory);transition:border-color .25s var(--ease);border-radius:0;width:100%;padding:.5rem .75rem;font-weight:300}.z-input:hover{border-color:var(--gold-soft)}.z-input:focus{border-color:var(--gold);outline:none}.z-label{letter-spacing:.14em;text-transform:uppercase;color:var(--ivory-dim);margin-bottom:.35rem;font-size:.72rem;font-weight:400;display:block}.z-badge{color:#fff;letter-spacing:.03em;white-space:nowrap;background:var(--gold);border-radius:999px;padding:.24rem .74rem;font-size:.7rem;font-weight:700}.z-alert{background:var(--onyx-2);border-left:1px solid var(--gold);color:var(--ivory);padding:.75rem 1rem;font-size:.875rem;font-weight:300}.z-alert-error{border-left:2px solid #dc3545}.zrail{background:var(--rail);border-right:1px solid var(--hairline);z-index:40;width:14.5rem;transition:transform .32s var(--ease);flex-direction:column;padding:.8rem 12px 12px 8px;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(0)}.zrail.closed{transform:translate(-100%)}.zrail-scroll{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.zrail-logo{letter-spacing:-.01em;align-items:center;gap:.5rem;padding:.15rem .35rem;font-size:1.05rem;font-weight:800;display:flex}.zrail-cap{letter-spacing:.13em;text-transform:uppercase;color:var(--cap-ink);white-space:nowrap;align-items:center;gap:.4rem;margin:.7rem .3rem .2rem;font-size:.66rem;font-weight:700;display:flex}.zrail-cap.zrail-cap-top{margin-top:1.6rem}.zrail-cap:before{content:"";background:var(--gold-soft);border-radius:50%;width:5px;height:5px}.zrail-item{text-align:left;width:100%;color:var(--rail-ink);letter-spacing:.005em;white-space:nowrap;transition:background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease);background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:.5rem;padding:.34rem .6rem;font-size:.85rem;font-weight:500;display:flex;position:relative;overflow:hidden}.zrail-item .mi{color:var(--cap-ink);transition:color .18s var(--ease);flex:0 0 1.35rem;justify-content:center;display:flex}.zrail-item:hover{background:var(--gold-faint);color:var(--gold);border-color:var(--gold-soft);padding-left:1rem}.zrail-item:hover .mi{color:var(--gold)}.zrail-item.active{background:var(--gold-faint);color:var(--gold);border-color:var(--gold-soft);font-weight:600}.zrail-item.active .mi{color:var(--gold)}.zrail-item.active:before{content:"";background:var(--gold);border-radius:0 3px 3px 0;width:3px;position:absolute;top:22%;bottom:22%;left:0}.zseg{border:1px solid var(--hairline);background:var(--rail);border-radius:13px;margin:0 2px .45rem;display:flex;overflow:hidden}.zseg button{color:#8b909c;letter-spacing:.06em;min-width:0;transition:background .18s var(--ease), color .18s var(--ease);background:0 0;border:none;flex:1 1 0;justify-content:center;align-items:center;padding:.4rem 0;font-size:.72rem;font-weight:600;display:flex}.zseg button+button{border-left:1px solid var(--hairline)}.zseg button:hover,.zseg button.on{background:var(--gold-faint);color:var(--gold)}.zprof{align-items:center;gap:.6rem;margin:.5rem 2px 0;display:flex;position:relative}.zprof-avatar{color:#fffdf6;background:linear-gradient(135deg, var(--gold), #c79a3d);cursor:pointer;width:40px;height:40px;transition:filter .18s var(--ease);border:none;border-radius:50%;flex:none;justify-content:center;align-items:center;font-size:.95rem;font-weight:700;display:flex;box-shadow:0 2px 8px -2px #0000004d}.zprof-avatar:hover{filter:brightness(1.07)}.zrail-who{pointer-events:none;flex-direction:column;min-width:0;line-height:1.18;display:flex}.zrail-who b{color:var(--ivory);text-overflow:ellipsis;font-size:.82rem;font-weight:700;overflow:hidden}.zrail-who span{letter-spacing:.1em;text-transform:uppercase;color:var(--ivory-dim);font-size:.62rem}.zprof-pop{background:var(--card);border:1px solid var(--hairline);z-index:60;border-radius:12px;min-width:180px;padding:.6rem .6rem .45rem;position:absolute;bottom:calc(100% + 10px);left:0;box-shadow:0 12px 32px #0000002e}.zprof-pop-head{border-bottom:1px solid var(--hairline);flex-direction:column;margin:0 0 .5rem;padding:0 .3rem .5rem;line-height:1.25;display:flex}.zprof-pop-head b{color:var(--ivory);font-size:.9rem}.zprof-pop-head span{letter-spacing:.09em;text-transform:uppercase;color:var(--cap-ink);font-size:.66rem}.zprof-pop .zrail-item{padding:.4rem .5rem}.zprof-pop .zrail-item.danger:hover{color:#dc3545;background:#dc35451a;border-color:#dc354547}.zprof-pop .zrail-item.danger:hover .mi{color:#dc3545}.zrail-toggle{width:2.3rem;min-width:0;color:var(--gold);opacity:.9;cursor:pointer;transition:background .18s var(--ease), opacity .18s var(--ease);background:0 0;border:none;border-radius:8px;padding:0 .2rem;font-size:2.1rem;line-height:1}.zrail-toggle:hover{opacity:1;background:var(--onyx-2)}.zrail-hide{position:absolute;top:.35rem;right:.35rem}.zrail-show{z-index:41;opacity:0;pointer-events:none;transition:opacity .22s var(--ease), transform .32s var(--ease);position:fixed;top:.5rem;left:.35rem;transform:translate(-140%)}.zrail-show.vis{opacity:1;pointer-events:auto;transform:none}.ws-hide{position:absolute;top:.5rem;right:.5rem}.ws-show{z-index:41;opacity:0;pointer-events:none;transition:opacity .22s var(--ease), transform .32s var(--ease);position:fixed;top:.5rem;right:.35rem;transform:translate(140%)}.ws-show.vis{opacity:1;pointer-events:auto;transform:none}.ws-rail{background:var(--rail);border-left:1px solid var(--hairline);z-index:30;width:15rem;transition:transform .32s var(--ease);padding:1.4rem 14px 2rem;position:fixed;top:0;bottom:0;right:0;overflow-y:auto}.ws-rail.closed{transform:translate(100%)}.zhist-head{color:var(--ivory);margin:.2rem 0 .6rem;font-size:.95rem;font-weight:700}.zhist-sect{letter-spacing:.04em;color:#9ca3af;margin:1.2rem 0 .35rem;font-size:.72rem;font-weight:600}.zhist-row{align-items:stretch;gap:.25rem;display:flex}.zhist-item{text-align:left;background:var(--onyx);border:1px solid var(--hairline);min-width:0;color:var(--ivory);white-space:nowrap;transition:background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), padding-left .18s var(--ease);border-radius:11px;flex:1;align-items:center;gap:.55rem;padding:.5rem .7rem;font-size:.82rem;font-weight:500;display:flex;overflow:hidden}.zhist-item>span{text-overflow:ellipsis;overflow:hidden}.zhist-item .mi{color:#9aa1b2;transition:color .18s var(--ease);flex:none}.zhist-item:hover{background:var(--onyx-2);border-color:var(--gold-soft);color:var(--gold);padding-left:.95rem}.zhist-item:hover .mi{color:var(--gold)}.zhist-item.active{border-color:var(--gold-soft);color:var(--gold)}.zhist-item.active .mi{color:var(--gold)}.zhist-x{color:#9aa1b2;width:2rem;transition:background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);background:0 0;border:1px solid #0000;border-radius:11px;flex:none;justify-content:center;align-items:center;display:flex}.zhist-x:hover{color:#f3b0b0;background:#dc354524;border-color:#dc354580}.zhist-meta{color:#8b909c;margin:.18rem 0 .7rem .55rem;font-size:.66rem}.zhist-confirm{color:#e05c6b;margin:.15rem 0 .35rem;font-size:.74rem;font-weight:600}.zhist-cbtns{gap:.4rem;margin-bottom:.7rem;display:flex}.zhist-cbtns button{border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:9px;flex:1;padding:.38rem 0;font-size:.74rem;font-weight:600}.zhist-cbtns button.danger{background:var(--gold);border-color:var(--gold);color:#fff}.zhist-empty{color:#9aa1b2;padding:1rem 0;font-size:.72rem}.zs-status{background:var(--card);border:1px solid var(--hairline);justify-content:space-between;align-items:center;margin-bottom:2.6rem;padding:.55rem 1.1rem;display:flex}.zs-status .l,.zs-status .r{font-family:var(--font-mono,ui-monospace, monospace);letter-spacing:.22em;text-transform:uppercase;color:var(--ivory-dim);font-size:.64rem}.zs-status .dot{background:#4ade80;border-radius:50%;width:7px;height:7px;margin-right:.6rem;animation:2.4s ease-in-out infinite zpulse;display:inline-block;box-shadow:0 0 8px #4ade80cc}@keyframes zpulse{0%,to{opacity:1}50%{opacity:.35}}.zs-lockup{text-align:center;margin:0 0 .6rem}.zs-lockup .name{color:var(--ivory);letter-spacing:-.02em;font-size:3.4rem;font-weight:700;line-height:1.05}.zs-lockup .name em{color:var(--gold);font-style:normal}.zs-lockup .studio{letter-spacing:.02em;color:var(--ivory-dim);margin-top:.35rem;font-size:1rem;font-weight:500}.zs-sub{color:var(--ivory-dim);text-align:center;margin:0 0 1rem;font-size:.95rem}.zs-greet{color:var(--ivory-dim);text-align:center;margin:0 0 2.6rem;font-size:1.05rem;font-style:italic}.zs-greet b{color:var(--ivory);font-style:normal;font-weight:500}.zmod{background:var(--card);border:1px solid var(--hairline);transition:border-color .2s var(--ease), box-shadow .2s var(--ease);border-radius:16px;padding:1.1rem 1.2rem;position:relative;overflow:hidden}.zmod:hover{border-color:#d1d5db;box-shadow:0 8px 24px #11131812}.zmod-row{align-items:center;gap:.9rem;display:flex}.zmod .tile{color:#fff;border-radius:13px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;font-size:1.1rem;font-weight:700;display:flex}.zmod h3{letter-spacing:.01em;margin:0 0 .15rem;font-size:1rem;font-weight:600}.zmod .desc{color:var(--ivory-dim);margin:0;font-size:.78rem;line-height:1.5}.zmod-open{background:var(--card);width:100%;color:var(--ivory);border:1px solid var(--hairline);text-align:center;transition:background .3s var(--ease), border-color .3s var(--ease);border-radius:999px;margin-top:.45rem;padding:.4rem 0;font-size:.8rem;font-weight:500;display:block}.zmod-open:hover{background:var(--onyx-3);border-color:#d1d5db}.ztopic-item{text-align:left;width:100%;color:var(--rail-ink);transition:background .18s var(--ease), color .18s var(--ease);border:1px solid #0000;border-radius:9px;padding:.42rem .75rem;font-size:.85rem;display:block}.ztopic-item:hover{background:var(--onyx-2)}.ztopic-item.on{background:var(--gold-faint);color:var(--gold);border-color:var(--gold-soft);font-weight:600}body.zgen-bg{background:#eceef3}html[data-theme=night] body.zgen-bg{background:#0c0e14}.zgen-hero{text-align:center;margin:clamp(.6rem,3vh,2rem) 0 clamp(.9rem,3.5vh,2.25rem)}.zgen-hero h1{text-align:center;letter-spacing:-.02em;color:var(--ivory);text-wrap:balance;margin:0 auto;font-size:clamp(1.45rem,2.6vw + 1vh,2.25rem);font-weight:800;line-height:1.15}.zgen-hero h1:after{display:none}.zgen-cfg h3{margin:.1rem 0 .4rem;font-size:1.02rem;font-weight:600}.zgen-grid{grid-template-columns:1fr 1fr;align-items:stretch;gap:clamp(.45rem,1.2vh,.7rem);display:grid}@media (max-width:900px){.zgen-grid{grid-template-columns:1fr}}.gcard{background:var(--card);border:1px solid var(--hairline);border-radius:16px;flex-direction:column;gap:clamp(.3rem,.9vh,.45rem);padding:clamp(.4rem,1vh,.55rem) .8rem clamp(.45rem,1vh,.6rem);display:flex}.gcard-badge{color:var(--ivory);align-items:center;gap:.55rem;margin:.1rem 0 .2rem;font-weight:600;display:flex}.gcfg-amt{color:var(--ivory);align-items:center;gap:.45rem;font-size:.78rem;font-weight:600;display:flex}.gcfg-amt .dot{border-radius:50%;width:9px;height:9px;display:inline-block}.grow{grid-template-columns:1fr 3.4rem 3.4rem 3.4rem 1.3rem;align-items:center;gap:.4rem;display:grid}.grow-x{color:var(--ivory-dim);background:0 0;border:none;border-radius:6px;font-size:1rem}.grow-x:hover{color:#dc3545;background:#dc35451a}.zgen-total{color:var(--gold);margin-top:.35rem;font-weight:600}.zgen-gorow{justify-content:center;margin:clamp(.6rem,2vh,1.1rem) 0 .4rem;display:flex}.zgen-go{color:#fff;width:min(420px,100%);transition:filter .2s var(--ease);background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;border-radius:999px;padding:.62rem 1.2rem;font-size:.95rem;font-weight:600;box-shadow:0 8px 20px -8px #6366f180}.zgen-go:hover:not(:disabled){filter:brightness(1.06)}.zgen-go:disabled{opacity:.55}.zg-wrap{text-align:center;max-width:540px;margin:1.6rem auto 0}.zg-gif{object-fit:contain;border-radius:14px;width:170px;height:170px;margin:0 auto 1.1rem;display:block}.zg-status{color:var(--ivory);letter-spacing:-.01em;margin:0;font-size:1.25rem;font-weight:700}.zg-status .dots:after{content:"…";animation:1.5s steps(4,end) infinite zg-dots}@keyframes zg-dots{0%{content:""}25%{content:"·"}50%{content:"··"}75%,to{content:"···"}}.zg-sub{color:var(--ivory-dim);margin:.35rem 0 1.4rem;font-size:.82rem}.zg-steps{text-align:left;flex-direction:column;gap:.5rem;max-width:380px;margin:0 auto;display:flex}.zg-step{border:1px solid var(--hairline);background:var(--card);transition:border-color .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease);border-radius:12px;align-items:center;gap:.7rem;padding:.55rem .85rem;display:flex}.zg-step .ind{flex:none;justify-content:center;align-items:center;width:20px;height:20px;display:flex}.zg-step .lbl{color:var(--ivory);font-size:.9rem;font-weight:500}.zg-step.done{border-color:#22a35b59}.zg-step.done .ind{color:#22a35b}.zg-step.pending{opacity:.5}.zg-step.pending .lbl{color:var(--ivory-dim);font-weight:400}.zg-step.active{border-color:var(--gold-soft);background:var(--gold-faint)}.zg-step.active .lbl{color:var(--gold);font-weight:600}.zg-ring{border:2px solid var(--gold-soft);border-top-color:var(--gold);border-radius:50%;width:16px;height:16px;animation:.8s linear infinite zg-ringspin}@keyframes zg-ringspin{to{transform:rotate(360deg)}}.zg-dot{background:var(--ivory-dim);border-radius:50%;width:8px;height:8px}.zg-bar{background:var(--gold-faint);border-radius:3px;height:3px;margin-top:.4rem;overflow:hidden}.zg-bar:after{content:"";background:linear-gradient(90deg, transparent, var(--gold), transparent);border-radius:3px;width:38%;height:100%;animation:1.1s ease-in-out infinite zg-slide;display:block}@keyframes zg-slide{0%{transform:translate(-110%)}to{transform:translate(330%)}}.zg-check{animation:.35s zg-pop}@keyframes zg-pop{0%{transform:scale(0)}70%{transform:scale(1.25)}to{transform:scale(1)}}.login-wrap{background:radial-gradient(circle at 50% 42%,#fff 0%,#eef1fb 58%,#e4e8f5 100%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}.login-wrap:before,.login-wrap:after{content:"";filter:blur(75px);pointer-events:none;border-radius:50%;position:absolute}.login-wrap:before{background:radial-gradient(circle,#818cf84d,#0000 70%);width:62vw;height:62vw;animation:30s ease-in-out infinite aurora1;top:-18vh;left:-10vw}.login-wrap:after{background:radial-gradient(circle,#2dd4bf42,#0000 70%);width:56vw;height:56vw;animation:38s ease-in-out infinite aurora2;bottom:-20vh;right:-12vw}@keyframes aurora1{0%,to{opacity:.3;transform:translate(0)}50%{opacity:.5;transform:translate(6vw,4vh)}}@keyframes aurora2{0%,to{opacity:.26;transform:translate(0)}50%{opacity:.44;transform:translate(-5vw,-3vh)}}.login-card{z-index:2;-webkit-backdrop-filter:blur(13px);background:#fff6;border:1px solid #6366f129;border-radius:22px;width:100%;max-width:24rem;padding:2.4rem 2rem 2rem;position:relative;box-shadow:0 24px 70px #4c51bf2e}.zlogin-brand{color:#111318;text-align:center;letter-spacing:-.01em;margin:.1rem 0 .15rem;font-size:2rem;font-weight:800}.zlogin-brand span{background:linear-gradient(90deg,#6366f1,#a855f7);color:#0000;-webkit-background-clip:text;background-clip:text}.zlogin-sub{text-align:center;color:#6b7280;margin:0 0 1.5rem;font-size:.92rem}.login-input{color:#111318;width:100%;transition:border-color .2s var(--ease), box-shadow .2s var(--ease);background:#f5f6fc;border:1px solid #e2e5f0;border-radius:12px;padding:.62rem .85rem}.login-input::placeholder{color:#9aa1b2}.login-input:focus{background:#fff;border-color:#6366f1;outline:none;box-shadow:0 0 0 3px #6366f12e}.login-btn{color:#fff;letter-spacing:.01em;width:100%;transition:filter .2s var(--ease), box-shadow .2s var(--ease);background:linear-gradient(135deg,#6366f1,#a855f7);border:none;border-radius:999px;margin-top:.5rem;padding:.64rem 1rem;font-weight:600;box-shadow:0 8px 22px #6366f159}.login-btn:hover:not(:disabled){filter:brightness(1.06);box-shadow:0 12px 30px #6366f173}.login-btn:disabled{opacity:.55}.katex-display{background:var(--onyx-2);border-left:1px solid var(--gold);margin:1em 0;padding:.9em 1.2em;overflow-x:auto}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.z-dim{color:var(--ivory-dim)}.z-accent{color:var(--gold)}.z-chip{background:var(--gold-faint);color:var(--gold);border-radius:999px;padding:.1rem .6rem;font-size:.7rem;font-weight:600}.tc-tabbar{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.tc-seg{background:var(--onyx-3);border:1px solid var(--hairline);border-radius:999px;gap:.15rem;padding:.2rem;display:inline-flex}.tc-seg button{color:var(--ivory-dim);transition:background .2s var(--ease), color .2s var(--ease);border-radius:999px;padding:.35rem 1.1rem;font-size:.85rem;font-weight:500}.tc-seg button:hover{color:var(--ivory)}.tc-seg button.active{background:var(--card);color:var(--ivory);box-shadow:0 1px 3px #0f111514}.tc-lang{letter-spacing:.04em;border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:999px;padding:.35rem .75rem;font-size:.72rem;font-weight:600}.tc-lang:hover{border-color:var(--gold-soft)}.tc-chat{flex-direction:column;width:100%;max-width:48rem;min-height:calc(100vh - 5rem);margin:0 auto -2.5rem;display:flex}.tc-chat-empty{justify-content:center;gap:1.25rem;padding-bottom:3rem}.tc-hello{text-align:center;flex-direction:column;align-items:center;gap:.6rem;display:flex}.tc-hello h2{letter-spacing:-.01em;color:var(--ivory);font-size:1.6rem;font-weight:600}.tc-hello p{color:var(--ivory-dim);max-width:34rem;font-size:.9rem}.tc-mode-grid{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.6rem;display:grid}.tc-mode-card{text-align:left;border:1px solid var(--hairline);background:var(--card);color:var(--ivory);transition:border-color .2s var(--ease), box-shadow .2s var(--ease);border-radius:.9rem;align-items:flex-start;gap:.6rem;padding:.75rem .85rem;display:flex}.tc-mode-card:hover{border-color:var(--gold-soft)}.tc-mode-card.active{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-mode-card .tc-mode-dot{margin-top:.4rem}.tc-examples{flex-wrap:wrap;justify-content:center;gap:.5rem;display:flex}.tc-example{border:1px solid var(--hairline);color:var(--ivory-dim);background:0 0;border-radius:999px;padding:.4rem .8rem;font-size:.8rem}.tc-example:hover{color:var(--ivory);border-color:var(--gold-soft);background:var(--card)}.tc-topbar{justify-content:flex-end;gap:.25rem;padding:.25rem 0 0;display:flex}.tc-thread{flex-direction:column;flex:1;gap:1.6rem;padding:.75rem 0 1.5rem;display:flex}.tc-msg-user{white-space:pre-wrap;background:var(--onyx-3);max-width:85%;color:var(--ivory);border-radius:1.25rem 1.25rem .35rem;align-self:flex-end;padding:.6rem 1rem;font-size:.95rem;line-height:1.55}.tc-msg-user.failed{background:#f43f5e1f}.tc-msg-user.stopped{opacity:.7}.tc-msg-bot{align-items:flex-start;gap:.85rem;display:flex}.tc-avatar{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:.65rem;flex-shrink:0;place-items:center;width:1.85rem;height:1.85rem;font-size:.8rem;font-weight:700;display:grid;box-shadow:0 2px 8px #6366f140}.tc-avatar-lg{border-radius:1rem;width:3rem;height:3rem;font-size:1.25rem}.tc-bot-body{flex:1;min-width:0}.tc-mode-tag{color:var(--ivory-dim);align-items:center;gap:.4rem;margin-bottom:.3rem;font-size:.72rem;font-weight:500;display:inline-flex}.tc-mode-dot{border-radius:999px;flex-shrink:0;width:.5rem;height:.5rem;display:inline-block}.tc-reply{color:var(--ivory);font-size:.95rem;line-height:1.7}.tc-reply-error{color:#be123c}.tc-thinking{color:var(--ivory-dim);align-items:center;gap:.25rem;display:inline-flex}.tc-dots{gap:.2rem;margin-left:.2rem;display:inline-flex}.tc-dots i{background:currentColor;border-radius:999px;width:.32rem;height:.32rem;animation:1.2s ease-in-out infinite tc-blink;display:block}.tc-dots i:nth-child(2){animation-delay:.15s}.tc-dots i:nth-child(3){animation-delay:.3s}@keyframes tc-blink{0%,80%,to{opacity:.2}40%{opacity:1}}.tc-actions{flex-wrap:wrap;align-items:center;gap:.15rem;margin-top:.65rem;margin-left:-.5rem;display:flex}.tc-action{color:var(--ivory-dim);border-radius:.55rem;align-items:center;gap:.35rem;padding:.32rem .55rem;font-size:.78rem;transition:background .15s,color .15s;display:inline-flex}.tc-action:hover:not(:disabled){background:var(--onyx-3);color:var(--ivory)}.tc-action:disabled{opacity:.5}.tc-secs{color:var(--ivory-dim);opacity:.7;margin-left:.35rem;font-size:.7rem}.tc-dock{z-index:20;background:linear-gradient(to bottom, transparent, var(--onyx) 1.4rem);padding:1.25rem 0 .6rem;position:sticky;bottom:0}.tc-composer{border:1px solid var(--hairline);background:var(--card);transition:border-color .2s var(--ease), box-shadow .2s var(--ease);border-radius:1.4rem;padding:.7rem .8rem .55rem 1rem;box-shadow:0 6px 28px #0f111512}.tc-composer:focus-within{border-color:var(--gold-soft);box-shadow:0 6px 28px #6366f11f}.tc-composer textarea{resize:none;width:100%;color:var(--ivory);background:0 0;border:0;outline:0;max-height:14rem;padding:.15rem 0;font-size:.95rem;line-height:1.5}.tc-composer textarea::placeholder{color:var(--ivory-dim);opacity:.8}.tc-composer-row{justify-content:space-between;align-items:center;gap:.5rem;margin-top:.35rem;display:flex}.tc-send{background:var(--gold);color:#fff;border-radius:999px;place-items:center;width:2.1rem;height:2.1rem;transition:opacity .2s,transform .15s;display:grid}.tc-send:hover:not(:disabled){transform:translateY(-1px)}.tc-send:disabled{opacity:.3}.tc-send.tc-stop{white-space:nowrap;background:var(--ivory);width:auto;color:var(--card);align-items:center;gap:.4rem;padding:0 .85rem 0 .75rem;font-size:.8rem;font-weight:600;display:inline-flex}.tc-send.tc-stop:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-disclaimer{text-align:center;color:var(--ivory-dim);opacity:.8;margin-top:.45rem;font-size:.68rem}.tc-composer.tc-drop{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-composer-tools{align-items:center;gap:.35rem;min-width:0;display:flex}.tc-attach-btn{width:2rem;height:2rem;color:var(--ivory-dim);background:var(--onyx-2);border:1px solid var(--hairline);border-radius:999px;flex-shrink:0;place-items:center;transition:color .15s,border-color .15s;display:grid}.tc-attach-btn:hover:not(:disabled){color:var(--ivory);border-color:var(--gold-soft)}.tc-attach-btn:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-attach-btn:disabled{opacity:.4}.tc-attach{margin:-.1rem 0 .45rem}.tc-attach-drop{color:var(--gold);padding:.15rem 0 .4rem;font-size:.78rem}.tc-attach-hint{color:var(--ivory-dim);margin-top:.4rem;font-size:.72rem}.tc-chips{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.tc-chip-file{border:1px solid var(--hairline);background:var(--onyx-2);min-width:11rem;max-width:16rem;color:var(--ivory);border-radius:.8rem;align-items:center;gap:.5rem;padding:.4rem 1.7rem .45rem .45rem;display:flex;position:relative}.tc-chip-icon{background:var(--gold-faint);width:2.1rem;height:2.1rem;color:var(--gold);border-radius:.55rem;flex-shrink:0;place-items:center;display:grid}.tc-chip-body{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.tc-chip-name{white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;font-weight:500;line-height:1.25;overflow:hidden}.tc-chip-meta{color:var(--ivory-dim);align-items:center;gap:.25rem;font-size:.68rem;line-height:1.3;display:inline-flex}.tc-chip-ready .tc-chip-meta svg{color:#059669}.tc-chip-warn .tc-chip-meta svg{color:#d97706}.tc-chip-failed{background:#f43f5e0f;border-color:#f43f5e73}.tc-chip-failed .tc-chip-icon{color:#e11d48;background:#f43f5e1f}.tc-chip-failed .tc-chip-meta{color:#e11d48}[data-theme=night] .tc-chip-failed .tc-chip-meta,[data-theme=night] .tc-chip-failed .tc-chip-icon{color:#fb7185}.tc-chip-bar{background:var(--onyx-3);border-radius:999px;height:3px;margin-top:.2rem;display:block;overflow:hidden}.tc-chip-bar i{border-radius:inherit;background:var(--gold);height:100%;transition:width .4s var(--ease);display:block}.tc-chip-bar-run i{width:35%;animation:1.15s ease-in-out infinite tc-chip-run}@keyframes tc-chip-run{0%{transform:translate(-100%)}to{transform:translate(290%)}}.tc-chip-x{width:1.3rem;height:1.3rem;color:var(--ivory-dim);background:0 0;border:0;border-radius:999px;place-items:center;font-size:1rem;line-height:1;display:grid;position:absolute;top:.2rem;right:.25rem}.tc-chip-x:hover{background:var(--onyx-3);color:var(--ivory)}.tc-msg-files{white-space:normal;flex-wrap:wrap;justify-content:flex-end;gap:.3rem;margin-bottom:.4rem;display:flex}.tc-msg-file{border:1px solid var(--hairline);background:var(--card);max-width:100%;color:var(--ivory);border-radius:.55rem;align-items:center;gap:.3rem;padding:.22rem .55rem;font-size:.75rem;display:inline-flex}.tc-msg-file svg{color:var(--gold);flex-shrink:0}.tc-msg-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:16rem;overflow:hidden}.tc-msg-file-meta{color:var(--ivory-dim);white-space:nowrap}@media (max-width:480px){.tc-chip-file{flex:100%;min-width:0;max-width:100%}}@media (prefers-reduced-motion:reduce){.tc-chip-bar-run i{opacity:.45;width:100%}}.tc-rimgs{flex-direction:column;gap:.9rem;margin-top:.8rem;display:flex}.tc-rimgs-many{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));align-items:start;display:grid}.tc-rimg{min-width:0;margin:0}.tc-rimg-plate{border:1px solid var(--hairline);background:#fff;border-radius:.8rem;padding:.5rem;position:relative}.tc-rimg-zoom{cursor:zoom-in;background:0 0;border:0;border-radius:.45rem;width:100%;padding:0;display:block;position:relative}.tc-rimg-zoom:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}.tc-rimg-zoom img{object-fit:contain;border-radius:.35rem;width:100%;height:auto;max-height:min(32rem,70vh);margin:0 auto;display:block}.tc-rimg-zoom-mark{color:#fff;opacity:0;pointer-events:none;background:#0f11158c;border-radius:.5rem;place-items:center;width:1.8rem;height:1.8rem;transition:opacity .15s;display:grid;position:absolute;top:.25rem;right:.25rem}.tc-rimg-zoom:hover .tc-rimg-zoom-mark,.tc-rimg-zoom:focus-visible .tc-rimg-zoom-mark{opacity:1}@media (hover:none){.tc-rimg-zoom-mark{opacity:.75}}.tc-rimg-wait{color:#6b7280;justify-content:center;align-items:center;gap:.4rem;width:100%;min-height:7rem;max-height:min(32rem,70vh);font-size:.78rem;display:flex}.tc-rimg-cap{flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin-top:.45rem;display:flex}.tc-rimg-tag{border:1px solid var(--hairline);background:var(--onyx-2);color:var(--ivory-dim);letter-spacing:.01em;white-space:nowrap;border-radius:999px;flex-shrink:0;padding:.05rem .55rem;font-size:.66rem;font-weight:650;line-height:1.5}.tc-rimg-tag-ours{border-color:var(--gold-soft);background:var(--gold-faint);color:var(--gold)}.tc-rimg-alt{min-width:0;color:var(--ivory-dim);font-size:.78rem;line-height:1.45}.tc-rimg-acts{flex-wrap:wrap;align-items:center;gap:.15rem;margin:.3rem 0 0 -.5rem;display:flex}.tc-rimg-note{color:#b45309;align-items:flex-start;gap:.4rem;margin:.2rem 0 0;font-size:.75rem;line-height:1.45;display:flex}.tc-rimg-note>svg{flex-shrink:0;margin-top:.12rem}.tc-rcard{padding:.55rem .8rem .45rem}.tc-rcard>.tc-rimg-cap{margin:0 0 .1rem}.tc-rcard .tc-fig{margin:.25rem 0 0}[data-theme=night] .tc-rimg-plate{border-color:#f3f4f629}[data-theme=night] .tc-rimg-note{color:#fcd34d}@media (max-width:640px){.tc-rimgs-many{grid-template-columns:1fr}.tc-rimg-plate{padding:.3rem}.tc-rimg-zoom img{max-height:60vh}}.tc-area{-webkit-user-select:none;user-select:none;width:100%;display:block;position:relative}.tc-area-img{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;height:auto;max-height:min(32rem,70vh);margin:0 auto;display:block}.tc-area-stage{cursor:crosshair;touch-action:none;box-shadow:inset 0 0 0 1px var(--gold-soft);border-radius:.15rem;outline:none;position:absolute;overflow:hidden}.tc-area-stage:not(.tc-area-stage-set){box-shadow:inset 0 0 0 2px var(--gold-soft);outline:2px dashed var(--gold);outline-offset:-2px;background:#6366f10f}.tc-area-empty{color:#fff;text-align:center;pointer-events:none;background:#0f1115b8;border-radius:999px;align-items:center;gap:.35rem;max-width:90%;padding:.35rem .75rem;font-size:.78rem;font-weight:550;line-height:1.3;display:inline-flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 8px #00000040}.tc-area-stage:focus-visible{box-shadow:inset 0 0 0 2px var(--gold)}.tc-area-rect{box-sizing:border-box;border:2px solid var(--gold);cursor:move;outline-offset:-5px;outline:1px dashed #ffffffe6;position:absolute;box-shadow:0 0 0 9999px #0f11156b}.tc-area-h{border:2px solid var(--gold);background:#fff;border-radius:.2rem;width:.85rem;height:.85rem;margin:-.425rem 0 0 -.425rem;position:absolute;box-shadow:0 1px 3px #00000059}.tc-area-h-nw{cursor:nwse-resize;top:0;left:0}.tc-area-h-n{cursor:ns-resize;top:0;left:50%}.tc-area-h-ne{cursor:nesw-resize;top:0;left:100%}.tc-area-h-e{cursor:ew-resize;top:50%;left:100%}.tc-area-h-se{cursor:nwse-resize;top:100%;left:100%}.tc-area-h-s{cursor:ns-resize;top:100%;left:50%}.tc-area-h-sw{cursor:nesw-resize;top:100%;left:0}.tc-area-h-w{cursor:ew-resize;top:50%;left:0}@media (pointer:coarse){.tc-area-h{width:1.35rem;height:1.35rem;margin:-.675rem 0 0 -.675rem}}.tc-area-btn{border:1px solid var(--hairline);background:var(--card);color:var(--ivory-dim);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:.3rem;padding:.2rem .6rem .2rem .45rem;font-size:.72rem;font-weight:500;line-height:1.3;display:inline-flex}.tc-area-btn:hover:not(:disabled){color:var(--ivory);border-color:var(--gold-soft)}.tc-area-btn:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-area-btn:disabled{opacity:.5;cursor:default}.tc-area-btn.tc-area-btn-on{color:var(--gold);border-color:var(--gold-soft);background:var(--gold-faint)}.tc-action.tc-area-btn-on,.tc-action.tc-area-btn-on:hover:not(:disabled){background:var(--gold-faint);color:var(--gold)}.tc-area-line{width:100%;color:var(--ivory-dim);align-items:center;gap:.4rem;margin:0;font-size:.74rem;line-height:1.45;display:flex}.tc-area-line>svg{flex-shrink:0}.tc-area-line.tc-area-line-set{color:var(--gold);font-weight:550}.tc-area-line .tc-link{flex-shrink:0}.tc-rimg .tc-area-line{margin-top:.3rem}.tc-fig-img .tc-area-img{max-height:min(30rem,70vh)}.tc-mode-btn{color:var(--ivory);background:var(--onyx-2);border:1px solid var(--hairline);border-radius:999px;align-items:center;gap:.45rem;padding:.35rem .7rem;font-size:.8rem;font-weight:500;display:inline-flex}.tc-mode-btn:hover{border-color:var(--gold-soft)}.tc-menu{z-index:40;border:1px solid var(--hairline);background:var(--card);border-radius:1rem;width:21rem;max-width:calc(100vw - 2rem);padding:.35rem;position:absolute;left:0;box-shadow:0 16px 48px #0f111529}.tc-menu-up{bottom:calc(100% + .5rem)}.tc-menu-down{top:calc(100% + .5rem)}.tc-menu-item{text-align:left;width:100%;color:var(--ivory);border-radius:.7rem;align-items:flex-start;gap:.65rem;padding:.6rem .7rem;display:flex}.tc-menu-item:hover,.tc-menu-item.active{background:var(--onyx-2)}.tc-menu-desc{color:var(--ivory-dim);margin-top:.1rem;font-size:.72rem;line-height:1.35;display:block}.tc-menu-check{color:var(--gold);padding-top:.15rem}.tc-cards{flex-direction:column;gap:.75rem;margin-top:1rem;display:flex}.tc-card{background:var(--card);border:1px solid var(--hairline);transition:box-shadow .2s var(--ease);border-radius:1rem;padding:.85rem 1rem .7rem}.tc-card:hover{box-shadow:0 4px 18px #0f11150d}.tc-card-alt{border-style:dashed;border-color:#0ea5e980}.tc-card-composed{border-style:dashed;border-color:#f59e0b80}.tc-num{background:var(--onyx-3);min-width:1.6rem;height:1.6rem;color:var(--ivory);border-radius:.5rem;place-items:center;padding:0 .35rem;font-size:.75rem;font-weight:700;display:inline-grid}.tc-level,.tc-badge{border-radius:999px;align-items:center;gap:.25rem;padding:.15rem .55rem;font-size:.7rem;font-weight:600;display:inline-flex}.tc-lv-easy{color:#047857;background:#10b9811f}.tc-lv-medium{color:#b45309;background:#f59e0b26}.tc-lv-hard{color:#be123c;background:#f43f5e1f}.tc-badge-exam{color:#4338ca;background:#6366f11f}.tc-badge-alt{color:#0369a1;background:#0ea5e91f}.tc-icon{width:1.9rem;height:1.9rem;color:var(--ivory-dim);border-radius:.55rem;place-items:center;display:grid}.tc-icon:hover{background:var(--onyx-3);color:var(--ivory)}.tc-pill{border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:999px;align-items:center;gap:.3rem;padding:.28rem .7rem;font-size:.75rem;font-weight:600;display:inline-flex}.tc-pill:hover{border-color:var(--gold-soft);color:var(--gold)}.tc-ref{color:var(--ivory-dim);margin-bottom:.45rem;font-size:.74rem}.tc-statement{color:var(--ivory);font-size:.94rem;line-height:1.65}.tc-options{gap:.15rem;margin-top:.55rem;display:grid}.tc-opt{border-radius:.55rem;align-items:baseline;gap:.55rem;padding:.22rem .5rem;font-size:.92rem;display:flex}.tc-opt-letter{min-width:1.35rem;color:var(--ivory);font-weight:700}.tc-opt-text{flex:1;min-width:0}.tc-opt-right{background:#dc26260f}.tc-opt-right .tc-opt-letter{color:#dc2626}.tc-card-foot{gap:1rem;margin-top:.6rem;display:flex}.tc-link{color:var(--ivory-dim);align-items:center;gap:.3rem;font-size:.78rem;font-weight:500;display:inline-flex}.tc-link:hover{color:var(--gold)}.tc-solution{background:var(--onyx-2);color:var(--ivory);border-radius:.8rem;flex-direction:column;gap:.45rem;margin-top:.55rem;padding:.75rem .9rem;display:flex}.tc-answer{font-size:.9rem}.tc-answer>span:first-child{font-weight:600}.tc-original{border:1px dashed var(--hairline);color:var(--ivory-dim);border-radius:.65rem;margin-top:.5rem;padding:.6rem .8rem}.tc-muted{color:var(--ivory-dim);font-size:.75rem}.tc-label{color:var(--ivory-dim);text-transform:uppercase;letter-spacing:.04em;font-size:.72rem;font-weight:600}.tc-note{color:var(--ivory-dim);margin-top:.35rem;font-size:.75rem;font-style:italic}.tc-note-warn{color:#b45309;flex-direction:column;gap:.15rem;font-size:.78rem;display:flex}.tc-note-alt{color:#0369a1;flex-direction:column;gap:.15rem;font-size:.75rem;display:flex}.tc-ok{color:#047857}.tc-status{color:var(--ivory-dim);font-size:.75rem}.tc-st-key,.tc-st-agree,.tc-st-consensus{color:#047857}.tc-st-disputed,.tc-st-contested{color:#be123c}.tc-st-unverified,.tc-st-figure,.tc-st-composed{color:#b45309}.tc-theory-list{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.tc-theory{border:1px solid var(--hairline);background:var(--card);border-radius:.9rem}.tc-theory-head{width:100%;color:var(--ivory);align-items:center;gap:.65rem;padding:.65rem .85rem;display:flex}.tc-theory-head .tc-ref{margin:.1rem 0 0}.tc-theory-body{flex-direction:column;gap:.45rem;padding:0 .95rem .85rem 3.1rem;display:flex}.tc-sources{margin-top:.75rem}.tc-source-list{color:var(--ivory-dim);flex-direction:column;gap:.2rem;margin-top:.4rem;font-size:.75rem;display:flex}.tc-source-n{background:var(--onyx-3);min-width:1.15rem;height:1.15rem;color:var(--ivory);border-radius:.35rem;place-items:center;margin-right:.25rem;font-size:.65rem;font-weight:700;display:inline-grid}.tc-spin{transform-origin:50%;animation:.9s linear infinite tc-spin}@keyframes tc-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.tc-spin{animation-duration:2.4s}}.tc-chip{white-space:nowrap;border-radius:999px;align-items:center;padding:.12rem .55rem;font-size:.7rem;font-weight:600;display:inline-flex}.tc-chip-ok{color:#047857;background:#10b9811f}.tc-chip-fail{color:#be123c;background:#f43f5e1f}.tc-icon-fail,.tc-icon-fail:hover,.tc-action.tc-action-fail,.tc-action.tc-action-fail:hover:not(:disabled){color:#be123c}.tc-action.tc-action-ok,.tc-action.tc-action-ok:hover:not(:disabled){color:#047857}.tc-num-alt{color:#0369a1;background:#0ea5e924}.tc-num-edit{color:#6d28d9;background:#8b5cf624}.tc-card-edit{border-style:dashed;border-color:#8b5cf68c}.tc-badge-edit{color:#6d28d9;background:#8b5cf61f}.tc-card-gen{border-style:dashed;border-color:#0d948880}.tc-num-gen{color:#0f766e;background:#0d948824}.tc-badge-gen{color:#0f766e;background:#0d94881f;min-width:0;max-width:100%}.tc-instruction{color:var(--ivory-dim);margin:-.2rem 0 .45rem;font-size:.78rem;font-style:italic}.tc-understood{color:var(--ivory-dim);border-left:2px solid var(--hairline);margin-bottom:.45rem;padding-left:.65rem;font-size:.82rem;line-height:1.55}.tc-clarify{border-left:3px solid var(--gold-soft);padding:.1rem 0 .1rem .85rem}.tc-clarify-tag{color:var(--gold);font-weight:600}.md>:first-child{margin-top:0}.md p{margin:.55rem 0}.md ul,.md ol{margin:.5rem 0;padding-left:1.35rem}.md ul{list-style:outside}.md ol{list-style:decimal}.md li{margin:.2rem 0;padding-left:.15rem}.md li::marker{color:var(--ivory-dim)}.md .md-h{margin:1rem 0 .35rem;font-weight:650;line-height:1.35}.md .md-h1{font-size:1.12rem}.md .md-h2{font-size:1.02rem}.md .md-h3{font-size:.96rem}.md blockquote{border-left:3px solid var(--gold-soft);color:var(--ivory-dim);background:var(--onyx-2);border-radius:0 .5rem .5rem 0;margin:.55rem 0;padding:.35rem .85rem}.md hr{border:0;border-top:1px solid var(--hairline);margin:.9rem 0}.md code{background:var(--onyx-3);border-radius:.3rem;padding:.05rem .3rem;font-size:.85em}[data-theme=night] .tc-lv-easy,[data-theme=night] .tc-ok,[data-theme=night] .tc-st-key,[data-theme=night] .tc-st-agree,[data-theme=night] .tc-st-consensus{color:#6ee7b7}[data-theme=night] .tc-lv-medium,[data-theme=night] .tc-note-warn,[data-theme=night] .tc-st-unverified,[data-theme=night] .tc-st-figure,[data-theme=night] .tc-st-composed{color:#fcd34d}[data-theme=night] .tc-lv-hard,[data-theme=night] .tc-st-disputed,[data-theme=night] .tc-st-contested,[data-theme=night] .tc-reply-error{color:#fda4af}[data-theme=night] .tc-badge-exam{color:#a5b4fc}[data-theme=night] .tc-badge-alt,[data-theme=night] .tc-note-alt{color:#7dd3fc}[data-theme=night] .tc-opt-right .tc-opt-letter{color:#f87171}[data-theme=night] .tc-chip-ok,[data-theme=night] .tc-action.tc-action-ok,[data-theme=night] .tc-action.tc-action-ok:hover:not(:disabled){color:#6ee7b7}[data-theme=night] .tc-chip-fail,[data-theme=night] .tc-icon-fail,[data-theme=night] .tc-icon-fail:hover,[data-theme=night] .tc-action.tc-action-fail,[data-theme=night] .tc-action.tc-action-fail:hover:not(:disabled){color:#fda4af}[data-theme=night] .tc-num-alt{color:#7dd3fc}[data-theme=night] .tc-num-edit,[data-theme=night] .tc-badge-edit{color:#c4b5fd}[data-theme=night] .tc-card-gen{border-color:#2dd4bf73}[data-theme=night] .tc-num-gen,[data-theme=night] .tc-badge-gen{color:#5eead4}[data-theme=night] .tc-seg button.active{box-shadow:0 1px 3px #0006}.tc-card-head{flex-wrap:nowrap;align-items:flex-start;gap:.6rem;margin-bottom:.3rem;display:flex}.tc-card-tags{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:.45rem;min-width:0;padding-top:.15rem;display:flex}.tc-card-acts{flex-shrink:0;align-items:center;gap:.35rem;display:flex}.tc-qtype{position:relative}.tc-qtype .tc-pill:disabled{opacity:.5;cursor:default;border-color:var(--hairline);color:var(--ivory)}.tc-qmenu{width:25.5rem;left:auto;right:0}.tc-qmenu ul{flex-direction:column;display:flex}.tc-qmenu-head{letter-spacing:.03em;color:var(--ivory-dim);padding:.4rem .7rem .3rem;font-size:.7rem;font-weight:600}.tc-qmenu .tc-menu-item{align-items:center;padding:.5rem .6rem}.tc-qmenu .tc-menu-item:focus-visible{outline:2px solid var(--gold-soft);outline-offset:-2px;background:var(--onyx-2)}.tc-qmenu .tc-menu-check{padding-top:0}.tc-qmenu-icon{background:var(--gold-faint);width:2rem;height:2rem;color:var(--gold);border-radius:.6rem;flex-shrink:0;place-items:center;display:grid}.tc-qmenu-backdrop{display:none}.tc-card-q{border-style:dashed;border-color:#6366f173}.tc-badge-q{background:var(--gold-faint);color:#4338ca;min-width:0;max-width:100%}.tc-badge-q svg{flex-shrink:0}.tc-badge-q-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tc-q{flex-direction:column;gap:.55rem;display:flex}.tc-q .tc-options{margin-top:0}.tc-q-key{flex-direction:column;align-items:flex-start;gap:.4rem;font-size:.92rem;display:flex}.tc-q-fill .tc-q-key{display:block}.tc-q-label{color:var(--ivory);font-size:.85rem;font-weight:600}.tc-q-tag{color:#b91c1c;background:#dc262624;border-radius:.3rem;padding:.05rem .45rem;font-size:.85rem;font-weight:600;display:inline-block}.tc-q-accepted{font-weight:600}.tc-q-blank{color:#111318;background:#fde047;border-radius:.25rem;margin:0 .1rem;padding:0 .25rem;font-weight:600;line-height:1.45;display:inline-block}.tc-q-blanks{flex-wrap:wrap;gap:.6rem 1.75rem;display:flex}.tc-q-blankbox{flex-direction:column;align-items:flex-start;gap:.25rem;min-width:6rem;display:flex}.tc-q-lines{flex-direction:column;gap:.1rem;display:flex}.tc-q-line{border-radius:.45rem;padding:.1rem .45rem}.tc-q-right{color:#dc2626;background:#dc26260f;font-weight:600}.tc-q-table{border-collapse:collapse;width:100%;max-width:34rem;font-size:.92rem}.tc-q-table td{vertical-align:top;border:1px solid;width:50%;padding:.35rem .65rem}.tc-q-chips{flex-wrap:wrap;gap:.35rem;display:flex}.tc-q-cat{border-radius:999px;align-items:center;padding:.08rem .55rem;font-size:.82rem;font-weight:600;display:inline-flex}.tc-q-cat-0{color:#4338ca;background:#6366f11f}.tc-q-cat-1{color:#047857;background:#10b98121}.tc-q-cat-2{color:#b45309;background:#f59e0b29}.tc-q-cat-3{color:#0369a1;background:#0ea5e921}.tc-q-cat-4{color:#be185d;background:#ec48991f}.tc-q-word{border:1px solid var(--hairline);background:var(--onyx-2);color:var(--ivory);border-radius:999px;align-items:center;padding:.15rem .65rem;font-size:.85rem;font-weight:500;display:inline-flex}.tc-q-word-extra{color:var(--ivory-dim);border-style:dashed}.tc-q-word-key{border-color:var(--gold-soft);background:var(--gold-faint);font-weight:600}.tc-q-bank{border:1px dashed var(--hairline);border-radius:.75rem;width:100%;padding:.45rem}.tc-q-pics{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.6rem;width:100%;margin-top:.2rem;display:grid}.tc-q-pic{border:1px solid var(--hairline);background:var(--card);border-radius:.8rem;flex-direction:column;align-items:center;gap:.45rem;min-width:0;padding:.45rem;display:flex}.tc-q-pic img{aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:.5rem;width:100%;height:auto;max-height:15rem;display:block}.tc-q-pic-missing{aspect-ratio:4/3;text-align:center;width:100%;max-height:15rem;color:var(--ivory-dim);border:1px dashed var(--hairline);border-radius:.5rem;place-items:center;padding:.5rem;font-size:.72rem;display:grid}@media (max-width:640px){.tc-menu.tc-qmenu{z-index:60;border-radius:1.1rem;width:auto;max-width:none;max-height:78vh;position:fixed;inset:auto .75rem .75rem;overflow-y:auto}.tc-qmenu-backdrop{z-index:55;background:#0f111559;display:block;position:fixed;inset:0}}@media (max-width:420px){.tc-pill-label{display:none}.tc-card-acts .tc-pill{padding:.32rem .5rem}.tc-badge-q,.tc-badge-gen{border-radius:.6rem}.tc-badge-q-name{white-space:normal}.tc-q-pics{grid-template-columns:repeat(2,minmax(0,1fr))}}[data-theme=night] .tc-card-q{border-color:#818cf873}[data-theme=night] .tc-badge-q,[data-theme=night] .tc-q-cat-0{color:#a5b4fc}[data-theme=night] .tc-q-tag{color:#fca5a5;background:#f871712e}[data-theme=night] .tc-q-blank{color:#111318;background:#facc15}[data-theme=night] .tc-q-right{color:#f87171;background:#f871711a}[data-theme=night] .tc-q-cat-1{color:#6ee7b7}[data-theme=night] .tc-q-cat-2{color:#fcd34d}[data-theme=night] .tc-q-cat-3{color:#7dd3fc}[data-theme=night] .tc-q-cat-4{color:#f9a8d4}[data-theme=night] .tc-q-table td{border-color:#f3f4f68c}[data-theme=night] .tc-qmenu-backdrop{background:#00000080}.tc-full{border:1px dashed var(--hairline);background:var(--card);border-radius:.6rem;padding:.55rem .75rem}.tc-full-toggle{align-self:flex-start}[data-theme=night] .tc-full{background:#0000002e;border-color:#f3f4f629}.tc-pill:disabled{opacity:.5;cursor:default;border-color:var(--hairline);color:var(--ivory)}.tc-card-busy{border-color:var(--gold-soft)}.tc-vbadge{text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;max-width:100%;padding:.1rem .5rem;font-size:.68rem;font-weight:600;display:inline-flex;overflow:hidden}.tc-vbadge.tc-v-alt{color:#0369a1;background:#0ea5e91f}.tc-vbadge.tc-v-edit{color:#6d28d9;background:#8b5cf61f}.tc-vbadge.tc-v-typed{background:var(--gold-faint);color:#4338ca}.tc-versions{background:var(--onyx-2);border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.3rem;width:fit-content;max-width:100%;margin:.1rem 0 .5rem;padding:.25rem;display:flex}.tc-vchip{min-width:0;max-width:100%;color:var(--ivory-dim);white-space:nowrap;text-overflow:ellipsis;border-radius:.5rem;align-items:center;padding:.2rem .6rem;font-size:.72rem;font-weight:500;transition:background .15s,color .15s,box-shadow .15s;display:inline-flex;overflow:hidden}.tc-vchip:hover{color:var(--ivory)}.tc-vchip:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-vchip.active{background:var(--card);color:var(--ivory);font-weight:600;box-shadow:0 1px 3px #0f11151a}.tc-vchip.tc-v-alt.active{color:#0369a1}.tc-vchip.tc-v-edit.active{color:#6d28d9}.tc-vchip.tc-v-typed.active{color:#4338ca}.tc-scale{flex-direction:column;gap:.35rem;max-width:26rem;margin-top:.45rem;display:flex}.tc-scale-card{background:var(--gold-faint);border-radius:.7rem;max-width:none;margin:.15rem 0 .6rem;padding:.5rem .65rem}.tc-scale-line{color:var(--ivory-dim);font-variant-numeric:tabular-nums;align-items:center;gap:.4rem;font-size:.75rem;display:flex}.tc-scale-line svg{color:var(--gold);flex-shrink:0}.tc-scale-card .tc-scale-line{color:var(--ivory)}.tc-scale-stop{white-space:nowrap;border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:999px;flex-shrink:0;align-items:center;gap:.3rem;margin-left:auto;padding:.32rem .6rem;font-size:.72rem;font-weight:600;line-height:1;transition:border-color .15s,color .15s,opacity .15s;display:inline-flex}.tc-scale-line .tc-scale-stop svg{color:#be123c}.tc-scale-stop:hover:not(:disabled){color:#be123c;border-color:#f43f5e73}.tc-scale-stop:disabled{opacity:.6;cursor:default}.tc-scale-stop:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-scale-track{background:var(--onyx-3);border-radius:999px;height:.3rem;position:relative;overflow:hidden}.tc-scale-track i{border-radius:inherit;background:linear-gradient(90deg, var(--gold-soft), var(--gold));transition:width .9s linear;display:block;position:absolute;inset:0 auto 0 0}.tc-scale-track i:after{content:"";background:linear-gradient(90deg,#0000,#ffffff73,#0000);animation:1.6s ease-in-out infinite tc-scale-shine;position:absolute;inset:0;transform:translate(-100%)}@keyframes tc-scale-shine{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.tc-scale-track i{transition:none}.tc-scale-track i:after{animation:none;display:none}}.tc-card-err{color:#be123c;background:#f43f5e14;border-radius:.65rem;align-items:flex-start;gap:.4rem;margin:.15rem 0 .6rem;padding:.45rem .6rem;font-size:.78rem;line-height:1.45;display:flex}.tc-card-err svg{flex-shrink:0;margin-top:.1rem}.tc-card-err-x{width:1.35rem;height:1.35rem;color:inherit;opacity:.75;border-radius:.4rem;flex-shrink:0;place-items:center;font-size:1rem;line-height:1;display:grid}.tc-card-err-x:hover{opacity:1;background:#f43f5e1f}.tc-card-err.tc-card-stop{background:var(--onyx-3);color:var(--ivory-dim);align-items:center}.tc-card-err.tc-card-stop svg{margin-top:0}.tc-card-stop .tc-card-err-x:hover{background:var(--hairline)}.tc-stopped{border:1px dashed var(--hairline);color:var(--ivory-dim);border-radius:999px;align-items:center;gap:.4rem;margin-top:.45rem;padding:.22rem .7rem;font-size:.76rem;line-height:1.45;display:inline-flex}.tc-stopped svg{flex-shrink:0}.tc-stopped-gone{border-radius:.7rem;align-items:flex-start;padding:.35rem .7rem}.tc-stopped-gone svg{margin-top:.25rem}.tc-touched{color:var(--ivory-dim);flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.5rem;font-size:.78rem;display:flex}.tc-touched svg{color:#047857}.tc-touched-link{border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:999px;padding:.12rem .55rem;font-size:.75rem;font-weight:600}.tc-touched-link:hover{border-color:var(--gold-soft);color:var(--gold)}.tc-flash{animation:tc-flash 1.8s var(--ease)}@keyframes tc-flash{0%,35%{box-shadow:0 0 0 3px var(--gold-soft)}to{box-shadow:0 0 #0000}}.tc-card-removed{border:1px dashed var(--hairline);color:var(--ivory-dim);border-radius:.8rem;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.5rem .85rem;font-size:.78rem;display:flex}.tc-group{margin-top:1.1rem}.tc-group+.tc-group{margin-top:1.5rem}.tc-group-head{border-bottom:1px solid var(--hairline);padding-bottom:.35rem}.tc-group-title{color:var(--ivory);font-size:.95rem;font-weight:650;line-height:1.4}.tc-group-intro{color:var(--ivory-dim);margin-top:.2rem;font-size:.85rem;line-height:1.55}.tc-group .tc-cards{margin-top:.7rem}@media (max-width:640px){.tc-versions{width:100%}.tc-vchip{white-space:normal;text-align:left;padding:.2rem .5rem;font-size:.7rem}.tc-scale-card{padding:.45rem .55rem}.tc-scale-stop{padding:.45rem .7rem}}[data-theme=night] .tc-vbadge.tc-v-alt,[data-theme=night] .tc-vchip.tc-v-alt.active{color:#7dd3fc}[data-theme=night] .tc-vbadge.tc-v-edit,[data-theme=night] .tc-vchip.tc-v-edit.active{color:#c4b5fd}[data-theme=night] .tc-vbadge.tc-v-typed,[data-theme=night] .tc-vchip.tc-v-typed.active{color:#a5b4fc}[data-theme=night] .tc-vchip.active{background:var(--onyx-3);box-shadow:0 1px 3px #0006}[data-theme=night] .tc-scale-track i:after{background:linear-gradient(90deg,#0000,#ffffff38,#0000)}[data-theme=night] .tc-card-err{color:#fda4af;background:#f43f5e1f}[data-theme=night] .tc-card-err.tc-card-stop{background:var(--onyx-3);color:var(--ivory-dim)}[data-theme=night] .tc-scale-line .tc-scale-stop svg,[data-theme=night] .tc-scale-stop:hover:not(:disabled){color:#fda4af}[data-theme=night] .tc-scale-stop:hover:not(:disabled){border-color:#fda4af66}[data-theme=night] .tc-touched svg{color:#6ee7b7}.tc-turn-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.35rem .75rem;margin-bottom:.3rem;display:flex}.tc-turn-head .tc-mode-tag{margin-bottom:0}.tc-text-toggle{color:var(--ivory-dim);border:1px solid var(--hairline);background:var(--card);border-radius:999px;align-items:center;gap:.35rem;padding:.2rem .6rem;font-size:.72rem;font-weight:500;transition:color .15s,border-color .15s;display:inline-flex}.tc-text-toggle:hover{color:var(--ivory);border-color:var(--gold-soft)}.tc-text-toggle:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-action.tc-action-convert{color:var(--gold);font-weight:600}.tc-action.tc-action-convert:hover:not(:disabled){background:var(--gold-faint);color:var(--gold)}.tc-conv-note{border:1px solid var(--hairline);background:var(--onyx-2);color:var(--ivory);border-radius:.8rem;align-items:flex-start;gap:.5rem;margin-top:.75rem;padding:.55rem .8rem;font-size:.82rem;line-height:1.55;display:flex}.tc-conv-note>svg{color:var(--gold);flex-shrink:0;margin-top:.22rem}.tc-conv-note .md p{margin:0}.tc-conv-note .md p+p,.tc-conv-note .md ul,.tc-conv-note .md ol{margin-top:.3rem}.tc-conv-stopped,.tc-conv-gone{color:var(--ivory-dim);background:0 0;border-style:dashed}.tc-conv-stopped>svg,.tc-conv-gone>svg{color:var(--ivory-dim)}.tc-conv-error{color:#be123c;background:#f43f5e14;border-color:#f43f5e40}.tc-conv-error>svg{color:#be123c}.tc-conv-live>.tc-muted{margin-top:.85rem}.tc-stale{opacity:.55;transition:opacity .2s var(--ease)}.tc-collection{border:1px solid var(--hairline);background:var(--onyx-2);border-radius:.9rem;flex-direction:column;gap:.45rem;margin-top:1.1rem;padding:.5rem .65rem;display:flex}.tc-collection-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem .75rem;display:flex}.tc-collection-acts{flex-wrap:wrap;align-items:center;gap:.3rem;display:flex}.tc-collection .tc-scale{max-width:none;margin-top:0}.tc-qcount{color:var(--ivory-dim);font-variant-numeric:tabular-nums;align-items:center;gap:.35rem;padding-left:.2rem;font-size:.78rem;display:inline-flex}.tc-qcount b{color:var(--ivory);font-weight:650}.tc-qcount svg{color:var(--gold);flex-shrink:0}.tc-qcount-done,.tc-qcount-done b,.tc-qcount-done svg{color:#047857}.tc-collection-n{text-align:center;background:var(--gold-faint);min-width:1.25rem;color:var(--gold);border-radius:999px;padding:0 .35rem;font-size:.68rem;font-weight:700;line-height:1.25rem}.tc-action.tc-action-main{background:var(--gold);color:#fff;font-weight:600}.tc-action.tc-action-main:hover:not(:disabled){background:var(--gold);color:#fff;filter:brightness(1.07)}.tc-fig{flex-direction:column;align-items:flex-start;gap:.45rem;margin:.55rem 0 .15rem;display:flex}.tc-q .tc-fig{margin:0}.tc-fig-brief{width:100%;color:var(--ivory);background:#f59e0b12;border-left:3px solid #f59e0b99;border-radius:.2rem .65rem .65rem .2rem;padding:.45rem .7rem}.tc-fig-label{letter-spacing:.02em;color:#b45309;align-items:center;gap:.3rem;margin-bottom:.1rem;font-size:.7rem;font-weight:650;display:inline-flex}.tc-fig-text{font-size:.84rem;line-height:1.55}.tc-fig-img{border:1px solid var(--hairline);width:100%;transition:opacity .2s var(--ease);background:#fff;border-radius:.8rem;padding:.5rem;position:relative}.tc-fig-img img{object-fit:contain;width:100%;height:auto;max-height:min(30rem,70vh);margin:0 auto;display:block}.tc-fig-dim{opacity:.55}.tc-fig-zoom{cursor:zoom-in;background:0 0;border:0;border-radius:.45rem;width:100%;padding:0;display:block;position:relative}.tc-fig-zoom:focus-visible{outline:2px solid var(--gold-soft);outline-offset:3px}.tc-fig-zoom-mark{color:#fff;opacity:0;pointer-events:none;background:#0f11158c;border-radius:.5rem;place-items:center;width:1.7rem;height:1.7rem;transition:opacity .15s;display:grid;position:absolute;top:.2rem;right:.2rem}.tc-fig-zoom:hover .tc-fig-zoom-mark,.tc-fig-zoom:focus-visible .tc-fig-zoom-mark{opacity:1}@media (hover:none){.tc-fig-zoom-mark{opacity:.75}}.tc-fig-missing{text-align:center;color:#6b7280;place-items:center;width:100%;min-height:5.5rem;padding:.5rem;font-size:.72rem;display:grid}.tc-fig-acts{flex-wrap:wrap;align-items:center;gap:.35rem .9rem;display:flex}.tc-fig-acts .tc-pill:disabled{opacity:.7;cursor:default}.tc-fig-nav{margin-left:-.25rem;font-size:.78rem}.tc-fig-nav-mark{color:#4f46e5;white-space:nowrap;border:1px solid #6366f159;border-radius:999px;margin:0 .15rem;padding:0 .4rem;font-size:.68rem;font-weight:650}.tc-fig-acts .tc-link:focus-visible,.tc-fig-change .tc-link:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:.3rem}.tc-fig-remove:hover{color:#be123c}.tc-fig .tc-card-err,.tc-fig .tc-fig-wait{width:100%;margin:0}.tc-fig-change{border:1px solid var(--gold-soft);background:var(--card);border-radius:.8rem;flex-direction:column;gap:.4rem;width:100%;padding:.5rem .65rem .45rem;transition:border-color .15s,box-shadow .15s;display:flex}.tc-fig-change:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-fig-change textarea{resize:vertical;width:100%;min-height:3.1rem;max-height:12rem;color:var(--ivory);background:0 0;border:0;outline:0;padding:.1rem 0;font-size:.88rem;line-height:1.5}.tc-fig-change textarea::placeholder{color:var(--ivory-dim);opacity:.85}.tc-fig-change-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem .8rem;display:flex}.tc-fig-count{color:var(--ivory-dim);font-variant-numeric:tabular-nums;margin-right:auto;font-size:.7rem}.tc-pill.tc-fig-apply{background:var(--gold);border-color:var(--gold);color:#fff}.tc-pill.tc-fig-apply:hover:not(:disabled){color:#fff;filter:brightness(1.07)}.tc-pill.tc-fig-apply:disabled{opacity:1;background:var(--onyx-3);border-color:var(--hairline);color:var(--ivory-dim)}.tc-pill.tc-fig-apply:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-gif{flex-direction:column;gap:.45rem;width:100%;margin:.15rem 0 .35rem;display:flex}.tc-gif-plate{transition:opacity .2s var(--ease);flex-direction:column;gap:.3rem;display:flex}.tc-gif-frame{border:1px solid var(--hairline);box-sizing:border-box;background:#fff;border-radius:.8rem;place-items:center;width:100%;max-width:40rem;margin:0 auto;padding:.35rem;display:grid;overflow:hidden}.tc-gif-frame img{object-fit:contain;width:100%;height:100%;display:block}.tc-gif-asked{color:var(--ivory-dim);margin:0;font-size:.74rem;line-height:1.4}.tc-gif-asked b{font-weight:600}.tc-gif-box{border:1px solid var(--gold-soft);background:var(--card);border-radius:.8rem;flex-direction:column;gap:.35rem;padding:.5rem .65rem .45rem;transition:border-color .15s,box-shadow .15s;display:flex}.tc-gif-box:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-gif-input{resize:vertical;width:100%;min-height:3.1rem;max-height:12rem;color:var(--ivory);background:0 0;border:0;outline:0;padding:.1rem 0;font-size:.88rem;line-height:1.5}.tc-gif-input::placeholder{color:var(--ivory-dim);opacity:.85}.tc-gif-hints{color:var(--ivory-dim);margin:0;font-size:.72rem;line-height:1.35}.tc-gif-understood{color:var(--ivory-dim);flex-direction:column;gap:.15rem;font-size:.74rem;line-height:1.4;display:flex}.tc-gif-understood p{margin:0}.tc-gif-understood .tc-gif-warn{color:#b45309}.tc-gif-copied{color:#b45309;margin:0;font-size:.76rem;font-weight:600;line-height:1.35}.tc-gif-input-tall{min-height:8.2rem}.tc-gif-way{margin-right:auto;font-size:.74rem}.tc-gif-box-acts{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem .8rem;display:flex}.tc-fig-colors{border:1px solid var(--gold-soft);background:var(--card);border-radius:.8rem;flex-direction:column;flex-basis:100%;order:99;gap:.45rem;padding:.55rem .7rem .5rem;display:flex}.tc-fig-colors[aria-busy=true] .tc-fig-col-sw>button:not([aria-busy=true]),.tc-fig-colors[aria-busy=true] .tc-fig-col-outfits>button:not([aria-busy=true]){opacity:.55}.tc-fig-col-row{flex-wrap:wrap;align-items:center;gap:.3rem .6rem;display:flex}.tc-fig-col-row>.tc-fig-tf-label{min-width:7.2rem}.tc-fig-col-kind{display:contents}.tc-fig-col-num{justify-content:center;min-width:1.7rem}.tc-fig-col-sw{flex-wrap:wrap;align-items:center;gap:.28rem;display:inline-flex}.tc-fig-col-dot{cursor:pointer;border:1px solid #0f172a47;border-radius:999px;justify-content:center;align-items:center;width:1.3rem;height:1.3rem;padding:0;transition:transform .1s,box-shadow .15s;display:inline-flex}.tc-fig-col-spin{color:#fff;filter:drop-shadow(0 0 1px #0f172acc)}.tc-fig-col-dot:hover:not(:disabled){transform:scale(1.12)}.tc-fig-col-dot:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-fig-col-dot.tc-fig-col-on{box-shadow:0 0 0 2px var(--card), 0 0 0 4px var(--gold)}.tc-fig-col-dot:disabled{cursor:default}.tc-fig-col-own,.tc-fig-col-outfit{border:1px solid var(--hairline);color:var(--ivory);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:.25rem;padding:.12rem .55rem;font-size:.72rem;line-height:1.4;display:inline-flex}.tc-fig-col-own.tc-fig-col-on,.tc-fig-col-outfit.tc-fig-col-on{border-color:var(--gold);background:var(--gold-faint);font-weight:650}.tc-fig-col-own:disabled,.tc-fig-col-outfit:disabled{cursor:default}.tc-fig-col-own:focus-visible,.tc-fig-col-outfit:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-fig-col-outfits{gap:.3rem;display:inline-flex}.tc-fig-col-of{color:var(--ivory-dim);font-size:.72rem}.tc-fig-col-foot{justify-content:space-between;align-items:center;gap:.6rem;min-height:1.4rem;display:flex}.tc-fig-col-note{color:var(--ivory-dim);font-size:.7rem}.tc-fig-col-status{color:var(--ivory);align-items:center;gap:.35rem;font-size:.74rem;display:inline-flex}.tc-fig-col-secs{font-variant-numeric:tabular-nums;color:var(--ivory-dim)}.tc-fig-col-err{color:#be123c;font-size:.74rem}.tc-pill.tc-fig-col-open{border-color:var(--gold)}[data-theme=night] .tc-fig-colors{background:#0000002e}[data-theme=night] .tc-fig-col-dot{border-color:#f3f4f659}[data-theme=night] .tc-fig-col-err{color:#fda4af}.tc-action.tc-batch-btn-on,.tc-action.tc-batch-btn-on:hover:not(:disabled){background:var(--gold-faint);color:var(--gold)}.tc-batch{flex-direction:column;gap:.45rem;width:100%;margin-top:.55rem;display:flex}.tc-collection .tc-batch{margin-top:0}.tc-fig-change.tc-batch-box{margin:0}.tc-batch-note{color:var(--ivory-dim);margin-right:auto;font-size:.7rem;line-height:1.4}.tc-batch-note~.tc-fig-count{margin-right:0}.tc-batch-status{flex-direction:column;gap:.3rem;display:flex}.tc-batch .tc-scale{max-width:none;margin-top:0}.tc-batch-sum{border:1px solid var(--hairline);background:var(--onyx-2);color:var(--ivory);border-radius:.7rem;align-items:flex-start;gap:.45rem;margin:0;padding:.45rem .6rem;font-size:.78rem;line-height:1.45;display:flex}.tc-batch-sum>svg{color:#047857;flex-shrink:0;margin-top:.15rem}.tc-batch-sum .tc-link{flex-shrink:0}.tc-batch-sum .tc-card-err-x:hover{background:var(--hairline)}.tc-batch-sum.tc-batch-sum-stop>svg{color:var(--ivory-dim)}.tc-batch-sum.tc-batch-sum-err{color:#be123c;background:#f43f5e0f;border-color:#f43f5e4d}.tc-batch-sum.tc-batch-sum-err>svg{color:#be123c}.tc-batch-sum.tc-batch-sum-err .tc-card-err-x:hover{background:#f43f5e1f}.tc-batch-why{color:var(--ivory-dim);font-size:.74rem}.tc-batch-why>summary{cursor:pointer;border-radius:.35rem;width:fit-content;padding:.1rem .25rem}.tc-batch-why>summary:hover{color:var(--ivory)}.tc-batch-why>summary:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-batch-why ul{flex-direction:column;gap:.22rem;max-height:16rem;margin:.3rem 0 0;padding:0 .25rem 0 0;list-style:none;display:flex;overflow-y:auto}.tc-batch-why li{align-items:baseline;gap:.45rem;line-height:1.4;display:flex}.tc-batch-why li.tc-batch-on{color:var(--ivory)}.tc-batch-ref{border:1px solid var(--hairline);background:var(--card);min-width:1.7rem;color:var(--ivory);font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;border-radius:.35rem;flex-shrink:0;padding:0 .35rem;font-size:.7rem;font-weight:600}button.tc-batch-ref{cursor:pointer;transition:color .15s,border-color .15s}button.tc-batch-ref:hover{border-color:var(--gold-soft);color:var(--gold)}button.tc-batch-ref:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-batch-tag{letter-spacing:.01em;color:var(--ivory-dim);flex-shrink:0;font-size:.66rem;font-weight:650}.tc-batch-on .tc-batch-tag{color:var(--gold)}.tc-saveas{background:0 0;border:0;max-width:calc(100vw - 2rem);padding:0;overflow:visible}.tc-saveas::backdrop{background:#0f111573}.tc-saveas-plate{border:1px solid var(--hairline);background:var(--card);width:min(30rem,100vw - 2rem);color:var(--ivory);border-radius:.9rem;flex-direction:column;gap:.6rem;padding:1rem 1.1rem .85rem;display:flex;box-shadow:0 24px 64px #00000047}.tc-saveas-title{align-items:center;gap:.45rem;margin:0;font-size:.95rem;font-weight:650;display:flex}.tc-saveas-title svg{color:var(--gold)}.tc-saveas-field{border:1px solid var(--hairline);background:var(--onyx-2);border-radius:.6rem;align-items:center;transition:border-color .15s,box-shadow .15s;display:flex}.tc-saveas-field:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-saveas-field input{min-width:0;color:var(--ivory);background:0 0;border:0;outline:0;flex:1;padding:.5rem .15rem .5rem .65rem;font-size:.9rem}.tc-saveas-ext{color:var(--ivory-dim);-webkit-user-select:none;user-select:none;padding:0 .65rem 0 .05rem;font-size:.86rem}.tc-saveas-note{color:var(--ivory-dim);overflow-wrap:anywhere;margin:0;font-size:.72rem;line-height:1.45}.tc-saveas-row{justify-content:flex-end;align-items:center;gap:.9rem;display:flex}.tc-saveas-row .tc-link:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:.3rem}@media (max-width:640px){.tc-batch-note{flex-basis:100%}.tc-saveas-plate{padding:.85rem}}[data-theme=night] .tc-batch-sum>svg{color:#6ee7b7}[data-theme=night] .tc-batch-sum.tc-batch-sum-stop>svg{color:var(--ivory-dim)}[data-theme=night] .tc-batch-sum.tc-batch-sum-err{color:#fda4af;background:#f43f5e1f;border-color:#fda4af4d}[data-theme=night] .tc-batch-sum.tc-batch-sum-err>svg{color:#fda4af}[data-theme=night] .tc-saveas::backdrop{background:#0009}[data-theme=night] .tc-saveas-field{background:#00000038}.tc-fig-aa{letter-spacing:-.02em;font-size:.68rem;font-weight:750;line-height:1}.tc-fig-texts{gap:.5rem}.tc-fig-tf{flex-direction:column;gap:.22rem;min-width:0;display:flex}.tc-fig-tf+.tc-fig-tf{border-top:1px dashed var(--hairline);padding-top:.45rem}.tc-fig-tf-head{flex-wrap:wrap;align-items:center;gap:.2rem .6rem;min-height:1.35rem;display:flex}.tc-fig-tf-label{letter-spacing:.02em;color:#b45309;font-size:.7rem;font-weight:650}.tc-fig-tf-head .tc-fig-count{margin-right:0}.tc-fig-texts textarea,.tc-fig-texts input{border:1px solid var(--hairline);background:var(--onyx-2);width:100%;min-height:0;max-height:14rem;color:var(--ivory);resize:vertical;border-radius:.5rem;outline:0;padding:.28rem .5rem;font-size:.86rem;line-height:1.45;transition:border-color .15s,background .15s}.tc-fig-texts input{resize:none}.tc-fig-texts textarea:focus,.tc-fig-texts input:focus{border-color:var(--gold-soft);background:var(--card)}.tc-fig-texts textarea:disabled,.tc-fig-texts input:disabled{opacity:.6}.tc-fig-texts .tc-fig-tf-tex{font-family:var(--font-mono,ui-monospace, monospace);font-size:.8rem}.tc-fig-tf-row{flex-wrap:wrap;gap:.3rem;display:flex}.tc-fig-texts .tc-fig-tf-item{field-sizing:content;text-align:center;width:auto;min-width:2.4rem;max-width:100%;padding:.2rem .4rem}.tc-fig-texts textarea.tc-fig-tf-item{text-align:left;min-width:8rem}.tc-fig-tools{flex-wrap:wrap;gap:.2rem;margin-left:auto;display:inline-flex}.tc-fig-tool{border:1px solid var(--hairline);background:var(--card);color:var(--ivory-dim);cursor:pointer;border-radius:999px;padding:.05rem .45rem;font-size:.66rem;font-weight:600;line-height:1.5;transition:color .15s,border-color .15s}.tc-fig-tool:hover{border-color:var(--gold-soft);color:var(--ivory)}.tc-fig-tool:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-fig-tool-bold{color:var(--ivory);font-weight:800}.tc-fig-tool-red{color:#dc2626}.tc-fig-tool-blue{color:#2563eb}.tc-fig-tool-green{color:#16a34a}.tc-fig-tool-key{color:#900;font-weight:800}.tc-fig-tool-italic{color:var(--ivory);font-style:italic}.tc-fig-aligns{gap:2px;margin-left:.3rem;display:inline-flex}.tc-fig-tool-align{align-items:center;padding-inline:.35rem;display:inline-flex}.tc-fig-tool-i{margin-right:.22rem;font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:700}.tc-fig-tool-black{color:#000}.tc-fig-tool-swatch{width:.62em;height:.62em;box-shadow:0 0 0 1px var(--ivory-dim);vertical-align:-.04em;background:#000;border-radius:50%;margin-right:.25rem;display:inline-block}.tc-fig-tool-formula{font-family:var(--font-mono,ui-monospace, monospace);font-style:italic}.tc-fig-tool-sel{max-width:9.5rem;padding:.05rem .25rem .05rem .45rem;font-family:inherit}.tc-fig-tool-sel.tc-fig-tool-size{font-variant-numeric:tabular-nums;max-width:4.8rem}.tc-fig-tool-sel:disabled{opacity:.6;cursor:default}.tc-fig-font-row{flex-wrap:wrap;align-items:center;gap:.3rem .6rem;display:flex}.tc-fig-font-row .tc-fig-tool-sel{max-width:15rem;padding:.12rem .3rem .12rem .55rem;font-size:.74rem}.tc-fig-tf-hint{min-width:0;color:var(--ivory-dim);flex:16rem;font-size:.66rem;line-height:1.35}.tc-fig-tool[aria-pressed=true]{border-color:var(--gold);background:var(--gold-faint);box-shadow:inset 0 0 0 1px var(--gold-soft)}.tc-fig-tf-err{color:#be123c;margin:0;font-size:.72rem;line-height:1.4}.tc-fig-ob{border:1px solid var(--hairline);background:var(--onyx-2);border-radius:.6rem;flex-direction:column;min-width:0;display:flex}.tc-fig-ob:focus-within{border-color:var(--gold-soft)}.tc-fig-ob-head{border-bottom:1px solid var(--hairline);background:var(--card);border-radius:.6rem .6rem 0 0;flex-wrap:wrap;align-items:center;gap:.2rem .6rem;padding:.3rem .45rem;display:flex}.tc-fig-ob-head .tc-fig-tools{margin-left:0}.tc-fig-ob-body{flex-direction:column;max-height:24rem;padding:.2rem .25rem;display:flex;overflow:auto}.tc-fig-ob-line{flex-wrap:wrap;align-items:flex-start;gap:.1rem .25rem;padding:.08rem 0;display:flex}.tc-fig-ob-line+.tc-fig-ob-line{border-top:1px dotted var(--hairline)}.tc-fig-texts textarea.tc-fig-ob-text{resize:none;field-sizing:content;background:0 0;border-color:#0000;width:auto;min-width:2.4rem;max-width:100%;max-height:12rem;padding:.18rem .4rem}.tc-fig-texts textarea.tc-fig-ob-text.tc-fig-ob-alone{width:100%}.tc-fig-texts textarea.tc-fig-ob-text:hover{background:var(--card)}.tc-fig-texts textarea.tc-fig-ob-text:focus{border-color:var(--gold-soft);background:var(--card)}.tc-fig-texts textarea.tc-fig-ob-text[aria-invalid=true]{border-color:#be123c}.tc-fig-texts textarea.tc-fig-ob-text::placeholder{font-size:.74rem;font-style:italic}.tc-fig-spot{z-index:1;pointer-events:none;background:#f59e0b1a;border:2px solid #f59e0b;border-radius:.3rem;transition:left .12s,top .12s,width .12s,height .12s;position:absolute;box-shadow:0 0 0 1px #ffffffd9}@media (prefers-reduced-motion:reduce){.tc-fig-spot{transition:none}}.tc-fig-preview-tag{color:#4f46e5;letter-spacing:.01em;pointer-events:none;background:#fffffff0;border:1px solid #6366f159;border-radius:999px;align-items:center;gap:.25rem;padding:.1rem .5rem;font-size:.66rem;font-weight:650;line-height:1.35;display:inline-flex;position:absolute;bottom:.4rem;left:.4rem;box-shadow:0 1px 3px #0f111514}.tc-fe-pi{margin-right:.15rem;font-family:Times New Roman,Tinos,Georgia,serif;font-style:italic;font-weight:700}.tc-fe-texrow{align-items:stretch;gap:.3rem;display:flex}.tc-fig-texts .tc-fe-texrow>input,.tc-fig-texts .tc-fe-texrow>textarea{flex:1;min-width:0}.tc-fig-tool.tc-fe-open{min-width:2rem;color:var(--gold);border-radius:.5rem;flex-shrink:0;padding:0 .55rem;font-size:.95rem}.tc-fe-open .tc-fe-pi{margin:0}.tc-fe{color:var(--ivory);background:0 0;border:0;max-width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem);padding:0;overflow:visible}.tc-fe::backdrop{background:#0f111573}.tc-fe>.ML__keyboard{--_padding-bottom:calc(var(--keyboard-padding-bottom,0px) + env(safe-area-inset-bottom,0px));position:fixed}.tc-fe>.ML__keyboard.is-visible>.MLK__backdrop{border-top:1px solid var(--_border);box-shadow:0 -5px 6px #00000014}.tc-fe[data-kbd]{margin:.5rem auto auto}.tc-fe[data-kbd] .tc-fe-plate{max-height:calc(100dvh - 1rem - var(--tc-fe-kbd,0px))}.tc-fe-plate{border:1px solid var(--hairline);background:var(--card);width:min(44rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ivory);border-radius:.9rem;flex-direction:column;gap:.55rem;padding:.95rem 1.1rem 0;display:flex;overflow-y:auto;box-shadow:0 24px 64px #00000047}.tc-fe-title{flex-wrap:wrap;align-items:baseline;gap:.1rem .45rem;margin:0;font-size:.95rem;font-weight:650;display:flex}.tc-fe-title .tc-fe-pi{color:var(--gold);font-size:1.15rem}.tc-fe-where{color:var(--ivory-dim);font-size:.72rem;font-weight:500}.tc-fe-field{outline:none;flex-direction:column;gap:.35rem;display:flex}.tc-fe-field[data-phase=loading] .tc-fe-host{display:none}.tc-fe-host math-field{box-sizing:border-box;border:1px solid var(--hairline);background:var(--onyx-2);width:100%;min-height:3.7rem;color:var(--ivory);--caret-color:var(--gold);--primary-color:var(--gold);--selection-background-color:var(--gold-faint);--selection-color:inherit;--contains-highlight-background-color:#6366f10d;--placeholder-color:var(--gold);--placeholder-opacity:.55;--smart-fence-color:var(--ivory-dim);border-radius:.65rem;outline:none;padding:.45rem .7rem;font-size:1.7rem;transition:border-color .15s,box-shadow .15s;display:block}.tc-fe-host math-field:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-fe-host math-field::part(menu-toggle){display:none}@media (pointer:fine){.tc-fe-host math-field::part(virtual-keyboard-toggle){display:none}}.tc-fe-loading{border:1px dashed var(--hairline);min-height:3.7rem;color:var(--ivory-dim);border-radius:.65rem;align-items:center;gap:.4rem;padding:0 .7rem;font-size:.8rem;display:flex}.tc-fe-failed{color:#b45309;margin:0;font-size:.76rem;line-height:1.4}.tc-fe-plain{border:1px solid var(--hairline);background:var(--onyx-2);width:100%;color:var(--ivory);font-family:var(--font-mono,ui-monospace, monospace);resize:vertical;border-radius:.6rem;outline:0;padding:.4rem .6rem;font-size:.85rem}.tc-fe-plain:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-fe-plain-view{padding:.2rem .6rem;font-size:1.25rem;overflow-x:auto}.tc-fe-tex{align-items:baseline;gap:.45rem;min-width:0;margin:0;display:flex}.tc-fe-tex code{overflow-wrap:anywhere;min-width:0;font-family:var(--font-mono,ui-monospace, monospace);color:var(--ivory-dim);font-size:.74rem}.tc-fe-cap{letter-spacing:.05em;text-transform:uppercase;color:#b45309;flex-shrink:0;font-size:.64rem;font-weight:650}.tc-fe-err{color:#be123c;margin:0;font-size:.72rem;line-height:1.4}.tc-fe-note{color:var(--ivory-dim);margin:0;font-size:.72rem;line-height:1.4}.tc-fe-group{flex-direction:column;gap:.25rem;display:flex}.tc-fe-keys{flex-wrap:wrap;gap:.25rem;display:flex}.tc-fe-key{border:1px solid var(--hairline);background:var(--onyx-2);min-width:2.15rem;height:2.15rem;color:var(--ivory);cursor:pointer;border-radius:.45rem;place-items:center;padding:0 .3rem;transition:border-color .15s,background .15s;display:inline-grid}.tc-fe-key:hover:not(:disabled){border-color:var(--gold-soft);background:var(--gold-faint)}.tc-fe-key:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-fe-key:disabled{opacity:.5;cursor:default}.tc-fe-struct{min-width:2.9rem;height:2.8rem}.tc-fe-sym{font-family:Times New Roman,Tinos,Georgia,serif;font-size:1.05rem;line-height:1}.tc-fe-face{pointer-events:none;font-size:.98rem;line-height:1}.tc-fe-face .katex{font-size:1em}.tc-fe-face-tall{font-size:.74rem}.tc-fe-key.tc-fe-addrow{white-space:nowrap;min-width:0;color:var(--gold);padding:0 .5rem;font-size:.72rem;font-weight:600}.tc-fe-key.tc-fe-addrow:disabled{color:var(--ivory-dim)}.tc-fe-sq{background:#fbcfe8;border:1.5px solid #1e3a8a;border-radius:.12rem;width:.9rem;height:.9rem;display:inline-block}.tc-fe-pic{flex-direction:column;gap:.25rem;margin:0;display:flex}.tc-fe-pic .tc-fe-cap{align-items:center;gap:.3rem;display:inline-flex}.tc-fe-pic img{object-fit:contain;border:1px solid var(--hairline);background:#fff;border-radius:.55rem;width:100%;height:auto;max-height:13rem;padding:.35rem;display:block}.tc-fe-pic-wait{border:1px dashed var(--hairline);min-height:4rem;color:var(--ivory-dim);border-radius:.55rem;place-items:center;font-size:.72rem;display:grid}.tc-fe-hint{color:var(--ivory-dim);margin:0;font-size:.7rem;line-height:1.45}.tc-fe-row{z-index:1;background:var(--card);justify-content:flex-end;align-items:center;gap:.9rem;margin:0 -1.1rem;padding:.5rem 1.1rem .85rem;display:flex;position:sticky;bottom:0}.tc-fe-row .tc-link:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:.3rem}@media (max-width:640px){.tc-fe-plate{gap:.45rem;padding:.8rem .8rem 0}.tc-fe-row{margin:0 -.8rem;padding:.45rem .8rem .8rem}.tc-fe-host math-field{font-size:1.4rem}.tc-fe-key{min-width:2rem;height:2rem}.tc-fe-struct{min-width:2.5rem;height:2.4rem}}[data-theme=night] .tc-fe::backdrop{background:#0009}[data-theme=night] .tc-fe-host math-field{--contains-highlight-background-color:#818cf814;background:#00000038}[data-theme=night] .tc-fe-key,[data-theme=night] .tc-fe-plain{background:#00000038}[data-theme=night] .tc-fe-cap,[data-theme=night] .tc-fe-failed{color:#fcd34d}[data-theme=night] .tc-fe-err{color:#fda4af}[data-theme=night] .tc-fe-sq{border-color:#93c5fd}.tc-fig-draw-row{flex-wrap:wrap;align-items:center;gap:.35rem .5rem;display:inline-flex}.tc-drawall{flex-wrap:wrap;align-items:center;gap:.15rem .3rem;display:inline-flex}.tc-fig-opt{border:1px solid var(--hairline);background:var(--card);color:var(--ivory-dim);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:999px;align-items:center;gap:.35rem;padding:.2rem .6rem .2rem .45rem;font-size:.72rem;font-weight:500;line-height:1.3;transition:color .15s,border-color .15s,background .15s;display:inline-flex}.tc-fig-opt input{width:.85rem;height:.85rem;cursor:inherit;accent-color:#dc2626;flex-shrink:0;margin:0}.tc-fig-opt:hover{color:var(--ivory);border-color:var(--gold-soft)}.tc-fig-opt:has(input:focus-visible){outline:2px solid var(--gold-soft);outline-offset:1px}.tc-fig-opt.tc-fig-opt-on{color:#b91c1c;background:#dc26260f;border-color:#dc262661}.tc-fig-opt[aria-disabled]{opacity:.5;cursor:default}.tc-fig-opt[aria-disabled]:hover{color:var(--ivory-dim);border-color:var(--hairline)}.tc-fig-opt.tc-fig-opt-on[aria-disabled]:hover{color:#b91c1c;border-color:#dc262661}.tc-fig-change-row .tc-fig-opt{margin-right:auto}.tc-fig-change-row .tc-fig-opt~.tc-fig-count{margin-right:0}.tc-fig-badge{color:#b91c1c;letter-spacing:.01em;pointer-events:none;background:#fffffff0;border:1px solid #dc262659;border-radius:999px;align-items:center;gap:.2rem;padding:.1rem .5rem .1rem .35rem;font-size:.66rem;font-weight:650;line-height:1.35;display:inline-flex;position:absolute;top:.4rem;left:.4rem;box-shadow:0 1px 3px #0f111514}.tc-fig-note{color:#b45309;align-items:flex-start;gap:.4rem;width:100%;margin:0;font-size:.75rem;line-height:1.45;display:flex}.tc-fig-note>svg{flex-shrink:0;margin-top:.12rem}.tc-fig-dialog{background:0 0;border:0;max-width:100vw;max-height:100vh;padding:0;overflow:visible}.tc-fig-dialog::backdrop{background:#0f1115b8}.tc-fig-dialog-plate{background:#fff;border-radius:.9rem;padding:.75rem;box-shadow:0 24px 64px #00000059}.tc-fig-dialog-plate img{object-fit:contain;width:min(92vw,70rem);height:auto;max-height:86vh;display:block}.tc-fig-dialog-x{color:#111318;background:#fffffff0;border-radius:999px;place-items:center;width:2.5rem;height:2.5rem;font-size:1.45rem;line-height:1;display:grid;position:fixed;top:.75rem;right:.75rem;box-shadow:0 4px 16px #00000040}.tc-fig-dialog-x:hover{background:#fff}.tc-fig-dialog-x:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}@media (max-width:640px){.tc-collection{padding:.5rem}.tc-collection-acts{width:100%}.tc-collection-acts .tc-action-main{margin-left:auto}.tc-fig-img{padding:.3rem}.tc-fig-img img{max-height:60vh}.tc-fig-dialog-plate{border-radius:.6rem;padding:.4rem}.tc-fig-dialog-plate img{width:96vw}}[data-theme=night] .tc-fig-brief{background:#f59e0b14;border-left-color:#fcd34d80}[data-theme=night] .tc-fig-label{color:#fcd34d}[data-theme=night] .tc-fig-img{border-color:#f3f4f629}[data-theme=night] .tc-fig-remove:hover{color:#fda4af}[data-theme=night] .tc-fig-change{background:#0000002e}[data-theme=night] .tc-fig-tf-label{color:#fcd34d}[data-theme=night] .tc-fig-texts textarea,[data-theme=night] .tc-fig-texts input{background:#00000038}[data-theme=night] .tc-fig-texts textarea:focus,[data-theme=night] .tc-fig-texts input:focus{background:#00000052}[data-theme=night] .tc-fig-tool{background:#0003}[data-theme=night] .tc-fig-tool[aria-pressed=true]{background:var(--gold-faint)}[data-theme=night] .tc-fig-tool-red{color:#f87171}[data-theme=night] .tc-fig-tool-blue{color:#60a5fa}[data-theme=night] .tc-fig-tool-green{color:#4ade80}[data-theme=night] .tc-fig-tool-key{color:#fca5a5}[data-theme=night] .tc-fig-tool-black{color:var(--ivory)}[data-theme=night] .tc-fig-tf-err{color:#fda4af}[data-theme=night] .tc-pill.tc-fig-apply:not(:disabled),[data-theme=night] .tc-pill.tc-fig-apply:hover:not(:disabled){color:#0f1115}[data-theme=night] .tc-fig-opt input{accent-color:#f87171}[data-theme=night] .tc-fig-opt.tc-fig-opt-on,[data-theme=night] .tc-fig-opt.tc-fig-opt-on[aria-disabled]:hover{color:#fca5a5;background:#f871711a;border-color:#f8717173}[data-theme=night] .tc-fig-note{color:#fcd34d}[data-theme=night] .tc-conv-error{color:#fda4af;background:#f43f5e1f;border-color:#fda4af4d}[data-theme=night] .tc-conv-error>svg{color:#fda4af}[data-theme=night] .tc-qcount-done,[data-theme=night] .tc-qcount-done b,[data-theme=night] .tc-qcount-done svg{color:#6ee7b7}[data-theme=night] .tc-action.tc-action-main,[data-theme=night] .tc-action.tc-action-main:hover:not(:disabled){color:#0f1115}.zrail-row{position:relative}.zrail-row>.zrail-item{padding-right:2.3rem}.zrail-row:hover>.zrail-item{background:var(--gold-faint);color:var(--gold);border-color:var(--gold-soft);padding-left:1rem}.zrail-row:hover>.zrail-item .mi{color:var(--gold)}.zrail-new{width:1.6rem;height:1.6rem;color:var(--cap-ink);cursor:pointer;transition:background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);background:0 0;border:1px solid #0000;border-radius:7px;place-items:center;margin:auto 0;padding:0;display:grid;position:absolute;top:0;bottom:0;right:.3rem}.zrail-row:hover>.zrail-new,.zrail-item.active+.zrail-new{color:var(--gold)}.zrail-new:hover{background:var(--rail);border-color:var(--gold-soft);color:var(--gold)}.zrail-new:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px;color:var(--gold)}.zrail-new:active{transform:scale(.9)}.tc-pill.tc-pill-on,.tc-pill.tc-pill-on:disabled{opacity:1;border-color:var(--gold-soft);background:var(--gold-faint);color:var(--gold)}.tc-sedit{border:1px solid var(--gold-soft);background:var(--card);border-radius:.8rem;flex-direction:column;gap:.45rem;width:100%;margin:.15rem 0 .2rem;padding:.55rem .7rem .5rem;transition:border-color .15s,box-shadow .15s;display:flex}.tc-sedit:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tc-sedit-head{flex-wrap:wrap;align-items:center;gap:.2rem .6rem;display:flex}.tc-sedit-label{letter-spacing:.02em;color:var(--ivory);font-size:.72rem;font-weight:650}.tc-sedit-help{color:var(--ivory-dim);font-size:.7rem}.tc-fig-tool.tc-sedit-formula{padding:.1rem .6rem;font-size:.7rem}.tc-sedit-tools .tc-fig-tool-bold{padding:.1rem .55rem;font-size:.7rem}.tc-sedit-clickable .katex{cursor:pointer;border-radius:.2rem;transition:background .15s}.tc-sedit-clickable .katex:hover{background:var(--gold-faint)}.tc-sedit-tip{letter-spacing:normal;text-transform:none;font-style:italic;font-weight:400}.tc-sedit textarea{border:1px solid var(--hairline);background:var(--onyx-2);width:100%;min-height:5.5rem;max-height:22rem;color:var(--ivory);resize:vertical;border-radius:.55rem;outline:0;padding:.45rem .6rem;font-size:.9rem;line-height:1.55;transition:border-color .15s,background .15s}.tc-sedit textarea:focus{border-color:var(--gold-soft);background:var(--card)}.tc-sedit .tc-fig-count{align-self:flex-end;margin:-.2rem 0 0}.tc-sedit-preview{border:1px dashed var(--hairline);background:var(--onyx-2);border-radius:.6rem;flex-direction:column;gap:.15rem;padding:.5rem .7rem .55rem;display:flex}.tc-sedit-preview .tc-options{margin-top:.4rem}.tc-sedit-cap{letter-spacing:.05em;text-transform:uppercase;color:var(--ivory-dim);font-size:.64rem;font-weight:650}.tc-sedit-open{color:var(--ivory-dim);margin-top:.3rem;font-size:.72rem;font-style:italic}.tc-sedit-note{color:var(--ivory-dim);font-size:.72rem;line-height:1.45}.tc-card-manual{border-style:dashed;border-color:#c026d380}.tc-num-manual{color:#a21caf;background:#c026d31f}.tc-badge-manual{color:#a21caf;background:#c026d31a}.tc-badge-manual.tc-badge-manual-open{color:#b45309;background:#f59e0b26}.tc-vbadge.tc-v-manual{color:#a21caf;background:#c026d31a}.tc-vchip.tc-v-manual.active{color:#a21caf}.tc-prev-version{vertical-align:baseline;font-size:inherit;display:inline-flex}.tc-prev-version:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:.3rem}.tc-edit-note,.tc-edit-fig{background:var(--onyx-2);color:var(--ivory);border-radius:.65rem;align-items:flex-start;gap:.45rem;margin:.55rem 0 .1rem;padding:.45rem .65rem;font-size:.78rem;line-height:1.45;display:flex}.tc-edit-note>svg,.tc-edit-fig>svg{color:#a21caf;flex-shrink:0;margin-top:.12rem}.tc-edit-note.tc-edit-warn{color:#92400e;background:#f59e0b1a}.tc-edit-note.tc-edit-warn>svg{color:#b45309}.tc-edit-note .tc-link,.tc-edit-fig .tc-link{white-space:nowrap;flex-shrink:0}.tc-edit-note .tc-link:focus-visible,.tc-edit-fig .tc-link:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px;border-radius:.3rem}.tc-edit-value{margin-left:.3rem;font-weight:600;display:inline}.tc-edit-math{display:inline-block}.tc-edit-why{color:var(--ivory-dim);margin-left:.3rem;display:inline}.tc-edit-fig{color:var(--ivory-dim);border:1px solid var(--hairline);margin:.4rem 0 0;font-size:.76rem}.tc-edit-fig>svg{color:var(--gold)}@media (max-width:640px){.tc-sedit{padding:.5rem .55rem .45rem}.tc-sedit-tools{margin-left:0}.tc-sedit textarea{min-height:10rem;font-size:16px}.tc-edit-note,.tc-edit-fig{flex-wrap:wrap}}[data-theme=night] .tc-card-manual{border-color:#f0abfc73}[data-theme=night] .tc-num-manual,[data-theme=night] .tc-badge-manual,[data-theme=night] .tc-vbadge.tc-v-manual,[data-theme=night] .tc-vchip.tc-v-manual.active,[data-theme=night] .tc-edit-note>svg{color:#f0abfc}[data-theme=night] .tc-badge-manual.tc-badge-manual-open,[data-theme=night] .tc-edit-note.tc-edit-warn,[data-theme=night] .tc-edit-note.tc-edit-warn>svg{color:#fcd34d}[data-theme=night] .tc-edit-note.tc-edit-warn{background:#f59e0b1f}.tc-umsg{flex-direction:column;align-self:flex-end;align-items:flex-end;max-width:85%;display:flex;position:relative}.tc-umsg>.tc-msg-user{align-self:auto;max-width:100%}.tc-umsg-tools{white-space:nowrap;z-index:1;align-items:center;gap:.2rem;padding-top:.15rem;display:flex;position:absolute;top:100%;right:.15rem}.tc-umsg-edit{height:1.4rem;color:var(--ivory-dim);opacity:0;border-radius:.5rem;align-items:center;gap:.3rem;padding:0 .5rem;font-size:.72rem;transition:opacity .15s,background .15s,color .15s;display:inline-flex}.tc-umsg:hover .tc-umsg-edit,.tc-umsg:focus-within .tc-umsg-edit{opacity:1}.tc-umsg-edit:hover:not(:disabled){background:var(--onyx-3);color:var(--ivory)}.tc-umsg-edit:focus-visible{opacity:1;outline:2px solid var(--gold-soft);outline-offset:1px}.tc-umsg-edit:disabled{cursor:default}.tc-umsg:hover .tc-umsg-edit:disabled{opacity:.4}@media (hover:none){.tc-umsg-edit{opacity:1}.tc-umsg-edit:disabled{opacity:.4}}.tc-branch{color:var(--ivory-dim);font-variant-numeric:tabular-nums;align-items:center;font-size:.72rem;display:inline-flex}.tc-branch button{width:1.4rem;height:1.4rem;color:var(--ivory-dim);border-radius:.45rem;place-items:center;transition:background .15s,color .15s;display:grid}.tc-branch button:hover:not(:disabled){background:var(--onyx-3);color:var(--ivory)}.tc-branch button:disabled{opacity:.35;cursor:default}.tc-branch button:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-branch-l{transform:rotate(90deg)}.tc-branch-r{transform:rotate(-90deg)}.tc-branch-n{text-align:center;min-width:2.1rem}.tc-branch[data-busy] .tc-branch-n{opacity:.6}.tc-umsg.tc-umsg-editing{align-self:stretch;align-items:stretch;max-width:none}.tc-medit{border:1px solid var(--gold-soft);background:var(--card);box-shadow:0 0 0 3px var(--gold-faint);border-radius:1.25rem;padding:.7rem .8rem .55rem 1rem}.tc-medit textarea{resize:none;width:100%;color:var(--ivory);font:inherit;background:0 0;border:0;outline:0;max-height:22rem;padding:.1rem 0;font-size:.95rem;line-height:1.55;display:block}.tc-medit-files{flex-wrap:wrap;gap:.3rem;margin:0 0 .45rem;padding:0;list-style:none;display:flex}.tc-medit-file{border:1px solid var(--hairline);background:var(--onyx-2);max-width:100%;color:var(--ivory);border-radius:.55rem;align-items:center;gap:.3rem;padding:.2rem .25rem .2rem .55rem;font-size:.75rem;display:inline-flex}.tc-medit-file svg{color:var(--gold);flex-shrink:0}.tc-medit-file-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:16rem;overflow:hidden}.tc-medit-file-x{width:1.3rem;height:1.3rem;color:var(--ivory-dim);border-radius:999px;flex-shrink:0;place-items:center;font-size:.95rem;line-height:1;display:grid}.tc-medit-file-x:hover{background:var(--onyx-3);color:var(--ivory)}.tc-medit-file-x:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-medit-row{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem .75rem;margin-top:.45rem;display:flex}.tc-medit-hint{min-width:0;color:var(--ivory-dim);flex:14rem;font-size:.7rem;line-height:1.35}.tc-medit-acts{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;max-width:100%;display:inline-flex}.tc-medit-cancel,.tc-medit-send{border-radius:999px;padding:.4rem .95rem;font-size:.8rem;font-weight:500;transition:background .15s,opacity .15s}.tc-medit-cancel{border:1px solid var(--hairline);background:var(--card);color:var(--ivory)}.tc-medit-cancel:hover{background:var(--onyx-3)}.tc-medit-send{background:var(--gold);color:#fff;font-weight:600}.tc-medit-send:disabled{opacity:.35;cursor:default}.tc-medit-cancel:focus-visible,.tc-medit-send:focus-visible{outline:2px solid var(--gold-soft);outline-offset:2px}.tc-umsg.tc-forked~*{opacity:.4;pointer-events:none;transition:opacity .2s}@media (max-width:480px){.tc-umsg{max-width:92%}.tc-medit{padding-left:.8rem}}.tc-link.tc-link-on{color:var(--gold)}.tc-fig-note-inline{color:#be123c;flex:100%;font-size:.72rem;line-height:1.4}.zhist-proj{color:var(--gold);font-weight:600}.tp-wrap{flex-direction:column;gap:1rem;max-width:64rem;margin:0 auto;display:flex}.tp-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.8rem 1.25rem;display:flex}.tp-head-main{flex:18rem;min-width:0}.tp-title{overflow-wrap:anywhere;outline:none;align-items:center;gap:.5rem;margin:0;font-size:1.35rem;font-weight:600;display:flex}.tp-title-icon{color:var(--gold);flex-shrink:0}.tp-desc{overflow-wrap:anywhere;white-space:pre-wrap;max-width:44rem;margin:.3rem 0 0;font-size:.88rem;line-height:1.55}.tp-head-meta{color:var(--ivory-dim);flex-wrap:wrap;align-items:center;gap:.3rem .75rem;margin:.45rem 0 0;font-size:.74rem;display:flex}.tp-head-acts{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.tp-new-chat{align-items:center;gap:.35rem;display:inline-flex}.tp-back{align-self:flex-start}.tp-back-icon{transform:rotate(90deg)}.tp-role{background:var(--gold-faint);color:var(--gold);border-radius:999px;padding:.08rem .55rem;font-size:.68rem;font-weight:650}.tp-role-editor{background:var(--onyx-3);color:var(--ivory-dim)}.tp-list-head{letter-spacing:.04em;color:var(--ivory-dim);text-transform:uppercase;margin:.5rem 0;font-size:.78rem;font-weight:600}.tp-cards{grid-template-columns:repeat(auto-fill,minmax(18rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.tp-card{text-align:left;border:1px solid var(--hairline);background:var(--card);width:100%;height:100%;color:var(--ivory);transition:border-color .2s var(--ease), box-shadow .2s var(--ease);border-radius:1rem;flex-direction:column;gap:.5rem;padding:.9rem 1rem;display:flex}.tp-card:hover{border-color:var(--gold-soft);box-shadow:0 4px 18px #6366f11a}.tp-card:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.tp-card-head{align-items:center;gap:.55rem;min-width:0;display:flex}.tp-card-icon{background:var(--gold-faint);width:2rem;height:2rem;color:var(--gold);border-radius:.6rem;flex-shrink:0;place-items:center;display:grid}.tp-card-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.95rem;font-weight:600;overflow:hidden}.tp-shared{color:#0369a1;background:#0ea5e91f;border-radius:999px;flex-shrink:0;padding:.08rem .55rem;font-size:.66rem;font-weight:650}[data-theme=night] .tp-shared{color:#7dd3fc}.tp-card-desc{color:var(--ivory);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:.82rem;line-height:1.5;display:-webkit-box;overflow:hidden}.tp-card-desc-none{color:var(--ivory-dim)}.tp-card-meta{color:var(--ivory-dim);flex-wrap:wrap;gap:.25rem .85rem;font-size:.74rem;display:flex}.tp-card-meta span{align-items:center;gap:.3rem;display:inline-flex}.tp-card-foot{color:var(--ivory-dim);opacity:.85;font-size:.7rem}.tp-empty{border:1px dashed var(--hairline);color:var(--ivory-dim);border-radius:.9rem;flex-direction:column;align-items:flex-start;gap:.3rem;padding:1rem 1.1rem;font-size:.82rem;line-height:1.5;display:flex}.tp-empty b{color:var(--ivory);font-size:.9rem;font-weight:600}.tp-empty-big{text-align:center;align-items:center;gap:.5rem;padding:2.5rem 1.25rem}.tp-empty-big .z-btn-primary{margin-top:.5rem}.tp-empty-icon{background:var(--gold-faint);width:3.2rem;height:3.2rem;color:var(--gold);border-radius:1rem;place-items:center;display:grid}.tp-empty-small{padding:.7rem .85rem}.tp-gone{align-items:center;gap:.6rem;padding:1rem 1.1rem;font-size:.9rem;display:flex}.tp-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:1rem;display:grid}.tp-side{flex-direction:column;gap:1rem;min-width:0;display:flex}@media (max-width:900px){.tp-grid{grid-template-columns:minmax(0,1fr)}}.tp-panel{flex-direction:column;gap:.7rem;min-width:0;padding:1rem 1.1rem;display:flex;position:relative}.tp-panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.tp-panel-title{align-items:center;gap:.45rem;margin:0;font-size:.98rem;font-weight:600;display:flex}.tp-count{text-align:center;background:var(--onyx-3);min-width:1.35rem;color:var(--ivory-dim);border-radius:999px;padding:0 .4rem;font-size:.7rem;font-weight:650;line-height:1.35rem}.tp-panel-acts{flex-wrap:wrap;gap:.4rem;display:flex}.tp-panel-sub{color:var(--ivory-dim);margin:0;font-size:.78rem;line-height:1.5}.tp-panel-foot{padding-top:.2rem}.tp-drop-on{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tp-meter{background:var(--onyx-2);border-radius:.7rem;flex-direction:column;gap:.3rem;padding:.6rem .75rem;display:flex}.tp-meter-row{color:var(--ivory-dim);justify-content:space-between;gap:.5rem;font-size:.74rem;display:flex}.tp-meter-n{font-variant-numeric:tabular-nums;color:var(--ivory);font-weight:500}.tp-meter-bar{background:var(--onyx-3);border-radius:999px;height:6px;display:block;overflow:hidden}.tp-meter-bar i{border-radius:inherit;background:var(--gold);height:100%;transition:width .4s var(--ease);display:block}.tp-meter-near .tp-meter-bar i{background:#d97706}.tp-meter-over .tp-meter-bar i{background:#e11d48}.tp-meter-note{color:#b45309;margin:0;font-size:.72rem;line-height:1.45}.tp-meter-over .tp-meter-note{color:#be123c}[data-theme=night] .tp-meter-note{color:#fbbf24}[data-theme=night] .tp-meter-over .tp-meter-note{color:#fda4af}.tp-order{color:var(--ivory-dim);align-items:flex-start;gap:.4rem;margin:0;font-size:.74rem;line-height:1.45;display:flex}.tp-order svg{color:var(--gold);flex-shrink:0;margin-top:.1rem}.tp-instr-list{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.tp-instr{border:1px solid var(--hairline);background:var(--onyx-2);border-radius:.8rem;align-items:flex-start;gap:.55rem;min-width:0;padding:.6rem .65rem;display:flex}.tp-instr-failed{background:#f43f5e0f;border-color:#f43f5e73}.tp-instr-n{text-align:center;width:1.25rem;color:var(--ivory-dim);font-variant-numeric:tabular-nums;flex-shrink:0;padding-top:.15rem;font-size:.72rem;font-weight:650}.tp-instr-icon,.tp-kind-aa{background:var(--gold-faint);width:2rem;height:2rem;color:var(--gold);border-radius:.55rem;flex-shrink:0;place-items:center;display:grid}.tp-kind-aa{background:0 0;width:auto;height:auto;font-size:.78rem;font-weight:700}.tp-instr-body{flex-direction:column;flex:1;gap:.18rem;min-width:0;display:flex}.tp-instr-title{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.tp-instr-preview{color:var(--ivory-dim);-webkit-line-clamp:3;overflow-wrap:anywhere;white-space:pre-wrap;-webkit-box-orient:vertical;margin:.1rem 0 0;font-size:.76rem;line-height:1.45;display:-webkit-box;overflow:hidden}.tp-instr-meta{color:var(--ivory-dim);opacity:.85;font-size:.68rem}.tp-instr-acts{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:.1rem;display:flex}.tp-state{color:var(--ivory-dim);flex-wrap:wrap;align-items:center;gap:.3rem;font-size:.72rem;display:inline-flex}.tp-state-ready svg{color:#059669}.tp-state-failed{color:#e11d48}[data-theme=night] .tp-state-failed{color:#fb7185}.tp-state-bar{width:6rem;margin:0}.tp-act-danger:hover:not(:disabled){color:#be123c;background:#f43f5e1a}.tp-act-label{font-size:.74rem}@media (max-width:640px){.tp-act-label,.tp-instr-n{display:none}}.tp-write{flex-direction:column;gap:.4rem;display:flex}.tp-write textarea{resize:vertical;border:1px solid var(--gold-soft);background:var(--onyx-2);width:100%;color:var(--ivory);border-radius:.7rem;outline:none;padding:.55rem .7rem;font-size:.88rem;line-height:1.5}.tp-write textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px var(--gold-faint)}.tp-write-row{justify-content:flex-end;align-items:center;gap:.8rem;display:flex}.tp-write-count{color:var(--ivory-dim);font-variant-numeric:tabular-nums;margin-right:auto;font-size:.7rem}.tp-dropzone{border:1px dashed var(--hairline);width:100%;color:var(--ivory-dim);text-align:left;border-radius:.8rem;justify-content:center;align-items:center;gap:.6rem;padding:.8rem;font-size:.8rem;transition:border-color .2s,background .2s;display:flex}.tp-dropzone:hover,.tp-drop-on .tp-dropzone{border-color:var(--gold);background:var(--gold-faint);color:var(--ivory)}.tp-dropzone:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.tp-dropzone-icon{color:var(--gold);flex-shrink:0}.tp-dropzone-types{opacity:.8;margin-top:.1rem;font-size:.7rem;display:block}.tp-err{color:#be123c;margin:0;font-size:.8rem;line-height:1.45}[data-theme=night] .tp-err{color:#fda4af}.tp-ok{color:#047857;align-items:center;gap:.35rem;min-height:1.2rem;margin:0;font-size:.8rem;display:flex}[data-theme=night] .tp-ok{color:#6ee7b7}.tp-members{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.tp-member{background:var(--onyx-2);border-radius:.7rem;align-items:center;gap:.6rem;min-width:0;padding:.45rem .55rem;display:flex}.tp-member-ava{color:#fff;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:999px;flex-shrink:0;place-items:center;width:1.9rem;height:1.9rem;font-size:.78rem;font-weight:700;display:grid}.tp-member-body{flex-direction:column;flex:1;gap:.1rem;min-width:0;display:flex}.tp-member-name{text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.tp-member-you{color:var(--ivory-dim);font-weight:400}.tp-member-meta{color:var(--ivory-dim);font-size:.7rem}.tp-chats{flex-direction:column;gap:.3rem;margin:0;padding:0;list-style:none;display:flex}.tp-chat{border:1px solid var(--hairline);background:var(--onyx-2);width:100%;color:var(--ivory);text-align:left;border-radius:.7rem;align-items:center;gap:.5rem;padding:.5rem .65rem;transition:border-color .15s,color .15s;display:flex}.tp-chat:hover{border-color:var(--gold-soft);color:var(--gold)}.tp-chat:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.tp-chat-icon{color:var(--ivory-dim);flex-shrink:0}.tp-chat-title{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.82rem;font-weight:500;overflow:hidden}.tp-chat-when{color:var(--ivory-dim);flex-shrink:0;font-size:.68rem}.tp-danger-outline:hover{color:#be123c;border-color:#f43f5e80}.tc-pill.tc-fig-apply.tp-danger-pill{background:#e11d48;border-color:#e11d48}.tp-modal-plate{max-height:calc(100vh - 3rem);overflow-y:auto}.tp-modal-wide{width:min(44rem,100vw - 2rem)}.tp-modal-title{overflow-wrap:anywhere}.tp-modal-text{color:var(--ivory-dim);margin:0;font-size:.84rem;line-height:1.55}.tp-modal-meta{color:var(--ivory-dim);margin:0;font-size:.72rem}.tp-view-body{border:1px solid var(--hairline);background:var(--onyx-2);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:.6rem;max-height:50vh;padding:.7rem .8rem;font-size:.84rem;line-height:1.55;overflow:auto}.tp-form,.tp-share-form{flex-direction:column;gap:.5rem;display:flex}.tp-field-label{color:var(--ivory-dim);font-size:.74rem;font-weight:600}.tp-field-bad{border-color:#e11d48}.tp-form .tc-saveas-field textarea{min-width:0;color:var(--ivory);resize:vertical;background:0 0;border:0;outline:0;flex:1;padding:.5rem .65rem;font-size:.9rem}.tp-form .tc-saveas-field input{padding-left:.65rem}.tp-badge-wrap{flex-wrap:wrap;align-items:center;gap:.4rem .6rem;padding-top:.4rem;display:flex}.tp-badge{background:var(--gold-faint);color:var(--gold);border-radius:999px;flex-wrap:wrap;align-items:center;gap:.3rem;max-width:100%;padding:.28rem .7rem;font-size:.76rem;display:inline-flex}.tp-badge-name{color:inherit;text-align:left;overflow-wrap:anywhere;font-weight:650}.tp-badge-name:hover{text-decoration:underline}.tp-badge-n{color:var(--ivory-dim);font-weight:500}.tp-badge-gone{color:#be123c;background:#f43f5e1a;border-radius:.7rem;gap:.4rem;margin-top:.4rem;padding:.4rem .8rem;font-size:.78rem;display:flex}.tp-badge-changed{color:#b45309;background:#d9770624;border-radius:999px;align-items:center;gap:.3rem;padding:.22rem .65rem;font-size:.72rem;font-weight:600;display:inline-flex}[data-theme=night] .tp-badge-changed{color:#fbbf24}.tp-used-tag{color:var(--gold)}.tp-state-cut{color:#b45309}.tp-mat-form{flex-direction:column;gap:.5rem;display:flex}.tp-mat-picked{align-items:center;gap:.5rem;min-width:0;display:flex}.tp-mat-drop{margin:0;font-size:.82rem}.tp-instr-meta{flex-wrap:wrap;align-items:center;gap:.2rem .6rem;display:flex}.tp-mat-chip{white-space:nowrap;border-radius:999px;padding:.05rem .55rem;font-size:.68rem;font-weight:700}.tp-mat-uploaded{color:#4338ca;background:#6366f11f}.tp-mat-parsing{color:#b45309;background:#f59e0b29}.tp-mat-done{color:#047857;background:#10b98126}[data-theme=night] .tp-mat-uploaded{color:#a5b4fc}[data-theme=night] .tp-mat-parsing{color:#fcd34d}[data-theme=night] .tp-mat-done{color:#6ee7b7}.tp-mat-result{color:var(--ivory-dim);margin:.2rem 0 0;font-size:.78rem;line-height:1.45}.tp-mat-bad{color:#be123c}[data-theme=night] .tp-mat-bad{color:#fda4af}.tc-fig-sketch-dot{background:#d97706;border-radius:50%;width:.42rem;height:.42rem}.tc-dr{background:var(--card);width:100vw;max-width:none;height:100dvh;max-height:none;color:var(--ivory);border:0;outline:none;margin:0;padding:0;position:fixed;inset:0;overflow:hidden}.tc-dr::backdrop{background:#0f111580}.tc-dr-wait{flex-direction:column;justify-content:center;align-items:center;gap:.6rem;height:100%;font-size:.85rem;display:flex}.tc-dr-shell{grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;display:grid}.tc-dr-top,.tc-dr-format,.tc-dr-foot{border-bottom:1px solid var(--hairline);background:var(--card);flex-wrap:wrap;align-items:center;gap:.15rem .2rem;padding:.3rem .6rem;display:flex}.tc-dr-format{gap:.25rem .8rem;font-size:.74rem}.tc-dr-foot{border-top:1px solid var(--hairline);color:var(--ivory-dim);border-bottom:0;font-size:.72rem}.tc-dr-title{white-space:nowrap;margin-right:.2rem;font-size:.9rem;font-weight:650}.tc-dr-of{color:var(--ivory-dim);font-size:.76rem;font-weight:500}.tc-dr-sep{background:var(--hairline);align-self:stretch;width:1px;margin:.15rem .25rem}.tc-dr-grow{flex:auto}.tc-dr-btn{min-width:1.9rem;height:1.9rem;color:var(--ivory);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.4rem;justify-content:center;align-items:center;gap:.25rem;padding:0 .2rem;display:inline-flex}.tc-dr-btn:hover:not(:disabled){background:var(--onyx-3)}.tc-dr-btn:disabled{opacity:.32;cursor:default}.tc-dr-btn:focus-visible,.tc-dr-shape:focus-visible,.tc-dr-char:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-dr-on,.tc-dr-btn.tc-dr-on{background:var(--gold-faint);border-color:var(--gold);color:var(--gold)}.tc-dr-word{padding:0 .45rem;font-size:.74rem}.tc-dr-field{align-items:center;gap:.35rem;display:inline-flex}.tc-dr-field .tc-fig-col-sw{flex-wrap:nowrap}.tc-dr-pop{display:inline-flex;position:relative}.tc-dr-menu{z-index:5;border:1px solid var(--hairline);background:var(--card);border-radius:.6rem;grid-template-columns:repeat(6,4.2rem);gap:.25rem;padding:.45rem;display:grid;position:absolute;top:calc(100% + .3rem);left:0;box-shadow:0 12px 30px #00000038}.tc-dr-char{border:1px solid var(--hairline);cursor:pointer;background:#fff;border-radius:.4rem;justify-content:center;align-items:center;width:4.2rem;height:5.6rem;padding:.15rem;display:flex}.tc-dr-char:hover{border-color:var(--gold)}.tc-dr-char img{max-width:100%;max-height:100%}.tc-dr-body{grid-template-columns:14.2rem minmax(0,1fr);min-height:0;display:grid}.tc-dr-body.tc-dr-norail{grid-template-columns:auto minmax(0,1fr)}.tc-dr-body.tc-dr-withtext{grid-template-columns:14.2rem minmax(0,1fr) 25rem}.tc-dr-body.tc-dr-norail.tc-dr-withtext{grid-template-columns:auto minmax(0,1fr) 25rem}.tc-dr-rail{border-right:1px solid var(--hairline);background:var(--card);padding:.35rem .45rem;overflow-y:auto}.tc-dr-railtoggle{width:100%;color:var(--ivory);text-align:left;cursor:pointer;background:0 0;border:0;padding:.15rem .3rem;font-size:.74rem;font-weight:650}.tc-dr-group h3{color:var(--ivory-dim);margin:.45rem 0 .15rem;font-size:.68rem;font-weight:600}.tc-dr-shapes{grid-template-columns:repeat(6,2.1rem);gap:.05rem;display:grid}.tc-dr-shape{width:2.1rem;height:2.1rem;color:var(--ivory);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:.35rem;justify-content:center;align-items:center;padding:0;display:inline-flex}.tc-dr-shape:hover{background:var(--onyx-3)}.tc-dr-scroll{background:#c9ced6;padding:12px;overflow:auto}.tc-dr-page{touch-action:none;-webkit-user-select:none;user-select:none;background:#fff;margin:0 auto;display:block;box-shadow:0 2px 14px #00000047}.tc-dr-page[data-tool=shape],.tc-dr-page[data-tool=pen]{cursor:crosshair}.tc-dr-page[data-tool=select] [data-item]{cursor:move}.tc-dr-text{border-left:1px solid var(--hairline);background:var(--card);flex-direction:column;gap:.4rem;min-height:0;padding:.5rem .6rem;font-size:.8rem;display:flex;overflow-y:auto}.tc-dr-text-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem;display:flex}.tc-dr-aligns{flex-wrap:wrap;gap:.05rem;display:inline-flex}.tc-dr-aligns .tc-dr-btn{min-width:1.6rem;height:1.6rem}.tc-dr-err{color:#dc2626;font-weight:600}.tc-dr-hint{min-width:0}.tc-dr-restored{color:#b45309}.tc-dr-saved{opacity:.8}.tc-dr-zoom{text-align:center;min-width:2.6rem}.tc-dr-selbox{fill:none;stroke:#2563eb;stroke-width:1.25px;stroke-dasharray:5 3}.tc-dr-selone{fill:none;stroke:#93c5fd;stroke-width:1px}.tc-dr-handle{fill:#fff;stroke:#2563eb;stroke-width:1.5px}.tc-dr-linked{fill:#16a34a;stroke:#14532d}.tc-dr-rot{fill:#dbeafe;cursor:grab}.tc-dr-stem{stroke:#2563eb;stroke-width:1px}.tc-dr-adj{fill:#fbbf24;stroke:#92400e;stroke-width:1px;cursor:pointer}.tc-dr-guide{stroke:#e11d48;stroke-width:1px}.tc-dr-marquee{fill:#2563eb14;stroke:#2563eb;stroke-width:1px}.tc-dr-site{fill:#2563eb;stroke:#fff;stroke-width:.5px}.tc-dr-cropbox{stroke:#111827;stroke-width:1.5px}.tc-dr-cropfull{fill:none;stroke:#64748b;stroke-width:1px;stroke-dasharray:3 3}.tc-dr-crophandle{fill:#111827;stroke:#fff;stroke-width:1.5px}.tc-dr-part{stroke:#f59e0b;stroke-width:1.5px;stroke-dasharray:6 3}.tc-dr-part:hover{fill:#f59e0b1a}.tc-dr-part-on{stroke:#dc2626;stroke-width:2.5px;stroke-dasharray:none;fill:#dc26260f}.tc-dr-part-fixed{stroke:#94a3b8}.tc-dr-part-swap{stroke:#7c3aed;stroke-width:3px;stroke-dasharray:none;fill:#7c3aed14}.tc-dr-part-target:hover{stroke:#7c3aed;fill:#7c3aed1f}.tc-dr-swapnow{color:#6d28d9;font-weight:600}.tc-dr-tpick{min-width:13rem;color:var(--ivory);flex-direction:column;grid-template-columns:none;gap:.4rem;font-size:.76rem;display:flex}.tc-dr-tgrid{grid-template-columns:repeat(10,1.15rem);gap:.15rem;display:grid}.tc-dr-tsq{border:1px solid var(--hairline);cursor:pointer;background:#fff;border-radius:.15rem;width:1.15rem;height:1.15rem;padding:0}.tc-dr-tsq-on{border-color:var(--gold);background:var(--gold-faint)}.tc-dr-tsq:focus-visible{outline:2px solid var(--gold-soft);outline-offset:1px}.tc-dr-tpick-foot{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.tc-dr-tpick input[type=number]{border:1px solid var(--hairline);background:var(--card);width:4.2rem;height:1.7rem;color:var(--ivory);border-radius:.35rem;padding:0 .35rem}.tc-dr-trange{fill:#2563eb1f;stroke:#2563eb;stroke-width:1px}.tc-dr-tcell{fill:none;stroke:#2563eb;stroke-width:2.5px}.tc-dr-tmove{fill:#fff;stroke:#2563eb;stroke-width:1.25px}.tc-dr-tmove-x{stroke:#2563eb;stroke-width:1.5px}.tc-dr-grip{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1px}[data-rowgrip]:hover .tc-dr-grip,[data-colgrip]:hover .tc-dr-grip{fill:#dbeafe;stroke:#2563eb}.tc-dr-grip-dots{stroke:#64748b;stroke-linecap:round;fill:none}.tc-dr-drop{stroke:#2563eb;stroke-width:4px;stroke-linecap:round}.tc-dr-tmenu{z-index:60;border:1px solid var(--hairline);background:var(--card);min-width:14rem;color:var(--ivory);border-radius:.55rem;flex-direction:column;padding:.3rem;font-size:.78rem;display:flex;position:fixed;box-shadow:0 12px 30px #00000040}.tc-dr-tmenu hr{border:0;border-top:1px solid var(--hairline);width:100%;margin:.2rem 0}.tc-dr-tmenu-item{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.35rem;padding:.32rem .55rem}.tc-dr-tmenu-item:hover:not(:disabled),.tc-dr-tmenu-item:focus-visible{background:var(--onyx-3);outline:none}.tc-dr-tmenu-item:disabled{opacity:.4;cursor:default}.tc-dr-tbar .tc-dr-btn{min-width:1.7rem;height:1.7rem}.tc-dr-shell.tc-dr-hastable{grid-template-rows:auto auto auto minmax(0,1fr) auto}.tc-dr-tbar{border-bottom:1px solid var(--hairline);background:var(--card);flex-wrap:wrap;align-items:center;gap:.15rem .2rem;padding:.2rem .6rem;font-size:.74rem;display:flex}.tc-dr-tbar .tc-fig-tf-label{margin-right:.2rem}.tc-dr-ttext{align-items:center;gap:.1rem;display:inline-flex}.tc-dr-caret{opacity:.7;font-size:.6rem}.tc-dr-tmenu{max-height:calc(100dvh - 8px);overflow-y:auto}.tc-dr-tdrop{z-index:61;border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:.55rem;flex-direction:column;gap:.3rem;padding:.45rem;font-size:.76rem;display:flex;position:fixed;box-shadow:0 12px 30px #00000040}.tc-dr-tborders{grid-template-columns:repeat(5,2rem);gap:.15rem;display:grid}.tc-dr-taligns{grid-template-columns:auto repeat(3,2rem);align-items:center;gap:.15rem .3rem;display:grid}.tc-dr-tlist{flex-direction:column;min-width:14rem;display:flex}.tc-dr-tprops{z-index:61;border:1px solid var(--hairline);background:var(--card);width:min(22rem,100vw - 1.6rem);color:var(--ivory);border-radius:.6rem;flex-direction:column;gap:.45rem;padding:.7rem;font-size:.78rem;display:flex;position:fixed;top:7.5rem;right:.8rem;box-shadow:0 12px 30px #00000040}.tc-dr-tprops-of{color:var(--ivory-dim);font-size:.72rem}.tc-dr-tprop{justify-content:space-between}.tc-dr-tprop input[type=number]{border:1px solid var(--hairline);background:var(--card);width:5rem;height:1.8rem;color:var(--ivory);border-radius:.35rem;padding:0 .35rem}.tc-dr-tprop-check{align-items:flex-start}.tc-dr-tprop-check input{margin-top:.15rem}.tc-tc-btn{flex-direction:column;justify-content:center;align-items:center;gap:0;min-width:1.7rem;display:inline-flex;position:relative}.tc-tc-a{font-weight:700;line-height:1}.tc-tc-bar{border:1px solid var(--hairline);border-radius:1px;width:1rem;height:.22rem;margin-top:.08rem;display:block}.tc-tc-pop{z-index:62;border:1px solid var(--hairline);background:var(--card);width:13.5rem;color:var(--ivory);border-radius:.55rem;flex-direction:column;gap:.35rem;padding:.5rem;font-size:.76rem;display:flex;position:fixed;box-shadow:0 12px 30px #00000040}.tc-tc-none{align-self:flex-start}.tc-sp-pop{gap:.1rem;width:16rem}.tc-sp-pop hr{border:0;border-top:1px solid var(--onyx-3);width:100%;margin:.2rem 0}.tc-sp-item{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.35rem;align-items:center;gap:.35rem;padding:.3rem .5rem;font-size:.82rem;display:flex}.tc-sp-item:hover,.tc-sp-item:focus-visible{background:var(--onyx-3);outline:none}.tc-sp-tick{text-align:center;width:1rem;display:inline-block}.tc-sp-form{flex-direction:column;gap:.4rem;font-size:.82rem;display:flex}.tc-sp-field{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.tc-sp-field input{width:5rem}.tc-sp-foot{justify-content:flex-end;gap:.5rem;display:flex}.tc-tc-grid{grid-template-columns:repeat(7,1.45rem);gap:.2rem;display:grid}.tc-tc-dot{border:1px solid var(--hairline);cursor:pointer;border-radius:.25rem;width:1.45rem;height:1.45rem;padding:0}.tc-tc-dot:hover,.tc-tc-on{outline:2px solid var(--gold);outline-offset:1px}.tc-fig-docs{flex-wrap:wrap;align-items:center;gap:.2rem;display:inline-flex}.tc-dr-menu-note{color:var(--ivory-dim);grid-column:1/-1;font-size:.72rem}@media (max-width:800px){.tc-dr-body,.tc-dr-body.tc-dr-norail{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.tc-dr-body.tc-dr-withtext,.tc-dr-body.tc-dr-norail.tc-dr-withtext{grid-template-rows:auto minmax(0,1fr) minmax(0,45%);grid-template-columns:minmax(0,1fr)}.tc-dr-rail{border-right:0;border-bottom:1px solid var(--hairline);max-height:38dvh}.tc-dr-text{border-left:0;border-top:1px solid var(--hairline)}.tc-dr-format{flex-wrap:nowrap;overflow-x:auto}}.tc-cc-add{border:1px dashed var(--hairline);width:1.25rem;height:1.25rem;color:var(--ivory);cursor:pointer;background:0 0;border-radius:50%;justify-content:center;align-items:center;padding:0;display:inline-flex}.tc-cc-add:hover:not(:disabled){border-color:var(--gold)}.tc-cc-add:disabled{opacity:.4;cursor:default}.tc-cc-box{z-index:60;border:1px solid var(--hairline);background:var(--card);color:var(--ivory);border-radius:.6rem;flex-direction:column;gap:.45rem;padding:.6rem;font-size:.76rem;display:flex;position:fixed;box-shadow:0 12px 30px #00000040}.tc-cc-row{align-items:center;gap:.4rem;display:flex}.tc-cc-preview{border:1px solid var(--hairline);border-radius:.4rem;flex:none;width:1.8rem;height:1.8rem}.tc-cc-field input[type=color]{border:1px solid var(--hairline);cursor:pointer;background:0 0;border-radius:.35rem;width:2rem;height:1.8rem;padding:0}.tc-cc-hex{flex:auto;min-width:0}.tc-cc-hex input{border:1px solid var(--hairline);background:var(--card);width:100%;height:1.8rem;color:var(--ivory);border-radius:.35rem;padding:0 .4rem;font-family:ui-monospace,monospace}.tc-cc-hex input[aria-invalid=true]{border-color:#dc2626}.tc-cc-pipette{border:1px solid var(--hairline);align-self:flex-start}.tc-cc-note{color:var(--ivory-dim);margin:0;font-size:.72rem}.tc-cc-bad{color:#dc2626}.tc-cc-foot{justify-content:flex-end;align-items:center;gap:.6rem;display:flex}body.tc-picking,body.tc-picking *{cursor:crosshair!important}.tc-dr-pic-note{color:var(--ivory-dim);margin:0;font-size:.74rem}.tc-dr-parts{flex-direction:column;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.tc-dr-partrow{border:1px solid var(--hairline);border-radius:.45rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem .6rem;padding:.3rem .45rem;display:flex}.tc-dr-partrow.tc-dr-on{border-color:#dc2626}.tc-dr-partnote{color:var(--ivory-dim);flex:1 0 100%;font-size:.7rem}.first\:border-t-0:first-child{border-top-width:0}.hover\:text-red-700:hover{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity,1))}@media (min-width:640px){.sm\:col-span-2{grid-column:span 2/span 2}.sm\:col-span-4{grid-column:span 4/span 4}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1024px){.lg\:sticky{position:sticky}.lg\:top-4{top:1rem}.lg\:grid-cols-\[18rem_1fr\]{grid-template-columns:18rem 1fr}.lg\:grid-cols-\[minmax\(0\,3fr\)_minmax\(0\,2fr\)\]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}.lg\:self-start{align-self:flex-start}}@media (prefers-color-scheme:dark){.dark\:border-white\/10{border-color:#ffffff1a}.dark\:border-white\/15{border-color:#ffffff26}.dark\:bg-amber-950\/30{background-color:#451a034d}.dark\:bg-black\/20{background-color:#0003}.dark\:bg-rose-950{--tw-bg-opacity:1;background-color:rgb(76 5 25/var(--tw-bg-opacity,1))}.dark\:bg-white\/\[\.04\]{background-color:#ffffff0a}.dark\:bg-white\/\[\.08\]{background-color:#ffffff14}.dark\:text-rose-100{--tw-text-opacity:1;color:rgb(255 228 230/var(--tw-text-opacity,1))}}
