@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--container-sm:24rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height: 1.5 ;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-widest:.1em;--leading-relaxed:1.625;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.isolate{isolation:isolate}.z-50{z-index:50}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.my-1{margin-block:calc(var(--spacing) * 1)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-full{width:100%;height:100%}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[min\(28rem\,var\(--radix-dropdown-menu-content-available-height\)\)\]{max-height:min(28rem,var(--radix-dropdown-menu-content-available-height))}.min-h-24{min-height:calc(var(--spacing) * 24)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3\/4{width:75%}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-64{max-width:calc(var(--spacing) * 64)}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-default{cursor:default}.touch-none{touch-action:none}.resize{resize:both}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-4{gap:calc(var(--spacing) * 4)}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-border{border-color:var(--border)}.border-input{border-color:var(--input)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-background{background-color:var(--background)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground\/40{background-color:var(--foreground)}@supports (color:color-mix(in lab,red,red)){.bg-foreground\/40{background-color:color-mix(in oklab,var(--foreground) 40%,transparent)}}.bg-muted,.bg-muted\/50{background-color:var(--muted-bg)}@supports (color:color-mix(in lab,red,red)){.bg-muted\/50{background-color:color-mix(in oklab,var(--muted-bg) 50%,transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-secondary{background-color:var(--secondary)}.fill-current{fill:currentColor}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.p-px{padding:1px}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-left{text-align:left}.align-middle{vertical-align:middle}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-card-foreground{color:var(--card-foreground)}.text-destructive-foreground{color:var(--destructive-foreground)}.text-foreground{color:var(--foreground)}.text-input{color:var(--input)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.italic{font-style:italic}.underline{text-decoration-line:underline}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.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,)}.grayscale{--tw-grayscale:grayscale(100%);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,)}.sepia{--tw-sepia:sepia(100%);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,)}.backdrop-blur-\[5px\]{--tw-backdrop-blur:blur(5px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}@media(hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab,var(--destructive) 90%,transparent)}}.hover\:bg-muted\/50:hover{background-color:var(--muted-bg)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab,var(--muted-bg) 50%,transparent)}}.hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab,var(--primary) 90%,transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab,var(--secondary) 80%,transparent)}}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:opacity-100:hover{opacity:1}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-ring\/25:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/25:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 25%, transparent)}}.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.focus-visible\:ring-ring\/40:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\:ring-ring\/40:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 40%, transparent)}}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[inset\=true\]\:pl-8[data-inset=true]{padding-left:calc(var(--spacing) * 8)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--background)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--foreground)}.data-\[state\=active\]\:shadow-xs[data-state=active]{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=closed\]\:-translate-x-full[data-state=closed]{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=closed\]\:translate-x-full[data-state=closed]{--tw-translate-x:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=closed\]\:-translate-y-full[data-state=closed]{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=closed\]\:translate-y-full[data-state=closed]{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=closed\]\:opacity-0[data-state=closed]{opacity:0}.data-\[state\=closed\]\:duration-200[data-state=closed]{--tw-duration:.2s;transition-duration:.2s}.data-\[state\=open\]\:translate-x-0[data-state=open]{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=open\]\:translate-y-0[data-state=open]{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-300[data-state=open]{--tw-duration:.3s;transition-duration:.3s}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive[data-variant=destructive]:focus{background-color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:text-destructive-foreground[data-variant=destructive]:focus{color:var(--destructive-foreground)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}}.spell-override-sheet{color:#2e2a22;background:linear-gradient(#fffdf4fc,#f7efd7fc),#fffaf0;border:1px solid #976f319e;border-radius:16px;width:min(560px,100vw - 32px);max-height:min(680px,100dvh - 32px);top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 28px 90px #1c160d57,inset 0 1px #ffffffd1}.spell-override-form{flex-direction:column;flex:1;min-height:0;display:flex}.spell-override-header{border-bottom:1px solid #976f3147;gap:8px;padding:22px 24px 18px}.spell-override-header h2{color:#2d312b;font-family:Georgia,Palatino Linotype,Book Antiqua,Palatino,serif;font-size:clamp(1.25rem,3vw,1.65rem);line-height:1.2}.spell-override-header p{color:#655d4e;line-height:1.5}.spell-override-kicker,.spell-override-pill{color:#74450f;background:#fff1cf;border-color:#b67724;width:fit-content;font-weight:850}.spell-override-body{gap:16px;padding:20px 24px;display:grid;overflow:auto}.spell-override-warning,.spell-override-callout{color:#70450f;background:#fff4da;border:1px solid #b7771c6b;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;padding:12px;display:grid}.spell-override-warning span,.spell-override-callout span{min-width:0;line-height:1.45}.spell-override-warning strong,.spell-override-callout strong{color:#56350d;letter-spacing:.035em;text-transform:uppercase;font-size:.78rem;display:block}.spell-override-warning p{margin:3px 0 0;line-height:1.45}.spell-override-reason-field{color:#3c382f;gap:7px;font-weight:800;display:grid}.spell-override-reason-field textarea{resize:vertical;color:#28251f;background:#ffffffd6;border-color:#755d3680;min-height:128px;line-height:1.5}.spell-override-body>small{color:#6d6658;margin-top:-9px;line-height:1.4}.spell-override-footer{border-top:1px solid #976f3147;justify-content:flex-end;padding:16px 24px 20px}.spell-repertoire-override-note{color:#70450f;background:#fff4da;border-top:1px solid #b7771c47;grid-column:1/-1;grid-template-columns:auto minmax(0,1fr);gap:8px;margin:0;padding:9px 12px;font-size:.78rem;line-height:1.4;display:grid}.spell-repertoire-override-note strong{text-transform:uppercase}.spell-override-callout{grid-template-columns:auto auto minmax(0,1fr);margin-bottom:12px}@media(max-width:560px){.spell-override-sheet{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.spell-override-header,.spell-override-body{padding-left:18px;padding-right:18px}.spell-override-footer{grid-template-columns:1fr;padding-left:18px;padding-right:18px;display:grid}.spell-override-footer button{width:100%}.spell-repertoire-override-note,.spell-override-callout{grid-template-columns:1fr}}.spell-sheet-tab{padding:0}.spell-sheet-loading{min-height:280px;color:var(--muted);justify-content:center;align-items:center;gap:9px;font-weight:800;display:flex}.spell-sheet-page{border:1px solid var(--border);background:radial-gradient(circle at 92% 0,#2f6f5e1a,#0000 27rem),linear-gradient(#fff,#fafbf8);border-radius:22px;gap:16px;width:min(1260px,100%);margin:0 auto;padding:clamp(14px,2.4vw,26px);display:grid;box-shadow:0 22px 70px #1f25231a}.spell-sheet-hero{border-bottom:1px solid var(--border);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding-bottom:16px;display:grid}.spell-sheet-portrait{border:3px double #2f6f5e73;width:66px;height:66px;box-shadow:0 7px 20px #1f252321}.spell-sheet-identity{gap:3px;min-width:0;display:grid}.spell-sheet-kicker{color:var(--green-dark);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:5px;font-size:.72rem;font-weight:900;display:inline-flex}.spell-sheet-identity h3,.spell-sheet-identity p{margin:0}.spell-sheet-identity h3{color:var(--ink);font-family:var(--forge-display,Georgia, serif);text-overflow:ellipsis;white-space:nowrap;font-size:clamp(1.45rem,3vw,2.1rem);line-height:1.05;overflow:hidden}.spell-sheet-identity p{color:var(--muted);font-size:.86rem;font-weight:700}.spell-sheet-hero-actions{justify-content:flex-end;display:flex}.spell-sheet-casting-strip{background:#2f6f5e0d;border:1px solid #2f6f5e3d;border-radius:16px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.spell-sheet-casting-strip>span{text-align:center;gap:2px;min-width:0;padding:12px 14px;display:grid}.spell-sheet-casting-strip>span+span{border-left:1px solid #2f6f5e2e}.spell-sheet-casting-strip small,.spell-sheet-casting-strip em{color:var(--muted);letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.67rem;font-style:normal;font-weight:800;overflow:hidden}.spell-sheet-casting-strip strong{color:var(--ink);font-family:var(--forge-display,Georgia, serif);font-size:1.28rem}.spell-sheet-layout{grid-template-columns:minmax(245px,.34fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.spell-sheet-slots-panel,.spell-sheet-reference-panel{border:1px solid var(--border);background:#ffffffd1;border-radius:17px;min-width:0}.spell-sheet-slots-panel{gap:11px;padding:14px;display:grid;position:sticky;top:14px}.spell-sheet-panel-heading,.spell-sheet-reference-toolbar,.spell-sheet-level-heading,.spell-sheet-slot-copy,.spell-sheet-slot-actions{align-items:center;display:flex}.spell-sheet-panel-heading,.spell-sheet-level-heading,.spell-sheet-slot-copy{justify-content:space-between}.spell-sheet-panel-heading>span,.spell-sheet-reference-title{color:var(--ink);font-family:var(--forge-display,Georgia, serif);align-items:center;gap:7px;font-size:1rem;font-weight:900;display:inline-flex}.spell-sheet-slot-list{gap:8px;display:grid}.spell-sheet-slot-pool{border:1px solid var(--border);background:var(--paper);border-radius:13px;gap:9px;padding:11px;display:grid}.spell-sheet-slot-copy>span{gap:1px;display:grid}.spell-sheet-slot-copy strong{color:var(--ink);font-size:.83rem}.spell-sheet-slot-copy small,.spell-sheet-rest-note,.spell-sheet-read-only-note,.spell-sheet-empty{color:var(--muted);font-size:.7rem;font-weight:700}.spell-sheet-slot-copy b{color:var(--green-dark);font-family:var(--forge-display,Georgia, serif);font-size:1.06rem}.spell-sheet-slot-dots{flex-wrap:wrap;gap:6px;min-height:15px;display:flex}.spell-sheet-slot-dots span{border:2px solid var(--green);background:#fff;border-radius:50%;width:14px;height:14px;box-shadow:inset 0 0 0 2px #fff}.spell-sheet-slot-dots span.used{background:#c9d0cc;border-color:#aab4af}.spell-sheet-slot-actions{justify-content:flex-end;gap:6px}.spell-sheet-slot-actions button{min-height:29px;padding-inline:8px;font-size:.68rem}.spell-sheet-rest-note,.spell-sheet-read-only-note,.spell-sheet-notice{margin:0}.spell-sheet-rest-note{border-top:1px dashed var(--border);align-items:center;gap:5px;padding-top:10px;display:flex}.spell-sheet-notice{color:var(--destructive);font-size:.72rem;font-weight:800}.spell-sheet-reference-panel{overflow:hidden}.spell-sheet-reference-toolbar{border-bottom:1px solid var(--border);background:#fafbf8f0;grid-template-columns:minmax(150px,1fr) auto minmax(180px,.7fr);gap:10px;padding:13px;display:grid}.spell-sheet-reference-toolbar>div:first-child{gap:2px;display:grid}.spell-sheet-reference-toolbar>div:first-child small{color:var(--muted);font-size:.7rem;font-weight:700}.spell-sheet-scope-switch{align-items:center;gap:5px;display:flex}.spell-sheet-search{color:var(--muted);align-items:center;gap:6px;display:flex}.spell-sheet-search input{min-width:0;height:34px}.spell-sheet-tag-filters{border-bottom:1px solid var(--border);background:#2f6f5e08;flex-wrap:wrap;align-items:center;gap:7px;padding:9px 13px 10px;display:flex}.spell-sheet-tag-filter-label{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;align-items:center;gap:4px;margin-right:2px;font-size:.66rem;font-weight:900;display:inline-flex}.spell-sheet-tag-filter{min-height:29px;color:var(--green-dark);white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #2f6f5e33;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:.67rem;font-weight:800;line-height:1;transition:background .14s,border-color .14s,box-shadow .14s;display:inline-flex}.spell-sheet-tag-filter:hover{border-color:#2f6f5e73;box-shadow:0 3px 9px #1f252312}.spell-sheet-tag-filter.active{border-color:var(--green);background:var(--green);color:#fff}.spell-sheet-tag-filter small{min-width:17px;height:17px;color:inherit;background:#2f6f5e1a;border-radius:999px;place-items:center;font-size:.57rem;font-weight:900;display:grid}.spell-sheet-tag-filter.active small{background:#fff3}.spell-sheet-spell-groups{gap:16px;padding:15px;display:grid}.spell-sheet-spell-group{gap:7px;display:grid}.spell-sheet-level-heading{border-bottom:2px solid #2f6f5e38;padding:0 2px 6px}.spell-sheet-level-heading>span{color:var(--green-dark);font-family:var(--forge-display,Georgia, serif);letter-spacing:.04em;text-transform:uppercase;font-size:.9rem;font-weight:900}.spell-sheet-spell-list{gap:7px;display:grid}.spell-sheet-spell-card{border:1px solid var(--border);background:#fff;border-left:4px solid #aab4af;border-radius:12px;transition:border-color .14s,box-shadow .14s,transform .14s;overflow:hidden}.spell-sheet-spell-card.ready,.spell-sheet-spell-card.prepared{border-left-color:var(--green)}.spell-sheet-spell-card.always{border-left-color:#a67826}.spell-sheet-spell-card.item{border-left-color:#6b4ca5}.spell-sheet-spell-card:hover,.spell-sheet-spell-card.expanded{border-color:#2f6f5e73;box-shadow:0 7px 22px #1f252314}.spell-sheet-spell-summary{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px 11px;display:grid}.spell-sheet-spell-level-mark{width:28px;height:28px;color:var(--green-dark);font-family:var(--forge-display,Georgia, serif);background:#2f6f5e12;border:1px solid #2f6f5e47;border-radius:50%;place-items:center;font-size:.8rem;font-weight:900;display:grid}.spell-sheet-spell-title{gap:3px;min-width:0;display:grid}.spell-sheet-spell-title>span{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.spell-sheet-spell-title strong{color:var(--ink);font-family:var(--forge-display,Georgia, serif);text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;overflow:hidden}.spell-sheet-spell-title small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:700;overflow:hidden}.spell-sheet-spell-title [data-slot=badge]{min-height:17px;padding:1px 5px;font-size:.56rem}.spell-sheet-readiness{border:1px solid var(--border);background:var(--paper);color:var(--muted);letter-spacing:.03em;white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:.61rem;font-weight:900}.spell-sheet-readiness.ready,.spell-sheet-readiness.prepared{color:var(--green-dark);background:#2f6f5e14;border-color:#2f6f5e47}.spell-sheet-readiness.always{color:#765315;background:#a6782617;border-color:#a678264d}.spell-sheet-readiness.item,.spell-sheet-item-grant-badge{border-color:var(--input);background:var(--accent);color:var(--accent-foreground)}.spell-sheet-acquisition-badge{color:#765315;background:#a678261a;border-color:#a6782657}.spell-sheet-acquisition-note{color:var(--ink);background:#a6782612;border-left:3px solid #a67826;border-radius:0 6px 6px 0;gap:3px;padding:8px 10px;font-size:.72rem;display:grid}.spell-sheet-acquisition-note span{color:var(--muted);font-weight:700}.spell-sheet-spell-detail{border-top:1px solid var(--border);background:var(--paper);gap:11px;padding:12px 14px 14px 52px;display:grid}.spell-sheet-spell-detail dl{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;display:grid}.spell-sheet-spell-detail dl div{border-left:2px solid #2f6f5e33;min-width:0;padding-left:7px}.spell-sheet-spell-detail dt{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.59rem;font-weight:900}.spell-sheet-spell-detail dd{color:var(--ink);margin:2px 0 0;font-size:.72rem;font-weight:700;line-height:1.35}.spell-sheet-spell-rules{color:var(--ink);gap:7px;font-family:Georgia,serif;font-size:.82rem;line-height:1.55;display:grid}.spell-sheet-spell-rules p,.spell-sheet-spell-detail footer{margin:0}.spell-sheet-card-tags{flex-wrap:wrap;gap:5px;display:flex}.spell-sheet-card-tags [data-slot=badge]{color:var(--green-dark);background:#2f6f5e0d;border-color:#2f6f5e33;font-size:.6rem}.spell-sheet-table-rule{background:#a6782612;border-left:3px solid #a67826;padding:8px 10px}.spell-sheet-casting-options{gap:8px;display:grid}.spell-sheet-casting-options-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;display:flex}.spell-sheet-casting-options-heading>strong{color:var(--ink);font-family:var(--forge-display,Georgia, serif);letter-spacing:.045em;text-transform:uppercase;font-size:.78rem}.spell-sheet-casting-options-heading>span{color:var(--muted);font-size:.66rem;font-weight:750}.spell-sheet-casting-option-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;display:grid}.spell-sheet-casting-option{border:1px solid #2f6f5e3d;border-left:3px solid var(--green);color:var(--ink);background:#2f6f5e0f;border-radius:8px;align-content:start;gap:5px;margin:0;padding:9px 10px;display:grid}.spell-sheet-casting-option.item{border-color:var(--input);border-left-color:var(--accent-foreground);background:var(--accent)}.spell-sheet-casting-option>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px 8px;display:flex}.spell-sheet-casting-option strong{color:inherit;font-size:.75rem}.spell-sheet-casting-option [data-slot=badge]{color:var(--green-dark);border-color:currentColor;padding:1px 5px;font-size:.55rem}.spell-sheet-casting-option.item [data-slot=badge]{color:var(--accent-foreground)}.spell-sheet-casting-option p,.spell-sheet-casting-option small{margin:0;line-height:1.4}.spell-sheet-casting-option p{font-size:.72rem;font-weight:750}.spell-sheet-casting-option small{color:var(--muted);font-size:.63rem;font-weight:700}.spell-sheet-casting-options-note{color:var(--muted);margin:0;font-size:.63rem;font-weight:700}.spell-sheet-spell-detail footer{color:var(--muted);font-size:.66rem;font-weight:800}.spell-sheet-empty-state{min-height:260px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:8px;padding:24px;display:grid}.spell-sheet-empty-state strong{color:var(--ink);font-family:var(--forge-display,Georgia, serif);font-size:1rem}.spell-sheet-empty-state p{max-width:430px;margin:0;font-size:.78rem;line-height:1.5}@media(max-width:980px){.spell-sheet-layout{grid-template-columns:1fr}.spell-sheet-slots-panel{position:static}.spell-sheet-slot-list{grid-template-columns:repeat(auto-fit,minmax(205px,1fr))}}@media(max-width:720px){.spell-sheet-page{border-radius:16px;gap:12px;padding:10px}.spell-sheet-hero{grid-template-columns:auto minmax(0,1fr)}.spell-sheet-portrait{width:52px;height:52px}.spell-sheet-hero-actions{grid-column:1/-1}.spell-sheet-hero-actions button{width:100%}.spell-sheet-casting-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.spell-sheet-casting-strip>span:nth-child(3){border-top:1px solid #2f6f5e2e;border-left:0}.spell-sheet-casting-strip>span:nth-child(4){border-top:1px solid #2f6f5e2e}.spell-sheet-casting-strip>span{padding:10px 7px}.spell-sheet-casting-strip small{white-space:normal;line-height:1.15}.spell-sheet-reference-toolbar{grid-template-columns:1fr}.spell-sheet-scope-switch,.spell-sheet-scope-switch button,.spell-sheet-search{width:100%}.spell-sheet-scope-switch button{flex:1}.spell-sheet-tag-filters{scrollbar-width:thin;flex-wrap:nowrap;padding-bottom:11px;overflow-x:auto}.spell-sheet-tag-filter,.spell-sheet-tag-filter-label{flex:none}.spell-sheet-spell-summary{grid-template-columns:auto minmax(0,1fr) auto}.spell-sheet-readiness{grid-column:2;justify-self:start}.spell-sheet-spell-summary>svg{grid-area:1/3}.spell-sheet-spell-detail{padding-left:12px}.spell-sheet-spell-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}}.safe-navigation-backdrop{z-index:120;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0e141294;position:fixed;inset:0;overflow-y:auto;pointer-events:auto!important}.safe-navigation-progress{z-index:119;cursor:progress;background:#0e14122e;place-items:center;display:grid;position:fixed;inset:0;pointer-events:auto!important}.safe-navigation-progress span{border:1px solid var(--border);background:var(--panel);color:var(--ink);border-radius:999px;padding:9px 14px;font-size:.82rem;font-weight:800;box-shadow:0 12px 36px #0e14122e}.safe-navigation-dialog{z-index:121;border:1px solid var(--border);background:var(--panel);border-radius:18px;gap:20px;width:min(100%,34rem);max-width:calc(100vw - 40px);padding:22px;display:grid;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 24px 64px #0e141247;pointer-events:auto!important}.safe-navigation-dialog-copy{gap:7px;display:grid}.safe-navigation-dialog-copy h2{color:var(--ink);font-family:var(--forge-display,Georgia, serif);margin:0;font-size:clamp(1.2rem,3vw,1.45rem);line-height:1.15}.safe-navigation-dialog-copy p{color:var(--muted);margin:0;line-height:1.55}.safe-navigation-dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.safe-navigation-dialog-status{color:var(--muted);text-align:right;font-size:.8rem;font-weight:800}.app-navigation-link[aria-disabled=true]{cursor:wait;opacity:.55}.level-up-workspace{gap:16px;width:min(1180px,100%);margin:0 auto;padding:18px;display:grid}.level-up-header{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:14px;display:grid}.level-up-header h2,.level-up-header p,.level-up-start-card h3,.level-up-start-card p,.level-up-stale-card h3,.level-up-stale-card p{margin:0}.level-up-header>div{gap:4px;display:grid}.level-up-start-card,.level-up-stale-card{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;display:grid}.level-up-start-icon{width:54px;height:54px;color:var(--green-dark);background:#2f6f5e1f;border-radius:50%;place-items:center;display:grid}.level-up-class-step,.level-up-start-card,.level-up-stale-card,.level-up-empty-decisions{margin:0}.level-up-class-options{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.level-up-class-card{min-height:70px;color:var(--ink);text-align:left;background:#fffdf5e0;border:1px solid #60492538;border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;display:grid}.level-up-class-card span{gap:2px;min-width:0;display:grid}.level-up-class-card small{color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.level-up-class-card.selected{color:var(--green-dark);background:#e8f5eee6;border-color:#2f6f5e9e;box-shadow:0 0 0 2px #2f6f5e1a}.level-up-decision-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);align-items:start;gap:16px;display:grid}.level-up-decision-column,.level-up-review-column{gap:14px;min-width:0;display:grid}.level-up-comparison-list,.level-up-outcome-list{gap:8px;display:grid}.level-up-comparison-row{border-bottom:1px solid #60492524;grid-template-columns:minmax(110px,1fr) minmax(62px,auto) auto minmax(62px,auto);align-items:center;gap:8px;padding:8px 0;display:grid}.level-up-comparison-row>span{text-align:right;gap:1px;display:grid}.level-up-comparison-row small{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.68rem}.level-up-outcome-list span,.level-up-ready-card{align-items:center;gap:8px;display:flex}.level-up-ready-card{color:var(--green-dark);background:#e8f5eed1;border:1px solid #2f6f5e57;border-radius:14px;padding:14px}.level-up-ready-card span,.level-up-readiness>span{gap:4px;display:grid}.level-up-readiness small{display:block}.level-up-actions{border-top:1px solid #6049252e;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:14px;display:flex}.level-up-empty-decisions{align-items:center;gap:10px;display:flex}@media(max-width:760px){.level-up-workspace{gap:12px;padding:12px}.level-up-header,.level-up-start-card,.level-up-stale-card,.level-up-decision-grid{grid-template-columns:1fr}.level-up-header>.badge{justify-self:start}.level-up-class-options{grid-template-columns:1fr}.level-up-comparison-row{grid-template-columns:minmax(90px,1fr) minmax(50px,auto) auto minmax(50px,auto);font-size:.82rem}.level-up-actions{grid-template-columns:1fr;display:grid}.level-up-actions button{width:100%}}@media(max-width:560px){.safe-navigation-backdrop{padding:0}.safe-navigation-dialog{border-radius:16px;gap:16px;max-width:calc(100vw - 24px);padding:18px;top:auto;bottom:12px;transform:translate(-50%)}.safe-navigation-dialog-actions{display:grid}.safe-navigation-dialog-actions button{width:100%}}.dev-console-shell{background:var(--paper);min-height:100vh}.dev-topbar{gap:12px}.dev-console-header{justify-content:space-between;align-items:end;gap:18px;padding:28px clamp(18px,4vw,44px) 16px;display:flex}.dev-console-header h1{margin:10px 0 0;font-size:clamp(2rem,4vw,3.4rem);line-height:.95}.dev-header-stats,.dev-snapshot-summary{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.dev-header-stats span,.dev-snapshot-summary span{border:1px solid var(--line);min-width:116px;color:var(--muted);background:#fff;border-radius:8px;gap:2px;padding:10px 12px;font-size:.76rem;display:grid}.dev-header-stats strong,.dev-snapshot-summary strong{color:var(--ink);font-size:1rem}.dev-section-tabs{flex-wrap:wrap;gap:8px;padding:0 clamp(18px,4vw,44px) 18px;display:flex}.dev-section-tab{border:1px solid var(--line);min-height:38px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-weight:800;display:inline-flex}.dev-section-tab.active{color:var(--green-dark);background:#edf6f2;border-color:#2f6f5e66}.dev-notice{margin:0 clamp(18px,4vw,44px) 14px}.dev-usage-dashboard{gap:18px;padding:0 clamp(18px,4vw,44px) 36px;display:grid}.dev-usage-toolbar{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px;justify-content:space-between;align-items:end;gap:18px;padding:18px;display:flex}.dev-usage-toolbar h2,.dev-usage-provider-card h3{margin:0}.dev-usage-toolbar h2{font-size:clamp(1.35rem,2vw,1.75rem)}.dev-usage-toolbar p:not(.dev-usage-eyebrow){max-width:680px;color:var(--muted);margin:5px 0 0;line-height:1.45}.dev-usage-eyebrow{color:var(--green-dark);letter-spacing:.1em;text-transform:uppercase;margin:0 0 4px;font-size:.72rem;font-weight:900}.dev-usage-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.dev-usage-period-picker{border:1px solid var(--line);background:var(--field);border-radius:8px;gap:3px;padding:3px;display:inline-flex}.dev-usage-period-picker button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:.78rem;font-weight:850}.dev-usage-period-picker button:hover,.dev-usage-period-picker button.active{color:var(--ink);background:#fff;box-shadow:0 1px 4px #1e2f291f}.dev-usage-error{align-items:center;gap:8px;margin:0;display:flex}.dev-usage-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.dev-usage-summary>span{border:1px solid var(--line);min-width:0;color:var(--muted);background:#fff;border-radius:8px;gap:4px;padding:12px 14px;font-size:.74rem;font-weight:750;display:grid}.dev-usage-summary strong{overflow-wrap:anywhere;color:var(--ink);font-size:1rem}.dev-usage-provider-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px;transition:opacity .16s;display:grid}.dev-usage-provider-grid.refreshing{opacity:.72}.dev-usage-provider-card{--usage-accent:#365b8d;--usage-accent-soft:#eef3fa;border:1px solid var(--line);border-top:4px solid var(--usage-accent);min-width:0;min-height:520px;box-shadow:var(--shadow);background:#fff;border-radius:9px;flex-direction:column;gap:16px;padding:17px;display:flex}.dev-usage-provider-card.openai{--usage-accent:#167a66;--usage-accent-soft:#e9f6f1}.dev-usage-provider-card.convex{--usage-accent:#d05a32;--usage-accent-soft:#fff0e9}.dev-usage-provider-card.vercel{--usage-accent:#252525;--usage-accent-soft:#f0f0ef}.dev-usage-provider-header,.dev-usage-provider-title,.dev-usage-section-label{justify-content:space-between;align-items:center;gap:10px;display:flex}.dev-usage-provider-title{justify-content:flex-start;min-width:0}.dev-usage-provider-title>div{min-width:0}.dev-usage-provider-title h3,.dev-usage-provider-title p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dev-usage-provider-title h3{color:var(--ink);font-size:1.05rem}.dev-usage-provider-title p{color:var(--muted);margin:3px 0 0;font-size:.72rem;font-weight:700}.dev-usage-provider-icon{background:var(--usage-accent-soft);width:38px;height:38px;color:var(--usage-accent);border-radius:9px;flex:none;place-items:center;display:grid}.dev-usage-status{flex:none;align-items:center;gap:4px;font-size:.66rem;display:inline-flex}.dev-usage-status.ready{color:#0d6754;background:#eaf6f1;border-color:#167a6659}.dev-usage-status.not_configured,.dev-usage-status.unavailable{color:#80510d;background:#fff6df;border-color:#9b671859}.dev-usage-status.error{color:#8e302b;background:#fff0ee;border-color:#9d373159}.dev-usage-cost{border-bottom:1px solid var(--line);gap:3px;padding-bottom:14px;display:grid}.dev-usage-cost span,.dev-usage-section-label,.dev-usage-metrics small{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:.7rem;font-weight:850}.dev-usage-cost strong{color:var(--ink);font-size:clamp(1.75rem,3.2vw,2.4rem);line-height:1}.dev-usage-provider-message{border:1px solid var(--line);background:var(--field);color:var(--muted);border-radius:7px;align-items:start;gap:7px;margin:0;padding:9px 10px;font-size:.76rem;line-height:1.4;display:flex}.dev-usage-provider-message svg{flex:none;margin-top:1px}.dev-usage-provider-message.error{color:#7e2d28;background:#fff4f2;border-color:#9d373142}.dev-usage-provider-message.unavailable{color:#70480f;background:#fff9ea;border-color:#9b671842}.dev-usage-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.dev-usage-metrics>span{border:1px solid var(--line);background:var(--field);border-radius:7px;gap:3px;min-width:0;padding:9px 10px;display:grid}.dev-usage-metrics strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.dev-usage-metrics small{text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;overflow:hidden}.dev-usage-trend,.dev-usage-breakdown{gap:8px;display:grid}.dev-usage-section-label strong,.dev-usage-section-label small{color:var(--ink);letter-spacing:0;text-transform:none;font-size:.72rem}.dev-usage-bars{border-bottom:1px solid var(--line);background:linear-gradient(0deg,#4e665c0f 1px,#0000 1px) 0 0/100% 50%;align-items:end;gap:2px;height:70px;padding:4px 2px 0;display:flex}.dev-usage-bar{background:var(--usage-accent);opacity:.72;border-radius:2px 2px 0 0;flex:1;min-width:2px}.dev-usage-bar:hover{opacity:1}.dev-usage-axis{color:var(--muted);justify-content:space-between;font-size:.66rem;font-weight:700;display:flex}.dev-usage-breakdown-list{border-top:1px solid var(--line);max-height:225px;display:grid;overflow:auto}.dev-usage-breakdown-list>span{border-bottom:1px solid var(--line);min-width:0;color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:8px 2px;font-size:.74rem;display:flex}.dev-usage-breakdown-list>span>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dev-usage-breakdown-value{flex:none;justify-items:end;gap:1px;display:grid}.dev-usage-breakdown-value strong{color:var(--ink);font-size:.75rem}.dev-usage-breakdown-value small{color:var(--muted);font-size:.63rem}.dev-usage-empty,.dev-usage-setup-state{border:1px dashed var(--line);background:var(--field);color:var(--muted);border-radius:7px;margin:0;padding:14px;font-size:.76rem;line-height:1.45}.dev-usage-setup-state{text-align:center;flex:1;place-items:center;min-height:160px;display:grid}.dev-usage-provider-link{border-top:1px solid var(--line);color:var(--usage-accent);justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:12px;font-size:.76rem;font-weight:850;text-decoration:none;display:inline-flex}.dev-usage-provider-link:hover{text-decoration:underline}.dev-usage-provider-card.loading{border-top-color:var(--line);min-height:390px}.dev-usage-loading-line,.dev-usage-loading-metrics span{background:linear-gradient(90deg,var(--field) 20%,#fff 50%,var(--field) 80%);background-size:220% 100%;border-radius:6px;animation:1.25s ease-in-out infinite dev-usage-shimmer}.dev-usage-loading-line.wide{width:64%;height:36px}.dev-usage-loading-line.total{width:48%;height:48px;margin-top:12px}.dev-usage-loading-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.dev-usage-loading-metrics span{height:58px}.dev-prompt-usage{border:1px solid var(--line);min-width:0;box-shadow:var(--shadow);background:#fff;border-top:4px solid #167a66;border-radius:9px;gap:16px;padding:18px;display:grid}.dev-prompt-usage-header{justify-content:space-between;align-items:start;gap:18px;display:flex}.dev-prompt-usage-header h3{color:var(--ink);margin:0;font-size:1.2rem}.dev-prompt-usage-header p:not(.dev-usage-eyebrow){max-width:760px;color:var(--muted);margin:5px 0 0;font-size:.78rem;line-height:1.5}.dev-prompt-usage-range{border:1px solid var(--line);background:var(--field);color:var(--muted);border-radius:7px;flex:none;padding:8px 10px;font-size:.72rem;font-weight:800}.dev-prompt-usage-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.dev-prompt-usage-summary>span{border:1px solid var(--line);background:var(--field);color:var(--muted);letter-spacing:.03em;text-transform:uppercase;border-radius:7px;gap:3px;padding:10px 12px;font-size:.66rem;font-weight:800;display:grid}.dev-prompt-usage-summary strong{color:var(--ink);letter-spacing:0;font-size:1rem}.dev-prompt-usage-list{border:1px solid var(--line);border-radius:8px;display:grid;overflow:hidden}.dev-prompt-usage-row+.dev-prompt-usage-row{border-top:1px solid var(--line)}.dev-prompt-usage-row summary{cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;list-style:none;display:grid}.dev-prompt-usage-row summary::-webkit-details-marker{display:none}.dev-prompt-usage-row summary:hover,.dev-prompt-usage-row[open] summary{background:var(--field)}.dev-prompt-status{color:#0d6754;text-align:center;text-transform:uppercase;background:#eaf6f1;border:1px solid #167a6659;border-radius:999px;min-width:66px;padding:4px 7px;font-size:.62rem;font-weight:900}.dev-prompt-status.failed{color:#8e302b;background:#fff0ee;border-color:#9d373159}.dev-prompt-identity,.dev-prompt-measurement{gap:3px;min-width:0;display:grid}.dev-prompt-identity strong,.dev-prompt-measurement strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.dev-prompt-identity small,.dev-prompt-measurement small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;overflow:hidden}.dev-prompt-measurement{justify-items:end}.dev-prompt-usage-detail{border-top:1px solid var(--line);background:var(--field);gap:12px;padding:12px;display:grid}.dev-prompt-usage-detail dl{flex-wrap:wrap;gap:7px;margin:0;display:flex}.dev-prompt-usage-detail dl>div{border:1px solid var(--line);background:#fff;border-radius:5px;gap:5px;min-width:0;padding:5px 7px;font-size:.68rem;display:flex}.dev-prompt-usage-detail dt{color:var(--muted);font-weight:800}.dev-prompt-usage-detail dd{overflow-wrap:anywhere;min-width:0;color:var(--ink);margin:0}.dev-prompt-usage-detail pre{border:1px solid var(--line);max-height:360px;color:var(--ink);white-space:pre-wrap;background:#fff;border-radius:6px;margin:0;padding:12px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.7rem;line-height:1.5;overflow:auto}.dev-usage-refreshing{animation:.9s linear infinite dev-usage-spin}@keyframes dev-usage-shimmer{to{background-position:-220% 0}}@keyframes dev-usage-spin{to{transform:rotate(360deg)}}.dev-editor-grid{grid-template-columns:minmax(260px,340px) minmax(0,1fr);align-items:start;gap:18px;min-height:0;padding:0 clamp(18px,4vw,44px) 36px;display:grid}.dev-editor-grid.diagnostics{grid-template-columns:repeat(2,minmax(0,1fr))}.dev-spells-grid{padding-bottom:18px}.dev-browser-panel,.dev-editor-panel,.dev-loading-panel{border:1px solid var(--line);box-shadow:var(--shadow);background:#fff;border-radius:8px}.dev-browser-panel{grid-template-rows:auto minmax(0,1fr);align-self:start;gap:12px;height:min(720px,100vh - 112px);min-height:0;max-height:calc(100vh - 112px);padding:14px;display:grid;position:sticky;top:82px;overflow:hidden}.dev-browser-list{min-height:0}.dev-browser-list-content{gap:6px;padding-right:4px;display:grid}.dev-browser-row{text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:9px 10px;display:flex}.dev-browser-row:hover,.dev-browser-row.active{border-color:var(--line);background:var(--field)}.dev-browser-row span{gap:2px;min-width:0;display:grid}.dev-browser-row strong,.dev-browser-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dev-browser-row small,.dev-panel-heading p{color:var(--muted);font-size:.78rem}.dev-editor-panel{gap:16px;min-width:0;padding:18px;display:grid}.dev-forms-panel,.dev-wikidot-import-panel{margin:0 clamp(18px,4vw,44px) 36px}.dev-wikidot-import-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:start;gap:12px;display:grid}.dev-import-preview{border:1px solid var(--line);background:var(--field);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;min-height:302px;padding:12px;display:grid}.dev-import-preview span{min-width:0;color:var(--muted);gap:2px;font-size:.76rem;font-weight:800;display:grid}.dev-import-preview strong{overflow-wrap:anywhere;color:var(--ink);font-size:.92rem}.dev-import-preview p{max-height:190px;color:var(--muted);white-space:pre-wrap;grid-column:1/-1;margin:0;line-height:1.5;overflow:auto}.dev-form-section{border-bottom:1px solid var(--line);gap:14px;padding-bottom:18px;display:grid}.dev-form-section:last-of-type{border-bottom:0;padding-bottom:0}.dev-panel-heading{justify-content:space-between;align-items:start;gap:14px;display:flex}.dev-panel-heading h2{margin:0;font-size:1.2rem}.dev-panel-heading p{margin:4px 0 0}.dev-form-grid{gap:12px;display:grid}.dev-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.dev-form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.dev-checkbox-field{border:1px solid var(--line);background:var(--field);border-radius:8px;justify-content:center;min-height:42px;padding:8px 10px}.dev-editor-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dev-diagnostics-list{grid-template-columns:130px minmax(0,1fr);align-items:center;gap:10px 14px;display:grid}.dev-diagnostics-list span{color:var(--muted);font-size:.8rem;font-weight:800}.dev-diagnostics-list strong,.dev-diagnostics-list code{overflow-wrap:anywhere;min-width:0}.dev-ai-invite-list{gap:10px;display:grid}.dev-ai-invite-row{border:1px solid var(--line);background:var(--field);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.dev-ai-invite-row div{gap:3px;min-width:0;display:grid}.dev-ai-invite-row strong,.dev-ai-invite-row code,.dev-ai-invite-row small{overflow-wrap:anywhere;min-width:0}.dev-ai-invite-row small{color:var(--muted);font-size:.76rem;font-weight:800}.dev-ai-access-grid{gap:18px;padding-bottom:36px;display:grid}.dev-ai-access-grid .dev-ai-top-grid{padding-bottom:0}.dev-email-lookup{border:1px solid var(--line);background:var(--field);border-radius:8px;gap:4px;padding:10px 12px;display:grid}.dev-email-lookup span,.dev-email-lookup code{color:var(--muted);font-size:.76rem;font-weight:800}.dev-email-lookup strong,.dev-email-lookup code{overflow-wrap:anywhere;min-width:0}.dev-ai-users-panel{margin:0 clamp(18px,4vw,44px)}.dev-ai-user-list{gap:10px;display:grid}.dev-ai-user-row{border:1px solid var(--line);background:var(--field);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px;display:grid}.dev-ai-user-row>div:first-child{gap:3px;min-width:0;display:grid}.dev-ai-user-row strong,.dev-ai-user-row code,.dev-ai-user-row small{overflow-wrap:anywhere;min-width:0}.dev-ai-user-row small{color:var(--muted);font-size:.76rem;font-weight:800}.dev-ai-user-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.dev-loading-panel{place-items:center;gap:8px;width:min(420px,100vw - 36px);margin:80px auto;padding:34px;display:grid}.module-choice-icon.dev{color:#3e63b7;background:#eef2ff}@media(max-width:980px){.dev-console-header{flex-direction:column;align-items:stretch}.dev-header-stats,.dev-snapshot-summary{justify-content:stretch}.dev-header-stats span,.dev-snapshot-summary span{flex:1;min-width:min(160px,100%)}.dev-editor-grid,.dev-editor-grid.diagnostics{grid-template-columns:1fr}.dev-usage-toolbar{flex-direction:column;align-items:stretch}.dev-usage-controls{justify-content:space-between}.dev-usage-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dev-browser-panel{max-height:360px;position:static}.dev-form-grid.two,.dev-form-grid.four,.dev-ai-user-row{grid-template-columns:1fr}.dev-ai-user-actions{justify-content:flex-start}.dev-wikidot-import-grid{grid-template-columns:1fr}}@media(max-width:680px){.dev-usage-summary,.dev-usage-provider-grid{grid-template-columns:1fr}.dev-usage-controls,.dev-usage-period-picker{width:100%}.dev-usage-period-picker button{flex:1}.dev-usage-controls>[data-slot=button]{width:100%}.dev-usage-provider-card{min-height:auto}.dev-prompt-usage-header{flex-direction:column}.dev-prompt-usage-range{width:100%}.dev-prompt-usage-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dev-prompt-usage-row summary{grid-template-columns:auto minmax(0,1fr)}.dev-prompt-measurement{grid-column:2;justify-items:start}}:root{color-scheme:light;--ink:#1f2523;--muted:#66716d;--line:#d6ddd9;--panel:#fff;--field:#f7f9f7;--paper:#fbfcfa;--green:#2f6f5e;--green-dark:#245646;--red:#a94737;--blue:#3e63b7;--amber:#b7791f;--shadow:0 12px 34px #1d28241a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}html,body,#root{min-height:100%}body{color:var(--ink);background:linear-gradient(#f6f8f5,#eef2f0);margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(240px,280px) minmax(420px,1fr) minmax(320px,420px);height:100vh;min-height:100vh;display:grid;overflow:hidden}.topbar{border-bottom:1px solid var(--line);z-index:4;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffdb;grid-column:1/-1;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex;position:sticky;top:0}.brand-lockup,.topbar-actions,.spell-actions,.button-row,.detail-actions{align-items:center;gap:8px;display:flex}.detail-actions{flex-wrap:wrap;justify-content:flex-end}.brand-mark{color:#fff;background:linear-gradient(135deg,var(--green),var(--blue));width:42px;height:42px;box-shadow:var(--shadow);border-radius:8px;flex:none;place-items:center;display:grid}h1,h2,p{margin:0}h1{font-size:1.25rem;line-height:1.2}h2{font-size:1.05rem;line-height:1.2}.topbar p,.browser-toolbar p,.detail-heading p{color:var(--muted);font-size:.84rem}.control-panel,.detail-panel{background:var(--paper);border-right:1px solid var(--line);grid-row:2;min-height:0;padding:14px;overflow:auto}.control-panel{grid-column:1}.detail-panel{border-right:0;border-left:1px solid var(--line);grid-column:3}.panel-section,.selected-spell,.custom-editor{background:var(--panel);border:1px solid var(--line);border-radius:8px;margin-bottom:14px;padding:14px;box-shadow:0 4px 18px #1f25230d}.custom-editor-backdrop{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f25236b;place-items:start center;padding:clamp(16px,5vh,48px) 16px;display:grid;position:fixed;inset:0;overflow:auto}.custom-editor-backdrop .custom-editor{width:min(720px,100%);max-height:calc(100vh - clamp(32px,10vh,96px));margin-bottom:0;overflow:auto;box-shadow:0 24px 80px #151c1947}.app-sheet-backdrop{z-index:34;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f25236b;justify-content:flex-end;display:flex;position:fixed;inset:0;overflow:hidden}.app-sheet{background:#fffffffa;border:0;border-left:1px solid #cfd9d4f5;border-radius:0;width:min(680px,100%);height:100dvh;min-height:100vh;padding:16px;overflow:auto;box-shadow:-24px 0 80px #151c1942}.spell-editor-sheet,.item-entry-sheet{width:min(760px,100%)}.sheet-form{gap:10px;display:grid}.character-start-form{align-content:start;width:min(440px,100%);margin-inline:auto}.sheet-header,.sheet-footer{z-index:2;background:inherit;justify-content:space-between;align-items:center;gap:10px;display:flex;position:sticky}.sheet-header{border-bottom:1px solid #cfd9d4b8;margin:-2px 0 12px;padding:2px 0 12px;top:0}.sheet-header h2{margin-top:4px}.sheet-footer{border-top:1px solid #cfd9d4b8;justify-content:flex-end;margin-top:4px;padding-top:12px;bottom:0}.character-editor-sheet{width:min(620px,100%)}.character-start-modal{border:1px solid #cfd9d4f5;border-radius:8px;width:min(480px,100vw - 32px);height:auto;min-height:0;max-height:calc(100dvh - 32px);padding:18px;inset:50% auto auto 50%;overflow:auto;box-shadow:0 28px 80px #151c194d}.character-start-modal[data-state=open]{opacity:1;transform:translate(-50%,-50%)scale(1)}.character-start-modal[data-state=closed]{opacity:0;transform:translate(-50%,-48%)scale(.98)}.character-start-modal .sheet-header,.character-start-modal .sheet-footer{background:0 0;position:static}.character-start-modal .sheet-header{margin:0 0 14px;padding:0 0 12px}.character-start-modal .sheet-footer{margin-top:4px;padding-top:14px}.character-start-modal .character-start-form{width:100%}.item-detail-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.item-detail-header>div,.item-detail-facts{gap:6px;display:grid}.item-detail-header strong{color:var(--ink);font-size:1.05rem}.item-detail-header span,.item-detail-description.muted{color:var(--muted)}.item-detail-hero{gap:12px;margin-bottom:16px;display:grid}.item-detail-image{border:1px solid var(--line);background:var(--field);min-height:220px;color:var(--muted);border-radius:8px;place-items:center;display:grid;overflow:hidden}.item-detail-image img{object-fit:cover;width:100%;height:100%;max-height:320px}.item-detail-section{gap:8px;margin-top:16px;display:grid}.item-detail-section .section-title{margin-bottom:0}.item-detail-description{color:var(--ink);white-space:pre-wrap;line-height:1.45}.item-detail-links{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.section-title{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin-bottom:12px;font-weight:750;display:flex}label{color:#3c4743;gap:6px;margin-bottom:10px;font-size:.79rem;font-weight:700;display:grid}.field-hint{color:#687873;font-size:.69rem;font-weight:750;line-height:1.25}.field-hint.warning{color:#8b5e14}.required-label{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.required-label>span{min-width:0}.required-label>strong{color:#814022;background:#fff3df;border:1px solid #8140223d;border-radius:999px;flex:none;padding:2px 7px;font-size:.64rem;font-weight:900;line-height:1.1}input,select,textarea{border:1px solid var(--line);background:var(--field);width:100%;min-height:38px;color:var(--ink);border-radius:6px;outline:none;padding:8px 10px}textarea{resize:vertical;min-height:88px;line-height:1.35}.split-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;display:grid}.search-field span{display:block;position:relative}.search-field svg{color:var(--muted);position:absolute;top:10px;left:10px}.search-field input{padding-left:34px}.toggle-row{color:var(--ink);align-items:center;gap:9px;margin-bottom:10px;font-size:.86rem;display:flex}.toggle-row input{width:17px;height:17px;min-height:0;accent-color:var(--green)}.toggle-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.prep-meter,.print-fit{min-height:38px;color:var(--green-dark);background:#edf7f1;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:.88rem;display:flex}.prep-meter+.prep-meter{margin-top:8px}.always-prepared-meter{color:#7a4b08;background:#fff8eb}.prep-meter.warning,.print-fit.warning{color:#7a4b08;background:#fff5e4}.print-fit.good{background:#edf7f1}.icon-button,.state-button,.command-button,.primary-button{border:1px solid var(--line);min-height:38px;color:var(--ink);white-space:nowrap;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 11px;font-weight:750;display:inline-flex}.icon-button,.state-button{width:38px;padding:0}.primary-button{background:var(--green);border-color:var(--green);color:#fff}.primary-button:hover{background:var(--green-dark)}.command-button:hover,.icon-button:hover,.state-button:hover{border-color:var(--green);color:var(--green-dark)}.command-button:disabled,.icon-button:disabled,.primary-button:disabled,.state-button:disabled{cursor:default;opacity:.72}.state-button.active.prepared:disabled{opacity:1}.icon-button.danger:hover{border-color:var(--red);color:var(--red)}.full-width{width:100%}.auth-shell,.campaign-gate{place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel,.campaign-gate-panel{background:var(--panel);border:1px solid var(--line);width:min(440px,100%);box-shadow:var(--shadow);border-radius:8px;padding:22px}.campaign-gate-panel{width:min(760px,100%)}.auth-panel.compact{width:min(360px,100%)}.auth-recovery{border-top:1px solid var(--line);gap:12px;padding-top:16px;display:grid}.auth-recovery-message{color:var(--muted);align-items:flex-start;gap:8px;margin:0;font-size:.9rem;line-height:1.45;display:flex}.auth-recovery-message svg{flex:none;margin-top:2px}.auth-recovery-actions{flex-wrap:wrap;gap:8px;display:flex}.auth-recovery-actions>*{flex:auto}.auth-mark{color:#fff;background:linear-gradient(135deg,var(--green),var(--blue));width:52px;height:52px;box-shadow:var(--shadow);border-radius:8px;place-items:center;margin-bottom:14px;display:grid}.auth-heading,.campaign-gate-heading{gap:6px;margin-bottom:16px;display:grid}.campaign-gate-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.campaign-gate-signout{align-self:start}.auth-heading p,.campaign-gate-heading p,.campaign-notice,.auth-message,.readonly-notice p{color:var(--muted);font-size:.88rem;line-height:1.45}.auth-tabs{border:1px solid var(--line);background:var(--field);border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:16px;padding:4px;display:grid}.auth-tabs button{color:#52615c;background:0 0;border:0;border-radius:6px;min-height:34px;font-weight:800}.auth-tabs button:hover{color:var(--green-dark);background:#ffffff8f}.auth-tabs button.active{background:var(--panel);color:var(--green-dark);box-shadow:0 2px 10px #1f252314}.auth-tabs button:focus-visible{box-shadow:0 0 0 3px #2f6f5e29}.auth-actions,.auth-form,.campaign-action-panel{gap:10px;display:grid}.campaign-gate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.campaign-action-panel{border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:14px}.campaign-header-slot{flex:auto;justify-self:start;width:auto;min-width:0}.campaign-header{grid-template-columns:max-content;justify-content:start;align-items:center;gap:8px;min-width:0;display:grid;position:relative}.campaign-context-notice{color:#fff4e8;background:#5f2414eb;border:1px solid #c060417a;border-radius:7px;grid-column:1/-1;padding:6px 8px;font-size:.72rem;line-height:1.25}.campaign-selector,.campaign-tools,.campaign-popover-header,.campaign-invite-actions,.campaign-member-row,.campaign-form-grid,.sheet-action-buttons{align-items:center;gap:8px;display:flex}.campaign-selector{align-items:center;gap:0;min-width:0;display:flex}.campaign-selector label{gap:6px;min-width:0;margin:0;line-height:1}.campaign-tools{flex-wrap:nowrap;flex:none;justify-content:flex-end;gap:6px;min-width:0}.campaign-tool-group{align-items:center;gap:8px;min-width:0;display:inline-flex}.campaign-menu-actions{gap:8px}.role-pill{color:#52605b;white-space:nowrap;background:#f5f7f6;border:1px solid #cbd5d1;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:3px 10px;font-size:.76rem;font-weight:850;display:inline-flex}.role-pill.admin,.role-pill.dungeon-master{color:var(--green-dark);background:#edf7f1;border-color:#cfe1d5;gap:5px}.role-pill.founder{color:#2d2616;background:linear-gradient(#fffdf8,#fffdf8) padding-box padding-box,linear-gradient(120deg,#ff4d8d,#ff9f1c,#f9e64f,#32d583,#2f80ed,#9b5cff) border-box;border-color:#ffd263e6;gap:5px;box-shadow:inset 0 0 0 1px #ffffffb8,0 8px 20px #ff9f1c2e}.campaign-popover{z-index:20;border:1px solid var(--line);background:var(--panel);border-radius:8px;width:min(520px,100vw - 28px);max-height:min(520px,100vh - 92px);padding:14px;position:absolute;top:calc(100% + 10px);left:0;overflow:auto;box-shadow:0 24px 70px #151c1933}.campaign-popover-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.campaign-popover-header div,.campaign-invite-copy,.campaign-member-copy{gap:2px;min-width:0;display:grid}.campaign-popover-header span,.campaign-invite-copy span,.campaign-member-copy>span{color:var(--muted);font-size:.78rem}.campaign-popover-heading{gap:3px}.campaign-popover-heading>strong{font-size:1.08rem;line-height:1.2}.campaign-popover-eyebrow{color:var(--green-dark);letter-spacing:.08em;text-transform:uppercase;align-items:center;gap:5px;font-size:.7rem;font-weight:850;line-height:1;display:inline-flex}.campaign-party-count{min-width:44px;min-height:32px;color:var(--green-dark);background:#e8f4eedb;border:1px solid #2f6f5e33;border-radius:999px;flex:none;justify-content:center;align-items:center;gap:5px;font-size:.82rem;font-weight:900;display:inline-flex}.campaign-invite-panel{background:#f8faf9d6;border:1px solid #cfd9d4d1;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px;padding:10px;display:grid}.campaign-picture-panel{background:#f8faf9d6;border:1px solid #cfd9d4d1;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:12px;padding:10px;display:grid}.campaign-picture-preview{background:#f5ead0;border:1px solid #9b8a5c6b;border-radius:8px;width:52px;height:52px;display:block;overflow:hidden}.campaign-picture-preview img{object-fit:cover;width:100%;height:100%;display:block}.campaign-picture-copy{gap:2px;min-width:0;display:grid}.campaign-picture-copy strong,.campaign-picture-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.campaign-picture-actions{justify-content:flex-end;gap:8px;display:flex}.campaign-invite-copy strong{color:var(--ink);overflow-wrap:anywhere;font-size:.96rem;font-weight:850}.campaign-invite-actions{flex-wrap:wrap;justify-content:flex-end}.campaign-member-list{gap:9px;max-height:min(360px,48vh);margin-bottom:12px;display:grid;overflow:auto}.campaign-history-popover{width:min(660px,100vw - 28px)}.campaign-history-list{gap:8px;max-height:min(440px,54vh);margin-bottom:12px;display:grid;overflow:auto}.campaign-history-row{border:1px solid var(--line);background:linear-gradient(180deg,#fff 0%,var(--paper) 100%);border-radius:8px;gap:8px;padding:12px;display:grid;box-shadow:0 2px 10px #1f25230a}.campaign-history-row.spell-event{border-left:3px solid #2f6f5e7a;padding-left:11px}.campaign-history-main{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px 16px;display:grid}.campaign-history-copy{gap:3px;min-width:0;display:grid}.campaign-history-main strong{min-width:0;color:var(--ink);overflow-wrap:anywhere;font-size:.95rem;font-weight:780;line-height:1.25}.campaign-history-main time,.campaign-history-meta,.campaign-history-actor{color:var(--muted);font-size:.78rem}.campaign-history-meta{overflow-wrap:anywhere;line-height:1.35}.campaign-history-main time{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;padding-top:1px;display:block}.campaign-history-row ul{color:#52605b;gap:4px;margin:0;padding:0;font-size:.82rem;list-style:none;display:grid}.campaign-history-row li{padding-left:14px;position:relative}.campaign-history-row li:before{content:"";background:#2f6f5e73;border-radius:999px;width:5px;height:5px;position:absolute;top:.62em;left:0}.campaign-member-row{align-items:center;justify-content:initial;background:linear-gradient(145deg,#fff,#f7faf8);border:1px solid #c7d3cdeb;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:11px 12px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid;box-shadow:0 3px 12px #1f322b0e}.campaign-member-row:hover{border-color:#2f6f5e57;transform:translateY(-1px);box-shadow:0 7px 20px #1f322b17}.campaign-member-identity{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;min-width:0;display:grid}.campaign-member-avatar{width:46px;height:46px;color:var(--green-dark);background:linear-gradient(145deg,#dceee5,#f4eee0);border:2px solid #fffffff5;border-radius:14px;flex:none;place-items:center;font-size:1rem;font-weight:900;line-height:1;display:inline-grid;position:relative;box-shadow:0 0 0 1px #2f6f5e2e,0 5px 14px #1f322b24}.campaign-member-avatar-image{border-radius:inherit;place-items:center;width:100%;height:100%;display:grid;overflow:hidden}.campaign-member-avatar-image img{object-fit:cover;width:100%;height:100%;display:block}.campaign-member-avatar-image.character-art img{object-fit:contain;object-position:center}.campaign-member-role-mark{color:#fff;background:#66736e;border:2px solid #fff;border-radius:999px;place-items:center;width:20px;height:20px;display:grid;position:absolute;bottom:-5px;right:-5px;box-shadow:0 2px 6px #18242033}.campaign-member-role-mark.dungeon-master{background:var(--green-dark)}.campaign-member-copy{gap:4px}.campaign-member-name-row,.campaign-member-character{align-items:center;min-width:0;display:flex}.campaign-member-name-row{gap:7px}.campaign-member-name-row strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.campaign-self-pill{min-height:19px;color:var(--green-dark);letter-spacing:.03em;text-transform:uppercase;background:#e8f4ee;border-radius:999px;flex:none;align-items:center;padding:1px 7px;font-size:.66rem;font-weight:900;display:inline-flex}.campaign-member-character{color:#495751;gap:5px;font-size:.76rem;line-height:1.3}.campaign-member-character svg{color:var(--green);flex:none}.campaign-member-character-name{color:#31423c;font-weight:800}.campaign-member-character-details{color:var(--muted)}.campaign-member-character-details:before{content:"•";margin-right:5px}.campaign-member-empty-character,.campaign-member-email{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.campaign-member-empty-character{color:#7a8581;font-style:italic}.campaign-member-email{color:#7a8581;font-size:.7rem}.campaign-member-row strong,.campaign-member-row span{overflow-wrap:anywhere}.campaign-member-row select{width:130px}.campaign-member-role-actions{flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;display:flex}.campaign-member-role-actions .role-pill{gap:5px;min-height:26px;padding:2px 9px;font-size:.7rem}.campaign-member-role-actions .command-button{height:28px;min-height:28px;padding:0 9px;font-size:.7rem}.campaign-form-grid{align-items:stretch;gap:12px}.campaign-form-grid form{flex:1 1 0;min-width:0}.campaign-popover-footer{border-top:1px solid #cfd9d4bd;margin-top:12px;padding-top:12px}.profile-menu{display:inline-flex;position:relative}.profile-button{max-width:158px;padding:0 10px}.profile-avatar{width:22px;height:22px;color:var(--green-dark);background:linear-gradient(#e8f4ee,#e8f4ee) padding-box padding-box,linear-gradient(#e8f4ee,#e8f4ee) border-box;border:1px solid #cfe1d5e6;border-radius:999px;flex:none;place-items:center;font-size:.72rem;font-weight:900;line-height:1;display:inline-grid;position:relative;overflow:hidden}.profile-avatar.founder{background:linear-gradient(#fffdf8,#fffdf8) padding-box padding-box,conic-gradient(from 25deg,#ff4d8d,#ff9f1c,#f9e64f,#32d583,#2f80ed,#9b5cff,#ff4d8d) border-box;border:2px solid #0000;box-shadow:0 0 0 2px #ffffffe0,0 0 16px #ffc44d7a}.profile-avatar img{border-radius:inherit;object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.profile-avatar.character-art img{object-fit:contain;object-position:center}.profile-avatar.large{width:42px;height:42px;font-size:1rem}.profile-avatar.large.character-art{border-radius:8px;width:42px;height:56px}.profile-button-label{text-overflow:ellipsis;min-width:0;overflow:hidden}.profile-popover{border:1px solid var(--line);background:var(--panel);border-radius:8px;grid-template-columns:minmax(0,1fr);gap:12px;width:min(380px,100vw - 28px);padding:14px;display:grid;box-shadow:0 24px 70px #151c1933}.profile-popover-header,.profile-role-row{align-items:center;gap:10px;display:flex}.profile-popover-header div{gap:2px;min-width:0;display:grid}.profile-popover-header strong,.profile-popover-header span{overflow-wrap:anywhere}.profile-popover-header span,.profile-role-row span:first-child{color:var(--muted);font-size:.78rem}.profile-role-row{background:#f8faf9d6;border:1px solid #cfd9d4c7;border-radius:8px;justify-content:space-between;padding:10px}.profile-primary-selector{grid-template-columns:minmax(0,1fr);min-width:0;margin-bottom:0}.profile-primary-selector select{min-width:0;max-width:100%}.profile-maintenance-actions,.spell-profile-controls{gap:8px;display:grid}.spell-profile-controls label{margin:0}.character-select-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.character-select-label{gap:5px;min-width:0}.character-save-button{align-self:end}.character-profile-summary{background:#f8faf9c7;border:1px solid #cfd9d4bd;border-radius:8px;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px;padding:10px;display:grid}.spell-character-portrait{border-radius:8px;width:52px;height:52px}.character-profile-copy{gap:3px;min-width:0;display:grid}.character-profile-copy strong{color:var(--ink);overflow-wrap:anywhere;font-size:.95rem}.character-profile-copy>small{color:#2f6f5e;letter-spacing:.08em;text-transform:uppercase;font-size:.64rem;font-weight:900}.character-profile-copy span{color:var(--muted);font-size:.8rem;font-weight:800}.sheet-action-buttons{flex-wrap:wrap;justify-content:flex-start}.spell-profile-controls .sheet-action-buttons{display:grid}.spell-profile-controls .command-button{justify-content:center;width:100%}.spellcasting-panel{gap:8px;display:grid}.subsection-title{color:var(--muted);text-transform:uppercase;font-size:.76rem;font-weight:900}.prep-meter-grid{gap:8px;display:grid}.prep-meter-grid .prep-meter+.prep-meter{margin-top:0}.spell-slot-strip{background:#f8faf9c2;border:1px solid #cfd9d4bd;border-radius:8px;gap:7px;padding:9px 10px;display:grid}.spell-slot-strip>span{color:var(--muted);font-size:.74rem;font-weight:900}.spell-slot-strip>div{flex-wrap:wrap;gap:5px;display:flex}.spell-slot-strip strong{min-width:40px;min-height:34px;color:var(--ink);background:#fff;border:1px solid #d7e4df;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:5px 8px;font-size:.78rem;font-weight:900;display:inline-flex}.spell-slot-strip small{color:var(--muted);font-size:.82rem;font-weight:900;line-height:1}.spell-slot-dots{flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:24px;display:inline-flex}.spell-slot-dots span{background:var(--green-dark);border-radius:999px;width:4px;height:4px}.battle-master-builder-panel{gap:.85rem;display:grid}.battle-master-rule-summary,.battle-master-resource-actions,.battle-master-dc-row,.battle-master-dice{flex-wrap:wrap;gap:.55rem;display:flex}.battle-master-dc-row>span{border:1px solid var(--border);background:var(--card);border-radius:.65rem;min-width:9rem;padding:.65rem .75rem}@supports (color:color-mix(in lab,red,red)){.battle-master-dc-row>span{background:color-mix(in srgb,var(--card) 88%,var(--accent))}}.battle-master-dc-row small,.battle-master-dc-row strong{display:block}.battle-master-dice span{border:1px solid var(--border);border-radius:50%;place-items:center;width:2.35rem;height:2.35rem;font-size:.72rem;font-weight:800;display:grid}.battle-master-dice .available{color:var(--primary-foreground);background:var(--primary);border-color:var(--primary)}.battle-master-dice .used{color:var(--muted-foreground);background:var(--muted);text-decoration:line-through}.battle-master-rule-note{color:var(--muted-foreground);margin:0;font-size:.82rem}.battle-master-maneuver-list,.battle-master-selected-list{max-height:none}@media(max-width:760px){.battle-master-resource-actions>button{flex:calc(50% - .55rem)}.battle-master-dc-row>span{flex:100%}}.compact-button{min-height:32px;padding:6px 10px}.campaign-notice,.auth-message{margin-top:12px}.spell-browser{grid-area:2/2;min-height:0;padding:16px;overflow:auto}.browser-toolbar{border-bottom:1px solid var(--line);gap:10px;margin-bottom:14px;padding-bottom:12px;display:grid}.browser-title{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;min-width:0;display:flex}.browser-title p{text-overflow:ellipsis;white-space:nowrap;line-height:1.35;overflow:hidden}.catalog-tools{grid-template-columns:minmax(0,1fr) max-content max-content;justify-content:stretch;align-items:center;gap:8px;min-width:0;display:grid}.toolbar-search{width:100%;min-width:0;margin-bottom:0}.filter-dropdown{flex:none;position:relative}.new-spell-dropdown{flex-direction:column;flex:none;align-items:stretch;display:inline-flex;position:relative}.new-spell-dropdown>.command-button{width:100%}.filter-count{background:var(--green);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;line-height:1;display:inline-grid}.chevron-open{transform:rotate(180deg)}.filter-menu{z-index:6;border:1px solid var(--line);width:min(340px,100vw - 32px);box-shadow:var(--shadow);background:#fffffffa;border-radius:8px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.new-spell-menu{z-index:7;border:1px solid var(--line);width:min(340px,100vw - 32px);box-shadow:var(--shadow);background:#fffffffa;border-radius:8px;gap:10px;padding:12px;display:grid;position:absolute;top:calc(100% + 8px);right:0}.new-spell-menu .section-title{margin-bottom:0}.new-spell-menu-divider{background:var(--line);height:1px}.filter-menu-header{color:var(--ink);justify-content:space-between;align-items:center;gap:10px;font-size:.86rem;font-weight:800;display:flex}.filter-reset-button{height:32px;min-height:32px;padding:5px 10px;font-size:.76rem}.filter-mini-button{height:30px;min-height:30px;padding:5px 9px;font-size:.75rem}.filter-checklist{gap:8px;min-width:0;display:grid}.filter-checklist-header,.filter-checklist-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.filter-checklist-header{color:var(--ink);font-size:.84rem;font-weight:850}.filter-checklist-header span:last-child{color:var(--muted);font-size:.74rem;font-weight:800}.filter-checklist-actions{justify-content:flex-start}.filter-checklist-options{background:#f7f9f7b8;border:1px solid #cfd9d4f0;border-radius:8px;gap:2px;max-height:220px;padding:4px;display:grid;overflow:auto}.filter-checkbox-item{color:#22342f;cursor:pointer;border-radius:6px;min-height:32px;font-weight:750}.filter-checkbox-item[data-highlighted]{color:#214e40;background:#edf7f1}.filter-empty-note{color:var(--muted);padding:8px;font-size:.78rem;font-weight:750}.filter-toggle-list{gap:8px;display:grid}.filter-toggle-list .toggle-row{margin-bottom:0}.filter-sheet{width:min(760px,100%);padding:0;overflow:hidden}.filter-sheet-header{border-bottom:1px solid #9b8a5c52;flex:none;justify-content:space-between;align-items:start;gap:12px;padding:18px 18px 14px;display:flex}.filter-sheet-header [data-slot=sheet-title]{color:var(--ink);letter-spacing:0;font-size:1.18rem;font-weight:900}.filter-sheet-body{flex:auto;gap:14px;min-height:0;padding:16px 18px 18px;display:grid;overflow:auto}.filter-sheet-footer{border-top:1px solid #9b8a5c52;flex:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px 18px 18px;display:grid}.filter-sheet-footer .command-button,.filter-sheet-footer .primary-button{width:100%}.character-print-options-sheet{width:min(720px,100%);color:var(--ink);gap:0;padding:0;overflow:hidden}.character-print-options-header{background:linear-gradient(135deg,#edf7f1fa,#fffcf3fa),#fff;border-bottom:1px solid #9b8a5c52;flex:none;gap:6px;padding:22px 82px 18px 20px;display:grid;position:relative}.character-print-options-header [data-slot=sheet-title]{color:var(--ink);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.28rem,2.5vw,1.62rem);font-weight:900}.character-print-options-header [data-slot=sheet-description]{max-width:560px;color:var(--muted);line-height:1.45}.character-print-options-kicker{color:var(--green-dark);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:6px;font-size:.7rem;font-weight:900;display:inline-flex}.character-print-close{position:absolute;top:16px;right:16px}.character-print-options-body{flex:auto;align-content:start;gap:18px;min-height:0;padding:18px 20px 24px;display:grid;overflow:auto}.character-print-preset-fieldset{border:0;gap:10px;min-width:0;margin:0;padding:0;display:grid}.character-print-preset-fieldset legend{color:var(--ink);margin-bottom:10px;font-size:.8rem;font-weight:900}.character-print-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.character-print-preset{cursor:pointer;background:#ffffffdb;border:1px solid #9b8a5c5c;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;min-width:0;min-height:128px;padding:14px;transition:border-color .14s,box-shadow .14s,transform .14s;display:grid;position:relative}.character-print-preset:hover{border-color:#2f6f5e85;transform:translateY(-1px)}.character-print-preset.active{background:#edf7f1;border-color:#2f6f5eb3;box-shadow:0 0 0 2px #2f6f5e1f}.character-print-preset input{opacity:0;pointer-events:none;position:absolute}.character-print-preset>svg{color:var(--green)}.character-print-preset span{gap:6px;min-width:0;display:grid}.character-print-preset strong{font-size:.84rem;line-height:1.25}.character-print-preset small{color:var(--muted);font-size:.72rem;line-height:1.42}.character-print-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.character-print-option-grid label{color:var(--ink);gap:7px;font-size:.78rem;font-weight:850;display:grid}.character-print-toggles{gap:8px;display:grid}.character-print-toggles .toggle-row{background:#fafbfaf0;border:1px solid #cfd9d4eb;align-items:start;min-height:62px;margin:0;padding:11px 12px}.character-print-toggles .toggle-row:has(input:checked){background:#edf7f1bd;border-color:#2f6f5e75}.character-print-toggles .toggle-row.disabled{opacity:.58}.character-print-toggles .toggle-row>span{gap:3px;display:grid}.character-print-toggles .toggle-row strong{color:var(--ink);font-size:.82rem}.character-print-toggles .toggle-row small{color:var(--muted);font-size:.72rem;line-height:1.35}.character-print-summary{background:#fffaf0;border:1px solid #9b8a5c52;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.character-print-summary>span{text-align:center;gap:3px;padding:11px 12px;display:grid}.character-print-summary>span+span{border-left:1px solid #9b8a5c4d}.character-print-summary small{color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:800}.character-print-summary strong{color:var(--green-dark);font-size:.95rem}.character-print-notice{color:var(--green-dark);background:#edf7f1;border-radius:8px;align-items:center;gap:7px;margin:0;padding:9px 11px;font-size:.78rem;font-weight:750;display:flex}.character-print-notice.loading{color:#735315;background:#fff8e8}.character-print-options-footer{padding:14px 20px max(18px,env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid #9b8a5c52;flex:none;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:10px;margin:0;display:grid}.character-print-options-footer button{width:100%}.character-print-spinner{animation:.8s linear infinite spin}.filter-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.filter-stat-card{background:linear-gradient(#ffffffb8,#f6f1de9e),#fffdf3db;border:1px solid #9b8a5c57;border-radius:8px;gap:4px;min-width:0;min-height:68px;padding:10px;display:grid}.filter-stat-card span{color:var(--muted);letter-spacing:0;text-transform:uppercase;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:900;overflow:hidden}.filter-stat-card strong{overflow-wrap:anywhere;color:var(--ink);font-size:1rem;font-weight:950;line-height:1.15}.filter-section{background:#fffdf3c2;border:1px solid #9b8a5c57;border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid}.filter-section-heading{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.filter-section-heading h3{min-width:0;color:var(--ink);letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:900;overflow:hidden}.filter-section-heading>span{color:var(--muted);font-size:.75rem;font-weight:850}.filter-preset-grid{grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:8px;display:grid}.filter-preset-button{color:#2d3935;white-space:normal;background:#ffffffa8;border-color:#9b8a5c61;justify-content:flex-start;min-width:0;min-height:38px;padding-inline:10px}.filter-preset-button:hover{color:var(--green-dark);background:#edf7f1;border-color:#2f6f5e6b}.filter-choice-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:8px;min-width:0;display:grid}.filter-choice{color:#2d3935;cursor:pointer;background:#ffffff9e;border:1px solid #9b8a5c4d;border-radius:8px;align-items:center;gap:9px;min-width:0;min-height:38px;margin:0;padding:8px 10px;display:flex}.filter-choice input{width:17px;height:17px;min-height:0;accent-color:var(--green);box-shadow:none;border-radius:5px;flex:none;padding:0}.filter-choice span{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.82rem;font-weight:850;overflow:hidden}.filter-choice:has(input:checked){color:var(--green-dark);background:#edf7f1;border-color:#2f6f5e6b}.filter-toggle-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;display:grid}.filter-toggle-grid .toggle-row{cursor:pointer;background:#ffffff9e;border:1px solid #9b8a5c4d;min-height:38px;margin:0;padding:8px 10px}.filter-toggle-grid .toggle-row:has(input:checked){color:var(--green-dark);background:#edf7f1;border-color:#2f6f5e6b}.filter-active-list{flex-wrap:wrap;gap:7px;min-width:0;display:flex}.command-button.active-filter{border-color:var(--green);color:var(--green-dark);background:#edf7f1}.spell-list{gap:8px;display:grid}.empty-list{background:var(--panel);border:1px dashed var(--line);min-height:62px;color:var(--muted);border-radius:8px;place-items:center;font-size:.9rem;display:grid}.spell-row{background:var(--panel);border:1px solid var(--line);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;min-height:62px;display:grid;overflow:hidden}.spell-row.active{border-color:var(--green);box-shadow:inset 4px 0 0 var(--green)}.spell-main{text-align:left;background:0 0;border:0;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:10px 12px;display:grid}.spell-main strong,.spell-main small{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.spell-main small{color:var(--muted);margin-top:3px}.spell-main>span:not(.level-chip){min-width:0}.spell-name-line{align-items:center;gap:7px;min-width:0;display:flex}.spell-name-line strong{flex:auto}.level-chip{width:34px;height:34px;color:var(--blue);background:#edf1fa;border-radius:6px;place-items:center;font-weight:850;display:grid}.spell-actions{justify-content:flex-end;padding:10px}.state-button.active{border-color:var(--green);color:var(--green-dark);background:#edf7f1}.state-button.prepared{border-color:var(--amber);color:#7a4b08;background:#fff5e4}.state-button.always-prepared,.icon-button.always-prepared{border-color:var(--amber);color:#7a4b08;background:#fff8eb}.detail-heading{justify-content:space-between;gap:10px;margin-bottom:14px;display:flex}.pill-row{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;display:flex}.source-pill{min-height:24px;color:var(--blue);background:#edf1fa;border-radius:999px;align-items:center;margin-bottom:8px;padding:4px 9px;font-size:.72rem;font-weight:800;display:inline-flex}.pill-row .source-pill{margin-bottom:0}.edited-pill{color:#7a4b08;text-transform:uppercase;white-space:nowrap;background:#fff8eb;border:1px solid #edd08e;border-radius:999px;align-items:center;min-height:22px;padding:3px 7px;font-size:.66rem;font-weight:850;line-height:1;display:inline-flex}.always-prepared-pill{color:#7a4b08;text-transform:uppercase;white-space:nowrap;background:#fff8eb;border:1px solid #e8c36f;border-radius:999px;align-items:center;min-height:22px;padding:3px 7px;font-size:.66rem;font-weight:850;line-height:1;display:inline-flex}.spell-tag-row,.tag-suggestions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.spell-tag-row{margin-top:8px}.spell-tag,.tag-toggle{color:#25385f;background:#f3f6fc;border:1px solid #cbd8ef;border-radius:999px;align-items:center;min-height:25px;padding:4px 8px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.tag-suggestions{margin:-2px 0 12px}.tag-toggle{background:#fff}.tag-toggle.active{border-color:var(--green);color:var(--green-dark);background:#edf7f1}.version-toggle{border:1px solid var(--line);background:#fff;border-radius:7px;min-height:38px;display:inline-flex;overflow:hidden}.version-toggle button{border:0;border-left:1px solid var(--line);min-width:72px;color:var(--muted);background:0 0;padding:0 10px;font-size:.78rem;font-weight:800}.version-toggle button:first-child{border-left:0}.version-toggle button.active{color:var(--green-dark);background:#edf7f1}.spell-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px;display:grid}.spell-facts div{border:1px solid var(--line);background:var(--field);border-radius:7px;min-height:58px;padding:8px}.spell-facts dt{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:800}.spell-facts dd{overflow-wrap:anywhere;margin:3px 0 0;font-weight:750}.material-line,.print-summary,.spell-description,.table-rule{white-space:pre-line;margin-top:10px;font-size:.9rem;line-height:1.42}.print-summary{border:1px solid #cbd8ef;border-left:3px solid var(--blue);color:#25385f;white-space:normal;background:#f3f6fc;border-radius:7px;gap:6px;width:100%;min-width:0;padding:8px 10px;display:grid}.summary-disclosure{gap:8px;min-width:0;margin-top:10px;display:grid}.summary-disclosure-button{color:#25385f;text-align:left;width:100%;min-height:40px;box-shadow:none;background:#fffc;border:1px solid #cbd8ef;border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 10px;display:grid}.summary-disclosure-button:hover,.summary-disclosure-button.open{color:#243a68;background:#f4f7fd;border-color:#3e63b770}.summary-disclosure-label{text-transform:uppercase;align-items:center;gap:7px;min-width:0;font-size:.78rem;font-weight:850;display:inline-flex}.summary-disclosure-meta{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;justify-self:end;font-size:.72rem;font-weight:800;overflow:hidden}.summary-disclosure-chevron{transition:transform .16s}.summary-disclosure-button.open .summary-disclosure-chevron{transform:rotate(180deg)}.summary-disclosure .print-summary{margin-top:0}.print-summary-heading{text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;font-size:.72rem;font-weight:850;display:flex}.print-summary-status{align-items:center;gap:6px;display:inline-flex}.summary-edit-button{width:26px;height:26px;color:inherit;background:#ffffffb8;border:1px solid #3e63b747;border-radius:6px;place-items:center;padding:0;display:grid}.summary-edit-button:hover{border-color:var(--blue);color:var(--blue)}.summary-view-toggle{background:#ffffffb8;border:1px solid #3e63b757;border-radius:6px;justify-self:start;width:max-content;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.summary-view-toggle button{min-width:58px;color:inherit;background:0 0;border:0;border-left:1px solid #3e63b72e;padding:0 9px;font-size:.72rem;font-weight:850}.summary-view-toggle button:hover{background:#3e63b714}.summary-view-toggle button:first-child{border-left:0}.summary-view-toggle button.active{background:var(--blue);color:#fff;box-shadow:inset 0 0 0 1px #ffffff52}.print-summary p{line-height:1.38}.summary-editor{width:min(560px,100%)}.summary-editor-field textarea{min-height:190px}.summary-char-count{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin:-4px 0 14px;font-size:.78rem;font-weight:750;display:flex}.summary-char-count.over{color:var(--red)}.summary-editor-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.summary-editor-save-actions{align-items:center;gap:8px;display:inline-flex}.material-line{color:#5e5140;border-left:3px solid var(--amber);background:#fff8eb;padding:8px 10px}.spell-description.muted{color:var(--muted)}.spell-metadata-section{border-top:1px solid var(--line);margin-top:12px;padding-top:10px}.spell-metadata-section h3{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:850}.spell-metadata-section p{margin-top:4px;font-size:.9rem;font-weight:750}.spell-metadata-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:8px;display:grid}.spell-metadata-group{background:#f8fbf7;border:1px solid #cfd9d4c7;border-radius:8px;min-width:0;padding:7px 8px}.spell-metadata-group span{color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:850;display:block}.spell-metadata-group p{overflow-wrap:anywhere}.table-rule{border-left:3px solid var(--red);color:#6c2e24;background:#fff0ed;padding:8px 10px;font-weight:700}.new-spell-menu textarea{min-height:92px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem}.import-actions{gap:8px;display:grid}.import-notice{color:var(--muted);margin-top:8px;font-size:.78rem;font-weight:750}.summary-actions{gap:8px;margin-top:10px;display:grid}.panel-summary-actions{margin:0 0 14px}.summary-notice{color:var(--muted);font-size:.78rem;font-weight:750}:root{--background:#f5f7f4;--foreground:#18231f;--card:#fff;--card-foreground:#18231f;--popover:#fff;--popover-foreground:#18231f;--primary:#2f6f5e;--primary-foreground:#fff;--secondary:#edf2ee;--secondary-foreground:#24342f;--muted-bg:#edf1ef;--muted-foreground:#64716d;--accent:#e8eef8;--accent-foreground:#243a68;--destructive:#b84a3a;--destructive-foreground:#fff;--border:#d8e0dc;--input:#cfd9d4;--ring:#2f6f5e;--radius:8px;--ink:var(--foreground);--muted:var(--muted-foreground);--line:var(--border);--panel:var(--card);--field:#fbfcfb;--paper:#f6f8f6d1;--green:var(--primary);--green-dark:#214e40;--red:var(--destructive);--blue:#355fa9;--amber:#b7791f;--shadow:0 16px 44px #18231f1a}body{color:var(--foreground);background:linear-gradient(135deg,#355fa914,#355fa900 42%),linear-gradient(#f8faf7,#eef3f0)}.app-shell{grid-template-columns:minmax(252px,300px) minmax(420px,1fr) minmax(340px,440px)}.topbar{background:#ffffffe6;border-bottom-color:#cfd9d4db;grid-template-columns:max-content minmax(0,1fr) max-content;align-items:center;gap:10px;min-height:56px;padding:8px 20px;display:grid;box-shadow:0 10px 30px #18231f0f}.brand-mark{border-radius:var(--radius);background:linear-gradient(145deg,#ffffff29,#0000 36%),linear-gradient(135deg,#2f6f5e,#355fa9);border:1px solid #ffffff80;width:38px;height:38px;box-shadow:0 14px 30px #2f6f5e38}.campaign-profile-picture{background:#f5ead0;border-color:#fff5d894;padding:0;overflow:hidden;box-shadow:0 10px 24px #0000003d,inset 0 0 0 1px #ffffff29}.campaign-profile-trigger{appearance:none;cursor:pointer}.campaign-profile-trigger:hover{border-color:#fff5d8d1;box-shadow:0 12px 28px #0000004d,0 0 0 3px #fff5d81f,inset 0 0 0 1px #ffffff2e}.campaign-profile-trigger:focus-visible{outline:none;box-shadow:0 0 0 3px #fff5d83d,0 10px 24px #0000003d,inset 0 0 0 1px #ffffff29}.campaign-profile-picture img{object-fit:cover;width:100%;height:100%;display:block}.campaign-profile-menu{background:linear-gradient(180deg,#302d22fa,#23221bfa),var(--dungeon-stone-dark);border-color:#f7efd93d;border-radius:14px;width:min(462px,100vw - 28px);padding:6px;box-shadow:0 18px 42px #00000057,inset 0 1px #ffffff14}.campaign-profile-switcher{border-bottom:1px solid #f7efd929;gap:6px;margin:0;padding:6px 6px 12px;display:grid}.campaign-profile-switcher>span{color:#f7efd9b8;letter-spacing:.04em;text-transform:uppercase;font-size:.68rem;font-weight:850}.campaign-profile-switcher select{color:#22342f;width:100%;min-width:0;height:40px;min-height:40px;box-shadow:none;background:#fcfaf2f7;border-color:#f7efd942;font-weight:800}.campaign-profile-actions{gap:6px;margin-top:6px;display:grid}.campaign-profile-actions .command-button{justify-content:flex-start;width:100%;min-height:40px}.campaign-restrictions-button{color:#f7efd9;text-align:left;background:#f7efd914;border-color:#f7efd933;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:52px;display:grid}.campaign-restrictions-button:hover{color:#fff9e9;background:#f7efd921;border-color:#f7efd957}.campaign-restrictions-button-icon{background:#0c383080;border:1px solid #f7efd92e;border-radius:8px;place-items:center;width:30px;height:30px;display:grid}.campaign-restrictions-button-copy{gap:1px;min-width:0;display:grid}.campaign-restrictions-button-copy strong{font-size:.82rem;font-weight:850;line-height:1.15}.campaign-restrictions-button-copy small{color:#f7efd9a3;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:650;overflow:hidden}.campaign-restrictions-button [data-slot=badge]{color:#f7efd9d1;background:#f7efd914;border-color:#f7efd93d}.campaign-action-modal-backdrop{z-index:70;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0e121075;place-items:start center;padding:clamp(54px,9vh,92px) 16px 16px;display:grid;position:fixed;inset:0;overflow:auto}.campaign-action-modal{background:var(--panel);width:min(560px,100%);max-height:calc(100vh - 72px);color:var(--ink);border:1px solid #cfd9d4e6;border-radius:8px;gap:14px;padding:16px;display:grid;overflow:auto;box-shadow:0 28px 80px #060a0852}.campaign-action-modal-header,.campaign-action-modal-footer{align-items:center;gap:10px;display:flex}.campaign-action-modal-header{justify-content:space-between}.campaign-action-modal-header>div{gap:2px;min-width:0;display:grid}.campaign-action-modal-header strong{color:var(--ink);font-size:1.05rem;font-weight:900;line-height:1.2}.campaign-action-modal-header span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:750;overflow:hidden}.campaign-action-form{gap:12px;display:grid}.campaign-restrictions-view{gap:14px;display:grid}.campaign-restrictions-summary{background:#235b4e12;border:1px solid #1a4a402e;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.campaign-restrictions-summary-icon{width:36px;height:36px;color:var(--teal);background:#235b4e1f;border-radius:8px;place-items:center;display:grid}.campaign-restrictions-summary>div{gap:2px;min-width:0;display:grid}.campaign-restrictions-summary strong{font-size:.84rem;font-weight:900}.campaign-restrictions-summary span{color:var(--muted);font-size:.72rem;font-weight:650;line-height:1.35}.campaign-restrictions-status{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:8px;margin:0;padding:26px 16px;font-size:.8rem;font-weight:750}.campaign-restrictions-empty{border:1px dashed var(--line);color:var(--teal);border-radius:8px;align-items:center;gap:12px;padding:18px;display:flex}.campaign-restrictions-empty>div{gap:3px;display:grid}.campaign-restrictions-empty strong{color:var(--ink);font-size:.84rem;font-weight:900}.campaign-restrictions-empty span{color:var(--muted);font-size:.74rem;font-weight:650;line-height:1.4}.campaign-restrictions-content{gap:12px;display:grid}.campaign-restriction-section{gap:8px;display:grid}.campaign-restriction-section-header,.campaign-restriction-section-header>div{align-items:center;gap:7px;display:flex}.campaign-restriction-section-header{justify-content:space-between}.campaign-restriction-section-header>div{color:var(--teal)}.campaign-restriction-section-header strong{color:var(--ink);letter-spacing:.02em;text-transform:uppercase;font-size:.76rem;font-weight:900}.campaign-restriction-section-copy{color:var(--muted);margin:-2px 0 1px;font-size:.7rem;font-weight:650;line-height:1.35}.campaign-restriction-source-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.campaign-restriction-source{border:1px solid var(--line);background:#ffffff6b;border-radius:7px;min-width:0;overflow:hidden}.campaign-restriction-source[open]{grid-column:1/-1}.campaign-restriction-source summary{cursor:pointer;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:2px 9px;min-height:54px;padding:8px 10px;list-style:none;display:grid}.campaign-restriction-source summary::-webkit-details-marker{display:none}.campaign-restriction-source summary:hover{background:#235b4e0d}.campaign-restriction-source summary strong{color:var(--teal);background:#235b4e1a;border-radius:5px;grid-area:1/1/span 2;align-self:center;padding:2px 5px;font-size:.68rem;font-weight:950}.campaign-restriction-source summary>span{min-width:0;color:var(--ink);overflow-wrap:break-word;grid-area:1/2;font-size:.7rem;font-weight:750;line-height:1.2}.campaign-restriction-source summary small{color:var(--muted);grid-area:2/2;font-size:.65rem;font-weight:800;line-height:1.2}.campaign-restriction-source summary svg{color:var(--teal);grid-area:1/3/span 2;align-self:center;transition:transform .15s}.campaign-restriction-source[open] summary svg{transform:rotate(180deg)}.campaign-restriction-source-contents{border-top:1px solid var(--line);background:#235b4e06;padding:8px}.campaign-restriction-source-contents>p{color:var(--muted);margin:0;padding:5px;font-size:.7rem;font-weight:700}.campaign-restriction-option-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.campaign-restriction-option-group{border:1px solid var(--line);background:#ffffff61;border-radius:7px;overflow:hidden}.campaign-restriction-option-group>div{border-bottom:1px solid var(--line);background:#235b4e0f;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.campaign-restriction-option-group>div strong{font-size:.72rem;font-weight:900}.campaign-restriction-option-group>div span{color:var(--muted);font-size:.68rem;font-weight:850}.campaign-restriction-option-group ul{gap:0;max-height:158px;margin:0;padding:3px 8px;list-style:none;display:grid;overflow:auto}.campaign-restriction-option-group li{color:var(--ink);overflow-wrap:anywhere;border-bottom:1px solid #235b4e14;padding:5px 0;font-size:.7rem;font-weight:700;line-height:1.25}.campaign-restriction-option-group li:last-child{border-bottom:0}.campaign-action-picture-panel,.campaign-action-invite-panel{margin-bottom:0}.campaign-action-picture-panel{grid-template-columns:auto minmax(0,1fr)}.campaign-action-picture-panel .campaign-picture-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:flex-start}.campaign-ownership-panel{border:1px solid var(--line);background:#f8faf994;border-radius:8px;overflow:hidden}.campaign-ownership-panel>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:10px;list-style:none;display:flex}.campaign-ownership-panel>summary::-webkit-details-marker{display:none}.campaign-ownership-panel>summary:hover{background:#235b4e0a}.campaign-ownership-panel>summary>span,.campaign-ownership-content,.campaign-ownership-actions,.campaign-ownership-actions label{display:grid}.campaign-ownership-panel>summary>span{gap:2px}.campaign-ownership-panel>summary strong{color:var(--ink);font-size:.78rem;font-weight:850}.campaign-ownership-panel>summary small,.campaign-ownership-content p,.campaign-ownership-status{color:var(--muted);font-size:.7rem;font-weight:650;line-height:1.4}.campaign-ownership-panel>summary svg{color:var(--muted);flex:none;transition:transform .15s}.campaign-ownership-panel[open]>summary svg{transform:rotate(180deg)}.campaign-ownership-content{border-top:1px solid var(--line);gap:10px;padding:10px}.campaign-ownership-content p{margin:0}.campaign-ownership-actions{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}.campaign-ownership-actions label{min-width:0;color:var(--ink);gap:5px;font-size:.72rem;font-weight:800}.campaign-action-modal-footer{justify-content:flex-end;padding-top:2px}@media(max-width:560px){.campaign-profile-menu{width:min(360px,100vw - 24px)}.campaign-action-modal-backdrop{padding:12px}.campaign-action-modal{width:100%;max-height:calc(100vh - 24px);padding:14px}.campaign-action-modal-footer{grid-template-columns:1fr;display:grid}.campaign-action-modal-footer .command-button,.campaign-action-modal-footer .primary-button{width:100%}.campaign-action-invite-panel{grid-template-columns:1fr}.campaign-action-invite-panel .campaign-invite-actions{justify-content:stretch}.campaign-ownership-actions{grid-template-columns:1fr}.campaign-ownership-actions .command-button{width:100%}.campaign-restrictions-summary{grid-template-columns:auto minmax(0,1fr)}.campaign-restrictions-summary>[data-slot=badge]{grid-column:2;justify-self:start}.campaign-restriction-source-grid,.campaign-restriction-option-groups{grid-template-columns:1fr}}h1{color:#111a17;letter-spacing:0;font-size:1.13rem;font-weight:850}h2{color:#14211d;letter-spacing:0;font-size:1.02rem;font-weight:850}.topbar p,.browser-toolbar p,.detail-heading p{color:var(--muted-foreground)}.topbar-actions{justify-content:flex-end;gap:8px;min-width:max-content}.control-panel,.detail-panel{background:#f5f8f6c2;border-color:#cfd9d4eb;padding:16px}.spell-browser{padding:18px}.panel-section,.selected-spell,.custom-editor{border-radius:var(--radius);background:#ffffffeb;border-color:#cfd9d4f0;box-shadow:0 8px 28px #18231f0f}.panel-section{padding:14px}.selected-spell{padding:16px}.section-title{color:#22342f;letter-spacing:0;font-size:.83rem;font-weight:850}.section-title svg{color:var(--primary)}label,[data-slot=label]{color:#33423e;letter-spacing:0;font-size:.76rem}input,select,textarea{border-color:var(--input);min-height:38px;color:var(--foreground);background:#fbfcfb;border-radius:7px;box-shadow:inset 0 1px #ffffffbf}textarea{min-height:92px}input:hover,select:hover,textarea:hover{border-color:#b9c7c1}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2f6f5e29,inset 0 1px #ffffffbf}.search-field svg{color:#71807b;top:10px}.toggle-row{color:#34423e;border-radius:7px;min-height:32px}.toggle-row input{width:18px;height:18px;accent-color:var(--primary);box-shadow:none;border-radius:5px;padding:0}.prep-meter,.print-fit{color:#214e40;background:#edf7f1;border:1px solid #cae0d6;border-radius:7px;min-height:40px}.always-prepared-meter,.prep-meter.warning,.print-fit.warning{color:#744807;background:#fff7e8;border-color:#ead3a4}.icon-button,.state-button,.command-button,.primary-button{border-color:var(--input);letter-spacing:0;border-radius:7px;height:38px;min-height:38px;font-size:.84rem;font-weight:850;transition:border-color .16s,background .16s,color .16s,transform .16s,box-shadow .16s}.icon-button,.state-button{width:38px}.spell-profile-controls select,.campaign-header .command-button,.campaign-header .icon-button,.sheet-action-buttons .icon-button,.topbar-actions .command-button,.topbar-actions .primary-button{height:36px;min-height:36px}.spell-profile-controls select{padding:7px 30px 7px 10px}.campaign-header .icon-button,.sheet-action-buttons .icon-button{width:36px}.campaign-header .command-button{padding:0 12px}.command-button,.icon-button,.state-button{color:#22342f;background:#ffffffe6}.primary-button{color:#fff;background:linear-gradient(#347865,#2b604f);border-color:#2f6f5e;box-shadow:0 10px 22px #2f6f5e2e}.command-button:hover,.icon-button:hover,.state-button:hover{border-color:var(--primary);color:#214e40;background:#f0f8f4;transform:translateY(-1px);box-shadow:0 8px 18px #18231f12}.primary-button:hover{background:linear-gradient(#2f6f5e,#214e40);transform:translateY(-1px);box-shadow:0 12px 26px #2f6f5e3d}.command-button:focus-visible,.icon-button:focus-visible,.primary-button:focus-visible,.state-button:focus-visible,.spell-main:focus-visible,.summary-edit-button:focus-visible,.summary-disclosure-button:focus-visible,.tag-toggle:focus-visible{outline:none;box-shadow:0 0 0 3px #2f6f5e2e}.command-button:disabled,.icon-button:disabled,.primary-button:disabled,.state-button:disabled{box-shadow:none;transform:none}.command-button.active-filter,.state-button.active,.version-toggle button.active{color:#214e40;background:#e8f4ee;border-color:#2f6f5e61}.state-button.prepared,.state-button.always-prepared,.icon-button.always-prepared{color:#744807;background:#fff5df;border-color:#e5c06f}.icon-button.danger:hover{color:var(--destructive);background:#fff0ed;border-color:#b84a3a8f}.browser-toolbar{border-bottom-color:#cfd9d4b8;gap:10px;padding:0 0 12px}.browser-title h2{font-size:1.08rem}.browser-title p{font-size:.8rem}.catalog-tools{gap:8px}.toolbar-search{width:100%;max-width:none}.catalog-tools .command-button{box-shadow:none}.catalog-tools .command-button:hover{box-shadow:none;transform:none}.filter-menu,.new-spell-menu{background:#fffffffa;border-color:#cfd9d4f0;box-shadow:0 18px 44px #18231f24}.pdf-dropdown{flex-direction:column;flex:none;align-items:stretch;display:inline-flex;position:relative}.pdf-dropdown>.primary-button{width:100%}.pdf-settings-card{z-index:8;border-radius:var(--radius);width:min(312px,100vw - 32px);color:var(--foreground);background:#fffffffa;border:1px solid #cfd9d4f0;gap:10px;padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 44px #18231f24}.pdf-settings-card .section-title,.pdf-settings-card label,.pdf-settings-card .toggle-row{margin-bottom:0}.pdf-save-actions{gap:8px;margin-top:2px;display:grid}.filter-menu-header{color:#22342f;font-weight:850}.filter-count{background:#2f6f5e}.filter-dropdown .chevron-open{transform:rotate(180deg)}.spell-list{gap:10px}.empty-list{background:#ffffffad;border-color:#cfd9d4}.spell-row{border-radius:var(--radius);background:#ffffffe6;border-color:#cfd9d4f0;min-height:68px;transition:border-color .16s,box-shadow .16s,transform .16s,background .16s;box-shadow:0 4px 18px #18231f0b}.spell-row:hover{background:#fff;border-color:#b9c7c1;transform:translateY(-1px);box-shadow:0 10px 26px #18231f13}.spell-row.active{box-shadow:inset 4px 0 0 var(--primary),0 12px 30px #2f6f5e1f;border-color:#2f6f5e94}.spell-row.edited:not(.active){border-color:#e5c06f}.spell-row.banned{background:linear-gradient(90deg,#fff0f0,#fff 62%);border-color:#d43a32;box-shadow:inset 5px 0 #b4231e,0 10px 28px #b4231e29}.spell-row.banned:hover{background:linear-gradient(90deg,#ffe7e7,#fff 68%);border-color:#b4231e;box-shadow:inset 5px 0 #b4231e,0 14px 34px #b4231e33}.spell-row.banned.active{border-color:#b4231e;box-shadow:inset 5px 0 #b4231e,0 14px 34px #b4231e3d}.spell-main{height:auto;min-height:68px;color:var(--foreground)}.spell-main:hover{color:var(--foreground);box-shadow:none;background:0 0;transform:none}.spell-main strong{font-weight:850}.spell-main small{color:var(--muted-foreground)}.level-chip{color:#2d508d;background:#eef4ff;border:1px solid #d8e2f2;border-radius:7px;width:36px;height:36px}.spell-row.banned .level-chip{color:#a3221c;background:#fff5f5;border-color:#efaaa5}.spell-actions{gap:7px}.detail-heading{align-items:flex-start}.source-pill,.edited-pill,.always-prepared-pill,.spell-tag,.tag-toggle{letter-spacing:0;border-radius:999px;height:auto}.source-pill{color:#2d508d;background:#eef4ff;border:1px solid #d7e0f4}.edited-pill{color:#744807;background:#fff7e8;border-color:#ebce86}.always-prepared-pill{color:#744807;background:#fff4db;border-color:#e5c06f}.banned-pill{color:#fff;text-transform:uppercase;white-space:nowrap;background:#b4231e;border:1px solid #9f1f1a;border-radius:999px;align-items:center;gap:4px;min-height:23px;padding:3px 8px;font-size:.67rem;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 5px 12px #b4231e3d}.banned-pill svg{stroke-width:3px;flex:none}.spell-tag,.tag-toggle{color:#263f70;background:#f4f7fd;border-color:#d7e0f4}.tag-toggle{background:#fff;min-height:28px}.tag-toggle:hover,.tag-toggle.active{color:#214e40;background:#e8f4ee;border-color:#2f6f5e70}.spell-tag.banned-tag,.tag-toggle.banned-tag-toggle{color:#9f1f1a;background:#fff0f0;border-color:#ee9b96}.tag-toggle.banned-tag-toggle:hover,.tag-toggle.banned-tag-toggle.active{color:#fff;background:#b4231e;border-color:#9f1f1a}.banned-callout{color:#fff;background:#b4231e;border:1px solid #9f1f1a;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin:-2px 0 14px;padding:10px 12px;display:flex;box-shadow:0 12px 28px #b4231e33}.banned-callout svg{stroke-width:3px;flex:none}.banned-callout strong{text-transform:uppercase;font-size:.82rem}.banned-callout span{font-size:.84rem;font-weight:750}.item-spell-callout{color:#493276;background:#6b4ca514;border:1px solid #6b4ca56b;border-radius:8px;align-items:flex-start;gap:9px;margin:-2px 0 14px;padding:10px 12px;display:flex}.item-spell-callout>svg{flex:none;margin-top:2px}.item-spell-callout>div{gap:8px;display:grid}.item-spell-callout p{gap:2px;margin:0;font-size:.8rem;display:grid}.item-spell-callout span{color:var(--muted);font-weight:700}.item-granted-pill{color:#56388c;text-overflow:ellipsis;white-space:nowrap;background:#6b4ca517;border:1px solid #6b4ca552;border-radius:999px;align-items:center;max-width:min(100%,260px);padding:2px 7px;font-size:.65rem;font-weight:900;display:inline-flex;overflow:hidden}.campaign-learned-pill{color:#765315;text-overflow:ellipsis;white-space:nowrap;background:#a678261a;border:1px solid #a6782657;border-radius:999px;align-items:center;max-width:min(100%,280px);padding:2px 7px;font-size:.65rem;font-weight:900;display:inline-flex;overflow:hidden}.campaign-spell-callout{color:#765315;background:#a6782614;border:1px solid #a6782661;border-radius:8px;align-items:flex-start;gap:9px;margin:-2px 0 14px;padding:10px 12px;display:flex}.campaign-spell-callout>svg{flex:none;margin-top:2px}.campaign-spell-callout>div,.campaign-spell-callout p{gap:3px;margin:0;display:grid}.campaign-spell-callout>div{gap:8px}.campaign-spell-callout span,.campaign-spell-callout small{color:var(--muted);font-weight:700}.version-toggle,.summary-view-toggle{border-color:var(--input);background:#fff;border-radius:7px}.version-toggle button,.summary-view-toggle button{height:auto;box-shadow:none;border-radius:0;font-weight:850}.spell-facts{gap:9px}.spell-facts div{border-color:var(--border);background:#f8faf9;border-radius:7px}.spell-facts dt{color:var(--muted-foreground)}.print-summary{color:#243a68;background:#f4f7fd;border-color:#cbd9f0 #cbd9f0 #cbd9f0 #355fa9;border-radius:7px}.print-summary.fallback{border-color:#ead3a4;border-left-color:var(--amber);color:#67450f;background:#fff8eb}.summary-edit-button{border-radius:7px}.material-line,.table-rule{border-radius:0 7px 7px 0}.custom-editor-backdrop{background:#18231f80}.custom-editor-backdrop .custom-editor{border-radius:var(--radius);box-shadow:0 26px 80px #0f17144d}.print-sheet{display:none}.topbar{grid-template-columns:max-content max-content minmax(0,1fr) max-content}.module-switcher-slot{min-width:0}.topbar>.topbar-actions{grid-column:4}.module-switcher{grid-template-columns:repeat(var(--module-count,3),minmax(0,1fr));width:min(100%,var(--module-switcher-width,354px));border:1px solid var(--line);background:#f8faf9e6;border-radius:8px;align-items:stretch;gap:4px;min-width:0;height:40px;min-height:40px;padding:4px;display:inline-grid;overflow:hidden}.module-switcher button{color:#52615c;white-space:nowrap;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:0;height:100%;min-height:0;font-weight:850;display:inline-flex}.module-switcher button svg{flex:0 0 16px;width:16px;height:16px}.module-switcher button:hover,.module-switcher button.active{color:var(--green-dark);background:#fff;box-shadow:0 2px 10px #1f252314}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-navigation{align-items:center;gap:8px;min-width:0;display:flex}.primary-navigation,.utility-navigation{background:#14120d8f;border:1px solid #83754e94;border-radius:9px;grid-auto-columns:max-content;grid-auto-flow:column;align-items:stretch;gap:3px;min-width:0;padding:3px;display:inline-grid}.app-navigation-link{color:#f7efd9c2;white-space:nowrap;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:44px;padding:0 12px;font-size:.78rem;font-weight:850;line-height:1;text-decoration:none;display:inline-flex;position:relative}.app-navigation-link:hover{color:#fff8e6;background:#ffffff14}.app-navigation-link.active,.app-navigation-link[aria-current=page]{color:var(--green-dark);background:#fffae8f7;box-shadow:0 2px 10px #00000038}.app-navigation-link.active:after{content:"";background:#b27628;border-radius:999px;height:2px;position:absolute;bottom:4px;left:10px;right:10px}.app-navigation-link:focus-visible{outline-offset:2px;outline:2px solid #ffd37a}.item-section-switch{border:1px solid var(--line);background:#f8faf9e6;border-radius:8px;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:4px;width:100%;min-width:0;height:36px;min-height:36px;padding:4px;display:inline-grid;overflow:hidden}.item-section-switch button{color:#52615c;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:7px;min-width:0;height:100%;min-height:0;font-size:.8rem;font-weight:850;display:inline-flex}.item-section-switch button:hover,.item-section-switch button.active{color:var(--green-dark);background:#fff;box-shadow:0 2px 10px #1f252314}.module-home-shell{background:linear-gradient(135deg,#355fa914,#355fa900 42%),linear-gradient(#f8faf7,#eef3f0);min-height:100vh}.module-home-topbar{grid-template-columns:max-content max-content minmax(0,1fr)}.home-dashboard-content{gap:22px;width:min(720px,100% - 36px);margin:0 auto;padding:clamp(34px,9vh,90px) 0;display:grid}.home-dashboard-heading{gap:8px;display:grid}.home-dashboard-heading>span{color:#ffd37a;letter-spacing:.13em;text-transform:uppercase;font-size:.76rem;font-weight:900}.home-dashboard-heading h1{color:#fff1cf;font-family:var(--forge-display,Georgia, serif);text-shadow:0 12px 34px #00000094;font-size:clamp(2.2rem,6vw,4.2rem);font-weight:950;line-height:.95}.home-dashboard-heading p{color:#f7efd9d1;text-shadow:0 8px 22px #0000008f;max-width:540px;font-size:1.02rem;font-weight:720;line-height:1.5}.home-primary-card{background:linear-gradient(135deg,#fffceefa,#ebe1c2f5),#f4ecd3;border:1px solid #ffe1a66b;border-radius:16px;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:20px;padding:20px;display:grid;box-shadow:0 24px 68px #00000052,inset 0 1px #fffc}.home-character-summary{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:14px;min-width:0;display:grid}.home-character-summary>span:last-child{gap:3px;min-width:0;display:grid}.home-character-summary small{color:#6c6657;letter-spacing:.08em;text-transform:uppercase;font-size:.7rem;font-weight:850}.home-character-summary strong{color:#27251f;font-family:var(--forge-display,Georgia, serif);text-overflow:ellipsis;white-space:nowrap;font-size:1.25rem;overflow:hidden}.home-character-summary em{color:#6f6859;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-style:normal;overflow:hidden}.home-character-portrait{color:#3c3a30;width:58px;height:58px;font-family:var(--forge-display,Georgia, serif);background:#ddd0a9;border:2px solid #5b482447;border-radius:50%;place-items:center;font-size:1.35rem;font-weight:900;display:grid;overflow:hidden}.home-character-portrait img{object-fit:contain;object-position:center;width:100%;height:100%}.home-primary-action{white-space:nowrap;min-height:46px}.home-primary-action:focus-visible{outline-offset:3px;outline:3px solid #173f34;box-shadow:0 0 0 6px #fff3cbeb}.home-notebook-shortcut{background:linear-gradient(135deg,#fffceef0,#e6ddbeeb);border:1px solid #ffe1a647;border-radius:14px;grid-template-columns:auto minmax(0,1fr) max-content;align-items:center;gap:14px;padding:16px 18px;display:grid;box-shadow:0 18px 48px #00000038}.home-notebook-icon{color:#244f40;background:#345b481f;border:1px solid #405c4b3d;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.home-notebook-copy{gap:2px;min-width:0;display:grid}.home-notebook-copy small{color:#716951;letter-spacing:.08em;text-transform:uppercase;font-size:.66rem;font-weight:850}.home-notebook-copy strong{color:#27251f;font-family:var(--forge-display,Georgia, serif);font-size:1.08rem}.home-notebook-copy em{color:#746d5d;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;font-style:normal;overflow:hidden}.campaign-notebook-content{width:min(1180px,100% - 40px);margin:0 auto;padding:clamp(28px,5vh,56px) 0 64px}.campaign-notebook-module-heading{gap:6px;max-width:760px;margin-bottom:22px;display:grid}.campaign-notebook-home-link{color:#f5ddb0;justify-self:start;min-height:32px;margin:0 0 5px -12px}.campaign-notebook-module-heading>span{color:#ddbd7a;letter-spacing:.13em;text-transform:uppercase;font-size:.7rem;font-weight:850}.campaign-notebook-module-heading h1{color:#fff1cf;font-family:var(--forge-display,Georgia, serif);font-size:clamp(2rem,4vw,3.15rem);line-height:1}.campaign-notebook-module-heading p{color:#d6c79f;font-size:.93rem;line-height:1.55}.campaign-notebook-workspace{background:#eee4c8;border:1px solid #ffe5ae70;border-radius:17px;overflow:hidden;box-shadow:0 28px 80px #00000059}.campaign-note-tabs-row{background:linear-gradient(#ded1ae,#d3c39e);border-bottom:1px solid #4a3e2333;grid-template-columns:minmax(0,1fr) max-content max-content;align-items:stretch;min-width:0;display:grid}.campaign-note-tabs-navigation{grid-template-columns:max-content 36px minmax(0,1fr) 36px;min-width:0;display:grid}.campaign-note-pinned-tabs{scrollbar-width:none;max-width:min(42vw,460px);display:flex;overflow-x:auto}.campaign-note-pinned-tabs:not(:empty){border-right:1px solid #4a3e2329}.campaign-note-pinned-tabs::-webkit-scrollbar{display:none}.campaign-note-tabs-scroll{color:#5e594c;border-right:1px solid #4a3e2324;border-radius:0;width:36px;height:52px}.campaign-note-tabs-scroll.right{border-left:1px solid #4a3e2324;border-right:0}.campaign-note-tabs-scroll:disabled{opacity:.28}.campaign-note-tabs{scroll-behavior:smooth;scrollbar-width:none;min-width:0;display:flex;overflow-x:auto}.campaign-note-tabs::-webkit-scrollbar{display:none}.campaign-note-tab{color:#675e49;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-right:1px solid #4a3e2329;flex:none;justify-content:center;align-items:center;gap:7px;min-width:124px;max-width:230px;min-height:52px;padding:0 18px;font-size:.8rem;font-weight:800;display:flex;overflow:hidden}.campaign-note-tab>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.campaign-note-tab.pinned{color:#37584d;background:#ffffff5c;min-width:138px;max-width:190px}.campaign-note-tab-pin{color:#2f6f5e;flex:none}.campaign-note-tab:hover{color:#2e4f43;background:#ffffff3d}.campaign-note-tab.active{color:#214b3d;background:#fff;position:relative}.campaign-note-tab.active:after{content:"";background:#2f6f5e;border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:0;left:14px;right:14px}.campaign-note-new-button{color:#fff8e7;background:#2e5f4f;border:0;border-radius:0;min-height:52px;padding-inline:18px}.campaign-note-all-button{color:#4e594d;border:0;border-left:1px solid #4a3e2329;border-radius:0;gap:7px;min-height:52px;padding-inline:13px}.campaign-note-all-button small{color:#285b4c;background:#2f6f5e21;border-radius:999px;place-items:center;min-width:22px;height:22px;font-size:.68rem;font-weight:850;display:grid}.campaign-note-list-menu{width:min(330px,100vw - 24px);max-height:min(420px,100vh - 120px);overflow-y:auto}.campaign-note-list-item{grid-template-columns:minmax(0,1fr) max-content;gap:12px;display:grid}.campaign-note-list-item>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.campaign-note-list-item.active{color:#245a48;font-weight:800}.campaign-note-list-icons{color:#2f6f5e;align-items:center;gap:6px;display:flex}.campaign-note-mobile-picker{display:none}.campaign-note-document{background:#fff;gap:10px;padding:24px;display:grid}.campaign-note-document-heading{grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:10px;display:grid}.campaign-note-title-input{color:#27251f;height:auto;font-family:var(--forge-display,Georgia, serif);box-shadow:none;background:0 0;border:0;padding:2px 4px;font-size:clamp(1.55rem,3vw,2.2rem);font-weight:800}.campaign-note-title-input:focus-visible{border:0;box-shadow:0 2px #2f6f5e73}.campaign-note-live-status{color:#777061;align-items:center;gap:7px;min-height:22px;padding:0 5px;font-size:.73rem;font-weight:720;display:flex}.campaign-note-live-status.error{color:#9b2e28}.campaign-note-live-dot{background:#398566;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #39856621}.campaign-note-editor{background:#fff;border:1px solid #27251f24;border-radius:12px;overflow:hidden;box-shadow:0 14px 34px #1f1d1914}.campaign-note-editor-toolbar{background:#f8f8f6;border-bottom:1px solid #27251f1f;align-items:center;gap:2px;padding:7px 9px;display:flex;overflow-x:auto}.campaign-note-tool{color:#5c584d;flex:none;width:34px;height:34px}.campaign-note-tool.section-start{border-left:1px solid #5b4d2d38;border-radius:0 7px 7px 0;margin-left:7px;padding-left:9px}.campaign-note-tool[aria-pressed=true]{color:#245a48;background:#2f6f5e24}.campaign-note-prosemirror{caret-color:#245a48;color:#302c24;background:#fff;outline:0;min-height:520px;padding:40px clamp(28px,6vw,78px) 64px;font-family:ui-rounded,Avenir Next,Segoe UI,sans-serif;font-size:1rem;line-height:1.75}.campaign-note-prosemirror p{min-height:1.75em}.campaign-note-prosemirror>*+*{margin-top:.8em}.campaign-note-prosemirror h1,.campaign-note-prosemirror h2,.campaign-note-prosemirror h3{color:#2d312b;font-family:var(--forge-display,Georgia, serif);line-height:1.2}.campaign-note-prosemirror h1{font-size:1.9rem}.campaign-note-prosemirror h2{font-size:1.5rem}.campaign-note-prosemirror h3{font-size:1.2rem}.campaign-note-prosemirror ul,.campaign-note-prosemirror ol{padding-left:1.55rem}.campaign-note-prosemirror ul[data-type=taskList]{padding-left:0;list-style:none}.campaign-note-prosemirror ul[data-type=taskList] li{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;display:grid}.campaign-note-prosemirror ul[data-type=taskList] li>label{padding-top:3px}.campaign-note-prosemirror a{color:#276c5a;text-underline-offset:2px;text-decoration:underline}.campaign-note-prosemirror p.is-editor-empty:first-child:before{float:left;color:#534c3d80;content:attr(data-placeholder);pointer-events:none;height:0}.campaign-note-editor-loading,.campaign-note-empty-state{color:#736b59;justify-content:center;align-items:center;gap:9px;min-height:360px;font-size:.86rem;font-weight:750;display:flex}.campaign-note-spinner{animation:.9s linear infinite spin}.campaign-notebook-notice{z-index:30;color:#fff5dc;background:#252a25;border:1px solid #ffe5ae6b;border-radius:12px;align-items:center;gap:14px;max-width:min(420px,100vw - 44px);padding:11px 12px 11px 15px;font-size:.8rem;display:flex;position:fixed;bottom:22px;right:22px;box-shadow:0 18px 48px #0000005c}.campaign-note-options-menu{min-width:180px}.module-home-content{width:min(920px,100% - 36px);margin:0 auto;padding:clamp(32px,8vh,78px) 0}.module-home-heading{gap:10px;max-width:620px;margin-bottom:24px;display:grid}.module-home-heading h1{color:#fff1cf;text-shadow:0 2px #080705cc,0 12px 30px #0000008f,0 0 28px #f2a64d3d;font-size:clamp(1.85rem,3.2vw,2.65rem);font-weight:950;line-height:1.05}.module-home-heading p{color:#f7efd9d1;text-shadow:0 8px 22px #00000085;font-size:clamp(1rem,1.35vw,1.08rem);font-weight:750;line-height:1.35}.module-home-heading:after{content:"";background:linear-gradient(90deg,#ffd37a,#2f6f5ee0 74%,#0000);border-radius:999px;width:108px;height:3px;display:block;box-shadow:0 0 18px #f2a64d61}.module-choice-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.module-choice-card{min-height:156px;color:var(--ink);text-align:left;background:#fffffff0;border:1px solid #cfd9d4f0;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:18px;display:grid;box-shadow:0 10px 30px #18231f12}.module-choice-card:hover{border-color:#2f6f5e75;box-shadow:0 16px 42px #18231f1f}.module-choice-card:focus-visible{outline:none;box-shadow:0 0 0 3px #2f6f5e29,0 16px 42px #18231f1f}.module-choice-icon{border-radius:8px;place-items:center;width:58px;height:58px;display:grid}.module-choice-icon.spell{color:#2d508d;background:#eef4ff}.module-choice-icon.item{color:#724a0b;background:#fff8eb}.item-choice-card{grid-area:auto}.module-choice-icon.character{color:var(--green-dark);background:#edf7f1}.module-choice-icon.dm{color:#8f3528;background:#fff2ef}.module-choice-card span:last-child{gap:8px;min-width:0;display:grid}.module-choice-card strong{font-size:1.14rem;font-weight:900}.module-choice-card small{color:var(--muted);font-size:.9rem;line-height:1.45}.inventory-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(280px,340px) minmax(500px,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.character-manager-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(250px,310px) minmax(0,1fr);height:100vh;min-height:100vh;display:grid;overflow:hidden}.character-manager-shell.roster-collapsed{grid-template-columns:76px minmax(0,1fr)}.inventory-topbar,.character-topbar{grid-column:1/-1}.inventory-section-bar{background:#f5f8f6c2;border-bottom:1px solid #cfd9d4eb;grid-area:2/1/auto/-1;justify-items:center;padding:12px 16px;display:grid}.inventory-control-panel,.character-control-panel,.character-main,.inventory-main{grid-row:2;min-height:0;overflow:auto}.inventory-control-panel,.character-control-panel{background:#f5f8f6c2;border-right:1px solid #cfd9d4eb;grid-column:1;padding:16px}.character-control-panel{align-content:start;align-items:stretch;gap:12px;padding:14px;display:grid}.character-manager-shell.roster-collapsed .character-control-panel{justify-items:center;padding:12px 10px}.inventory-main,.character-main{grid-column:2;padding:18px}.compact-form,.item-entry-form,.item-edit-form{gap:10px;display:grid}.compact-form textarea{min-height:72px}.character-option-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.character-start-options{align-items:end}.character-option-field{margin-bottom:0}.alignment-option-field{grid-column:1/-1}.portrait-form-row{grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px;display:grid}.portrait-upload-field{margin-bottom:0}.sheet-form-row{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:end;gap:10px;display:grid}.sheet-upload-field{margin-bottom:0}.sheet-file-chip{color:#52605b;background:#f5f7f6;border:1px solid #cbd5d1;border-radius:8px;align-items:center;gap:8px;min-width:0;min-height:38px;padding:8px 10px;font-size:.78rem;font-weight:850;display:flex}.sheet-file-chip.attached{color:#2d508d;background:#f4f7fd;border-color:#d7e0f4}.sheet-file-chip svg{flex:none}.sheet-file-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.sheet-action-row{align-items:stretch;gap:8px;display:flex}.sheet-action-row .command-button{flex:1 1 0;min-width:0}.character-portrait{width:42px;height:42px;color:var(--green-dark);background:#edf7f1;border:1px solid #cfe1d5;border-radius:8px;flex:none;place-items:center;font-size:1rem;font-weight:900;line-height:1;display:grid;overflow:hidden}.character-portrait.small{border-radius:7px;width:34px;height:34px;font-size:.86rem}.character-portrait.preview{width:52px;height:52px}.character-portrait img{object-fit:contain;object-position:center;width:100%;height:100%}.form-action-row,.item-upload-row,.inventory-tools{align-items:center;gap:8px;display:flex}.form-action-row{align-items:stretch}.item-upload-row{align-items:end}.item-upload-row label{flex:auto;margin-bottom:0}.item-upload-row .primary-button,.item-upload-row .command-button{min-width:136px;margin-bottom:0}.character-list,.gold-list,.item-list{gap:9px;display:grid}.character-list{margin-top:12px}.character-row{border:1px solid var(--line);background:var(--paper);border-radius:8px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;display:grid}.inventory-owner-list .character-row{grid-template-columns:auto minmax(0,1fr) auto}.active-party-row{background:#eef7f1;border-color:#2f6f5e61}.inventory-owner-list .owner-row{grid-template-columns:auto minmax(0,1fr) auto;gap:7px;padding:8px}.inventory-owner-list .owner-row .owner-portrait{grid-area:1/1;width:38px;height:38px}.inventory-owner-list .owner-row .owner-row-main{grid-area:1/2/auto/-1;align-self:center;gap:2px}.inventory-owner-list .owner-row .character-name-with-status{flex-wrap:nowrap}.inventory-owner-list .owner-row .character-name-with-status strong,.inventory-owner-list .owner-row .owner-row-detail{text-overflow:ellipsis;overflow:hidden}.inventory-owner-list .owner-row .character-name-with-status strong{white-space:nowrap}.inventory-owner-list .owner-row .character-status-pill{min-height:20px;padding:2px 6px;font-size:.62rem}.inventory-owner-list .owner-row .owner-row-detail{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;font-size:.7rem;line-height:1.25;display:-webkit-box}.inventory-owner-list .owner-row .owner-row-footer{flex-wrap:wrap;grid-area:2/1/auto/-1;align-items:center;gap:6px 8px;min-width:0;display:flex}.inventory-owner-list .owner-row .owner-counts{flex:none;gap:4px}.owner-count-separator{color:var(--muted);opacity:.72;font-size:.72rem;line-height:1}.owner-count-stat{min-width:0;color:var(--muted);white-space:nowrap;align-items:center;gap:3px;font-size:.66rem;display:inline-flex}.owner-count-stat svg{color:var(--green-dark)}.owner-count-stat strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:.7rem}.owner-count-stat small{color:inherit;font-size:inherit}.owner-count-stat.full{color:#724a0b}.owner-count-stat.over{color:#8f3528}.owner-count-stat.full svg,.owner-count-stat.full strong,.owner-count-stat.over svg,.owner-count-stat.over strong{color:currentColor}.potion-manager-panel{background:linear-gradient(#fffffff5,#f8faf9eb);border-color:#c5d0cbf2;gap:8px;padding:10px;display:grid;overflow:hidden}.potion-manager-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.potion-manager-heading .section-title{margin-bottom:0}.item-section-panel{gap:10px;width:min(640px,100%);padding:10px;display:grid}.item-section-panel .item-section-switch{background:#fffdf3e6;width:100%;min-width:0;height:42px;min-height:42px}.potion-total-count{color:#2d508d;font-variant-numeric:tabular-nums;flex:none;font-size:.72rem;font-weight:850}.potion-quick-tools,.potion-stock-list,.potion-owner-stack-list{gap:6px;display:grid}.potion-quick-tools{grid-template-columns:minmax(0,1fr) auto;align-items:center}.potion-target-field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px;min-width:0;margin-bottom:0;display:grid}.potion-target-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:850}.potion-target-field select{background:#fff;min-width:0;height:34px;min-height:34px;padding-block:4px;font-weight:800}.potion-add-menu-trigger{justify-content:space-between;width:auto;min-width:0;height:34px;min-height:34px;padding-inline:9px}.potion-add-menu-trigger svg:last-child{margin-left:auto}.potion-add-menu{background:#fffffffa;border-color:#c5d0cbf2;border-radius:8px;width:min(552px,100vw - 28px);padding:10px;box-shadow:0 22px 48px #18231f2e}.potion-add-search-field{z-index:1;color:var(--muted);background:#f8faf9;border:1px solid #cfd9d4eb;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-bottom:10px;padding:8px 10px;display:grid;position:sticky;top:0}.potion-add-search-field input{min-height:32px;box-shadow:none;background:0 0;border:0;padding:0;font-weight:800}.potion-add-search-field input:focus{box-shadow:none}.potion-quick-add-grid{grid-template-columns:1fr;gap:10px;display:grid}.potion-quick-add-button{width:100%;min-width:0;height:auto;min-height:70px;color:var(--foreground);text-align:left;white-space:normal;background:linear-gradient(#fff,#f6f8f7);border:1px solid #cfd9d4fa;border-radius:8px;grid-template-columns:42px minmax(0,1fr) auto;justify-content:stretch;align-items:center;gap:8px;padding:8px;font-weight:850;transition:border-color .16s,background .16s,color .16s,transform .16s,box-shadow .16s;display:grid;box-shadow:0 8px 18px #18231f0d}.potion-quick-add-button:hover,.potion-quick-add-button:focus-visible{color:#214e40;background:#f0f8f4;border-color:#2f6f5e6b;transform:translateY(-1px);box-shadow:0 12px 24px #18231f17}.potion-quick-add-button:focus-visible{outline:none;box-shadow:0 0 0 3px #2f6f5e2e,0 12px 24px #18231f17}.potion-quick-add-button:disabled{cursor:default;opacity:.68;box-shadow:none;transform:none}.potion-add-menu-option{grid-template-columns:72px minmax(0,1fr) auto;min-height:96px;padding:14px 16px}.potion-add-menu-option .potion-quick-add-copy strong{font-size:1.05rem}.potion-add-menu-option .potion-quick-add-copy small{font-size:.82rem}.potion-add-empty{color:var(--muted);text-align:center;background:#f8faf9;border:1px dashed #cfd9d4f5;border-radius:8px;margin:0;padding:16px;font-size:.82rem;font-weight:800}.potion-image-frame{background:#fff;border:1px solid #cfd9d4e6;border-radius:8px;place-items:center;display:grid;overflow:hidden;box-shadow:inset 0 1px #ffffffdb}.potion-image-frame img{object-fit:cover;width:100%;height:100%;display:block}.potion-image-frame.quick-add{width:42px;height:42px}.potion-add-menu-option .potion-image-frame.quick-add{width:72px;height:72px}.potion-image-frame.stock,.potion-image-frame.custom{width:38px;height:38px}.potion-image-frame.custom{color:#724a0b;background:#fff7e8}.potion-quick-add-copy,.potion-stock-main>div{gap:2px;min-width:0;display:grid}.potion-quick-add-copy strong,.potion-stock-main strong{overflow-wrap:anywhere;min-width:0;color:var(--foreground);line-height:1.08}.potion-quick-add-copy small,.potion-stock-main>div>span:not(.potion-stock-meta){min-width:0;color:var(--muted);font-size:.72rem;font-weight:800;line-height:1.2}.potion-quick-add-icon{color:var(--primary);justify-self:end}.potion-stock-list{gap:5px}.potion-stock-row{background:#ffffffe6;border:1px solid #cfd9d4eb;border-radius:7px;gap:5px;padding:6px 7px;display:grid;box-shadow:0 3px 10px #18231f09}.potion-stock-main{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;display:grid}.potion-stock-main strong{font-size:.82rem}.potion-stock-meta{min-width:0;color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px;font-size:.66rem;font-weight:800;line-height:1.2;display:flex}.potion-rarity-text{color:#214e40;font-weight:850}.potion-row-total{color:#2d508d;text-align:right;font-variant-numeric:tabular-nums;align-self:start;min-width:42px;padding-top:1px;font-size:.68rem;font-weight:850}.potion-storage-block{gap:1px;margin-top:3px;display:grid}.potion-storage-label{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.58rem;font-weight:850}.potion-owner-stack-list{gap:0;margin-top:0;display:grid}.potion-owner-stack{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;min-width:0;min-height:22px;padding:2px 0;display:grid}.potion-owner-stack+.potion-owner-stack{border-top:1px dashed #cfd9d4b8}.potion-owner-name{min-width:0;color:var(--foreground);align-items:center;gap:4px;display:flex}.potion-owner-name svg{color:var(--muted);flex:none}.potion-owner-name strong{font-size:.68rem}.potion-owner-count{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.62rem;font-weight:850}.custom-potion-row{background:#fffbf2;border-color:#b7791f57;grid-template-columns:minmax(0,1fr) auto;align-items:center}.potion-view-button{justify-self:end;width:auto;min-width:0;height:30px;min-height:30px;padding-inline:8px}.owner-portrait{align-self:start}.owner-more-menu{margin-top:10px}.owner-more-menu summary{border:1px solid var(--line);min-height:40px;color:var(--ink);cursor:pointer;background:#ffffff8a;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-weight:800;list-style:none;display:flex}.owner-more-menu summary::-webkit-details-marker{display:none}.owner-more-menu[open] summary{background:#f4f8f4;border-color:#2f6f5e52}.owner-more-label{align-items:center;gap:6px;display:inline-flex}.owner-more-chevron{color:var(--muted);transition:transform .16s}.owner-more-menu[open] .owner-more-chevron{transform:rotate(180deg)}.owner-more-list{margin-top:9px}.character-row.active{background:#edf7f1;border-color:#2f6f5e75}.character-row>button:first-child{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;gap:2px;padding:0;display:grid}.character-row>button:first-child:disabled{cursor:default}.owner-row-main{gap:4px;min-width:0;display:grid}.character-name-with-status{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.character-name-with-status strong{min-width:0}.character-row strong,.item-row-header strong,.character-card-header strong{overflow-wrap:anywhere;font-weight:850}.character-row span,.item-row-header span,.item-row-body p,.character-card-header span,.character-card p{color:var(--muted);font-size:.8rem;line-height:1.35}.character-row .character-name-with-status,.character-card-header .character-name-with-status{color:var(--ink);font-size:inherit;line-height:1.2}.item-count-pill{color:#2d508d;background:#eef4ff;border-radius:999px;place-items:center;min-width:28px;height:28px;font-size:.76rem;font-weight:850;display:inline-grid}.owner-counts{white-space:nowrap;justify-self:end;align-items:center;gap:6px;display:inline-flex}.attunement-count-pill{color:#2d508d;background:#f4f7fd;border:1px solid #d7e0f4;border-radius:999px;justify-content:center;align-items:center;min-width:42px;height:28px;padding:3px 8px;font-size:.74rem;font-weight:900;line-height:1;display:inline-flex}.attunement-count-pill.full{color:#724a0b;background:#fff8eb;border-color:#ead3a4}.attunement-count-pill.over{color:#8f3528;background:#fff0ed;border-color:#edc9c3}.currency-menu,.new-item-menu{min-width:0;display:flex;position:relative}.new-item-popover{z-index:13;background:#fff;border:1px solid #cfd9d4f5;border-radius:8px;gap:6px;width:min(260px,100vw - 24px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 56px #18231f2e}.new-item-choice{color:#22342f;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:9px;width:100%;min-height:40px;padding:8px 10px;font-size:.84rem;font-weight:850;display:flex}.new-item-choice:hover,.new-item-choice:focus-visible{color:var(--green-dark);background:#edf7f1;border-color:#2f6f5e47;outline:none}.new-item-choice svg{color:#2d508d}.currency-menu-trigger{justify-content:flex-start;min-width:190px}.currency-menu-trigger strong{color:#724a0b;text-overflow:ellipsis;min-width:0;margin-left:auto;font-size:.78rem;overflow:hidden}.currency-popover{z-index:12;background:#fff;border:1px solid #cfd9d4f5;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(700px,100vw - 24px);max-height:min(640px,100vh - 92px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 56px #18231f2e}.currency-popover-header{border-bottom:1px solid #cfd9d4c7;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding-bottom:10px;display:flex}.currency-popover-actions{align-items:center;gap:8px;display:flex}.currency-popover-header>div:not(.currency-popover-actions){gap:2px;min-width:0;display:grid}.currency-popover-header strong{color:#22342f;font-size:1rem;font-weight:900;line-height:1.1}.currency-popover-header span{color:#724a0b;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;font-weight:750;overflow:hidden}.currency-table-wrap{min-height:0;margin:0 -2px;padding:0 2px 2px;overflow:auto}.currency-table{table-layout:fixed;border-collapse:separate;border-spacing:0 8px;width:100%;min-width:634px}.currency-col-character{width:164px}.currency-col-coin{width:104px}.currency-col-save{width:54px}.currency-table th,.currency-table td{text-align:left;vertical-align:middle;padding:0 6px}.currency-table thead th{color:#56645f;padding-bottom:2px;font-size:.74rem;font-weight:850;line-height:1.1}.currency-table thead th:not(:first-child){text-align:center}.currency-table thead small{color:#83908b;margin-top:2px;font-size:.66rem;font-weight:750;display:block}.currency-save-heading{width:54px}.currency-table tbody th,.currency-table tbody td{background:#fff;border-top:1px solid #cfd9d4e0;border-bottom:1px solid #cfd9d4e0;padding:9px 8px}.currency-table tbody td{text-align:center}.currency-table tbody th:first-child{border-left:1px solid #cfd9d4e0;border-radius:8px 0 0 8px}.currency-table tbody td:last-child{border-right:1px solid #cfd9d4e0;border-radius:0 8px 8px 0;padding-left:9px;padding-right:9px}.currency-table tbody th>span,.currency-table tbody th>small{min-width:0;display:block}.currency-table tbody th>span{overflow-wrap:anywhere;color:#22342f;font-size:.82rem;font-weight:850}.currency-table tbody th>small{color:#71807b;margin-top:2px;font-size:.68rem;font-weight:750}.currency-total-row th,.currency-total-row td{color:#724a0b;background:#fff8eb;font-size:.84rem;font-weight:900}.currency-entry-row.readonly th,.currency-entry-row.readonly td{background:#f3f6f4}.currency-entry-row.readonly th>span,.currency-entry-row.readonly th>small{color:#7d8a85}.currency-table .secret-purse-row>td{text-align:left;background:#fffbf3;border:1px solid #b6965b5c;border-radius:8px;padding:0}.secret-purse-toggle{color:#68440b;cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto auto auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:10px 12px;display:grid}.secret-purse-toggle>span,.secret-purse-toggle>strong{font-size:.78rem;font-weight:900}.secret-purse-toggle>small{color:#8a7351;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:700;overflow:hidden}.secret-purse-toggle[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.secret-purse-panel{border-top:1px solid #b6965b47;gap:12px;padding:12px;display:grid}.secret-purse-balance{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.secret-purse-balance>span{background:#ffffffb8;border:1px solid #b6965b4d;border-radius:6px;justify-content:space-between;align-items:baseline;gap:8px;padding:7px 9px;display:flex}.secret-purse-balance small{color:#8a7351;text-transform:uppercase;font-size:.66rem;font-weight:850}.secret-purse-balance strong{color:#68440b;font-size:.82rem}.secret-purse-editor{gap:10px;display:grid}.secret-purse-editor>p,.secret-purse-transfer{margin:0}.secret-purse-editor>p,.secret-purse-transfer>p{color:#6d7773;font-size:.72rem;font-weight:650}.secret-purse-edit-inputs,.secret-purse-transfer-inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.secret-purse-edit-inputs label,.secret-purse-transfer-inputs label{color:#78684f;text-transform:uppercase;gap:4px;font-size:.66rem;font-weight:850;display:grid}.secret-purse-edit-inputs .currency-input,.secret-purse-transfer-inputs .currency-input{width:100%}.secret-purse-save{justify-self:start}.secret-purse-transfer{border-top:1px solid #b6965b47;gap:10px;padding-top:12px;display:grid}.secret-purse-transfer-actions{flex-wrap:wrap;gap:8px;display:flex}.currency-input{appearance:textfield;text-align:right;width:86px;min-width:0;max-width:100%;height:36px;min-height:36px;margin:0 auto;padding:6px 10px}.currency-input::-webkit-outer-spin-button{appearance:none;margin:0}.currency-input::-webkit-inner-spin-button{appearance:none;margin:0}.currency-input:disabled{color:#74817c;opacity:1;background:#e9eeeb}.currency-table .icon-button{width:36px;min-width:36px;height:36px;min-height:36px;margin:0 auto}.currency-empty{color:var(--muted);text-align:center;font-size:.82rem;font-weight:700}.currency-modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f25236b;place-items:start center;padding:clamp(16px,5vh,48px) 16px;display:grid;position:fixed;inset:0;overflow:auto}.currency-modal{background:#fffffffa;border:1px solid #cfd9d4f5;border-radius:8px;width:min(860px,100%);max-height:calc(100vh - clamp(32px,10vh,96px));padding:14px;overflow:auto;box-shadow:0 24px 80px #151c1947}.currency-modal form{gap:14px;display:grid}.currency-modal-header,.bulk-distribution-heading,.currency-modal-footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.currency-modal-header>div,.bulk-distribution-heading>div{gap:2px;min-width:0;display:grid}.currency-modal-header strong,.bulk-distribution-heading strong{color:#22342f;font-size:.94rem;font-weight:900}.currency-modal-header span,.bulk-distribution-heading span,.bulk-percent-total{color:#724a0b;font-size:.82rem;font-weight:800}.bulk-distribution-heading span.warning,.bulk-percent-total.warning{color:var(--red)}.bulk-distribution-heading span.complete,.bulk-percent-total.complete{color:var(--green-dark)}.bulk-currency-pool{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.bulk-currency-pool label{margin-bottom:0}.bulk-currency-table-wrap{overflow-x:auto}.bulk-currency-table{border-collapse:separate;border-spacing:0 7px;width:100%;min-width:680px}.bulk-currency-table th,.bulk-currency-table td{text-align:right;vertical-align:middle;padding:0 5px}.bulk-currency-table th:first-child,.bulk-currency-table td:first-child{text-align:left}.bulk-currency-table thead th{color:#56645f;font-size:.72rem;font-weight:850}.bulk-currency-table tbody th,.bulk-currency-table tbody td{background:#fff;border-top:1px solid #cfd9d4e0;border-bottom:1px solid #cfd9d4e0;padding:8px 6px}.bulk-currency-table tbody th:first-child{color:#22342f;overflow-wrap:anywhere;border-left:1px solid #cfd9d4e0;border-radius:8px 0 0 8px;width:210px;font-size:.82rem;font-weight:850}.bulk-currency-table tbody td:last-child{border-right:1px solid #cfd9d4e0;border-radius:0 8px 8px 0}.bulk-percent-input{text-align:right;width:92px;min-width:82px;height:34px;min-height:34px;margin-left:auto;padding:6px 8px}.currency-modal-footer{justify-content:flex-end}.bulk-percent-total{background:#f1f5f3;border-radius:999px;margin-right:auto;padding:7px 10px}.inventory-notice{background:#fffc;border:1px solid #cfd9d4eb;border-radius:8px;padding:10px}.character-manager-notice{z-index:45;color:#22342f;pointer-events:none;background:#fffffff0;border:1px solid #cfd9d4f5;border-radius:8px;width:min(360px,100vw - 28px);padding:11px 12px;font-size:.84rem;font-weight:750;position:fixed;bottom:clamp(14px,2vw,24px);right:clamp(14px,2vw,24px);box-shadow:0 18px 48px #151c192e}.inventory-tools{grid-template-columns:minmax(220px,1fr) max-content;align-items:center;min-width:0;display:grid}.inventory-tools label{margin-bottom:0}.item-filter-menu{width:min(380px,100vw - 32px)}.item-entry-panel{border:1px solid var(--line);background:#ffffffeb;border-radius:8px;margin-bottom:14px;padding:14px;box-shadow:0 4px 18px #1f25230d}.item-entry-backdrop{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#1f25236b;place-items:start center;padding:clamp(16px,5vh,48px) 16px;display:grid;position:fixed;inset:0;overflow:auto}.item-entry-modal{background:#fffffffa;border:1px solid #cfd9d4f5;border-radius:8px;width:min(920px,100%);max-height:calc(100vh - clamp(32px,10vh,96px));padding:14px;overflow:auto;box-shadow:0 24px 80px #151c1947}.item-entry-modal-header,.item-entry-modal-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.item-entry-modal-header{background:#fffdf3;margin:-14px -14px 12px;padding:16px 14px 12px;top:-14px}.item-entry-modal-header .section-title{margin-bottom:0}.item-entry-modal-footer{border-top:1px solid #cfd9d4b8;justify-content:flex-end;padding-top:12px}.item-paste-import{border-top:1px solid #cfd9d4b8;gap:8px;padding-top:10px;display:grid}.item-paste-import .section-title{margin-bottom:0}.item-paste-import textarea{min-height:92px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem}.item-metadata-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;display:grid}.item-metadata-grid label{margin-bottom:0}.item-attunement-toggle{border:1px solid var(--line);background:var(--field);border-radius:6px;align-self:end;min-height:38px;padding:8px 10px}.item-scroll-toggle{color:#2d508d;background:#f4f7fd;border:1px solid #d7e0f4;border-radius:6px;align-self:end;min-height:38px;padding:8px 10px}.item-attunement-notes-field{grid-column:1/-1}.attunement-capacity-notice{color:#724a0b;background:#fff8eb;border:1px solid #ead3a4;border-radius:8px;align-items:flex-start;gap:8px;min-width:0;padding:9px 10px;font-size:.8rem;font-weight:850;line-height:1.35;display:flex}.attunement-capacity-notice svg{flex:none;margin-top:1px}.attunement-capacity-notice.danger{color:#8f3528;background:#fff0ed;border-color:#edc9c3}.weapon-detail-fields{background:#fffaf4;border:1px solid #8e4f3047;border-radius:8px;gap:12px;padding:12px;display:grid}.weapon-detail-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.weapon-detail-heading .section-title{margin-bottom:0}.weapon-detail-heading>span{color:var(--muted);text-align:right;font-size:.72rem;font-weight:800}.weapon-base-field{background:#ffffffb8;border:1px dashed #8e4f3052;border-radius:7px;grid-template-columns:minmax(0,1fr) minmax(180px,.8fr);align-items:end;gap:12px;padding:10px;display:grid}.weapon-base-field>p{color:var(--muted);margin:0 0 2px;font-size:.75rem;font-weight:700;line-height:1.35}.weapon-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weapon-property-fields{border:0;gap:7px;min-width:0;margin:0;padding:0;display:grid}.weapon-property-fields legend{color:var(--ink);font-size:.78rem;font-weight:900}.weapon-property-fields>div{flex-wrap:wrap;gap:7px;display:flex}.weapon-property-fields .toggle-row{background:#fff;border:1px solid #8e4f3033;border-radius:999px;min-height:34px;margin:0;padding:6px 10px}.item-granted-spell-fields{background:#6b4ca50d;border:1px solid #6b4ca54d;border-radius:8px;gap:10px;padding:12px;display:grid}.item-granted-spell-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.item-granted-spell-heading .section-title{margin-bottom:0}.item-granted-spell-fields>p{color:var(--muted);margin:0;font-size:.75rem;font-weight:700;line-height:1.4}.item-granted-spell-list{gap:8px;display:grid}.item-granted-spell-row{border:1px solid var(--line);background:var(--panel);border-radius:7px;grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr) auto;align-items:end;gap:8px;padding:9px;display:grid}.item-granted-spell-row label{margin-bottom:0}.item-granted-spell-row>button{margin-bottom:1px}.item-granted-spell-empty{border:1px dashed #6b4ca53d;border-radius:6px;padding:8px 10px}.item-granted-spell-summary strong{color:var(--ink)}.spell-scroll-fields{background:#f7f9fe;border:1px solid #d7e0f4;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px;padding:10px;display:grid}.spell-scroll-heading{grid-column:1/-1;justify-content:space-between;align-items:center;gap:10px;display:flex}.spell-scroll-heading .section-title,.spell-scroll-fields label{margin-bottom:0}.spell-scroll-fields textarea{min-height:74px}.spell-scroll-wide-field{grid-column:1/-1}.spell-flag-toggle{color:#2d508d;background:#fff;border:1px solid #d7e0f4;border-radius:6px;align-self:end;min-height:38px;padding:8px 10px}.item-row{border:1px solid var(--line);background:#fffffff0;border-left:3px solid #2f6f5e75;border-radius:8px;min-width:0;padding:0;display:block;position:relative;box-shadow:0 3px 14px #1f25230d}.item-row.lost{border-left-color:var(--red)}.item-row.sold{border-left-color:var(--amber)}.item-row.consumed{border-left-color:var(--red)}.item-row.learned{border-left-color:var(--green)}.item-row.copied{border-left-color:#8b5cf6}.item-row.actions-open{z-index:20}.item-row-toggle{width:100%;min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 106px 10px 12px;display:grid;position:relative}.item-row-toggle:hover{background:#edf7f161}.item-row-toggle:focus-visible{outline-offset:-3px;outline:2px solid #2f6f5e80}.item-row-toggle-chevron{color:var(--green-dark);transition:transform .16s}.item-row-owner-indicator{justify-content:flex-end;align-items:center;gap:9px;min-width:18px;display:inline-flex}.item-holder-avatar{background:var(--paper);width:32px;height:32px;color:var(--green-dark);border:2px solid #2f6f5e57;border-radius:999px;flex:none;place-items:center;font-size:.72rem;font-weight:900;line-height:1;display:grid;overflow:hidden;box-shadow:0 2px 7px #1f252324}.item-holder-avatar img{object-fit:contain;object-position:center;width:100%;height:100%}.item-row-toggle[aria-expanded=true] .item-row-toggle-chevron{transform:rotate(180deg)}.item-image-preview{aspect-ratio:1;color:#2d508d;background:#f4f7fd;border:1px solid #d7e0f4;border-radius:7px;place-items:center;width:54px;display:grid;overflow:hidden}.item-image-preview>span{width:100%;height:100%;color:inherit;place-items:center;font-size:.78rem;font-weight:850;text-decoration:none;display:grid}.item-image-preview img{object-fit:cover;width:100%;height:100%}.item-row-body{min-width:0;display:grid}.item-row-header{gap:7px;min-width:0;display:grid}.item-row-title{gap:2px;min-width:0;display:grid}.item-row-title strong,.item-row-title span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.item-row-scan-actions{z-index:3;flex:none;align-items:center;gap:6px;display:inline-flex;position:absolute;top:10px;right:12px}.status-pill{color:#52605b;white-space:nowrap;background:#f5f7f6;border:1px solid #cbd5d1;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:3px 10px;font-size:.75rem;font-weight:850;display:inline-flex}.status-pill.active{color:var(--green-dark);background:#edf7f1;border-color:#cfe1d5}.status-pill.lost{color:#8f3528;background:#fff0ed;border-color:#edc9c3}.status-pill.sold{color:#724a0b;background:#fff8eb;border-color:#ead3a4}.status-pill.consumed{color:#8f3528;background:#fff0ed;border-color:#edc9c3}.status-pill.learned{color:var(--green-dark);background:#edf7f1;border-color:#cfe1d5}.status-pill.copied{color:#223245;background:linear-gradient(90deg,#ffe1e8,#fff1bc,#dcf9e6,#dcecff,#efe3ff) padding-box padding-box,linear-gradient(90deg,#e84a5f,#f7b733,#49b675,#3689ff,#8b5cf6) border-box;border-color:#0000}.item-metadata-pills{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.item-scan-badges{flex-wrap:wrap;overflow:visible}.item-metadata-pills span,.item-metadata-pills a{color:#52605b;overflow-wrap:anywhere;background:#f5f8f6;border:1px solid #d3dfda;border-radius:999px;align-items:center;gap:5px;max-width:100%;min-height:24px;padding:3px 8px;font-size:.72rem;font-weight:850;line-height:1.15;text-decoration:none;display:inline-flex}.item-scan-badges span{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;overflow:hidden}.item-metadata-pills a{color:#2d508d;background:#f4f7fd;border-color:#d7e0f4}.item-metadata-pills .attunement-warning-pill{color:#724a0b;background:#fff8eb;border-color:#ead3a4}.item-metadata-pills .attunement-warning-pill.danger{color:#8f3528;background:#fff0ed;border-color:#edc9c3}.attunement-warning-pill svg{flex:none}.item-row-expanded-content{background:#fffdf380;border-top:1px solid #2f6f5e2e;gap:10px;min-width:0;padding:12px 14px 14px;display:grid}.item-description-expanded{overflow-wrap:anywhere;background:#edf7f18a;border-left:2px solid #2f6f5e47;border-radius:0 6px 6px 0;gap:10px;min-width:0;padding:9px 12px;display:grid}.item-row-expanded-content[hidden]{display:none}.item-description-panel-heading{color:#31463f;letter-spacing:.04em;text-transform:uppercase;margin:0;font-size:.75rem;font-weight:900;line-height:1.2}.item-description-empty{color:#89918d;margin:0;font-size:.82rem;font-style:italic}.item-description-play-section{gap:5px;min-width:0;display:grid}.item-description-section-heading{color:#31463f;margin:0;font-size:.78rem;font-weight:900;line-height:1.25}.item-description-play-section ul{gap:5px;min-width:0;margin:0;padding-left:1.2rem;list-style:outside;display:grid}.item-description-play-section li{color:var(--muted);overflow-wrap:anywhere;font-size:.82rem;line-height:1.42}.item-description-play-section li::marker{color:var(--green)}.item-full-description-disclosure{background:#ffffffb8;border:1px solid #2f6f5e38;border-radius:7px;min-width:0;overflow:hidden}.item-full-description-disclosure>summary{min-width:0;color:var(--green-dark);cursor:pointer;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;font-size:.78rem;font-weight:900;list-style:none;display:flex}.item-full-description-disclosure>summary::-webkit-details-marker{display:none}.item-full-description-disclosure>summary:focus-visible{outline-offset:-3px;outline:2px solid #2f6f5e80}.item-full-description-disclosure>summary svg{flex:none;transition:transform .16s}.item-full-description-disclosure[open]>summary svg{transform:rotate(180deg)}.item-full-description-content{border-top:1px solid #2f6f5e29;gap:10px;min-width:0;padding:10px 11px 11px;display:grid}.item-full-description-content>p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.84rem;line-height:1.5}.item-full-description-content>p.muted{color:#89918d;font-style:italic}.item-full-description-links{flex-wrap:wrap;gap:8px;display:flex}.item-full-description-links a{color:#2d508d;align-items:center;gap:5px;font-size:.75rem;font-weight:850;text-decoration:none;display:inline-flex}.item-full-description-links a:hover{text-decoration:underline}.item-actions-menu{justify-self:end;min-width:0;display:inline-flex;position:relative}.item-actions-trigger{width:34px;min-width:34px;height:34px}.item-actions-popover{z-index:11;background:#fff;border:1px solid #cfd9d4f5;border-radius:8px;gap:6px;width:min(250px,100vw - 32px);padding:8px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 56px #18231f2e}.item-action-choice{color:#22342f;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 10px;font-size:.84rem;font-weight:850;display:flex}.item-action-choice:hover,.item-action-choice:focus-visible{color:var(--green-dark);background:#edf7f1;border-color:#2f6f5e47;outline:none}.item-action-choice:disabled,.item-action-choice.disabled{cursor:default;opacity:.58}.item-action-choice.danger{color:var(--red)}.item-action-choice.danger:hover,.item-action-choice.danger:focus-visible{color:#8f3528;background:#fff0ed;border-color:#a947373d}.learn-scroll-action{color:var(--green-dark);background:#edf7f1;border-color:#cfe1d5}.item-action-status-field{border-top:1px solid #cfd9d4b8;border-bottom:1px solid #cfd9d4b8;gap:6px;margin:0;padding:8px 2px}.item-action-status-field select{width:100%}.item-edit-form{border-top:1px solid #cfd9d4bd;padding-top:10px}.assign-item-modal{background:#fffffffa;border:1px solid #cfd9d4f5;border-radius:8px;gap:12px;width:min(680px,100%);padding:14px;display:grid;box-shadow:0 24px 80px #151c1947}.assign-item-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.assign-item-header .section-title{min-width:0;margin-bottom:0}.assign-current-owner{background:#f4f7fd;border:1px solid #d7e0f4;border-radius:8px;justify-content:space-between;align-items:baseline;gap:10px;padding:9px 10px;display:flex}.assign-current-owner span{color:var(--muted);font-size:.78rem;font-weight:800}.assign-current-owner strong{color:#2d508d;font-size:.9rem;font-weight:900}.assign-character-list{gap:8px;max-height:min(520px,100vh - 230px);padding-right:2px;display:grid;overflow:auto}.assign-character-option{border:1px solid var(--line);background:var(--paper);width:100%;min-height:58px;color:var(--ink);text-align:left;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px;display:grid}.assign-character-option:hover,.assign-character-option:focus-visible{background:#edf7f1;border-color:#2f6f5e75;outline:none}.assign-character-option.selected{background:#edf7f1;border-color:#2f6f5e94;box-shadow:0 0 0 2px #2f6f5e1a}.assign-character-option:disabled{cursor:default;opacity:.62}.assign-character-option>svg{color:var(--green-dark)}.assign-character-option.stash{grid-template-columns:auto minmax(0,1fr) auto}.assign-stash-icon{color:#724a0b;background:#fff8eb;border:1px solid #ead3a4;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.assign-character-copy{gap:3px;min-width:0;display:grid}.assign-character-copy strong{overflow-wrap:anywhere;min-width:0;font-size:.86rem;font-weight:850}.assign-character-copy small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;line-height:1.3;overflow:hidden}.assign-character-copy small.assign-attunement-note{color:#2d508d;text-overflow:clip;white-space:normal;font-weight:850;overflow:visible}.assign-character-copy small.assign-attunement-note.warning{color:#724a0b}.assign-character-copy small.assign-attunement-note.danger{color:#8f3528}.learn-scroll-modal{background:#fffffffa;border:1px solid #cfd9d4f5;border-radius:8px;gap:14px;width:min(760px,100%);padding:14px;display:grid;box-shadow:0 24px 80px #151c1947}.learn-scroll-header,.learn-scroll-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.learn-scroll-header .section-title{min-width:0;margin-bottom:0}.learn-scroll-grid{grid-template-columns:minmax(180px,.85fr) minmax(220px,1.2fr) minmax(128px,.45fr) auto;align-items:end;gap:10px;display:grid}.learn-scroll-grid label{margin-bottom:0}.learn-copy-toggle{color:#2d508d;background:#f4f7fd;border:1px solid #d7e0f4;border-radius:6px;min-height:38px;padding:8px 10px}.learn-scroll-status{min-height:30px}.learn-scroll-consume-warning{border:1px solid var(--destructive);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:10px;display:grid}@supports (color:color-mix(in lab,red,red)){.learn-scroll-consume-warning{border:1px solid color-mix(in srgb,var(--destructive) 58%,transparent)}}.learn-scroll-consume-warning{background:var(--destructive);border-radius:6px}@supports (color:color-mix(in lab,red,red)){.learn-scroll-consume-warning{background:color-mix(in srgb,var(--destructive) 10%,transparent)}}.learn-scroll-consume-warning{color:var(--destructive);padding:10px 12px}.learn-scroll-consume-warning svg{margin-top:2px}.learn-scroll-consume-warning>div{gap:2px;display:grid}.learn-scroll-consume-warning span{color:inherit;font-size:.82rem;line-height:1.4}.catalog-match{color:#724a0b;background:#fff8eb;border:1px solid #ead3a4;border-radius:999px;align-items:center;min-height:26px;padding:4px 9px;font-size:.74rem;font-weight:850;display:inline-flex}.catalog-match.matched{color:var(--green-dark);background:#edf7f1;border-color:#cfe1d5}.learn-scroll-actions{border-top:1px solid #cfd9d4b8;justify-content:flex-end;padding-top:12px}.command-button.danger-text{color:var(--red)}.character-search{width:min(360px,100%);margin-bottom:0}.character-roster{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.character-card{border:1px solid var(--line);background:#fffffff0;border-left:3px solid #2f6f5e75;border-radius:8px;gap:12px;min-width:0;padding:12px;display:grid;box-shadow:0 3px 14px #1f25230d}.character-card.active{background:#edf7f1;border-color:#2f6f5e94}.character-card.selected{background:#f4f7fd;border-color:#2d508d7a}.character-workspace-panel{background:#ffffffe6;border:1px solid #cfd9d4eb;border-radius:8px;gap:14px;margin-bottom:14px;padding:14px;display:grid;box-shadow:0 4px 18px #1f25230d}.character-section-switch{background:#f3f6f4;border:1px solid #cfd9d4eb;border-radius:8px;align-items:stretch;gap:4px;width:100%;height:auto;min-height:42px;padding:4px;display:flex}.character-section-switch [data-slot=tabs-trigger]{color:#56645f;background:0 0;border:1px solid #0000;border-radius:6px;flex:1 1 0;min-width:0;height:34px;font-size:.8rem;font-weight:850;transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s}.character-workspace-tab{gap:14px;padding-top:12px;display:grid}.builder-grid,.sheet-detail-grid,.spell-builder-grid,.audit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.builder-panel{background:#fff;border:1px solid #cfd9d4db;border-radius:8px;gap:10px;min-width:0;padding:12px;display:grid}.math-review-builder-panel{background:linear-gradient(#fffdfb,#fff);border-color:#c653443d}.math-review-target-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.math-review-target-row{min-width:0;color:inherit;background:#fff;border:1px solid #cfd9d4db;border-radius:8px;grid-template-columns:minmax(118px,.5fr) minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;text-decoration:none;display:grid}.math-review-target-row.warning{background:#fff8f6;border-color:#c6534447}.math-review-target-row.info{background:#f8fbff;border-color:#2d508d38}.math-review-target-row:hover{border-color:#2d508d61;box-shadow:0 8px 18px #22342f12}.math-review-target-row:focus-visible,.math-review-marker:focus-visible{outline-offset:2px;outline:2px solid #2d508d6b}.math-review-target-row span{gap:2px;min-width:0;display:grid}.math-review-target-row strong{color:#22342f;overflow-wrap:anywhere;font-size:.83rem;font-weight:900}.math-review-target-row small{color:#71807b;font-size:.7rem;font-weight:800}.math-review-target-row em{color:#53615c;overflow-wrap:anywhere;min-width:0;font-size:.73rem;font-style:normal;font-weight:750;line-height:1.3}.math-review-target-copy{gap:5px}.math-review-target-action{color:#216d64;align-items:center;gap:3px;width:max-content;font-size:.68rem;font-weight:900;display:inline-flex!important}.math-review-section-target{border-color:#c6534457;scroll-margin-top:88px;box-shadow:inset 3px 0 #c6534485}.math-review-marker{color:#56645f;background:#fff;border:1px solid #cfd9d4db;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:7px;width:fit-content;min-width:54px;min-height:34px;padding:5px 10px;font-size:1rem;font-weight:900;line-height:1;display:inline-flex}.math-review-marker.warning{color:#a33d30;background:#fff4f2;border-color:#c653445c}.math-review-marker.info{color:#2d508d;background:#f3f7ff;border-color:#2d508d3d}.math-review-marker svg{color:#2f766c;stroke-width:2px}.math-review-marker.info svg{color:#2d508d}.math-review-marker span{text-align:center;min-width:10px}.math-review-tooltip-content{max-width:min(340px,100vw - 32px)}.math-review-tooltip{gap:8px;min-width:210px;line-height:1.35;display:grid}.math-review-tooltip>strong{color:#22342f;font-size:.8rem}.math-review-tooltip-list{gap:6px;display:grid}.math-review-tooltip-list>span{color:#53615c;gap:2px;font-size:.73rem;font-weight:750;display:grid}.math-review-tooltip-list small,.math-review-tooltip-list em{color:#71807b;font-size:.68rem;font-style:normal;font-weight:850}.core-build-panel{align-content:start;align-self:start}.builder-panel-wide{grid-column:1/-1}.character-build-grid,.ability-editor-grid,.sheet-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;display:grid}.character-build-grid{--builder-core-control-height:42px;--builder-core-control-font-size:.86rem;--builder-core-control-font-weight:850;--builder-core-label-size:.76rem;align-items:start}.class-track-list{grid-column:1/-1;gap:8px;min-width:0;display:grid}.class-track-row{background:#f8fbf7;border:1px solid #cfd9d4c7;border-radius:8px;gap:8px;min-width:0;max-width:100%;padding:8px;display:grid}.class-track-row-header{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.class-track-row-header>[data-slot=badge]{white-space:nowrap;flex:none}.class-track-row-header>.icon-button:disabled{visibility:hidden}.class-track-fields{grid-template-columns:minmax(150px,1.15fr) minmax(82px,.42fr) minmax(150px,1.15fr);align-items:start;gap:8px;min-width:0;display:grid}.class-track-fields>[data-slot=label],.class-track-fields>.rule-option-picker,.class-track-fields select,.class-track-fields input{min-width:0}.class-track-fields select{width:100%}.class-track-add{justify-self:start}.builder-profile-picture-row{grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:10px;min-width:0;padding-top:2px;display:grid}.builder-profile-picture-picker{width:64px;height:64px;position:relative}.builder-profile-preview{width:64px;height:64px}.builder-profile-upload-button{cursor:pointer;padding:0;transition:border-color .16s,box-shadow .16s,transform .16s;position:relative}.builder-profile-upload-button:hover:not(:disabled),.builder-profile-upload-button:focus-visible{border-color:var(--green);box-shadow:0 0 0 3px #2f6f5e2e}.builder-profile-upload-button:hover:not(:disabled){transform:translateY(-1px)}.builder-profile-upload-button:disabled{cursor:not-allowed;opacity:.64}.builder-profile-edit-chip{color:#fff;background:#22342fe0;border:1px solid #ffffffd1;border-radius:999px;place-items:center;width:24px;height:24px;display:grid;position:absolute;bottom:5px;right:5px;box-shadow:0 4px 12px #161f1c3d}.builder-profile-picture-copy{align-self:center;gap:4px;min-width:0;display:grid}.builder-profile-picture-copy strong,.builder-profile-picture-copy span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.builder-profile-picture-copy strong{color:#22342f;font-size:.88rem;font-weight:900}.builder-profile-picture-copy span{color:#56645f;font-size:.74rem;font-weight:800}.character-build-grid .builder-profile-default-button{height:var(--builder-core-control-height);min-height:var(--builder-core-control-height);font-size:var(--builder-core-control-font-size);font-weight:var(--builder-core-control-font-weight);white-space:nowrap;align-self:end;padding:0 14px;line-height:1.2}.ability-method-switch{background:#f5f8f6;border:1px solid #cfd9d4d6;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:4px;display:grid}.ability-method-button{color:#56645f;background:0 0;border:1px solid #0000;border-radius:6px;min-width:0;min-height:34px;padding:6px 8px;font-size:.73rem;font-weight:850}.ability-method-button.active{color:#22342f;background:#fff;border-color:#2d508d38;box-shadow:0 5px 18px #18231f14}.ability-method-panel{gap:10px;min-width:0;display:grid}.ability-method-status{color:#31433d;background:#f8fbf7;border:1px solid #cfd9d4c7;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:8px 10px;display:flex}.ability-method-status.warning{background:#fff8f5;border-color:#b85b4c61}.ability-method-status strong{color:#22342f;font-size:.78rem;font-weight:900;line-height:1.1}.ability-method-status span{color:#56645f;text-align:right;font-size:.72rem;font-weight:800;line-height:1.2}.ability-method-actions{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.compact-command-button{color:#22342f;border-radius:7px;min-height:34px;font-size:.73rem;font-weight:850}.point-buy-grid,.random-roll-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.point-buy-row{background:#f7f9fe;border:1px solid #d7e0f4f2;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px;display:grid}.point-buy-row>span{gap:2px;min-width:0;display:grid}.point-buy-row>span strong{color:#22342f;overflow-wrap:anywhere;font-size:.76rem;font-weight:900;line-height:1.1}.point-buy-row>span small{color:#56645f;font-size:.66rem;font-weight:850;line-height:1.1}.point-buy-stepper{grid-template-columns:32px 38px 32px;align-items:center;gap:4px;display:grid}.point-buy-stepper>strong{color:#22342f;text-align:center;font-size:1.08rem;font-weight:950;line-height:1}.ability-step-button{border-radius:7px;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;font-size:1.02rem;font-weight:900}.random-roll-card{background:#f7f9fe;border:1px solid #d7e0f4f2;border-radius:8px;gap:7px;min-width:0;margin-bottom:0;padding:8px;display:grid}.random-roll-heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.random-roll-heading strong{color:#22342f;font-size:1.18rem;font-weight:950;line-height:1}.random-roll-heading small{color:#56645f;text-align:right;overflow-wrap:anywhere;font-size:.66rem;font-weight:850;line-height:1.15}.character-build-grid>[data-slot=label],.character-build-grid>.rule-option-picker,.class-track-fields>[data-slot=label],.class-track-fields>.rule-option-picker,.builder-profile-upload-field{color:#31433d;font-size:var(--builder-core-label-size);align-content:start;gap:6px;min-width:0;margin-bottom:0;font-weight:850;line-height:1}.character-build-grid input:not([type=checkbox]):not([type=radio]),.character-build-grid select{height:var(--builder-core-control-height);min-height:var(--builder-core-control-height);color:#22342f;font-family:inherit;font-size:var(--builder-core-control-font-size);font-weight:var(--builder-core-control-font-weight);border-radius:7px;padding:0 12px;line-height:1.2}.character-build-grid select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%2331433d'%20stroke-width='2.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m6%209%206%206%206-6'/%3E%3C/svg%3E");background-position:right 11px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:36px}.character-build-grid input:disabled,.character-build-grid select:disabled{color:#71807b;cursor:not-allowed;opacity:1;-webkit-text-fill-color:#71807b}.character-build-grid input[type=file]{padding:0 12px 0 0;overflow:hidden}.character-build-grid input[type=file]::file-selector-button{height:calc(var(--builder-core-control-height) - 2px);border:0;border-right:1px solid var(--line);color:#22342f;font:inherit;font-weight:var(--builder-core-control-font-weight);background:#ffffffad;margin:0 12px 0 0;padding:0 12px}.rule-option-picker{align-content:start;gap:6px;min-width:0;display:grid}.rule-option-picker-label{color:#31433d;font-size:.76rem;font-weight:850;line-height:1}.rule-option-combobox{min-width:0;position:relative}.rule-option-trigger{width:100%;min-width:0;height:var(--builder-core-control-height,38px);border:1px solid var(--input);color:#22342f;font-family:inherit;font-size:var(--builder-core-control-font-size,inherit);font-weight:var(--builder-core-control-font-weight,850);text-align:left;cursor:pointer;background:#fffdf5e6;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:0 10px 0 12px;line-height:1.2;display:flex;position:relative}.rule-option-trigger:hover:not(:disabled){border-color:var(--primary);background:#fff}.rule-option-trigger:focus-visible{border-color:var(--forge-teal-dark,var(--primary));outline:none;box-shadow:0 0 0 3px #4ec4b629}.rule-option-trigger:disabled{color:#71807b;cursor:not-allowed;opacity:1}.rule-option-trigger-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rule-option-trigger-value.placeholder{color:#71807b}.character-manager-shell [aria-invalid=true]{background-color:#fff8f5;border-color:#b85b4c}.rule-option-chevron{color:#31433d;pointer-events:none;flex:none;transition:transform .14s}.rule-option-chevron.open{transform:rotate(180deg)}.rule-option-sheet[data-side=center]{color:#26372f;background:#f5eed9;border:1px solid #d1a24c7a;border-radius:18px;gap:0;width:min(720px,100vw - 48px);max-width:720px;height:min(800px,100dvh - 48px);max-height:800px;transition:opacity .18s,transform .22s;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 28px 90px #05090775}.rule-option-sheet[data-side=center][data-state=closed]{opacity:0;transform:translate(-50%,calc(12px - 50%))scale(.98)}.rule-option-sheet[data-side=center][data-state=open]{opacity:1;transform:translate(-50%,-50%)scale(1)}.rule-option-sheet.has-detail{width:min(980px,100vw - 24px);max-width:980px}.rule-option-sheet.alignment-grid-sheet{width:min(840px,100vw - 32px);max-width:840px;height:auto;max-height:min(800px,100dvh - 32px)}.rule-option-sheet-header{background:radial-gradient(circle at 88% 0,#4ec4b626,#0000 32%),linear-gradient(135deg,#29382f,#121a16);border-bottom:1px solid #d1a24c61;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;padding:22px 24px 18px;display:grid}.rule-option-sheet-header>div{gap:5px;display:grid}.rule-option-sheet-kicker{color:#e6c978;letter-spacing:.13em;text-transform:uppercase;font-size:.65rem;font-weight:900}.rule-option-sheet-header [data-slot=sheet-title]{color:#fff8e7;font-family:var(--forge-display);font-size:clamp(1.35rem,2.3vw,1.8rem);line-height:1.05}.rule-option-sheet-header [data-slot=sheet-description]{color:#f3e8cbb8;max-width:480px;font-size:.78rem;font-weight:650;line-height:1.45}.rule-option-sheet-close[data-slot=button]{color:#fff8e7;background:#ffffff0f;border-color:#f2d98d57}.rule-option-sheet-close[data-slot=button]:hover{color:#fff8e7;background:#ffffff1f;border-color:#f2d98da3}.rule-option-sheet-controls{background:#fffae9eb;border-bottom:1px solid #7e663c3d;gap:10px;padding:16px 20px 14px;display:grid}.rule-option-sheet-controls label{color:#31433d;gap:6px;margin:0;font-size:.7rem;font-weight:900}.rule-option-sheet-controls input{color:#22342f;background:#fff;border-color:#715a3357;height:44px;font-size:.9rem;font-weight:800}.rule-option-sheet-toolbar{color:#66746e;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:.7rem;font-weight:850;display:flex}.rule-option-sheet-browser{flex:auto;min-height:0;display:flex;overflow:hidden}.rule-option-sheet.has-detail .rule-option-sheet-browser{grid-template-columns:minmax(300px,.88fr) minmax(360px,1.12fr);display:grid}.alignment-grid-layout{overscroll-behavior:contain;flex:auto;gap:12px;min-width:0;min-height:0;padding:18px 20px 20px;display:grid;overflow-y:auto}.alignment-law-axis{color:#6c5527;letter-spacing:.06em;text-transform:uppercase;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;margin-left:54px;font-size:.66rem;font-weight:900;display:grid;position:relative}.alignment-law-axis:before{content:"";background:linear-gradient(90deg,#328f75,#d1a24c 50%,#a95444);height:2px;position:absolute;bottom:3px;left:2px;right:2px}.alignment-law-axis span{z-index:1;background:#f5eed9;justify-self:start;padding:0 7px 8px 0;position:relative}.alignment-law-axis span:nth-child(2){color:#31433d;justify-self:center;padding-inline:8px}.alignment-law-axis span:last-child{justify-self:end;padding-left:7px;padding-right:0}.alignment-grid-body{grid-template-columns:42px minmax(0,1fr);gap:12px;min-width:0;display:grid}.alignment-good-axis{color:#6c5527;letter-spacing:.06em;text-transform:uppercase;grid-template-rows:1fr auto 1fr;justify-items:center;font-size:.64rem;font-weight:900;display:grid;position:relative}.alignment-good-axis:before{content:"";background:linear-gradient(#328f75,#d1a24c 50%,#a95444);width:2px;position:absolute;top:2px;bottom:2px;left:calc(50% - 1px)}.alignment-good-axis span{z-index:1;background:#f5eed9;align-self:start;padding:0 4px 7px;position:relative}.alignment-good-axis span:nth-child(2){color:#31433d;writing-mode:vertical-rl;align-self:center;padding-block:8px;transform:rotate(180deg)}.alignment-good-axis span:last-child{align-self:end;padding-block:7px 0}.alignment-option-grid{gap:8px;min-width:0;display:grid}.alignment-option-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.alignment-option-cell{color:#22342f;min-width:0;min-height:128px;font:inherit;text-align:center;cursor:pointer;background:linear-gradient(145deg,#ffffffb3,#0000 52%),#fffdf5f2;border:1px solid #7e663c52;border-radius:12px;align-content:center;justify-items:center;gap:8px;padding:15px 13px;transition:border-color .14s,background .14s,transform .14s,box-shadow .14s;display:grid;position:relative;box-shadow:0 8px 20px #30291b0f}.alignment-option-cell:hover,.alignment-option-cell:focus-visible{background:#fff;border-color:#246f64ad;outline:none;transform:translateY(-2px);box-shadow:0 12px 28px #246f6424}.alignment-option-cell.selected{background:radial-gradient(circle at 50% 10%,#ffffffe6,#0000 46%),#dff1e9;border-color:#246f64;box-shadow:inset 0 0 0 2px #246f6429,0 12px 26px #246f6429}.alignment-option-cell strong{max-width:100%;font-family:var(--forge-display);overflow-wrap:anywhere;font-size:1.02rem;line-height:1.08}.alignment-option-cell span{color:#56655f;-webkit-line-clamp:3;-webkit-box-orient:vertical;max-width:190px;font-size:.68rem;font-weight:700;line-height:1.38;display:-webkit-box;overflow:hidden}.alignment-option-cell svg{color:#216d64;position:absolute;top:8px;right:8px}.alignment-grid-footer{justify-content:flex-end;align-items:center;gap:12px;margin-left:54px;display:flex}.rule-option-sheet-list{overscroll-behavior:contain;flex:auto;grid-auto-rows:max-content;align-content:start;align-items:start;gap:10px;min-height:0;padding:16px 18px 26px;display:grid;overflow-y:auto}.rule-option-sheet.has-detail .rule-option-sheet-list{border-right:1px solid #7e663c3d}.rule-option-menu-item{width:100%;min-height:74px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:#fffdf5f0;border:1px solid #7e663c42;border-radius:11px;justify-content:space-between;align-items:flex-start;gap:12px;padding:13px 14px;transition:border-color .14s,background .14s,transform .14s,box-shadow .14s;display:flex;box-shadow:0 8px 20px #30291b0f}.rule-option-menu-item:hover:not(.disabled),.rule-option-menu-item:focus-visible:not(.disabled){background:#fff;border-color:#246f648f;outline:none;transform:translateY(-1px);box-shadow:0 12px 28px #246f641f}.rule-option-menu-item.selected{color:#22342f;background:#eaf5ef;border-color:#246f64ad;box-shadow:0 0 0 2px #4ec4b61f,0 12px 28px #246f641a}.rule-option-menu-item.inspected{background:#fffaf0;border-color:#d1a24cc7;box-shadow:inset 4px 0 #d1a24cd1,0 12px 28px #5845221a}.rule-option-menu-item.disabled{cursor:not-allowed;opacity:.58}.rule-option-empty{color:#71807b;place-items:center;min-height:180px;font-size:.78rem;font-weight:850;display:grid}.rule-option-menu-copy{gap:5px;min-width:0;display:grid}.rule-option-menu-copy strong{color:#22342f;overflow-wrap:anywhere;font-size:.96rem;line-height:1.15}.rule-option-menu-copy small{color:#71807b;letter-spacing:0;text-transform:uppercase;font-size:.67rem;font-weight:850;line-height:1.15}.rule-option-menu-summary{color:#485751;font-size:.76rem;font-weight:700;line-height:1.45;display:block}.rule-option-sheet.has-detail .rule-option-menu-summary{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.rule-option-disabled-reason{color:#9b4a3d;font-size:.67rem;font-style:normal;font-weight:850}.rule-option-detail{background:radial-gradient(circle at 100% 0,#4ec4b614,#0000 34%),#fffdf5c2;flex-direction:column;min-width:0;min-height:0;display:flex}.rule-option-detail-heading{border-bottom:1px solid #7e663c33;gap:7px;padding:22px 24px 18px;display:grid}.rule-option-detail-heading>span{color:#9b762f;letter-spacing:.11em;text-transform:uppercase;font-size:.64rem;font-weight:900}.rule-option-detail-heading h3{color:#22342f;font-family:var(--forge-display);outline:none;margin:0;font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.06}.rule-option-detail-heading small{color:#66746e;text-transform:uppercase;font-size:.7rem;font-weight:850;line-height:1.4}.rule-option-detail-back[data-slot=button]{display:none}.rule-option-detail-body{overscroll-behavior:contain;flex:auto;min-height:0;padding:22px 24px 28px;overflow-y:auto}.feat-picker-detail-copy,.feat-picker-detail-text{gap:14px;display:grid}.feat-picker-detail-facts{flex-wrap:wrap;gap:7px;display:flex}.feat-picker-detail-facts span{color:#216d64;background:#4ec4b617;border:1px solid #246f6438;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:850;line-height:1.25}.feat-picker-detail-text p{color:#3f4f49;white-space:pre-line;margin:0;font-size:.84rem;font-weight:650;line-height:1.62}.rule-option-detail-footer{padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:#fffae9f5;border-top:1px solid #7e663c3d;justify-content:space-between;align-items:center;gap:16px;display:flex}.rule-option-detail-footer>span{color:#66746e;font-size:.7rem;font-weight:800;line-height:1.35}.rule-option-detail-footer [data-slot=button]{white-space:normal;max-width:240px;height:auto;min-height:42px}.rule-option-detail-selected{align-items:center;gap:6px;display:inline-flex;color:#216d64!important}.rule-option-detail-empty{color:#71807b;text-align:center;place-content:center;justify-items:center;gap:8px;min-height:100%;padding:32px;display:grid}.rule-option-detail-empty svg{color:#9b762f}.rule-option-detail-empty strong{color:#31433d;font-family:var(--forge-display);font-size:1.15rem}.rule-option-detail-empty span{max-width:300px;font-size:.76rem;font-weight:700;line-height:1.5}.rule-option-selected-detail{background:#4ec4b612;border:1px solid #246f642e;border-radius:7px;gap:3px;padding:7px 9px;display:grid}.rule-option-selected-detail>span{color:#216d64;letter-spacing:.04em;text-transform:uppercase;font-size:.63rem;font-weight:900}.rule-option-selected-detail p{color:#485751;margin:0;font-size:.7rem;font-weight:700;line-height:1.35}.equipment-builder-grid{grid-template-columns:repeat(3,minmax(0,1fr)) max-content;align-items:end;gap:10px;display:grid}.starting-equipment-controls{grid-template-columns:minmax(220px,2fr) minmax(72px,.42fr) max-content max-content}.starting-equipment-suggestion-row{grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:10px;min-width:0;display:grid}.starting-equipment-suggestions{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.starting-equipment-suggestion-pill{color:#2d508d;white-space:normal;background:#f4f7fd;border-color:#2d508d3d;gap:4px;max-width:100%}.starting-equipment-suggestion-pill span{overflow-wrap:anywhere;min-width:0}.starting-equipment-row{grid-template-columns:minmax(0,1fr)}.selected-spell-row .starting-equipment-copy{gap:2px;min-width:0;display:grid}.starting-equipment-row-header{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.starting-equipment-summary{gap:2px;min-width:0;display:grid}.starting-equipment-actions{flex:none;grid-template-columns:minmax(104px,auto) 72px 38px;align-items:start;gap:8px;display:grid}.starting-equipment-carry-toggle{color:#2d508d;min-height:38px;font:inherit;cursor:pointer;background:#f4f7fde0;border:1px solid #2d508d33;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding:6px 9px;font-size:.78rem;font-weight:800;display:inline-flex}.starting-equipment-carry-toggle:hover:not(:disabled){background:#eef3fb;border-color:#2d508d6b}.starting-equipment-carry-toggle:focus-visible{outline-offset:2px;outline:2px solid #2d508d94}.starting-equipment-carry-toggle:disabled{cursor:not-allowed;opacity:.55}.starting-equipment-carry-track{background:#aeb8b3;border-radius:999px;flex:none;width:29px;height:17px;transition:background .14s;position:relative;box-shadow:inset 0 0 0 1px #23363224}.starting-equipment-carry-track>span{background:#fffdf5;border-radius:50%;width:11px;height:11px;transition:transform .14s;position:absolute;top:3px;left:3px;box-shadow:0 1px 2px #23363247}.starting-equipment-carry-toggle[aria-checked=true] .starting-equipment-carry-track{background:#2d6f69}.starting-equipment-carry-toggle[aria-checked=true] .starting-equipment-carry-track>span{transform:translate(12px)}.starting-equipment-quantity-input{text-align:center;min-width:0}.starting-equipment-contents{background:linear-gradient(145deg,#f4f7fde6,#fffdf5f0);border:1px solid #2d508d29;border-radius:9px;gap:8px;margin-top:8px;padding:9px 10px 10px;display:grid}.starting-equipment-contents-header{justify-content:space-between;align-items:center;gap:8px;display:flex}.selected-spell-row .starting-equipment-contents-header strong{color:#2d508d;letter-spacing:.05em;text-transform:uppercase;font-size:.68rem}.selected-spell-row .starting-equipment-contents-header small{color:#526b9b;white-space:nowrap;background:#2d508d17;border-radius:999px;padding:2px 7px;font-size:.62rem}.starting-equipment-contents ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,430px),1fr));gap:5px 10px;margin:0;padding:0;list-style:none;display:grid}.starting-equipment-contents li{color:#4c5d57;overflow-wrap:anywhere;background:#ffffff70;border:1px solid #2d508d1a;border-radius:8px;grid-template-columns:5px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;min-height:36px;padding:4px 6px;font-size:.7rem;font-weight:750;line-height:1.3;display:grid}.starting-equipment-contents li.dropped,.sheet-pack-contents li.dropped{opacity:.58}.selected-spell-row .starting-equipment-content-copy{gap:1px;min-width:0;display:grid}.starting-equipment-content-copy small{color:#71807b;font-size:.6rem;font-weight:700}.starting-equipment-content-toggle{color:#526b9b;min-height:26px;font:inherit;cursor:pointer;background:#fffdf5e6;border:1px solid #2d508d38;border-radius:999px;padding:3px 8px;font-size:.6rem;font-weight:900}.starting-equipment-content-toggle[aria-checked=true]{color:#2d6f69;background:#edf7f1eb;border-color:#2f6f5e4d}.starting-equipment-content-toggle:focus-visible{outline-offset:2px;outline:2px solid #2d508d7a}.starting-equipment-content-toggle:disabled{cursor:not-allowed;opacity:.55}.selected-spell-row .starting-equipment-content-actions{justify-self:end;align-items:center;gap:5px;min-width:max-content;display:inline-flex}.starting-equipment-content-remove{color:#805248;cursor:pointer;background:#fffdf5eb;border:1px solid #84473d38;border-radius:999px;place-items:center;width:26px;height:26px;display:grid}.selected-spell-row .starting-equipment-content-structural{color:#71807b;letter-spacing:.03em;text-transform:uppercase;background:#71807b1a;border-radius:999px;justify-self:end;align-items:center;min-width:max-content;padding:3px 7px;font-size:.58rem;font-weight:850;display:inline-flex}.starting-equipment-content-remove:hover:not(:disabled){background:#fcefe8f0;border-color:#84473d6b}.starting-equipment-content-remove:focus-visible{outline-offset:2px;outline:2px solid #84473d6b}.starting-equipment-content-remove:disabled{cursor:not-allowed;opacity:.55}.starting-equipment-removed-summary{border-top:1px solid #2d508d24;justify-content:space-between;align-items:center;gap:8px;padding-top:8px;display:flex}.starting-equipment-removed-summary small{color:#71807b;font-size:.62rem;font-weight:750}.starting-equipment-removed-summary button{color:#2d508d;font:inherit;cursor:pointer;background:0 0;border:0;padding:3px 0;font-size:.64rem;font-weight:900}.starting-equipment-removed-summary button:disabled{cursor:not-allowed;opacity:.55}.starting-equipment-contents li:before{content:"";background:#5c79aa;border-radius:50%;width:5px;height:5px;margin-top:.31rem}.starting-consumables-section{border-top:1px solid #2d508d24;gap:10px;margin-top:4px;padding-top:14px;display:grid}.starting-consumables-section .builder-subsection-title,.starting-consumables-section .builder-subsection-title>span{align-items:center;gap:7px;display:flex}.starting-consumables-section .builder-subsection-title{justify-content:space-between}.builder-consumable-list{gap:6px;display:grid}.builder-consumable-row{background:#f7fbf8d6;border:1px solid #2f6f5e2e;border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:8px;padding:8px 9px;display:grid}.builder-consumable-row>span{gap:2px;min-width:0;display:grid}.builder-consumable-row strong{color:#263a34;font-size:.78rem}.builder-consumable-row small{color:#71807b;font-size:.64rem;font-weight:750}.proficiency-choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:8px;min-width:0;display:grid}.skill-choice-row{background:#f8fbf7;border:1px solid #cfd9d4c7;border-radius:8px;grid-template-columns:minmax(118px,1fr) auto auto;align-items:center;gap:8px;min-width:0;padding:8px;display:grid}.skill-choice-row>span{gap:2px;min-width:0;display:grid}.skill-choice-label{cursor:help;border-radius:6px}.skill-choice-label:focus-visible{outline-offset:2px;outline:2px solid #2f6f5e61}.skill-choice-row strong{color:#22342f;font-size:.78rem;font-weight:900}.skill-choice-row small{color:#71807b;font-size:.68rem;font-weight:800}.skill-choice-row .toggle-row{border:1px solid #0000;margin-bottom:0;padding:4px 6px}.skill-choice-row .toggle-row.sourced{background:#2f6f5e14;border-color:#2f6f5e3d}.skill-choice-row .toggle-row.overridden{color:#79521f;background:#a96f1c1a;border-color:#a96f1c57}.manual-proficiency-overrides{background:#fffcf18a;border:1px solid #7e663c47;border-radius:11px;overflow:hidden}.manual-proficiency-overrides>summary{color:#31453f;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:10px 12px;list-style:none;display:flex}.manual-proficiency-overrides>summary::-webkit-details-marker{display:none}.manual-proficiency-overrides>summary>span{gap:2px;min-width:0;display:grid}.manual-proficiency-overrides>summary strong{font-size:.78rem;font-weight:900}.manual-proficiency-overrides>summary small{color:#71807b;font-size:.67rem;font-weight:750}.manual-proficiency-overrides>summary svg{flex:none;transition:transform .16s}.manual-proficiency-overrides[open]>summary{border-bottom:1px solid #7e663c38}.manual-proficiency-overrides[open]>summary svg{transform:rotate(180deg)}.manual-skill-override-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:10px 10px 0;display:flex}.manual-skill-override-toolbar p{color:#62706b;flex:220px;min-width:0;margin:0;font-size:.7rem;font-weight:700;line-height:1.4}.manual-skill-reset{flex:none}.manual-proficiency-overrides>.proficiency-choice-grid{padding:10px}.skill-info-tooltip-content{max-width:min(360px,100vw - 32px)}.skill-info-tooltip{gap:7px;min-width:220px;line-height:1.38;display:grid}.skill-info-tooltip>strong{color:#22342f;font-size:.82rem}.skill-info-tooltip>span{color:#71807b;text-transform:uppercase;font-size:.68rem;font-weight:850}.skill-info-tooltip p{color:#31433d;margin:0;font-size:.74rem;font-weight:700}.proficiency-source-tooltip-content{max-width:min(300px,100vw - 32px)}.proficiency-source-tooltip{gap:8px;min-width:190px;line-height:1.35;display:grid}.proficiency-source-tooltip>strong{color:#22342f;font-size:.8rem}.proficiency-source-list{gap:5px;display:grid}.proficiency-source-list>span{gap:1px;display:grid}.proficiency-source-list b{color:#31433d;font-size:.74rem}.proficiency-source-list small,.proficiency-source-empty{color:#62706b;font-size:.68rem;font-weight:800}.proficiency-source-overridden{color:#79521f;background:#a96f1c1f;border-radius:999px;width:max-content;padding:3px 7px;font-size:.66rem;font-weight:900}.class-expertise-choice-group,.proficiency-choice-group{border-top:1px solid #b5beb9b8;gap:8px;min-width:0;padding-top:10px;display:grid}.builder-subsection-title{color:#31433d;text-transform:uppercase;align-items:center;gap:6px;min-width:0;font-size:.78rem;font-weight:900;display:flex}.builder-subsection-title svg{color:#7c5f2d;flex:none}.builder-subsection-title .language-count-badge{color:#52605b;text-transform:none;margin-left:auto;font-size:.66rem}.language-rule-guidance{color:#40534d;background:#2f6f5e12;border-left:3px solid #2f6f5e9e;border-radius:0 8px 8px 0;gap:4px;padding:9px 11px;line-height:1.4;display:grid}.language-rule-guidance strong{color:#29423a;font-size:.74rem}.language-rule-guidance span{font-size:.72rem;font-weight:700}.language-rule-guidance small{color:#64756f;font-size:.67rem;font-weight:750}.manual-language-content{gap:10px;padding:10px;display:grid}.manual-language-content>p{color:#62706b;margin:0;font-size:.72rem;font-weight:700;line-height:1.45}.manual-language-content>.manual-language-warning{color:#7a531e;background:#a96f1c1c;border-radius:7px;padding:7px 9px;font-weight:850}.class-expertise-prompt{gap:7px;min-width:0;display:grid}.class-expertise-prompt-title{color:#22342f;font-size:.8rem;font-weight:900}.class-expertise-empty{color:#71807b;background:#fbfcfa;border:1px dashed #b5beb9d1;border-radius:7px;margin:0;padding:8px 10px;font-size:.74rem;font-weight:800}.rule-choice-grid,.freeform-choice-grid,.manual-mechanic-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.freeform-choice-row,.spell-picker-row{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;min-width:0;display:grid}.named-proficiency-multi-select-field{gap:6px;min-width:0;display:grid}.named-proficiency-multi-select-label{line-height:1.1}.named-proficiency-multi-select-trigger{color:#22342f;border-radius:7px;justify-content:space-between;width:100%;min-width:0;min-height:36px;font-size:.78rem;font-weight:850}.named-proficiency-multi-select-trigger span{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.named-proficiency-multi-select-trigger svg{flex:none}.named-proficiency-multi-select-menu{width:min(320px,100vw - 32px)}.named-proficiency-multi-select-item{align-items:flex-start}.named-proficiency-multi-select-copy{gap:2px;min-width:0;display:grid}.named-proficiency-multi-select-copy span{color:#22342f;font-weight:850;line-height:1.15}.named-proficiency-multi-select-copy small{color:#71807b;font-size:.68rem;font-weight:800;line-height:1.15}.named-proficiency-multi-select-empty{color:#71807b;padding:8px;font-size:.74rem;font-weight:800}.rule-choice-multi-select-field{gap:6px;min-width:0;display:grid}.rule-choice-multi-select-label{color:#22342f;font-size:.75rem;font-weight:900;line-height:1.1}.rule-choice-multi-select-trigger{color:#22342f;border-radius:7px;justify-content:space-between;width:100%;min-width:0;min-height:36px;font-size:.78rem;font-weight:850}.rule-choice-multi-select-trigger span{text-align:left;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.rule-choice-multi-select-trigger svg{flex:none}.rule-choice-multi-select-menu{width:min(340px,100vw - 32px)}.rule-choice-multi-select-item{align-items:flex-start}.rule-choice-multi-select-copy{gap:2px;min-width:0;display:grid}.rule-choice-multi-select-copy span{color:#22342f;font-weight:850;line-height:1.15}.rule-choice-multi-select-copy small{color:#71807b;font-size:.68rem;font-weight:800;line-height:1.15}.rule-choice-multi-select-status{color:#71807b;font-size:.68rem;font-weight:850}.rule-choice-selected-list{min-width:0}.spell-summary-brief{background:#fbfcfa;border:1px solid #cfd9d4b8;border-radius:8px;gap:8px;min-width:0;padding:9px;display:grid}.spell-advancement-help,.spell-mode-note{color:#62706b;margin:0;font-size:.82rem;line-height:1.45}.spell-repertoire-guidance{box-sizing:border-box;color:#2f6f5e;background:linear-gradient(145deg,#f4faf6,#fbfcf8);border:1px solid #2f6f5e47;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px 10px;width:100%;min-width:0;max-width:100%;padding:11px;display:grid;overflow:hidden}.spell-repertoire-guidance>div{flex:1 1 0;gap:4px;width:100%;min-width:0;display:grid}.spell-repertoire-guidance strong{color:#243b34;font-size:.82rem;line-height:1.25}.spell-repertoire-guidance p,.spell-repertoire-guidance small{color:#5f6e68;overflow-wrap:anywhere;margin:0;line-height:1.4}.spell-repertoire-guidance p{font-size:.76rem}.spell-repertoire-guidance small{font-size:.7rem;font-weight:750}.spell-repertoire-guidance button{grid-column:1/-1;width:100%}.spell-access-summary{border-color:#2f6f5e66;box-shadow:inset 3px 0 #2f7d6c}.spell-access-meters{grid-template-columns:repeat(auto-fit,minmax(112px,1fr));gap:6px;margin:4px 0;display:grid}.spell-access-meters>span{background:#ffffffb8;border:1px solid #2f6f5e33;border-radius:8px;flex-direction:column;gap:1px;min-width:0;padding:7px 8px;display:flex}.spell-access-meters>span.warning{background:#fff8e9;border-color:#c88a2d}.spell-access-meters small{letter-spacing:.035em;text-transform:uppercase;font-size:.65rem;font-weight:800}.spell-access-meters b{color:#243b34;font-size:.92rem}.wizard-advancement-levels{background:#ffffffad;border:1px solid #2f6f5e38;border-radius:8px;gap:5px;margin:3px 0;padding:8px;display:grid}.wizard-advancement-levels>strong{text-transform:uppercase;letter-spacing:.035em;font-size:.72rem}.wizard-advancement-levels>div{grid-template-columns:repeat(auto-fit,minmax(76px,1fr));gap:5px;display:grid}.wizard-advancement-levels>div>span{background:#f2f7f4;border-radius:6px;gap:1px;min-width:0;padding:5px 6px;display:grid}.wizard-advancement-levels>div>span.limit-reached{color:#805515;background:#fff4dc}.wizard-advancement-levels>div>span.warning{color:#8a3e25;background:#fff0e9}.wizard-advancement-levels b{color:inherit;font-size:.76rem}.spell-add-mode{grid-template-columns:minmax(0,1fr);gap:6px;margin:3px 0;display:grid}.spell-add-mode>small{text-transform:uppercase;letter-spacing:.035em;grid-column:1/-1}.spell-repertoire-guidance .spell-add-mode button{color:#48655c;white-space:normal;background:#ffffffbd;border:1px solid #2f6f5e3d;grid-column:auto;width:auto;min-height:32px;padding:5px 8px;font-size:.68rem;line-height:1.25}.spell-repertoire-guidance .spell-add-mode button.active{color:#1f5f50;background:#e3f3ed;border-color:#2f7d6c}.spell-repertoire-blocked-reason{color:#7b5117;background:#fff7e7;border-top:1px solid #b7791f3d;grid-column:1/-1;margin:0;padding:9px 12px;font-size:.78rem;font-weight:750;line-height:1.4}.spell-builder-deferred-note{color:#2f6f5e;background:#f4faf6;border:1px dashed #2f6f5e52;border-radius:8px;align-items:flex-start;gap:9px;padding:10px;display:flex}.spell-builder-deferred-note>span{gap:2px;display:grid}.spell-builder-deferred-note small{color:#62706b;line-height:1.35}.spell-access-summary{flex-wrap:wrap;align-items:center;gap:7px 9px;min-width:0;display:flex}.spell-summary-kicker{color:#62706b;text-transform:uppercase;font-size:.68rem;font-weight:900;line-height:1}.spell-access-pill-list{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.spell-access-pill{color:#2f6f5e;background:#f3faf5;border-color:#2f6f5e38;font-size:.68rem;font-weight:900}.spell-access-pill-trigger{border-radius:8px;outline:none;display:inline-flex}.spell-access-pill-trigger:focus-visible{box-shadow:0 0 0 2px #2f6f5e3d}.spell-access-source-tooltip-content{max-width:min(260px,100vw - 32px)}.spell-access-source-tooltip{gap:3px;min-width:210px;display:grid}.spell-access-source-tooltip small,.spell-access-source-tooltip em{color:#71807b;font-size:.66rem;font-style:normal;font-weight:800;line-height:1.18}.spell-access-source-tooltip small{color:#56645f;text-transform:uppercase}.spell-access-source-tooltip strong{color:#22342f;font-size:.78rem;font-weight:900;line-height:1.18}.spell-learning-guide{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0;display:grid}.spell-learning-guide span{background:#fff;border:1px solid #cfd9d4bd;border-radius:8px;gap:3px;min-width:0;padding:8px 9px 8px 11px;display:grid;position:relative;overflow:hidden}.spell-learning-guide span:before{content:"";background:#71807b6b;width:3px;position:absolute;inset:0 auto 0 0}.spell-learning-guide strong{color:#22342f;overflow-wrap:anywhere;font-size:.78rem;font-weight:900;line-height:1.18}.spell-learning-guide small,.spell-learning-guide em{color:#71807b;overflow-wrap:anywhere;font-size:.66rem;font-style:normal;font-weight:800;line-height:1.18}.spell-learning-guide small{color:#56645f;text-transform:uppercase}.spell-learning-guide .complete{background:#f5fbf7;border-color:#2f6f5e38}.spell-learning-guide .complete:before{background:#2f6f5e}.spell-learning-guide .warning{background:#fffaf0;border-color:#b87b1c4d}.spell-learning-guide .warning:before{background:#b87b1c}.wizard-advancement-chronology{background:#f8fbf8;border:1px solid #2f6f5e38;border-radius:8px;padding:9px 10px}.wizard-advancement-issues{color:#8a5a12;background:#fffaf0;border:1px solid #b87b1c4d;border-radius:8px;align-items:flex-start;gap:8px;padding:9px;display:flex}.wizard-advancement-issues>span{gap:3px;display:grid}.wizard-advancement-issues strong{font-size:.74rem}.wizard-advancement-issues small{font-size:.68rem;line-height:1.35}.wizard-advancement-chronology summary{cursor:pointer;color:#2f6f5e;font-size:.76rem;font-weight:900}.wizard-advancement-chronology>p{color:#62706b;margin:8px 0;font-size:.7rem;line-height:1.4}.wizard-advancement-milestones{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.wizard-advancement-milestones span{background:#fff;border-radius:7px;gap:2px;min-width:0;padding:7px 8px;display:grid}.wizard-advancement-milestones strong{color:#22342f;font-size:.72rem}.wizard-advancement-milestones small,.wizard-advancement-milestones em{color:#62706b;overflow-wrap:anywhere;font-size:.64rem;font-style:normal;line-height:1.3}.arcane-trickster-spell-choice-group{border-top:1px solid #b5beb9b8;gap:10px;min-width:0;padding-top:10px;display:grid}.campaign-learned-spell-group{background:#fffae8a3;border:1px solid #a678264d;border-radius:11px;gap:10px;min-width:0;padding:12px;display:grid;box-shadow:inset 3px 0 #a67826ad}.campaign-learned-spell-heading,.campaign-learned-spell-row,.campaign-learned-spell-row-actions{align-items:center;gap:8px;display:flex}.campaign-learned-spell-heading{justify-content:space-between}.campaign-learned-spell-heading>span,.campaign-learned-spell-row>span{gap:2px;min-width:0;display:grid}.campaign-learned-spell-heading strong,.campaign-learned-spell-row strong{color:#3d3525;font-size:.82rem;font-weight:900}.campaign-learned-spell-heading small,.campaign-learned-spell-row small,.campaign-learned-spell-row em,.campaign-learned-spell-help,.campaign-learned-source-description{color:#73684f;font-size:.7rem;line-height:1.4}.campaign-learned-spell-row em{overflow-wrap:anywhere;font-style:normal}.campaign-learned-spell-help{margin:0}.campaign-learned-spell-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;min-width:0;display:grid}.campaign-learned-spell-controls>label,.campaign-learned-spell-controls>.multi-rule-option-picker{color:#514834;gap:5px;min-width:0;font-size:.72rem;font-weight:850;display:grid}.campaign-learned-source-description,.campaign-learned-spell-controls>.multi-rule-option-picker{grid-column:1/-1}.campaign-learned-spell-controls>.command-button{place-self:end stretch}.campaign-learned-spell-list{gap:6px;display:grid}.campaign-learned-spell-row{background:#ffffffb3;border:1px solid #a678263d;border-radius:8px;justify-content:space-between;min-width:0;padding:8px 9px}.campaign-learned-spell-row-actions{flex:none}.arcane-trickster-choice-help{color:#71807b;margin:-3px 0 0;font-size:.7rem;font-weight:750;line-height:1.35}.arcane-trickster-choice-section{background:#fbfcfa;border:1px solid #cfd9d4bd;border-radius:8px;gap:8px;min-width:0;padding:9px;display:grid}.arcane-trickster-choice-heading{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;display:flex}.arcane-trickster-choice-heading>span{gap:2px;min-width:0;display:grid}.arcane-trickster-choice-heading strong{color:#22342f;font-size:.76rem;font-weight:900}.arcane-trickster-choice-heading small{color:#71807b;font-size:.66rem;font-weight:750;line-height:1.25}.arcane-trickster-spell-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.arcane-trickster-spell-slot-grid .rule-option-picker{min-width:0}.selected-spell-row.locked{background:#f7fcf8;border-color:#2f6f5e42;box-shadow:inset 3px 0 #2f6f5eb8}.selected-spell-required-tag{color:#2f6f5e;background:#2f6f5e14;border-color:#2f6f5e3d;border-radius:999px;place-self:center end}.selected-spell-actions{justify-self:end;align-items:center;gap:6px;display:flex}.manual-mechanics-list{gap:8px;min-width:0;display:grid}.manual-mechanic-row{background:#f8fbf7;border:1px solid #cfd9d4c7;border-radius:8px;gap:8px;min-width:0;padding:10px 46px 10px 10px;display:grid;position:relative}.manual-mechanic-row>.icon-button{position:absolute;top:10px;right:10px}.equipment-summary-row{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.sheet-summary-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.spellcasting-panel{align-content:start;gap:10px}.spellcasting-panel-header{gap:7px;min-width:0;display:grid}.spellcasting-panel-header .section-title{margin-bottom:0}.spellcasting-ability-tags{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.spellcasting-ability-tag{color:#56645f;background:#f8faf9;border:1px solid #2f6f5e2e;border-radius:999px;align-items:center;width:fit-content;min-height:24px;padding:3px 8px;font-size:.7rem;font-weight:850;line-height:1.1;display:inline-flex}.spellcasting-summary-list{border-top:1px solid #22342f1f;gap:0;min-width:0;display:grid}.spellcasting-slot-list{margin-top:2px}.spellcasting-summary-row{color:#22342f;border-bottom:1px solid #22342f1f;grid-template-columns:minmax(0,1fr) minmax(54px,auto);align-items:center;gap:12px;min-height:38px;padding:7px 2px;display:grid}.stat-breakdown-trigger:hover .spellcasting-summary-row,.stat-breakdown-trigger:focus-visible .spellcasting-summary-row{background:#2d508d0f}.spellcasting-summary-label{color:#56645f;letter-spacing:0;overflow-wrap:anywhere;text-transform:uppercase;min-width:0;font-size:.72rem;font-weight:850;line-height:1.15}.spellcasting-summary-value{color:#22342f;text-align:right;white-space:nowrap;justify-content:flex-end;align-items:baseline;gap:5px;font-size:1.18rem;font-weight:950;line-height:1;display:inline-flex}.spellcasting-summary-value small{color:#56645f;font-size:.68rem;font-weight:850;line-height:1}.ability-score-grid,.compact-stat-list,.skill-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-breakdown-trigger{width:100%;min-width:0;color:inherit;text-align:left;background:0 0;border:0;padding:0;display:block}.stat-breakdown-trigger:focus-visible{outline-offset:2px;outline:2px solid #2d508d6b}.character-stat-tile,.ability-score-tile{color:#22342f;background:#f7f9fe;border:1px solid #d7e0f4f2;border-radius:8px;min-width:0;min-height:74px;padding:10px;display:grid}.character-stat-tile{grid-template-columns:30px minmax(0,1fr);align-items:center;gap:8px}.character-stat-tile small,.ability-score-tile small{color:#56645f;letter-spacing:0;text-transform:uppercase;font-size:.68rem;font-weight:850;display:block}.character-stat-tile strong,.ability-score-tile strong{color:#22342f;overflow-wrap:anywhere;font-size:1.24rem;font-weight:950;line-height:1.05;display:block}.character-stat-tile em,.ability-score-tile em{color:#2d508d;overflow-wrap:anywhere;font-size:.72rem;font-style:normal;font-weight:850;display:block}.encumbered-speed-badge[data-slot=badge]{color:#7b4d0d;text-transform:uppercase;background:#b87b1c1c;border-color:#b87b1c7a;margin-top:4px;padding:3px 5px;font-size:.58rem;font-style:normal;font-weight:900;line-height:1}.sheet-top-stat .encumbered-speed-badge[data-slot=badge]{margin-top:-1px}.character-stat-icon{aspect-ratio:1;color:#2d508d;background:#eef4ff;border-radius:7px;place-items:center;width:30px;display:grid}.ability-score-tile{text-align:center;align-content:center}.stat-breakdown-popover{gap:7px;min-width:220px;max-width:320px;display:grid}.stat-breakdown-popover>strong{color:#22342f;font-size:.82rem}.stat-breakdown-popover>span{gap:4px;display:grid}.stat-breakdown-line,.stat-breakdown-total{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.stat-breakdown-line span,.stat-breakdown-total span{overflow-wrap:anywhere;min-width:0}.stat-breakdown-total{border-top:1px solid #cfd9d4e6;padding-top:5px;font-weight:900}.stat-breakdown-popover em{color:#71807b;font-size:.72rem;font-style:normal}.character-pill-list{flex-wrap:wrap;gap:6px;display:flex}.character-pill-list.removable [data-slot=badge]{gap:4px;padding-right:4px}.character-pill-list.removable button{aspect-ratio:1;width:20px;color:inherit;background:0 0;border:0;border-radius:5px;place-items:center;padding:0;display:grid}.character-pill-list.removable button:hover:not(:disabled){background:#22342f14}.feat-builder-header{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.feat-builder-header .section-title{margin-bottom:0}.feat-rule-badges{flex-wrap:wrap;justify-content:flex-end;gap:6px;min-width:0;display:flex}.feat-rule-note{color:#8f3528;background:#fff7f5;border:1px solid #c6534433;border-radius:8px;padding:9px 10px;font-size:.78rem;font-weight:800;line-height:1.35}.feat-rule-note.enabled{color:var(--green-dark);background:#f3faf5;border-color:#2f6f5e33}.starting-feat-section{gap:8px;display:grid}.starting-feat-section>.feat-slot{max-width:min(100%,620px)}.advancement-legacy-note,.advancement-unassigned-warning{color:#6f4b0c;background:#fff9ec;border:1px solid #b57e1d47;border-radius:8px;padding:10px 12px;font-size:.78rem;font-weight:750;line-height:1.4}.advancement-unassigned-warning{color:#8f3528;background:#fff7f5;border-color:#c6534447;gap:7px;display:grid}.selected-feat-strip{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.selected-feat-pill{color:#2d508d;white-space:normal;background:#f4f7fd;border-color:#2d508d47;gap:4px;max-width:100%}.selected-feat-pill>span{overflow-wrap:anywhere;min-width:0}.selected-feat-remove{color:#2d508d;width:20px;height:20px;min-height:20px;padding:0}.loadout-item,.selected-spell-row,.audit-row{background:#fff;border:1px solid #cfd9d4db;border-radius:8px;align-items:center;gap:9px;min-width:0;padding:9px 10px;display:flex}.selected-spell-row{grid-template-columns:minmax(0,1fr) minmax(32px,auto);align-items:center;display:grid}.selected-spell-row>.icon-button{justify-self:end}.selected-spell-level-group{gap:6px;display:grid}.selected-spell-level-heading{color:#4f5f59;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;padding:2px 1px 0;font-size:.72rem;display:flex}.dm-shell{z-index:1;overscroll-behavior-y:none;background:linear-gradient(135deg,#c6534414,#c6534400 45%),linear-gradient(#f8faf7,#eef3f0);width:100%;height:100dvh;position:fixed;inset:0;overflow-y:auto}.dm-main{gap:18px;width:min(980px,100% - 36px);margin:0 auto;padding:clamp(24px,5vh,54px) 0;display:grid}.dm-heading{gap:8px;max-width:680px;display:grid}.dm-heading h1{color:#22342f;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:950;line-height:1.06}.dm-heading p{color:#52615c;font-size:1rem;font-weight:750;line-height:1.45}.dm-rule-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.dm-collaboration-panel{background:linear-gradient(135deg,#f3faf5,#fff 68%);border:1px solid #2f6f5e47;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;padding:16px;display:grid;box-shadow:0 14px 34px #18231f14}.dm-collaboration-copy{gap:5px;min-width:0;display:grid}.dm-collaboration-copy h2{color:#22342f;font-size:1.05rem;font-weight:950}.dm-collaboration-copy p,.dm-collaboration-copy small{color:#52615c;overflow-wrap:anywhere;font-weight:700;line-height:1.42}.dm-collaboration-copy p{font-size:.88rem}.dm-collaboration-copy small{font-size:.76rem}.dm-collaboration-copy .dm-collaboration-status{color:var(--green-dark);font-weight:900}.dm-collaboration-copy .dm-collaboration-status.danger{color:#8f3528}.dm-collaboration-toggle{flex:none}.dm-rules-studio{background:#fffffffa;border:1px solid #bdcac3f0;border-radius:10px;gap:14px;min-width:0;padding:clamp(14px,2.4vw,22px);display:grid;box-shadow:0 18px 44px #18231f1a}.dm-studio-heading,.dm-catalog-summary,.dm-catalog-toolbar,.dm-editor-header,.dm-editor-actions{justify-content:space-between;align-items:flex-start;gap:14px;min-width:0;display:flex}.dm-studio-heading>div,.dm-catalog-summary>div,.dm-editor-header>div{gap:4px;min-width:0;display:grid}.dm-section-kicker{color:#8f3528;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:950}.dm-studio-heading h2,.dm-editor-header h2{color:#22342f;font-size:1.22rem;font-weight:950;line-height:1.15}.dm-studio-heading p,.dm-catalog-summary span,.dm-editor-header [data-slot=sheet-description]{color:#60706a;font-size:.8rem;font-weight:720;line-height:1.42}.dm-category-tabs{scrollbar-width:thin;gap:6px;min-width:0;padding:2px 2px 6px;display:flex;overflow-x:auto}.dm-category-tabs button{color:#53635d;cursor:pointer;background:#f7f9f8;border:1px solid #cfd9d4f0;border-radius:999px;flex:none;align-items:center;gap:6px;min-height:38px;padding:7px 11px;font-size:.76rem;font-weight:900;display:inline-flex}.dm-category-tabs button:hover,.dm-category-tabs button:focus-visible{color:var(--green-dark);border-color:#2f6f5e6b}.dm-category-tabs button.active{border-color:var(--green);background:var(--green);color:#fff}.dm-category-tabs small{background:#fff3;border-radius:999px;place-items:center;min-width:20px;height:20px;padding:0 5px;font-size:.65rem;display:grid}.dm-catalog-toolbar{align-items:stretch}.dm-catalog-search{color:#71807b;background:#f8faf9;border:1px solid #cfd9d4f5;border-radius:8px;flex:420px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:0 10px;display:grid}.dm-catalog-search input{box-shadow:none;background:0 0;border:0;padding-inline:0}.dm-catalog-search input:focus{box-shadow:none}.dm-catalog-summary{border-bottom:1px solid #dde4e0e6;align-items:end;padding-bottom:10px}.dm-catalog-summary strong{color:#22342f;font-size:.94rem;font-weight:950}.dm-catalog-summary>span{flex:none;font-size:.72rem;font-weight:850}.dm-option-list{contain:paint;overscroll-behavior:contain;gap:8px;max-height:min(660px,66vh);padding-right:3px;display:grid;overflow:auto}.dm-option-row{background:#fff;border:1px solid #cfd9d4eb;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;transition:border-color .16s,background .16s;display:grid}.dm-option-row:hover{border-color:#2f6f5e61}.dm-option-row.disabled{background:#fff8f6;border-color:#c6534438}.dm-option-enabled{background:#f3f7f5;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.dm-option-enabled input{width:18px;height:18px;min-height:0;accent-color:var(--green)}.dm-option-main{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:3px;padding:0;display:grid}.dm-option-main-static{cursor:default}.dm-option-title{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.dm-option-title strong{color:#22342f;font-size:.88rem;font-weight:950}.dm-option-main small,.dm-option-main p{color:#71807b;text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.dm-option-main small{font-size:.66rem;font-weight:800}.dm-option-main p{margin:0;font-size:.74rem;font-weight:700}.dm-option-actions{align-items:center;gap:3px;display:flex}.dm-option-actions [data-slot=button]{min-width:0;padding-inline:8px}.dm-editor-sheet[data-slot=sheet-content]{background:#f8faf9;gap:0;width:min(720px,94vw);max-width:none;overflow:hidden}.dm-editor-header{background:#fff;border-bottom:1px solid #cfd9d4f0;flex:none;padding:22px 56px 18px 22px}.dm-editor-header .dm-rule-toggle{flex:none}.dm-editor-body{flex:auto;grid-auto-rows:max-content;align-content:start;gap:16px;min-height:0;padding:20px 22px;display:grid;overflow:auto}.dm-editor-body label,.dm-editor-grid label{color:#394a44;gap:6px;font-size:.76rem;font-weight:900;display:grid}.dm-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.dm-editor-wide{grid-column:1/-1}.dm-json-mechanics-editor,.dm-display-description-editor,.dm-ai-rule-assistant,.dm-equipment-mechanics{background:#fff;border:1px solid #cfd9d4f0;border-radius:9px;gap:10px;padding:14px;display:grid}.dm-equipment-mechanics{background:linear-gradient(145deg,#f5f8fd,#fff 72%);border-color:#2e5f9a47}.dm-equipment-mechanics-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dm-equipment-mechanics-heading>div{gap:4px;display:grid}.dm-equipment-mechanics-heading strong{color:#2f4f78;font-size:.9rem}.dm-equipment-mechanics-heading p,.dm-equipment-toggle small{color:#65758a;margin:0;font-size:.72rem;font-weight:700;line-height:1.4}.dm-equipment-mechanics-grid{margin-top:2px}.dm-equipment-mechanics-grid .dm-equipment-toggle{background:#ffffffb8;border:1px solid #2e5f9a2e;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;padding:9px}.dm-equipment-toggle input{accent-color:#2f5f9a;width:17px;height:17px;min-height:0;margin-top:2px}.dm-equipment-toggle span{gap:3px;display:grid}.dm-equipment-toggle strong{color:#344b68;font-size:.74rem}.dm-equipment-rule-list,.dm-equipment-section-body{gap:10px;display:grid}.dm-equipment-rule-card{background:#ffffffd1;border:1px solid #2e5f9a33;border-radius:8px;gap:10px;padding:11px;display:grid}.dm-equipment-rule-summary{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.dm-equipment-rule-summary strong{color:#344b68;font-size:.75rem;line-height:1.4}.dm-equipment-section{background:#fff;border:1px solid #cfd9d4f0;border-radius:9px;overflow:hidden}.dm-equipment-section>summary{color:#344b45;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:11px 14px;list-style:none;display:flex}.dm-equipment-section>summary::-webkit-details-marker{display:none}.dm-equipment-section>summary>span{gap:2px;display:grid}.dm-equipment-section>summary strong{align-items:center;gap:6px;font-size:.86rem;display:flex}.dm-equipment-section>summary small{color:#71807b;font-size:.7rem;font-weight:700}.dm-equipment-section[open]>summary{border-bottom:1px solid #cfd9d4cc}.dm-equipment-section-body{padding:12px 14px 14px}.dm-ai-rule-assistant{background:linear-gradient(145deg,#f3fbf7,#fff 70%);border-color:#2e7a6259}.dm-ai-assistant-heading,.dm-ai-assistant-actions,.dm-ai-proposal-actions,.dm-ai-warnings{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dm-ai-assistant-heading>div{gap:5px;display:grid}.dm-ai-assistant-heading strong{color:#25483c;align-items:center;gap:7px;font-size:.9rem;display:flex}.dm-ai-assistant-heading p,.dm-ai-access-note,.dm-ai-data-note,.dm-ai-save-reminder,.dm-ai-proposal-summary p{color:#65766f;margin:0;font-size:.74rem;font-weight:700;line-height:1.45}.dm-ai-assistant-actions,.dm-ai-proposal-actions{justify-content:flex-end}.dm-ai-proposal{border-top:1px solid #2e7a6233;gap:12px;padding-top:14px;display:grid}.dm-ai-proposal-summary,.dm-ai-proposal-summary ul{gap:6px;display:grid}.dm-ai-proposal-summary ul{color:#394a44;margin:0;padding-left:20px;font-size:.75rem;line-height:1.45}.dm-ai-warnings{color:#765918;background:#fff8e8;border-radius:7px;justify-content:flex-start;padding:10px}.dm-ai-json-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.dm-ai-json-comparison textarea{min-height:240px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem;line-height:1.4}.dm-ai-save-reminder{text-align:right}.dm-json-mechanics-editor>div>strong{color:#463821;font-size:.86rem}.dm-json-mechanics-editor>div>p,.dm-display-description-editor>p{color:#75684f;margin:4px 0 0;font-size:.74rem;font-weight:700;line-height:1.45}.dm-json-mechanics-editor{background:#fffaf0;border-color:#a6823661}.dm-json-editor{tab-size:2;min-height:320px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.72rem;line-height:1.45}.dm-editor-actions{background:#fff;border-top:1px solid #cfd9d4f0;flex:none;align-items:center;margin-top:auto;padding:14px 22px}.dm-source-panel{background:#fff;border:1px solid #cfd9d4e6;border-radius:8px;gap:12px;min-width:0;padding:16px;display:grid;box-shadow:0 14px 34px #18231f14}.dm-source-header{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.dm-source-header>div{gap:5px;min-width:0;display:grid}.dm-source-header strong{color:#22342f;font-size:1rem;font-weight:950}.dm-source-header span,.dm-source-summary{color:#52615c;overflow-wrap:anywhere;font-size:.84rem;font-weight:750;line-height:1.42}.dm-source-groups{overscroll-behavior:contain;gap:18px;max-height:min(620px,64vh);padding-right:4px;display:grid;overflow:auto}.dm-source-group{border-bottom:1px solid #cfd9d4d1;gap:9px;min-width:0;padding-bottom:18px;display:grid}.dm-source-group:last-child{border-bottom:0;padding-bottom:0}.dm-source-group-header{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.dm-source-group-header>div{gap:3px;min-width:0;display:grid}.dm-source-group-header strong{color:#22342f;font-size:.9rem;font-weight:950}.dm-source-group-header span{color:#65736e;font-size:.75rem;font-weight:700;line-height:1.4}.dm-source-group.crossovers .dm-source-group-header strong,.dm-source-group.playtest .dm-source-group-header strong{color:#8f3528}.dm-source-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:8px;display:grid}.dm-source-toggle{color:#22342f;background:#f8faf9;border:1px solid #cfd9d4e6;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:9px;min-width:0;min-height:124px;padding:10px;display:grid;overflow:hidden}.dm-source-toggle.disabled{background:#fff7f5;border-color:#c6534442}.dm-source-toggle input{width:18px;height:18px;min-height:0;accent-color:var(--green);margin-top:2px}.dm-source-toggle>span{align-content:start;gap:4px;min-width:0;display:grid;overflow:hidden}.dm-source-toggle strong{color:#22342f;overflow-wrap:anywhere;min-width:0;font-size:.84rem;font-weight:900;line-height:1.25;display:block}.dm-source-toggle small,.dm-source-toggle em{color:#71807b;overflow-wrap:anywhere;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-width:0;font-size:.7rem;font-style:normal;font-weight:750;line-height:1.32;display:-webkit-box;overflow:hidden}.dm-rule-panel{background:#fff;border:1px solid #cfd9d4e6;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:12px;min-width:0;padding:16px;display:grid;box-shadow:0 14px 34px #18231f14}.dm-rule-panel.muted{background:#f8faf9}.dm-rule-icon{aspect-ratio:1;color:#8f3528;background:#fff2ef;border-radius:8px;place-items:center;width:44px;display:grid}.dm-rule-copy{gap:14px;min-width:0;display:grid}.dm-rule-copy>div{gap:5px;min-width:0;display:grid}.dm-rule-copy strong{color:#22342f;font-size:1rem;font-weight:950}.dm-rule-copy span{color:#52615c;overflow-wrap:anywhere;font-size:.88rem;font-weight:700;line-height:1.42}.dm-rule-toggle{color:#22342f;background:#f8faf9;border:1px solid #cfd9d4eb;border-radius:8px;align-items:center;gap:9px;width:fit-content;min-height:38px;padding:8px 10px;font-weight:900;display:inline-flex}.dm-rule-toggle input{width:18px;height:18px;min-height:0;accent-color:var(--green)}.dm-rule-notice{width:fit-content;max-width:100%;color:var(--green-dark);background:#f3faf5;border:1px solid #2f6f5e33;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;font-size:.82rem;font-weight:850;display:inline-flex}.dm-rule-notice.danger{color:#8f3528;background:#fff7f5;border-color:#c6534438}.dm-rule-actions{justify-content:flex-end;align-items:center;gap:14px;display:flex}.dm-rule-save-copy{gap:2px;margin-right:auto;display:grid}.dm-rule-save-copy strong{color:var(--ink);font-size:.82rem;font-weight:900}.dm-rule-save-copy span{color:var(--muted);font-size:.72rem;font-weight:650;line-height:1.35}@media(max-width:720px){.dm-main{width:min(100% - 24px,980px);padding:20px 0 30px}.dm-studio-heading,.dm-catalog-toolbar,.dm-catalog-summary,.dm-editor-header{flex-direction:column;align-items:stretch}.dm-catalog-toolbar .primary-button,.dm-rule-actions .primary-button{width:100%}.dm-rule-actions{flex-direction:column;align-items:stretch}.dm-option-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.dm-option-actions{flex-wrap:wrap;grid-column:2}.dm-option-actions [data-slot=button]{flex:auto}.dm-option-main p{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.dm-editor-sheet[data-slot=sheet-content]{width:100vw}.dm-editor-header{padding:20px 48px 16px 16px}.dm-editor-body{padding:16px}.dm-editor-grid{grid-template-columns:1fr}.dm-equipment-mechanics-heading,.dm-equipment-rule-summary,.dm-equipment-section>summary{flex-direction:column;align-items:stretch}.dm-equipment-mechanics-heading [data-slot=button],.dm-equipment-section-body>[data-slot=button]{width:100%;min-height:44px}.dm-ai-json-comparison{grid-template-columns:1fr}.dm-editor-actions{gap:8px;padding:12px 16px}.dm-editor-actions [data-slot=button]{flex:1 1 0}}.loadout-item div,.selected-spell-row span,.audit-row span{gap:2px;min-width:0;display:grid}.feat-choice-heading{flex-wrap:wrap;align-items:center;gap:5px 7px;min-width:0;display:flex}.feat-choice-heading strong,.loadout-item strong,.selected-spell-row strong,.audit-row strong{color:#22342f;overflow-wrap:anywhere;font-size:.86rem;font-weight:900}.loadout-item span,.selected-spell-row small,.audit-row small{color:#71807b;overflow-wrap:anywhere;font-size:.72rem;font-weight:750;line-height:1.3}.feat-source-badge{color:#56645f;background:#f8faf9;border-color:#2f6f5e2e;font-size:.66rem}.feat-slot-grid,.attunement-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;display:grid}.attunement-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.feat-slot,.attunement-slot{background:#f8faf9;border:1px dashed #cfd9d4f0;border-radius:8px;align-content:start;gap:8px;min-width:0;min-height:150px;padding:10px;display:grid}.feat-slot.filled,.attunement-slot.filled{background:#f7f9fe;border-style:solid;border-color:#2d508d3d}.advancement-card{min-height:0}.advancement-card[aria-invalid=true]{border-color:#c6534480;box-shadow:0 0 0 2px #c6534414}.advancement-slot-grid{align-items:start}.advancement-card-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.advancement-card-header>span{gap:2px;min-width:0;display:grid}.advancement-card-header strong{color:#22342f;font-size:.84rem}.advancement-card-header small,.advancement-ability-fields>small{color:#71807b;font-size:.7rem;font-weight:750;line-height:1.35}.advancement-type-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.advancement-type-switch button{width:100%}.advancement-type-switch button.active{color:var(--green-dark);background:#e8f4ee;border-color:#2f6f5e7a}.advancement-ability-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.advancement-ability-fields>small{grid-column:1/-1}.advancement-ability-fields>.advancement-validation-message{color:#9a382b}.advancement-legacy-choice{color:#6f4b0c;background:#fff9ec;border:1px solid #b57e1d3d;border-radius:7px;gap:4px;padding:9px 10px;display:grid}.advancement-legacy-choice strong{font-size:.76rem}.advancement-legacy-choice span{font-size:.71rem;font-weight:700;line-height:1.35}.feat-slot [data-slot=label],.feat-slot .rule-option-picker,.attunement-slot [data-slot=label],.attunement-slot .rule-option-picker{margin-bottom:0}.feat-slot-detail,.attunement-slot-detail{gap:6px;min-width:0;display:grid}.feat-choice-field{color:#31433d;gap:4px;min-width:0;font-size:.7rem;font-weight:850;display:grid}.feat-slot-detail p,.attunement-slot-detail p,.feat-full-details p{color:#3c4743;overflow-wrap:anywhere;margin:0;font-size:.76rem;font-weight:650;line-height:1.38}.feat-slot-detail small,.attunement-slot-detail small{color:#71807b;font-size:.7rem;font-weight:800;line-height:1.3}.feat-full-details{color:#31433d;gap:6px;font-size:.76rem;display:grid}.feat-full-details summary{cursor:pointer;color:#2d508d;font-size:.72rem;font-weight:900}.danger-badge{color:#724a0b;background:#fff8eb;border-color:#ead3a4}.warning-badge{color:#8b5e14;background:#b87b1c1f;border-color:#b87b1c6b}.empty-selection-badge{color:#7a581d;overflow-wrap:anywhere;white-space:normal;background:#b87b1c0f;border-color:#b87b1c47;border-radius:5px;place-self:start;gap:4px;max-width:100%;min-height:22px;padding:2px 6px;font-size:.67rem;font-weight:800;line-height:1.2}.empty-selection-badge svg{stroke-width:1.8px;flex:none;width:11px;height:11px}.empty-selection-badge span{overflow-wrap:anywhere;min-width:0}.loadout-list,.selected-spell-list,.audit-list{gap:8px;min-width:0;display:grid}.loadout-item{justify-content:space-between}.loadout-item.preview{background:#edf7f1;border-color:#2f6f5e57}.loadout-item .toggle-row{white-space:nowrap;margin-bottom:0}.compact-loadout-list{grid-template-columns:repeat(2,minmax(0,1fr))}.character-workspace-actions{justify-content:flex-end;gap:8px;display:flex}.character-delete-panel{background:#fff8f5;border-color:#b84a3a57;grid-template-columns:minmax(0,1fr) auto;align-items:center}.character-delete-copy{gap:4px;min-width:0;display:grid}.character-delete-copy .section-title{color:#8c2f25}.character-delete-copy p{color:#7a5049;margin:0;font-size:.78rem;font-weight:800;line-height:1.35}.character-delete-panel .command-button{justify-self:end;min-width:max-content}.character-delete-panel .command-button:hover:not(:disabled),.character-delete-panel .command-button:focus-visible:not(:disabled){color:var(--destructive);background:#fff0ed;border-color:#b84a3a8f}.character-audit-alert,.audit-row.warning{color:#724a0b;background:#fff8eb;border:1px solid #ead3a4;border-radius:8px;align-items:flex-start;gap:8px;padding:9px 10px;font-size:.8rem;font-weight:850;display:flex}.character-audit-view-banner{color:#2d508d;background:#f4f7fd;border:1px solid #2d508d47;border-radius:8px;align-items:center;gap:8px;padding:9px 11px;font-size:.8rem;font-weight:850;display:flex}.build-save-alert{margin-top:10px}.audit-row.info{color:#2d508d;background:#f7f9fe;border-color:#d7e0f4f2}.quick-sheet-tab{padding-top:12px}.quick-sheet-page{background:#f4f6f5;border:1px solid #cfd9d4eb;border-radius:8px;min-width:0;display:grid;overflow:hidden;box-shadow:0 12px 34px #1f252314}.quick-sheet-page.health-history-popout-open{overflow:visible}.quick-sheet-hero{color:#fff;background:#171827;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:16px;min-width:0;padding:18px clamp(14px,3vw,24px);display:grid}.quick-sheet-hero .sheet-portrait{color:#f4f2fb;background:#25263a;border:2px solid #7c4dd7;border-radius:999px;width:76px;height:76px;font-size:1.35rem;box-shadow:0 0 0 4px #7c4dd72e,0 10px 28px #0000003d}.quick-sheet-identity{gap:6px;min-width:0;display:grid}.quick-sheet-identity h3{color:#fff;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.72rem;font-weight:900;line-height:1.05;overflow:hidden}.quick-sheet-identity p{color:#d8d9e6;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.82rem;font-weight:800;overflow:hidden}.quick-sheet-badges{flex-wrap:wrap;justify-content:flex-end;gap:7px;min-width:0;display:flex}.quick-sheet-print-action{grid-area:1/4;place-self:start end}.quick-sheet-print-button[data-slot=button]{color:#fff8e7;background:#ffffff0f;border-color:#f2d98d61;width:30px;min-width:30px;height:30px;min-height:30px;padding:0}.quick-sheet-print-button[data-slot=button]:hover:not(:disabled){background:#4ec4b624;border-color:#f2d98dad}.quick-sheet-stat-strip{background:#fff;border-bottom:1px solid #cfd9d4db;grid-template-columns:minmax(120px,1fr) minmax(108px,.9fr) minmax(96px,.82fr) minmax(106px,.86fr) minmax(220px,1.48fr);display:grid}.quick-sheet-stat-strip .stat-breakdown-trigger{height:100%}.sheet-top-stat{text-align:center;border-right:1px solid #cfd9d4c2;align-content:center;justify-items:center;gap:5px;min-width:0;min-height:74px;padding:9px 10px;display:grid}.sheet-top-stat small{color:#626f6a;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;width:100%;font-size:.62rem;font-weight:950;line-height:1.1;overflow:hidden}.sheet-top-stat strong{color:#1f2d2a;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:1.16rem;font-weight:950;line-height:1;overflow:hidden}.sheet-inspiration-stat{cursor:pointer;position:relative}.sheet-inspiration-control{place-items:center;width:34px;height:34px;display:grid;position:relative}.sheet-inspiration-control input{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.sheet-inspiration-control input:disabled{cursor:not-allowed}.sheet-inspiration-check{color:#246f64;background:#fffdf4b8;border:2px solid #6e674f;border-radius:5px;place-items:center;width:31px;height:31px;transition:border-color .14s,background-color .14s,box-shadow .14s,transform .14s;display:grid;box-shadow:inset 0 0 0 2px #ffffff8f}.sheet-inspiration-stat:hover .sheet-inspiration-check,.sheet-inspiration-control input:focus-visible+.sheet-inspiration-check{border-color:#246f64;box-shadow:0 0 0 3px #4ec4b62e,inset 0 0 0 2px #ffffffb3}.sheet-inspiration-stat.checked .sheet-inspiration-check{background:#4ec4b629;border-color:#246f64;transform:rotate(-1deg)}.sheet-inspiration-stat:has(input:disabled){cursor:default}.editable-hit-point-stat{gap:4px;min-height:84px;position:relative;overflow:visible}.sheet-hit-point-open-button[data-slot=button]{width:min(100%,280px);min-width:0;max-width:100%;height:auto;min-height:0;color:inherit;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;transition:border-color .14s,background-color .14s,box-shadow .14s;display:inline-grid;padding:4px 10px 6px!important}.sheet-hit-point-open-button[data-slot=button]:hover,.sheet-hit-point-open-button[data-slot=button]:focus-visible{background:#246f640e;border-color:#246f642e;box-shadow:0 3px 10px #292a220f}.sheet-hit-point-stack{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"readout temp""meter meter";align-items:center;gap:7px 12px;width:100%;min-width:0;max-width:100%;display:grid}.sheet-top-stat.hit-point-stat .sheet-hit-point-readout strong{border-bottom:0;min-width:0;padding-bottom:0}.sheet-hit-point-readout{justify-content:center;align-items:center;gap:6px;min-width:0;max-width:100%;display:inline-flex}.sheet-hit-point-readout strong{flex:none}.sheet-hit-point-readout.display{grid-area:readout;justify-self:start;gap:7px}.sheet-hit-point-readout.display strong,.sheet-hit-point-readout.display span{color:#172420;white-space:nowrap;font-size:1.34rem;font-weight:950;line-height:1}.sheet-hit-point-readout.display span{color:#59645e;font-size:.92rem;font-weight:850}.sheet-hit-point-meter{background:#246f6424;border-radius:999px;grid-area:meter;width:100%;height:4px;overflow:hidden;box-shadow:inset 0 1px 1px #292a2214}.sheet-hit-point-meter>span{border-radius:inherit;background:linear-gradient(90deg,#246f64,#3c9183);height:100%;transition:width .18s;display:block}.sheet-hit-point-input{color:#172420;text-align:center;appearance:textfield;background:#fff;border-color:#b9c7d8;width:66px;height:34px;font-size:1rem;font-weight:950}.sheet-hit-point-input::-webkit-outer-spin-button{appearance:none;margin:0}.sheet-hit-point-input::-webkit-inner-spin-button{appearance:none;margin:0}.sheet-hit-point-input:disabled{opacity:.72}.sheet-temp-hit-point-chip{color:#5e6b67;background:#fffcf0b8;border:1px solid #86693638;border-radius:999px;grid-area:temp;grid-template-columns:auto auto;justify-self:end;align-items:center;gap:4px;min-height:22px;padding:3px 8px;display:inline-grid}.sheet-temp-hit-point-chip.active{color:#76521f;background:#d1a24c21;border-color:#9c713061}.sheet-temp-hit-point-chip strong{width:auto;line-height:1}.sheet-temp-hit-point-chip svg{display:block}.sheet-temp-hit-point-chip strong{color:inherit;font-size:.72rem}.sheet-hit-dice-label{color:#667570;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.6rem;font-style:normal;font-weight:850;line-height:1.15;overflow:hidden}.sheet-hit-dice-label span{color:#66757094;margin-inline:2px}.quick-sheet-grid{grid-template-columns:minmax(220px,.78fr) minmax(360px,1.45fr) minmax(240px,.9fr);align-items:start;gap:12px;min-width:0;padding:12px;display:grid}.quick-sheet-column{align-content:start;gap:12px;min-width:0;display:grid}.quick-sheet-panel{background:#fff;border:1px solid #cfd9d4d1;border-radius:6px;align-content:start;gap:10px;min-width:0;padding:12px;display:grid;box-shadow:0 2px 12px #1f25230a}.quick-sheet-panel .section-title{color:#263532;text-transform:uppercase;margin-bottom:0;font-size:.72rem;font-weight:950}.quick-sheet-panel .sheet-action-heading{justify-content:space-between;gap:10px}.sheet-action-heading>span{align-items:center;gap:8px;min-width:0;display:inline-flex}.quick-sheet-panel .sheet-unarmed-toggle{color:#5f6d68;cursor:pointer;text-transform:none;background:0 0;border:0;border-radius:0;align-self:center;align-items:center;gap:4px;width:auto;min-width:max-content;height:18px;min-height:0;padding:0;font-size:.56rem;font-weight:900;line-height:1;display:inline-flex}.quick-sheet-panel .sheet-unarmed-toggle input{accent-color:#2d7a66;width:11px;min-width:11px;height:11px;margin:0}.sheet-ability-list,.sheet-skill-table,.sheet-passive-list,.sheet-detail-list,.sheet-inventory-list,.sheet-equipment-list,.sheet-language-list,.sheet-feature-list,.sheet-action-list{min-width:0;display:grid}.sheet-ability-row{border-bottom:1px solid #cfd9d4b8;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;min-height:46px;padding:7px 0;display:grid}.sheet-ability-list .stat-breakdown-trigger:last-child .sheet-ability-row,.sheet-passive-list .stat-breakdown-trigger:last-child span,.sheet-action-row:last-child,.sheet-inventory-list>span:not(.empty-selection-badge):last-child,.sheet-equipment-list>span:not(.empty-selection-badge):last-child,.sheet-feature-list article:last-child,.sheet-detail-list span:last-child{border-bottom:0}.sheet-ability-mark{color:#2d508d;background:#f7f9fe;border:1px solid #d7e0f4;border-radius:999px;place-items:center;width:30px;height:30px;font-size:.66rem;font-weight:950;display:grid}.sheet-ability-row>span:nth-child(2),.sheet-action-row>span:nth-child(2){gap:2px;min-width:0;display:grid}.sheet-ability-row strong,.sheet-action-row strong,.sheet-equipment-list strong,.sheet-inventory-list strong,.sheet-detail-list strong{color:#22342f;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;font-weight:900;line-height:1.2;overflow:hidden}.sheet-ability-row small,.sheet-action-row small,.sheet-equipment-list small,.sheet-inventory-list small,.sheet-detail-list small,.sheet-passive-list small{color:#667570;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:800;line-height:1.2;overflow:hidden}.sheet-ability-row b{color:#172420;font-size:1rem;font-weight:950}.sheet-skill-heading,.sheet-skill-row{grid-template-columns:34px 38px minmax(0,1fr) 42px;align-items:center;gap:6px;min-width:0;display:grid}.sheet-skill-heading{color:#6f7c77;text-transform:uppercase;border-bottom:1px solid #cfd9d4c7;padding-bottom:6px;font-size:.58rem;font-weight:950}.sheet-skill-row{border-bottom:1px solid #cfd9d48f;min-height:31px;padding:5px 0}.sheet-skill-table .stat-breakdown-trigger:last-child .sheet-skill-row{border-bottom:0}.sheet-skill-row>span:nth-child(3){color:#243732;text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800;overflow:hidden}.sheet-skill-row strong{color:#1f2d2a;text-align:right;font-size:.74rem;font-weight:950}.sheet-prof-dot{background:#fff;border:1px solid #aab7b2;border-radius:999px;justify-self:center;width:10px;height:10px}.sheet-prof-dot.filled{background:#6d45bf;border-color:#6d45bf}.sheet-passive-list span{border-bottom:1px solid #cfd9d4a3;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;display:grid}.sheet-passive-list strong{color:#22342f;font-size:.82rem;font-weight:950}.sheet-combat-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:8px;display:grid}.sheet-familiar-panel{gap:8px;padding-block:10px}.sheet-familiar-heading{justify-content:space-between;align-items:end;gap:10px;min-width:0;display:flex}.sheet-familiar-select-label{color:#626f6a;text-transform:uppercase;align-items:center;gap:7px;min-width:0;font-size:.62rem;font-weight:950;display:flex}.sheet-familiar-select-label [data-slot=select]{color:#263532;background:#fffdf4f0;border-color:#8669364d;width:min(180px,42vw);height:34px;min-height:34px;font-size:.76rem;font-weight:850}.sheet-familiar-summary{gap:7px;min-width:0;display:grid}.sheet-familiar-primary-stats,.sheet-familiar-abilities{min-width:0;margin:0;display:grid}.sheet-familiar-primary-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.sheet-familiar-primary-stats>div{background:#fffcf0c7;border:1px solid #86693642;border-radius:6px;place-items:center;gap:2px;min-width:0;padding:6px 4px;display:grid}.sheet-familiar-primary-stats dt,.sheet-familiar-abilities dt{color:#6e674f;text-transform:uppercase;font-size:.54rem;font-weight:950;line-height:1}.sheet-familiar-primary-stats dd,.sheet-familiar-abilities dd{color:#292a22;font-family:var(--forge-stat,inherit);margin:0;font-weight:950;line-height:1}.sheet-familiar-primary-stats dd{font-size:.96rem}.sheet-familiar-speed{color:#3d554e;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.7rem;font-weight:900;line-height:1.2;overflow:hidden}.sheet-familiar-abilities{border:1px solid #cfd9d4d1;border-radius:6px;grid-template-columns:repeat(6,minmax(0,1fr));overflow:hidden}.sheet-familiar-abilities>div{border-right:1px solid #cfd9d4b3;place-items:center;gap:3px;padding:5px 2px;display:grid}.sheet-familiar-abilities>div:last-child{border-right:0}.sheet-familiar-abilities dd{font-size:.74rem}.sheet-familiar-references{gap:3px;min-width:0;display:grid}.sheet-familiar-references span{color:#4e5f59;grid-template-columns:42px minmax(0,1fr);gap:6px;min-width:0;font-size:.64rem;font-weight:750;line-height:1.25;display:grid}.sheet-familiar-references b{color:#263532;text-transform:uppercase;font-size:.58rem;font-weight:950}.sheet-familiar-rule-note,.sheet-familiar-empty{color:#667570;margin:0;font-size:.61rem;font-weight:750;line-height:1.3}.sheet-familiar-rule-note{border-top:1px solid #cfd9d4ad;padding-top:6px}@media(max-width:560px){.sheet-familiar-heading{align-items:stretch;display:grid}.sheet-familiar-select-label{grid-template-columns:auto minmax(0,1fr);display:grid}.sheet-familiar-select-label [data-slot=select]{width:100%}}.sheet-combat-grid .stat-breakdown-trigger,.sheet-combat-grid .stat-breakdown-trigger .character-stat-tile,.sheet-combat-grid>.character-stat-tile{height:100%}.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile{background:#f7f9fe;border-color:#d7e0f4f2;border-radius:6px;min-height:76px;padding:8px}.quick-sheet-page .character-stat-tile{grid-template-columns:28px minmax(0,1fr);gap:6px}.quick-sheet-page .character-stat-icon{color:#2d508d;background:#fff;border-radius:6px;place-items:center;width:28px;height:100%;display:grid}.quick-sheet-page .character-stat-tile small,.quick-sheet-page .ability-score-tile small{font-size:.58rem}.quick-sheet-page .character-stat-tile strong,.quick-sheet-page .ability-score-tile strong{font-size:1rem}.quick-sheet-page .character-stat-tile em,.quick-sheet-page .ability-score-tile em{font-size:.62rem}.sheet-health-history-popout,.sheet-health-adjust-popout{z-index:30;background:#fff;border:1px solid #cfd9d4f2;border-radius:8px;gap:8px;width:min(380px,100vw - 32px);min-width:min(320px,100vw - 32px);padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 16px 36px #1f252329}.sheet-health-adjust-popout{width:min(540px,100vw - 32px);min-width:min(360px,100vw - 32px)}.sheet-health-history-popout-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.sheet-health-history-close[data-slot=button]{color:#52605b;background:0 0;border:0;place-items:center;width:22px;min-width:22px;height:22px;padding:0;display:inline-grid}.sheet-health-history-close svg{width:12px;height:12px}.sheet-health-history-scroll{max-height:min(320px,44vh);overflow:hidden}.sheet-health-tracker{border-top:1px solid #cfd9d4b8;gap:9px;min-width:0;padding-top:10px;display:grid}.sheet-health-adjust-popout .sheet-health-tracker{border-top:0;padding-top:0}.sheet-health-controls{grid-template-columns:auto minmax(54px,72px) minmax(92px,auto) minmax(82px,auto);align-items:center;gap:7px;min-width:0;display:grid}.sheet-health-modal-summary{grid-template-columns:minmax(132px,1fr) minmax(104px,.74fr);align-items:end;gap:8px;min-width:0;display:grid}.sheet-current-health-editor,.sheet-temp-health-editor{background:#fbfcfc;border:1px solid #cfd9d4bd;border-radius:6px;align-content:center;gap:4px;min-width:0;min-height:48px;padding:7px 8px;display:grid}.sheet-current-health-editor>span:first-child,.sheet-temp-health-editor>span:first-child{color:#5c6b66;text-transform:uppercase;font-size:.58rem;font-weight:950;line-height:1}.sheet-current-health-input-row{justify-content:center;align-items:center;gap:6px;min-width:0;display:inline-flex}.sheet-current-health-input-row em{color:#5c6b66;font-size:.76rem;font-style:normal;font-weight:900}.sheet-temp-health-input{text-align:center;height:30px}.sheet-health-control-label{color:#5c6b66;text-transform:uppercase;font-size:.62rem;font-weight:950}.sheet-health-delta-input{text-align:center;height:34px}.sheet-health-action{justify-content:center;gap:5px;min-width:0;height:34px;padding-inline:9px;font-size:.72rem;font-weight:900}.sheet-health-action.damage{color:#8f1f1f;border-color:#ae272747}.sheet-health-action.healing{color:#246452;border-color:#2d7a664d}.sheet-health-note-input{height:34px;font-size:.76rem}.sheet-health-history{gap:6px;min-width:0;display:grid}.sheet-health-adjust-popout .sheet-health-history{border-top:1px solid #cfd9d4b8;padding-top:10px}.sheet-health-history-title{color:#5c6b66;text-transform:uppercase;font-size:.62rem;font-weight:950}.sheet-health-history-row{background:#fbfcfc;border:1px solid #cfd9d4b8;border-radius:6px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;padding:7px;display:grid}.sheet-health-history-row>strong{color:#243732;background:#eef3f1;border-radius:5px;place-items:center;min-height:30px;font-size:.82rem;font-weight:950;display:grid}.sheet-health-history-row.damage>strong{color:#8f1f1f;background:#ae27271c}.sheet-health-history-row.healing>strong{color:#246452;background:#2d7a661f}.sheet-health-history-row.temporary-hit-points>strong{color:#76521f;background:#d1a24c21;grid-template-columns:auto auto;gap:4px}.sheet-health-history-row.temporary-hit-points>strong svg{display:block}.sheet-health-history-row>span{gap:2px;min-width:0;display:grid}.sheet-health-history-row b,.sheet-health-history-row small,.sheet-health-history-row em,.sheet-health-history-row time{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sheet-health-history-row b{color:#22342f;font-size:.78rem;font-weight:950}.sheet-health-history-row small,.sheet-health-history-row time{color:#667570;font-size:.66rem;font-weight:800}.sheet-health-history-row em{color:#465550;font-size:.7rem;font-style:normal;font-weight:800}.sheet-save-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;display:grid}.sheet-save-grid .stat-breakdown-trigger{height:100%}.sheet-save-row{background:#f7f9fe;border:1px solid #d7e0f4eb;border-radius:6px;place-items:center;gap:4px;min-height:58px;padding:6px;display:grid}.sheet-save-row small{color:#667570;font-size:.62rem;font-weight:950}.sheet-save-row strong{color:#22342f;font-size:.86rem;font-weight:950}.sheet-action-row{border-bottom:1px solid #cfd9d4a3;grid-template-columns:34px minmax(0,1fr) minmax(44px,auto) minmax(116px,auto);align-items:center;gap:10px;min-width:0;min-height:50px;padding:7px 0;display:grid}.sheet-action-icon{color:#536760;background:#f1f5f8;border-radius:999px;place-items:center;width:30px;height:30px;display:grid}.sheet-action-row.spell .sheet-action-icon{color:#6d45bf;background:#f7f1ff}.sheet-action-row b,.sheet-action-row em{color:#22342f;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:.76rem;font-style:normal;font-weight:900;overflow:hidden}.sheet-action-row em{color:#465550}.sheet-action-row em.sheet-damage-stack{white-space:normal;justify-items:end;gap:2px;display:grid}.sheet-action-row em.sheet-damage-stack span,.sheet-action-row em.sheet-damage-stack small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sheet-action-row em.sheet-damage-stack small{color:#6d45bf;font-size:.66rem;font-weight:900;line-height:1.15}.sheet-feature-list article{border-bottom:1px solid #cfd9d4a3;gap:5px;min-width:0;padding:7px 0;display:grid}.sheet-feature-list article>div{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.sheet-feature-list strong{color:#22342f;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.86rem;font-weight:900;overflow:hidden}.sheet-feature-list em{color:#667570;flex:none;font-size:.66rem;font-style:normal;font-weight:850}.sheet-feature-list p,.sheet-notes{color:#4c5c57;margin:0;font-size:.75rem;line-height:1.45}.sheet-feature-list p{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.sheet-feature-details{border-top:1px dashed #86693647;padding-top:5px}.sheet-feature-details summary{width:fit-content;color:var(--forge-teal-dark,#246f64);cursor:pointer;font-size:.68rem;font-weight:900}.sheet-feature-details[open] summary{margin-bottom:6px}.sheet-feature-details p{color:#394a44;white-space:pre-wrap;-webkit-line-clamp:unset;display:block;overflow:visible}.sheet-notes{white-space:pre-wrap}.sheet-detail-list span{border-bottom:1px solid #cfd9d4a3;grid-template-columns:minmax(92px,.75fr) minmax(0,1fr);align-items:center;gap:10px;min-height:36px;display:grid}.sheet-detail-list strong{text-align:right}.sheet-panel-heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.sheet-panel-heading .section-title{min-width:0}.sheet-inventory-panel.danger-panel{background:snow;border-color:#ae272757}.sheet-inventory-panel .danger-badge{color:#8f1f1f;background:#ae27271c;border-color:#ae27276b}.carrying-meter{background:#e6ede9;border-radius:999px;height:7px;position:relative}.carrying-meter-fill{border-radius:inherit;background:linear-gradient(90deg,#587b6d,#2d508d);max-width:100%;height:100%;display:block}.danger-panel .carrying-meter-fill{background:linear-gradient(90deg,#b87b1c,#ae2727)}.carrying-meter-marker{z-index:1;background:#b87b1c;border:2px solid #fff;border-radius:50%;width:9px;height:9px;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #664b1c57}.carrying-meter-marker-heavy{background:#ae2727;box-shadow:0 0 0 1px #6e181857}.carrying-summary{gap:8px;display:grid}.sheet-capacity-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.sheet-capacity-row span{background:#f7f9fe;border:1px solid #d7e0f4c7;border-radius:7px;gap:1px;min-width:0;padding:5px 6px;display:grid}.sheet-capacity-row small{color:#71807b;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem;font-weight:850;line-height:1.12;overflow:hidden}.sheet-capacity-row strong{color:#22342f;text-overflow:ellipsis;white-space:nowrap;font-size:.74rem;font-weight:950;line-height:1.14;overflow:hidden}.sheet-pack-list{gap:6px;min-width:0;display:grid}.sheet-pack-row{background:#f8faf9;border:1px solid #2f6f5e33;border-radius:8px;min-width:0;overflow:hidden}.sheet-pack-row.expanded{background:#f3f8f5;border-color:#2f6f5e57}.sheet-pack-row.dropped,.sheet-inventory-item-dropped{opacity:.68}.sheet-pack-trigger{color:#22342f;text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:28px minmax(0,1fr) auto 15px;align-items:center;gap:7px;width:100%;min-width:0;min-height:42px;padding:6px 7px;display:grid}.sheet-pack-trigger:hover{background:#2f6f5e0f}.sheet-pack-trigger:focus-visible{outline-offset:-2px;outline:2px solid #2d508d6b}.sheet-pack-icon{width:28px;height:28px;color:var(--green-dark);background:#edf7f1;border:1px solid #2f6f5e33;border-radius:7px;place-items:center;display:grid}.sheet-pack-copy{gap:2px;min-width:0;display:grid}.sheet-pack-copy strong,.sheet-pack-copy small{text-overflow:ellipsis;white-space:nowrap;line-height:1.15;overflow:hidden}.sheet-pack-copy strong{font-size:.76rem;font-weight:900}.sheet-pack-copy small{color:#667570;font-size:.62rem;font-weight:800}.sheet-pack-weight{color:#31433d;white-space:nowrap;font-size:.66rem;font-weight:900}.sheet-pack-chevron{color:#667570;transition:transform .14s}.sheet-pack-row.expanded .sheet-pack-chevron{transform:rotate(180deg)}.sheet-pack-contents{background:#ffffff9e;border-top:1px solid #2f6f5e29;padding:3px 8px 5px 37px;display:none}.sheet-pack-contents.open{display:block}.sheet-pack-contents ul{max-height:220px;margin:0;padding:0;list-style:none;display:grid;overflow:auto}.sheet-pack-contents li{color:#43534e;border-bottom:1px solid #cfd9d48a;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:5px 2px 5px 11px;font-size:.68rem;font-weight:750;line-height:1.25;display:grid;position:relative}.sheet-pack-contents li small{color:#71807b;white-space:nowrap;font-size:.58rem;font-weight:800}.sheet-pack-contents li:last-child{border-bottom:0}.sheet-pack-contents li:before{content:"";background:#2f6f5e9e;border-radius:999px;width:4px;height:4px;position:absolute;top:.72em;left:1px}.sheet-inventory-list>span:not(.empty-selection-badge),.sheet-equipment-list>span:not(.empty-selection-badge){border-bottom:1px solid #cfd9d4a3;min-width:0;padding:7px 0;display:grid}.sheet-consumable-list{gap:6px;display:grid}.sheet-consumable-row{background:#f7faf8;border:1px solid #2f6f5e33;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 8px;display:grid}.sheet-consumable-row.not-carried{opacity:.62}.sheet-consumable-row>span{gap:2px;min-width:0;display:grid}.sheet-consumable-row strong{color:#22342f;font-size:.74rem;font-weight:900}.sheet-consumable-row small{color:var(--ledger-muted);font-size:.6rem;font-weight:750}.sheet-consumable-use{min-height:30px;color:var(--green-dark);white-space:nowrap;padding-inline:9px;font-size:.64rem;font-weight:900}.sheet-equipment-list>span:not(.empty-selection-badge){grid-template-columns:minmax(0,1fr) auto;gap:2px 8px}.sheet-equipment-list small{grid-column:1}.sheet-equipment-list b{color:#22342f;grid-area:1/2/span 2;align-self:center;font-size:.76rem;font-weight:950}.sheet-language-list{gap:7px}.sheet-language-list>span:not(.empty-selection-badge){color:#33433f;font-size:.78rem;font-weight:850}.quick-list{gap:4px;min-width:0;display:grid}.quick-list span{background:#f7f9fe;border:1px solid #d7e0f4c7;border-radius:7px;gap:1px;min-width:0;padding:5px 6px;display:grid}.quick-list small{color:#71807b;text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;font-weight:850;line-height:1.12;overflow:hidden}.quick-list strong{color:#22342f;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:950;line-height:1.14;overflow:hidden}.quick-list .empty-list{margin:0;font-size:.72rem}.roster-toolbar{margin:2px 0 10px}.character-card-header{justify-content:space-between;align-items:start;gap:12px;display:flex}.character-card-header>div:first-child{gap:3px;min-width:0;display:grid}.character-card-title{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.character-card-title>span:last-child{gap:3px;min-width:0;display:grid}.character-card-title .character-portrait{color:var(--green-dark);font-size:1rem;line-height:1}.character-card-title small{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;line-height:1.35;overflow:hidden}.character-card-actions{flex:none;align-items:center;gap:6px;display:flex}.party-roster-panel{align-content:start;gap:12px;width:100%;min-width:0;display:grid}.party-roster-heading{justify-content:space-between;align-items:start;gap:10px;min-width:0;display:flex}.party-roster-heading>div:first-child{gap:6px;min-width:0;display:grid}.party-roster-heading h2{color:#22342f;margin:0;font-size:1rem;font-weight:950;line-height:1.1}.party-roster-heading [data-slot=badge]{flex:none}.party-roster-heading-actions{flex:none;align-items:center;gap:6px;display:flex}.party-roster-toggle{width:32px;height:32px;min-height:32px}.party-sidebar-list{min-width:0;max-height:calc(100vh - 276px);padding-right:2px;overflow:auto}.party-sidebar-list .empty-list{margin:0}.party-roster-actions{border-top:1px solid #7769484d;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;min-width:0;padding-top:12px;display:grid}.party-roster-actions .command-button{justify-content:center;min-width:0;padding:0 10px}.party-rail-panel{align-content:start;justify-items:center;gap:10px;width:100%;min-width:0;display:grid}.party-rail-menu-button{width:54px;height:54px;min-height:54px;color:var(--green-dark);background:#ffffffdb;border:1px solid #2e795b47;border-radius:8px;place-items:center;padding:0;display:inline-grid;position:relative;box-shadow:0 8px 24px #18231f0f}.party-rail-menu-button:hover:not(:disabled),.party-rail-menu-button:focus-visible{background:#edf7f1;border-color:#2e795b80}.party-rail-menu-button span{background:var(--green-dark);color:#fff;border:2px solid #f5f8f6f5;border-radius:999px;place-items:center;min-width:22px;height:22px;padding:0 5px;font-size:.68rem;font-weight:900;line-height:1;display:grid;position:absolute;bottom:-6px;right:-6px}.party-rail-list{justify-items:center;gap:9px;width:100%;min-width:0;display:grid}.party-rail-character{width:54px;height:54px;min-height:54px;color:inherit;background:#ffffffb8;border:1px solid #cfd9d4d1;border-radius:8px;place-items:center;padding:0;display:grid;position:relative}button.party-rail-character{cursor:pointer}button.party-rail-character:hover:not(:disabled),.party-rail-character.selected{background:#f4f7fd;border-color:#2d508d7a}.party-rail-character.selected{box-shadow:0 0 0 2px #2d508d1f,0 8px 24px #18231f14}.party-rail-character.read-only{opacity:.74}.party-rail-character.empty{color:#82918b;border-style:dashed}.party-rail-status-dot{background:#87938f;border:2px solid #fff;border-radius:999px;width:11px;height:11px;position:absolute;bottom:7px;right:7px}.party-rail-status-dot.alive{background:#2e795b}.party-rail-status-dot.dead{background:#3a1415}.party-rail-status-dot.draft{background:#2d508d}.party-rail-loading{border:3px solid #2e795b2e;border-top-color:#2e795bb3;border-radius:999px;width:38px;height:38px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.party-rail-tooltip{gap:2px;display:grid}.party-rail-tooltip strong,.party-rail-tooltip small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.party-rail-tooltip small{color:var(--muted)}.party-character-list{gap:12px;display:grid}.party-character-section{gap:8px;min-width:0;display:grid}.party-character-section-heading{color:#52635d;justify-content:space-between;align-items:center;gap:8px;min-width:0;font-size:.72rem;font-weight:850;line-height:1.2;display:flex}.party-character-section-heading>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.party-character-section-heading [data-slot=badge]{min-height:22px;padding:0 8px;font-size:.72rem}.draft-character-section>summary{cursor:pointer;list-style:none}.draft-character-section>summary::-webkit-details-marker{display:none}.draft-character-section>summary:before{content:"›";color:#71807b;font-size:1rem;transition:transform .12s;transform:rotate(0)}.draft-character-section[open]>summary:before{transform:rotate(90deg)}.character-owner-line{font-weight:800;color:#52635d!important}.character-roster-badges{flex-wrap:wrap;gap:4px;display:flex}.character-roster-badges [data-slot=badge]{min-height:20px;padding:1px 6px;font-size:.64rem}.party-character-section-list{gap:8px;min-width:0;display:grid}.party-character-row{width:100%;min-width:0;color:inherit;text-align:left;background:#ffffffd1;border:1px solid #cfd9d4d1;border-radius:8px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;padding:8px;display:grid}button.party-character-row{cursor:pointer}button.party-character-row:hover:not(:disabled),.party-character-row.selected{background:#f4f7fd;border-color:#2d508d61}button.party-character-row:disabled{cursor:default;opacity:.78}.party-character-row.read-only{opacity:.82}.party-character-row>span:nth-child(2){gap:2px;min-width:0;display:grid}.party-character-row strong,.party-character-row small{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.party-character-row strong{color:var(--ink);font-size:.84rem;font-weight:850}.party-character-row small{color:var(--muted);font-size:.74rem;line-height:1.25}.character-sheet-link{color:#2d508d;background:#f4f7fd;border:1px solid #d7e0f4;border-radius:999px;align-items:center;gap:5px;width:max-content;max-width:100%;min-height:24px;padding:3px 8px;font-size:.72rem;font-weight:850;line-height:1.15;text-decoration:none;display:inline-flex}.character-sheet-link:hover{border-color:var(--green);color:var(--green-dark);background:#edf7f1}.character-sheet-link svg{flex:none}.character-status-pill{white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:3px 8px;font-size:.7rem;line-height:1.15;display:inline-flex}.character-status-badge{min-height:24px;color:inherit;letter-spacing:.01em;background:#f6f4eb1f;border-color:#5a666052;border-radius:999px;gap:6px;padding:3px 9px;font-size:.72rem;font-weight:750}.character-status-marker{background:#737d78;border-radius:999px;flex:none;width:6px;height:6px}.character-status-badge.alive .character-status-marker{background:#73937f}.character-status-badge.dead .character-status-marker{background:#7e6662}.character-status-badge.draft .character-status-marker{background:#718195}.character-stat-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.character-stat-row span{color:#52605b;background:#f5f7f6;border:1px solid #cbd5d1;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 8px;font-size:.78rem;font-weight:850;display:inline-flex}.character-stat-row span:first-child{color:#2d508d;background:#f4f7fd;border-color:#d7e0f4}.character-stat-row span:last-child{color:#724a0b;background:#fff8eb;border-color:#ead3a4}.character-trait-row{flex-wrap:wrap;gap:6px;min-width:0;display:flex}.character-trait-row span:not(.character-status-pill){color:#52605b;overflow-wrap:anywhere;background:#f5f8f6;border:1px solid #d3dfda;border-radius:999px;align-items:center;max-width:100%;min-height:24px;padding:3px 8px;font-size:.72rem;font-weight:850;line-height:1.15;display:inline-flex}:root{--dungeon-shadow:#080705;--dungeon-mortar:#14120d;--dungeon-stone-dark:#201f18;--dungeon-stone:#363225;--dungeon-stone-light:#4a4432;--torch-glow:#f2a64d;--torch-flame:#ffd37a}html{background:var(--dungeon-shadow)}body{background:var(--dungeon-shadow);min-height:100vh;position:relative;overflow-x:hidden}body:before,body:after{z-index:0;pointer-events:none;content:"";position:fixed;left:0;right:0}body:before{background-image:radial-gradient(circle at 8% 31%,#ffd37a8f 0 .68rem,#f27e344d 0 3.3rem,#f2a64d29 3.3rem 9.5rem,transparent 17rem),radial-gradient(circle at 91% 30%,#ffd37a80 0 .62rem,#f27e3447 0 3rem,#f2a64d24 3rem 9.2rem,transparent 16rem),radial-gradient(ellipse at 50% 7%,#ffffff12,transparent 34%),linear-gradient(180deg,#040403a8,#0404032e 20%,#0404033d 64%,#040403d1),repeating-linear-gradient(0deg,transparent 0 78px,#060504a8 78px 84px),repeating-linear-gradient(90deg,#080705a3 0 4px,transparent 4px 148px),linear-gradient(90deg,transparent 0 70px,#0807056b 70px 76px,transparent 76px 148px),radial-gradient(circle at 28% 34%,#ffffff12 0 1px,transparent 2px),linear-gradient(135deg,#ffffff0d,transparent 34%),linear-gradient(180deg,var(--dungeon-stone-light) 0%,var(--dungeon-stone) 44%,var(--dungeon-stone-dark) 100%);background-position:50%,50%,50%,50%,50%,50%,0 42px,0 0,50%,50%;background-size:auto,auto,auto,auto,auto,auto,296px 84px,88px 64px,auto,auto;inset:0;box-shadow:inset 0 0 160px #000c}body:after{background-image:linear-gradient(#0000,#14120d8f 28%,#080705f0),repeating-linear-gradient(8deg,#ffffff0b 0 2px,#0000 2px 106px),repeating-linear-gradient(88deg,#0000003d 0 2px,#0000 2px 154px),radial-gradient(at 42% 42%,#ffffff0d,#0000 18%),linear-gradient(#36322533,#100f0bc7);height:36vh;bottom:0}#root,.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.auth-shell,.campaign-gate{z-index:1;position:relative}.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.auth-shell,.campaign-gate{background:0 0}.app-shell:before,.inventory-shell:before,.character-manager-shell:before,.module-home-shell:before,.auth-shell:before,.campaign-gate:before{z-index:-1;pointer-events:none;content:"";background:radial-gradient(at 50% 46%,#0000 0 28%,#00000057 82%),linear-gradient(90deg,#ffb3521f,#0000 23% 77%,#ffb3521c);position:fixed;inset:0}.topbar{background:linear-gradient(180deg,#2d2a1fe6,#1c1b15e6),var(--dungeon-stone-dark);color:#f7efd9;border-bottom-color:#83754eb8;box-shadow:0 14px 34px #0000003d,inset 0 -1px #ffe6aa14}.topbar .campaign-header{gap:6px}.topbar .campaign-menu-actions{background:#14120d8f;border:1px solid #83754e94;border-radius:9px;gap:3px;padding:3px;box-shadow:inset 0 1px #ffe6aa0a}.topbar .campaign-menu-actions .profile-button,.topbar .campaign-menu-actions>.icon-button{color:#f7efd9c7;box-shadow:none;background:0 0;border-color:#0000}.topbar .campaign-menu-actions .profile-button:hover:not(:disabled),.topbar .campaign-menu-actions>.icon-button:hover:not(:disabled){color:#fff8e6;box-shadow:none;background:#ffffff14;border-color:#0000;transform:none}.topbar .campaign-menu-actions .profile-button[aria-expanded=true],.topbar .campaign-menu-actions>.icon-button[aria-expanded=true]{color:var(--green-dark);background:#fffae8f7;border-color:#0000;box-shadow:0 2px 10px #00000038}.topbar .campaign-menu-actions .profile-button:focus-visible,.topbar .campaign-menu-actions>.icon-button:focus-visible{box-shadow:0 0 0 2px #ffd37a9e}.topbar .campaign-header .command-button{height:36px;min-height:36px;padding:0 8px}.topbar .profile-button{max-width:136px}.topbar>h1,.topbar>h2,.topbar>label,.topbar>.brand-lockup h1,.topbar>.brand-lockup h2,.topbar>.campaign-header-slot>.campaign-header>.campaign-selector label{color:#f7efd9}.topbar>.brand-lockup p,.topbar>.campaign-header-slot>.campaign-header>.campaign-selector span{color:#f7efd9bd}.topbar .campaign-popover,.topbar .profile-popover,.topbar .filter-menu,.topbar .new-spell-menu,.topbar .pdf-settings-card,.topbar .currency-popover,.topbar .campaign-popover h1,.topbar .campaign-popover h2,.topbar .campaign-popover h3,.topbar .campaign-popover strong,.topbar .profile-popover h1,.topbar .profile-popover h2,.topbar .profile-popover h3,.topbar .profile-popover strong,.topbar .filter-menu strong,.topbar .new-spell-menu strong,.topbar .pdf-settings-card strong,.topbar .currency-popover strong{color:var(--ink)}.topbar .campaign-popover p,.topbar .campaign-popover span:not(.role-pill,.character-status-pill,.status-pill,.profile-avatar,.campaign-popover-eyebrow,.campaign-party-count,.campaign-self-pill,.campaign-member-avatar-image,.campaign-member-character-name,.campaign-member-role-mark),.topbar .profile-popover p,.topbar .profile-popover span:not(.role-pill,.character-status-pill,.status-pill,.profile-avatar),.topbar .filter-menu p,.topbar .filter-menu span:not(.filter-count),.topbar .new-spell-menu p,.topbar .new-spell-menu span,.topbar .pdf-settings-card p,.topbar .pdf-settings-card span,.topbar .currency-popover p,.topbar .currency-popover span:not(.role-pill,.character-status-pill,.status-pill,.profile-avatar){color:var(--muted)}.topbar .profile-popover .command-button,.topbar .campaign-popover .command-button,.topbar .campaign-popover .icon-button{color:#22342f}.topbar .profile-popover .command-button span,.topbar .campaign-popover .command-button span,.topbar .campaign-popover .icon-button span{color:inherit}.topbar .profile-popover .command-button:disabled{color:#5f6b66;opacity:.86}.module-switcher{background:#14120d8f;border-color:#83754e94}.module-switcher button{color:#f7efd9bd}.module-switcher button:hover,.module-switcher button.active{color:var(--green-dark);background:#fffae8f5}.topbar .item-section-switch{background:#14120d8f;border-color:#83754e94}.topbar .item-section-switch button{color:#f7efd9bd}.topbar .item-section-switch button:hover,.topbar .item-section-switch button.active{color:var(--green-dark);background:#fffae8f5}.control-panel,.detail-panel,.inventory-section-bar,.inventory-control-panel,.character-control-panel{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(#f2edd8e6,#ded7bddb),#ece6ccdb;border-color:#7769489e;box-shadow:inset 0 1px #ffffff57}.spell-browser,.inventory-main,.character-main{background:radial-gradient(at 50% 0,#ffc16514,#0000 34%),linear-gradient(#08070533,#08070557)}.inventory-main .browser-toolbar{border-bottom-color:#f7efd95c}.inventory-main .browser-title h2{color:#f7efd9;text-shadow:0 1px 2px #0000006b}.inventory-main .browser-title p{color:#f7efd9c7}.panel-section,.selected-spell,.custom-editor,.app-sheet,.module-choice-card,.item-entry-panel,.item-entry-modal,.new-item-popover,.currency-modal{background:linear-gradient(#fffdf3f2,#f8f3e0f0),#ffffffeb;border-color:#9b8a5c80;box-shadow:0 10px 30px #0a09071f,inset 0 1px #ffffff9e}.spell-row,.item-row,.character-card,.party-character-row,.character-row,.empty-list{background:#fffdf3f0;border-color:#9b8a5c6b;box-shadow:0 8px 24px #0a09071f}.spell-row:hover,.item-row:hover,.character-card:hover{border-color:#59785e94;box-shadow:0 14px 34px #0a09072b}.auth-shell,.campaign-gate{padding:clamp(18px,5vw,40px)}.auth-panel,.campaign-gate-panel{color:#f8efd8;background:linear-gradient(90deg,#ffffff0d,#0000 16% 84%,#0000002e),radial-gradient(at 25% 0,#ffcd7a26,#0000 32%),radial-gradient(circle at 28% 34%,#ffffff12 0 1px,#0000 2px) 0 0/74px 58px,linear-gradient(#4b4634f5,#2b2a22fa);border-color:#b8a971c7;box-shadow:0 26px 80px #0000007a,inset 0 0 0 2px #fff5d129,inset 0 0 0 7px #110f0b5c}.auth-panel h1,.auth-panel h2,.campaign-gate-panel>.campaign-gate-heading h1,.campaign-gate-panel>.campaign-gate-heading h2{color:#fff7e5}.auth-heading p,.campaign-gate-heading p,.auth-panel .auth-message,.campaign-gate-panel>.campaign-notice{color:#f8efd8c7}.auth-mark{background:linear-gradient(145deg,#ffffff2e,#0000 36%),linear-gradient(135deg,#233f73,#2f6f5e);border:1px solid #b6c8e861;box-shadow:0 14px 30px #00000047,0 0 28px #f2a64d1f}.auth-panel .command-button,.campaign-gate-panel>.campaign-gate-heading .icon-button{color:#15130e;background:linear-gradient(#d9c58b,#aa8f55);border-color:#6f5d32db;box-shadow:0 12px 26px #00000038}.campaign-action-panel{background:#fffdf3f0}.campaign-action-panel .section-title,.campaign-action-panel label{color:var(--ink)}.shadcn-floating-content{position:static;top:auto;right:auto}.scroll-area-list-content{gap:8px;display:grid}.module-switcher button[data-state=active]{color:var(--green-dark);background:#fff;box-shadow:0 2px 10px #1f252314}.campaign-header-mobile{display:none}.campaign-mobile-trigger{flex:none}.campaign-mobile-sheet{width:min(92vw,380px);max-width:380px;color:var(--ink);background:linear-gradient(#fffdf3fa,#f2ebcffa),#fffffff5;border-color:#9b8a5c9e;gap:0;padding:0}.campaign-mobile-sheet-header{border-bottom:1px solid #9b8a5c57;padding:18px 18px 14px}.campaign-mobile-sheet-header [data-slot=sheet-title]{color:var(--ink);font-size:1.08rem;font-weight:900}.campaign-mobile-sheet-header [data-slot=sheet-description]{max-width:calc(100% - 36px);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.campaign-mobile-scroll{min-height:0;overflow:auto}.campaign-mobile-content{gap:12px;padding:14px 18px 18px;display:grid}.campaign-mobile-select{width:100%}.campaign-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.campaign-mobile-actions .command-button,.campaign-mobile-sheet .profile-button{width:100%;min-width:0}.campaign-sheet-panel{width:100%;max-height:none;box-shadow:none;margin:0;padding:12px;position:static}.item-detail-header [data-slot=sheet-title]{color:var(--ink);font-size:1.05rem;line-height:1.2}.item-shop{min-height:0;overflow:visible}.item-shop-loading{margin:0}.inventory-shop-main{padding:20px}.item-shop-toolbar{gap:14px;max-width:1500px;margin:0 auto 18px;display:grid}.item-shop-heading{justify-content:space-between;align-items:end;gap:18px;display:flex}.item-shop-heading>div:first-child{background:#fffdf3eb;border:1px solid #9b8a5c75;border-radius:10px;gap:6px;padding:11px 14px;display:grid;box-shadow:0 8px 24px #0a090714}.item-shop-heading h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(1.55rem,3vw,2.3rem)}.item-shop-heading p{color:var(--muted);font-weight:700}.item-shop-count{color:#6f4c16;background:#fffdf3eb;border:1px solid #9b8a5c7a;border-radius:10px;grid-template-columns:auto auto;align-items:center;gap:2px 8px;min-width:max-content;padding:10px 14px;display:grid}.item-shop-count svg{grid-row:1/3}.item-shop-count strong{font-size:1.1rem}.item-shop-count span{color:var(--muted);font-size:.72rem;font-weight:800}.item-shop-filters{background:#fffdf3f0;border:1px solid #9b8a5c6b;border-radius:10px;grid-template-columns:minmax(260px,1fr) max-content;align-items:center;gap:8px;padding:12px;display:grid;box-shadow:0 8px 24px #0a090714}.item-shop-filters label{margin:0}.item-shop-filters>.command-button{min-height:38px;box-shadow:none}.item-shop-notice{margin:0}.mundane-shop-scopes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:1500px;margin:0 auto;display:grid}.mundane-scope-button{justify-content:space-between;min-width:0;box-shadow:0 5px 16px #0a09070f}.mundane-scope-button [data-slot=badge]{background:#ffffffb8;flex:none}.mundane-shop-filters{grid-template-columns:minmax(260px,1fr) minmax(175px,230px) minmax(175px,230px)}.mundane-shop-filters>label:not(.toolbar-search){color:var(--muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;font-size:.72rem;font-weight:850;display:grid}.mundane-shop-filters select{min-width:0}.item-shop-grid{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:13px;max-width:1500px;margin:0 auto;display:grid}.item-shop-grid>.empty-list{grid-column:1/-1}.shop-item-card{background:linear-gradient(#fffef8fa,#f8f4e5f5),#fff;border:1px solid #9b8a5c75;border-radius:10px;grid-template-rows:auto auto auto minmax(4.8em,1fr) auto;gap:10px;min-width:0;padding:13px;display:grid;box-shadow:0 10px 26px #0a09071a,inset 0 1px #ffffffb3}.shop-item-card:hover{border-color:#59785e9e;box-shadow:0 15px 34px #0a090729}.mundane-shop-card{grid-template-rows:auto auto auto minmax(2.9em,1fr) auto}.shop-item-preview{color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:66px minmax(0,1fr);align-items:center;gap:11px;padding:0;display:grid}.shop-item-preview:focus-visible{outline-offset:3px;outline:3px solid #2f6f5e33}.shop-item-icon,.shop-detail-icon{background:radial-gradient(circle at 30% 20%,#fffffff5,#0000 48%),#e8e1c8;border:1px solid #9b8a5c6b;border-radius:12px;place-items:center;display:grid;overflow:hidden}.shop-item-icon{width:66px;height:66px}.shop-item-icon img,.shop-detail-icon img{object-fit:contain;width:86%;height:86%}.shop-item-title{gap:4px;min-width:0;display:grid}.shop-item-title strong{text-overflow:ellipsis;font-family:Georgia,Times New Roman,serif;font-size:1.05rem;line-height:1.16;overflow:hidden}.shop-item-title small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;font-weight:800;overflow:hidden}.shop-item-price,.shop-detail-price{color:#7b4f0f;align-items:center;gap:7px;display:flex}.shop-item-price strong{font-size:1.02rem}.mundane-shop-weight{color:var(--muted);margin-left:auto;font-size:.74rem;font-weight:800}.shop-item-badges{min-height:25px}.shop-item-description{color:#48534f;-webkit-line-clamp:4;-webkit-box-orient:vertical;font-size:.84rem;line-height:1.48;display:-webkit-box;overflow:hidden}.shop-item-actions{grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:7px;display:grid}.shop-item-actions .command-button,.shop-item-actions .primary-button{min-width:0;padding-inline:8px}.mundane-shop-actions{grid-template-columns:minmax(84px,1fr) 82px minmax(76px,1fr);align-items:center}.mundane-shop-actions.read-only{grid-template-columns:1fr}.mundane-shop-quantity{min-width:0;color:var(--muted);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:5px;margin:0;font-size:.68rem;font-weight:850;display:grid}.mundane-shop-quantity input{text-align:center;width:100%;min-width:0;min-height:38px;padding-inline:4px}.item-shop-attribution{max-width:1500px;color:var(--muted);text-align:center;margin:18px auto 0;font-size:.75rem;font-weight:700}.shop-detail-sheet,.shop-edit-sheet{width:min(720px,94vw)}.shop-detail-hero{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:18px;padding:18px;display:grid}.shop-detail-icon{width:150px;height:150px}.shop-detail-hero>div{gap:12px;display:grid}.shop-detail-price strong{font-family:Georgia,Times New Roman,serif;font-size:1.45rem}.shop-detail-description{white-space:pre-line}.shop-source-details{border-top:1px solid var(--line);color:var(--muted);gap:5px;margin:0 18px;padding-top:14px;font-size:.76rem;font-weight:750;display:grid}.mundane-catalog-details{margin:0 18px}.mundane-catalog-details dl{border-top:1px solid var(--line);gap:0;margin:8px 0 0;display:grid}.mundane-catalog-details dl>div{border-bottom:1px solid var(--line);grid-template-columns:110px minmax(0,1fr);gap:12px;padding:9px 0;display:grid}.mundane-catalog-details dt{color:var(--muted);font-size:.76rem;font-weight:850}.mundane-catalog-details dd{min-width:0;color:var(--ink);margin:0;font-size:.84rem;font-weight:700}.mundane-legacy-note{color:#6f541f;background:#fff9e2c7;border:1px solid #9b8a5c6b;border-radius:8px;margin:14px 18px 0;padding:10px 12px;font-size:.76rem;font-weight:750}.mundane-detail-actions .mundane-shop-quantity{width:126px}.shop-detail-actions,.shop-edit-actions{justify-content:flex-end;align-items:center;gap:8px;padding:18px;display:flex}.shop-edit-form{min-height:0;display:grid}.shop-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px;display:grid;overflow:auto}.shop-edit-grid label{margin:0}.shop-edit-wide{grid-column:1/-1}.shop-edit-wide textarea{min-height:260px}.shop-attunement-toggle{align-self:end;min-height:38px;margin-bottom:0}.shop-edit-actions{border-top:1px solid var(--line)}.shop-edit-actions>span:first-child{flex:auto}@media(min-width:961px)and (max-width:1500px){.topbar{gap:8px;padding-inline:12px}.topbar>.module-switcher-slot .app-navigation{gap:4px}.topbar>.module-switcher-slot .app-navigation-link{gap:4px;padding-inline:8px;font-size:.72rem}.topbar .campaign-menu-actions,.topbar>.topbar-actions{gap:6px}.topbar>.topbar-actions .command-button,.topbar>.topbar-actions .primary-button{padding-inline:10px;font-size:.78rem}}@media(min-width:961px)and (max-width:1200px){.character-topbar>.topbar-actions .character-create-button{flex:0 0 36px;width:36px;min-width:36px;padding-inline:0}.character-create-button .topbar-action-label{display:none}}@media(max-width:960px){.topbar{grid-template-columns:max-content max-content minmax(0,1fr) max-content}.brand-mark{grid-column:1}.topbar-actions{grid-column:4}.campaign-header-slot{grid-area:2/1/auto/-1;justify-self:stretch;width:100%}.module-switcher-slot{grid-area:1/2;justify-self:start}.campaign-header{grid-template-columns:max-content;justify-content:start;width:100%;max-width:100%}}@media(min-width:761px)and (max-width:960px){.topbar>.topbar-actions{flex-wrap:wrap;grid-area:3/1/auto/-1;justify-content:flex-end;width:100%;min-width:0}}@media(max-width:1120px){.campaign-header{grid-template-columns:1fr}.campaign-tools{flex-wrap:wrap;justify-content:flex-start}}@media(max-width:1180px){.app-shell{grid-template-columns:minmax(200px,240px) minmax(300px,1fr) minmax(280px,360px)}.control-panel,.detail-panel{padding:14px}}@media(max-width:760px){.app-shell{height:auto;min-height:100vh;display:block;overflow:visible}.topbar,.browser-toolbar{align-items:flex-start}.topbar{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:10px 12px 12px}.brand-mark{grid-area:1/1;width:44px;height:44px}.campaign-header-slot{grid-area:1/2;width:100%;min-width:0}.module-switcher-slot,.topbar-actions{grid-area:auto/1/auto/-1;width:100%;min-width:0}.module-switcher-slot{justify-self:stretch}.topbar>.module-switcher-slot{grid-area:2/1/auto/-1;justify-self:stretch}.topbar>.topbar-actions{grid-area:3/1/auto/-1}.app-navigation{gap:6px;width:100%;display:grid}.primary-navigation{grid-auto-flow:initial;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.utility-navigation{grid-auto-flow:initial;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));width:100%;display:grid}.app-navigation-link{gap:4px;min-height:44px;padding-inline:6px;font-size:.72rem}.home-dashboard-content{width:min(100% - 28px,720px);padding:30px 0}.home-primary-card{grid-template-columns:1fr;gap:16px;padding:16px}.home-primary-action{width:100%}.home-notebook-shortcut{grid-template-columns:auto minmax(0,1fr)}.home-notebook-shortcut>button{grid-column:1/-1;width:100%}.topbar-actions{flex-wrap:wrap;justify-content:stretch}.item-section-switch{width:100%;min-width:0}.inventory-shop-main{padding:14px}.inventory-shop-main .item-shop{padding:0}.item-shop-heading{flex-direction:column;align-items:stretch}.item-shop-count{width:fit-content}.item-shop-filters,.mundane-shop-scopes{grid-template-columns:1fr}.mundane-shop-filters>label:not(.toolbar-search){grid-template-columns:64px minmax(0,1fr)}.filter-sheet{width:min(100vw,100%)}.filter-sheet-header,.filter-sheet-body,.filter-sheet-footer{padding-inline:14px}.filter-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-preset-grid,.filter-choice-grid,.filter-toggle-grid,.item-shop-grid{grid-template-columns:1fr}.mundane-detail-actions{grid-template-columns:112px minmax(0,1fr);display:grid}.mundane-detail-actions .mundane-shop-quantity{width:auto}.shop-detail-hero{grid-template-columns:96px minmax(0,1fr);padding:14px}.shop-detail-icon{width:96px;height:96px}.shop-edit-grid{grid-template-columns:1fr;padding:14px}.shop-edit-wide{grid-column:auto}.shop-edit-actions{grid-template-columns:1fr;padding:14px;display:grid}.module-switcher{gap:3px;width:100%;min-width:0;height:42px;min-height:42px}.module-switcher button{min-width:0;height:100%;min-height:0;padding:0 6px;font-size:.78rem;line-height:1}.module-switcher button svg{width:15px;height:15px}.module-switcher[data-module-count="4"] button,.module-switcher[data-module-count="5"] button{gap:2px;padding-inline:4px;font-size:.7rem}.module-switcher[data-module-count="4"] button svg,.module-switcher[data-module-count="5"] button svg{display:none}.module-home-content{width:min(100% - 28px,920px);padding:28px 0}.module-choice-grid,.module-choice-card{grid-template-columns:1fr}.item-choice-card{grid-area:auto}.module-choice-card{min-height:auto}.character-workspace-panel{padding:12px}.character-section-switch{flex-direction:column;width:100%;display:flex;overflow:visible}.character-section-switch [data-slot=tabs-trigger]{flex:none;width:100%;min-width:0}.builder-grid,.dm-rule-grid,.sheet-detail-grid,.spell-builder-grid,.audit-grid,.math-review-target-grid,.character-build-grid,.equipment-builder-grid,.ability-editor-grid,.advancement-ability-fields,.point-buy-grid,.random-roll-grid,.sheet-summary-grid,.sheet-summary-grid.compact,.proficiency-choice-grid,.rule-choice-grid,.freeform-choice-grid,.manual-mechanic-fields,.feat-slot-grid,.attunement-slot-grid,.compact-loadout-list,.campaign-learned-spell-controls,.quick-sheet-grid,.sheet-combat-grid,.sheet-save-grid,.sheet-capacity-row{grid-template-columns:1fr}.campaign-learned-spell-controls>*{grid-column:auto}.campaign-learned-spell-row{flex-direction:column;align-items:flex-start}.campaign-learned-spell-row-actions{justify-content:space-between;width:100%}.dm-collaboration-panel{grid-template-columns:auto minmax(0,1fr);align-items:start}.dm-collaboration-panel>.dm-rule-toggle,.dm-collaboration-panel>[data-slot=badge]{grid-column:2}.math-review-target-row,.class-track-fields{grid-template-columns:1fr}.builder-profile-picture-row{grid-template-columns:64px minmax(0,1fr)}.builder-profile-default-button{grid-column:1/-1}.skill-choice-row,.arcane-trickster-spell-slot-grid,.freeform-choice-row,.spell-picker-row,.spell-learning-guide,.wizard-advancement-milestones{grid-template-columns:1fr}.manual-skill-override-toolbar{flex-direction:column;align-items:stretch}.manual-skill-reset{width:100%}.ability-method-switch{grid-template-columns:repeat(2,minmax(0,1fr))}.ability-method-status{flex-direction:column;align-items:flex-start}.ability-method-status span{text-align:left}.quick-sheet-hero{grid-template-columns:54px minmax(0,1fr) auto;gap:12px;padding:14px}.quick-sheet-hero .sheet-portrait{width:54px;height:54px}.quick-sheet-print-action{grid-area:1/3}.quick-sheet-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.editable-hit-point-stat{grid-column:span 2}.sheet-health-controls{grid-template-columns:minmax(0,1fr) minmax(70px,.45fr)}.sheet-health-control-label,.sheet-health-delta-input{grid-column:1/-1}.sheet-health-action{min-height:36px}.sheet-health-history-row{grid-template-columns:44px minmax(0,1fr)}.sheet-health-history-row time{grid-column:2}.sheet-action-row{grid-template-columns:30px minmax(0,1fr);gap:8px}.sheet-action-row b,.sheet-action-row em{text-align:left;grid-column:2}.sheet-action-row em.sheet-damage-stack{justify-items:start}.sheet-detail-list span{grid-template-columns:1fr;gap:2px;padding:7px 0}.sheet-detail-list strong{text-align:left}.quick-sheet-badges{grid-area:2/1/auto/-1;justify-content:flex-start}.ability-score-grid,.compact-stat-list,.skill-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.character-workspace-actions{grid-template-columns:1fr;display:grid}.loadout-item{flex-direction:column;align-items:stretch}.selected-spell-row{grid-template-columns:minmax(0,1fr) minmax(32px,auto)}.starting-equipment-suggestion-row{grid-template-columns:1fr}.starting-equipment-row{grid-template-columns:minmax(0,1fr)}.starting-equipment-row-header{flex-direction:column;align-items:stretch}.starting-equipment-actions{grid-template-columns:minmax(104px,1fr) 72px 38px}.builder-consumable-row{grid-template-columns:minmax(0,1fr) auto auto}.builder-consumable-row .starting-equipment-quantity-input{grid-area:2/2;width:72px}.builder-consumable-row .starting-equipment-content-remove:last-child{grid-column:3}.inventory-shell,.character-manager-shell{height:auto;min-height:100vh;display:block;overflow:visible}.inventory-control-panel,.inventory-main,.character-control-panel,.character-main{border:0;min-height:auto}.character-control-panel{border-bottom:1px solid #cfd9d4eb;align-items:stretch;padding:10px 12px;display:block;overflow-x:auto}.party-roster-panel{width:max-content;min-width:100%}.character-manager-shell.roster-collapsed .character-control-panel{justify-items:start}.character-manager-shell.roster-collapsed .party-rail-panel{justify-content:flex-start;align-items:center;width:max-content;min-width:100%;display:flex}.character-manager-shell.roster-collapsed .party-rail-list{place-items:center start;width:auto;display:flex}.party-sidebar-list{gap:10px;max-height:none;padding-right:0;display:grid;overflow:visible}.party-character-section{width:max-content;min-width:100%}.party-character-section-list{align-items:center;gap:8px;display:flex}.party-character-section-list .party-character-row{flex:0 0 min(260px,100vw - 48px);width:min(260px,100vw - 48px)}.party-character-section .empty-list{width:min(260px,100vw - 48px)}.party-roster-actions{border-top:0;grid-template-columns:none;grid-auto-columns:minmax(112px,max-content);grid-auto-flow:column;width:max-content;padding-top:0}.character-delete-panel{grid-template-columns:1fr}.character-delete-panel .command-button{justify-self:stretch;width:100%}.character-start-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:14px}.character-start-modal .sheet-footer{grid-template-columns:1fr;display:grid}.character-start-modal .sheet-footer .command-button,.character-start-modal .sheet-footer .primary-button{width:100%;min-width:0}.character-manager-notice{bottom:12px;right:12px}.inventory-tools,.item-upload-row,.item-metadata-grid,.weapon-stat-grid,.spell-scroll-fields,.item-granted-spell-row,.learn-scroll-grid,.character-option-grid,.sheet-form-row,.character-stat-row{grid-template-columns:1fr;align-items:stretch}.weapon-detail-heading{flex-direction:column;align-items:flex-start}.weapon-base-field{grid-template-columns:1fr;align-items:stretch}.weapon-detail-heading>span{text-align:left}.inventory-tools,.item-upload-row,.sheet-action-row{display:grid}.item-upload-row .primary-button,.item-upload-row .command-button,.sheet-action-row .command-button{width:100%;min-width:0}.item-row{min-width:0}.item-row-toggle{grid-template-columns:48px minmax(0,1fr);align-items:start;gap:8px;padding:9px}.item-row-toggle .item-image-preview{width:48px}.item-row-toggle .item-row-body,.item-row-toggle .item-row-header{display:contents}.item-row-toggle .item-row-title{grid-area:1/2;min-height:38px;padding-right:80px}.item-row-toggle .item-scan-badges{grid-area:2/1/auto/-1;padding-right:22px}.item-row-toggle.has-item-holder .item-scan-badges{padding-right:66px}.item-row-owner-indicator{position:absolute;bottom:14px;right:10px}.item-row-owner-indicator.has-holder-avatar{bottom:8px}.item-holder-avatar{width:30px;height:30px}.item-row-scan-actions{top:8px;right:8px}.item-row-expanded-content{padding:10px}.item-scan-badges{max-width:100%}.item-actions-popover{width:min(250px,100vw - 48px)}.assign-current-owner,.assign-character-option{align-items:start}.assign-character-option{grid-template-columns:auto minmax(0,1fr) auto}.assign-character-option .item-count-pill,.assign-character-option .owner-counts{display:none}.campaign-header-slot,.campaign-header,.campaign-selector,.campaign-tools{width:100%}.campaign-selector,.campaign-tools,.campaign-form-grid,.campaign-gate-grid{flex-direction:column;align-items:stretch;display:flex}.campaign-tool-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.profile-menu,.profile-button{width:100%;min-width:0;max-width:none}.profile-popover{width:min(380px,100vw - 28px);margin-top:0;position:static}.campaign-invite-panel{grid-template-columns:1fr}.campaign-invite-actions{justify-content:stretch}.campaign-tool-group .command-button,.campaign-invite-actions .command-button,.topbar-actions .command-button,.topbar-actions .primary-button{flex:1 1 0}.currency-menu,.new-item-menu,.item-section-switch{width:100%}.currency-menu-trigger,.new-item-menu>.command-button{width:100%;min-width:0}.currency-menu-trigger>span{display:none}.currency-menu-trigger strong{margin-left:0}.new-item-popover{width:100%;margin-top:8px;position:static}.currency-popover{width:auto;max-height:calc(100vh - 20px);margin-top:0;position:fixed;inset:auto 10px 10px}.inventory-topbar{-webkit-backdrop-filter:none;backdrop-filter:none}.currency-table{min-width:320px}.currency-col-character{width:80px}.currency-col-coin{width:50px}.currency-col-save,.currency-save-heading{width:40px}.currency-table th,.currency-table td{padding-left:2px;padding-right:2px}.currency-table thead th>span{display:none}.currency-table thead small{text-transform:uppercase;margin-top:0;font-size:.7rem}.currency-table tbody th,.currency-table tbody td{padding:7px 3px}.currency-table tbody td:last-child{padding-left:3px;padding-right:3px}.currency-table tbody th>span{font-size:.72rem}.currency-input{width:44px;height:34px;min-height:34px;padding:4px}.secret-purse-edit-inputs .currency-input,.secret-purse-transfer-inputs .currency-input{width:100%}.currency-popover-header,.currency-popover-actions,.currency-modal-header,.bulk-distribution-heading,.currency-modal-footer{flex-direction:column;align-items:stretch}.currency-popover-actions .command-button,.currency-modal-footer .command-button,.currency-modal-footer .primary-button{width:100%}.currency-popover-actions{flex-direction:row;width:100%}.currency-popover-actions .command-button{flex:auto;width:auto}.currency-popover-actions .icon-button{flex:0 0 38px}.bulk-currency-pool{grid-template-columns:1fr 1fr}.bulk-currency-table{min-width:620px}.campaign-selector label{min-width:0}.campaign-header,.topbar .campaign-header{width:100%;min-width:0;display:block}.campaign-header>.campaign-selector,.campaign-header>.campaign-tools,.campaign-header>.campaign-popover{display:none}.campaign-header-mobile{justify-content:flex-end;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.topbar .campaign-header .campaign-mobile-trigger{height:44px;min-height:44px;padding:0 12px}.campaign-popover{width:100%;margin-top:10px;position:static}.campaign-member-row{grid-template-columns:1fr;align-items:stretch}.campaign-member-role-actions{flex-direction:row;justify-content:flex-start;padding-left:57px}.campaign-history-main{grid-template-columns:1fr;gap:4px}.campaign-history-main time{text-align:left}.campaign-history-meta{white-space:normal}.catalog-tools{grid-template-columns:1fr;justify-content:stretch;width:100%}.browser-title,.toolbar-search,.filter-dropdown,.filter-dropdown>.command-button,.new-spell-dropdown,.new-spell-dropdown>.command-button,.new-spell-menu,.filter-menu{width:100%}.new-spell-menu,.filter-menu{margin-top:8px;position:static;left:0;right:auto}.topbar-actions{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;width:100%;min-width:0;display:grid}.topbar-actions .command-button,.topbar-actions .primary-button{justify-content:center;min-width:0;padding-inline:10px}.topbar-actions .pdf-dropdown{flex:100%;width:100%;min-width:0}.topbar-actions .pdf-dropdown>.primary-button{width:100%}.pdf-settings-card{width:100%;margin-top:8px;position:static}.control-panel,.detail-panel{border:0;min-height:auto}.detail-panel{display:block}.detail-heading{flex-direction:column}.detail-actions{justify-content:flex-start}.split-fields,.spell-facts,.toggle-grid{grid-template-columns:1fr}.summary-char-count,.summary-editor-actions{flex-direction:column;align-items:stretch}.summary-editor-save-actions{grid-template-columns:1fr 1fr;display:grid}.summary-editor-save-actions button{width:100%}.spell-row{grid-template-columns:1fr}.spell-actions{border-top:1px solid var(--line)}}:root{--forge-void:#101512;--forge-stone:#202923;--forge-stone-light:#2d3931;--forge-parchment:#f3e8cb;--forge-parchment-light:#fff9e9;--forge-parchment-shadow:#d8c79e;--forge-ink:#29261f;--forge-brass:#d1a24c;--forge-brass-light:#f2d98d;--forge-teal:#4ec4b6;--forge-teal-dark:#216d64;--forge-ember:#d86c4b;--forge-violet:#7b78c9;--forge-moss:#6fae72;--forge-display:Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;--forge-stat:"SFMono-Regular", Consolas, "Liberation Mono", monospace}.module-home-heading h1,.auth-heading h1,.campaign-gate-heading h1,.party-roster-heading h2,.builder-chapter-header h2,.builder-hero-identity h3,.character-start-modal .sheet-header h2{font-family:var(--forge-display);letter-spacing:-.025em}.module-choice-card{border-radius:16px;transition:border-color .18s,box-shadow .18s,transform .18s;position:relative;overflow:hidden}.module-choice-card:after{pointer-events:none;content:"";border:1px solid #d1a24c2e;border-radius:50%;width:148px;height:148px;position:absolute;bottom:-56px;right:-34px;box-shadow:0 0 0 18px #d1a24c0d,0 0 0 42px #4ec4b608}.module-choice-card:hover{transform:translateY(-3px)}.character-manager-shell{--character-rail-width:clamp(238px, 18vw, 286px);grid-template-columns:var(--character-rail-width) minmax(0,1fr)}.character-control-panel{color:#f4ead0;background:linear-gradient(180deg,#252e27f5,#131915fa),var(--forge-stone);border-right-color:#d1a24c5c;box-shadow:inset -1px 0 #ffffff0a,12px 0 34px #0000002e}.party-roster-heading{border-bottom-color:#d1a24c3d}.party-roster-heading h2{color:#fff6dd;font-size:1.18rem}.party-roster-heading .source-pill,.party-character-section-heading,.party-character-section-heading>span{color:#f2d98dd1}.party-roster-heading [data-slot=badge],.party-character-section-heading [data-slot=badge]{color:#f2d98d;background:#d1a24c14;border-color:#d1a24c52}.party-character-row{background:linear-gradient(135deg,#fffdf3fa,#ebe0c2f0);border-color:#d1a24c3d #d1a24c3d #d1a24c3d #d1a24c6b;border-left-style:solid;border-left-width:2px;border-radius:12px;transition:border-color .16s,box-shadow .16s,transform .16s;box-shadow:0 10px 24px #0003}.party-character-row:hover:not(:disabled){border-color:#4ec4b68f;transform:translate(2px)}.party-character-row.selected{border-color:var(--forge-teal);border-left-color:var(--forge-teal);background:linear-gradient(135deg,#f9f4dc,#d2ebdcfa);box-shadow:0 12px 28px #0000003d,0 0 0 2px #4ec4b624}.party-character-row .character-status-badge{color:#34443d;background:#fffdf394;border-color:#3f52494d}.character-main{padding:14px}.character-workspace-panel{box-shadow:none;background:0 0;border:0;border-radius:0;gap:10px;margin:0;padding:0}.character-section-switch{background:#0f1511c2;border-color:#d1a24c61;border-radius:13px;width:min(560px,100%);min-height:46px;padding:5px;box-shadow:0 12px 30px #0003,inset 0 1px #ffffff0d}.character-section-switch [data-slot=tabs-trigger]{color:#f3e8cbb8;border-radius:9px;height:36px}.character-section-switch [data-slot=tabs-trigger]:hover{color:#fff6dd;background:#ffffff0f}.character-section-switch [data-slot=tabs-trigger][data-state=active]{color:#2b2a22;background:linear-gradient(#fff8e7,#e8d9b6);border-color:#f2d98d80;box-shadow:0 8px 18px #0000003d,inset 0 1px #fff}.character-section-switch [data-slot=tabs-trigger][data-state=active] svg{color:var(--forge-teal-dark)}.builder-identity-header{min-width:0;color:var(--forge-parchment);background:radial-gradient(circle at 88% 0,#4ec4b621,#0000 28%),linear-gradient(135deg,#273129fa,#101612fc);border:1px solid #d1a24c66;border-radius:15px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:12px;padding:12px 14px;display:grid;box-shadow:0 16px 38px #0000003d,inset 0 1px #ffffff0f}.builder-identity-portrait{width:70px;height:70px;color:var(--forge-brass-light);background:#1d2923;border:2px solid #f2d98da8;box-shadow:0 0 0 4px #d1a24c1a,0 10px 24px #00000047}.builder-identity-content{grid-template-columns:minmax(220px,420px) minmax(160px,1fr);align-items:end;gap:14px;min-width:0;display:grid}.builder-identity-name-field{color:#f2d98dc7;letter-spacing:.1em;text-transform:uppercase;gap:6px;margin:0;font-size:.64rem;font-weight:900}.builder-identity-name-field input{color:#29261f;height:44px;font-family:var(--forge-display);background:#fff9e8f5;border-color:#f2d98d57;font-size:1.08rem;font-weight:800}.builder-identity-summary{gap:4px;min-width:0;padding-bottom:3px;display:grid}.builder-identity-summary strong,.builder-identity-summary small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.builder-identity-summary strong{color:#fff8e7;font-size:.82rem;font-weight:900}.builder-identity-summary small{color:#f3e8cba8;font-size:.7rem;font-weight:750}.builder-identity-actions{justify-items:end;gap:7px;display:grid}.builder-identity-actions [data-slot=badge]{color:#f8ebc5;background:#d1a24c14;border-color:#f2d98d52}.builder-identity-actions .character-status-badge{color:#faf6e7db;background:#f6f4eb0f;border-color:#ebe4cd3d}.builder-identity-actions .builder-profile-default-button{color:#f7efd9;background:#ffffff0d;border-color:#f3e8cb38}.builder-journey-layout{grid-template-columns:minmax(176px,204px) minmax(460px,1fr) minmax(248px,292px);align-items:start;gap:14px;min-width:0;display:grid}.builder-quest-rail,.builder-hero-preview{min-width:0;position:sticky;top:12px}.builder-quest-rail{color:var(--forge-parchment);background:radial-gradient(circle at 100% 0,#4ec4b621,#0000 38%),linear-gradient(#273129fa,#101612fc);border:1px solid #d1a24c61;border-radius:16px;overflow:hidden;box-shadow:0 18px 44px #00000047,inset 0 1px #ffffff0f}.builder-quest-heading{border-bottom:1px solid #d1a24c33;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:16px 14px 14px;display:grid}.builder-quest-crest{width:38px;height:38px;color:var(--forge-brass-light);background:radial-gradient(circle,#4ec4b63d,#0000 68%),#ffffff0a;border:1px solid #f2d98d80;border-radius:50%;place-items:center;display:grid;box-shadow:0 0 24px #4ec4b624}.builder-quest-heading>span:last-child{gap:2px;min-width:0;display:grid}.builder-quest-heading small,.builder-quest-copy small,.builder-quest-progress small,.builder-action-copy small{color:#f2d98dad;letter-spacing:.1em;text-transform:uppercase;font-size:.62rem;font-weight:850;line-height:1.1}.builder-quest-heading strong{color:#fff8e7;font-family:var(--forge-display);font-size:.96rem;line-height:1.05;overflow:hidden}.builder-quest-steps{gap:2px;margin:0;padding:10px 8px;list-style:none;display:grid;position:relative}.builder-quest-steps:before{background:linear-gradient(var(--forge-teal),#d1a24c2e);opacity:.48;content:"";width:1px;position:absolute;top:32px;bottom:32px;left:27px}.builder-quest-step{color:#f3e8cbbd;text-align:left;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:54px;padding:7px 8px;transition:background-color .16s,border-color .16s,color .16s,transform .16s;display:grid;position:relative}.builder-quest-step:hover{color:#fff8e7;background:#ffffff0d;border-color:#d1a24c33}.builder-quest-step.active{color:#fff8e7;background:linear-gradient(90deg,#4ec4b629,#4ec4b60a);border-color:#4ec4b673;transform:translate(2px)}.builder-quest-node{z-index:1;color:#f2d98dc7;background:#1b241e;border:1px solid #d1a24c57;border-radius:50%;place-items:center;width:30px;height:30px;display:grid;position:relative}.builder-quest-step.active .builder-quest-node{border-color:var(--forge-teal);color:#b7fff5;background:#173e38;box-shadow:0 0 18px #4ec4b642}.builder-quest-step.complete .builder-quest-node{color:#c9f2ca;background:#24432c;border-color:#6fae72b8}.builder-quest-optional{border-top:1px solid #d1a24c2e;margin-top:7px;padding-top:7px}.builder-quest-step.optional .builder-quest-node{border-style:dashed}.builder-quest-copy{gap:3px;min-width:0;display:grid}.builder-quest-copy small{font-size:.66rem}.builder-quest-copy strong{font-size:.8rem;font-weight:900}.builder-quest-alert{color:#ffb9a3;min-width:19px;height:19px;font-family:var(--forge-stat);background:#d86c4b29;border:1px solid #d86c4b8a;border-radius:999px;place-items:center;padding:0 4px;font-size:.58rem;font-weight:900;display:grid;position:absolute;top:4px;right:8px}.builder-quest-index{display:none}.builder-quest-progress{border-top:1px solid #d1a24c2e;gap:8px;padding:12px 14px 15px;display:grid}.builder-quest-progress>span:first-child{justify-content:space-between;align-items:center;gap:8px;display:flex}.builder-quest-progress strong{color:var(--forge-brass-light);font-family:var(--forge-stat);font-size:.76rem}.builder-quest-progress-track,.builder-mobile-progress{background:#ffffff1a;border-radius:999px;height:5px;display:block;overflow:hidden}.builder-quest-progress-track>span,.builder-mobile-progress>span{border-radius:inherit;background:linear-gradient(90deg,var(--forge-brass),var(--forge-teal));height:100%;transition:width .24s;display:block;box-shadow:0 0 12px #4ec4b659}.builder-journey-stage{gap:12px;min-width:0;display:grid}.builder-chapter-header{min-height:104px;color:var(--forge-parchment);background:radial-gradient(circle at 92% 18%,#4ec4b633,#0000 30%),linear-gradient(135deg,#2d3931fa,#101612fc);border:1px solid #d1a24c75;border-radius:16px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:17px 20px;scroll-margin-top:12px;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 42px #0000003d,inset 0 1px #ffffff0f}.builder-chapter-header:after{content:"";border:1px solid #d1a24c2e;border-radius:50%;width:220px;height:220px;position:absolute;bottom:-96px;right:-42px;box-shadow:0 0 0 26px #d1a24c0a,0 0 0 58px #4ec4b606}.builder-chapter-header>div{z-index:1;gap:7px;min-width:0;display:grid;position:relative}.builder-chapter-kicker{color:var(--forge-brass-light);letter-spacing:.14em;text-transform:uppercase;font-size:.67rem;font-weight:900}.builder-chapter-header h2{color:#fff8e7;margin:0;font-size:clamp(1.4rem,2.4vw,1.8rem);line-height:1}.builder-chapter-header p{color:#f3e8cbc2;max-width:660px;font-size:.9rem;font-weight:650;line-height:1.5}.builder-chapter-sigil{z-index:1;width:54px;height:54px;color:var(--forge-brass-light);background:radial-gradient(circle,#4ec4b638,#4ec4b608 68%),#ffffff09;border:1px solid #f2d98d80;border-radius:50%;place-items:center;display:grid;position:relative;box-shadow:0 0 0 7px #d1a24c0d,0 0 34px #4ec4b629}.builder-mobile-progress{display:none}.guided-builder-panels{grid-template-columns:1fr;gap:12px}.guided-builder-panels>[data-builder-step]{grid-column:1/-1;display:none}.guided-builder-panels[data-active-step=origin]>[data-builder-step=origin],.guided-builder-panels[data-active-step=attributes]>[data-builder-step=attributes],.guided-builder-panels[data-active-step=training]>[data-builder-step=training],.guided-builder-panels[data-active-step=loadout]>[data-builder-step=loadout],.guided-builder-panels[data-active-step=powers]>[data-builder-step=powers],.guided-builder-panels[data-active-step=review]>[data-builder-step=review],.guided-builder-panels[data-active-step=story]>[data-builder-step=story]{animation:.22s both forge-panel-arrival;display:grid}.guided-builder-panels .builder-panel{background:linear-gradient(180deg,#fffae9fa,#efe4c6fa),var(--forge-parchment);color:var(--forge-ink);border-color:#977e4b75;border-radius:15px;gap:16px;padding:clamp(16px,2.4vw,24px);box-shadow:0 16px 38px #0000002e,inset 0 1px #fffc,inset 0 0 0 4px #6f532309}.guided-builder-panels .builder-panel>.section-title,.guided-builder-panels .feat-builder-header .section-title{color:#2e2b22;font-family:var(--forge-display);letter-spacing:-.01em;font-size:1.08rem}.guided-builder-panels .builder-panel>.section-title svg,.guided-builder-panels .feat-builder-header .section-title svg{color:var(--forge-teal-dark)}.guided-builder-panels input:not([type=checkbox]):not([type=radio]),.guided-builder-panels select,.guided-builder-panels textarea,.guided-builder-panels .rule-option-trigger{color:#29261f;background:#fffdf5e6;border-color:#715a3357;box-shadow:inset 0 1px 2px #4b37170f,0 1px #fffc}.guided-builder-panels input:focus,.guided-builder-panels select:focus,.guided-builder-panels textarea:focus,.guided-builder-panels .rule-option-trigger:focus-visible{border-color:var(--forge-teal-dark);box-shadow:0 0 0 3px #4ec4b629}.guided-builder-panels .class-track-row,.guided-builder-panels .ability-method-status,.guided-builder-panels .point-buy-row,.guided-builder-panels .random-roll-card,.guided-builder-panels .loadout-item,.guided-builder-panels .selected-spell-row,.guided-builder-panels .manual-mechanic-row{background:#fffcf1ad;border-color:#7e663c47;border-radius:11px}.story-files-intro{color:#2e2b22bd;margin:-3px 0 0;font-size:.86rem;line-height:1.5}.story-fields-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.story-fields-grid>label{color:#373127;align-content:start;gap:7px;min-width:0;font-size:.78rem;font-weight:850;display:grid}.story-characteristic-field{align-content:start;min-width:0;display:grid}.story-characteristics-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:12px;min-width:0;display:grid}@media(max-width:1100px){.story-characteristics-grid{grid-template-columns:minmax(0,1fr);gap:10px}}.story-fields-grid textarea{resize:vertical;min-height:104px}.story-fields-grid .story-field-wide{grid-column:1/-1}.story-fields-grid [data-testid=story-backstory]{min-height:180px}.story-files-panel{container:story-files/inline-size}.story-portrait-card{border:1px solid var(--ledger-rule,#7e663c57);background:radial-gradient(circle at 8% 0%,#4ec4b61a,transparent 34%),var(--ledger-paper-raised,#fffcf1c7);border-radius:14px;grid-template-columns:150px minmax(0,1fr) minmax(178px,auto);align-items:center;gap:18px;padding:14px;display:grid;overflow:hidden}.story-portrait-preview{aspect-ratio:2/3;color:#4c4332a3;background:linear-gradient(145deg,#ede1c4,#fffaf0);border:1px solid #7e663c61;border-radius:11px;place-items:center;width:150px;display:grid;position:relative;overflow:hidden;box-shadow:0 10px 24px #2e271d24}.story-portrait-preview img{object-fit:cover;object-position:center top;width:100%;height:100%}.story-portrait-expand{color:#fff7df;letter-spacing:.04em;text-transform:uppercase;background:#141b17db;border:1px solid #fff8e76b;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:.62rem;font-weight:850;display:inline-flex;position:absolute;bottom:7px;right:7px}.story-portrait-content{gap:6px;min-width:0;display:grid}.story-portrait-kicker{color:var(--forge-teal-dark);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:6px;font-size:.68rem;font-weight:900;display:inline-flex}.story-portrait-content>strong{color:var(--ledger-ink,#302a21);font-family:var(--forge-display);font-size:1.08rem}.story-portrait-content p,.story-portrait-content small{color:var(--ledger-ink-soft,#2e2b22b8);margin:0;line-height:1.5}.story-portrait-content p{font-size:.82rem}.story-portrait-content small{font-size:.72rem}.story-portrait-actions{gap:8px;min-width:178px;display:grid}.portrait-view-button{font:inherit;cursor:zoom-in;margin:0;padding:0}.portrait-view-button:disabled{cursor:default}.portrait-view-button:not(:disabled):focus-visible{outline-offset:3px;outline:3px solid #236f6385}.story-file-card{background:#fffcf1b8;border:1px solid #7e663c4d;border-radius:13px;grid-template-columns:minmax(0,1fr) minmax(230px,1fr);align-items:center;gap:16px;padding:15px;display:grid}.story-file-copy{align-items:center;gap:12px;min-width:0;display:flex}.story-file-copy>span:last-child{gap:4px;min-width:0;display:grid}.story-file-copy strong,.story-file-copy small{overflow-wrap:break-word}.story-file-copy small{color:#2e2b22ad;font-size:.73rem;line-height:1.4}.story-file-icon{color:#4c4332ad;background:#ffffff80;border:1px dashed #7e663c7a;border-radius:11px;flex:none;place-items:center;width:42px;height:42px;display:grid}.story-file-icon.attached{color:var(--forge-teal-dark);background:#4ec4b621;border-style:solid;border-color:#236f6385}.story-file-controls{flex-wrap:wrap;justify-content:flex-end;gap:8px;min-width:0;display:flex}.story-file-upload{color:#373127;gap:5px;min-width:170px;font-size:.74rem;font-weight:850;display:grid}.story-file-upload input{width:100%;min-width:0}@container story-files (max-width:52rem){.story-portrait-card{grid-template-columns:130px minmax(0,1fr)}.story-portrait-preview{width:130px}.story-portrait-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.story-file-card{grid-template-columns:minmax(0,1fr);align-items:stretch}.story-file-controls{justify-content:stretch}.story-file-upload{flex:100%;min-width:0}.story-file-controls .command-button{flex:10rem}}.full-image-viewer{z-index:10000;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#080b09eb;place-items:center;display:grid;position:fixed;inset:0;overflow:auto}.full-image-viewer-frame{place-items:center;max-width:min(94vw,1100px);max-height:94dvh;display:grid;position:relative}.full-image-viewer-frame img{object-fit:contain;background:#efe4ca;border:1px solid #f2d98d7a;border-radius:12px;width:auto;max-width:100%;height:auto;max-height:94dvh;display:block;box-shadow:0 28px 80px #0000009e}.full-image-viewer-close{color:#fff7df;min-height:38px;font:inherit;cursor:pointer;background:#121814e6;border:1px solid #fff8e770;border-radius:8px;align-items:center;gap:7px;padding:8px 12px;font-size:.78rem;font-weight:850;display:inline-flex;position:absolute;top:10px;right:10px;box-shadow:0 8px 22px #00000057}.full-image-viewer-close:focus-visible{outline-offset:3px;outline:3px solid #4ec4b6c2}@media(max-width:520px){.story-portrait-card{grid-template-columns:104px minmax(0,1fr);gap:12px;padding:12px}.story-portrait-preview{width:104px}.story-portrait-actions{grid-template-columns:minmax(0,1fr)}.story-portrait-content>strong{font-size:.98rem}.story-portrait-content p{font-size:.76rem}.story-portrait-expand{padding:4px 6px;bottom:5px;right:5px}.story-portrait-expand svg,.story-portrait-expand{font-size:0}}.math-review-target-row{width:100%;font:inherit;text-align:left;cursor:pointer}.builder-journey-actions{min-height:64px;color:var(--forge-parchment);background:linear-gradient(#212a23f7,#101612fa);border:1px solid #d1a24c7a;border-radius:15px;align-items:center;gap:10px;padding:10px;display:flex;position:static;box-shadow:0 18px 48px #00000057,inset 0 1px #ffffff0f}.builder-action-spacer{flex:auto}.builder-journey-actions .command-button{color:#f7efd9;background:#ffffff0f;border-color:#f2d98d4d}.builder-action-copy{gap:3px;min-width:0;display:grid}.builder-action-copy strong{color:#fff8e7;font-size:.82rem}.builder-journey-actions>[data-slot=badge]{color:#ffc0ac;background:#d86c4b1f;border-color:#d86c4b6b}.builder-continue-button,.builder-save-button{background:linear-gradient(135deg,#29796d,#225b53);min-width:138px;box-shadow:0 10px 22px #114a4257,inset 0 1px #ffffff2e}.builder-hero-preview{gap:10px;display:grid}.builder-preview-label{color:#f3e8cbc2;letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:7px;font-size:.66rem;font-weight:900;display:flex}.builder-preview-label svg{color:var(--forge-brass-light)}.builder-hero-card{color:var(--forge-parchment);background:radial-gradient(circle at 50% 12%,#4ec4b621,#0000 30%),linear-gradient(#2c362efc,#101612fc);border:1px solid #d1a24c7a;border-radius:17px;gap:12px;padding:14px;display:grid;position:relative;overflow:hidden;box-shadow:0 20px 48px #0000004d,inset 0 1px #ffffff0f}.builder-hero-visual{background:linear-gradient(#ffffff08,#0000004d),#1d2923;border:1px solid #d1a24c47;border-radius:13px;place-items:center;min-height:176px;display:grid;position:relative;overflow:hidden}.builder-hero-aura{border:1px solid #4ec4b647;border-radius:50%;width:190px;height:190px;position:absolute;box-shadow:0 0 0 18px #d1a24c0d,0 0 48px #4ec4b633}.builder-hero-portrait{z-index:1;width:144px;height:164px;color:var(--forge-brass-light);font-family:var(--forge-display);box-shadow:none;background:0 0;border:0;border-radius:72px 72px 12px 12px;font-size:3.2rem;position:relative}.builder-hero-portrait img{object-fit:contain;object-position:center;filter:saturate(.92)contrast(1.04)}.builder-level-medallion{z-index:2;color:#fff3ca;background:linear-gradient(145deg,#3c3525,#161912);border:1px solid #f2d98db8;border-radius:50%;place-items:center;width:52px;height:52px;display:grid;position:absolute;bottom:10px;right:10px;box-shadow:0 10px 24px #0000005c}.builder-level-medallion small{letter-spacing:.08em;text-transform:uppercase;margin-bottom:-4px;font-size:.5rem;font-weight:850}.builder-level-medallion strong{font-family:var(--forge-stat);font-size:1.12rem}.builder-hero-identity{text-align:center;gap:3px;min-width:0;display:grid}.builder-hero-identity>span{color:var(--forge-brass-light);letter-spacing:.12em;text-transform:uppercase;font-size:.59rem;font-weight:900}.builder-hero-identity h3{color:#fff8e7;text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:1.38rem;overflow:hidden}.builder-hero-identity p{color:#b8efe8;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;font-weight:850;overflow:hidden}.builder-hero-identity small{color:#f3e8cbad;text-overflow:ellipsis;white-space:nowrap;font-size:.69rem;font-weight:700;overflow:hidden}.builder-hero-badges,.builder-preview-resources{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.builder-hero-badges [data-slot=badge]{color:#f4e7c1;background:#d1a24c14;border-color:#d1a24c57}.builder-hero-badges .character-status-badge{color:#faf6e7d6;background:#f6f4eb0d;border-color:#ebe4cd38}.builder-preview-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.builder-preview-stat-grid>span{background:#ffffff0a;border:1px solid #d1a24c38;border-radius:9px;place-items:center;gap:3px;min-height:54px;padding:6px 3px;display:grid}.builder-preview-stat-grid small,.builder-preview-abilities small{color:#f3e8cb8c;letter-spacing:.06em;text-transform:uppercase;font-size:.52rem;font-weight:850}.builder-preview-stat-grid strong{color:#fff3ca;font-family:var(--forge-stat);font-size:.82rem}.builder-preview-abilities{border-top:1px solid #d1a24c2e;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding-top:10px;display:grid}.builder-preview-abilities>span{place-items:center;gap:2px;min-width:0;display:grid}.builder-preview-abilities strong{color:#fff8e7;font-family:var(--forge-stat);font-size:.84rem}.builder-preview-abilities em{color:var(--forge-teal);font-family:var(--forge-stat);font-size:.57rem;font-style:normal;font-weight:850}.builder-preview-proficiencies{border-top:1px solid #d1a24c2e;gap:7px;min-width:0;padding-top:10px;display:grid}.builder-preview-proficiency-heading{color:#f3e8cbb8;letter-spacing:.09em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:8px;font-size:.59rem;font-weight:900;display:flex}.builder-preview-proficiency-heading small{min-width:20px;height:20px;color:var(--forge-brass-light);font-family:var(--forge-stat);letter-spacing:0;border:1px solid #d1a24c4d;border-radius:999px;place-items:center;font-size:.58rem;display:grid}.builder-preview-proficiency-list{scrollbar-width:thin;max-height:210px;display:grid;overflow-y:auto}.builder-preview-proficiency-row{border-bottom:1px solid #d1a24c21;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;min-height:34px;padding:5px 2px;display:grid}.builder-preview-proficiency-row:last-child{border-bottom:0}.builder-preview-proficiency-row>span:nth-child(2){gap:1px;min-width:0;display:grid}.builder-preview-proficiency-row strong{color:#fff8e7;text-overflow:ellipsis;white-space:nowrap;font-size:.68rem;font-weight:850;overflow:hidden}.builder-preview-proficiency-row small{color:#f3e8cb85;text-overflow:ellipsis;white-space:nowrap;font-size:.53rem;font-weight:750;overflow:hidden}.builder-preview-proficiency-row b{color:#b8efe8;font-family:var(--forge-stat);font-size:.67rem}.builder-preview-proficiencies>p{color:#f3e8cb85;font-size:.64rem;font-weight:700}.builder-preview-resources{color:#f3e8cbb8;border-top:1px solid #d1a24c2e;padding-top:10px;font-size:.66rem;font-weight:800}.builder-preview-resources span{align-items:center;gap:5px;display:inline-flex}.builder-preview-resources svg{color:var(--forge-brass-light)}.builder-guidance-card{color:var(--forge-parchment);background:#142b25eb;border:1px solid #4ec4b647;border-radius:14px;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px;display:grid;box-shadow:0 14px 32px #00000038}.builder-guidance-icon{color:#9cf2e7;background:#4ec4b61a;border:1px solid #4ec4b65c;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.builder-guidance-card>div:last-child{gap:3px;min-width:0;display:grid}.builder-guidance-card small{color:#f2d98db3;letter-spacing:.1em;text-transform:uppercase;font-size:.57rem;font-weight:900}.builder-guidance-card strong{color:#fff8e7;font-family:var(--forge-display);font-size:.9rem}.builder-guidance-card p{color:#f3e8cbb8;font-size:.69rem;font-weight:650;line-height:1.45}.character-delete-panel{box-shadow:none;background:#e8dbb89e;border-color:#86693647;border-radius:14px;padding:0;display:block;overflow:hidden}.character-delete-panel>summary{color:#655e4c;cursor:pointer;letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:10px 14px;font-size:.72rem;font-weight:850;list-style:none;display:flex}.character-delete-panel>summary::-webkit-details-marker{display:none}.character-delete-panel>summary svg{transition:transform .16s}.character-delete-panel[open]>summary svg{transform:rotate(180deg)}.character-delete-content{background:#fff8f5c7;border-top:1px solid #b84a3a33;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 14px;display:grid}.character-start-modal{width:min(1040px,100vw - 40px);max-height:calc(100dvh - 40px);color:var(--forge-parchment);background:radial-gradient(circle at 94% 4%,#4ec4b624,#0000 24%),linear-gradient(#273129fc,#111713fe);border-color:#d1a24c8a;border-radius:20px;padding:0 20px 18px;box-shadow:0 34px 100px #00000094,inset 0 1px #ffffff0f}.character-start-modal .character-start-form{gap:14px}.character-start-modal .sheet-header,.character-start-modal .sheet-footer{z-index:5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#19211bf5;position:sticky}.character-start-modal .sheet-header{border-bottom-color:#d1a24c3d;margin:0 -20px;padding:16px 20px 13px;top:0}.character-start-modal .sheet-footer{border-top-color:#d1a24c3d;margin:0 -20px;padding:12px 20px 16px;bottom:-18px}.character-start-modal .sheet-header h2{color:#fff8e7;font-size:1.42rem}.character-start-modal .sheet-header .source-pill{color:var(--forge-brass-light);background:#d1a24c14;border-color:#d1a24c57}.character-start-modal .sheet-header .icon-button{color:#f7efd9;background:#ffffff0d;border-color:#f3e8cb38}.character-start-hero{background:linear-gradient(90deg,#4ec4b61f,#4ec4b608);border:1px solid #4ec4b63d;border-radius:14px;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:14px;padding:13px 15px;display:grid}.character-start-sigil{width:50px;height:50px;color:var(--forge-brass-light);border:1px solid #f2d98d75;border-radius:50%;place-items:center;display:grid;box-shadow:inset 0 0 22px #4ec4b61f}.character-start-hero>div:last-child{gap:3px;min-width:0;display:grid}.character-start-hero small{color:var(--forge-brass-light);letter-spacing:.11em;text-transform:uppercase;font-size:.62rem;font-weight:900}.character-start-hero strong{color:#fff8e7;font-family:var(--forge-display);font-size:1.1rem}.character-start-hero p{color:#f3e8cbb3;max-width:760px;font-size:.76rem;font-weight:650;line-height:1.45}.character-name-prompt{color:#f3e8cbd1;gap:7px;font-size:.74rem;font-weight:850;display:grid}.character-name-prompt input{min-height:44px;color:var(--forge-ink);font-family:var(--forge-display);background:#fffae9f5;border-color:#d1a24c52;font-size:1rem;font-weight:750}.character-calling-fieldset{border:0;min-width:0;margin:0;padding:0;display:grid}.character-calling-fieldset legend{color:#fff8e7;font-family:var(--forge-display);font-size:1.15rem;font-weight:800}.character-calling-fieldset>p{color:#f3e8cba8;margin:3px 0 10px;font-size:.74rem;font-weight:650}.character-calling-grid{scrollbar-color:#d1a24c70 transparent;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:220px;max-height:min(48vh,510px);padding:2px 5px 2px 2px;display:grid;overflow:auto}.character-calling-card{min-height:124px;color:var(--forge-ink);text-align:left;background:linear-gradient(135deg,#fffae9fa,#e5d8b4f5);border:1px solid #977e4b75;border-radius:13px;grid-template-columns:86px minmax(0,1fr) 26px;align-items:stretch;gap:11px;padding:0 10px 0 0;transition:border-color .17s,box-shadow .17s,transform .17s;display:grid;position:relative;overflow:hidden;box-shadow:0 12px 26px #0000002e,inset 0 1px #ffffffc2}.character-calling-card:hover:not(:disabled){border-color:#4ec4b6b8;transform:translateY(-2px);box-shadow:0 16px 32px #0000003d,0 0 0 2px #4ec4b61a}.character-calling-card.selected{border-color:var(--forge-teal);background:linear-gradient(135deg,#fff7d9,#caebdbfa);box-shadow:0 16px 34px #00000042,0 0 0 3px #4ec4b626}.character-calling-art{min-height:124px;color:var(--forge-brass-light);font-family:var(--forge-display);background:radial-gradient(circle at 50% 28%,#4ec4b62e,#0000 40%),linear-gradient(#34453b,#18201b);border-right:1px solid #795e303d;align-self:stretch;place-items:end center;font-size:2.2rem;display:grid;position:relative;overflow:hidden}.character-calling-art:after{pointer-events:none;content:"";background:linear-gradient(#0000,#0a0e0b94);height:44%;position:absolute;inset:auto 0 0}.character-calling-art img{object-fit:cover;object-position:center top;width:100%;height:100%}.character-calling-copy{align-content:center;gap:3px;min-width:0;padding:10px 0;display:grid}.character-calling-copy>small{color:var(--forge-teal-dark);letter-spacing:.09em;text-transform:uppercase;font-size:.59rem;font-weight:900}.character-calling-copy>strong{color:#2a271f;font-family:var(--forge-display);font-size:1.04rem}.character-calling-description{color:#5f594b;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.68rem;font-weight:700;line-height:1.35;display:-webkit-box;overflow:hidden}.character-calling-facts{flex-wrap:wrap;gap:4px;margin-top:3px;display:flex}.character-calling-facts em{color:#555747;white-space:nowrap;background:#ffffff6b;border:1px solid #53664f38;border-radius:999px;padding:2px 5px;font-size:.54rem;font-style:normal;font-weight:850}.character-calling-state{color:#687164;border:1px solid #53664f3d;border-radius:50%;align-self:center;place-items:center;width:25px;height:25px;display:grid}.character-calling-card.selected .character-calling-state{border-color:var(--forge-teal-dark);background:var(--forge-teal-dark);color:#fff}.character-calling-loading{color:#f3e8cb9e;border:1px dashed #d1a24c47;border-radius:13px;grid-column:1/-1;place-items:center;min-height:180px;font-weight:750;display:grid}.character-start-modal .sheet-footer .primary-button{background:linear-gradient(135deg,#2d8074,#215d54);min-height:42px;box-shadow:0 10px 24px #0b473e57}.character-start-modal .sheet-footer .command-button{color:#f7efd9;background:#ffffff0d;border-color:#f3e8cb38}.quick-sheet-page{background:linear-gradient(#f6eccefa,#decfaafa);border-color:#d1a24c75;border-radius:16px;box-shadow:0 20px 54px #0000004d,inset 0 1px #ffffffad}.quick-sheet-hero{color:var(--forge-parchment);background:radial-gradient(circle at 86% 18%,#4ec4b629,#0000 30%),linear-gradient(135deg,#28362f,#111914);border-bottom:1px solid #d1a24c5c}.quick-sheet-hero .sheet-portrait{border-color:var(--forge-brass);color:var(--forge-parchment);background:#1c2923;box-shadow:0 0 0 4px #d1a24c21,0 0 28px #4ec4b629,0 12px 30px #0000004d}.quick-sheet-identity h3{color:#fff8e7;font-family:var(--forge-display);letter-spacing:-.025em}.quick-sheet-identity p{color:#a7e7df}.quick-sheet-badges [data-slot=badge]{color:#f8ebc5;background:#d1a24c14;border-color:#f2d98d5c}.quick-sheet-badges .character-status-badge{color:#faf6e7db;background:#f6f4eb0f;border-color:#ebe4cd3d}.primary-character-toggle{color:#f8ebc5;min-height:25px;font:inherit;cursor:pointer;background:#d1a24c14;border:1px solid #f2d98d5c;border-radius:999px;align-items:center;gap:5px;padding:3px 6px 3px 7px;font-size:.67rem;font-weight:850;line-height:1;display:inline-flex}.primary-character-toggle:hover:not(:disabled){background:#4ec4b624;border-color:#f2d98dad}.primary-character-toggle:focus-visible{outline-offset:2px;outline:2px solid #a7e7df}.primary-character-toggle:disabled{cursor:wait;opacity:.62}.primary-character-toggle-track{background:#ebe4cd47;border-radius:999px;flex:none;width:24px;height:14px;transition:background .14s;position:relative;box-shadow:inset 0 0 0 1px #ffffff1a}.primary-character-toggle-track>span{background:#fff8e7;border-radius:50%;width:10px;height:10px;transition:transform .14s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000057}.primary-character-toggle[aria-checked=true]{color:#d9fff9;background:#4ec4b629;border-color:#a7e7df94}.primary-character-toggle[aria-checked=true] .primary-character-toggle-track{background:#4ec4b6}.primary-character-toggle[aria-checked=true] .primary-character-toggle-track>span{transform:translate(10px)}.quick-sheet-stat-strip{background:linear-gradient(#fffae9fa,#ebdebbfa);border-bottom-color:#86693652}.sheet-top-stat{border-right-color:#8669363d}.sheet-top-stat small{color:#6e674f}.sheet-top-stat strong{color:#292a22;font-family:var(--forge-stat)}.sheet-top-stat.hit-point-stat strong{border-bottom-color:var(--forge-teal-dark)}.quick-sheet-grid{background:radial-gradient(circle at 50% 0,#ffffff61,#0000 34%),#e8dbb89e;padding:14px}.quick-sheet-panel{background:linear-gradient(#fffdf4fa,#f5edd6fa);border-color:#8669364d;border-radius:12px;padding:13px;box-shadow:0 10px 24px #4935151a,inset 0 1px #fff}.quick-sheet-panel .section-title{color:#2d342d;font-family:var(--forge-display);letter-spacing:.03em;font-size:.78rem}.quick-sheet-panel .section-title svg{color:var(--forge-teal-dark)}.quick-sheet-page .sheet-pack-row{background:#fffcf09e;border-color:#86693647}.quick-sheet-page .sheet-pack-row.expanded{background:#f6f4dedb;border-color:#246f6461}.quick-sheet-page .sheet-pack-icon{color:var(--forge-teal-dark);background:#4ec4b617;border-color:#246f643d}.quick-sheet-page .sheet-pack-contents{background:#fffdf494;border-top-color:#86693638}.quick-sheet-page .sheet-pack-contents li{border-bottom-color:#8669362e}.quick-sheet-page .sheet-pack-contents li:before{background:var(--forge-teal-dark)}.sheet-ability-row,.sheet-skill-heading,.sheet-skill-row,.sheet-passive-list span,.sheet-action-row,.sheet-inventory-list>span:not(.empty-selection-badge),.sheet-equipment-list>span:not(.empty-selection-badge),.sheet-feature-list article,.sheet-detail-list span{border-bottom-color:#86693638}.sheet-ability-mark{color:var(--forge-teal-dark);background:#4ec4b617;border-color:#246f6447}.sheet-prof-dot.filled{border-color:var(--forge-teal-dark);background:var(--forge-teal-dark)}.sheet-prof-dot.expert{background:var(--forge-brass);border-color:#9c7130;box-shadow:0 0 0 3px #d1a24c24}.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile,.sheet-save-row{background:#fffcf0c7;border-color:#86693642;border-radius:9px}.quick-sheet-page .character-stat-icon{color:var(--forge-teal-dark);background:#4ec4b614}@keyframes forge-panel-arrival{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1320px){.builder-journey-layout{grid-template-columns:minmax(164px,184px) minmax(0,1fr);grid-template-areas:"quest preview""quest stage"}.builder-quest-rail{grid-area:quest}.builder-journey-stage{grid-area:stage}.builder-hero-preview{grid-area:preview;position:static}.builder-preview-label,.builder-guidance-card,.builder-preview-abilities,.builder-preview-resources{display:none}.builder-hero-card{grid-template-columns:78px minmax(150px,1fr) auto auto;align-items:center;gap:10px;padding:9px 12px}.builder-preview-proficiencies{grid-column:1/-1}.builder-hero-visual{height:72px;min-height:72px}.builder-hero-aura{width:76px;height:76px}.builder-hero-portrait{border-radius:33px 33px 8px 8px;width:66px;height:72px;font-size:1.7rem}.builder-level-medallion{width:32px;height:32px;bottom:-3px;right:-3px}.builder-level-medallion small{display:none}.builder-level-medallion strong{font-size:.78rem}.builder-hero-identity{text-align:left}.builder-hero-identity h3{font-size:1.08rem}.builder-hero-badges{justify-content:flex-start}.builder-preview-stat-grid{min-width:230px}}@media(max-width:980px){.quick-sheet-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.editable-hit-point-stat{grid-column:span 2}.builder-journey-layout{flex-direction:column;display:flex}.builder-quest-rail,.builder-hero-preview,.builder-journey-stage{width:100%}.builder-quest-rail{position:static}.builder-quest-heading,.builder-quest-progress{display:none}.builder-quest-steps{scroll-snap-type:x proximity;scrollbar-width:thin;gap:7px;padding:8px;scroll-padding-inline:8px;display:flex;overflow-x:auto}.builder-quest-steps:before{display:none}.builder-quest-steps li{scroll-snap-align:center;flex:0 0 126px}.builder-quest-step{grid-template-columns:30px minmax(0,1fr);min-height:48px;padding:6px 7px}.builder-quest-node{width:28px;height:28px}.builder-quest-index{display:none}.builder-hero-preview{order:1}.builder-journey-stage{order:2}.builder-quest-rail{order:0}.builder-preview-stat-grid{min-width:0}.character-manager-notice.builder-notice{bottom:12px}.builder-identity-content{grid-template-columns:minmax(200px,1fr) minmax(150px,.8fr)}}@media(max-width:760px){.character-manager-notice{border-radius:999px;width:max-content;max-width:calc(100vw - 24px);padding:9px 13px;left:12px;right:auto}.character-main{padding:10px}.character-workspace-panel{padding:0}.character-section-switch{width:100%}.builder-journey-layout{gap:10px}.builder-quest-rail{border-radius:13px}.builder-quest-steps li{flex-basis:116px}.builder-quest-copy small{font-size:.53rem}.builder-quest-copy strong{font-size:.72rem}.builder-quest-alert{position:absolute;top:3px;right:3px}.builder-hero-card{border-radius:13px;grid-template-columns:62px minmax(0,1fr) auto}.builder-hero-visual{height:58px;min-height:58px}.builder-hero-portrait{width:54px;height:58px}.builder-level-medallion{width:27px;height:27px}.builder-hero-badges{display:none}.builder-preview-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.builder-preview-stat-grid>span{min-height:38px;padding:3px}.builder-chapter-header{border-radius:13px;min-height:0;padding:17px 16px}.builder-chapter-header h2{font-size:1.55rem}.builder-chapter-header p{font-size:.78rem}.builder-chapter-sigil{width:46px;height:46px}.builder-chapter-sigil svg{width:21px;height:21px}.builder-mobile-progress{height:4px;margin:-4px 8px 0;display:block}.guided-builder-panels .builder-panel{border-radius:13px;gap:13px;padding:14px}.story-fields-grid{gap:12px}.story-fields-grid .story-field-wide{grid-column:1}.story-file-card{grid-template-columns:minmax(0,1fr);align-items:stretch;padding:13px}.story-file-controls{justify-content:stretch}.story-file-controls>*,.story-file-controls .command-button{width:100%}.builder-journey-stage{padding-bottom:0}.builder-journey-actions{border-radius:13px;grid-template-columns:auto minmax(0,1fr);width:100%;min-height:58px;padding:8px;display:grid;position:static;bottom:auto;left:auto;right:auto}.builder-action-spacer,.builder-journey-actions>[data-slot=badge],.builder-action-copy small{display:none}.builder-action-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.builder-continue-button,.builder-save-button{text-align:center;white-space:normal;width:100%;min-width:0;height:auto;min-height:38px;padding-block:8px;padding-inline:11px;line-height:1.15}.builder-back-button{min-width:42px;padding-inline:9px}.builder-back-button:not(:disabled){font-size:inherit}.builder-back-button svg{width:18px;height:18px}.builder-identity-header{grid-template-columns:58px minmax(0,1fr);gap:11px;padding:11px}.builder-identity-portrait{width:58px;height:58px}.builder-identity-content{grid-template-columns:1fr;gap:7px}.builder-identity-name-field input{height:40px;font-size:.98rem}.builder-identity-summary strong,.builder-identity-summary small{white-space:normal}.builder-identity-actions{grid-column:1/-1;justify-content:flex-start;align-items:center;gap:8px;width:100%;display:flex}.rule-option-sheet[data-side=center]{border-radius:14px;width:100vw;max-width:none;height:calc(100dvh - 16px);max-height:none}.rule-option-sheet.has-detail{width:100vw;max-width:none}.rule-option-sheet.alignment-grid-sheet{width:calc(100vw - 16px);max-width:none;height:auto;max-height:calc(100dvh - 16px)}.rule-option-sheet-header{padding:calc(16px + env(safe-area-inset-top)) 16px 15px}.rule-option-sheet-header [data-slot=sheet-title]{font-size:1.45rem}.rule-option-sheet-close[data-slot=button]{width:44px;min-width:44px;height:44px;min-height:44px}.rule-option-sheet-controls{padding:14px 16px 12px}.rule-option-sheet-list{padding:12px 14px calc(22px + env(safe-area-inset-bottom));gap:9px}.rule-option-sheet.has-detail .rule-option-sheet-browser{display:block}.rule-option-sheet.has-detail .rule-option-sheet-list{border-right:0;height:100%}.rule-option-sheet.has-detail .rule-option-detail{height:100%;display:none}.rule-option-sheet.has-detail[data-detail-open=true] .rule-option-sheet-controls,.rule-option-sheet.has-detail[data-detail-open=true] .rule-option-sheet-list{display:none}.rule-option-sheet.has-detail[data-detail-open=true] .rule-option-detail{display:flex}.rule-option-detail-heading{padding:14px 16px 15px}.rule-option-detail-back[data-slot=button]{color:#216d64;justify-self:start;margin:-4px 0 2px -8px;display:inline-flex}.rule-option-detail-body{padding:18px 16px 24px}.rule-option-detail-footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:10px}.rule-option-detail-footer [data-slot=button]{width:100%;max-width:none;min-height:46px}.rule-option-menu-item{min-height:70px;padding:12px}.alignment-grid-layout{padding:13px 10px calc(14px + env(safe-area-inset-bottom));gap:9px}.alignment-law-axis{gap:5px;margin-left:31px;font-size:.56rem}.alignment-law-axis span:nth-child(2){font-size:0}.alignment-law-axis span:nth-child(2):after{content:"Law / chaos";font-size:.56rem}.alignment-grid-body{grid-template-columns:24px minmax(0,1fr);gap:7px}.alignment-good-axis{font-size:.54rem}.alignment-good-axis span:nth-child(2){font-size:0}.alignment-good-axis span:nth-child(2):after{content:"Good / evil";font-size:.54rem}.alignment-option-grid,.alignment-option-row{gap:5px}.alignment-option-cell{border-radius:9px;gap:5px;min-height:92px;padding:12px 5px 9px}.alignment-option-cell strong{font-size:clamp(.72rem,3.7vw,.88rem);line-height:1.05}.alignment-option-cell span{display:none}.alignment-option-cell svg{width:13px;height:13px;top:5px;right:5px}.alignment-grid-footer{margin-left:31px}.character-start-modal{border:0;border-radius:0;width:100vw;height:100dvh;max-height:none;padding-inline:14px;inset:0}.character-start-modal[data-state=open],.character-start-modal[data-state=closed]{transform:none}.character-start-modal .sheet-header,.character-start-modal .sheet-footer{margin-inline:-14px;padding-inline:14px}.character-start-hero{grid-template-columns:42px minmax(0,1fr);padding:11px}.character-start-sigil{width:40px;height:40px}.character-start-hero p{display:none}.character-calling-grid{grid-template-columns:1fr;max-height:none;overflow:visible}.character-calling-card{grid-template-columns:72px minmax(0,1fr) 24px;min-height:108px}.character-calling-art{min-height:108px}.character-delete-content{grid-template-columns:1fr}.character-delete-content .command-button{justify-self:stretch;width:100%}.quick-sheet-grid{gap:9px;padding:9px}.quick-sheet-panel{gap:9px;padding:11px}.quick-sheet-panel .section-title{font-size:.84rem}.quick-sheet-panel .sheet-unarmed-toggle{min-height:24px;font-size:.7rem}.sheet-skill-heading{font-size:.64rem}.sheet-skill-row>span:nth-child(3),.sheet-skill-row strong,.sheet-language-list>span:not(.empty-selection-badge),.sheet-feature-list,.sheet-action-row small,.sheet-equipment-list small,.sheet-inventory-list small,.sheet-detail-list small,.sheet-passive-list small{font-size:.74rem}.sheet-pack-trigger{min-height:48px}.sheet-pack-copy strong{font-size:.82rem}.sheet-pack-copy small,.sheet-pack-weight,.sheet-pack-contents li{font-size:.74rem}.sheet-pack-contents ul{max-height:280px}}@media(prefers-reduced-motion:reduce){.guided-builder-panels[data-active-step]>[data-builder-step],.builder-quest-progress-track>span,.builder-mobile-progress>span,.builder-quest-step,.character-calling-card,.module-choice-card,.party-character-row,.sheet-hit-point-open-button,.sheet-hit-point-meter>span,.sheet-pack-chevron{scroll-behavior:auto;transition:none;animation:none}}.spell-profile-slot{border-bottom:1px solid #cfd9d4bd;margin-bottom:12px;padding-bottom:12px}.spell-profile-controls .spell-profile-handoff{white-space:normal;overflow-wrap:anywhere;justify-content:center;width:100%;min-width:0;height:auto;min-height:40px}.sheet-quick-notes,.sheet-build-notes-summary{gap:8px;display:grid}.sheet-quick-notes textarea{resize:vertical;min-height:116px}.sheet-quick-note-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.sheet-quick-note-actions small,.sheet-build-notes-summary small,.sheet-ownership-note{color:#6e756c;font-size:.68rem;font-weight:750}.builder-ownership-note{color:var(--muted-foreground);margin:0;font-size:.78rem;line-height:1.45}.sheet-build-notes-summary{border-top:1px solid #86693638;margin-top:12px;padding-top:12px}.sheet-loadout-list{border-top:1px solid var(--ledger-rule,#86693638);gap:0;margin-top:0;display:grid}.quick-sheet-panel .sheet-loadout-item{border:0;border-bottom:1px solid var(--ledger-rule,#86693638);background:0 0;border-radius:0;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:2px 6px;min-width:0;padding:7px 0;display:grid}.sheet-loadout-item>div{display:contents}.sheet-loadout-item strong,.sheet-loadout-item small{text-overflow:ellipsis;white-space:nowrap;line-height:1.2;overflow:hidden}.sheet-loadout-item strong{color:var(--ledger-ink,#22342f);grid-area:1/1/auto/-1;font-size:.84rem;font-weight:900}.sheet-loadout-item small{color:var(--ledger-muted,#667570);grid-area:2/1;font-size:.68rem;font-weight:800}.quick-sheet-panel .sheet-loadout-item .toggle-row{width:auto;min-height:24px;color:var(--ledger-muted,#5f6d68);white-space:nowrap;background:0 0;border:0;border-radius:0;grid-row:2;gap:4px;margin:0;padding:0;font-size:.58rem;font-weight:850;line-height:1}.quick-sheet-panel .sheet-loadout-item .toggle-row input{flex:0 0 13px;width:13px;height:13px}.sheet-ownership-note{margin-top:8px;display:block}.party-character-handoff{flex:none;justify-content:center;gap:4px;width:auto;min-height:26px;margin-left:auto;padding:3px 6px;font-size:.68rem}.party-character-handoff,.item-detail-character-handoff{white-space:normal;overflow-wrap:anywhere;min-width:0;height:auto}.item-detail-character-handoff{justify-content:center;width:100%;margin-bottom:4px}@media(max-width:760px){:root{--mobile-app-navigation-height: calc(73px + env(safe-area-inset-bottom)) }html,body{max-width:100%;overflow-x:clip}.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.dm-shell,.dev-console-shell{min-height:100dvh;padding-bottom:var(--mobile-app-navigation-height);scroll-padding-bottom:var(--mobile-app-navigation-height)}.topbar{padding-top:calc(10px + env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left));-webkit-backdrop-filter:none;backdrop-filter:none}.topbar>.module-switcher-slot{z-index:20;background:linear-gradient(180deg,#2d2a1ff7,#161511fa),var(--dungeon-stone-dark);width:100%;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #83754ec7;display:block;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -14px 34px #00000047,inset 0 1px #ffe6aa14}.topbar>.module-switcher-slot .app-navigation{width:100%;display:block}.topbar>.module-switcher-slot .primary-navigation{grid-auto-flow:initial;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.topbar>.module-switcher-slot .utility-navigation{display:none}.topbar>.module-switcher-slot .app-navigation-link{flex-direction:column;gap:3px;min-height:52px;padding:5px 2px;font-size:.66rem;line-height:1.05}.topbar>.module-switcher-slot .app-navigation-link svg{flex:0 0 18px;width:18px;height:18px;display:block}.topbar>.module-switcher-slot .app-navigation-link.active:after{bottom:3px;left:18%;right:18%}.campaign-mobile-content{padding-right:calc(18px + env(safe-area-inset-right));padding-bottom:calc(18px + env(safe-area-inset-bottom));padding-left:calc(18px + env(safe-area-inset-left))}.campaign-notebook-content{width:min(100% - 24px,1180px);padding:24px 0 34px}.campaign-notebook-module-heading{margin-bottom:16px}.campaign-notebook-module-heading p{font-size:.84rem}.campaign-note-tabs-row{display:none}.campaign-note-mobile-picker{background:linear-gradient(#ded1ae,#d3c39e);border-bottom:1px solid #4a3e2333;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:10px;display:grid}.campaign-note-mobile-picker select,.campaign-note-mobile-picker button{min-height:44px}.campaign-note-document{padding:14px}.campaign-note-title-input{font-size:1.5rem}.campaign-note-editor-toolbar{padding:6px}.campaign-note-tool{width:38px;height:38px}.campaign-note-prosemirror{min-height:56vh;padding:28px 20px 50px;font-size:.94rem}.campaign-notebook-notice{right:max(12px,env(safe-area-inset-right));bottom:calc(var(--mobile-app-navigation-height) + 12px);left:max(12px,env(safe-area-inset-left));max-width:none}.campaign-mobile-sheet-header{padding-top:calc(18px + env(safe-area-inset-top));padding-right:calc(62px + env(safe-area-inset-right));padding-left:calc(18px + env(safe-area-inset-left))}.campaign-mobile-sheet [data-slot=sheet-close]{top:calc(6px + env(safe-area-inset-top));right:calc(6px + env(safe-area-inset-right));place-items:center;width:44px;height:44px;display:grid}.campaign-mobile-utility-navigation{width:100%;display:block}.campaign-mobile-utility-navigation .utility-navigation{grid-auto-flow:initial;background:0 0;border:0;grid-template-columns:1fr;gap:8px;width:100%;padding:0;display:grid}.campaign-mobile-utility-navigation .app-navigation-link{color:#324840;background:#fffcf0c2;border:1px solid #86693647;justify-content:flex-start;min-height:44px;padding:0 12px}.campaign-mobile-utility-navigation .app-navigation-link:hover{color:var(--green-dark);background:#fffffff5;border-color:#2f6f5e70}.campaign-mobile-utility-navigation .app-navigation-link.active,.campaign-mobile-utility-navigation .app-navigation-link[aria-current=page]{color:var(--green-dark);background:#fff;border-color:#2f6f5e80}.currency-popover{right:max(10px,env(safe-area-inset-right));bottom:calc(var(--mobile-app-navigation-height) + 10px);left:max(10px,env(safe-area-inset-left));max-height:calc(100dvh - var(--mobile-app-navigation-height) - 20px)}.character-manager-notice,.character-manager-notice.builder-notice{left:max(12px,env(safe-area-inset-left));max-width:calc(100vw - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)));bottom:calc(var(--mobile-app-navigation-height) + 12px)}.character-print-preset-grid,.character-print-option-grid{grid-template-columns:1fr}.character-print-preset{min-height:0}.character-print-options-header{padding-right:72px}}@media(any-pointer:coarse)and (min-width:761px)and (max-width:1366px){.character-manager-shell{grid-template-rows:auto auto;height:auto;min-height:100dvh;overflow:visible}.character-control-panel,.character-main{min-height:auto;overflow:visible}}@media(max-width:560px){.safe-navigation-dialog{max-width:calc(100vw - max(12px,env(safe-area-inset-left)) - max(12px,env(safe-area-inset-right)));bottom:calc(var(--mobile-app-navigation-height) + 12px)}}@page{size:letter;margin:.28in .32in}@media(max-width:420px){.topbar>.module-switcher-slot .app-navigation-link{padding-inline:2px;font-size:.64rem}}@media print{body{background:#fff}body:before,body:after,.app-shell{display:none}.print-sheet{color:#111;font-family:Arial,Helvetica,sans-serif;display:block}.print-page{break-inside:avoid-page;page-break-inside:avoid}.prepared-print-page{break-after:page;page-break-after:always}.print-page header{border-bottom:1.5px solid #111;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:5px;padding-bottom:5px;display:flex}.print-page h1{font-size:16pt;line-height:1}.print-page p,.print-page span,.print-page footer{font-size:6.8pt}.print-page header div:last-child{text-align:right;text-transform:capitalize}.print-page header strong,.print-page header span{display:block}.print-page table{border-collapse:collapse;table-layout:fixed;width:100%}.print-page th,.print-page td{vertical-align:top;text-align:left;overflow-wrap:anywhere;border:.5px solid #555;padding:2px 3px}.print-page th{background:#e7ece9;font-size:6.2pt}.print-page td{font-size:6.1pt;line-height:1.14}.print-level-cell,.ready-cell{text-align:center}.print-col-ready{width:.32in}.print-col-level{width:.24in}.ready-bubble{vertical-align:middle;border:1.2px solid #222;width:8px;height:8px;display:inline-block}.print-col-spell{width:1.16in}.print-col-cast,.print-col-range,.print-col-duration{width:.74in}.print-col-components{width:.36in}.print-col-note{width:.56in}.print-page td strong,.print-page td span{display:block}.print-page td span{color:#333;margin-top:1px}.print-page tr.banned-print-row td{background:#ffe8e8;border-color:#9f1f1a}.print-page tr.banned-print-row td strong,.print-page tr.banned-print-row td span{color:#9f1f1a}.print-page footer{color:#555;margin-top:4px}.print-card-page{break-after:page;page-break-after:always;color:#151515;min-height:10.34in}.print-card-page:last-child{break-after:auto;page-break-after:auto}.print-card-page header{border-bottom:1.5px solid #222;grid-template-columns:minmax(0,1fr) 3.75in;align-items:end;gap:.16in;min-height:1.1in;margin-bottom:.1in;padding-bottom:.08in;display:grid}.print-card-page h1{font-size:17pt;line-height:1}.print-card-page p,.print-card-page span,.print-card-page footer,.print-card-page dt,.print-card-page dd{font-size:6.4pt}.print-card-meta{text-align:right;gap:.07in;display:grid}.print-card-meta>div strong,.print-card-meta>div span{display:block}.print-card-meta dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:.08in;margin:0;display:grid}.print-card-meta dl div{text-align:center;border:1px solid #444;border-radius:7px;min-height:.38in;padding:.04in .05in}.print-card-meta dt,.print-card-meta dd,.card-facts dt,.card-facts dd{margin:0}.print-card-meta dt{color:#666;text-transform:uppercase;font-weight:800}.print-card-meta dd{font-size:9pt;font-weight:850}.print-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1.43in;gap:.08in;display:grid}.print-spell-card{background:#fff;border:1px solid #777;border-radius:7px;padding:.08in;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ececec}.print-spell-card.banned-print-card{background:#fff0f0;border-color:#9f1f1a;box-shadow:inset 0 0 0 1px #efaaa5}.print-spell-card:after{content:"";pointer-events:none;border:.5px solid #ddd;border-radius:5px;position:absolute;inset:.04in}.print-spell-card.banned-print-card:after{border-color:#cf625b}.card-ribbon{z-index:1;background:#f8f8f8;border:1px solid #555;border-radius:6px;grid-template-columns:.28in minmax(0,1fr) .18in;align-items:center;gap:.04in;min-height:.28in;padding:.02in .04in;display:grid;position:relative}.banned-print-card .card-ribbon{background:#ffe3e3;border-color:#9f1f1a}.card-ribbon strong,.card-ribbon span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.card-ribbon strong{font-size:7.5pt;line-height:1}.card-ribbon span{color:#555;margin-top:1px}.card-level{color:#111;background:#fff;border:1px solid #333;border-radius:5px;place-items:center;width:.24in;height:.24in;font-size:8pt;font-weight:850;display:grid}.card-ribbon i{border:1px solid #222;justify-self:end;width:.11in;height:.11in}.banned-print-label{z-index:1;color:#fff;letter-spacing:0;background:#9f1f1a;border-radius:4px;justify-content:center;align-items:center;min-height:.15in;margin-top:.03in;padding:.02in .06in;font-size:6.2pt;font-weight:900;display:inline-flex;position:relative}.card-tags{z-index:1;color:#444;text-overflow:ellipsis;white-space:nowrap;min-height:.14in;margin:.03in 0 .04in;font-size:5.8pt;font-weight:700;position:relative;overflow:hidden}.banned-print-card .card-tags{color:#9f1f1a;font-weight:900}.card-facts{z-index:1;grid-template-columns:.44in 1fr 1fr;gap:.03in;margin:0 0 .05in;display:grid;position:relative}.card-facts div{border-top:1px solid #999;min-width:0;padding-top:.02in}.card-facts dt{color:#777;font-weight:800}.card-facts dd{color:#222;text-overflow:ellipsis;white-space:nowrap;min-height:.13in;font-weight:700;line-height:1.05;overflow:hidden}.print-spell-card p{z-index:1;-webkit-line-clamp:10;-webkit-box-orient:vertical;margin-top:.04in;line-height:1.18;display:-webkit-box;position:relative;overflow:hidden}.print-spell-card .card-note{-webkit-line-clamp:2;border-left:2px solid #777;padding-left:.04in;font-weight:700}.print-spell-card.empty-card{color:#777;place-items:center;font-weight:800;display:grid}.print-card-page footer{color:#555;margin-top:.06in}.print-sheet.density-readable td{padding:3px 4px;font-size:7pt;line-height:1.23}.print-sheet.density-readable th{font-size:6.8pt}.print-sheet.density-tiny td{padding:1px 2px;font-size:5pt;line-height:1.05}.print-sheet.density-tiny th{font-size:5.4pt}.print-sheet.density-readable .print-card-grid{grid-auto-rows:1.45in}.print-sheet.density-readable .print-spell-card p{-webkit-line-clamp:9;font-size:6.8pt;line-height:1.2}.print-sheet.density-tiny .print-card-grid{grid-auto-rows:1.4in}.print-sheet.density-tiny .print-spell-card p,.print-sheet.density-tiny .card-facts dd,.print-sheet.density-tiny .card-tags{font-size:5.5pt;line-height:1.08}.print-sheet.density-tiny .print-spell-card p{-webkit-line-clamp:11}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-duration{syntax:"*";inherits:false}@media screen{html{background:#172a2f}body{background-color:#172a2f;background-image:linear-gradient(#e9efdf06,#08141614),url(/app-background.webp);background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}body:before,body:after{display:none}:is(.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.auth-shell,.campaign-gate):before{background:radial-gradient(ellipse at 50% 46%,transparent 0 40%,rgba(5,15,18,.17) 100%),linear-gradient(180deg,#ffffff05,#050f120e)}.browser-title h2,.browser-title p{color:#fff8e6;text-shadow:0 1px 3px rgba(5,15,18,.82)}}@media screen{:root{color-scheme:light;--ledger-canvas: #e8e5dc;--ledger-paper: #f8f5ed;--ledger-paper-raised: #fffdf8;--ledger-paper-muted: #f0ede4;--ledger-ink: #1d2826;--ledger-ink-soft: #394541;--ledger-muted: #59635e;--ledger-rule: #cbc7bb;--ledger-rule-strong: #99978d;--ledger-control-border: #838179;--ledger-accent: #356b64;--ledger-accent-dark: #244e49;--ledger-accent-strong: #244e49;--ledger-accent-soft: #dce9e5;--ledger-brass: #8a6427;--ledger-brass-strong: #72501b;--ledger-brass-soft: #f2e6cc;--ledger-arcane: #50658f;--ledger-arcane-soft: #e4e8f2;--ledger-on-accent: #ffffff;--ledger-hero-start: #223b36;--ledger-hero-end: #34425b;--ledger-on-hero: #fffaf0;--ledger-on-hero-muted: #c9ded7;--ledger-on-hero-accent: #e2bf75;--ledger-danger: #a1473c;--ledger-danger-soft: #f5e6e2;--ledger-warning: #87612c;--ledger-warning-soft: #f6eddc;--ledger-focus: #4e817a;--ledger-row-hover: #f4f2ea;--ledger-surface-glass: rgb(255 253 248 / 94%);--ledger-surface-glass-muted: rgb(240 237 228 / 94%);--ledger-surface-glass-paper: rgb(248 245 237 / 91%);--ledger-surface-glass-raised: rgb(255 253 248 / 86%);--ledger-surface-glass-ghost: rgb(255 253 248 / 54%);--ledger-surface-glass-panel: rgb(255 253 248 / 78%);--ledger-surface-glass-strong: rgb(255 253 248 / 97%);--ledger-surface-glass-paper-strong: rgb(248 245 237 / 97%);--ledger-field: #fdfbf6;--ledger-field-hover: #747b76;--ledger-focus-ring: rgb(53 107 100 / 15%);--ledger-overlay: rgb(29 40 38 / 46%);--ledger-shadow-sm: 0 8px 22px rgb(29 40 38 / 8%);--ledger-shadow-lg: 0 22px 60px rgb(29 40 38 / 18%);--ledger-shadow-hover: 0 14px 32px rgb(29 40 38 / 14%);--ledger-glow: 0 0 24px rgb(53 107 100 / 18%);--ledger-radius-control: 7px;--ledger-radius-panel: 11px;--ledger-serif: "Iowan Old Style", "Palatino Linotype", Charter, Georgia, serif;--ledger-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--ledger-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--background: var(--ledger-canvas);--foreground: var(--ledger-ink);--card: var(--ledger-paper-raised);--card-foreground: var(--ledger-ink);--popover: var(--ledger-paper-raised);--popover-foreground: var(--ledger-ink);--primary: var(--ledger-accent);--primary-foreground: var(--ledger-on-accent);--secondary: var(--ledger-paper-muted);--secondary-foreground: var(--ledger-ink-soft);--muted-bg: var(--ledger-paper-muted);--muted-foreground: var(--ledger-muted);--accent: var(--ledger-accent-soft);--accent-foreground: var(--ledger-accent-dark);--destructive: var(--ledger-danger);--destructive-foreground: var(--ledger-on-accent);--border: var(--ledger-rule);--input: #bcb9ae;--ring: var(--ledger-focus);--radius: 8px;--ink: var(--ledger-ink);--muted: var(--ledger-muted);--line: var(--ledger-rule);--panel: var(--ledger-paper-raised);--field: var(--ledger-field);--paper: var(--ledger-paper);--green: var(--ledger-accent);--green-dark: var(--ledger-accent-dark);--red: var(--ledger-danger);--blue: var(--ledger-accent);--amber: var(--ledger-warning);--shadow: 0 12px 36px rgb(28 34 31 / 9%);--forge-display: var(--ledger-serif);--forge-stat: var(--ledger-mono);--forge-parchment: var(--ledger-paper);--forge-parchment-light: var(--ledger-paper-raised);--forge-parchment-shadow: var(--ledger-rule);--forge-ink: var(--ledger-ink);--forge-brass: var(--ledger-brass);--forge-brass-light: var(--ledger-brass-soft);--forge-teal: var(--ledger-accent);--forge-teal-dark: var(--ledger-accent-dark)}:root[data-ledger-theme=dark]{color-scheme:dark;--ledger-canvas: #1b2127;--ledger-paper: #232a31;--ledger-paper-raised: #2a323a;--ledger-paper-muted: #20272d;--ledger-ink: #edf1ef;--ledger-ink-soft: #cbd3cf;--ledger-muted: #9ea9a5;--ledger-rule: #3f4951;--ledger-rule-strong: #74818a;--ledger-control-border: #74818a;--ledger-accent: #3f756d;--ledger-accent-dark: #9bcfc5;--ledger-accent-strong: #315e58;--ledger-accent-soft: #263d3a;--ledger-brass: #d2ad67;--ledger-brass-strong: #efd28e;--ledger-brass-soft: #3b3326;--ledger-arcane: #a7b9dc;--ledger-arcane-soft: #2d3445;--ledger-on-accent: #f7fbfa;--ledger-hero-start: #1e3230;--ledger-hero-end: #303b50;--ledger-on-hero: #faf6eb;--ledger-on-hero-muted: #bfd6d1;--ledger-on-hero-accent: #e2c17d;--ledger-danger: #f0a097;--ledger-danger-soft: #402c2e;--ledger-warning: #e3bd7a;--ledger-warning-soft: #3a3327;--ledger-focus: #8fc3ba;--ledger-row-hover: #303941;--ledger-surface-glass: rgb(42 50 58 / 94%);--ledger-surface-glass-muted: rgb(32 39 45 / 94%);--ledger-surface-glass-paper: rgb(35 42 49 / 92%);--ledger-surface-glass-raised: rgb(42 50 58 / 88%);--ledger-surface-glass-ghost: rgb(42 50 58 / 64%);--ledger-surface-glass-panel: rgb(42 50 58 / 82%);--ledger-surface-glass-strong: rgb(42 50 58 / 97%);--ledger-surface-glass-paper-strong: rgb(35 42 49 / 97%);--ledger-field: #1f262c;--ledger-field-hover: #7d898f;--ledger-focus-ring: rgb(143 195 186 / 22%);--ledger-overlay: rgb(7 10 13 / 68%);--ledger-shadow-sm: 0 8px 24px rgb(4 7 9 / 24%);--ledger-shadow-lg: 0 24px 68px rgb(3 6 8 / 46%);--ledger-shadow-hover: 0 16px 36px rgb(3 6 8 / 40%);--ledger-glow: 0 0 26px rgb(111 170 160 / 16%);--input: #626d75;--shadow: 0 14px 40px rgb(3 6 8 / 28%)}html,body{color:var(--ledger-ink);font-family:var(--ledger-sans)}h1,h2,h3,.browser-title h2,.detail-heading h2,.quick-sheet-identity h3,.spell-sheet-identity h3,.module-home-heading h1,.home-dashboard-heading h1,.auth-heading h1,.campaign-gate-heading h1,.party-roster-heading h2{color:var(--ledger-ink);font-family:var(--ledger-serif);font-weight:650;letter-spacing:-.025em;text-shadow:none}:is(.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.auth-shell,.campaign-gate){background:transparent}.topbar{min-height:66px;border:0;border-bottom:1px solid var(--ledger-rule-strong);background:var(--ledger-surface-glass);color:var(--ledger-ink);box-shadow:0 5px 18px #1d28260f;padding:10px 22px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar>h1,.topbar>h2,.topbar>label,.topbar>.brand-lockup h1,.topbar>.brand-lockup h2,.topbar>.campaign-header-slot>.campaign-header>.campaign-selector label{color:var(--ledger-ink)}.topbar>.brand-lockup p,.topbar>.campaign-header-slot>.campaign-header>.campaign-selector span,.topbar p,.browser-toolbar p,.detail-heading p,.browser-title p{color:var(--ledger-muted);text-shadow:none}.brand-mark,.auth-mark{border:1px solid var(--ledger-ink);border-radius:2px;background:var(--ledger-ink);color:var(--ledger-paper-raised);box-shadow:inset 0 0 0 3px var(--ledger-paper-raised)}.app-navigation,.primary-navigation,.utility-navigation{min-width:0}.primary-navigation,.utility-navigation,.module-switcher,.topbar .item-section-switch,.topbar .campaign-menu-actions{gap:0;border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.utility-navigation{margin-left:10px;border-left:1px solid var(--ledger-rule);padding-left:10px}.app-navigation-link,.module-switcher button,.topbar .item-section-switch button{min-height:44px;border:0;border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none;padding:0 13px;font-size:.76rem;font-weight:760;letter-spacing:.025em}.app-navigation-link:hover,.module-switcher button:hover,.topbar .item-section-switch button:hover{background:var(--ledger-paper-muted);color:var(--ledger-ink)}.app-navigation-link.active,.app-navigation-link[aria-current=page],.module-switcher button.active,.module-switcher button[data-state=active],.topbar .item-section-switch button.active{background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}.app-navigation-link.active:after{display:none}.app-navigation-link:focus-visible{outline:2px solid var(--ledger-focus);outline-offset:-2px}.profile-settings-trigger{min-height:42px;border:1px solid transparent;border-radius:2px;color:var(--ledger-ink-soft);font-weight:760}.profile-settings-trigger:is(:hover,:focus,[data-state=open]){border-color:var(--ledger-rule);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);outline:0}.profile-settings-submenu{width:min(286px,calc(100vw - 28px));border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);padding:7px;box-shadow:0 18px 48px #1d28262e}.profile-appearance-label{color:var(--ledger-muted);padding:2px 8px 5px;font-family:var(--ledger-sans);font-size:.66rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.profile-appearance-item{min-height:48px;border:1px solid transparent;border-radius:2px;padding-block:6px;color:var(--ledger-ink-soft)}.profile-appearance-item>svg{color:var(--ledger-muted)}.profile-appearance-item>span,.topbar .profile-popover .profile-appearance-item>span{display:grid;gap:1px;color:var(--ledger-ink-soft)}.profile-appearance-item strong,.topbar .profile-popover .profile-appearance-item strong{color:var(--ledger-ink);font-size:.78rem;line-height:1.15}.profile-appearance-item small,.topbar .profile-popover .profile-appearance-item small{color:var(--ledger-muted);font-size:.68rem;font-weight:650;line-height:1.25}.profile-appearance-item:is(:hover,:focus,[data-state=checked]){border-color:var(--ledger-rule);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);outline:0}.profile-appearance-item[data-state=checked]>svg{color:var(--ledger-accent-dark)}.topbar .campaign-menu-actions .profile-button,.topbar .campaign-menu-actions>.icon-button,.topbar .campaign-header .command-button{border-color:transparent;border-radius:2px;background:transparent;color:var(--ledger-ink-soft);box-shadow:none}.topbar .campaign-menu-actions .profile-button:hover:not(:disabled),.topbar .campaign-menu-actions>.icon-button:hover:not(:disabled),.topbar .campaign-header .command-button:hover:not(:disabled),.topbar .campaign-menu-actions .profile-button[aria-expanded=true],.topbar .campaign-menu-actions>.icon-button[aria-expanded=true]{border-color:transparent;background:var(--ledger-paper-muted);color:var(--ledger-accent-dark);box-shadow:none;transform:none}.campaign-profile-picture,.profile-avatar,.campaign-profile-trigger{box-shadow:none}:is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]){min-height:40px;border:1px solid var(--ledger-control-border);border-radius:2px;background:var(--ledger-field);color:var(--ledger-ink);box-shadow:inset 0 1px 2px #1d28260a}:is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]):hover{border-color:var(--ledger-field-hover)}:is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]):focus,:is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]):focus-visible{border-color:var(--ledger-accent);outline:0;box-shadow:0 0 0 3px var(--ledger-focus-ring)}:root[data-ledger-theme=dark] :is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]):is(:focus,:focus-visible){border-color:var(--ledger-focus);box-shadow:0 0 0 2px var(--ledger-focus)}label:not(:has(input[type=checkbox],input[type=radio])),[data-slot=label]:not(:has(input[type=checkbox],input[type=radio])){color:var(--ledger-ink-soft);font-size:.72rem;font-weight:760;letter-spacing:.045em;text-transform:uppercase}:is([data-slot=button],.icon-button,.state-button,.command-button,.primary-button){min-height:38px;border-radius:2px;font-size:.78rem;font-weight:760;letter-spacing:.015em;box-shadow:none}:is(.command-button,.icon-button,.state-button,[data-slot=button]):not(.primary-button){border-color:var(--ledger-rule-strong)}.command-button,.icon-button,.state-button,[data-slot=button].bg-background{background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}[data-slot=button].command-button,[data-slot=button].icon-button,[data-slot=button].state-button{background:var(--ledger-paper-raised)!important;color:var(--ledger-ink-soft)!important}.primary-button{border-color:var(--ledger-accent-strong);background:var(--ledger-accent);color:var(--ledger-on-accent);box-shadow:none}:is(.command-button,.icon-button,.state-button):hover:not(:disabled){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none;transform:none}:is([data-slot=button].command-button,[data-slot=button].icon-button,[data-slot=button].state-button):hover:not(:disabled){border-color:var(--ledger-accent)!important;background:var(--ledger-accent-soft)!important;color:var(--ledger-accent-dark)!important}[data-slot=button].command-button.active-filter,[data-slot=button].command-button[aria-pressed=true]{border-color:var(--ledger-accent)!important;background:var(--ledger-accent-soft)!important;color:var(--ledger-accent-dark)!important}[data-slot=button].command-button.danger-text:not(:disabled){border-color:var(--ledger-danger)!important;background:var(--ledger-danger-soft)!important;color:var(--ledger-danger)!important}[data-slot=button].command-button.danger-text:hover:not(:disabled),[data-slot=button].command-button.danger-text:focus-visible:not(:disabled){border-color:var(--ledger-danger)!important;background:color-mix(in srgb,var(--ledger-danger) 18%,var(--ledger-paper))!important;color:var(--ledger-danger)!important}.primary-button:hover:not(:disabled){border-color:var(--ledger-accent-strong);background:var(--ledger-accent-strong);box-shadow:none;transform:none}[data-testid=character-print-download]{border-color:var(--ledger-accent-strong)!important;background:var(--ledger-accent-strong)!important;color:var(--ledger-on-accent)!important}[data-testid=character-print-download]:hover:not(:disabled){background:var(--ledger-accent-strong)!important}[data-testid=character-print-download]:disabled{border-color:var(--ledger-rule-strong)!important;border-style:dashed;background:var(--ledger-paper-muted)!important;background-image:none!important;color:var(--ledger-ink-soft)!important;-webkit-text-fill-color:var(--ledger-ink-soft);opacity:1!important}:is(.command-button,.icon-button,.primary-button,.state-button,[data-slot=button]):focus-visible{outline:2px solid var(--ledger-focus);outline-offset:2px;box-shadow:none}:is(.command-button,.icon-button,.primary-button,.state-button,[data-slot=button]):disabled{border-color:var(--ledger-rule-strong)!important;border-style:dashed;background:var(--ledger-paper-muted)!important;color:var(--ledger-muted)!important;cursor:not-allowed;box-shadow:none!important;opacity:1!important}[data-slot=dropdown-menu-item][data-disabled]{background:var(--ledger-paper-muted);color:var(--ledger-muted);cursor:not-allowed;opacity:1!important}:is(textarea,select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file])):disabled{border-color:var(--ledger-rule-strong);border-style:dashed;background:var(--ledger-field);color:var(--ledger-ink-soft);-webkit-text-fill-color:var(--ledger-ink-soft);cursor:not-allowed;opacity:1!important}:is(textarea,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file])):disabled::placeholder{color:var(--ledger-muted);-webkit-text-fill-color:var(--ledger-muted);opacity:1}:is(.character-print-toggles .toggle-row.disabled,.item-action-choice:disabled,.item-action-choice.disabled,.rule-option-menu-item.disabled,.assign-character-option:disabled,.rule-option-trigger:disabled,.starting-equipment-carry-toggle:disabled,.starting-equipment-content-toggle:disabled,.starting-equipment-content-remove:disabled,.starting-equipment-removed-summary button:disabled){border-color:var(--ledger-rule-strong);border-style:dashed;background:var(--ledger-paper-muted);color:var(--ledger-muted);opacity:1}.rule-option-trigger:disabled .rule-option-trigger-value{color:var(--ledger-ink-soft)}.character-build-grid :is(select,input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file])):disabled{background:var(--ledger-field);color:var(--ledger-ink-soft);-webkit-text-fill-color:var(--ledger-ink-soft);opacity:1}:is(.starting-equipment-contents li.dropped,.sheet-pack-contents li.dropped){color:var(--ledger-muted);opacity:1;text-decoration:line-through}:is(.sheet-pack-row.dropped,.sheet-inventory-item-dropped,.sheet-consumable-row.not-carried){border-style:dashed;color:var(--ledger-muted);opacity:1}.currency-input:disabled{border-color:var(--ledger-rule);background:var(--ledger-field);color:var(--ledger-ink-soft);-webkit-text-fill-color:var(--ledger-ink-soft);opacity:1}[data-slot=button].sheet-health-action.damage:not(:disabled){border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}[data-slot=button].sheet-health-action.healing:not(:disabled){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}[data-slot=badge],.source-pill,.edited-pill,.always-prepared-pill,.character-status-badge,.character-status-pill,.role-pill,.status-pill{border-radius:999px;box-shadow:none;font-weight:720;letter-spacing:.035em}[data-slot=badge],.source-pill{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.auth-tabs button,.field-hint{color:var(--ledger-muted)}.field-hint.warning{color:var(--ledger-warning)}:is(.danger-badge,.sheet-inventory-panel .danger-badge,.banned-pill){border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:is(.warning-badge,.empty-selection-badge){border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}.section-title,.subsection-title,.quick-sheet-panel .section-title,.spell-sheet-panel-heading>span,.spell-sheet-reference-title{color:var(--ledger-ink);font-family:var(--ledger-sans);font-size:.69rem;font-weight:820;letter-spacing:.105em;text-transform:uppercase}.section-title svg,.quick-sheet-panel .section-title svg{color:var(--ledger-accent)}:is(.shadcn-floating-content,.campaign-profile-menu,.campaign-popover,.profile-popover,.filter-menu,.new-spell-menu,.pdf-settings-card,.currency-popover){border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:0 18px 48px #1d282629}.app-shell{grid-template-columns:minmax(246px,286px) minmax(440px,1fr) minmax(330px,410px)}.control-panel,.detail-panel,.inventory-section-bar,.inventory-control-panel,.character-control-panel{border-color:var(--ledger-rule);background:var(--ledger-surface-glass-muted);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.spell-browser,.inventory-main,.character-main{background:var(--ledger-surface-glass-paper)}.spell-browser{padding:22px}.browser-toolbar{gap:14px;margin-bottom:0;border-bottom:2px solid var(--ledger-ink);padding:0 0 15px}.browser-title h2{color:var(--ledger-ink);font-size:1.5rem}.spell-list{gap:0;border-right:1px solid var(--ledger-rule);border-left:1px solid var(--ledger-rule)}.spell-row{min-height:66px;border:0;border-bottom:1px solid var(--ledger-rule);border-radius:0;background:var(--ledger-surface-glass-raised);box-shadow:none}.spell-row:hover{border-color:var(--ledger-rule);background:var(--ledger-paper-raised);box-shadow:inset 3px 0 0 var(--ledger-rule-strong)}.spell-row.active{border-color:var(--ledger-rule);background:var(--ledger-accent-soft);box-shadow:inset 4px 0 0 var(--ledger-accent)}.spell-row [data-slot=button].state-button.active{border-color:var(--ledger-accent)!important;background:var(--ledger-accent-soft)!important;color:var(--ledger-accent-dark)!important}.spell-row.edited:not(.active){border-color:var(--ledger-rule);box-shadow:inset 3px 0 #9a7b46}.spell-row.banned,.spell-row.banned:hover,.spell-row.banned.active{border-color:var(--ledger-rule);background:var(--ledger-danger-soft)}.spell-main{border-radius:0;background:transparent;color:inherit;box-shadow:none}.spell-row [data-slot=button].spell-main{background:transparent!important;color:inherit!important}.spell-main:hover{background:transparent;color:inherit;box-shadow:none}.spell-main strong{color:var(--ledger-ink);font-family:var(--ledger-serif);font-size:1rem;font-weight:650}.level-chip,.spell-sheet-spell-level-mark{border:1px solid var(--ledger-accent);border-radius:50%;background:transparent;color:var(--ledger-accent-dark);font-family:var(--ledger-serif)}.panel-section,.selected-spell,.custom-editor,.app-sheet,.item-entry-panel,.item-entry-modal,.new-item-popover,.currency-modal,[data-slot=card]{border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);box-shadow:none}.panel-section,.selected-spell{border-top:3px solid var(--ledger-ink)}.selected-spell .detail-heading h2,.selected-spell .detail-heading h3{font-size:1.55rem}.spell-facts,.spell-metadata-grid,.print-summary,.filter-section,.filter-stat-card{border-radius:2px}.empty-list,.spell-sheet-empty-state,.spell-sheet-empty,.sheet-familiar-empty{border:1px dashed var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-surface-glass-ghost);color:var(--ledger-muted);box-shadow:none}.character-manager-shell{--character-rail-width: clamp(238px, 18vw, 286px)}.character-control-panel{color:var(--ledger-ink);background:var(--ledger-surface-glass-muted);border-right:1px solid var(--ledger-rule-strong)}.party-roster-heading{border-bottom-color:var(--ledger-rule)}.party-roster-heading h2{color:var(--ledger-ink);font-size:1.18rem}.party-roster-heading .source-pill,.party-character-section-heading,.party-character-section-heading>span,.party-roster-heading [data-slot=badge],.party-character-section-heading [data-slot=badge]{border-color:var(--ledger-rule);background:transparent;color:var(--ledger-muted)}.party-character-row,.character-card,.character-row{border:1px solid var(--ledger-rule);border-left:3px solid var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-surface-glass-panel);box-shadow:none}.party-character-row:hover:not(:disabled),.character-card:hover,.character-row:hover{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);box-shadow:none;transform:none}.party-character-row.selected,.character-card.selected,.character-card.active,.character-row.active{border-color:var(--ledger-accent);border-left-color:var(--ledger-accent);background:var(--ledger-accent-soft);box-shadow:none}:root[data-ledger-theme=dark] button.party-character-row.selected{border-color:var(--ledger-accent);border-left-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-ink);box-shadow:none}.character-main{padding:clamp(16px,2vw,28px)}.character-workspace-panel{gap:14px}.character-section-switch{width:min(620px,100%);min-height:46px;gap:0;border:0;border-bottom:1px solid var(--ledger-rule-strong);border-radius:0;background:transparent;padding:0}.character-section-switch [data-slot=tabs-trigger]{height:46px;border:0;border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none;font-size:.75rem;letter-spacing:.035em}.character-section-switch [data-slot=tabs-trigger]:hover{background:var(--ledger-paper-muted);color:var(--ledger-ink)}.character-section-switch [data-slot=tabs-trigger][data-state=active]{border:0;background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}.builder-panel,.character-workspace-panel,.sheet-loadout-item,.manual-mechanic-row,.rule-option-picker,.selected-spell-row{border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);box-shadow:none}.builder-panel{border-top:3px solid var(--ledger-ink)}.quick-sheet-page,.spell-sheet-page{overflow:hidden;border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper);box-shadow:0 14px 42px #1d282614}.quick-sheet-hero,.spell-sheet-hero{position:relative;min-height:112px;border:0;border-bottom:2px solid var(--ledger-ink);background:var(--ledger-paper-raised);color:var(--ledger-ink);padding:20px clamp(18px,3vw,32px)}.quick-sheet-hero:before,.spell-sheet-hero:before{position:absolute;top:0;bottom:0;left:0;width:6px;background:var(--ledger-accent);content:""}.quick-sheet-hero .sheet-portrait,.spell-sheet-portrait{width:72px;height:72px;border:1px solid var(--ledger-ink);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-accent-dark);box-shadow:5px 5px 0 var(--ledger-accent-soft)}.quick-sheet-identity h3,.spell-sheet-identity h3{color:var(--ledger-ink);font-size:clamp(1.6rem,3vw,2.15rem);font-weight:650}.quick-sheet-identity p,.spell-sheet-identity p{color:var(--ledger-muted)}.spell-sheet-kicker{color:var(--ledger-accent-dark);font-size:.65rem;letter-spacing:.13em}.quick-sheet-badges [data-slot=badge],.quick-sheet-badges .character-status-badge,.primary-character-toggle,.quick-sheet-print-button{border-color:var(--ledger-rule-strong);border-radius:2px;background:transparent;color:var(--ledger-ink-soft);box-shadow:none}.primary-character-toggle[aria-checked=true]{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.quick-sheet-stat-strip,.spell-sheet-casting-strip{border:0;border-bottom:1px solid var(--ledger-rule-strong);border-radius:0;background:var(--ledger-paper-muted)}.sheet-top-stat,.spell-sheet-casting-strip>span{min-height:78px;border-color:var(--ledger-rule);background:transparent;padding:11px 14px}.sheet-top-stat small,.spell-sheet-casting-strip small,.spell-sheet-casting-strip em{color:var(--ledger-muted);font-size:.6rem;letter-spacing:.08em}.sheet-top-stat strong,.spell-sheet-casting-strip strong{color:var(--ledger-ink);font-family:var(--ledger-serif);font-size:1.35rem;font-weight:650}.quick-sheet-grid,.spell-sheet-layout{background:transparent}.quick-sheet-grid{gap:1px;background:var(--ledger-rule);padding:1px}.quick-sheet-column{gap:1px;background:var(--ledger-paper-raised)}.quick-sheet-panel,.spell-sheet-slots-panel,.spell-sheet-reference-panel{border:0;border-radius:0;background:var(--ledger-paper-raised);box-shadow:none}.quick-sheet-panel{min-height:100%;padding:15px}.quick-sheet-panel .section-title,.spell-sheet-panel-heading,.spell-sheet-reference-toolbar{border-bottom:2px solid var(--ledger-ink);padding-bottom:8px}.spell-sheet-page{gap:0;padding:0}.spell-sheet-layout{grid-template-columns:minmax(230px,.31fr) minmax(0,1fr);gap:0;background:var(--ledger-paper-raised)}.spell-sheet-slots-panel{top:12px;gap:12px;border-right:1px solid var(--ledger-rule-strong);padding:16px}.spell-sheet-reference-panel{min-width:0}.spell-sheet-reference-toolbar{border-bottom:1px solid var(--ledger-rule-strong);background:var(--ledger-paper-raised);padding:16px}.spell-sheet-slot-pool,.spell-sheet-spell-card,.sheet-pack-row,.sheet-consumable-row,.quick-list span,.sheet-capacity-row span{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);box-shadow:none}.spell-sheet-slot-pool{border-left:3px solid var(--ledger-accent)}.spell-sheet-slot-dots span{border-color:var(--ledger-accent);background:var(--ledger-paper-raised);box-shadow:inset 0 0 0 2px var(--ledger-paper-raised)}.spell-sheet-slot-dots span.used{border-color:var(--ledger-rule-strong);background:var(--ledger-rule)}.spell-sheet-tag-filters{border-bottom:1px solid var(--ledger-rule);background:var(--ledger-paper-muted)}.spell-sheet-tag-filter{min-height:30px;border-color:var(--ledger-rule);border-radius:999px;background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}.spell-sheet-tag-filter.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.spell-sheet-spell-groups{gap:20px;padding:18px}.spell-sheet-level-heading{border-bottom:2px solid var(--ledger-ink);color:var(--ledger-ink);padding-bottom:7px}.spell-sheet-spell-list{gap:0;border-right:1px solid var(--ledger-rule);border-left:1px solid var(--ledger-rule)}.spell-sheet-spell-card{border:0;border-bottom:1px solid var(--ledger-rule);border-radius:0;background:var(--ledger-paper-raised)}.spell-sheet-spell-card:hover,.spell-sheet-spell-card.expanded{border-color:var(--ledger-rule);background:var(--ledger-row-hover);box-shadow:inset 3px 0 0 var(--ledger-accent)}.spell-sheet-spell-card.ready,.spell-sheet-spell-card.prepared,.spell-sheet-spell-card.always{border-color:var(--ledger-rule)}.spell-sheet-spell-title strong{color:var(--ledger-ink);font-family:var(--ledger-serif);font-size:1rem;font-weight:650}.spell-sheet-readiness{border-radius:999px;background:var(--ledger-paper-muted);color:var(--ledger-muted)}.spell-sheet-readiness.ready,.spell-sheet-readiness.prepared,.spell-sheet-readiness.always{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.spell-sheet-spell-detail{border-top-color:var(--ledger-rule);background:var(--ledger-paper)}.sheet-ability-row,.sheet-skill-heading,.sheet-skill-row,.sheet-passive-list span,.sheet-action-row,.sheet-inventory-list>span:not(.empty-selection-badge),.sheet-equipment-list>span:not(.empty-selection-badge),.sheet-feature-list article,.sheet-detail-list span{border-bottom-color:var(--ledger-rule)}:is(.sheet-hit-dice-label,.sheet-skill-heading,.sheet-passive-list small,.sheet-save-row small,.sheet-capacity-row small){color:var(--ledger-muted)}.sheet-ability-mark,.character-stat-icon,.sheet-action-icon,.sheet-pack-icon{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile,.sheet-save-row,.character-stat-tile,.ability-score-tile{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);box-shadow:none}.carrying-meter,.sheet-hit-point-meter{border-radius:0;background:var(--ledger-rule)}.carrying-meter-fill,.sheet-hit-point-meter>span{border-radius:0;background:var(--ledger-accent)}.module-home-shell,.home-dashboard-shell{background:transparent}.home-dashboard-content,.module-home-content{width:min(980px,calc(100% - 40px))}.home-dashboard-heading>span{width:fit-content;border:1px solid var(--ledger-accent);border-radius:999px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);padding:4px 9px}.home-dashboard-heading h1,.module-home-heading h1{color:var(--ledger-ink);font-size:clamp(2rem,5vw,3.6rem);text-shadow:none}.home-dashboard-heading p,.module-home-heading p{color:var(--ledger-muted);text-shadow:none}.home-primary-card,.home-notebook-shortcut,.module-choice-card{border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:7px 7px #356b641f}.module-choice-card:after{display:none}.module-choice-card:hover{border-color:var(--ledger-accent);box-shadow:7px 7px #356b6433;transform:translate(-1px,-1px)}.home-character-portrait,.module-choice-icon,.home-notebook-icon{border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.auth-shell,.campaign-gate{background:transparent}.auth-panel,.campaign-gate-panel{border:1px solid var(--ledger-rule-strong);border-top:6px solid var(--ledger-accent);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:10px 10px #1d282617}.auth-panel h1,.auth-panel h2,.campaign-gate-panel>.campaign-gate-heading h1,.campaign-gate-panel>.campaign-gate-heading h2{color:var(--ledger-ink)}.auth-heading p,.campaign-gate-heading p,.auth-panel .auth-message,.campaign-gate-panel>.campaign-notice{color:var(--ledger-muted)}.auth-recovery{border-color:var(--ledger-rule)}.auth-recovery-message{color:var(--ledger-muted)}.campaign-action-panel{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper)}:is(.safe-navigation-dialog,.campaign-action-modal,.item-entry-modal,.assign-item-modal,.currency-modal,.summary-editor,.spell-editor-sheet,.item-entry-sheet,.item-detail-sheet,.shop-detail-sheet,.shop-edit-sheet,.filter-sheet,.dm-editor-sheet,.campaign-mobile-sheet,[data-slot=sheet-content]){border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}:is(.safe-navigation-backdrop,.campaign-action-modal-backdrop,.item-entry-backdrop,.currency-modal-backdrop,.summary-editor-backdrop,.custom-editor-backdrop){background:var(--ledger-overlay);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}:is(.sheet-header,.sheet-footer,.campaign-action-modal-header,.campaign-action-modal-footer,.item-entry-modal-header,.item-entry-modal-footer,.currency-modal-header,.currency-modal-footer,.filter-sheet-header,.filter-sheet-footer,.dm-editor-header,.dm-editor-actions){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink)}:is(.sheet-header,.campaign-action-modal-header,.item-entry-modal-header,.currency-modal-header,.filter-sheet-header) h2,:is(.sheet-header,.campaign-action-modal-header,.item-entry-modal-header,.currency-modal-header,.filter-sheet-header) strong{color:var(--ledger-ink);font-family:var(--ledger-serif)}:is(.campaign-notice,.inventory-notice,.item-shop-notice,.import-notice,.summary-notice,.readonly-notice,.spell-sheet-notice,.safe-navigation-dialog-status,.dm-rule-notice,.dev-notice){border:1px solid var(--ledger-rule);border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none}:is(.danger,.danger-text,.dm-rule-notice.danger,.advancement-validation-message,.build-save-alert){color:var(--ledger-danger)}.app-loading{display:grid;place-items:center;min-height:100dvh;color:var(--ledger-on-hero);font-family:var(--ledger-serif);font-size:1.2rem;font-weight:650;letter-spacing:-.01em;text-shadow:0 2px 12px rgb(5 15 18 / 72%)}:is(.spell-sheet-loading,.item-shop-loading,.party-rail-loading,.dev-loading-panel){border:1px dashed var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-surface-glass);color:var(--ledger-muted);box-shadow:none}:is(.banned-callout,.dm-rule-notice.danger,.advancement-unassigned-warning,.level-up-stale-card){border-color:color-mix(in srgb,var(--ledger-danger) 34%,var(--ledger-rule));background:var(--ledger-danger-soft);color:var(--ledger-danger)}:is(.readonly-notice,.import-notice,.ability-method-status.warning,.dm-ai-warnings){border-color:color-mix(in srgb,var(--ledger-warning) 34%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:is(.currency-table,.bulk-currency-table,[data-slot=table]){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink)}:is(.currency-table,.bulk-currency-table,[data-slot=table]) thead{background:var(--ledger-paper-muted);color:var(--ledger-muted)}:is(.currency-table,.bulk-currency-table,[data-slot=table]) :is(th,td){border-color:var(--ledger-rule)}:is(.toggle-row,.checkbox-field,.filter-choice,.item-attunement-toggle,.shop-attunement-toggle,.spell-flag-toggle,.learn-copy-toggle,.dm-rule-toggle,.dm-equipment-toggle){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink-soft)}:is(input[type=checkbox],input[type=radio]){min-height:0;accent-color:var(--ledger-accent);box-shadow:none}:is(.campaign-popover-header,.profile-popover-header,.currency-popover-header,.filter-menu-header,.campaign-member-row,.campaign-history-row){border-color:var(--ledger-rule)}:is(.campaign-member-row,.campaign-history-row){border-radius:2px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}:is(.campaign-member-row,.campaign-history-row):hover{background:var(--ledger-row-hover)}:is(.campaign-member-avatar,.campaign-picture-preview,.profile-avatar,.character-portrait){border-color:var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none}.campaign-party-count,.campaign-self-pill{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-accent-dark)}.campaign-popover .campaign-popover-eyebrow,.campaign-member-character svg{color:var(--ledger-accent-dark)}.campaign-member-character{color:var(--ledger-muted)}.campaign-member-character-name{color:var(--ledger-ink-soft)}:is(.campaign-member-character-details,.campaign-member-empty-character,.campaign-member-email){color:var(--ledger-muted)}.campaign-member-role-mark{border-color:var(--ledger-paper-raised);background:var(--ledger-ink-soft);color:var(--ledger-paper-raised)}.campaign-member-role-mark.dungeon-master{background:var(--ledger-accent-dark);color:var(--ledger-paper-raised)}.campaign-member-role-actions .role-pill{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.campaign-member-role-actions .role-pill.dungeon-master{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.campaign-action-modal{border-top:5px solid var(--ledger-accent)}.campaign-restrictions-button{border-color:var(--ledger-rule)}:is(.campaign-picture-panel,.campaign-invite-panel,.campaign-restrictions-summary,.campaign-restrictions-empty,.campaign-restriction-source,.campaign-restriction-option-group){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.campaign-restrictions-summary-icon,.campaign-restrictions-button-icon{border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.campaign-restriction-section-header{border-bottom-color:var(--ledger-ink)}.campaign-restriction-source summary:hover,.campaign-restrictions-button:hover{border-color:var(--ledger-rule);background:var(--ledger-row-hover);color:var(--ledger-accent-dark)}.campaign-mobile-content,.campaign-mobile-scroll{background:var(--ledger-paper-raised)}.builder-identity-header{border:1px solid var(--ledger-rule-strong);border-left:5px solid var(--ledger-accent);border-radius:3px;background:var(--ledger-surface-glass);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-sm)}.builder-identity-portrait{border:1px solid var(--ledger-ink);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-accent-dark);box-shadow:4px 4px 0 var(--ledger-accent-soft)}.builder-identity-name-field,.builder-identity-summary small{color:var(--ledger-muted)}.builder-identity-name-field input,.character-name-prompt input{border-color:var(--ledger-control-border);background:var(--ledger-field);color:var(--ledger-ink);box-shadow:inset 0 1px 2px #1d28260a}.builder-identity-summary strong{color:var(--ledger-ink)}.builder-identity-actions :is([data-slot=badge],.character-status-badge),.builder-identity-actions .builder-profile-default-button{border-color:var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.builder-quest-rail,.builder-chapter-header,.builder-hero-card,.builder-guidance-card,.builder-journey-actions{border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-sm)}.builder-quest-rail{background:var(--ledger-surface-glass-muted)}.builder-quest-heading,.builder-quest-progress,.builder-preview-abilities,.builder-preview-proficiencies,.builder-preview-resources{border-color:var(--ledger-rule)}.builder-quest-crest,.builder-chapter-sigil,.builder-guidance-icon{border-color:var(--ledger-accent);border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none}.builder-quest-heading :is(strong,small),.builder-quest-copy :is(strong,small),.builder-quest-progress :is(strong,small),.builder-action-copy :is(strong,small),.builder-chapter-header :is(h2,p),.builder-hero-identity :is(h3,p,small),.builder-guidance-card :is(strong,p,small),.builder-preview-label{color:var(--ledger-ink)}.builder-quest-heading small,.builder-quest-copy small,.builder-quest-progress small,.builder-action-copy small,.builder-chapter-header p,.builder-hero-identity small,.builder-guidance-card p,.builder-preview-label{color:var(--ledger-muted)}.builder-chapter-kicker,.builder-hero-identity>span{color:var(--ledger-accent-dark)}.builder-chapter-header{border-top:4px solid var(--ledger-ink)}.builder-chapter-header:after,.builder-hero-aura{display:none}.selected-spell-row .starting-equipment-contents-header small{color:var(--ledger-arcane)}.builder-quest-steps:before{background:var(--ledger-rule-strong);opacity:1}.builder-quest-step{border-radius:2px;color:var(--ledger-ink-soft)}.builder-quest-step:hover{border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink)}.builder-quest-step.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);transform:none}.builder-quest-node,.builder-quest-step.active .builder-quest-node,.builder-quest-step.complete .builder-quest-node{border-color:var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-paper-raised);color:var(--ledger-ink-soft);box-shadow:none}.builder-quest-step.active .builder-quest-node,.builder-quest-step.complete .builder-quest-node{border-color:var(--ledger-accent);background:var(--ledger-accent);color:var(--ledger-on-accent)}.builder-quest-alert{border-color:color-mix(in srgb,var(--ledger-danger) 58%,var(--ledger-rule));background:var(--ledger-danger-soft);color:var(--ledger-danger)}.builder-quest-progress-track,.builder-mobile-progress{border-radius:0;background:var(--ledger-rule)}.builder-quest-progress-track>span,.builder-mobile-progress>span{border-radius:0;background:var(--ledger-accent);box-shadow:none}.guided-builder-panels .builder-panel{border:1px solid var(--ledger-rule-strong);border-top:4px solid var(--ledger-ink);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.guided-builder-panels .builder-panel>.section-title,.guided-builder-panels .feat-builder-header .section-title{color:var(--ledger-ink);font-family:var(--ledger-sans);font-size:.72rem;letter-spacing:.1em}.guided-builder-panels :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.rule-option-trigger){border-color:var(--ledger-control-border);border-radius:2px;background:var(--ledger-field);color:var(--ledger-ink);box-shadow:inset 0 1px 2px #1d28260a}:is(.guided-builder-panels .class-track-row,.guided-builder-panels .ability-method-status,.guided-builder-panels .point-buy-row,.guided-builder-panels .random-roll-card,.guided-builder-panels .loadout-item,.guided-builder-panels .selected-spell-row,.guided-builder-panels .manual-mechanic-row,.story-file-card,.advancement-card,.level-up-comparison-row,.level-up-ready-card){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.builder-journey-actions{border-top:3px solid var(--ledger-ink)}.builder-journey-actions .command-button{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}.builder-journey-actions>[data-slot=badge]{border-color:color-mix(in srgb,var(--ledger-danger) 34%,var(--ledger-rule));background:var(--ledger-danger-soft);color:var(--ledger-danger)}.builder-continue-button,.builder-save-button{background:var(--ledger-accent);box-shadow:none}.builder-preview-label svg,.builder-preview-resources svg{color:var(--ledger-accent)}.builder-hero-visual{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted)}.builder-hero-portrait{color:var(--ledger-accent-dark)}.builder-level-medallion{border-color:var(--ledger-accent);border-radius:2px;background:var(--ledger-accent);color:var(--ledger-on-accent);box-shadow:none}.builder-hero-badges :is([data-slot=badge],.character-status-badge){border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.builder-preview-stat-grid>span,.builder-preview-proficiency-heading small{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink-soft)}.builder-preview-stat-grid :is(small,strong),.builder-preview-abilities :is(small,strong,em),.builder-preview-proficiency-heading,.builder-preview-proficiency-row :is(strong,small,b),.builder-preview-proficiencies>p,.builder-preview-resources{color:var(--ledger-ink-soft)}.builder-preview-abilities em,.builder-preview-proficiency-row b{color:var(--ledger-accent-dark)}.rule-option-trigger-value.placeholder{color:var(--ledger-muted)}.builder-preview-proficiency-row{border-color:var(--ledger-rule)}.character-start-modal{border:1px solid var(--ledger-rule-strong);border-top:6px solid var(--ledger-accent);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}.character-start-modal :is(.sheet-header,.sheet-footer){background:var(--ledger-surface-glass-strong);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.character-start-modal .sheet-header .source-pill{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.character-start-modal .sheet-footer .primary-button{background:var(--ledger-accent);box-shadow:none}.character-start-modal .sheet-header h2,.character-start-modal .character-calling-fieldset legend,.character-start-hero strong{color:var(--ledger-ink)}.character-start-modal :is(.character-calling-fieldset>p,.character-start-hero p){color:var(--ledger-muted)}.character-start-hero,.character-calling-card,.character-calling-loading{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.character-calling-card:hover:not(:disabled){border-color:var(--ledger-accent);background:var(--ledger-row-hover);box-shadow:none;transform:none}.character-calling-card.selected{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);box-shadow:inset 4px 0 0 var(--ledger-accent)}.character-calling-art{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-accent-dark)}.character-calling-copy>small,.character-start-hero small{color:var(--ledger-accent-dark)}.character-calling-facts em{border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-muted)}.character-calling-state{border-color:var(--ledger-rule-strong);border-radius:2px}.character-calling-card.selected .character-calling-state{border-color:var(--ledger-accent);background:var(--ledger-accent)}.level-up-header,.level-up-start-card,.level-up-class-step,.level-up-decision-column,.level-up-review-column,.level-up-empty-decisions{border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.level-up-header{border-top:4px solid var(--ledger-ink);padding:16px 18px}.level-up-class-card{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.level-up-class-card.selected{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);box-shadow:inset 4px 0 0 var(--ledger-accent)}.rule-option-sheet[data-side=center]{border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}.rule-option-sheet-header,.rule-option-sheet-controls,.rule-option-sheet-toolbar,.rule-option-detail-footer{border-color:var(--ledger-rule);background:var(--ledger-paper-raised)}.rule-option-sheet-header [data-slot=sheet-title]{color:var(--ledger-ink);font-family:var(--ledger-serif)}.rule-option-sheet-header [data-slot=sheet-description]{color:var(--ledger-muted)}.rule-option-sheet-kicker{color:var(--ledger-accent-dark)}.rule-option-sheet-close[data-slot=button]{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}.rule-option-sheet-close[data-slot=button]:hover{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.rule-option-menu-item{border-color:transparent;border-radius:2px;background:transparent;color:var(--ledger-ink)}.rule-option-menu-item:hover:not(.disabled),.rule-option-menu-item:focus-visible:not(.disabled){border-color:var(--ledger-rule);background:var(--ledger-row-hover)}.rule-option-menu-item.selected,.rule-option-menu-item.inspected{border-color:var(--ledger-accent);background:var(--ledger-accent-soft)}.inventory-section-bar{border-color:var(--ledger-rule-strong);background:var(--ledger-surface-glass)}.item-section-panel .item-section-switch,.inventory-tools,.item-shop-toolbar,.item-shop-filters{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised);box-shadow:none}.item-section-panel .item-section-switch{border-bottom:1px solid var(--ledger-rule-strong);background:transparent}.item-section-panel .item-section-switch button{border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none}.item-section-panel .item-section-switch button:hover{background:var(--ledger-row-hover);color:var(--ledger-ink)}.item-section-panel .item-section-switch button.active,.item-section-panel .item-section-switch button[aria-pressed=true]{background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}:is(.item-row,.potion-manager-panel,.potion-stock-row,.potion-owner-stack,.secret-purse-panel,.assign-character-option,.learn-scroll-grid,.item-detail-section,.weapon-detail-fields,.spell-scroll-fields){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.item-row{border-left:3px solid var(--ledger-rule-strong)}.item-row:hover{border-color:var(--ledger-rule-strong);background:var(--ledger-row-hover);box-shadow:none;transform:none}.item-row.active,.item-row.selected{border-color:var(--ledger-accent);border-left-color:var(--ledger-accent);background:var(--ledger-accent-soft)}:is(.item-image-preview,.potion-image-frame,.item-detail-image,.shop-item-icon,.shop-detail-icon){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-accent-dark);box-shadow:none}:is(.item-count-pill,.potion-count-badge,.potion-total-badge,.attunement-count-pill,.potion-rarity-badge){border:1px solid var(--ledger-rule);border-radius:999px;background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:is(.new-item-popover,.item-actions-popover,.potion-add-menu,.owner-more-menu[open]){border-color:var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}:is(.new-item-choice,.potion-quick-add-button,.owner-more-menu summary){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised);color:var(--ledger-ink-soft);box-shadow:none}:is(.new-item-choice,.potion-quick-add-button,.owner-more-menu summary):hover{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none;transform:none}.currency-popover,.currency-modal{border-radius:3px;background:var(--ledger-paper-raised)}:is(.currency-table,.bulk-currency-table){border-collapse:collapse;border-spacing:0}:is(.currency-table,.bulk-currency-table) tbody :is(th,td),:is(.currency-table,.bulk-currency-table) tfoot :is(th,td){border-color:var(--ledger-rule);border-radius:0;background:var(--ledger-paper-raised)}:is(.currency-table,.bulk-currency-table) tbody :is(th:first-child,td:last-child),:is(.currency-table,.bulk-currency-table) tfoot :is(th:first-child,td:last-child){border-radius:0}:is(.currency-table,.bulk-currency-table) tbody tr:hover :is(th,td){background:var(--ledger-row-hover)}.currency-total-row :is(th,td){border-top:2px solid var(--ledger-ink)!important;background:var(--ledger-paper-muted)!important}:is(.secret-purse-panel,.secret-purse-editor,.secret-purse-transfer){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-warning-soft);color:var(--ledger-ink);box-shadow:none}.filter-sheet-body,.filter-section,.filter-stat-card,.filter-preset-button{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.filter-preset-button:hover,.filter-preset-button.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.item-shop{color:var(--ledger-ink)}.item-shop-heading>div:first-child{border:1px solid var(--ledger-rule-strong);border-left:5px solid var(--ledger-accent);border-radius:3px;background:transparent;padding-left:14px;box-shadow:none}.item-shop-heading h1{color:var(--ledger-ink);font-family:var(--ledger-serif)}.item-shop-heading p,.item-shop-attribution,.shop-item-description{color:var(--ledger-muted)}.item-shop-count{border:1px solid var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-ink-soft);box-shadow:none}.mundane-shop-scopes{gap:0;border-bottom:1px solid var(--ledger-rule-strong);background:transparent}.mundane-scope-button{border:0;border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none}.mundane-scope-button.active-filter,.mundane-scope-button[aria-pressed=true]{background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}.item-shop-grid{gap:0;border-top:1px solid var(--ledger-rule);border-left:1px solid var(--ledger-rule)}.shop-item-card,.mundane-shop-card{border:0;border-right:1px solid var(--ledger-rule);border-bottom:1px solid var(--ledger-rule);border-radius:0;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.shop-item-card:hover,.mundane-shop-card:hover{border-color:var(--ledger-rule);background:var(--ledger-row-hover);box-shadow:inset 4px 0 0 var(--ledger-accent);transform:none}.shop-item-title strong,.shop-detail-hero strong{color:var(--ledger-ink);font-family:var(--ledger-serif)}.shop-item-title small,.shop-detail-description,.mundane-legacy-note{color:var(--ledger-muted)}.shop-item-price,.shop-detail-price{color:var(--ledger-accent-dark)}.shop-detail-hero,.shop-edit-form,.mundane-catalog-details,.mundane-legacy-note{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);box-shadow:none}.item-shop-attribution{border-top-color:var(--ledger-rule)}.campaign-notebook-shell{background:transparent}.campaign-notebook-module-heading,.home-dashboard-heading{max-width:780px;border:1px solid var(--ledger-rule-strong);border-left:6px solid var(--ledger-accent);border-radius:3px;background:var(--ledger-surface-glass);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-sm);padding:18px 20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.campaign-notebook-home-link{color:var(--ledger-accent-dark)}.campaign-notebook-module-heading>span{color:var(--ledger-accent-dark)}.campaign-notebook-module-heading h1{color:var(--ledger-ink);font-family:var(--ledger-serif)}.campaign-notebook-module-heading p{color:var(--ledger-muted)}.campaign-notebook-workspace{border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper);box-shadow:var(--ledger-shadow-lg)}.campaign-note-tabs-row{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-muted)}.campaign-note-pinned-tabs:not(:empty),.campaign-note-tabs-scroll,.campaign-note-tabs-scroll.right,.campaign-note-tab,.campaign-note-all-button{border-color:var(--ledger-rule)}.campaign-note-tabs-scroll,.campaign-note-tab,.campaign-note-all-button,.campaign-note-mobile-picker{border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none}.campaign-note-mobile-picker{border-color:var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-paper-muted)}.campaign-note-tab.pinned{background:var(--ledger-surface-glass-ghost);color:var(--ledger-ink-soft)}.campaign-note-tab:hover,.campaign-note-all-button:hover,.campaign-note-tabs-scroll:hover:not(:disabled){background:var(--ledger-row-hover);color:var(--ledger-ink)}.campaign-note-tab.active{background:var(--ledger-paper-raised);color:var(--ledger-accent-dark)}.campaign-note-tab.active:after{right:0;left:0;height:3px;border-radius:0;background:var(--ledger-accent)}.campaign-note-new-button{border-radius:0;background:var(--ledger-accent);color:var(--ledger-on-accent)}.campaign-note-new-button:hover{background:var(--ledger-accent-strong)}.campaign-note-all-button small{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.campaign-note-document{background:var(--ledger-paper-raised)}.campaign-note-title-input{border:0;background:transparent;color:var(--ledger-ink);font-family:var(--ledger-serif);box-shadow:none}.campaign-note-title-input:focus,.campaign-note-title-input:focus-visible{border:0;outline:0;box-shadow:0 2px 0 var(--ledger-accent)}.campaign-note-live-status{color:var(--ledger-muted)}.campaign-note-live-dot{background:var(--ledger-accent);box-shadow:0 0 0 3px #356b6421}.campaign-note-editor{border:1px solid var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised);box-shadow:none}.campaign-note-editor-toolbar{border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}.campaign-note-tool{border-radius:2px;color:var(--ledger-muted)}.campaign-note-tool:hover,.campaign-note-tool[aria-pressed=true]{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.campaign-note-tool:focus-visible,.campaign-note-tab:focus-visible,.campaign-note-all-button:focus-visible{outline:2px solid var(--ledger-focus);outline-offset:-2px}.campaign-note-prosemirror{background:var(--ledger-paper-raised);caret-color:var(--ledger-accent-dark);color:var(--ledger-ink);font-family:var(--ledger-sans)}.campaign-note-prosemirror :is(h1,h2,h3){color:var(--ledger-ink);font-family:var(--ledger-serif)}.campaign-note-prosemirror a{color:var(--ledger-accent-dark)}.campaign-note-editor-loading,.campaign-note-empty-state{border:1px dashed var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-muted)}.campaign-notebook-notice{border:1px solid var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-ink);color:var(--ledger-paper-raised);box-shadow:var(--ledger-shadow-lg)}.dm-shell,.dev-console-shell{background:transparent;color:var(--ledger-ink)}.dm-heading,.dev-console-header{border:1px solid var(--ledger-rule-strong);border-left:6px solid var(--ledger-accent);border-radius:3px;background:var(--ledger-surface-glass);box-shadow:var(--ledger-shadow-sm);padding:18px 20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dm-heading h1,.dev-console-header h1{color:var(--ledger-ink);font-family:var(--ledger-serif)}.dm-heading p,.dev-console-header p{color:var(--ledger-muted)}:is(.dm-collaboration-panel,.dm-rule-panel,.dm-rules-studio,.dm-source-panel,.dm-equipment-mechanics,.dm-equipment-rule-card,.dm-equipment-section,.dm-ai-rule-assistant,.dm-ai-proposal,.dm-json-mechanics-editor,.dm-display-description-editor){border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.dm-collaboration-panel,.dm-rules-studio,.dm-source-panel{border-top:3px solid var(--ledger-ink)}.dm-rule-icon{border:1px solid var(--ledger-rule);border-radius:2px;background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:is(.dm-collaboration-copy,.dm-rule-copy,.dm-studio-heading,.dm-catalog-summary,.dm-source-header,.dm-source-group-header,.dm-equipment-mechanics-heading,.dm-ai-assistant-heading,.dm-ai-proposal-summary) :is(h2,h3,strong){color:var(--ledger-ink)}:is(.dm-collaboration-copy,.dm-rule-copy,.dm-studio-heading,.dm-catalog-summary,.dm-source-header,.dm-source-group-header,.dm-equipment-mechanics-heading,.dm-ai-assistant-heading,.dm-ai-proposal-summary) :is(p,span,small){color:var(--ledger-muted)}.dm-section-kicker{color:var(--ledger-accent-dark)}.dm-category-tabs{gap:0;border-bottom:1px solid var(--ledger-rule-strong);border-radius:0;background:transparent}.dm-category-tabs button{border:0;border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none}.dm-category-tabs button:hover,.dm-category-tabs button:focus-visible{background:var(--ledger-row-hover);color:var(--ledger-ink)}.dm-category-tabs button.active{background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}.dm-category-tabs small{border:1px solid var(--ledger-rule);border-radius:999px;background:var(--ledger-paper-muted);color:var(--ledger-muted)}.dm-catalog-toolbar,.dm-catalog-summary,.dm-source-group{border-color:var(--ledger-rule);background:transparent}.dm-catalog-search{border-color:var(--ledger-rule-strong);border-radius:2px;background:var(--ledger-field);color:var(--ledger-muted)}.dm-option-list{gap:0;border:1px solid var(--ledger-rule)}.dm-option-row{border:0;border-bottom:1px solid var(--ledger-rule);border-radius:0;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.dm-option-row:last-child{border-bottom:0}.dm-option-row:hover{background:var(--ledger-row-hover)}.dm-option-row.disabled{background:var(--ledger-danger-soft)}.dm-option-main,.dm-option-title strong{color:var(--ledger-ink)}.dm-option-main :is(small,p){color:var(--ledger-muted)}.dm-option-main:focus-visible{outline:2px solid var(--ledger-focus);outline-offset:-2px}.dm-source-toggle{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.dm-source-toggle.disabled{border-color:color-mix(in srgb,var(--ledger-danger) 32%,var(--ledger-rule));background:var(--ledger-danger-soft)}.dm-source-toggle strong{color:var(--ledger-ink)}.dm-source-toggle :is(small,em){color:var(--ledger-muted)}.dm-rule-panel.muted,.dm-equipment-mechanics-grid .dm-equipment-toggle{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-ink)}.dm-equipment-toggle strong,.dm-equipment-rule-summary strong,.dm-json-mechanics-editor>div>strong{color:var(--ledger-ink)}.dm-editor-sheet[data-slot=sheet-content]{border-color:var(--ledger-rule-strong);border-radius:3px 0 0 3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}.dm-editor-body{background:var(--ledger-paper)}.dm-rule-actions{border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);padding:12px 14px;box-shadow:var(--ledger-shadow-sm)}.dm-equipment-section>summary{color:var(--ledger-ink)}.dm-equipment-section>summary small,.dm-json-mechanics-editor>div>p,.dm-display-description-editor>p,.dm-ai-data-note,.dm-ai-access-note,.dm-ai-save-reminder{color:var(--ledger-muted)}.dm-equipment-section[open]>summary,.dm-editor-actions{border-color:var(--ledger-rule)}.dm-ai-warnings{border:1px solid color-mix(in srgb,var(--ledger-warning) 34%,var(--ledger-rule));border-radius:2px;background:var(--ledger-warning-soft);color:var(--ledger-warning)}.dm-json-editor{font-family:var(--ledger-mono)}.dev-header-stats,.dev-snapshot-summary{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted);color:var(--ledger-ink)}.dev-header-stats span,.dev-snapshot-summary span{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised)}.dev-section-tabs{gap:0;border-bottom:1px solid var(--ledger-rule-strong);border-radius:0;background:var(--ledger-paper-raised)}.dev-section-tab{border:0;border-radius:0;background:transparent;color:var(--ledger-muted);box-shadow:none}.dev-section-tab:hover{background:var(--ledger-row-hover);color:var(--ledger-ink)}.dev-section-tab.active{background:transparent;color:var(--ledger-accent-dark);box-shadow:inset 0 -3px 0 var(--ledger-accent)}.dev-usage-toolbar,.dev-usage-summary>span,.dev-usage-provider-card,.dev-prompt-usage{border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.dev-usage-toolbar{border-top:3px solid var(--ledger-ink)}.dev-usage-toolbar h2,.dev-usage-provider-title h3,.dev-usage-cost strong,.dev-prompt-usage-header h3{color:var(--ledger-ink);font-family:var(--ledger-serif)}.dev-usage-toolbar p:not(.dev-usage-eyebrow),.dev-prompt-usage-header p:not(.dev-usage-eyebrow),.dev-usage-provider-title p,.dev-usage-cost span,.dev-usage-section-label,.dev-usage-metrics small,.dev-usage-axis,.dev-usage-breakdown-list>span,.dev-usage-breakdown-value small{color:var(--ledger-muted)}.dev-usage-eyebrow,.dev-usage-provider-link{color:var(--ledger-accent-dark)}.dev-usage-period-picker,.dev-usage-metrics>span,.dev-usage-provider-message,.dev-usage-empty,.dev-usage-setup-state,.dev-prompt-usage-range,.dev-prompt-usage-summary>span,.dev-prompt-usage-detail,.dev-prompt-usage-detail dl>div,.dev-prompt-usage-detail pre{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-muted)}.dev-usage-period-picker button{border-radius:1px;color:var(--ledger-muted)}.dev-usage-period-picker button:hover,.dev-usage-period-picker button.active{background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:inset 0 -2px 0 var(--ledger-accent)}.dev-usage-summary strong,.dev-usage-metrics strong,.dev-usage-section-label strong,.dev-usage-section-label small,.dev-usage-breakdown-value strong,.dev-prompt-usage-summary strong,.dev-prompt-identity strong,.dev-prompt-measurement strong,.dev-prompt-usage-detail dd,.dev-prompt-usage-detail pre{color:var(--ledger-ink)}.dev-usage-provider-card.vercel{--usage-accent: var(--ledger-ink);--usage-accent-soft: var(--ledger-paper-muted)}.dev-usage-cost,.dev-usage-breakdown-list,.dev-usage-breakdown-list>span,.dev-usage-provider-link,.dev-usage-bars,.dev-prompt-usage-list,.dev-prompt-usage-row+.dev-prompt-usage-row,.dev-prompt-usage-detail{border-color:var(--ledger-rule)}.dev-usage-loading-line,.dev-usage-loading-metrics span{background:linear-gradient(90deg,var(--ledger-paper-muted) 20%,var(--ledger-paper-raised) 50%,var(--ledger-paper-muted) 80%);background-size:220% 100%}:is(.dev-browser-panel,.dev-editor-panel,.dev-loading-panel,.dev-form-section){border-color:var(--ledger-rule);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}:is(.dev-browser-panel,.dev-editor-panel,.dev-loading-panel){border-top:3px solid var(--ledger-ink)}.dev-panel-heading{border-color:var(--ledger-rule)}.dev-panel-heading h2{color:var(--ledger-ink);font-family:var(--ledger-serif)}.dev-panel-heading p,.dev-browser-row small,.dev-ai-invite-row small,.dev-ai-user-row small{color:var(--ledger-muted)}.dev-browser-list-content{gap:0;border:1px solid var(--ledger-rule)}.dev-browser-row{border:0;border-bottom:1px solid var(--ledger-rule);border-radius:0;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}.dev-browser-row:hover,.dev-browser-row.active{border-color:var(--ledger-rule);background:var(--ledger-row-hover);box-shadow:inset 4px 0 0 var(--ledger-accent)}:is(.dev-import-preview,.dev-email-lookup,.dev-ai-invite-row,.dev-ai-user-row,.dev-diagnostics-list span){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}:is(.dev-diagnostics-list code,.dev-ai-invite-row code,.dev-ai-user-row code,.dev-email-lookup code){color:var(--ledger-accent-dark);font-family:var(--ledger-mono)}:is(.sheet-health-history-popout,.sheet-health-adjust-popout,.stat-breakdown-popover,.math-review-tooltip-content,.skill-info-tooltip-content,.proficiency-source-tooltip-content,.spell-access-source-tooltip-content,[data-slot=tooltip-content],[data-slot=dropdown-menu-content]){border:1px solid var(--ledger-rule-strong);border-radius:3px;background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:var(--ledger-shadow-lg)}:is(.sheet-current-health-editor,.sheet-temp-health-editor,.sheet-health-history-row,.sheet-health-modal-summary){border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}:is(.character-audit-alert,.character-audit-view-banner,.campaign-context-notice,.character-manager-notice){border:1px solid var(--ledger-rule);border-radius:2px;background:var(--ledger-warning-soft);color:var(--ledger-warning);box-shadow:none}.party-rail-panel{border-color:var(--ledger-rule);background:var(--ledger-surface-glass-muted)}.party-rail-menu-button,.party-rail-character{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper-raised);color:var(--ledger-ink-soft);box-shadow:none}.party-rail-menu-button:hover:not(:disabled),.party-rail-character:hover:not(:disabled){border-color:var(--ledger-accent);background:var(--ledger-row-hover)}.party-rail-character.selected,.party-rail-character.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.character-profile-summary{border-color:var(--ledger-rule);border-radius:2px;background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}.campaign-profile-switcher>span,.campaign-restrictions-button,.campaign-restrictions-button-copy strong{color:var(--ledger-ink)}.campaign-profile-switcher,.campaign-profile-switcher select{border-color:var(--ledger-rule)}.campaign-profile-trigger:focus-visible{outline:2px solid var(--ledger-focus);outline-offset:2px;box-shadow:none}.campaign-restrictions-button-copy small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .campaign-profile-actions .campaign-restrictions-button-copy small{color:var(--ledger-ink-soft)}.campaign-restrictions-button [data-slot=badge]{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}.campaign-mobile-sheet-header,.campaign-mobile-actions,.campaign-mobile-utility-navigation{border-color:var(--ledger-rule);background:var(--ledger-paper-raised)}:is(.toggle-row,.checkbox-field,.filter-choice,.item-attunement-toggle,.shop-attunement-toggle,.spell-flag-toggle,.learn-copy-toggle,.dm-rule-toggle,.dm-equipment-toggle,.dm-source-toggle,.sheet-health-control-label,.item-action-choice){font-size:.8rem;letter-spacing:normal;text-transform:none}:is(input,select,textarea,button){text-transform:none}:is(.spell-sheet-spell-summary,.campaign-note-tab,.campaign-note-tool,.dm-option-main,.party-character-row,.party-rail-character,.item-row,.shop-item-preview,.rule-option-menu-item):focus-visible{outline:2px solid var(--ledger-focus);outline-offset:-2px}@media(max-width:1180px){.app-shell{grid-template-columns:minmax(200px,240px) minmax(300px,1fr) minmax(280px,340px)}.quick-sheet-grid{grid-template-columns:minmax(210px,.8fr) minmax(360px,1.35fr)}.quick-sheet-column:last-child{grid-column:1 / -1;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.inventory-shell{display:flex;flex-direction:column;height:auto;min-height:100dvh;overflow:visible}.inventory-topbar{order:1}.inventory-control-panel{display:contents}.inventory-control-panel>.item-section-panel{order:2;width:auto;margin:12px 12px 0}.inventory-main{order:3}.inventory-control-panel>:not(.item-section-panel){order:4;margin-right:12px;margin-left:12px}.spell-sheet-layout{grid-template-columns:1fr}.spell-sheet-slots-panel{position:static;border-right:0;border-bottom:1px solid var(--ledger-rule-strong)}.spell-sheet-slot-list{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.spell-sheet-reference-toolbar{grid-template-columns:minmax(0,1fr) auto}.spell-sheet-search{grid-column:1 / -1}.catalog-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tools .toolbar-search{grid-column:1 / -1}.catalog-tools>:is(.filter-dropdown,.new-spell-dropdown),.catalog-tools>:is(.filter-dropdown,.new-spell-dropdown)>[data-slot=button]{width:100%}.spell-row{grid-template-columns:minmax(0,1fr)}.spell-actions{justify-content:flex-end;border-top:1px solid var(--ledger-rule)}.spell-facts{grid-template-columns:minmax(0,1fr)}.dev-editor-grid,.dev-spells-grid,.dm-ai-json-comparison{grid-template-columns:1fr}.dev-section-tabs,.dm-category-tabs{flex-wrap:nowrap;overflow-x:auto}}@media(max-width:760px){:root{--mobile-app-navigation-height: calc(74px + env(safe-area-inset-bottom)) }.topbar{min-height:62px;border-bottom-color:var(--ledger-rule-strong);background:var(--ledger-surface-glass-strong);padding-top:calc(9px + env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right));padding-left:max(12px,env(safe-area-inset-left));box-shadow:0 3px 12px #1d282612;-webkit-backdrop-filter:none;backdrop-filter:none}.topbar>.module-switcher-slot{border-top:1px solid var(--ledger-rule-strong);background:var(--ledger-surface-glass-strong);box-shadow:0 -5px 18px #1d282614}.topbar>.module-switcher-slot .primary-navigation{gap:0;border:0;background:transparent}.topbar>.module-switcher-slot .app-navigation-link{min-height:56px;border-radius:0;color:var(--ledger-muted);font-size:.65rem}.topbar>.module-switcher-slot .app-navigation-link.active,.topbar>.module-switcher-slot .app-navigation-link[aria-current=page]{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:inset 0 3px 0 var(--ledger-accent)}.app-shell,.inventory-shell,.character-manager-shell{display:block;height:auto;min-height:100dvh;overflow:visible}.inventory-shell{display:flex;flex-direction:column}.control-panel,.detail-panel,.character-control-panel,.inventory-control-panel{border-color:var(--ledger-rule)}.spell-browser,.character-main,.inventory-main{padding:12px}:is([data-slot=button],.command-button,.primary-button,.icon-button,.state-button,.campaign-note-tool,.dm-category-tabs button,.dm-option-enabled,.item-actions-trigger,.potion-owner-stack .icon-button,.item-section-switch button,.dev-section-tab,.dev-browser-row,.profile-settings-trigger,.profile-appearance-item){min-height:44px}:is(.icon-button,.campaign-note-tool,.dm-option-enabled,.item-actions-trigger,.potion-owner-stack .icon-button,.sheet-health-history-close){min-width:44px}.spell-sheet-tag-filter{min-height:44px}.campaign-notebook-content,.dm-main,.dev-console-header,.dev-editor-grid,.dev-section-tabs{width:min(100% - 24px,1180px);margin-inline:auto}.campaign-notebook-module-heading,.home-dashboard-heading,.dm-heading,.dev-console-header{border-right:0;border-left-width:4px;border-radius:0;padding:15px 14px}.campaign-note-document{padding:14px}.campaign-note-prosemirror{min-height:420px;padding:24px 18px 44px}.character-start-modal{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.dm-editor-sheet[data-slot=sheet-content]{width:100vw;border-radius:0}.sheet-health-adjust-popout{max-height:calc(100dvh - var(--mobile-app-navigation-height) - 24px);overflow-y:auto;overscroll-behavior:contain}.sheet-health-history-close{min-width:44px;min-height:44px}.character-section-switch{position:sticky;top:0;z-index:5;display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-template-columns:none;width:100%;background:var(--ledger-surface-glass-paper-strong)}.character-section-switch [data-slot=tabs-trigger]{min-height:46px;padding-inline:8px;font-size:.7rem}.quick-sheet-page,.spell-sheet-page{border-right:0;border-left:0;border-radius:0;box-shadow:none}.quick-sheet-hero,.spell-sheet-hero{grid-template-columns:auto minmax(0,1fr);min-height:0;gap:12px;padding:16px 14px 16px 20px}.quick-sheet-hero .sheet-portrait,.spell-sheet-portrait{width:58px;height:58px}.quick-sheet-hero-actions,.spell-sheet-hero-actions,.quick-sheet-badges{grid-column:1 / -1;justify-content:flex-start}.quick-sheet-stat-strip,.spell-sheet-casting-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.sheet-top-stat,.spell-sheet-casting-strip>span,.spell-sheet-casting-strip>span+span{min-height:70px;border:0;border-right:1px solid var(--ledger-rule);border-bottom:1px solid var(--ledger-rule)}.quick-sheet-grid,.quick-sheet-column,.quick-sheet-column:last-child{display:grid;grid-template-columns:1fr}.quick-sheet-panel{padding:14px}.spell-sheet-reference-toolbar{grid-template-columns:1fr}.spell-sheet-scope-switch,.spell-sheet-search{grid-column:1;width:100%}.spell-sheet-scope-switch>*{flex:1}.spell-sheet-spell-groups{padding:12px}.spell-sheet-spell-summary{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;min-height:66px;padding:10px}.spell-sheet-readiness{grid-column:2;justify-self:start}.spell-sheet-spell-summary>svg{grid-column:3;grid-row:1 / span 2}.spell-row{grid-template-columns:1fr}.spell-actions{border-top:1px solid var(--ledger-rule)}.home-dashboard-content,.module-home-content{width:min(100% - 24px,980px)}}@media(max-width:480px){.quick-sheet-identity h3,.spell-sheet-identity h3{font-size:1.48rem}.character-section-switch [data-slot=tabs-trigger]{flex-direction:column;gap:3px;min-height:52px;font-size:.64rem}.catalog-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-tools .toolbar-search{grid-column:1 / -1}.catalog-tools>:is(.filter-dropdown,.new-spell-dropdown),.catalog-tools>:is(.filter-dropdown,.new-spell-dropdown)>[data-slot=button]{width:100%}.topbar>.module-switcher-slot .app-navigation-link{padding-inline:2px}}:root[data-ledger-theme=dark] .party-items-shell .inventory-control-panel{border-color:var(--ledger-rule);background:linear-gradient(180deg,rgb(255 255 255 / 3%),transparent 260px),var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .party-items-shell :is(.inventory-control-panel .panel-section,.inventory-control-panel .empty-list,.browser-toolbar,.item-shop-heading,.item-shop-filters,.mundane-shop-scopes,.mobile-party-tools-toggle){border-color:var(--ledger-rule);background:var(--ledger-surface-glass-raised);color:var(--ledger-ink);box-shadow:none}:root[data-ledger-theme=dark] .party-items-shell .inventory-control-panel .item-section-panel{border-color:var(--ledger-rule-strong);background:var(--ledger-paper)}:root[data-ledger-theme=dark] .party-items-shell .item-section-panel .item-section-switch button{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .party-items-shell .item-section-panel .item-section-switch button svg,:root[data-ledger-theme=dark] .party-items-shell .mobile-party-tools-toggle small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .party-items-shell .item-section-panel .item-section-switch button:hover,:root[data-ledger-theme=dark] .party-items-shell .item-section-panel .item-section-switch button.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .party-items-shell .item-section-panel .item-section-switch button.active svg,:root[data-ledger-theme=dark] .party-items-shell .inventory-control-panel .section-title svg{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .party-items-shell :is(.inventory-control-panel .section-title,.item-shop-heading h1,.item-shop-count strong,.shop-item-title strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] .party-items-shell :is(.inventory-tools .search-field>span,.item-shop-filters .toolbar-search>span,.shop-sort-control select,.mundane-shop-filters select,.mundane-shop-quantity input){border-color:var(--ledger-rule);background:var(--ledger-field);color:var(--ledger-ink);box-shadow:inset 0 0 0 1px var(--ledger-rule)}:root[data-ledger-theme=dark] .party-items-shell :is(.inventory-tools .command-button,.item-shop-filters>.command-button,.shop-item-actions .command-button){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .party-items-shell :is(.inventory-tools .command-button,.item-shop-filters>.command-button,.shop-item-actions .command-button):hover{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .party-items-shell .item-shop-heading{--shop-accent: var(--ledger-accent-dark);--shop-accent-soft: var(--ledger-accent-soft)}:root[data-ledger-theme=dark] .party-items-shell .magic-item-shop .item-shop-heading{--shop-accent: var(--ledger-arcane);--shop-accent-soft: var(--ledger-arcane-soft)}:root[data-ledger-theme=dark] .party-items-shell :is(.mundane-scope-button,.shop-item-title small,.shop-item-description,.mundane-shop-card .shop-item-description,.mundane-shop-weight,.mundane-shop-quantity,.item-shop-attribution){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .party-items-shell :is(.mundane-scope-button:hover,.mundane-scope-button.active-filter){background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .party-items-shell .mundane-scope-button [data-slot=badge]{background:var(--ledger-paper-raised)}:root[data-ledger-theme=dark] .party-items-shell .item-shop-notice{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-card{border-color:var(--ledger-rule);background:var(--ledger-paper-raised);box-shadow:var(--ledger-shadow-sm)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-card:hover{border-color:color-mix(in srgb,var(--item-accent) 48%,var(--ledger-rule));box-shadow:var(--ledger-shadow-hover)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-icon{border-color:color-mix(in srgb,var(--item-accent) 24%,var(--ledger-rule));background:radial-gradient(circle at 30% 20%,rgb(255 255 255 / 8%),transparent 48%),color-mix(in srgb,var(--item-accent) 12%,var(--ledger-paper))}:root[data-ledger-theme=dark] .party-items-shell .shop-item-price{color:var(--ledger-brass)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-badges [data-slot=badge]{background:var(--ledger-paper-muted);color:var(--ledger-muted)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-badges [data-slot=badge]:first-child{background:color-mix(in srgb,var(--item-accent) 16%,var(--ledger-paper));color:color-mix(in srgb,var(--item-accent) 58%,var(--ledger-ink))}:root[data-ledger-theme=dark] .party-items-shell .shop-item-actions{border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .party-items-shell .shop-item-actions .primary-button{border-color:var(--ledger-accent-strong);background:var(--ledger-accent-strong);color:var(--ledger-on-accent)}:root[data-ledger-theme=dark] .party-items-shell :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet){border-color:var(--ledger-rule);background:var(--ledger-paper-raised)}:root[data-ledger-theme=dark] .party-items-shell .shop-detail-hero{background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .party-items-shell .shop-detail-icon{border-color:var(--ledger-rule);background:radial-gradient(circle at 30% 20%,rgb(255 255 255 / 8%),transparent 50%),var(--ledger-paper)}:root[data-ledger-theme=dark] :is(.campaign-ownership-panel,.item-description-expanded,.item-full-description-disclosure){border-color:var(--ledger-rule);background:var(--ledger-paper)}:root[data-ledger-theme=dark] .campaign-ownership-panel>summary:hover,:root[data-ledger-theme=dark] .item-row-expanded-content{border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] :is(.item-description-panel-heading,.item-description-section-heading){color:var(--ledger-ink)}:root[data-ledger-theme=dark] .item-description-play-section li{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .item-full-description-links a,:root[data-ledger-theme=dark] .potion-row-total{color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .potion-rarity-text{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark]{background:#11171c}:root[data-ledger-theme=dark] body{background-color:#11171c;background-image:linear-gradient(#080d1157,#080d118a),url(/app-background.webp)}:root[data-ledger-theme=dark] :is(.app-shell,.inventory-shell,.character-manager-shell,.module-home-shell,.auth-shell,.campaign-gate):before{background:radial-gradient(ellipse at 50% 46%,transparent 0 34%,rgb(4 8 11 / 30%) 100%),linear-gradient(180deg,#070b0e0f,#04080b38)}:root[data-ledger-theme=dark] .brand-mark,:root[data-ledger-theme=dark] .auth-mark{border-color:var(--ledger-rule-strong);background:#1b2228;color:var(--ledger-ink);box-shadow:inset 0 0 0 3px var(--ledger-accent-soft)}:root[data-ledger-theme=dark] :is(.home-primary-card,.home-notebook-shortcut,.module-choice-card){box-shadow:7px 7px #03070957}:root[data-ledger-theme=dark] .module-choice-card:hover{box-shadow:7px 7px #142e2c94}:root[data-ledger-theme=dark] :is(.auth-panel,.campaign-gate-panel){box-shadow:10px 10px #03070961}:root[data-ledger-theme=dark] :is(.quick-sheet-stat-strip,.quick-sheet-grid,.quick-sheet-panel,.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile,.sheet-save-row,.sheet-familiar-primary-stats>div,.sheet-familiar-abilities,.sheet-pack-row,.sheet-consumable-row,.sheet-capacity-row span,.quick-list span,.spell-facts div,.spell-metadata-group,.spell-slot-strip,.spell-slot-strip strong,.prep-meter,.print-fit,.version-toggle,.summary-view-toggle,.math-review-builder-panel,.math-review-target-row,.alignment-option-field,.wizard-advancement-levels,.potion-target-field select,.custom-potion-row,.secret-purse-balance,.weapon-detail-fields){border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink);box-shadow:none}:root[data-ledger-theme=dark] :is(.alignment-option-cell,.alignment-option-cell span,.secret-purse-balance>span,.weapon-base-field,.weapon-property-fields .toggle-row,.wizard-advancement-levels>div>span,.spell-access-meters>span,.spell-learning-guide span,.wizard-advancement-chronology,.wizard-advancement-milestones span,.spell-repertoire-guidance .spell-add-mode button){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink-soft);box-shadow:none}:root[data-ledger-theme=dark] :is(.alignment-option-cell:hover,.alignment-option-cell:focus-visible,.alignment-option-cell.selected,.spell-learning-guide .complete,.spell-repertoire-guidance .spell-add-mode button.active){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:none}:root[data-ledger-theme=dark] :is(.spell-access-meters>span.warning,.wizard-advancement-levels>div>span.limit-reached,.wizard-advancement-levels>div>span.warning,.spell-learning-guide .warning,.wizard-advancement-issues,.spell-repertoire-blocked-reason){border-color:color-mix(in srgb,var(--ledger-warning) 42%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] :is(.alignment-option-cell,.secret-purse-balance,.weapon-base-field,.weapon-property-fields,.spell-access-meters,.spell-learning-guide,.wizard-advancement-chronology,.wizard-advancement-issues,.wizard-advancement-milestones,.spell-repertoire-guidance) :is(strong,b,summary){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.alignment-option-cell,.secret-purse-balance,.weapon-base-field,.weapon-property-fields,.spell-access-meters,.spell-learning-guide,.wizard-advancement-chronology,.wizard-advancement-milestones,.spell-repertoire-guidance) :is(p,small,em){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .spell-metadata-group :is(span,p){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .spell-metadata-group p{color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.prep-meter,.print-fit){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.always-prepared-meter,.prep-meter.warning,.print-fit.warning){border-color:color-mix(in srgb,var(--ledger-warning) 38%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .spell-slot-strip>span,:root[data-ledger-theme=dark] .spell-slot-strip small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .spell-slot-strip strong{color:var(--ledger-ink)}:root[data-ledger-theme=dark] .summary-disclosure-button{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.summary-disclosure-button:hover,.summary-disclosure-button.open){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .quick-sheet-stat-strip,:root[data-ledger-theme=dark] .quick-sheet-grid{background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .quick-sheet-panel,:root[data-ledger-theme=dark] .quick-sheet-page .sheet-pack-row,:root[data-ledger-theme=dark] .quick-sheet-page .sheet-pack-row.expanded,:root[data-ledger-theme=dark] .sheet-pack-contents,:root[data-ledger-theme=dark] .quick-sheet-page .sheet-pack-contents{border-color:var(--ledger-rule);background:var(--ledger-paper-raised);box-shadow:none}:root[data-ledger-theme=dark] :is(.sheet-top-stat strong,.sheet-hit-point-readout.display strong,.sheet-hit-point-input,.quick-sheet-panel .section-title,.sheet-ability-row strong,.sheet-ability-row b,.sheet-skill-row>span:nth-child(3),.sheet-skill-row strong,.sheet-passive-list strong,.sheet-action-row strong,.sheet-action-row b,.sheet-feature-list strong,.sheet-feature-details p,.sheet-inventory-list strong,.sheet-equipment-list strong,.sheet-equipment-list b,.sheet-detail-list strong,.sheet-pack-trigger,.sheet-pack-weight,.sheet-consumable-row strong,.sheet-language-list>span,.sheet-capacity-row strong,.quick-list strong,.sheet-familiar-primary-stats dd,.sheet-familiar-abilities dd,.sheet-familiar-references b,.sheet-health-history-row b,.sheet-health-history-row>strong,.math-review-target-row strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.sheet-top-stat small,.sheet-hit-point-readout.display span,.sheet-hit-dice-label,.sheet-ability-row small,.sheet-skill-heading,.sheet-passive-list small,.sheet-action-row small,.sheet-action-row em,.sheet-feature-list em,.sheet-feature-list p,.sheet-notes,.sheet-inventory-list small,.sheet-equipment-list small,.sheet-detail-list small,.sheet-pack-copy small,.sheet-pack-chevron,.sheet-pack-contents li,.sheet-pack-contents li small,.sheet-consumable-row small,.sheet-capacity-row small,.quick-list small,.sheet-familiar-primary-stats dt,.sheet-familiar-abilities dt,.sheet-familiar-speed,.sheet-familiar-references span,.sheet-familiar-rule-note,.sheet-health-history-row small,.sheet-health-history-row em,.sheet-health-history-row time,.sheet-current-health-editor>span:first-child,.sheet-temp-health-editor>span:first-child,.sheet-current-health-input-row em,.sheet-health-control-label,.sheet-health-history-title,.math-review-target-row small,.math-review-target-row em){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .sheet-hit-point-input,:root[data-ledger-theme=dark] .sheet-familiar-select-label [data-slot=select]{border-color:var(--ledger-control-border);background:var(--ledger-field);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .sheet-temp-hit-point-chip{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .sheet-health-history-row.set>strong{background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .sheet-health-history-row.temporary-hit-points>strong{background:var(--ledger-brass-soft);color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] :is(.sheet-ability-mark,.sheet-action-icon,.quick-sheet-page .character-stat-icon){border-color:var(--ledger-rule);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .sheet-action-row.spell .sheet-action-icon{background:#353044;color:#c9b8f0}:root[data-ledger-theme=dark] .sheet-prof-dot{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised)}:root[data-ledger-theme=dark] .sheet-prof-dot.filled{border-color:var(--ledger-accent-dark);background:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .sheet-prof-dot.expert{border-color:var(--ledger-brass-strong);background:var(--ledger-brass)}:root[data-ledger-theme=dark] .sheet-inventory-panel.danger-panel{border-color:color-mix(in srgb,var(--ledger-danger) 38%,var(--ledger-rule));background:var(--ledger-danger-soft)}:root[data-ledger-theme=dark] :is(.source-pill,.edited-pill,.always-prepared-pill,.spell-tag,.tag-toggle,.version-toggle button,.summary-view-toggle button){border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.tag-toggle:hover,.tag-toggle.active,.version-toggle button.active,.summary-view-toggle button.active){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.print-summary,.print-summary.fallback,.always-prepared-meter){border-color:var(--ledger-rule);border-left-color:var(--ledger-accent);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.alignment-option-field,.advancement-card,.wizard-advancement-levels,.spell-advancement-help,.math-review-target-row,.item-row,.potion-manager-panel,.secret-purse-panel,.weapon-detail-fields) :is(strong,b){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.alignment-option-field,.advancement-card,.wizard-advancement-levels,.spell-advancement-help,.math-review-target-row,.item-row,.potion-manager-panel,.secret-purse-panel,.weapon-detail-fields) :is(p,small,em){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.home-character-summary strong,.home-notebook-copy strong,.sheet-save-row strong,.character-stat-tile strong,.ability-score-tile strong,.character-calling-copy>strong,.character-profile-copy strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.home-character-summary small,.home-character-summary em,.home-notebook-copy small,.home-notebook-copy em,.sheet-save-row small,.character-stat-tile small,.ability-score-tile small,.character-calling-description,.rule-option-trigger-value.placeholder,.rule-option-selected-detail p,.builder-preview-proficiency-heading small,.character-profile-copy span){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.rule-option-picker-label,.party-character-row .character-status-badge){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.rule-option-selected-detail>span,.character-profile-copy>small){color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .rule-option-selected-detail,:root[data-ledger-theme=dark] .party-character-row .character-status-badge{border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .currency-menu-trigger strong{color:var(--ledger-brass)}:root[data-ledger-theme=dark] .potion-total-count{color:var(--ledger-arcane)}:root[data-ledger-theme=dark] :is(.character-stat-tile em,.ability-score-tile em){color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .item-metadata-pills :is(span,a){border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .item-metadata-pills a{color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .item-metadata-pills .attunement-warning-pill{border-color:color-mix(in srgb,var(--ledger-warning) 42%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .item-metadata-pills .attunement-warning-pill.danger{border-color:color-mix(in srgb,var(--ledger-danger) 42%,var(--ledger-rule));background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] :is(.dm-source-group.crossovers,.dm-source-group.playtest) .dm-source-group-header strong{color:var(--ledger-danger)}:root[data-ledger-theme=dark] .required-label>strong{border-color:color-mix(in srgb,var(--ledger-warning) 42%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .campaign-mobile-utility-navigation .app-navigation-link{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .campaign-mobile-utility-navigation .app-navigation-link:hover,:root[data-ledger-theme=dark] .campaign-mobile-utility-navigation .app-navigation-link.active,:root[data-ledger-theme=dark] .campaign-mobile-utility-navigation .app-navigation-link[aria-current=page]{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.brand-mark,.auth-mark{border:1px solid var(--ledger-brass);border-radius:9px;background:radial-gradient(circle at 28% 18%,rgb(255 255 255 / 22%),transparent 34%),linear-gradient(145deg,var(--ledger-accent),var(--ledger-arcane));color:var(--ledger-on-hero);box-shadow:inset 0 0 0 3px #ffffff24,0 7px 18px #1d28262e,var(--ledger-glow)}:root[data-ledger-theme=dark] :is(.brand-mark,.auth-mark){border-color:var(--ledger-brass);background:radial-gradient(circle at 28% 18%,rgb(255 255 255 / 13%),transparent 34%),linear-gradient(145deg,var(--ledger-accent-strong),var(--ledger-arcane-soft));color:var(--ledger-on-hero);box-shadow:inset 0 0 0 3px #ffffff12,0 8px 20px #03060861,var(--ledger-glow)}:is(input,select,textarea,[data-slot=input],[data-slot=select],[data-slot=textarea]),:is([data-slot=button],.icon-button,.state-button,.command-button,.primary-button){border-radius:var(--ledger-radius-control)}.primary-button{background:linear-gradient(180deg,var(--ledger-accent),var(--ledger-accent-strong));box-shadow:inset 0 1px #ffffff2e,0 6px 14px #1d282621}:is(.profile-settings-submenu,.shadcn-floating-content,.campaign-profile-menu,.campaign-popover,.profile-popover,.filter-menu,.new-spell-menu,.pdf-settings-card,.currency-popover,.safe-navigation-dialog,.campaign-action-modal,.item-entry-modal,.assign-item-modal,.currency-modal,.summary-editor,.spell-editor-sheet,.item-entry-sheet,.item-detail-sheet,.shop-detail-sheet,.shop-edit-sheet,.filter-sheet,.dm-editor-sheet,.campaign-mobile-sheet,[data-slot=sheet-content]){border-radius:var(--ledger-radius-panel);box-shadow:inset 0 2px color-mix(in srgb,var(--ledger-brass) 30%,transparent),var(--ledger-shadow-lg)}@media(min-width:761px){.app-navigation-link,.module-switcher button,.topbar .item-section-switch button{border-radius:7px 7px 3px 3px}.app-navigation-link:hover,.module-switcher button:hover,.topbar .item-section-switch button:hover{background:color-mix(in srgb,var(--ledger-accent-soft) 62%,var(--ledger-paper-muted))}.app-navigation-link.active,.app-navigation-link[aria-current=page],.module-switcher button.active,.module-switcher button[data-state=active],.topbar .item-section-switch button.active{background:var(--ledger-accent-soft);box-shadow:inset 0 -3px 0 var(--ledger-accent),inset 0 1px #ffffff3d}}.quick-sheet-page,.spell-sheet-page{border-color:color-mix(in srgb,var(--ledger-brass) 42%,var(--ledger-rule-strong));border-radius:13px;box-shadow:0 20px 54px #1d28262b,inset 0 1px #ffffff70}.quick-sheet-hero,.spell-sheet-hero{border-bottom:1px solid color-mix(in srgb,var(--ledger-brass) 58%,transparent);background:radial-gradient(circle at 86% 18%,color-mix(in srgb,var(--ledger-accent) 34%,transparent),transparent 31%),linear-gradient(135deg,var(--ledger-hero-start),var(--ledger-hero-end));color:var(--ledger-on-hero)}.quick-sheet-hero:before,.spell-sheet-hero:before{background:linear-gradient(180deg,var(--ledger-brass),var(--ledger-on-hero-accent),var(--ledger-accent))}.quick-sheet-identity h3,.spell-sheet-identity h3{color:var(--ledger-on-hero);text-shadow:0 2px 16px rgb(0 0 0 / 28%)}.quick-sheet-identity p,.spell-sheet-identity p{color:var(--ledger-on-hero-muted)}.spell-sheet-kicker{color:var(--ledger-on-hero-accent)}.quick-sheet-hero .sheet-portrait,.spell-sheet-portrait{border:2px solid var(--ledger-brass);border-radius:50%;background:color-mix(in srgb,var(--ledger-hero-start) 78%,var(--ledger-accent));color:var(--ledger-on-hero);box-shadow:0 0 0 4px color-mix(in srgb,var(--ledger-brass) 18%,transparent),0 0 28px color-mix(in srgb,var(--ledger-accent) 32%,transparent),0 12px 28px #00000047}.quick-sheet-badges [data-slot=badge],.quick-sheet-badges .character-status-badge,.quick-sheet-hero .source-pill,.spell-sheet-hero .source-pill,.quick-sheet-hero .primary-character-toggle,.quick-sheet-hero .quick-sheet-print-button,.spell-sheet-hero-actions [data-slot=button]{border-color:color-mix(in srgb,var(--ledger-on-hero-accent) 48%,transparent);background:#ffffff14;color:var(--ledger-on-hero);box-shadow:inset 0 1px #ffffff17}.quick-sheet-hero [data-slot=button].command-button,.spell-sheet-hero-actions [data-slot=button]{border-color:color-mix(in srgb,var(--ledger-on-hero-accent) 48%,transparent)!important;background:#ffffff14!important;color:var(--ledger-on-hero)!important}.quick-sheet-hero .primary-character-toggle[aria-checked=true]{border-color:var(--ledger-on-hero-accent);background:color-mix(in srgb,var(--ledger-accent) 56%,transparent);color:var(--ledger-on-hero)}:is(.quick-sheet-hero .quick-sheet-print-button,.spell-sheet-hero-actions [data-slot=button]):hover:not(:disabled){border-color:var(--ledger-on-hero-accent);background:color-mix(in srgb,var(--ledger-accent) 42%,transparent);color:var(--ledger-on-hero)}:is(.quick-sheet-hero [data-slot=button].command-button,.spell-sheet-hero-actions [data-slot=button]):hover:not(:disabled){border-color:var(--ledger-on-hero-accent)!important;background:color-mix(in srgb,var(--ledger-accent) 42%,transparent)!important;color:var(--ledger-on-hero)!important}.quick-sheet-hero :is(button,[data-slot=button]):not(.primary-character-toggle):focus-visible,.spell-sheet-hero :is(button,[data-slot=button]):focus-visible{outline-color:var(--ledger-on-hero-accent)}.quick-sheet-hero{border-bottom-color:color-mix(in srgb,var(--ledger-brass) 38%,var(--ledger-rule));background:linear-gradient(110deg,color-mix(in srgb,var(--ledger-brass-soft) 18%,var(--ledger-paper-raised)),var(--ledger-paper-raised) 38%,var(--ledger-paper));color:var(--ledger-ink)}.quick-sheet-hero:before{background:linear-gradient(180deg,var(--ledger-brass),color-mix(in srgb,var(--ledger-brass) 58%,var(--ledger-rule-strong)))}.quick-sheet-identity h3{color:var(--ledger-ink);text-shadow:none}.quick-sheet-identity p{color:var(--ledger-muted)}.quick-sheet-hero .sheet-portrait{border-color:color-mix(in srgb,var(--ledger-brass) 68%,var(--ledger-rule-strong));background:linear-gradient(145deg,var(--ledger-paper-muted),var(--ledger-paper-raised));color:var(--ledger-accent-dark);box-shadow:0 0 0 4px color-mix(in srgb,var(--ledger-brass) 10%,transparent),0 8px 18px color-mix(in srgb,var(--ledger-ink) 12%,transparent)}.quick-sheet-badges [data-slot=badge],.quick-sheet-badges .character-status-badge,.quick-sheet-hero .source-pill,.quick-sheet-hero .primary-character-toggle,.quick-sheet-hero .quick-sheet-print-button{border-color:var(--ledger-rule-strong);background:color-mix(in srgb,var(--ledger-paper-raised) 78%,transparent);color:var(--ledger-ink-soft);box-shadow:inset 0 1px #ffffff2e}.quick-sheet-hero [data-slot=button].command-button{border-color:var(--ledger-rule-strong)!important;background:color-mix(in srgb,var(--ledger-paper-raised) 78%,transparent)!important;color:var(--ledger-ink-soft)!important}.quick-sheet-hero .primary-character-toggle[aria-checked=true]{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.quick-sheet-hero .primary-character-toggle-track{background:var(--ledger-rule);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ledger-rule-strong) 42%,transparent)}.quick-sheet-hero .primary-character-toggle[aria-checked=true] .primary-character-toggle-track{background:var(--ledger-accent)}.quick-sheet-hero .primary-character-toggle-track>span{background:var(--ledger-paper-raised)}.quick-sheet-hero .quick-sheet-print-button:hover:not(:disabled){border-color:var(--ledger-accent);background:var(--ledger-row-hover);color:var(--ledger-accent-dark)}.quick-sheet-hero [data-slot=button].command-button:hover:not(:disabled){border-color:var(--ledger-accent)!important;background:var(--ledger-row-hover)!important;color:var(--ledger-accent-dark)!important}.quick-sheet-hero :is(button,[data-slot=button]):not(.primary-character-toggle):focus-visible{outline-color:var(--ledger-focus)}.level-chip,.spell-sheet-spell-level-mark,.builder-level-medallion{border-color:var(--ledger-brass);background:var(--ledger-brass-soft);color:var(--ledger-brass-strong);box-shadow:inset 0 1px #ffffff42,0 2px 7px #1d28261a}.spell-sheet-slot-pool{border-left-color:var(--ledger-brass);border-radius:8px}.spell-sheet-slot-dots span{border-color:var(--ledger-brass);background:var(--ledger-brass-soft);box-shadow:inset 0 0 0 2px var(--ledger-paper-raised)}:is(.sheet-ability-mark,.character-stat-icon,.sheet-action-icon,.sheet-pack-icon,.dm-rule-icon,.campaign-restrictions-summary-icon,.campaign-restrictions-button-icon){border-color:color-mix(in srgb,var(--ledger-brass) 36%,var(--ledger-rule));border-radius:8px;background:linear-gradient(145deg,var(--ledger-accent-soft),var(--ledger-arcane-soft));box-shadow:inset 0 1px #ffffff47}:is(.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile,.sheet-save-row,.character-stat-tile,.ability-score-tile){border-radius:8px;background:linear-gradient(145deg,var(--ledger-paper-raised),var(--ledger-paper))}:is(.home-primary-card,.home-notebook-shortcut,.module-choice-card){position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--ledger-brass) 34%,var(--ledger-rule-strong));border-radius:13px;background:radial-gradient(circle at 92% 12%,color-mix(in srgb,var(--ledger-arcane) 10%,transparent),transparent 35%),linear-gradient(145deg,var(--ledger-paper-raised),var(--ledger-paper));box-shadow:0 13px 34px #1d282624,inset 0 1px #ffffff70}.module-choice-card:after{display:block;border-color:color-mix(in srgb,var(--ledger-brass) 32%,transparent);box-shadow:0 0 0 18px color-mix(in srgb,var(--ledger-brass) 9%,transparent),0 0 0 42px color-mix(in srgb,var(--ledger-arcane) 7%,transparent);opacity:.72}.home-character-portrait,.module-choice-icon,.home-notebook-icon{border:1px solid color-mix(in srgb,var(--ledger-brass) 32%,transparent);border-radius:10px;box-shadow:inset 0 1px #ffffff4d,0 6px 16px #1d28261a}.module-choice-icon.spell{background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}.module-choice-icon.item,.home-notebook-icon{background:var(--ledger-brass-soft);color:var(--ledger-brass-strong)}.module-choice-icon.character{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}.module-choice-icon.dm{background:var(--ledger-danger-soft);color:var(--ledger-danger)}:is(.campaign-notebook-module-heading,.home-dashboard-heading,.dm-heading,.dev-console-header,.item-shop-heading>div:first-child){border-left-color:var(--ledger-brass);border-radius:var(--ledger-radius-panel);background:radial-gradient(circle at 94% 8%,color-mix(in srgb,var(--ledger-arcane) 9%,transparent),transparent 34%),var(--ledger-surface-glass);box-shadow:var(--ledger-shadow-sm)}.campaign-notebook-workspace{border-radius:13px}:is(.builder-identity-header,.builder-quest-rail,.builder-chapter-header,.builder-hero-card,.builder-guidance-card,.builder-journey-actions,.guided-builder-panels .builder-panel){border-radius:var(--ledger-radius-panel);box-shadow:var(--ledger-shadow-sm)}.builder-chapter-header{border-top-color:var(--ledger-brass);background:radial-gradient(circle at 90% 12%,color-mix(in srgb,var(--ledger-arcane) 10%,transparent),transparent 34%),linear-gradient(145deg,var(--ledger-paper-raised),var(--ledger-paper))}.builder-chapter-header:after{display:block;border-color:color-mix(in srgb,var(--ledger-brass) 28%,transparent);box-shadow:0 0 0 26px color-mix(in srgb,var(--ledger-brass) 7%,transparent),0 0 0 58px color-mix(in srgb,var(--ledger-arcane) 5%,transparent);opacity:.72;pointer-events:none}.builder-hero-aura{display:block;border-color:color-mix(in srgb,var(--ledger-accent) 45%,transparent);box-shadow:0 0 0 18px color-mix(in srgb,var(--ledger-brass) 8%,transparent),var(--ledger-glow);opacity:.78}.builder-quest-crest,.builder-chapter-sigil,.builder-guidance-icon,.builder-quest-node{border-color:color-mix(in srgb,var(--ledger-brass) 40%,var(--ledger-accent));border-radius:50%;background:linear-gradient(145deg,var(--ledger-accent-soft),var(--ledger-arcane-soft));box-shadow:inset 0 1px #ffffff47}.builder-quest-step.active .builder-quest-node,.builder-quest-step.complete .builder-quest-node,.builder-level-medallion{border-radius:50%}.builder-quest-progress-track>span,.builder-mobile-progress>span{background:linear-gradient(90deg,var(--ledger-accent),var(--ledger-brass))}:is(.party-character-row,.character-card,.character-row,.item-row){border-radius:8px;background:linear-gradient(145deg,var(--ledger-surface-glass-raised),var(--ledger-surface-glass-paper));box-shadow:none}.character-row.active-party-row{border-color:var(--ledger-accent);border-left-color:var(--ledger-accent);background:var(--ledger-accent-soft)}.inventory-owner-list .owner-row .character-status-pill{border-color:var(--ledger-rule);background:color-mix(in srgb,var(--ledger-paper-raised) 76%,transparent);color:var(--ledger-ink-soft)}.inventory-owner-list .owner-row .owner-count-stat{color:var(--ledger-muted)}.inventory-owner-list .owner-row .owner-count-stat strong{color:var(--ledger-ink)}.inventory-owner-list .owner-row .owner-count-stat svg{color:var(--ledger-accent-dark)}.inventory-owner-list .owner-row .owner-count-stat.full{color:var(--ledger-warning)}.inventory-owner-list .owner-row .owner-count-stat.over{color:var(--ledger-danger)}.inventory-owner-list .owner-row .owner-count-stat.full svg,.inventory-owner-list .owner-row .owner-count-stat.full strong,.inventory-owner-list .owner-row .owner-count-stat.over svg,.inventory-owner-list .owner-row .owner-count-stat.over strong{color:currentColor}.inventory-owner-list .owner-row .party-character-handoff{min-height:32px;font-size:.68rem}:is(.dm-collaboration-panel,.dm-rule-panel,.dm-rules-studio,.dm-source-panel,.dm-equipment-mechanics,.dm-equipment-rule-card,.dm-equipment-section,.dm-ai-rule-assistant,.dm-ai-proposal,.dm-json-mechanics-editor,.dm-display-description-editor){border-radius:var(--ledger-radius-panel)}:is(.dm-collaboration-panel,.dm-rules-studio,.dm-source-panel){border-top-color:var(--ledger-brass);box-shadow:var(--ledger-shadow-sm)}:root[data-ledger-theme=dark] :is(.home-primary-card,.home-notebook-shortcut,.module-choice-card){box-shadow:0 15px 38px #03060861,inset 0 1px #ffffff0f}:root[data-ledger-theme=dark] :is(.quick-sheet-page .character-stat-tile,.quick-sheet-page .ability-score-tile,.sheet-save-row,.character-stat-tile,.ability-score-tile){background:linear-gradient(145deg,var(--ledger-paper-raised),var(--ledger-paper))}:root[data-ledger-theme=dark] :is(.sheet-ability-mark,.character-stat-icon,.sheet-action-icon,.sheet-pack-icon,.dm-rule-icon,.campaign-restrictions-summary-icon,.campaign-restrictions-button-icon){border-color:color-mix(in srgb,var(--ledger-brass) 36%,var(--ledger-rule));background:linear-gradient(145deg,var(--ledger-accent-soft),var(--ledger-arcane-soft));color:var(--ledger-accent-dark);box-shadow:inset 0 1px #ffffff12}:root[data-ledger-theme=dark] .character-print-options-sheet{background:var(--ledger-paper);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .character-print-options-header{border-color:var(--ledger-rule);background:radial-gradient(circle at 12% 0%,rgb(155 207 197 / 10%),transparent 38%),linear-gradient(135deg,var(--ledger-accent-soft),var(--ledger-arcane-soft))}:root[data-ledger-theme=dark] .character-print-options-header [data-slot=sheet-title],:root[data-ledger-theme=dark] .character-print-preset-fieldset legend,:root[data-ledger-theme=dark] .character-print-preset strong,:root[data-ledger-theme=dark] .character-print-toggles .toggle-row strong,:root[data-ledger-theme=dark] .character-print-option-grid label{color:var(--ledger-ink)}:root[data-ledger-theme=dark] .character-print-options-header [data-slot=sheet-description]{color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .character-print-preset small,:root[data-ledger-theme=dark] .character-print-toggles .toggle-row small,:root[data-ledger-theme=dark] .character-print-summary small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.character-print-options-kicker,.character-print-preset>svg){color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.character-print-options-body,.character-print-preset,.character-print-toggles .toggle-row){border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .character-print-preset:hover{border-color:var(--ledger-accent);background:var(--ledger-row-hover)}:root[data-ledger-theme=dark] :is(.character-print-preset.active,.character-print-toggles .toggle-row:has(input:checked)){border-color:var(--ledger-accent);background:var(--ledger-accent-soft)}:root[data-ledger-theme=dark] .character-print-toggles .toggle-row.disabled{opacity:1}:root[data-ledger-theme=dark] .character-print-summary{border-color:var(--ledger-rule);background:var(--ledger-brass-soft)}:root[data-ledger-theme=dark] .character-print-summary>span+span{border-color:var(--ledger-rule)}:root[data-ledger-theme=dark] .character-print-summary strong{color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] .character-print-options-footer{border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .character-print-notice{background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .character-print-notice.loading{background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .profile-role-row{border:1px solid var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .profile-role-row span:first-child{color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.role-pill,.status-pill){border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.role-pill.admin,.role-pill.dungeon-master,.status-pill.active,.status-pill.learned){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.status-pill.lost,.status-pill.consumed){border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] .status-pill.sold{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .status-pill.copied{border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .role-pill.founder{border-color:var(--ledger-brass);background:linear-gradient(120deg,var(--ledger-brass-soft),var(--ledger-arcane-soft)) padding-box,linear-gradient(120deg,var(--ledger-brass),var(--ledger-arcane)) border-box;color:var(--ledger-ink);box-shadow:inset 0 1px #ffffff14}:root[data-ledger-theme=dark] :is(.ability-method-switch,.ability-method-status,.point-buy-row,.random-roll-card,.starting-equipment-contents,.starting-equipment-contents li,.starting-equipment-content-toggle,.skill-choice-row,.manual-proficiency-overrides,.class-expertise-empty,.spell-summary-brief,.spell-repertoire-guidance,.spell-access-meters>span,.wizard-advancement-levels,.wizard-advancement-levels>div>span,.spell-repertoire-guidance .spell-add-mode button,.spell-builder-deferred-note,.spell-access-pill,.spell-learning-guide span,.wizard-advancement-chronology,.wizard-advancement-milestones span,.arcane-trickster-choice-section,.selected-spell-row,.manual-mechanic-row,.spellcasting-ability-tag,.feat-rule-note,.selected-feat-pill,.loadout-item,.feat-slot,.attunement-slot,.story-file-card){border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink-soft);box-shadow:none}:root[data-ledger-theme=dark] :is(.ability-method-button.active,.spell-repertoire-guidance .spell-add-mode button.active,.spell-learning-guide .complete,.selected-feat-pill,.loadout-item.preview){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .ability-method-button{color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.ability-method-status.warning,.spell-access-meters>span.warning,.wizard-advancement-levels>div>span.limit-reached,.wizard-advancement-levels>div>span.warning,.spell-learning-guide .warning,.spell-repertoire-blocked-reason,.feat-rule-note,.advancement-legacy-note,.advancement-unassigned-warning){border-color:color-mix(in srgb,var(--ledger-warning) 38%,var(--ledger-rule));background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] :is(.builder-profile-picture-copy strong,.ability-method-status strong,.point-buy-row>span strong,.point-buy-stepper>strong,.random-roll-heading strong,.loadout-item strong,.selected-spell-row strong,.advancement-card-header strong,.story-file-copy strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.builder-profile-picture-copy span,.ability-method-status span,.point-buy-row>span small,.random-roll-heading small,.loadout-item span,.selected-spell-row small,.advancement-card-header small,.advancement-ability-fields>small,.story-files-intro,.story-file-copy small){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.character-build-grid>[data-slot=label],.class-track-fields>[data-slot=label],.builder-profile-upload-field,.story-fields-grid>label,.story-file-upload){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.character-build-grid input:disabled,.character-build-grid select:disabled){color:var(--ledger-muted);-webkit-text-fill-color:var(--ledger-muted)}:root[data-ledger-theme=dark] .character-build-grid input[type=file]::file-selector-button{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .story-file-icon{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-muted);color:var(--ledger-muted)}:root[data-ledger-theme=dark] .story-file-icon.attached{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .builder-chapter-header p{color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.selected-spell-row .starting-equipment-contents-header strong,.skill-choice-row strong,.manual-proficiency-overrides>summary strong,.builder-consumable-row strong,.arcane-trickster-choice-heading strong,.feat-choice-heading strong,.class-expertise-prompt-title){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.selected-spell-row .starting-equipment-contents-header small,.starting-equipment-content-copy small,.selected-spell-row .starting-equipment-content-structural,.starting-equipment-removed-summary small,.skill-choice-row small,.manual-proficiency-overrides>summary small,.builder-consumable-row small,.arcane-trickster-choice-heading small,.feat-slot-detail small,.attunement-slot-detail small,.manual-skill-override-toolbar p,.manual-language-content>p,.rule-choice-multi-select-status,.arcane-trickster-choice-help){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.manual-proficiency-overrides>summary,.feat-choice-field,.feat-slot-detail p,.attunement-slot-detail p,.feat-full-details p,.feat-full-details,.feat-full-details summary,.starting-equipment-removed-summary button){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .manual-language-content>.manual-language-warning{border:1px solid var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .proficiency-source-overridden{border:1px solid var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .filter-toggle-grid .toggle-row{border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.filter-choice:has(input:checked),.filter-toggle-grid .toggle-row:has(input:checked)){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .owner-more-menu[open]>summary{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .item-row-toggle:is(:hover,:focus-visible){background:var(--ledger-row-hover)}:root[data-ledger-theme=dark] .bulk-percent-total{border:1px solid var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .selected-feat-remove{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .spell-row.banned .level-chip{border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] .skill-choice-row .toggle-row.overridden{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .advancement-legacy-choice{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .advancement-type-switch button.active{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .builder-subsection-title,:root[data-ledger-theme=dark] .builder-subsection-title strong{color:var(--ledger-ink)}:root[data-ledger-theme=dark] .builder-subsection-title svg{color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] .builder-subsection-title .language-count-badge,:root[data-ledger-theme=dark] .language-rule-guidance small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .language-rule-guidance{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .language-rule-guidance strong{color:var(--ledger-ink)}.language-rule-guidance small,.spell-learning-guide em{color:var(--ledger-muted)}:is(.party-rail-character.read-only,.party-character-row.read-only,button.party-character-row:disabled){border-style:dashed;background:var(--ledger-paper-muted);color:var(--ledger-ink-soft);opacity:1}:is(.app-navigation-link[aria-disabled=true],.primary-character-toggle:disabled){border-color:var(--ledger-rule-strong);border-style:dashed;background:var(--ledger-paper-muted);color:var(--ledger-muted);cursor:not-allowed;opacity:1}:root[data-ledger-theme=dark] .character-delete-panel{border-color:var(--ledger-warning);background:var(--ledger-warning-soft)}:root[data-ledger-theme=dark] .character-delete-panel>summary{color:var(--ledger-warning)}:root[data-ledger-theme=dark] .character-delete-content{border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .character-delete-copy .section-title{color:var(--ledger-danger)}:root[data-ledger-theme=dark] .character-delete-copy p{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .starting-equipment-carry-toggle{border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .starting-equipment-carry-toggle:disabled{border-style:dashed;background:var(--ledger-paper-muted);color:var(--ledger-muted);opacity:1}:root[data-ledger-theme=dark] .math-review-marker{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-muted)}:root[data-ledger-theme=dark] .math-review-marker.warning{border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] .math-review-marker.info{border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .math-review-marker svg{color:currentColor}:root[data-ledger-theme=dark] .math-review-target-action{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .encumbered-speed-badge[data-slot=badge]{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .auth-tabs button:hover:not(.active){background:var(--ledger-row-hover);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .character-sheet-link{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .attunement-capacity-notice{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .attunement-capacity-notice.danger{border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] .rule-option-detail-back[data-slot=button]{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .builder-consumable-row{border-color:var(--ledger-rule);background:var(--ledger-paper)}:root[data-ledger-theme=dark] .selected-spell-row .starting-equipment-contents-header small{background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .starting-equipment-content-toggle[aria-checked=true]{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .starting-equipment-content-remove{border-color:color-mix(in srgb,var(--ledger-danger) 34%,var(--ledger-rule));background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] :is(.feat-slot.filled,.attunement-slot.filled){border-style:solid;border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft)}:root[data-ledger-theme=dark] .selected-spell-row.locked{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);box-shadow:inset 3px 0 0 var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .feat-rule-note.enabled{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .rule-option-sheet[data-side=center]{border-color:color-mix(in srgb,var(--ledger-brass) 42%,var(--ledger-rule));background:var(--ledger-paper);color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.rule-option-sheet-controls,.rule-option-detail-footer,.alignment-law-axis span,.alignment-good-axis span){border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] :is(.rule-option-sheet-controls input,.rule-option-menu-item,.rule-option-detail){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink);box-shadow:none}:root[data-ledger-theme=dark] :is(.rule-option-menu-item:hover:not(.disabled),.rule-option-menu-item:focus-visible:not(.disabled),.rule-option-menu-item.selected,.rule-option-menu-item.inspected){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark);box-shadow:inset 3px 0 0 var(--ledger-brass)}:root[data-ledger-theme=dark] :is(.rule-option-menu-copy strong,.rule-option-detail-heading h3,.rule-option-detail-empty strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.rule-option-sheet-controls label,.rule-option-sheet-toolbar,.rule-option-menu-copy small,.rule-option-menu-summary,.rule-option-empty,.rule-option-detail-heading small,.rule-option-detail-footer>span,.rule-option-detail-empty,.feat-picker-detail-text p){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.rule-option-detail-heading>span,.alignment-law-axis,.alignment-good-axis){color:var(--ledger-brass)}:root[data-ledger-theme=dark] .rule-option-menu-item.disabled{opacity:1}:root[data-ledger-theme=dark] .rule-option-detail-selected{color:var(--ledger-accent-dark)!important}:root[data-ledger-theme=dark] :is(.alignment-law-axis span:nth-child(2),.alignment-good-axis span:nth-child(2)){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .rule-option-disabled-reason{color:var(--ledger-danger)}:root[data-ledger-theme=dark] .feat-picker-detail-facts span{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.character-owner-line,.party-character-section-heading){color:var(--ledger-muted)!important}:root[data-ledger-theme=dark] .quick-sheet-panel .sheet-unarmed-toggle,:root[data-ledger-theme=dark] :is(.sheet-quick-note-actions small,.sheet-build-notes-summary small,.sheet-ownership-note){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .sheet-action-row em.sheet-damage-stack small{color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .sheet-file-chip{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .sheet-file-chip.attached{border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] :is(.party-rail-menu-button,.party-rail-character){border-color:var(--ledger-rule);background:var(--ledger-paper-raised);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] :is(.party-rail-menu-button:hover:not(:disabled),button.party-rail-character:hover:not(:disabled),.party-rail-character.selected){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .currency-popover-header strong,:root[data-ledger-theme=dark] .currency-table tbody th>span,:root[data-ledger-theme=dark] .currency-modal-header strong,:root[data-ledger-theme=dark] .bulk-distribution-heading strong,:root[data-ledger-theme=dark] .bulk-currency-table tbody th:first-child{color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.currency-table thead th,.currency-table thead small,.currency-table tbody th>small,.bulk-currency-table thead th,.secret-purse-editor>p,.secret-purse-transfer>p){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.currency-popover-header span,.currency-modal-header span){color:var(--ledger-brass)}:root[data-ledger-theme=dark] :is(.currency-table tbody th,.currency-table tbody td,.bulk-currency-table tbody th,.bulk-currency-table tbody td){border-color:var(--ledger-rule);background:var(--ledger-paper-raised)}:root[data-ledger-theme=dark] .currency-table tbody .currency-total-row :is(th,td){background:var(--ledger-brass-soft)!important;color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] :is(.currency-entry-row.readonly th,.currency-entry-row.readonly td,.currency-table .secret-purse-row>td){border-color:var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .secret-purse-toggle,:root[data-ledger-theme=dark] .secret-purse-balance strong{color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] :is(.secret-purse-toggle>small,.secret-purse-balance small,.secret-purse-edit-inputs label,.secret-purse-transfer-inputs label){color:var(--ledger-brass)}:root[data-ledger-theme=dark] .currency-input:disabled{background:var(--ledger-field);color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.item-actions-popover,.potion-add-menu){border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .item-action-choice{color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .item-action-choice.learn-scroll-action{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .item-action-choice.danger{color:var(--ledger-danger)}:root[data-ledger-theme=dark] :is(.item-action-choice:hover:not(:disabled):not(.disabled),.item-action-choice:focus-visible:not(:disabled):not(.disabled),.potion-quick-add-button:hover:not(:disabled),.potion-quick-add-button:focus-visible:not(:disabled)){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.item-action-choice.danger:hover:not(:disabled):not(.disabled),.item-action-choice.danger:focus-visible:not(:disabled):not(.disabled)){border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] :is(.potion-add-search-field,.potion-add-empty,.potion-quick-add-button,.potion-image-frame){border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink-soft);box-shadow:none}:root[data-ledger-theme=dark] .party-items-shell .potion-total-badge{border-color:color-mix(in srgb,var(--ledger-brass) 34%,var(--ledger-rule));background:var(--ledger-brass-soft);color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] .dm-ai-proposal-summary ul,:root[data-ledger-theme=dark] .dm-source-summary,:root[data-ledger-theme=dark] .dm-source-header span,:root[data-ledger-theme=dark] :is(.dm-ai-assistant-heading p,.dm-ai-access-note,.dm-ai-data-note,.dm-ai-save-reminder,.dm-ai-proposal-summary p,.dm-json-mechanics-editor>div>p,.dm-display-description-editor>p){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .dm-editor-header h2{color:var(--ledger-ink)}:root[data-ledger-theme=dark] .dm-editor-header [data-slot=sheet-description],:root[data-ledger-theme=dark] :is(.dm-editor-body label,.dm-editor-grid label){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.dm-ai-assistant-heading strong,.dm-source-header strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] .dm-json-mechanics-editor>div>strong{color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] .campaign-notebook-notice{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .campaign-member-role-mark{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .campaign-member-role-mark.dungeon-master{border-color:var(--ledger-accent);background:var(--ledger-accent-strong);color:var(--ledger-on-accent)}:root[data-ledger-theme=dark] .party-items-shell :is(.command-button,.primary-button,.mobile-party-tools-toggle,.shop-item-preview):focus-visible{outline-color:var(--ledger-focus)}:root[data-ledger-theme=dark] :is(.assign-item-modal,.learn-scroll-modal){border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .assign-current-owner{border-color:var(--ledger-arcane);background:var(--ledger-arcane-soft)}:root[data-ledger-theme=dark] .assign-current-owner span,:root[data-ledger-theme=dark] .assign-character-copy small{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .assign-current-owner strong,:root[data-ledger-theme=dark] .assign-character-copy small.assign-attunement-note{color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .assign-character-option{border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.assign-character-option:hover:not(:disabled),.assign-character-option:focus-visible:not(:disabled),.assign-character-option.selected){border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .assign-character-option:disabled{border-style:dashed;opacity:1}:root[data-ledger-theme=dark] .assign-stash-icon,:root[data-ledger-theme=dark] .assign-character-copy small.assign-attunement-note.warning,:root[data-ledger-theme=dark] .catalog-match{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .assign-character-copy small.assign-attunement-note.danger{color:var(--ledger-danger)}:root[data-ledger-theme=dark] .learn-copy-toggle,:root[data-ledger-theme=dark] .catalog-match.matched{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:is(.math-review-tooltip,.skill-info-tooltip,.proficiency-source-tooltip,.spell-access-source-tooltip,.stat-breakdown-popover) :is(strong,b){color:var(--ledger-ink)}:is(.math-review-tooltip-list>span,.math-review-tooltip-list small,.math-review-tooltip-list em,.skill-info-tooltip>span,.skill-info-tooltip p,.proficiency-source-list small,.proficiency-source-empty,.spell-access-source-tooltip small,.spell-access-source-tooltip em,.stat-breakdown-popover em){color:var(--ledger-muted)}.proficiency-source-list b{color:var(--ledger-ink-soft)}.campaign-note-prosemirror p.is-editor-empty:first-child:before,.math-review-target-row small,.starting-equipment-content-copy small,.selected-spell-row .starting-equipment-content-structural,.starting-equipment-removed-summary small,.builder-consumable-row small,.skill-choice-row small,.manual-proficiency-overrides>summary small,.class-expertise-empty,.rule-choice-multi-select-copy small,.rule-choice-multi-select-status,.arcane-trickster-choice-help,.arcane-trickster-choice-heading small,.loadout-item span,.selected-spell-row small,.audit-row small,.advancement-card-header small,.advancement-ability-fields>small,.feat-slot-detail small,.attunement-slot-detail small,.sheet-pack-contents li small,.quick-list small,.dm-equipment-toggle small,.currency-table thead small,.currency-table tbody th>small,.currency-entry-row.readonly th>span,.currency-entry-row.readonly th>small,.secret-purse-toggle>small,.secret-purse-balance small,.item-description-empty,.item-full-description-content>p.muted,.rule-option-empty,.rule-option-menu-copy small,.rule-option-detail-empty,.rule-option-detail-heading small,.rule-option-detail-footer>span{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .filter-menu-header,:root[data-ledger-theme=dark] :is(.assign-item-header,.learn-scroll-header) .section-title,:root[data-ledger-theme=dark] :is(.math-review-tooltip,.skill-info-tooltip,.proficiency-source-tooltip,.spell-access-source-tooltip,.stat-breakdown-popover) :is(strong,b){color:var(--ledger-ink)}:root[data-ledger-theme=dark] .summary-edit-button{border-color:var(--ledger-rule-strong);background:var(--ledger-paper-muted);color:var(--ledger-arcane)}:root[data-ledger-theme=dark] .summary-view-toggle{border-color:var(--ledger-rule);background:var(--ledger-paper-muted);color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .material-line{border-color:var(--ledger-warning);background:var(--ledger-warning-soft);color:var(--ledger-warning)}:root[data-ledger-theme=dark] .table-rule{border-color:var(--ledger-danger);background:var(--ledger-danger-soft);color:var(--ledger-danger)}:root[data-ledger-theme=dark] :is(.spell-mode-note,.spell-advancement-help,.spell-summary-kicker,.spell-builder-deferred-note small,.selected-spell-level-heading){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .selected-spell-required-tag{border-color:var(--ledger-accent);background:var(--ledger-accent-soft);color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] :is(.spellcasting-summary-row,.spellcasting-summary-value,.spellcasting-summary-value small){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.spellcasting-summary-label,.spellcasting-ability-tag){color:var(--ledger-muted)}:root[data-ledger-theme=dark] .campaign-note-list-item.active,:root[data-ledger-theme=dark] .campaign-note-list-icons,:root[data-ledger-theme=dark] .campaign-note-tab-pin{color:var(--ledger-accent-dark)}:root[data-ledger-theme=dark] .campaign-note-live-status.error,:root[data-ledger-theme=dark] .dm-collaboration-copy .dm-collaboration-status.danger{color:var(--ledger-danger)}:root[data-ledger-theme=dark] .campaign-history-row ul{color:var(--ledger-muted)}:root[data-ledger-theme=dark] .topbar .campaign-popover :is(.command-button,.icon-button){color:var(--ledger-ink-soft)}:root[data-ledger-theme=dark] .dm-option-enabled{border:1px solid var(--ledger-rule);background:var(--ledger-paper-muted)}:root[data-ledger-theme=dark] .campaign-profile-switcher select{border-color:var(--ledger-control-border);background:var(--ledger-field);color:var(--ledger-ink)}@media(hover:hover)and (pointer:fine){:is(.command-button,.icon-button,.state-button):hover:not(:disabled){box-shadow:var(--ledger-shadow-hover);transform:translateY(-1px)}.primary-button:hover:not(:disabled){box-shadow:inset 0 1px #ffffff2b,var(--ledger-shadow-hover);transform:translateY(-1px)}:is(.home-primary-card,.home-notebook-shortcut,.module-choice-card):hover{box-shadow:0 18px 42px #1d28262e,inset 0 1px #ffffff7a;transform:translateY(-2px)}.builder-quest-step.active{transform:translate(2px)}}@media(max-width:760px){.quick-sheet-page,.spell-sheet-page{border-radius:0;box-shadow:none}:is(.campaign-notebook-module-heading,.home-dashboard-heading,.dm-heading,.dev-console-header){border-radius:0}.module-choice-card:after,.builder-chapter-header:after{opacity:.42;transform:scale(.78);transform-origin:right bottom}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.home-dashboard-content{display:block;width:min(1080px,calc(100% - 48px));padding:clamp(48px,8vh,88px) 0}.home-dashboard-panel{position:relative;overflow:hidden;border:1px solid rgb(255 255 255 / 14%);border-radius:24px;background:radial-gradient(circle at 88% -8%,rgb(137 161 151 / 22%),transparent 34%),linear-gradient(135deg,#162622f0,#1f262be8);box-shadow:0 32px 90px #040c0d57,inset 0 1px #ffffff14;color:#f8f4e9;-webkit-backdrop-filter:blur(24px) saturate(118%);backdrop-filter:blur(24px) saturate(118%)}.home-dashboard-panel:before{position:absolute;inset:0 auto auto 0;width:100%;height:3px;background:linear-gradient(90deg,#c9aa6a,rgb(201 170 106 / 12%) 72%,transparent);content:""}.home-dashboard-content .home-dashboard-panel .home-dashboard-heading{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);align-items:end;gap:28px 56px;max-width:none;margin:0;padding:clamp(30px,5vw,46px);border:0;border-bottom:1px solid rgb(255 255 255 / 12%);border-radius:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.home-dashboard-title-group{display:grid;gap:9px}.home-dashboard-heading .home-dashboard-title-group>span{width:fit-content;padding:0;border:0;border-radius:0;background:transparent;color:#d7bd84;font-size:.7rem;font-weight:760;letter-spacing:.17em;text-transform:uppercase}.home-dashboard-heading h1{margin:0;color:#fbf8ef;font-size:clamp(3rem,7vw,5.4rem);font-weight:540;line-height:.88;letter-spacing:-.055em}.home-dashboard-heading p{max-width:36ch;margin:0 0 2px;color:#e8eee9b8;font-size:clamp(.92rem,1.5vw,1.02rem);font-weight:480;line-height:1.55;text-shadow:none}.home-dashboard-actions{display:grid}.home-dashboard-panel .home-primary-card,.home-dashboard-panel .home-notebook-shortcut{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:28px;min-height:132px;padding:26px clamp(28px,5vw,46px);overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;color:#f8f4e9;transition:background-color .16s ease}.home-dashboard-panel .home-notebook-shortcut{grid-template-columns:64px minmax(0,1fr) 210px;border-top:1px solid rgb(255 255 255 / 12%)}.home-character-summary,.home-notebook-shortcut{min-width:0}.home-character-summary{gap:18px}.home-character-portrait,.home-notebook-icon{width:64px;height:64px;border:1px solid rgb(255 255 255 / 18%);border-radius:14px;background:#ffffff14;box-shadow:none;color:#d7bd84}.home-character-portrait{font-size:1.45rem}.home-character-portrait img{filter:saturate(.82) contrast(1.04)}.home-character-summary>span:last-child,.home-notebook-copy{gap:4px}.home-character-summary small,.home-notebook-copy small{color:#d7bd84;font-size:.65rem;font-weight:760;letter-spacing:.14em}.home-character-summary strong,.home-notebook-copy strong,:root[data-ledger-theme=dark] .home-character-summary strong,:root[data-ledger-theme=dark] .home-notebook-copy strong{color:#fbf8ef;font-size:clamp(1.3rem,2.2vw,1.58rem);font-weight:560;letter-spacing:-.025em}.home-character-summary em,.home-notebook-copy em,:root[data-ledger-theme=dark] .home-character-summary em,:root[data-ledger-theme=dark] .home-notebook-copy em{color:#e8eee9a6;font-size:.82rem;font-weight:460}.home-dashboard-panel .home-primary-action,.home-dashboard-panel .home-notebook-shortcut>button{justify-self:stretch;width:100%;min-height:46px;border-radius:10px;font-size:.86rem;font-weight:700}.home-dashboard-panel .home-primary-action{border:1px solid #d8bd83;background:#d8bd83;color:#20302d;box-shadow:0 8px 22px #040c0d2e}.home-dashboard-panel .home-notebook-shortcut>button{border-color:#ffffff40;background:#ffffff12;color:#f4f3ec;box-shadow:none}.home-dashboard-panel .home-primary-action:focus-visible,.home-dashboard-panel .home-notebook-shortcut>button:focus-visible{outline:2px solid #f4d79a;outline-offset:3px;box-shadow:0 0 0 5px #f4d79a29}@media(hover:hover)and (pointer:fine){.home-dashboard-panel :is(.home-primary-card,.home-notebook-shortcut):hover{background:#ffffff0a;box-shadow:none;transform:none}.home-dashboard-panel .home-primary-action:hover:not(:disabled){border-color:#e3c98f;background:#e3c98f;box-shadow:0 10px 26px #040c0d38;transform:translateY(-1px)}.home-dashboard-panel .home-notebook-shortcut>button:hover:not(:disabled){border-color:#ffffff61;background:#ffffff1f;color:#fffdf7}}@media(max-width:760px){.home-dashboard-content{width:min(100% - 20px,680px);padding:20px 0 32px}.home-dashboard-panel{border-radius:18px}.home-dashboard-content .home-dashboard-panel .home-dashboard-heading{grid-template-columns:1fr;gap:18px;padding:28px 24px 26px;border-right:0;border-left:0;border-radius:0}.home-dashboard-heading h1{font-size:clamp(3.15rem,17vw,4.4rem)}.home-dashboard-heading p{max-width:40ch}.home-dashboard-panel .home-primary-card,.home-dashboard-panel .home-notebook-shortcut{grid-template-columns:1fr;gap:20px;min-height:0;padding:24px}.home-dashboard-panel .home-notebook-shortcut{grid-template-columns:64px minmax(0,1fr)}.home-dashboard-panel .home-primary-action,.home-dashboard-panel .home-notebook-shortcut>button{grid-column:auto;width:100%}.home-dashboard-panel .home-notebook-shortcut>button{grid-column:1 / -1}}@media(max-width:420px){.home-character-portrait,.home-notebook-icon{width:56px;height:56px;border-radius:12px}.home-character-summary,.home-notebook-shortcut{gap:14px}.home-dashboard-panel .home-notebook-shortcut{grid-template-columns:auto minmax(0,1fr)}.home-dashboard-panel .home-notebook-shortcut>button{grid-column:1 / -1}}}.character-inventory{display:grid;gap:14px;min-width:0}.character-inventory-hero{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0;overflow:hidden;border:1px solid rgba(209,162,76,.4);border-radius:15px;background:radial-gradient(circle at 86% 0%,rgba(78,196,182,.16),transparent 31%),linear-gradient(135deg,#273129fa,#101612fc);color:var(--forge-parchment, #f3e8cb);box-shadow:0 14px 34px #0003;padding:16px}.character-inventory-portrait{display:grid;place-items:center;width:68px;height:68px;overflow:hidden;border:3px double rgba(236,207,129,.7);border-radius:999px;background:#ebd7a524;color:#fff4d1;font-family:var(--forge-display, Georgia, serif);font-size:1.65rem;font-weight:900}.character-inventory-portrait img{width:100%;height:100%;object-fit:contain;object-position:center}.character-inventory-identity{display:grid;gap:3px;min-width:0}.character-inventory-identity>span{display:inline-flex;align-items:center;gap:6px;color:#80d7c9;font-size:.68rem;font-weight:900;letter-spacing:.11em;text-transform:uppercase}.character-inventory-identity h2,.character-inventory-identity p{margin:0}.character-inventory-identity h2{display:-webkit-box;overflow:hidden;color:#fff8e7;font-family:var(--forge-display, Georgia, serif);font-size:clamp(1.45rem,3vw,2.1rem);line-height:1.04;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.character-inventory-identity p{color:#f3e8cbb8;font-size:.82rem;font-weight:700}.character-inventory-hero-actions{display:flex;justify-content:flex-end;gap:8px}.character-inventory-hero-actions [data-slot=button]{border-color:#eccf8175;background:linear-gradient(180deg,#fff8e7,#e8d9b6);color:#2b2a22;box-shadow:0 8px 18px #0003}.character-inventory-hero-actions [data-slot=button]:first-child:not(:last-child){background:#ffffff0f;color:#fff4d1;box-shadow:none}.character-inventory-carrying{display:grid;grid-template-columns:minmax(190px,auto) minmax(180px,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(35,105,91,.25);border-radius:12px;background:#f4f9f5f0;padding:10px 12px}.character-inventory-carrying>div:first-child{display:flex;align-items:center;gap:8px;color:#466159}.character-inventory-carrying>div:first-child span{display:inline-flex;align-items:center;gap:5px;font-size:.72rem;font-weight:850;text-transform:uppercase}.character-inventory-carrying>div:first-child strong{color:#22342f;font-size:.82rem}.character-inventory-carrying-track{height:8px;overflow:hidden;border-radius:999px;background:#23342f1f}.character-inventory-carrying-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#317a68,#55aa91)}.character-inventory-carrying.warning .character-inventory-carrying-track>span{background:linear-gradient(90deg,#b87c28,#d7a94d)}.character-inventory-carrying.danger .character-inventory-carrying-track>span{background:linear-gradient(90deg,#9d3f35,#ca675b)}.character-inventory-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.character-inventory-summary>button{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:54px;border:1px solid rgba(159,136,77,.26);border-radius:11px;background:#fffcf2e6;color:#51615c;cursor:pointer;padding:8px 10px;text-align:left}.character-inventory-summary>button:hover,.character-inventory-summary>button.active{border-color:#2f6f5e94;background:#edf7f1;color:#245c4e}.character-inventory-summary>button:focus-visible{outline:3px solid rgba(47,111,94,.24);outline-offset:2px}.character-inventory-summary>button>span{display:grid;min-width:0}.character-inventory-summary strong{color:#24342f;font-size:1rem;line-height:1}.character-inventory-summary small{overflow:hidden;color:#687670;font-size:.66rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.character-inventory-tools{display:grid;grid-template-columns:minmax(220px,1fr) max-content max-content;align-items:center;gap:12px;border:1px solid rgba(159,136,77,.24);border-radius:12px;background:#faf7ede0;padding:10px}.character-inventory-search{position:relative;display:block}.character-inventory-search>svg{position:absolute;top:50%;left:11px;z-index:1;color:#63736d;transform:translateY(-50%)}.character-inventory-search [data-slot=input]{padding-left:34px}.character-inventory-switch{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:34px;border:1px solid rgba(116,101,66,.34);border-radius:999px;background:#fffdf6eb;color:#50615b;padding:5px 9px;font-size:.7rem;font-weight:850;line-height:1;white-space:nowrap;cursor:pointer}.character-inventory-switch:hover:not(:disabled){border-color:#2f6f5e85;background:#edf7f1;color:#245c4e}.character-inventory-switch:focus-visible{outline:3px solid rgba(47,111,94,.24);outline-offset:2px}.character-inventory-switch:disabled{cursor:not-allowed;opacity:.56}.character-inventory-switch-track{position:relative;flex:0 0 auto;width:30px;height:17px;border:1px solid rgba(104,119,112,.5);border-radius:999px;background:#7180792e;transition:border-color .14s ease,background .14s ease}.character-inventory-switch-track>span{position:absolute;top:2px;left:2px;width:11px;height:11px;border-radius:50%;background:#718079;transition:transform .14s ease,background .14s ease}.character-inventory-switch.checked{border-color:#2f6f5e85;color:#245c4e}.character-inventory-switch.checked .character-inventory-switch-track{border-color:#2f6f5e;background:#2f6f5e}.character-inventory-switch.checked .character-inventory-switch-track>span{background:#fffdf6;transform:translate(13px)}.character-inventory-tools>small{justify-self:end;color:#708079;font-size:.66rem;font-weight:800;white-space:nowrap}.character-inventory-groups,.character-inventory-group,.character-inventory-list{display:grid;gap:10px;min-width:0}.character-inventory-group{overflow:hidden;border:1px solid rgba(159,136,77,.28);border-radius:14px;background:#fffdf6f0;box-shadow:0 8px 24px #342b180f}.character-inventory-group-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid rgba(159,136,77,.2);background:linear-gradient(180deg,#faf6eaeb,#f5f0e0c7);padding:11px 12px}.character-inventory-group-heading>span:first-child{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(47,111,94,.26);border-radius:9px;background:#edf7f1;color:#2f6f5e}.character-inventory-group.magic .character-inventory-group-heading>span:first-child{border-color:#63489647;background:#f3eefb;color:#694a98}.character-inventory-group.consumable .character-inventory-group-heading>span:first-child{border-color:#a55d3c47;background:#fbefe7;color:#a25637}.character-inventory-group-heading h3,.character-inventory-group-heading p{margin:0}.character-inventory-group-heading h3{color:#263631;font-family:var(--forge-display, Georgia, serif);font-size:1rem}.character-inventory-group-heading p{color:#6b7873;font-size:.69rem;font-weight:700}.character-inventory-list{gap:0;padding:0 12px}.character-inventory-category-guide{display:flex;flex-wrap:wrap;gap:8px}.character-inventory-category-guide>div{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(159,136,77,.24);border-radius:999px;background:#faf7edd1;color:#2f6f5e;padding:6px 10px}.character-inventory-category-guide>div.magic{color:#694a98}.character-inventory-category-guide>div.consumable{color:#a25637}.character-inventory-category-guide h3{margin:0;color:#34463f;font-family:var(--forge-display, Georgia, serif);font-size:.78rem}.character-inventory-category-guide span{color:#718079;font-size:.68rem;font-weight:850}.character-inventory-organizer{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start}.character-inventory-storage-zone{overflow:hidden;min-width:0;border:1px solid var(--ledger-rule, rgba(159, 136, 77, .3));border-radius:14px;background:var(--ledger-paper-raised, rgba(255, 253, 246, .94));box-shadow:0 8px 24px #342b180f;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.character-inventory-storage-zone.drop-active{border-color:var(--ledger-accent, #2f6f5e);box-shadow:inset 0 0 0 2px var(--ledger-accent, #2f6f5e),0 12px 28px #224e4124;transform:translateY(-2px)}.character-inventory-storage-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid var(--ledger-rule, rgba(159, 136, 77, .2));background:linear-gradient(180deg,var(--ledger-paper-raised, #fffdf8),var(--ledger-paper-muted, #f0ede4));padding:9px 10px}.character-inventory-storage-image{display:grid;place-items:center;overflow:hidden;width:42px;height:42px;border:1px solid color-mix(in srgb,var(--ledger-accent, #2f6f5e) 38%,transparent);border-radius:9px;background:var(--ledger-accent-soft, #edf7f1);color:var(--ledger-accent-dark, #2f6f5e)}.character-inventory-storage-image.has-image{border-color:var(--ledger-rule-strong, rgba(159, 136, 77, .42));background:var(--ledger-paper-muted, #e8e1cf)}.character-inventory-storage-image img{width:100%;height:100%;object-fit:cover}.character-inventory-storage-heading h3,.character-inventory-storage-heading p{margin:0}.character-inventory-storage-heading h3{overflow:hidden;color:var(--ledger-ink, #263631);font-family:var(--forge-display, Georgia, serif);font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}.character-inventory-storage-heading p{color:var(--ledger-muted, #6b7873);font-size:.61rem;font-weight:700;letter-spacing:.035em;text-transform:uppercase}.character-inventory-storage-capacity{display:inline-flex;align-items:center;gap:5px;margin-top:3px;color:var(--ledger-accent-dark, #2f6f5e);font-size:.68rem;font-weight:850;line-height:1.3;white-space:nowrap}.character-inventory-storage-capacity.over{color:var(--ledger-danger, #a14c3f)}.character-inventory-storage-meter{height:4px;overflow:hidden;background:color-mix(in srgb,var(--ledger-rule, #cbc7bb) 72%,transparent)}.character-inventory-storage-meter>span{display:block;height:100%;border-radius:0 999px 999px 0;background:var(--ledger-accent, #356b64);transition:width .18s ease}.character-inventory-storage-meter.over>span{background:var(--ledger-danger, #a1473c)}.character-inventory-list{padding:4px 7px 7px}.character-inventory-row{position:relative;min-width:0;border:1px solid transparent;border-bottom-color:var(--ledger-rule, rgba(159, 136, 77, .18));background:transparent;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.character-inventory-row:hover,.character-inventory-row:focus-within{border-color:color-mix(in srgb,var(--ledger-accent, #356b64) 34%,transparent);border-radius:9px;background:var(--ledger-row-hover, #f4f2ea)}.character-inventory-row.expanded{border-color:color-mix(in srgb,var(--ledger-accent, #356b64) 48%,transparent);border-radius:9px;background:color-mix(in srgb,var(--ledger-accent-soft, #dce9e5) 42%,var(--ledger-paper-raised, #fffdf8));box-shadow:inset 3px 0 0 var(--ledger-accent, #356b64)}.character-inventory-row.dragging{opacity:.2}.character-inventory-row-summary{display:grid;grid-template-columns:28px 32px minmax(0,1fr);align-items:center;gap:5px;min-width:0;min-height:46px;padding:2px 3px}.character-inventory-drag-handle,.character-inventory-drag-placeholder{display:grid;place-items:center;width:28px;height:40px}.character-inventory-drag-handle{border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ledger-muted, #718079);cursor:grab;touch-action:none}.character-inventory-drag-handle:hover:not(:disabled),.character-inventory-drag-handle:focus-visible{border-color:color-mix(in srgb,var(--ledger-accent, #356b64) 48%,transparent);outline:none;background:var(--ledger-accent-soft, #dce9e5);color:var(--ledger-accent-dark, #244e49)}.character-inventory-drag-handle:active{cursor:grabbing}.character-inventory-item-image{display:grid;place-items:center;overflow:hidden;width:32px;height:32px;border:1px solid color-mix(in srgb,var(--ledger-accent, #356b64) 30%,var(--ledger-rule, #cbc7bb));border-radius:7px;background:var(--ledger-accent-soft, #dce9e5);color:var(--ledger-accent-dark, #244e49)}.character-inventory-row.magic .character-inventory-item-image{border-color:color-mix(in srgb,#73539b 42%,var(--ledger-rule, #cbc7bb));background:color-mix(in srgb,#eee6f7 72%,var(--ledger-paper-raised, #fffdf8));color:#694a98}.character-inventory-row.consumable .character-inventory-item-image{border-color:color-mix(in srgb,#a55d3c 42%,var(--ledger-rule, #cbc7bb));background:color-mix(in srgb,#fae7dc 72%,var(--ledger-paper-raised, #fffdf8));color:#984f31}.character-inventory-item-image.has-image{background:var(--ledger-paper-muted, #e8e1cf)}.character-inventory-item-image img{width:100%;height:100%;object-fit:cover}.character-inventory-row-toggle{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;width:100%;min-width:0;min-height:40px;border:0;border-radius:7px;background:transparent;color:inherit;padding:4px 5px;text-align:left;cursor:pointer}.character-inventory-row-toggle.no-quantity{grid-template-columns:minmax(0,1fr) auto}.character-inventory-row-toggle:focus-visible{outline:2px solid var(--ledger-accent, #356b64);outline-offset:1px}.character-inventory-row-toggle>strong{overflow:hidden;color:var(--ledger-ink, #21332d);font-size:.82rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.character-inventory-quantity{min-width:28px;color:var(--ledger-muted, #59635e);font-family:var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);font-size:.72rem;font-weight:900;text-align:right}.character-inventory-row-toggle>svg{color:var(--ledger-muted, #59635e);transition:transform .14s ease}.character-inventory-row-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.character-inventory-row-details{display:grid;gap:9px;border-top:1px solid color-mix(in srgb,var(--ledger-rule, #cbc7bb) 72%,transparent);margin:0 8px 8px 68px;padding:10px 4px 2px 0}.character-inventory-row-badges{display:flex;flex-wrap:wrap;gap:4px}.character-inventory-row-details p{margin:0;color:var(--ledger-ink-soft, #596a64);font-size:.73rem;font-weight:650;line-height:1.45}.character-inventory-description{display:grid;gap:4px}.character-inventory-description>strong{color:var(--ledger-ink, #24312d);font-size:.68rem;letter-spacing:.045em;text-transform:uppercase}.character-inventory-rules summary{display:grid;gap:6px;list-style:none;cursor:pointer}.character-inventory-rules summary::-webkit-details-marker{display:none}.character-inventory-rules-excerpt{display:-webkit-box;overflow:hidden;color:var(--ledger-ink-soft, #596a64);font-size:.73rem;font-weight:650;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:4}.character-inventory-rules-expand,.character-inventory-rules-collapse{width:fit-content;color:var(--ledger-accent-dark, #244e49);font-size:.64rem;font-weight:900;letter-spacing:.035em;text-transform:uppercase}.character-inventory-rules-collapse,.character-inventory-rules[open] .character-inventory-rules-excerpt,.character-inventory-rules[open] .character-inventory-rules-expand{display:none}.character-inventory-rules[open] .character-inventory-rules-collapse{display:inline}.character-inventory-rules>p{margin-top:8px}.character-inventory-row-details>small{color:var(--ledger-muted, #77837e);font-size:.64rem;font-weight:750;line-height:1.4}.character-inventory-row-actions{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px;padding-top:2px}.character-inventory-move-select{display:grid;gap:3px;color:var(--ledger-muted, #67766f);font-size:.6rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.character-inventory-move-select select{max-width:170px;min-height:34px;border:1px solid var(--ledger-rule-strong, rgba(116, 101, 66, .34));border-radius:8px;background:var(--ledger-paper-raised, rgba(255, 253, 246, .94));color:var(--ledger-ink-soft, #34463f);padding:5px 26px 5px 8px;font:inherit;font-size:.68rem;font-weight:800;text-transform:none;letter-spacing:normal}.character-inventory-zone-empty{margin:12px 0;border:1px dashed rgba(47,111,94,.3);border-radius:10px;color:#76837e;padding:16px 10px;font-size:.69rem;font-weight:800;text-align:center}.character-inventory-drag-overlay{display:flex;align-items:center;gap:8px;min-width:190px;border:1px solid rgba(47,111,94,.5);border-radius:10px;background:#fffdf6;box-shadow:0 14px 36px #23322c38;color:#263631;padding:11px 13px}.character-private-item-sheet{inset:50% auto auto 50%;width:min(1120px,calc(100vw - 32px))!important;height:min(920px,calc(100dvh - 32px));min-height:0;max-width:none!important;max-height:calc(100dvh - 32px);overflow:hidden;padding:0}.character-private-item-sheet[data-state=open]{opacity:1;transform:translate(-50%,-50%) scale(1)}.character-private-item-sheet[data-state=closed]{opacity:0;transform:translate(-50%,-48%) scale(.98)}.character-private-item-form{display:flex;min-height:0;height:100%;flex-direction:column}.character-private-item-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;top:0;flex:0 0 auto;margin:0;border-bottom:1px solid var(--ledger-rule, rgba(159, 136, 77, .28));padding:18px}.character-private-item-header>div{display:grid;gap:5px}.character-private-item-header>div>span{display:inline-flex;align-items:center;gap:6px;color:var(--ledger-accent, #2f6f5e);font-size:.68rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.character-private-item-header [data-slot=sheet-title]{color:var(--ledger-ink, #263631);font-family:var(--forge-display, Georgia, serif);font-size:1.35rem}.character-private-item-header [data-slot=sheet-description]{max-width:42ch;color:var(--ledger-muted, #6b7873);line-height:1.45}.character-private-item-fields{display:grid;min-height:0;flex:1 1 auto;gap:16px;overflow-y:auto;padding:18px}.character-private-item-fields>label,.character-private-item-grid>label{display:grid;gap:6px}.character-private-item-base-picker{display:grid;gap:10px}.character-private-item-base-select{min-height:42px;width:100%;border:1px solid var(--ledger-rule-strong, rgba(112, 91, 45, .42));border-radius:7px;background:var(--ledger-paper-raised, #fffdf6);color:var(--ledger-ink, #263631);padding:0 34px 0 11px}.character-private-item-base-select:focus-visible{border-color:var(--ledger-accent, #2f6f5e);outline:2px solid color-mix(in srgb,var(--ledger-accent, #2f6f5e) 28%,transparent);outline-offset:1px}.character-private-item-base-summary{display:grid;gap:8px;border:1px solid var(--ledger-rule, rgba(159, 136, 77, .28));border-left:4px solid var(--ledger-accent, #2f6f5e);border-radius:7px;background:var(--ledger-accent-soft, rgba(47, 111, 94, .08));padding:10px 12px}.character-private-item-base-summary>span{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:2px 8px}.character-private-item-base-summary>span>svg{grid-row:1 / span 2;color:var(--ledger-accent, #2f6f5e)}.character-private-item-base-summary small{color:var(--ledger-muted, #6b7873)}.character-private-item-base-summary>p{margin:0;color:var(--ledger-warning, #8a5c13);font-size:.76rem;line-height:1.4}.character-private-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.character-private-item-toggles{display:flex;flex-wrap:wrap;gap:9px}.character-private-item-artwork{display:grid;gap:12px;border:1px solid var(--ledger-rule, rgba(159, 136, 77, .28));border-radius:10px;background:var(--ledger-paper-soft, rgba(250, 247, 237, .72));padding:13px}.character-private-item-artwork-heading{display:flex;align-items:center;gap:10px}.character-private-item-artwork-heading>span{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;overflow:hidden;border:1px solid var(--ledger-rule, rgba(159, 136, 77, .28));border-radius:9px;background:var(--ledger-paper-raised, #fffdf6);color:var(--ledger-accent, #2f6f5e)}.character-private-item-artwork-heading img{width:100%;height:100%;object-fit:cover}.character-private-item-artwork-heading>div,.character-private-item-picture-file{display:grid;gap:3px}.character-private-item-artwork-heading small,.character-private-item-artwork>small,.character-private-item-picture-file small{color:var(--ledger-muted, #718079);font-size:.68rem;font-weight:650;line-height:1.35}.character-private-item-artwork-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.character-private-item-artwork-options>button{display:flex;min-height:48px;align-items:center;justify-content:center;gap:6px;border:1px solid var(--ledger-rule-strong, rgba(112, 91, 45, .42));border-radius:8px;background:var(--ledger-paper-raised, #fffdf6);color:var(--ledger-ink-soft, #34463f);padding:8px;font:inherit;font-size:.7rem;font-weight:800;line-height:1.2;text-align:center}.character-private-item-artwork-options>button.selected{border-color:var(--ledger-accent, #2f6f5e);background:var(--ledger-accent-soft, rgba(47, 111, 94, .1));color:var(--ledger-accent, #2f6f5e)}.character-private-item-artwork-options>button:focus-visible{outline:2px solid color-mix(in srgb,var(--ledger-accent, #2f6f5e) 32%,transparent);outline-offset:2px}.character-private-item-artwork-options>button:disabled{cursor:not-allowed;opacity:.48}.character-private-item-footer{bottom:0;flex:0 0 auto;margin:0;justify-content:flex-end;background:var(--ledger-paper-raised, #fffdf6);border-top:1px solid var(--ledger-rule, rgba(159, 136, 77, .28));padding:16px 18px}.character-inventory-remove-private{color:var(--ledger-danger, #9b3f36)}.item-container-toggle>span{display:grid;gap:2px}.item-container-toggle small{color:var(--ledger-muted, #718079);font-size:.68rem;font-weight:650;line-height:1.3}.item-container-capacity-field{display:grid;gap:6px}.item-container-capacity-field small,.character-private-item-fields>label>small{color:var(--ledger-muted, #718079);font-size:.68rem;font-weight:650;line-height:1.3}.character-inventory-use{min-width:76px}.character-inventory-empty{display:grid;justify-items:center;gap:5px;border:1px dashed rgba(159,136,77,.42);border-radius:14px;background:#faf7edbd;color:#6a766f;padding:38px 16px;text-align:center}.character-inventory-empty strong{color:#34463f}.character-inventory-empty p{margin:0;font-size:.75rem}.character-section-switch{width:min(760px,100%)}:root[data-ledger-theme=dark] .character-inventory-carrying,:root[data-ledger-theme=dark] .character-inventory-summary>button,:root[data-ledger-theme=dark] .character-inventory-tools,:root[data-ledger-theme=dark] .character-inventory-group,:root[data-ledger-theme=dark] .character-inventory-storage-zone,:root[data-ledger-theme=dark] .character-inventory-category-guide>div,:root[data-ledger-theme=dark] .character-inventory-drag-overlay,:root[data-ledger-theme=dark] .character-inventory-empty{border-color:#d2b46a47;background:#1b221df0;color:#f3e8cbd1}:root[data-ledger-theme=dark] .character-inventory-summary>button:hover,:root[data-ledger-theme=dark] .character-inventory-summary>button.active{border-color:#68c2ac94;background:#2f6f5e42;color:#a9e4d5}:root[data-ledger-theme=dark] :is(.character-inventory-carrying>div:first-child,.character-inventory-switch,.character-inventory-move-select,.character-inventory-group-heading p,.character-inventory-storage-heading p,.character-inventory-storage-capacity,.character-inventory-row-details p,.character-inventory-rules-excerpt,.character-inventory-row-details>small,.character-inventory-quantity,.character-inventory-tools>small,.character-inventory-summary small,.character-inventory-empty p){color:#f3e8cbad}:root[data-ledger-theme=dark] :is(.character-inventory-rules-expand,.character-inventory-rules-collapse){color:#a9e4d5}:root[data-ledger-theme=dark] .character-inventory-switch{border-color:#d2b46a4d;background:#1b221df0}:root[data-ledger-theme=dark] .character-inventory-switch:hover:not(:disabled),:root[data-ledger-theme=dark] .character-inventory-switch.checked{border-color:#68c2ac94;background:#2f6f5e42;color:#a9e4d5}:root[data-ledger-theme=dark] :is(.character-inventory-carrying>div:first-child strong,.character-inventory-summary strong,.character-inventory-group-heading h3,.character-inventory-storage-heading h3,.character-inventory-category-guide h3,.character-inventory-row-toggle>strong,.character-inventory-empty strong){color:#fff5dc}:root[data-ledger-theme=dark] .character-inventory-group-heading{border-bottom-color:#d2b46a33;background:linear-gradient(180deg,#31382ff5,#222a23f0)}:root[data-ledger-theme=dark] .character-inventory-storage-heading{border-bottom-color:#d2b46a33;background:linear-gradient(180deg,#31382ff5,#222a23f0)}:root[data-ledger-theme=dark] .character-inventory-storage-image{border-color:#68c2ac52;background:#2f6f5e33;color:#a9e4d5}:root[data-ledger-theme=dark] .character-inventory-storage-image.has-image{border-color:#d2b46a5c;background:#1b221df0}:root[data-ledger-theme=dark] .character-inventory-item-image{border-color:#d2b46a5c;background:#1b221df0}:root[data-ledger-theme=dark] .character-inventory-storage-capacity{color:#a9e4d5}:root[data-ledger-theme=dark] .character-inventory-storage-capacity.over{color:#f2a69b}:root[data-ledger-theme=dark] .character-inventory-move-select select{border-color:#d2b46a47;background:#1b221df0;color:#fff5dc}:root[data-ledger-theme=dark] .character-inventory-zone-empty{border-color:#68c2ac47;color:#f3e8cba3}:root[data-ledger-theme=dark] .character-inventory-row{border-bottom-color:#d2b46a29}:root[data-ledger-theme=dark] .character-inventory-row:hover,:root[data-ledger-theme=dark] .character-inventory-row:focus-within{background:var(--ledger-row-hover)}:root[data-ledger-theme=dark] .character-inventory-row.expanded{border-color:#68c2ac85;background:color-mix(in srgb,var(--ledger-accent-soft) 62%,var(--ledger-paper-raised))}@media(max-width:980px){.character-inventory-hero{grid-template-columns:auto minmax(0,1fr)}.character-inventory-hero-actions{grid-column:1 / -1;justify-content:stretch}.character-inventory-hero-actions [data-slot=button]{flex:1 1 0}.character-inventory-tools{grid-template-columns:minmax(0,1fr) auto auto}}@media(max-width:760px){.character-private-item-sheet{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.character-private-item-header,.character-private-item-fields,.character-private-item-footer{padding:14px}.character-private-item-footer{display:grid;grid-template-columns:1fr}.character-private-item-footer [data-slot=button]{width:100%}.character-section-switch{display:grid;grid-auto-columns:auto;grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%}.character-section-switch [data-slot=tabs-trigger]{width:100%;min-width:0;height:38px;padding:5px 7px;font-size:.72rem}.character-inventory{gap:10px}.character-inventory-hero{grid-template-columns:auto minmax(0,1fr);border-radius:13px;padding:12px}.character-inventory-portrait{width:54px;height:54px;font-size:1.3rem}.character-inventory-identity h2{display:-webkit-box;overflow:hidden;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.character-inventory-hero-actions{display:grid;grid-template-columns:1fr}.character-inventory-carrying{grid-template-columns:1fr auto}.character-inventory-carrying-track{grid-column:1 / -1;grid-row:2}.character-inventory-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.character-inventory-tools{grid-template-columns:1fr}.character-inventory-tools>small{grid-column:auto}.character-private-item-grid,.character-private-item-artwork-options{grid-template-columns:1fr}.character-inventory-group-heading{grid-template-columns:auto minmax(0,1fr)}.character-inventory-organizer{grid-template-columns:1fr}.character-inventory-group-heading>[data-slot=badge]{grid-column:2;justify-self:start}.character-inventory-list{overflow:visible}.character-inventory-row-summary{grid-template-columns:44px 36px minmax(0,1fr)}.character-inventory-drag-handle,.character-inventory-drag-placeholder{width:44px;height:44px}.character-inventory-item-image{width:36px;height:36px}.character-inventory-row-details{margin-right:8px;margin-left:12px}.character-inventory-row-actions{justify-content:flex-start;flex-wrap:wrap}.character-inventory-move-select{flex:1 1 150px}.character-inventory-move-select select{width:100%;max-width:none;min-height:44px}}@media(prefers-reduced-motion:reduce){.character-inventory-row,.character-inventory-row-toggle>svg,.character-inventory-storage-meter>span,.character-inventory-storage-zone{transition:none}}.inventory-shell.party-items-shell{--store-canvas: var(--ledger-canvas, #efede7);--store-paper: var(--ledger-paper-raised, #fffdf8);--store-paper-muted: var(--ledger-paper-muted, #f7f4ed);--store-line: var(--ledger-rule, #d9d4c8);--store-line-strong: var(--ledger-rule-strong, #c9c1b1);--store-ink: var(--ledger-ink, #1e2925);--store-muted: var(--ledger-muted, #66706b);--store-green: var(--ledger-accent, #245b4d);--store-green-dark: var(--ledger-accent-dark, #173d34);--store-gold: var(--ledger-brass, #b67b2d);grid-template-columns:minmax(240px,276px) minmax(0,1fr);background:linear-gradient(90deg,rgba(62,55,42,.025) 1px,transparent 1px),linear-gradient(rgba(62,55,42,.025) 1px,transparent 1px),var(--store-canvas);background-size:28px 28px}.party-items-shell .inventory-main{background:linear-gradient(90deg,rgba(62,55,42,.025) 1px,transparent 1px),linear-gradient(rgba(62,55,42,.025) 1px,transparent 1px),var(--store-canvas, #efede7);background-size:28px 28px}.party-items-shell>.inventory-main:not(.inventory-shop-main){padding:clamp(16px,2vw,28px)}.party-items-shell>.inventory-main:not(.inventory-shop-main) .browser-toolbar{gap:8px;margin-bottom:12px;border:1px solid var(--store-line, #d9d4c8);border-radius:13px;background:#fffdf8f5;padding:10px;box-shadow:0 2px 8px #29251e0d}.party-items-shell>.inventory-main:not(.inventory-shop-main) .browser-title h2{color:var(--store-ink, #1e2925);font-family:Georgia,Times New Roman,serif;text-shadow:none}.party-items-shell>.inventory-main:not(.inventory-shop-main) .browser-title p{color:var(--store-muted, #66706b)}.party-items-shell .inventory-tools .search-field>span{border-color:transparent;border-radius:9px;background:#f3f1eb;box-shadow:inset 0 0 0 1px #c9c1b18a}.party-items-shell .inventory-tools .command-button{border-color:#d2ccbf;border-radius:9px;background:#fffdf8;color:#35443f;box-shadow:none}.party-items-shell .inventory-control-panel{padding:14px 12px;border-right-color:#cbc5b8;background:linear-gradient(180deg,rgba(255,255,255,.34),transparent 260px),#e7e3d9;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.party-items-shell .inventory-control-panel .panel-section{margin-bottom:10px;border:1px solid rgba(187,179,162,.72);border-radius:12px;background:#fffdf8c7;padding:12px;box-shadow:none}.party-items-shell .inventory-control-panel .item-section-panel{border-color:#cbc4b7;background:#dedad1;padding:5px}.party-items-shell .mobile-party-tools-toggle{display:none}.party-items-shell .item-section-panel .item-section-switch{grid-template-columns:minmax(94px,1.25fr) repeat(2,minmax(66px,.875fr));height:40px;min-height:40px;gap:3px;border:0;background:transparent;padding:0}.party-items-shell .item-section-panel .item-section-switch button{gap:6px;border-radius:7px;color:#625f58;padding-inline:6px;font-size:.74rem;letter-spacing:.01em;white-space:nowrap}.party-items-shell .item-section-panel .item-section-switch button svg{flex:0 0 auto;color:#777269}.party-items-shell .item-section-panel .item-section-switch button:hover{background:#fffdf894;color:#2f302c;box-shadow:none}.party-items-shell .item-section-panel .item-section-switch button.active{border:1px solid #c9c1b2;background:#fffdf8;color:#262925;box-shadow:0 1px 4px #302b221f}.party-items-shell .item-section-panel .item-section-switch button.active svg{color:#775b32}.party-items-shell .inventory-control-panel .section-title{color:#35443f;font-size:.75rem;letter-spacing:.035em;text-transform:uppercase}.party-items-shell .inventory-control-panel .section-title svg{color:#527365}.party-items-shell .inventory-control-panel .empty-list{border-color:#bbb3a2a6;background:#fffdf89e;box-shadow:none}.party-items-shell .potion-manager-panel{gap:10px;overflow:visible}.party-items-shell .potion-total-badge{height:24px;border-color:#d1c5a8;background:#f7eed7;color:#765620}.party-items-shell .potion-target-field,.party-items-shell .potion-quick-tools{font-size:.72rem}.inventory-shop-main{padding:0}.inventory-shop-main .item-shop{min-height:100%;padding:clamp(18px,2.4vw,34px) clamp(16px,2.5vw,38px) 48px;color:var(--store-ink, #1e2925)}.item-shop-toolbar{display:grid;gap:8px;max-width:1600px;margin:0 auto 12px}.item-shop-heading{--shop-accent: #245b4d;--shop-accent-soft: #e6efe9;position:relative;display:flex;min-height:66px;align-items:center;justify-content:space-between;gap:16px;overflow:hidden;border:1px solid var(--store-line, #d9d4c8);border-radius:13px;background:#fffdf8f5;padding:9px 12px 9px 16px;box-shadow:0 2px 8px #29251e0d}.item-shop-heading:before{position:absolute;inset:9px auto 9px 0;width:3px;border-radius:0 999px 999px 0;background:var(--shop-accent);content:"";pointer-events:none}.magic-item-shop .item-shop-heading{--shop-accent: #74529a;--shop-accent-soft: #eee9f5}.item-shop-heading>div:first-child{position:relative;z-index:1;display:grid;grid-template-areas:"source title" "source subtitle";grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;row-gap:1px;max-width:760px;border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}.item-shop-heading .source-pill{grid-area:source;align-self:stretch;min-height:40px;border:0;border-radius:9px;background:var(--shop-accent-soft);color:var(--shop-accent);padding:4px 9px;font-size:.62rem;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.item-shop-heading h1{grid-area:title;color:var(--store-ink, #1e2925);font-family:Georgia,Times New Roman,serif;font-size:clamp(1.18rem,1.8vw,1.45rem);font-weight:700;letter-spacing:-.018em;line-height:1.1}.item-shop-heading p{grid-area:subtitle;max-width:720px;color:var(--store-muted, #66706b);font-size:.7rem;font-weight:700;line-height:1.3}.item-shop-count{position:relative;z-index:1;display:grid;grid-template-columns:auto auto;min-width:max-content;align-items:center;gap:1px 9px;border:0;border-radius:9px;background:var(--shop-accent-soft);color:var(--shop-accent);padding:7px 10px}.item-shop-count svg{grid-row:1 / 3}.item-shop-count strong{color:var(--store-ink, #1e2925);font-family:Georgia,Times New Roman,serif;font-size:1.04rem;line-height:1}.item-shop-count span{color:var(--store-muted, #66706b);font-size:.61rem;font-weight:750;letter-spacing:.025em}.item-shop-filters,.mundane-shop-scopes{border:1px solid var(--store-line, #d9d4c8);border-radius:13px;background:#fffdf8f5;box-shadow:0 2px 8px #29251e0d}.item-shop-filters{display:grid;grid-template-columns:minmax(240px,1fr) minmax(155px,190px) max-content;align-items:center;gap:7px;padding:7px}.item-shop-filters .toolbar-search>span{min-height:40px;border:0;border-radius:9px;background:#f3f1eb;box-shadow:inset 0 0 0 1px #c9c1b18a}.item-shop-filters .toolbar-search input{font-size:.82rem}.item-shop-filters .toolbar-search svg{color:#738079}.shop-sort-control{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;margin:0;color:var(--store-muted, #66706b);font-size:.67rem;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.shop-sort-control select,.mundane-shop-filters select{min-width:0;min-height:40px;border-color:var(--ledger-control-border, #838179);border-radius:9px;background-color:#f3f1eb;color:var(--store-ink, #1e2925);box-shadow:inset 0 0 0 1px #c9c1b18a;font-size:.78rem;font-weight:750}.item-shop-filters>.command-button{min-height:40px;border-color:#d2ccbf;border-radius:9px;background:#fffdf8;color:#35443f;box-shadow:none}.item-shop-filters>.command-button:hover{border-color:#829c91;background:#edf3ef;color:#173d34;transform:none}.item-shop-filters>.command-button.active-filter{border-color:#879b91;background:#e5eee9;color:#173d34}.mundane-item-shop .item-shop-toolbar{grid-template-columns:minmax(400px,1.05fr) minmax(510px,1.55fr)}.mundane-item-shop .item-shop-heading{grid-column:1 / -1}.mundane-shop-scopes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;max-width:none;margin:0;padding:5px}.mundane-scope-button{min-width:0;min-height:44px;border:0;border-radius:9px;background:transparent;color:#5c6863;padding-inline:10px;box-shadow:none}.mundane-scope-button:hover{background:#f3f1eb;color:#173d34;box-shadow:none;transform:none}.mundane-scope-button.active-filter{background:#e6efe9;color:#173d34;box-shadow:inset 0 0 0 1px #4f74632e}.mundane-scope-button [data-slot=badge]{min-width:29px;border:0;background:#fffc;color:inherit;font-size:.66rem}.mundane-shop-filters{grid-template-columns:minmax(210px,1fr) minmax(150px,.58fr) minmax(150px,.58fr)}.mundane-shop-filters>label:not(.toolbar-search){grid-template-columns:auto minmax(0,1fr);gap:6px;color:var(--store-muted, #66706b);font-size:.67rem;letter-spacing:.04em;text-transform:uppercase}.item-shop-notice{grid-column:1 / -1;margin:0;border-color:#b8c7bf;border-radius:10px;background:#edf4f0;color:#244d40;box-shadow:none}.item-shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:12px;max-width:1600px;margin:0 auto}.item-shop-grid>.empty-list{grid-column:1 / -1}.shop-item-card{--item-accent: #6b7e75;position:relative;display:grid;grid-template-rows:auto auto auto minmax(3.8em,1fr) auto;gap:9px;min-width:0;overflow:hidden;border:1px solid var(--store-line, #d9d4c8);border-radius:14px;background:var(--store-paper, #fffdf8);padding:13px;box-shadow:0 1px 2px #2b261e0d;content-visibility:auto;contain-intrinsic-size:auto 268px;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}.shop-item-card:before{position:absolute;top:0;right:0;left:0;height:3px;background:var(--item-accent);content:""}.shop-item-card:hover{border-color:color-mix(in srgb,var(--item-accent) 48%,#d9d4c8);box-shadow:0 9px 24px #2b261e1a;transform:translateY(-2px)}.magic-item-shop .shop-item-card[data-rarity=common]{--item-accent: #76827d}.magic-item-shop .shop-item-card[data-rarity=uncommon]{--item-accent: #3d8265}.magic-item-shop .shop-item-card[data-rarity=rare]{--item-accent: #416f9f}.magic-item-shop .shop-item-card[data-rarity=very-rare]{--item-accent: #74529a}.magic-item-shop .shop-item-card[data-rarity=legendary]{--item-accent: #ae6c29}.magic-item-shop .shop-item-card[data-rarity=artifact]{--item-accent: #a8463c}.mundane-shop-card{--item-accent: #4f7866;grid-template-rows:auto auto auto minmax(1.35em,1fr) auto;contain-intrinsic-size:auto 232px}.mundane-shop-card[data-consumable=true]{--item-accent: #a16c2f}.shop-item-preview{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;min-width:0;border:0;border-radius:9px;background:transparent;color:var(--store-ink, #1e2925);padding:0;text-align:left}.shop-item-preview:hover .shop-item-title strong{color:var(--store-ink, var(--ledger-ink))}.shop-item-preview:focus-visible{outline:3px solid color-mix(in srgb,var(--item-accent) 25%,transparent);outline-offset:3px}.shop-item-icon{display:grid;width:58px;height:58px;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--item-accent) 20%,#ded9ce);border-radius:12px;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.9),transparent 48%),color-mix(in srgb,var(--item-accent) 9%,#f5f1e7)}.shop-item-icon img{width:86%;height:86%;object-fit:contain}.magic-item-shop .shop-item-card[data-icon-match=type-fallback] .shop-item-icon img{width:68%;height:68%;opacity:.76}.shop-item-title{display:grid;gap:4px;min-width:0}.shop-item-title strong{display:-webkit-box;overflow:hidden;color:var(--store-ink, #1e2925);font-family:Georgia,Times New Roman,serif;font-size:1.01rem;font-weight:700;line-height:1.16;text-overflow:ellipsis;transition:color .12s ease;-webkit-box-orient:vertical;-webkit-line-clamp:2}.shop-item-title small{overflow:hidden;color:var(--store-muted, #5f6964);font-size:.66rem;font-weight:750;letter-spacing:.015em;text-overflow:ellipsis;white-space:nowrap}.shop-item-price{display:flex;min-height:24px;align-items:center;gap:6px;color:#8a5b1e}.shop-item-price svg{width:15px;height:15px}.shop-item-price strong{font-size:.92rem;font-weight:850}.shop-item-price [data-slot=badge]{margin-left:auto}.mundane-shop-weight{margin-left:auto;color:var(--store-muted, #5f6964);font-size:.69rem;font-weight:750}.shop-item-badges{display:flex;min-height:21px;align-items:flex-start;gap:4px;overflow:hidden}.shop-item-badges [data-slot=badge]{min-height:21px;flex:0 0 auto;border:0;background:#efeee8;color:#606b66;padding:2px 7px;font-size:.62rem;font-weight:800;white-space:nowrap}.shop-item-badges [data-slot=badge]:first-child{background:color-mix(in srgb,var(--item-accent) 11%,#f4f1ea);color:var(--store-ink, #1e2925)}.shop-item-description{display:-webkit-box;overflow:hidden;color:#5c6661;font-size:.76rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.mundane-shop-card .shop-item-description{color:#69736e;-webkit-line-clamp:1}.shop-item-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));align-items:center;gap:6px;margin:1px -13px -13px;border-top:1px solid #e6e1d7;background:#faf8f2;padding:8px 10px 9px}.shop-item-actions .command-button,.shop-item-actions .primary-button{min-width:0;min-height:34px;border-radius:8px;padding-inline:7px;box-shadow:none;font-size:.72rem}.shop-item-actions .command-button{border-color:#d8d3c8;background:#fffdf8;color:#52615b}.shop-item-actions .command-button:hover{border-color:#aab8b1;background:#f0f4f1;color:#173d34;transform:none}.shop-item-actions .primary-button{border-color:#245b4d;background:#245b4d;color:#fff}.shop-item-actions .primary-button:hover{border-color:#173d34;background:#173d34;transform:none}.party-items-shell .command-button:focus-visible,.party-items-shell .primary-button:focus-visible,.party-items-shell .mobile-party-tools-toggle:focus-visible{outline:3px solid var(--store-green, #245b4d);outline-offset:2px}.mundane-shop-actions{grid-template-columns:minmax(68px,.9fr) 74px minmax(66px,.9fr)}.mundane-shop-quantity{grid-template-columns:auto minmax(0,1fr);gap:4px;color:var(--store-muted, #5f6964);font-size:.62rem}.mundane-shop-quantity input{min-height:34px;border-color:var(--ledger-control-border, #838179);border-radius:8px;background:#fffdf8;font-size:.75rem}.item-shop-attribution{max-width:1100px;margin:24px auto 0;color:var(--store-muted, #5f6964);font-size:.68rem;font-weight:650;line-height:1.5;text-align:center}.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet{border-color:#cfc8ba;background:#fffdf8}.shop-detail-hero{background:#f6f3ec}.shop-detail-icon{border-color:#d8d1c3;background:radial-gradient(circle at 30% 20%,#fff,transparent 50%),#eae5d9}:root[data-ledger-theme=dark] :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet){border-color:var(--ledger-rule-strong);background:var(--ledger-paper-raised);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .shop-detail-hero{border-color:var(--ledger-rule);background:var(--ledger-paper);color:var(--ledger-ink)}:root[data-ledger-theme=dark] .shop-detail-icon{border-color:var(--ledger-rule-strong);background:var(--ledger-arcane-soft)}:root[data-ledger-theme=dark] :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet) :is(h2,h3,strong){color:var(--ledger-ink)}:root[data-ledger-theme=dark] :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet) :is(p,small,em){color:var(--ledger-muted)}:root[data-ledger-theme=dark] :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet) :is(.shop-detail-price,.shop-detail-price strong){color:var(--ledger-brass-strong)}:root[data-ledger-theme=dark] :is(.shop-detail-sheet,.mundane-shop-detail-sheet,.shop-edit-sheet) :is(input,select,textarea){border-color:var(--ledger-control-border);background:var(--ledger-field);color:var(--ledger-ink);-webkit-text-fill-color:var(--ledger-ink)}@media(min-width:1200px){.magic-item-shop .item-shop-grid{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}}@media(max-width:1320px){.mundane-item-shop .item-shop-toolbar{grid-template-columns:1fr}.mundane-item-shop .item-shop-heading,.mundane-shop-scopes,.mundane-shop-filters{grid-column:1}}@media(max-width:960px){.inventory-shell.party-items-shell{display:block;height:auto;min-height:100vh;overflow:visible}.party-items-shell .inventory-control-panel,.party-items-shell .inventory-main{min-height:auto;overflow:visible}.party-items-shell .inventory-control-panel{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-right:0;border-bottom:1px solid #cbc5b8}.party-items-shell .inventory-control-panel .panel-section{margin:0}.party-items-shell .inventory-control-panel .item-section-panel,.party-items-shell .inventory-control-panel .inventory-notice{grid-column:1 / -1}.item-shop-filters{grid-template-columns:minmax(220px,1fr) minmax(145px,180px) max-content}}@media(max-width:760px){.party-items-shell .inventory-control-panel{display:block;padding:10px 12px}.party-items-shell .inventory-control-panel .panel-section{margin-bottom:8px}.party-items-shell:not(.mobile-party-tools-open) .inventory-control-panel .panel-section:not(.item-section-panel){display:none}.party-items-shell .mobile-party-tools-toggle{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;width:100%;min-height:44px;align-items:center;gap:7px;margin-bottom:8px;border-color:#cfc8ba;border-radius:9px;background:#fffdf8e6;color:#35443f;padding:7px 10px;box-shadow:none;font-size:.72rem;text-align:left}.party-items-shell .mobile-party-tools-toggle span{font-weight:850}.party-items-shell .mobile-party-tools-toggle small{overflow:hidden;color:var(--store-muted, #5f6964);font-size:.62rem;font-weight:750;text-align:right;text-overflow:ellipsis;white-space:nowrap}.party-items-shell .mobile-party-tools-toggle .chevron-open{transform:rotate(180deg)}.inventory-shop-main .item-shop{padding:12px 12px 34px}.item-shop-heading{min-height:52px;align-items:center;flex-direction:row;gap:10px;border-radius:12px;padding:7px 8px 7px 12px}.item-shop-heading>div:first-child{grid-template-areas:"title";grid-template-columns:minmax(0,1fr);min-width:0}.item-shop-heading .source-pill,.item-shop-heading p{display:none}.item-shop-heading h1{min-width:0;overflow:hidden;font-size:1.08rem;text-overflow:ellipsis;white-space:nowrap}.item-shop-count{display:flex;min-width:0;flex:0 0 auto;align-items:center;gap:5px;padding:6px 8px}.item-shop-count svg{width:14px;height:14px}.item-shop-count strong{font-size:.9rem}.item-shop-filters{grid-template-columns:minmax(0,1fr) auto}.item-shop-filters .toolbar-search{grid-column:1 / -1}.mundane-shop-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-sort-control,.mundane-shop-filters>label:not(.toolbar-search){grid-template-columns:58px minmax(0,1fr)}.mundane-shop-scopes{grid-template-columns:repeat(3,minmax(0,1fr))}.mundane-scope-button{display:grid;justify-items:center;gap:2px;padding:6px 3px;font-size:.7rem}.item-shop-grid{grid-template-columns:1fr}.shop-item-card{content-visibility:visible}.shop-item-actions .command-button,.shop-item-actions .primary-button{min-height:44px}}@media(max-width:380px){.item-shop-count span{display:none}.party-items-shell .item-row-header{display:contents}.party-items-shell .item-row-scan-actions{justify-content:flex-start}.mundane-shop-actions{grid-template-columns:1fr 70px 1fr}.shop-item-actions .command-button,.shop-item-actions .primary-button{padding-inline:5px}}
