/* vendor/restore-legacy.css */
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-scroll-snap-strictness:proximity;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction: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-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--scroll-fade-t:0px;--scroll-fade-b:0px;--scroll-fade-s:0px;--scroll-fade-e:0px;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@layer theme{:root,:host{--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-lg:32rem;--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:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-xs:.125rem;--radius-xl:.75rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:Arial,Helvetica,sans-serif;--default-mono-font-family:var(--font-mono);--color-border:var(--border)}}@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]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;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{.\@container\/card-header{container:card-header/inline-size}.\@container\/field-group{container:field-group/inline-size}.pointer-events-none{pointer-events:none}.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}.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)}.inset-s-1\/2{inset-inline-start:50%}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-12{top:calc(var(--spacing) * -12)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-3\.5{top:calc(var(--spacing) * 3.5)}.top-4{top:calc(var(--spacing) * 4)}.top-\[1px\]{top:1px}.top-\[50\%\]{top:50%}.top-\[60\%\]{top:60%}.top-full{top:100%}.-right-12{right:calc(var(--spacing) * -12)}.right-0{right:calc(var(--spacing) * 0)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-3\.5{right:calc(var(--spacing) * 3.5)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-12{bottom:calc(var(--spacing) * -12)}.bottom-0{bottom:calc(var(--spacing) * 0)}.-left-12{left:calc(var(--spacing) * -12)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[1\]{z-index:1}.order-first{order:-9999}.order-last{order:9999}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.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}}.m-0\!{margin:calc(var(--spacing) * 0)!important}.m-10{margin:calc(var(--spacing) * 10)}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-0{margin-block:calc(var(--spacing) * 0)}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.my-1{margin-block:calc(var(--spacing) * 1)}.-mt-4{margin-top:calc(var(--spacing) * -4)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.-ml-4{margin-left:calc(var(--spacing) * -4)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.line-clamp-1{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--cell-size\){width:var(--cell-size);height:var(--cell-size)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-16{width:calc(var(--spacing) * 16);height:calc(var(--spacing) * 16)}.size-auto{width:auto;height:auto}.size-full{width:100%;height:100%}.h-\(--cell-size\){height:var(--cell-size)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.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-12{height:calc(var(--spacing) * 12)}.h-\[calc\(--spacing\(5\.5\)\)\]{height:calc(calc(var(--spacing) * 5.5))}.h-\[calc\(100\%-1px\)\]{height:calc(100% - 1px)}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-px{height:1px}.h-svh{height:100svh}.max-h-\(--radix-context-menu-content-available-height\){max-height:var(--radix-context-menu-content-available-height)}.max-h-\(--radix-dropdown-menu-content-available-height\){max-height:var(--radix-dropdown-menu-content-available-height)}.max-h-\(--radix-select-content-available-height\){max-height:var(--radix-select-content-available-height)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[300px\]{max-height:300px}.max-h-\[min\(calc\(--spacing\(96\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\]{max-height:min(calc(calc(var(--spacing) * 96) - calc(var(--spacing) * 9)), calc(var(--available-height) - calc(var(--spacing) * 9)))}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-full{min-height:100%}.min-h-svh{min-height:100svh}.w-\(--anchor-width\){width:var(--anchor-width)}.w-\(--cell-size\){width:var(--cell-size)}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-0{width:calc(var(--spacing) * 0)}.w-1{width:calc(var(--spacing) * 1)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-24{width:calc(var(--spacing) * 24)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[100px\]{width:100px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-\(--available-width\){max-width:var(--available-width)}.max-w-\(--skeleton-width\){max-width:var(--skeleton-width)}.max-w-\[80\%\]{max-width:80%}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-full{max-width:100%}.max-w-max{max-width:max-content}.max-w-sm{max-width:var(--container-sm)}.min-w-\(--cell-size\){min-width:var(--cell-size)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-9{min-width:calc(var(--spacing) * 9)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[calc\(var\(--anchor-width\)\+--spacing\(7\)\)\]{min-width:calc(var(--anchor-width) + calc(var(--spacing) * 7))}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-full{flex-basis:100%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.origin-\(--radix-context-menu-content-transform-origin\){transform-origin:var(--radix-context-menu-content-transform-origin)}.origin-\(--radix-dropdown-menu-content-transform-origin\){transform-origin:var(--radix-dropdown-menu-content-transform-origin)}.origin-\(--radix-hover-card-content-transform-origin\){transform-origin:var(--radix-hover-card-content-transform-origin)}.origin-\(--radix-menubar-content-transform-origin\){transform-origin:var(--radix-menubar-content-transform-origin)}.origin-\(--radix-popover-content-transform-origin\){transform-origin:var(--radix-popover-content-transform-origin)}.origin-\(--radix-select-content-transform-origin\){transform-origin:var(--radix-select-content-transform-origin)}.origin-\(--radix-tooltip-content-transform-origin\){transform-origin:var(--radix-tooltip-content-transform-origin)}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-3\/4{--tw-translate-y:calc(calc(3 / 4 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0\.5{--tw-translate-y:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-3\/4{--tw-translate-y:calc(3 / 4 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%_-_2px\)\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.shimmer{--_spread:var(--shimmer-spread,calc(3ch + 40px));--_base:currentColor;--_highlight:var(--shimmer-color,oklch(from currentColor l c h / calc(alpha* .2)));background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), var(--_highlight) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, var(--_highlight) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}@supports (color:color-mix(in lab, red, red)){.shimmer{background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}}.shimmer{background-repeat:no-repeat;background-size:calc(200% + var(--_spread) * 2) 100%;-webkit-text-fill-color:var(--shimmer-text-fill,transparent);animation:tw-shimmer var(--shimmer-duration,2s) linear infinite;background-position:0 0;-webkit-background-clip:text;background-clip:text}@media (prefers-color-scheme:dark){.shimmer{--_highlight:var(--shimmer-color,oklch(from currentColor max(.8, calc(l + .4)) c h / calc(alpha + .4)))}}.shimmer:where([dir=rtl],[dir=rtl] *){animation-direction:reverse}.scroll-fade-x{--_scroll-fade-size-s:var(--scroll-fade-s-size,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))));--_scroll-fade-size-e:var(--scroll-fade-e-size,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))));--scroll-fade-inline:linear-gradient(to right, transparent 0, #000 var(--scroll-fade-s,0px), #000 calc(100% - var(--scroll-fade-e,0px)), transparent 100%)}.scroll-fade-x:where([dir=rtl],[dir=rtl] *){--scroll-fade-inline:linear-gradient(to left, transparent 0, #000 var(--scroll-fade-s,0px), #000 calc(100% - var(--scroll-fade-e,0px)), transparent 100%)}.scroll-fade-x{-webkit-mask-image:var(--scroll-fade-mask,var(--scroll-fade-inline));-webkit-mask-image:var(--scroll-fade-mask,var(--scroll-fade-inline));-webkit-mask-image:var(--scroll-fade-mask,var(--scroll-fade-inline));-webkit-mask-image:var(--scroll-fade-mask,var(--scroll-fade-inline));mask-image:var(--scroll-fade-mask,var(--scroll-fade-inline));-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-composite:intersect}@supports (animation-timeline:scroll()){.scroll-fade-x{animation:1ms ease-in-out scroll-fade-reveal-s,1ms ease-in-out scroll-fade-reveal-e;animation-timeline:scroll(self inline),scroll(self inline);animation-range:0 var(--scroll-fade-reveal,calc(var(--spacing) * 24)), calc(100% - var(--scroll-fade-reveal,calc(var(--spacing) * 24))) 100%;animation-fill-mode:both}}@supports not (animation-timeline:scroll()){.scroll-fade-x{--scroll-fade-s:var(--_scroll-fade-size-s);--scroll-fade-e:var(--_scroll-fade-size-e)}}.scroll-fade-b{--_scroll-fade-size-b:var(--scroll-fade-b-size,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))));--scroll-fade-mask:linear-gradient(to bottom, #000 0, #000 calc(100% - var(--scroll-fade-b,0px)), transparent 100%);-webkit-mask-image:var(--scroll-fade-mask);-webkit-mask-image:var(--scroll-fade-mask);-webkit-mask-image:var(--scroll-fade-mask);-webkit-mask-image:var(--scroll-fade-mask);mask-image:var(--scroll-fade-mask);-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-composite:source-in;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-composite:source-in;mask-composite:intersect}@supports (animation-timeline:scroll()){.scroll-fade-b{animation:1ms ease-in-out scroll-fade-reveal-b;animation-timeline:scroll(self y);animation-range:calc(100% - var(--scroll-fade-reveal,calc(var(--spacing) * 24))) 100%;animation-fill-mode:both}}@supports not (animation-timeline:scroll()){.scroll-fade-b{--scroll-fade-b:var(--_scroll-fade-size-b)}}.animate-caret-blink{animation:1.25s ease-out infinite caret-blink}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-text{cursor:text}.touch-none{touch-action:none}.resize-none{resize:none}.snap-x{scroll-snap-type:x var(--tw-scroll-snap-strictness)}.snap-mandatory{--tw-scroll-snap-strictness:mandatory}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.scroll-px-1{scroll-padding-inline:calc(var(--spacing) * 1)}.scroll-py-1{scroll-padding-block:calc(var(--spacing) * 1)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{appearance:none}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-\[0_1fr\]{grid-template-columns:0 1fr}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.place-items-center{place-items:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.justify-items-start{justify-items:start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-7{gap:calc(var(--spacing) * 7)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[--spacing\(var\(--gap\)\)\]{gap:calc(var(--spacing) * var(--gap))}:where(.-space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * -2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * -2) * calc(1 - var(--tw-space-x-reverse)))}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[4px\]{border-radius:4px}.rounded-\[calc\(var\(--radius\)-5px\)\]{border-radius:calc(var(--radius) - 5px)}.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-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.rounded-r-md{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-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-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\(--color-border\){border-color:var(--color-border)}.border-border,.border-border\/50{border-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--border) 50%, transparent)}}.border-input{border-color:var(--input)}.border-primary{border-color:var(--primary)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\(--color-bg\){background-color:var(--color-bg)}.bg-\[Canvas\]{background-color:canvas}.bg-accent{background-color:var(--accent)}.bg-background{background-color:var(--background)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-foreground{background-color:var(--foreground)}.bg-input{background-color:var(--input)}.bg-muted,.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary,.bg-primary\/20{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.bg-primary\/20{background-color:color-mix(in oklab, var(--primary) 20%, transparent)}}.bg-secondary{background-color:var(--secondary)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-clip-padding{background-clip:padding-box}.fill-current{fill:currentColor}.fill-foreground{fill:var(--foreground)}.fill-primary{fill:var(--primary)}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[3px\]{padding:3px}.p-px{padding:1px}.px-\(--cell-size\){padding-inline:var(--cell-size)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.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)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pr-9{padding-right:calc(var(--spacing) * 9)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:Arial,Helvetica,sans-serif}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\/relaxed{font-size:var(--text-sm);line-height:var(--leading-relaxed)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[0\.8rem\]{font-size:calc(.8rem * var(--restore-text-scale,1))}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words,.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.text-\[CanvasText\]{color:canvastext}.text-accent-foreground{color:var(--accent-foreground)}.text-background{color:var(--background)}.text-card-foreground{color:var(--card-foreground)}.text-current{color:currentColor}.text-destructive{color:var(--destructive)}.text-foreground,.text-foreground\/60{color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.text-foreground\/60{color:color-mix(in oklab, var(--foreground) 60%, transparent)}}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-white{color:var(--color-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.overline{text-decoration-line:overline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.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-\[0_0_0_1px_var\(--sidebar-border\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-border));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-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--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-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px 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{--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)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + 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)}.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)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + 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)}.ring-3{--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)}.ring-background{--tw-ring-color:var(--background)}.ring-card{--tw-ring-color:var(--card)}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-ring\/50{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.ring-ring\/50{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.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,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,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-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[translate\,scale\,opacity\]{transition-property:translate,scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;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-shadow{transition-property:box-shadow;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))}.transition-none{transition-property:none}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-1000{--tw-duration:1s;transition-duration:1s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.contain-content{contain:content}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{user-select:none}.zoom-in-95{--tw-enter-scale:.95}.\[--cell-size\:--spacing\(8\)\]{--cell-size:calc(var(--spacing) * 8)}.\[contain-intrinsic-size\:auto_10rem\]{contain-intrinsic-size:auto 10rem}.\[content-visibility\:auto\]{content-visibility:auto}.paused{animation-play-state:paused}.running{animation-play-state:running}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-\[size\=lg\]\/avatar-group\:size-10:is(:where(.group\/avatar-group):has([data-size=lg]) *){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.group-has-data-\[size\=sm\]\/avatar-group\:size-6:is(:where(.group\/avatar-group):has([data-size=sm]) *){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.group-has-data-\[slot\=combobox-clear\]\/input-group\:hidden:is(:where(.group\/input-group):has([data-slot=combobox-clear]) *){display:none}.group-has-data-\[slot\=message-footer\]\/message\:-translate-y-8:is(:where(.group\/message):has([data-slot=message-footer]) *){--tw-translate-y:calc(var(--spacing) * -8);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-has-data-\[variant\=ghost\]\/message\:px-0:is(:where(.group\/message):has([data-variant=ghost]) *){padding-inline:calc(var(--spacing) * 0)}.group-has-\[\[data-orientation\=horizontal\]\]\/field\:text-balance:is(:where(.group\/field):has([data-orientation=horizontal]) *){text-wrap:balance}.group-has-\[\[data-slot\=item-description\]\]\/item\:translate-y-0\.5:is(:where(.group\/item):has([data-slot=item-description]) *){--tw-translate-y:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-has-\[\[data-slot\=item-description\]\]\/item\:self-start:is(:where(.group\/item):has([data-slot=item-description]) *){align-self:flex-start}.group-has-\[\>input\]\/input-group\:pt-2\.5:is(:where(.group\/input-group):has(>input) *){padding-top:calc(var(--spacing) * 2.5)}.group-has-\[\>input\]\/input-group\:pb-2\.5:is(:where(.group\/input-group):has(>input) *){padding-bottom:calc(var(--spacing) * 2.5)}.group-data-empty\/combobox-content\:flex:is(:where(.group\/combobox-content)[data-empty] *){display:flex}.group-data-\[align\=end\]\/bubble\:self-end:is(:where(.group\/bubble)[data-align=end] *){align-self:flex-end}.group-data-\[align\=end\]\/message\:justify-end:is(:where(.group\/message)[data-align=end] *){justify-content:flex-end}.group-data-\[align\=end\]\/message\:self-end:is(:where(.group\/message)[data-align=end] *){align-self:flex-end}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offcanvas\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offcanvas\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offcanvas\]\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing) * 0)}.group-data-\[collapsible\=offcanvas\]\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\[disabled\=true\]\/field\:opacity-50:is(:where(.group\/field)[data-disabled=true] *),.group-data-\[disabled\=true\]\/input-group\:opacity-50:is(:where(.group\/input-group)[data-disabled=true] *){opacity:.5}.group-data-\[focused\=true\]\/day\:relative:is(:where(.group\/day)[data-focused=true] *){position:relative}.group-data-\[focused\=true\]\/day\:z-10:is(:where(.group\/day)[data-focused=true] *){z-index:10}.group-data-\[focused\=true\]\/day\:border-ring:is(:where(.group\/day)[data-focused=true] *){border-color:var(--ring)}.group-data-\[focused\=true\]\/day\:ring-\[3px\]:is(:where(.group\/day)[data-focused=true] *){--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)}.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.group-data-\[focused\=true\]\/day\:ring-ring\/50:is(:where(.group\/day)[data-focused=true] *){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.group-data-\[orientation\=horizontal\]\/tabs\:h-9:is(:where(.group\/tabs)[data-orientation=horizontal] *){height:calc(var(--spacing) * 9)}.group-data-\[orientation\=vertical\]\/attachment\:absolute:is(:where(.group\/attachment)[data-orientation=vertical] *){position:absolute}.group-data-\[orientation\=vertical\]\/attachment\:top-3:is(:where(.group\/attachment)[data-orientation=vertical] *){top:calc(var(--spacing) * 3)}.group-data-\[orientation\=vertical\]\/attachment\:right-3:is(:where(.group\/attachment)[data-orientation=vertical] *){right:calc(var(--spacing) * 3)}.group-data-\[orientation\=vertical\]\/attachment\:w-full:is(:where(.group\/attachment)[data-orientation=vertical] *){width:100%}.group-data-\[orientation\=vertical\]\/attachment\:gap-1:is(:where(.group\/attachment)[data-orientation=vertical] *){gap:calc(var(--spacing) * 1)}.group-data-\[orientation\=vertical\]\/attachment\:px-1:is(:where(.group\/attachment)[data-orientation=vertical] *){padding-inline:calc(var(--spacing) * 1)}.group-data-\[orientation\=vertical\]\/tabs\:h-fit:is(:where(.group\/tabs)[data-orientation=vertical] *){height:fit-content}.group-data-\[orientation\=vertical\]\/tabs\:w-full:is(:where(.group\/tabs)[data-orientation=vertical] *){width:100%}.group-data-\[orientation\=vertical\]\/tabs\:flex-col:is(:where(.group\/tabs)[data-orientation=vertical] *){flex-direction:column}.group-data-\[orientation\=vertical\]\/tabs\:justify-start:is(:where(.group\/tabs)[data-orientation=vertical] *){justify-content:flex-start}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing) * 0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[size\=default\]\/avatar\:size-2\.5:is(:where(.group\/avatar)[data-size=default] *){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.group-data-\[size\=default\]\/switch\:size-4:is(:where(.group\/switch)[data-size=default] *){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.group-data-\[size\=lg\]\/avatar\:size-3:is(:where(.group\/avatar)[data-size=lg] *){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/alert-dialog-content\:grid:is(:where(.group\/alert-dialog-content)[data-size=sm] *){display:grid}.group-data-\[size\=sm\]\/alert-dialog-content\:grid-cols-2:is(:where(.group\/alert-dialog-content)[data-size=sm] *){grid-template-columns:repeat(2,minmax(0,1fr))}.group-data-\[size\=sm\]\/attachment\:w-8:is(:where(.group\/attachment)[data-size=sm] *){width:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/avatar\:size-2:is(:where(.group\/avatar)[data-size=sm] *){width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:text-xs:is(:where(.group\/avatar)[data-size=sm] *){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.group-data-\[size\=sm\]\/switch\:size-3:is(:where(.group\/switch)[data-size=sm] *){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=xs\]\/attachment\:w-7:is(:where(.group\/attachment)[data-size=xs] *){width:calc(var(--spacing) * 7)}.group-data-\[size\=xs\]\/attachment\:rounded-md:is(:where(.group\/attachment)[data-size=xs] *){border-radius:calc(var(--radius) - 2px)}.group-data-\[state\=done\]\/attachment\:opacity-100:is(:where(.group\/attachment)[data-state=done] *){opacity:1}.group-data-\[state\=error\]\/attachment\:bg-destructive\/10:is(:where(.group\/attachment)[data-state=error] *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.group-data-\[state\=error\]\/attachment\:bg-destructive\/10:is(:where(.group\/attachment)[data-state=error] *){background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.group-data-\[state\=error\]\/attachment\:text-destructive:is(:where(.group\/attachment)[data-state=error] *),.group-data-\[state\=error\]\/attachment\:text-destructive\/80:is(:where(.group\/attachment)[data-state=error] *){color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.group-data-\[state\=error\]\/attachment\:text-destructive\/80:is(:where(.group\/attachment)[data-state=error] *){color:color-mix(in oklab, var(--destructive) 80%, transparent)}}.group-data-\[state\=idle\]\/attachment\:opacity-100:is(:where(.group\/attachment)[data-state=idle] *){opacity:1}.group-data-\[state\=open\]\:rotate-180:is(:where(.group)[data-state=open] *){rotate:180deg}.group-data-\[state\=processing\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=processing] *){--_spread:var(--shimmer-spread,calc(3ch + 40px));--_base:currentColor;--_highlight:var(--shimmer-color,oklch(from currentColor l c h / calc(alpha* .2)));background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), var(--_highlight) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, var(--_highlight) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}@supports (color:color-mix(in lab, red, red)){.group-data-\[state\=processing\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=processing] *){background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}}.group-data-\[state\=processing\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=processing] *){background-repeat:no-repeat;background-size:calc(200% + var(--_spread) * 2) 100%;-webkit-text-fill-color:var(--shimmer-text-fill,transparent);animation:tw-shimmer var(--shimmer-duration,2s) linear infinite;background-position:0 0;-webkit-background-clip:text;background-clip:text}@media (prefers-color-scheme:dark){.group-data-\[state\=processing\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=processing] *){--_highlight:var(--shimmer-color,oklch(from currentColor max(.8, calc(l + .4)) c h / calc(alpha + .4)))}}.group-data-\[state\=processing\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=processing] *):where([dir=rtl],[dir=rtl] *){animation-direction:reverse}.group-data-\[state\=uploading\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=uploading] *){--_spread:var(--shimmer-spread,calc(3ch + 40px));--_base:currentColor;--_highlight:var(--shimmer-color,oklch(from currentColor l c h / calc(alpha* .2)));background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), var(--_highlight) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, var(--_highlight) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}@supports (color:color-mix(in lab, red, red)){.group-data-\[state\=uploading\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=uploading] *){background-image:var(--shimmer-image,linear-gradient(calc(90deg + var(--shimmer-angle)), var(--_base) calc(50% - var(--_spread)), color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% - var(--_spread) * .5), var(--_highlight) 50%, color-mix(in oklch, var(--_highlight), var(--_base) 50%) calc(50% + var(--_spread) * .5), var(--_base) calc(50% + var(--_spread))))}}.group-data-\[state\=uploading\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=uploading] *){background-repeat:no-repeat;background-size:calc(200% + var(--_spread) * 2) 100%;-webkit-text-fill-color:var(--shimmer-text-fill,transparent);animation:tw-shimmer var(--shimmer-duration,2s) linear infinite;background-position:0 0;-webkit-background-clip:text;background-clip:text}@media (prefers-color-scheme:dark){.group-data-\[state\=uploading\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=uploading] *){--_highlight:var(--shimmer-color,oklch(from currentColor max(.8, calc(l + .4)) c h / calc(alpha + .4)))}}.group-data-\[state\=uploading\]\/attachment\:shimmer:is(:where(.group\/attachment)[data-state=uploading] *):where([dir=rtl],[dir=rtl] *){animation-direction:reverse}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius)}.group-data-\[variant\=floating\]\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--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)}.group-data-\[variant\=line\]\/tabs-list\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *){background-color:#0000}.group-data-\[variant\=outline\]\/field-group\:-mb-2:is(:where(.group\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}.group-data-\[variant\=separator\]\/marker\:flex-none:is(:where(.group\/marker)[data-variant=separator] *){flex:none}.group-data-\[variant\=separator\]\/marker\:text-center:is(:where(.group\/marker)[data-variant=separator] *){text-align:center}.group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:block:is(:where(.group\/drawer-content)[data-vaul-drawer-direction=bottom] *){display:block}.group-data-\[vaul-drawer-direction\=bottom\]\/drawer-content\:text-center:is(:where(.group\/drawer-content)[data-vaul-drawer-direction=bottom] *),.group-data-\[vaul-drawer-direction\=top\]\/drawer-content\:text-center:is(:where(.group\/drawer-content)[data-vaul-drawer-direction=top] *){text-align:center}.group-data-\[viewport\=false\]\/navigation-menu\:top-full:is(:where(.group\/navigation-menu)[data-viewport=false] *){top:100%}.group-data-\[viewport\=false\]\/navigation-menu\:mt-1\.5:is(:where(.group\/navigation-menu)[data-viewport=false] *){margin-top:calc(var(--spacing) * 1.5)}.group-data-\[viewport\=false\]\/navigation-menu\:overflow-hidden:is(:where(.group\/navigation-menu)[data-viewport=false] *){overflow:hidden}.group-data-\[viewport\=false\]\/navigation-menu\:rounded-md:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-radius:calc(var(--radius) - 2px)}.group-data-\[viewport\=false\]\/navigation-menu\:border:is(:where(.group\/navigation-menu)[data-viewport=false] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\[viewport\=false\]\/navigation-menu\:bg-popover:is(:where(.group\/navigation-menu)[data-viewport=false] *){background-color:var(--popover)}.group-data-\[viewport\=false\]\/navigation-menu\:text-popover-foreground:is(:where(.group\/navigation-menu)[data-viewport=false] *){color:var(--popover-foreground)}.group-data-\[viewport\=false\]\/navigation-menu\:shadow:is(:where(.group\/navigation-menu)[data-viewport=false] *){--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)}.group-data-\[viewport\=false\]\/navigation-menu\:duration-200:is(:where(.group\/navigation-menu)[data-viewport=false] *){--tw-duration:.2s;transition-duration:.2s}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing) * 1)}.selection\:bg-primary ::selection,.selection\:bg-primary::selection{background-color:var(--primary)}.selection\:text-primary-foreground ::selection,.selection\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.before\:mr-1:before{content:var(--tw-content);margin-right:calc(var(--spacing) * 1)}.before\:h-px:before{content:var(--tw-content);height:1px}.before\:min-w-0:before{content:var(--tw-content);min-width:calc(var(--spacing) * 0)}.before\:flex-1:before{content:var(--tw-content);flex:1}.before\:bg-border:before{content:var(--tw-content);background-color:var(--border)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:ml-1:after{content:var(--tw-content);margin-left:calc(var(--spacing) * 1)}.after\:h-px:after{content:var(--tw-content);height:1px}.after\:w-1:after{content:var(--tw-content);width:calc(var(--spacing) * 1)}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:min-w-0:after{content:var(--tw-content);min-width:calc(var(--spacing) * 0)}.after\:flex-1:after{content:var(--tw-content);flex:1}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.after\:bg-border:after{content:var(--tw-content);background-color:var(--border)}.after\:bg-foreground:after{content:var(--tw-content);background-color:var(--foreground)}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:transition-opacity:after{content:var(--tw-content);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.group-data-\[collapsible\=offcanvas\]\:after\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}.group-data-\[orientation\=horizontal\]\/tabs\:after\:inset-x-0:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);inset-inline:calc(var(--spacing) * 0)}.group-data-\[orientation\=horizontal\]\/tabs\:after\:bottom-\[-5px\]:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);bottom:-5px}.group-data-\[orientation\=horizontal\]\/tabs\:after\:h-0\.5:is(:where(.group\/tabs)[data-orientation=horizontal] *):after{content:var(--tw-content);height:calc(var(--spacing) * .5)}.group-data-\[orientation\=vertical\]\/tabs\:after\:inset-y-0:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.group-data-\[orientation\=vertical\]\/tabs\:after\:-right-1:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);right:calc(var(--spacing) * -1)}.group-data-\[orientation\=vertical\]\/tabs\:after\:w-0\.5:is(:where(.group\/tabs)[data-orientation=vertical] *):after{content:var(--tw-content);width:calc(var(--spacing) * .5)}.first\:rounded-l-md:first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.first\:border-l:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.last\:mt-0:last-child{margin-top:calc(var(--spacing) * 0)}.last\:rounded-r-md:last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-ring:focus-within{border-color:var(--ring)}.focus-within\:ring-1:focus-within{--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)}.focus-within\:ring-\[3px\]:focus-within{--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-within\:ring-ring\/50:focus-within{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-within\:ring-ring\/50:focus-within{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}@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:hover,.hover\:bg-muted\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/50:hover{background-color:color-mix(in oklab, var(--muted) 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\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_var\(--sidebar-accent\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,var(--sidebar-accent));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:ring-4:hover{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + 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\:z-10:focus{z-index:10}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus{color:var(--accent-foreground)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + 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\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:z-10:focus-visible{z-index:10}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + 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-1:focus-visible{--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)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + 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-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + 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-\[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-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring:focus-visible,.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\:outline-ring:focus-visible{outline-color:var(--ring)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}.has-focus\:border-ring:has(:focus){border-color:var(--ring)}.has-focus\:ring-\[3px\]:has(:focus){--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)}.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-focus\:ring-ring\/50:has(:focus){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.has-disabled\:pointer-events-none:has(:disabled){pointer-events:none}.has-disabled\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-disabled\:opacity-50:has(:disabled){opacity:.5}.has-aria-expanded\:bg-muted\/50:has([aria-expanded=true]){background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.has-aria-expanded\:bg-muted\/50:has([aria-expanded=true]){background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.has-aria-invalid\:border-destructive:has([aria-invalid=true]){border-color:var(--destructive)}.has-aria-invalid\:ring-\[3px\]:has([aria-invalid=true]){--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)}.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_auto_1fr\]:has([data-slot=alert-dialog-media]){grid-template-rows:auto auto 1fr}.has-data-\[slot\=alert-dialog-media\]\:gap-x-6:has([data-slot=alert-dialog-media]){column-gap:calc(var(--spacing) * 6)}.has-data-\[slot\=attachment-content\]\:w-30:has([data-slot=attachment-content]){width:calc(var(--spacing) * 30)}.has-data-\[slot\=attachment-content\]\:px-1\.5:has([data-slot=attachment-content]){padding-inline:calc(var(--spacing) * 1.5)}.has-data-\[slot\=attachment-content\]\:px-2:has([data-slot=attachment-content]){padding-inline:calc(var(--spacing) * 2)}.has-data-\[slot\=attachment-content\]\:px-2\.5:has([data-slot=attachment-content]){padding-inline:calc(var(--spacing) * 2.5)}.has-data-\[slot\=attachment-content\]\:py-1:has([data-slot=attachment-content]){padding-block:calc(var(--spacing) * 1)}.has-data-\[slot\=attachment-content\]\:py-1\.5:has([data-slot=attachment-content]){padding-block:calc(var(--spacing) * 1.5)}.has-data-\[slot\=attachment-content\]\:py-2:has([data-slot=attachment-content]){padding-block:calc(var(--spacing) * 2)}.has-data-\[slot\=attachment-media\]\:p-1:has([data-slot=attachment-media]){padding:calc(var(--spacing) * 1)}.has-data-\[slot\=attachment-media\]\:p-1\.5:has([data-slot=attachment-media]){padding:calc(var(--spacing) * 1.5)}.has-data-\[slot\=attachment-media\]\:p-2:has([data-slot=attachment-media]){padding:calc(var(--spacing) * 2)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=combobox-chip\]\:px-1\.5:has([data-slot=combobox-chip]){padding-inline:calc(var(--spacing) * 1.5)}.has-data-\[slot\=combobox-chip-remove\]\:pr-0:has([data-slot=combobox-chip-remove]){padding-right:calc(var(--spacing) * 0)}.has-data-\[state\=checked\]\:border-primary:has([data-state=checked]){border-color:var(--primary)}.has-data-\[state\=checked\]\:bg-primary\/5:has([data-state=checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-\[state\=checked\]\:bg-primary\/5:has([data-state=checked]){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-ring:has([data-slot=input-group-control]:focus-visible){border-color:var(--ring)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-\[3px\]:has([data-slot=input-group-control]: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)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/50:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]){border-color:var(--destructive)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-\[button\]\:p-0:has(:is(button)){padding:calc(var(--spacing) * 0)}.has-\[select\:disabled\]\:opacity-50:has(:is(select:disabled)){opacity:.5}.has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]){height:auto}.has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]){flex-direction:column}.has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]){height:auto}.has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]){flex-direction:column}.has-\[\>\[data-slot\=button-group\]\]\:gap-2:has(>[data-slot=button-group]){gap:calc(var(--spacing) * 2)}.has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\[\>\[data-slot\=field\]\]\:w-full:has(>[data-slot=field]){width:100%}.has-\[\>\[data-slot\=field\]\]\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\[\>\[data-slot\=field\]\]\:rounded-md:has(>[data-slot=field]){border-radius:calc(var(--radius) - 2px)}.has-\[\>\[data-slot\=field\]\]\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\[\>\[data-slot\=radio-group\]\]\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}@media (hover:hover){.has-\[\>a\,\>button\]\:hover\:bg-muted\/50:has(>a,>button):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.has-\[\>a\,\>button\]\:hover\:bg-muted\/50:has(>a,>button):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.has-\[\>button\]\:mr-\[-0\.45rem\]:has(>button){margin-right:-.45rem}.has-\[\>button\]\:ml-\[-0\.45rem\]:has(>button){margin-left:-.45rem}.has-\[\>kbd\]\:mr-\[-0\.35rem\]:has(>kbd){margin-right:-.35rem}.has-\[\>kbd\]\:ml-\[-0\.35rem\]:has(>kbd){margin-left:-.35rem}.has-\[\>svg\]\:grid-cols-\[calc\(var\(--spacing\)\*4\)_1fr\]:has(>svg){grid-template-columns:calc(var(--spacing) * 4) 1fr}.has-\[\>svg\]\:gap-x-3:has(>svg){column-gap:calc(var(--spacing) * 3)}.has-\[\>svg\]\:p-0:has(>svg){padding:calc(var(--spacing) * 0)}.has-\[\>svg\]\:px-1\.5:has(>svg){padding-inline:calc(var(--spacing) * 1.5)}.has-\[\>svg\]\:px-2:has(>svg){padding-inline:calc(var(--spacing) * 2)}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing) * 2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing) * 3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing) * 4)}.has-\[\>textarea\]\:h-auto:has(>textarea){height:auto}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.aria-selected\:text-muted-foreground[aria-selected=true]{color:var(--muted-foreground)}.aria-\[orientation\=horizontal\]\:h-px[aria-orientation=horizontal]{height:1px}.aria-\[orientation\=horizontal\]\:w-full[aria-orientation=horizontal]{width:100%}.aria-\[orientation\=horizontal\]\:after\:left-0[aria-orientation=horizontal]:after{content:var(--tw-content);left:calc(var(--spacing) * 0)}.aria-\[orientation\=horizontal\]\:after\:h-1[aria-orientation=horizontal]:after{content:var(--tw-content);height:calc(var(--spacing) * 1)}.aria-\[orientation\=horizontal\]\:after\:w-full[aria-orientation=horizontal]:after{content:var(--tw-content);width:100%}.aria-\[orientation\=horizontal\]\:after\:translate-x-0[aria-orientation=horizontal]:after{content:var(--tw-content);--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.aria-\[orientation\=horizontal\]\:after\:-translate-y-1\/2[aria-orientation=horizontal]:after{content:var(--tw-content);--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.aria-\[orientation\=vertical\]\:flex-col[aria-orientation=vertical]{flex-direction:column}.data-empty\:p-0[data-empty]{padding:calc(var(--spacing) * 0)}.data-highlighted\:bg-accent[data-highlighted]{background-color:var(--accent)}.data-highlighted\:text-accent-foreground[data-highlighted]{color:var(--accent-foreground)}.data-pressed\:bg-transparent[data-pressed]{background-color:#0000}:is(.group-data-\[align\=end\]\/message\:\*\:data-slot\:self-end:is(:where(.group\/message)[data-align=end] *)>*)[data-slot]{align-self:flex-end}.data-\[active\=false\]\:pointer-events-none[data-active=false]{pointer-events:none}.data-\[active\=false\]\:scale-95[data-active=false]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[active\=false\]\:opacity-0[data-active=false]{opacity:0}.data-\[active\=false\]\:duration-400[data-active=false]{--tw-duration:.4s;transition-duration:.4s}.data-\[active\=false\]\:ease-\[cubic-bezier\(0\.7\,0\,0\.84\,0\)\][data-active=false]{--tw-ease:cubic-bezier(.7,0,.84,0);transition-timing-function:cubic-bezier(.7,0,.84,0)}.data-\[active\=true\]\:z-10[data-active=true]{z-index:10}.data-\[active\=true\]\:translate-y-0[data-active=true]{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[active\=true\]\:scale-100[data-active=true]{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[active\=true\]\:border-ring[data-active=true]{border-color:var(--ring)}.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.data-\[active\=true\]\:bg-accent\/50[data-active=true]{background-color:color-mix(in oklab, var(--accent) 50%, transparent)}}.data-\[active\=true\]\:font-medium[data-active=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[active\=true\]\:text-accent-foreground[data-active=true]{color:var(--accent-foreground)}.data-\[active\=true\]\:opacity-100[data-active=true]{opacity:1}.data-\[active\=true\]\:ring-\[3px\][data-active=true]{--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)}.data-\[active\=true\]\:ring-ring\/50[data-active=true]{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.data-\[active\=true\]\:ring-ring\/50[data-active=true]{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.data-\[active\=true\]\:ease-\[cubic-bezier\(0\.23\,1\,0\.32\,1\)\][data-active=true]{--tw-ease:cubic-bezier(.23,1,.32,1);transition-timing-function:cubic-bezier(.23,1,.32,1)}@media (hover:hover){.data-\[active\=true\]\:hover\:bg-accent[data-active=true]:hover{background-color:var(--accent)}}.data-\[active\=true\]\:focus\:bg-accent[data-active=true]:focus{background-color:var(--accent)}.data-\[active\=true\]\:aria-invalid\:border-destructive[data-active=true][aria-invalid=true]{border-color:var(--destructive)}.data-\[active\=true\]\:aria-invalid\:ring-destructive\/20[data-active=true][aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[active\=true\]\:aria-invalid\:ring-destructive\/20[data-active=true][aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-\[align\=end\]\:flex-row-reverse[data-align=end]{flex-direction:row-reverse}.data-\[align\=end\]\:self-end[data-align=end]{align-self:flex-end}.data-\[chips\=true\]\:min-w-\(--anchor-width\)[data-chips=true]{min-width:var(--anchor-width)}.data-\[direction\=end\]\:bottom-4[data-direction=end]{bottom:calc(var(--spacing) * 4)}.data-\[direction\=end\]\:data-\[active\=false\]\:translate-y-full[data-direction=end][data-active=false]{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[direction\=start\]\:top-4[data-direction=start]{top:calc(var(--spacing) * 4)}.data-\[direction\=start\]\:data-\[active\=false\]\:-translate-y-full[data-direction=start][data-active=false]{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[disabled\=true\]\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\[disabled\=true\]\:opacity-50[data-disabled=true]{opacity:.5}.data-\[error\=true\]\:text-destructive[data-error=true]{color:var(--destructive)}.data-\[inset\]\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-\[invalid\=true\]\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x:calc(52*var(--spacing))}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x:calc(52*var(--spacing))}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x:calc(52*var(--spacing)*-1)}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity:0}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-]{--tw-exit-opacity:0}.data-\[orientation\=horizontal\]\:h-1\.5[data-orientation=horizontal]{height:calc(var(--spacing) * 1.5)}.data-\[orientation\=horizontal\]\:h-full[data-orientation=horizontal]{height:100%}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=horizontal\]\:flex-col[data-orientation=horizontal]{flex-direction:column}.data-\[orientation\=vertical\]\:h-auto[data-orientation=vertical]{height:auto}.data-\[orientation\=vertical\]\:h-full[data-orientation=vertical]{height:100%}.data-\[orientation\=vertical\]\:min-h-44[data-orientation=vertical]{min-height:calc(var(--spacing) * 44)}.data-\[orientation\=vertical\]\:w-1\.5[data-orientation=vertical]{width:calc(var(--spacing) * 1.5)}.data-\[orientation\=vertical\]\:w-auto[data-orientation=vertical]{width:auto}.data-\[orientation\=vertical\]\:w-full[data-orientation=vertical]{width:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[orientation\=vertical\]\:flex-col[data-orientation=vertical]{flex-direction:column}.data-\[placeholder\]\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-\[range-end\=true\]\:rounded-md[data-range-end=true]{border-radius:calc(var(--radius) - 2px)}.data-\[range-end\=true\]\:rounded-r-md[data-range-end=true]{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.data-\[range-end\=true\]\:bg-primary[data-range-end=true]{background-color:var(--primary)}.data-\[range-end\=true\]\:text-primary-foreground[data-range-end=true]{color:var(--primary-foreground)}.data-\[range-middle\=true\]\:rounded-none[data-range-middle=true]{border-radius:0}.data-\[range-middle\=true\]\:bg-accent[data-range-middle=true]{background-color:var(--accent)}.data-\[range-middle\=true\]\:text-accent-foreground[data-range-middle=true]{color:var(--accent-foreground)}.data-\[range-start\=true\]\:rounded-md[data-range-start=true]{border-radius:calc(var(--radius) - 2px)}.data-\[range-start\=true\]\:rounded-l-md[data-range-start=true]{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.data-\[range-start\=true\]\:bg-primary[data-range-start=true]{background-color:var(--primary)}.data-\[range-start\=true\]\:text-primary-foreground[data-range-start=true]{color:var(--primary-foreground)}.data-\[selected-single\=true\]\:bg-primary[data-selected-single=true]{background-color:var(--primary)}.data-\[selected-single\=true\]\:text-primary-foreground[data-selected-single=true]{color:var(--primary-foreground)}.data-\[selected\=true\]\:rounded-none[data-selected=true]{border-radius:0}.data-\[selected\=true\]\:bg-accent[data-selected=true]{background-color:var(--accent)}.data-\[selected\=true\]\:text-accent-foreground[data-selected=true]{color:var(--accent-foreground)}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}.data-\[size\=default\]\:h-9[data-size=default]{height:calc(var(--spacing) * 9)}.data-\[size\=default\]\:h-\[1\.15rem\][data-size=default]{height:1.15rem}.data-\[size\=default\]\:w-8[data-size=default]{width:calc(var(--spacing) * 8)}.data-\[size\=lg\]\:size-10[data-size=lg]{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.data-\[size\=sm\]\:size-6[data-size=sm]{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:h-3\.5[data-size=sm]{height:calc(var(--spacing) * 3.5)}.data-\[size\=sm\]\:h-8[data-size=sm]{height:calc(var(--spacing) * 8)}.data-\[size\=sm\]\:w-6[data-size=sm]{width:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:max-w-xs[data-size=sm]{max-width:var(--container-xs)}.data-\[size\=sm\]\:py-1[data-size=sm]{padding-block:calc(var(--spacing) * 1)}:is(.\*\:data-\[slot\=alert-description\]\:text-destructive\/90>*)[data-slot=alert-description]{color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=alert-description\]\:text-destructive\/90>*)[data-slot=alert-description]{color:color-mix(in oklab, var(--destructive) 90%, transparent)}}:is(.\*\:data-\[slot\=attachment\]\:flex-none>*)[data-slot=attachment]{flex:none}:is(.\*\:data-\[slot\=attachment\]\:snap-start>*)[data-slot=attachment]{scroll-snap-align:start}:is(.\*\:data-\[slot\=avatar\]\:ring-2>*)[data-slot=avatar]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + 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)}:is(.\*\:data-\[slot\=avatar\]\:ring-background>*)[data-slot=avatar]{--tw-ring-color:var(--background)}:is(.\*\:data-\[slot\=bubble-content\]\:rounded-none>*)[data-slot=bubble-content]{border-radius:0}:is(.\*\:data-\[slot\=bubble-content\]\:border-border>*)[data-slot=bubble-content]{border-color:var(--border)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-\[oklch\(from_var\(--primary\)_0\.93_calc\(c\*0\.4\)_h\)\]>*)[data-slot=bubble-content]{background-color:oklch(from var(--primary) .93 calc(c * .4) h)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-background>*)[data-slot=bubble-content]{background-color:var(--background)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-destructive\/10>*)[data-slot=bubble-content]{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=bubble-content\]\:bg-destructive\/10>*)[data-slot=bubble-content]{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}:is(.\*\:data-\[slot\=bubble-content\]\:bg-muted>*)[data-slot=bubble-content]{background-color:var(--muted)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-primary>*)[data-slot=bubble-content]{background-color:var(--primary)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-secondary>*)[data-slot=bubble-content]{background-color:var(--secondary)}:is(.\*\:data-\[slot\=bubble-content\]\:bg-transparent>*)[data-slot=bubble-content]{background-color:#0000}:is(.\*\:data-\[slot\=bubble-content\]\:p-0>*)[data-slot=bubble-content]{padding:calc(var(--spacing) * 0)}:is(.\*\:data-\[slot\=bubble-content\]\:text-destructive>*)[data-slot=bubble-content]{color:var(--destructive)}:is(.\*\:data-\[slot\=bubble-content\]\:text-foreground>*)[data-slot=bubble-content]{color:var(--foreground)}:is(.\*\:data-\[slot\=bubble-content\]\:text-primary-foreground>*)[data-slot=bubble-content]{color:var(--primary-foreground)}:is(.\*\:data-\[slot\=bubble-content\]\:text-secondary-foreground>*)[data-slot=bubble-content]{color:var(--secondary-foreground)}.data-\[slot\=checkbox-group\]\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\*\*\:data-\[slot\=command-input-wrapper\]\:h-12 *)[data-slot=command-input-wrapper]{height:calc(var(--spacing) * 12)}:is(.\*\:data-\[slot\=input-group\]\:m-1>*)[data-slot=input-group]{margin:calc(var(--spacing) * 1)}:is(.\*\:data-\[slot\=input-group\]\:mb-0>*)[data-slot=input-group]{margin-bottom:calc(var(--spacing) * 0)}:is(.\*\:data-\[slot\=input-group\]\:h-8>*)[data-slot=input-group]{height:calc(var(--spacing) * 8)}:is(.\*\:data-\[slot\=input-group\]\:border-input\/30>*)[data-slot=input-group]{border-color:var(--input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:border-input\/30>*)[data-slot=input-group]{border-color:color-mix(in oklab, var(--input) 30%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:bg-input\/30>*)[data-slot=input-group]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:bg-input\/30>*)[data-slot=input-group]{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:shadow-none>*)[data-slot=input-group]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:ring-0 *)[data-slot=navigation-menu-link]:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + 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)}:is(.\*\*\:data-\[slot\=navigation-menu-link\]\:focus\:outline-none *)[data-slot=navigation-menu-link]:focus{--tw-outline-style:none;outline-style:none}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}:is(.group-data-\[orientation\=vertical\]\/attachment\:\*\:data-\[slot\=spinner\]\:size-6\!:is(:where(.group\/attachment)[data-orientation=vertical] *)>*)[data-slot=spinner]{width:calc(var(--spacing) * 6)!important;height:calc(var(--spacing) * 6)!important}.data-\[spacing\=0\]\:rounded-none[data-spacing="0"]{border-radius:0}.data-\[spacing\=0\]\:shadow-none[data-spacing="0"]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[spacing\=0\]\:first\:rounded-l-md[data-spacing="0"]:first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.data-\[spacing\=0\]\:last\:rounded-r-md[data-spacing="0"]:last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:var(--background)}.data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--foreground)}.group-data-\[variant\=default\]\/tabs-list\:data-\[state\=active\]\:shadow-sm:is(:where(.group\/tabs-list)[data-variant=default] *)[data-state=active]{--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)}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:shadow-none:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:after\:opacity-100:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]:after{content:var(--tw-content);opacity:1}.data-\[state\=checked\]\:translate-x-\[calc\(100\%-2px\)\][data-state=checked]{--tw-translate-x:calc(100% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=checked\]\:border-primary[data-state=checked]{border-color:var(--primary)}.data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--primary)}.data-\[state\=checked\]\:text-primary-foreground[data-state=checked]{color:var(--primary-foreground)}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=closed\]\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:animate-out:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:fade-out-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=closed\]\:zoom-out-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=closed]{--tw-exit-scale:.95}.data-\[state\=error\]\:border-destructive\/30[data-state=error]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[state\=error\]\:border-destructive\/30[data-state=error]{border-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.data-\[state\=hidden\]\:animate-out[data-state=hidden]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity:0}.data-\[state\=idle\]\:border-dashed[data-state=idle]{--tw-border-style:dashed;border-style:dashed}.data-\[state\=on\]\:bg-accent[data-state=on]{background-color:var(--accent)}.data-\[state\=on\]\:text-accent-foreground[data-state=on]{color:var(--accent-foreground)}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down var(--tw-animation-duration,var(--tw-duration,.2s))var(--tw-ease,ease-out)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=open\]\:bg-accent[data-state=open],.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:color-mix(in oklab, var(--accent) 50%, transparent)}}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:var(--secondary)}.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:var(--accent-foreground)}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\[state\=open\]\:opacity-100[data-state=open]{opacity:1}.data-\[state\=open\]\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale:.9}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:animate-in:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:fade-in-0:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-opacity:0}.group-data-\[viewport\=false\]\/navigation-menu\:data-\[state\=open\]\:zoom-in-95:is(:where(.group\/navigation-menu)[data-viewport=false] *)[data-state=open]{--tw-enter-scale:.95}@media (hover:hover){.data-\[state\=open\]\:hover\:bg-accent[data-state=open]:hover{background-color:var(--accent)}}.data-\[state\=open\]\:focus\:bg-accent[data-state=open]:focus{background-color:var(--accent)}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:var(--muted)}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:var(--input)}.data-\[state\=visible\]\:animate-in[data-state=visible]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity:0}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}.data-\[variant\=ghost\]\:max-w-full[data-variant=ghost]{max-width:100%}.data-\[variant\=label\]\:text-sm[data-variant=label]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\[variant\=legend\]\:text-base[data-variant=legend]{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.data-\[variant\=line\]\:rounded-none[data-variant=line]{border-radius:0}.data-\[spacing\=0\]\:data-\[variant\=outline\]\:border-l-0[data-spacing="0"][data-variant=outline]{border-left-style:var(--tw-border-style);border-left-width:0}.data-\[spacing\=0\]\:data-\[variant\=outline\]\:first\:border-l[data-spacing="0"][data-variant=outline]:first-child{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\[spacing\=default\]\:data-\[variant\=outline\]\:shadow-xs[data-spacing=default][data-variant=outline]{--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-\[vaul-drawer-direction\=bottom\]\:inset-x-0[data-vaul-drawer-direction=bottom]{inset-inline:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=bottom\]\:bottom-0[data-vaul-drawer-direction=bottom]{bottom:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=bottom\]\:mt-24[data-vaul-drawer-direction=bottom]{margin-top:calc(var(--spacing) * 24)}.data-\[vaul-drawer-direction\=bottom\]\:max-h-\[80vh\][data-vaul-drawer-direction=bottom]{max-height:80vh}.data-\[vaul-drawer-direction\=bottom\]\:rounded-t-lg[data-vaul-drawer-direction=bottom]{border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.data-\[vaul-drawer-direction\=bottom\]\:border-t[data-vaul-drawer-direction=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\[vaul-drawer-direction\=left\]\:inset-y-0[data-vaul-drawer-direction=left]{inset-block:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=left\]\:left-0[data-vaul-drawer-direction=left]{left:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=left\]\:w-3\/4[data-vaul-drawer-direction=left]{width:75%}.data-\[vaul-drawer-direction\=left\]\:border-r[data-vaul-drawer-direction=left]{border-right-style:var(--tw-border-style);border-right-width:1px}.data-\[vaul-drawer-direction\=right\]\:inset-y-0[data-vaul-drawer-direction=right]{inset-block:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=right\]\:right-0[data-vaul-drawer-direction=right]{right:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=right\]\:w-3\/4[data-vaul-drawer-direction=right]{width:75%}.data-\[vaul-drawer-direction\=right\]\:border-l[data-vaul-drawer-direction=right]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\[vaul-drawer-direction\=top\]\:inset-x-0[data-vaul-drawer-direction=top]{inset-inline:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=top\]\:top-0[data-vaul-drawer-direction=top]{top:calc(var(--spacing) * 0)}.data-\[vaul-drawer-direction\=top\]\:mb-24[data-vaul-drawer-direction=top]{margin-bottom:calc(var(--spacing) * 24)}.data-\[vaul-drawer-direction\=top\]\:max-h-\[80vh\][data-vaul-drawer-direction=top]{max-height:80vh}.data-\[vaul-drawer-direction\=top\]\:rounded-b-lg[data-vaul-drawer-direction=top]{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.data-\[vaul-drawer-direction\=top\]\:border-b[data-vaul-drawer-direction=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.nth-last-2\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@media (min-width:40rem){.sm\:block{display:block}.sm\:flex{display:flex}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:max-w-sm{max-width:var(--container-sm)}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:gap-2\.5{gap:calc(var(--spacing) * 2.5)}.sm\:pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.sm\:pl-2\.5{padding-left:calc(var(--spacing) * 2.5)}.sm\:text-left{text-align:left}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:row-span-2:is(:where(.group\/alert-dialog-content)[data-size=default] *){grid-row:span 2/span 2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:place-items-start:is(:where(.group\/alert-dialog-content)[data-size=default] *){place-items:start}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:text-left:is(:where(.group\/alert-dialog-content)[data-size=default] *){text-align:left}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:group-has-data-\[slot\=alert-dialog-media\]\/alert-dialog-content\:col-start-2:is(:where(.group\/alert-dialog-content)[data-size=default] *):is(:where(.group\/alert-dialog-content):has([data-slot=alert-dialog-media]) *){grid-column-start:2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_1fr\]:is(:where(.group\/alert-dialog-content)[data-size=default] *):has([data-slot=alert-dialog-media]){grid-template-rows:auto 1fr}.data-\[size\=default\]\:sm\:max-w-lg[data-size=default]{max-width:var(--container-lg)}.data-\[vaul-drawer-direction\=left\]\:sm\:max-w-sm[data-vaul-drawer-direction=left],.data-\[vaul-drawer-direction\=right\]\:sm\:max-w-sm[data-vaul-drawer-direction=right]{max-width:var(--container-sm)}}@media (min-width:48rem){.md\:absolute{position:absolute}.md\:block{display:block}.md\:flex{display:flex}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:flex-row{flex-direction:row}.md\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.md\:p-12{padding:calc(var(--spacing) * 12)}.md\:text-left{text-align:left}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing) * 0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:var(--radius-xl)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--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)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 2)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@container field-group (width>=28rem){.\@md\/field-group\:flex-row{flex-direction:row}.\@md\/field-group\:items-center{align-items:center}.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}}.rtl\:translate-x-1\/2:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *){--tw-translate-x:calc(1 / 2 * 100%);translate:var(--tw-translate-x) var(--tw-translate-y)}@media (prefers-color-scheme:dark){.dark\:border-input{border-color:var(--input)}.dark\:bg-destructive\/60{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-destructive\/60{background-color:color-mix(in oklab, var(--destructive) 60%, transparent)}}.dark\:bg-input\/30{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-input\/30{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:bg-transparent{background-color:#0000}.dark\:text-muted-foreground{color:var(--muted-foreground)}@media (hover:hover){.dark\:hover\:bg-accent\/50:hover{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-accent\/50:hover{background-color:color-mix(in oklab, var(--accent) 50%, transparent)}}.dark\:hover\:bg-input\/50:hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-input\/50:hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.dark\:hover\:text-foreground:hover{color:var(--foreground)}}.dark\:focus-visible\:ring-destructive\/40:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:focus-visible\:ring-destructive\/40:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-aria-invalid\:border-destructive\/50:has([aria-invalid=true]){border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:border-destructive\/50:has([aria-invalid=true]){border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:has-aria-invalid\:ring-destructive\/40:has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:ring-destructive\/40:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-data-\[state\=checked\]\:bg-primary\/10:has([data-state=checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\:has-data-\[state\=checked\]\:bg-primary\/10:has([data-state=checked]){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:aria-invalid\:ring-destructive\/40[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:ring-destructive\/40[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:data-\[active\=true\]\:aria-invalid\:ring-destructive\/40[data-active=true][aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[active\=true\]\:aria-invalid\:ring-destructive\/40[data-active=true][aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}:is(.dark\:\*\:data-\[slot\=bubble-content\]\:bg-\[oklch\(from_var\(--primary\)_0\.3_calc\(c\*0\.4\)_h\)\]>*)[data-slot=bubble-content]{background-color:oklch(from var(--primary) .3 calc(c * .4) h)}:is(.dark\:\*\:data-\[slot\=bubble-content\]\:bg-destructive\/20>*)[data-slot=bubble-content]{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){:is(.dark\:\*\:data-\[slot\=bubble-content\]\:bg-destructive\/20>*)[data-slot=bubble-content]{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\:data-\[state\=active\]\:border-input[data-state=active]{border-color:var(--input)}.dark\:data-\[state\=active\]\:bg-input\/30[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[state\=active\]\:bg-input\/30[data-state=active]{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:data-\[state\=active\]\:text-foreground[data-state=active]{color:var(--foreground)}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:border-transparent:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{border-color:#0000}.dark\:group-data-\[variant\=line\]\/tabs-list\:data-\[state\=active\]\:bg-transparent:is(:where(.group\/tabs-list)[data-variant=line] *)[data-state=active]{background-color:#0000}.dark\:data-\[state\=checked\]\:bg-primary[data-state=checked]{background-color:var(--primary)}.dark\:data-\[state\=checked\]\:bg-primary-foreground[data-state=checked]{background-color:var(--primary-foreground)}.dark\:data-\[state\=unchecked\]\:bg-foreground[data-state=unchecked]{background-color:var(--foreground)}.dark\:data-\[state\=unchecked\]\:bg-input\/80[data-state=unchecked]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[state\=unchecked\]\:bg-input\/80[data-state=unchecked]{background-color:color-mix(in oklab, var(--input) 80%, transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}}@media (pointer:coarse){.pointer-coarse\:size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.pointer-coarse\:px-3{padding-inline:calc(var(--spacing) * 3)}.pointer-coarse\:py-2{padding-block:calc(var(--spacing) * 2)}.pointer-coarse\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}.data-open\:animate-in:where([data-state=open]),.data-open\:animate-in:where([data-open]:not([data-open=false])){animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-open\:fade-in-0:where([data-state=open]),.data-open\:fade-in-0:where([data-open]:not([data-open=false])){--tw-enter-opacity:0}.data-open\:zoom-in-95:where([data-state=open]),.data-open\:zoom-in-95:where([data-open]:not([data-open=false])){--tw-enter-scale:.95}.data-closed\:animate-out:where([data-state=closed]),.data-closed\:animate-out:where([data-closed]:not([data-closed=false])){animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-closed\:fade-out-0:where([data-state=closed]),.data-closed\:fade-out-0:where([data-closed]:not([data-closed=false])){--tw-exit-opacity:0}.data-closed\:zoom-out-95:where([data-state=closed]),.data-closed\:zoom-out-95:where([data-closed]:not([data-closed=false])){--tw-exit-scale:.95}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--muted-foreground)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--muted)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-block:calc(var(--spacing) * 1.5)}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:var(--muted-foreground)}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:calc(var(--spacing) * 0)}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:calc(var(--spacing) * 5)}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:calc(var(--spacing) * 5)}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:calc(var(--spacing) * 12)}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-inline:calc(var(--spacing) * 2)}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-block:calc(var(--spacing) * 3)}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:calc(var(--spacing) * 5)}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:calc(var(--spacing) * 5)}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_p\]\:leading-relaxed p{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.data-\[direction\=start\]\:\[\&_svg\]\:rotate-180[data-direction=start] svg{rotate:180deg}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-6 svg:not([class*=size-]),.group-data-\[orientation\=vertical\]\/attachment\:\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-6:is(:where(.group\/attachment)[data-orientation=vertical] *) svg:not([class*=size-]){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.group-data-\[size\=xs\]\/attachment\:\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5:is(:where(.group\/attachment)[data-size=xs] *) svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'text-\'\]\)\]\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\[\&_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}.\[\&\+\[data-slot\=item-content\]\]\:flex-none+[data-slot=item-content]{flex:none}.\[\&\:first-child\[data-selected\=true\]_button\]\:rounded-l-md:first-child[data-selected=true] button{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing) * 0)}.\[\.border-b\]\:pb-3.border-b{padding-bottom:calc(var(--spacing) * 3)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing) * 6)}.\[\.border-t\]\:pt-3.border-t{padding-top:calc(var(--spacing) * 3)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing) * 6)}:is(.rtl\:\*\*\:\[\.rdp-button\\_next\>svg\]\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_next>svg),:is(.rtl\:\*\*\:\[\.rdp-button\\_previous\>svg\]\:rotate-180:where(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)),[dir=rtl],[dir=rtl] *) *):is(.rdp-button_previous>svg){rotate:180deg}.\[a\]\:underline:is(a){text-decoration-line:underline}.\[a\]\:underline-offset-3:is(a){text-underline-offset:3px}.\[a\]\:transition-colors:is(a){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))}:is(.\*\:\[a\]\:underline>*):is(a){text-decoration-line:underline}:is(.\*\:\[a\]\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){.\[a\]\:hover\:bg-accent\/50:is(a):hover{background-color:var(--accent)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-accent\/50:is(a):hover{background-color:color-mix(in oklab, var(--accent) 50%, transparent)}}.\[a\]\:hover\:text-foreground:is(a):hover,:is(.\*\:\[a\]\:hover\:text-foreground>*):is(a):hover{color:var(--foreground)}}.\[button\]\:text-left:is(button){text-align:left}.\[button\,a\]\:transition-colors:is(button,a){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))}.\[button\,a\]\:outline-none:is(button,a){--tw-outline-style:none;outline-style:none}.\[button\,a\]\:focus-visible\:border-ring:is(button,a):focus-visible{border-color:var(--ring)}.\[button\,a\]\:focus-visible\:ring-3:is(button,a):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)}.\[button\,a\]\:focus-visible\:ring-ring\/50:is(button,a):focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.\[button\,a\]\:focus-visible\:ring-ring\/50:is(button,a):focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}:is(.\*\:\[img\]\:aspect-square>*):is(img){aspect-ratio:1}:is(.\*\:\[img\]\:w-full>*):is(img){width:100%}:is(.\*\:\[img\]\:object-cover>*):is(img){object-fit:cover}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:text-destructive\![data-variant=destructive]>*):is(svg){color:var(--destructive)!important}:is(.\*\:\[svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-8>*):is(svg:not([class*=size-])){width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.\[\&\:last-child\[data-selected\=true\]_button\]\:rounded-r-md:last-child[data-selected=true] button{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:nth-child\(2\)\[data-selected\=true\]_button\]\:rounded-l-md:nth-child(2)[data-selected=true] button{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.\[\&\>\*\]\:w-full>*{width:100%}.\[\&\>\*\]\:focus-visible\:relative>:focus-visible{position:relative}.\[\&\>\*\]\:focus-visible\:z-10>:focus-visible{z-index:10}.\[\&\>\*\]\:data-\[slot\=field\]\:p-4>[data-slot=field]{padding:calc(var(--spacing) * 4)}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\*\]\:w-auto>*{width:auto}}.\[\&\>\*\:not\(\:first-child\)\]\:rounded-t-none>:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.\[\&\>\*\:not\(\:first-child\)\]\:rounded-l-none>:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.\[\&\>\*\:not\(\:first-child\)\]\:border-t-0>:not(:first-child){border-top-style:var(--tw-border-style);border-top-width:0}.\[\&\>\*\:not\(\:first-child\)\]\:border-l-0>:not(:first-child){border-left-style:var(--tw-border-style);border-left-width:0}.\[\&\>\*\:not\(\:last-child\)\]\:rounded-r-none>:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.\[\&\>\*\:not\(\:last-child\)\]\:rounded-b-none>:not(:last-child){border-bottom-right-radius:0;border-bottom-left-radius:0}.\[\&\>\.sr-only\]\:w-auto>.sr-only{width:auto}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[color-mix\(in_oklch\,var\(--muted\)\,var\(--foreground\)_5\%\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[color-mix\(in_oklch\,var\(--muted\)\,var\(--foreground\)_5\%\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklch,var(--muted),var(--foreground) 5%)}}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[color-mix\(in_oklch\,var\(--secondary\)\,var\(--foreground\)_5\%\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[color-mix\(in_oklch\,var\(--secondary\)\,var\(--foreground\)_5\%\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklch,var(--secondary),var(--foreground) 5%)}}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[oklch\(from_var\(--primary\)_0\.88_calc\(c\*0\.5\)_h\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:oklch(from var(--primary) .88 calc(c * .5) h)}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-destructive\/20>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-destructive\/20>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-muted>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--muted)}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-primary\/80>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-primary\/80>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:text-foreground>[data-slot=bubble-content]:is(button,a):hover{color:var(--foreground)}@media (prefers-color-scheme:dark){.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-\[oklch\(from_var\(--primary\)_0\.35_calc\(c\*0\.5\)_h\)\]>[data-slot=bubble-content]:is(button,a):hover{background-color:oklch(from var(--primary) .35 calc(c * .5) h)}.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-destructive\/30>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-destructive\/30>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-input\/30>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-input\/30>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-muted\/50>[data-slot=bubble-content]:is(button,a):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:\[\&\>\[data-slot\=bubble-content\]\:is\(button\,a\)\:hover\]\:bg-muted\/50>[data-slot=bubble-content]:is(button,a):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.\[\&\>\[data-slot\=field-group\]\]\:gap-4>[data-slot=field-group]{gap:calc(var(--spacing) * 4)}.\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}}.has-\[select\[aria-hidden\=true\]\:last-child\]\:\[\&\>\[data-slot\=select-trigger\]\:last-of-type\]\:rounded-r-md:has(:is(select[aria-hidden=true]:last-child))>[data-slot=select-trigger]:last-of-type{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\>\[data-slot\=select-trigger\]\:not\(\[class\*\=\'w-\'\]\)\]\:w-fit>[data-slot=select-trigger]:not([class*=w-]){width:fit-content}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}@container field-group (width>=28rem){:is(.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]){margin-top:1px}}.\[\&\>a\]\:underline>a{text-decoration-line:underline}.\[\&\>a\]\:underline-offset-4>a{text-underline-offset:4px}.\[\&\>a\:hover\]\:text-primary>a:hover{color:var(--primary)}.\[\&\>button\]\:hidden>button{display:none}.\[\&\>input\]\:flex-1>input{flex:1}.has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-2:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing) * 2)}.has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-2:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing) * 2)}.\[\&\>kbd\]\:rounded-\[calc\(var\(--radius\)-5px\)\]>kbd{border-radius:calc(var(--radius) - 5px)}.\[\&\>span\]\:text-xs>span{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\[\&\>span\]\:opacity-70>span{opacity:.7}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:size-3\.5>svg{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:translate-y-0\.5>svg{--tw-translate-y:calc(var(--spacing) * .5);translate:var(--tw-translate-x) var(--tw-translate-y)}.\[\&\>svg\]\:text-current>svg{color:currentColor}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--muted-foreground)}.group-has-data-\[size\=lg\]\/avatar-group\:\[\&\>svg\]\:size-5:is(:where(.group\/avatar-group):has([data-size=lg]) *)>svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.group-has-data-\[size\=sm\]\/avatar-group\:\[\&\>svg\]\:size-3:is(:where(.group\/avatar-group):has([data-size=sm]) *)>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=default\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=default] *)>svg,.group-data-\[size\=lg\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=lg] *)>svg{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:\[\&\>svg\]\:hidden:is(:where(.group\/avatar)[data-size=sm] *)>svg{display:none}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4>svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[aria-orientation\=horizontal\]\>div\]\:rotate-90[aria-orientation=horizontal]>div{rotate:90deg}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{rotate:180deg}[data-side=left][data-collapsible=offcanvas] .\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\[\[data-side\=right\]\[data-collapsible\=offcanvas\]_\&\]\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-slot=card-content] .\[\[data-slot\=card-content\]_\&\]\:bg-transparent,[data-slot=popover-content] .\[\[data-slot\=popover-content\]_\&\]\:bg-transparent{background-color:#0000}[data-slot=tooltip-content] .\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/20{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){[data-slot=tooltip-content] .\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/20{background-color:color-mix(in oklab, var(--background) 20%, transparent)}}[data-slot=tooltip-content] .\[\[data-slot\=tooltip-content\]_\&\]\:text-background{color:var(--background)}@media (prefers-color-scheme:dark){[data-slot=tooltip-content] .dark\:\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/10{background-color:var(--background)}@supports (color:color-mix(in lab, red, red)){[data-slot=tooltip-content] .dark\:\[\[data-slot\=tooltip-content\]_\&\]\:bg-background\/10{background-color:color-mix(in oklab, var(--background) 10%, transparent)}}}[data-variant=legend]+.\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5{margin-top:calc(var(--spacing) * -1.5)}@media (hover:hover){a.\[a\&\]\:hover\:bg-accent:hover{background-color:var(--accent)}a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, var(--destructive) 90%, transparent)}}a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, var(--primary) 90%, transparent)}}a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){a.\[a\&\]\:hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab, var(--secondary) 90%, transparent)}}a.\[a\&\]\:hover\:text-accent-foreground:hover{color:var(--accent-foreground)}a.\[a\&\]\:hover\:underline:hover{text-decoration-line:underline}}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --scroll-fade-t{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-b{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-s{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-e{syntax:"<length-percentage>";inherits:false;initial-value:0}@property --scroll-fade-mask{syntax:"*";inherits:false}@property --shimmer-angle{syntax:"<angle>";inherits:true;initial-value:20deg}@property --shimmer-image{syntax:"*";inherits:false}@property --shimmer-text-fill{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){.shimmer{-webkit-text-fill-color:currentColor;background-image:none;animation:none}}:where(:root[data-system-reduced-motion]) .shimmer{-webkit-text-fill-color:currentColor;background-image:none;animation:none}:root{--background:#f8f9fc;--foreground:#20283a;--card:#fff;--card-foreground:#20283a;--popover:#fff;--popover-foreground:#20283a;--primary:#315ce6;--primary-foreground:#fff;--secondary:#ecf0fa;--secondary-foreground:#253455;--muted:#edf0f6;--muted-foreground:#697387;--accent:#e9efff;--accent-foreground:#2845a1;--destructive:#ce5469;--border:#e1e6ef;--input:#dfe4ef;--ring:#315ce6;--radius:.75rem;--ink:#20283a;--blue:#315ce6;--slate:#687487}*{box-sizing:border-box}body{background:var(--background);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:calc(16px * var(--restore-text-scale,1))}button{cursor:pointer;font:inherit}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline-offset:5px;outline:3px solid #86a7ff}button{transition:background .18s,transform .18s,color .18s}button:not(:disabled):active{transform:translateY(1px)}.app-shell{flex-direction:column;max-width:1540px;min-height:100svh;margin:auto;padding:0 5.5%;display:flex}.topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:24px;height:100px;display:flex}.brand-button{background:0 0;border:0;padding:0}.logo{letter-spacing:3.5px;align-items:center;font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));font-weight:750;display:flex}.logo svg{width:31px;height:31px;fill:var(--blue);margin-right:12px}.logo path{fill:none;stroke:var(--blue);stroke-width:1.4px}.logo-period{color:var(--blue);margin-left:-1px}.top-note{letter-spacing:2.5px;color:#7b8495;font-size:calc(11px * var(--restore-text-scale,1))}.topbar nav{align-items:center;gap:17px;display:flex}.nav-button,.icon-button{color:var(--slate);background:0 0;border:0;align-items:center;gap:9px;padding:10px 4px;font-size:calc(14px * var(--restore-text-scale,1));display:flex}.nav-button:hover,.icon-button:hover{color:var(--blue)}.nav-count{background:#edf0f7;border-radius:5px;margin-left:2px;padding:4px 7px;font-size:calc(12px * var(--restore-text-scale,1))}.icon-button{padding:10px}.welcome{flex:1;grid-template-columns:.94fr 1.06fr;align-items:center;min-height:650px;padding:65px 0 110px;display:grid;position:relative}.eyebrow{letter-spacing:1.7px;color:var(--slate);align-items:center;gap:7px;font-size:calc(11px * var(--restore-text-scale,1));font-weight:650;line-height:1.5;display:flex}.small-line{background:#9da7bc;width:29px;height:1px;margin-right:4px}.welcome h1{letter-spacing:-5px;margin:29px 0 25px;font-size:calc(clamp(58px,6.2vw,91px) * (1 + (var(--restore-text-scale,1) - 1) * 0.198));font-weight:500;line-height:1.03}.welcome h1 em{color:var(--blue);letter-spacing:-4px;font-family:Georgia,Times New Roman,serif;font-weight:400}.welcome p{color:var(--slate);margin:0 0 32px;font-size:calc(18px * var(--restore-text-scale,1));line-height:1.8}.primary-button{background:var(--blue);color:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;gap:38px;min-height:51px;padding:14px 22px;font-size:calc(15px * var(--restore-text-scale,1));font-weight:600;display:flex;box-shadow:0 5px 12px #315ce61a}.primary-button:hover{background:#224ccc;box-shadow:0 6px 18px #315ce62c}.play-button{justify-content:space-between;min-width:189px}.welcome-meta{color:#788396;align-items:center;gap:11px;margin-top:20px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.welcome-meta i{background:#9aa4b5;border-radius:50%;width:3px;height:3px}.welcome-art{aspect-ratio:1.07;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.welcome-art svg{z-index:1;width:120%;max-width:none;position:relative;overflow:visible}.art-orbit{aspect-ratio:1;background:radial-gradient(circle,#f0f3ff 0%,#f8f9fc00 68%);border:1px solid #e7eaf4;border-radius:50%;width:86%;position:absolute}.orbit-2{border-style:dashed;width:63%;transform:rotate(30deg)}.art-caption{color:#727e93;z-index:1;align-items:center;gap:10px;font-size:calc(13px * var(--restore-text-scale,1));display:flex;position:absolute;bottom:8px}.mini-node{background:var(--blue);border-radius:50%;flex:none;width:10px;height:10px;display:inline-block;box-shadow:0 0 0 5px #315ce613}.intro-node-halo{fill:#315ce61c;animation:3s ease-in-out infinite breathe}.welcome-arrow{color:#8f9abd;position:absolute;bottom:48px;right:8%;transform:rotate(-20deg)}.welcome-bottom{color:#788396;letter-spacing:.7px;justify-content:space-between;align-items:center;font-size:calc(12px * var(--restore-text-scale,1));display:flex;position:absolute;bottom:34px;left:0;right:0}.welcome-bottom span:nth-child(2){letter-spacing:2px;font-size:calc(10px * var(--restore-text-scale,1))}.site-footer{border-top:1px solid var(--border);color:#8390a2;justify-content:space-between;align-items:center;gap:20px;min-height:67px;margin-top:auto;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.site-footer>span:first-child{letter-spacing:1.6px;font-size:calc(11px * var(--restore-text-scale,1))}.site-footer b{letter-spacing:0;margin-left:8px;font-size:calc(10px * var(--restore-text-scale,1));font-weight:400}.site-footer button{color:var(--slate);background:0 0;border:0;align-items:center;gap:9px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.game{flex:1;padding:29px 0 18px}.game-heading{justify-content:space-between;align-items:center;gap:25px;margin-bottom:26px;display:flex}.back-link{letter-spacing:1.5px;color:#7a8598;background:0 0;border:0;align-items:center;gap:8px;margin:0 0 17px;padding:0;font-size:calc(10px * var(--restore-text-scale,1));display:flex}.level-title{align-items:center;gap:20px;display:flex}.level-number{color:#bec8dd;border-right:1px solid #e0e5ef;padding-right:20px;font-family:Georgia,serif;font-size:calc(49px * (1 + (var(--restore-text-scale,1) - 1) * 0.367));line-height:1}.level-title .eyebrow{letter-spacing:1.5px;text-transform:uppercase;margin-bottom:5px;font-size:calc(10px * var(--restore-text-scale,1))}.level-title h1{letter-spacing:-.7px;margin:0;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667));font-weight:500;line-height:1.15}.level-progress{width:211px;padding-top:26px}.level-progress>div:first-child{color:var(--slate);justify-content:space-between;align-items:center;margin-bottom:12px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.level-progress strong{color:var(--blue);font-size:calc(13px * var(--restore-text-scale,1))}.level-progress strong span{color:#a2aabb;font-weight:400}.level-progress [data-slot=progress]{background:#e2e7f5;height:4px}.puzzle-stage{isolation:isolate;background:#fff;border:1px solid #e3e8f0;border-radius:15px;height:clamp(370px,53vh,590px);min-height:370px;position:relative;overflow:hidden;box-shadow:0 9px 34px #263c6405}.puzzle-stage:before,.puzzle-stage:after{content:"";pointer-events:none;z-index:1;border-style:solid;border-color:#d7deeb;width:18px;height:18px;position:absolute}.puzzle-stage:before{border-width:0 0 1px 1px;bottom:27px;left:28px}.puzzle-stage:after{border-width:0 1px 1px 0;bottom:27px;right:28px}.stage-guide{letter-spacing:2px;color:#8994a6;z-index:2;pointer-events:none;font-size:calc(9px * var(--restore-text-scale,1));position:absolute;top:23px}.top-left{left:28px}.top-right{letter-spacing:1.3px;font-size:calc(11px * var(--restore-text-scale,1));right:28px}.canvas-halo{pointer-events:none;background:radial-gradient(circle,#f8f9fd 0%,#fff 70%);border:1px solid #f0f2f8;border-radius:50%;width:440px;height:440px;transition:background 1.7s,opacity 1.7s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.puzzle-svg{touch-action:none;user-select:none;width:100%;height:100%;position:relative;overflow:visible}.drawing-wrap{transform-origin:50%;transition:transform 1s}.art-line{stroke:#5a6374;vector-effect:non-scaling-stroke;transition:stroke 1.3s,opacity 1.3s}.color-fill{opacity:0;transition:opacity 1.3s ease var(--delay)}.colored .color-fill{opacity:1}.colored .art-line{opacity:.17;stroke:#183047}.colored .detail-line{opacity:.9;stroke:#23435b}.structural-dots{fill:#718097;opacity:.5;transition:opacity .4s}.colored .structural-dots{opacity:0}.puzzle-node{cursor:grab;outline:none}.puzzle-node:focus-visible{outline:none}.hit-area{fill:#0000;pointer-events:all}.node-core{fill:var(--blue);stroke:#fff;stroke-width:2px;filter:drop-shadow(0 2px 3px #244ccc30)}.node-halo{fill:#315ce60c;stroke:#315ce61c;stroke-width:1px;transition:fill .15s,r .15s}.puzzle-node:hover .node-halo,.puzzle-node:focus-visible .node-halo{fill:#315ce62c;stroke:var(--blue)}.puzzle-node.grabbed{cursor:grabbing}.grabbed .node-halo{fill:#315ce629;r:23}.grabbed .node-core{r:9}.solved{pointer-events:none;cursor:default}.solved .node-core{fill:#31a68b}.solved .node-halo{fill:none;stroke:none}.hinted .node-halo{stroke:var(--blue);animation:1s infinite breathe}.hint-target circle:first-child{fill:#315ce611;stroke:#315ce680;stroke-width:1.5px;stroke-dasharray:4 5;animation:1.4s infinite targetPulse}.hint-target circle:nth-child(2){fill:#315ce650}.hint-target text{fill:#315ce6;letter-spacing:1px;font-size:calc(13px * var(--restore-text-scale,1))}.feedback-ring{fill:none;stroke-width:2px;pointer-events:none;animation:.55s ease-out forwards snap-ring}.feedback-ring.snap{stroke:#41bba0}.feedback-ring.miss{stroke:#d5a19b}.stage-tip{color:#7b879b;white-space:nowrap;pointer-events:none;align-items:center;gap:10px;font-size:calc(12px * var(--restore-text-scale,1));display:flex;position:absolute;bottom:25px;left:50%;transform:translate(-50%)}.stage-tip .mini-node{width:6px;height:6px;box-shadow:0 0 0 4px #315ce60b}.game-toolbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding:22px 3px;display:flex}.game-counters{gap:33px;display:flex}.game-counters>div{align-items:center;gap:11px;display:flex}.game-counters span{letter-spacing:1.5px;color:#8a95a6;font-size:calc(9px * var(--restore-text-scale,1))}.game-counters strong{font-variant-numeric:tabular-nums;color:#4b566a;font-size:calc(16px * var(--restore-text-scale,1));font-weight:500}.tools{align-items:center;gap:23px;display:flex}.tools button{color:#6c7890;background:0 0;border:0;align-items:center;gap:8px;padding:8px 0;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.tools button:hover:not(:disabled),.tools .hint-button{color:var(--blue)}.tools .hint-button>span{font-size:calc(11px * var(--restore-text-scale,1))}.tool-divider{background:var(--border);width:1px;height:20px}.game-footnote{color:#8590a2;justify-content:space-between;gap:15px;padding:18px 2px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.game-footnote>span:first-child{color:#72829e}.phase-revealing .canvas-halo,.phase-complete .canvas-halo{background:radial-gradient(circle,var(--reveal-color) 0%,transparent 70%)}@supports (color:color-mix(in lab, red, red)){.phase-revealing .canvas-halo,.phase-complete .canvas-halo{background:radial-gradient(circle,color-mix(in srgb,var(--reveal-color),transparent 88%) 0%,transparent 70%)}}.phase-revealing .canvas-halo,.phase-complete .canvas-halo{border-color:#0000}.phase-revealing .drawing-wrap{animation:1.5s ease-in-out art-settle}.reveal-caption{text-align:center;color:#7a8193;font-family:Georgia,serif;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));font-style:italic;animation:1s appear;position:absolute;bottom:24px;left:0;right:0}.reveal-particles{pointer-events:none}.reveal-particles circle{transform-origin:50%;transform-box:fill-box;animation:1.6s ease-out forwards particle}.phase-complete .drawing-wrap{transform:translate(-15%)scale(.87)}.phase-complete .canvas-halo{left:36%}.result-card{background:#ffffffeb;border:1px solid #e4e8ef;border-radius:14px;width:282px;padding:25px;animation:.65s both result-appear;position:absolute;top:50%;right:28px;transform:translateY(-50%);box-shadow:0 9px 30px #29466b0a}.result-card .eyebrow{letter-spacing:1.2px;color:#6f9b8c;font-size:calc(9px * var(--restore-text-scale,1))}.stars{color:#f2b64a;gap:5px;display:inline-flex}.stars .empty{color:#d4dbe7}.result-card h2{letter-spacing:-.8px;margin:0 0 10px;font-family:Georgia,serif;font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692));font-weight:400;line-height:1.1}.result-card p{color:#8490a3;margin:0;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6}.score-line{align-items:baseline;gap:9px;margin:16px 0;display:flex}.score-line strong{letter-spacing:-1px;color:var(--blue);font-size:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563));font-weight:500}.score-line span{letter-spacing:1.2px;color:#8f99aa;font-size:calc(9px * var(--restore-text-scale,1))}.result-stats{border-top:1px solid var(--border);grid-template-columns:repeat(3,1fr);padding-top:12px;display:grid}.result-stats div{flex-direction:column;gap:4px;display:flex}.result-stats b{font-size:calc(15px * var(--restore-text-scale,1));font-weight:500}.result-stats span{color:#8b95a7;font-size:calc(10px * var(--restore-text-scale,1))}.hint-summary{color:#919bab;margin:13px 0 17px;font-size:calc(10px * var(--restore-text-scale,1))}.result-card .primary-button{gap:14px;width:100%;min-height:44px;padding:11px;font-size:calc(13px * var(--restore-text-scale,1))}.text-button{color:#8a94a5;background:0 0;border:0;justify-content:center;align-items:center;gap:7px;width:100%;padding:14px 0 0;font-size:calc(11px * var(--restore-text-scale,1));display:flex}.dialog-title{letter-spacing:-1px;font-family:Georgia,serif;font-size:calc(34px * (1 + (var(--restore-text-scale,1) - 1) * 0.529));font-weight:400;line-height:1.1!important}.dialog-title span{color:var(--blue)}.help-dialog{max-height:90svh;overflow:auto;background:#fff!important;border-radius:18px!important;gap:18px!important;max-width:550px!important;padding:34px!important}.help-dialog [data-slot=dialog-description],.collection-dialog [data-slot=dialog-description]{color:#7a869a;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.65}.howto{margin:5px 0;padding:0;list-style:none}.howto li{align-items:flex-start;gap:18px;margin:0 0 22px;display:flex}.howto li:last-child{margin-bottom:0}.howto-icon{width:40px;height:40px;color:var(--blue);background:#f2f5fd;border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.howto-icon svg{width:20px}.howto h3{margin:0 0 5px;font-size:calc(15px * var(--restore-text-scale,1));font-weight:600}.howto p{color:#768299;margin:0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.6}.help-note{color:#74819a;background:#f3f5fb;border-radius:10px;padding:15px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.65}.help-note b{color:#4b5b77}.keyboard-help{color:#8d97a9;margin:0;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.6}.collection-dialog{max-height:90svh;overflow:auto;background:#fff!important;border-radius:18px!important;gap:11px!important;max-width:950px!important;padding:34px!important}.collection-grid{grid-template-columns:repeat(5,1fr);gap:13px;margin-top:16px;display:grid}.level-card{text-align:center;background:#fafbfe;border:1px solid #e4e8f1;border-radius:11px;min-width:0;padding:13px 10px 16px;transition:border .2s,box-shadow .2s;position:relative}.level-card:not(:disabled):hover{border-color:#91a6e8;box-shadow:0 4px 13px #284fa410}.card-number{letter-spacing:1px;color:#8c98ad;font-size:calc(10px * var(--restore-text-scale,1));position:absolute;top:10px;left:12px}.card-art{color:#aeb8ca;justify-content:center;align-items:center;height:104px;margin:8px -7px 4px;display:flex}.card-art svg:not(.lucide){width:100%;height:100%}.card-question{color:#728ad1;font:calc(42px * (1 + (var(--restore-text-scale,1) - 1) * 0.429)) Georgia,serif}.level-card strong{font-size:calc(11px * var(--restore-text-scale,1));font-weight:500;line-height:1.4;display:block}.card-meta{color:#8e99aa;margin-top:8px;font-size:calc(9px * var(--restore-text-scale,1));display:block}.card-meta .stars{gap:3px}.finished{background:#fff}.debug-target circle{fill:none;stroke:#df7cac;stroke-dasharray:4 4}.debug-info{color:#9c5080;padding:5px;font-size:calc(11px * var(--restore-text-scale,1))}.storage-warning{color:#8c661f;text-align:center;margin:5px 0 15px;font-size:calc(12px * var(--restore-text-scale,1))}@keyframes breathe{0%,to{opacity:.5}50%{opacity:1}}@keyframes targetPulse{0%,to{opacity:.5}50%{opacity:1}}@keyframes snap-ring{0%{r:12;opacity:1}to{r:35;opacity:0}}@keyframes particle{0%{opacity:0;transform:scale(0)}25%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(.3)translateY(-40px)}}@keyframes art-settle{0%{transform:scale(1)}40%{transform:scale(1.018)}to{transform:scale(1)}}@keyframes appear{0%{opacity:0}to{opacity:1}}@keyframes result-appear{0%{opacity:0;translate:15px}to{opacity:1;translate:0}}@media (min-width:1450px){.welcome{min-height:740px}.puzzle-stage{height:58vh;max-height:640px}}@media (max-width:1050px){.app-shell{padding:0 4%}.top-note{display:none}.game-counters{gap:20px}.timer{display:none!important}.tools{gap:18px}.welcome{min-height:600px}.welcome h1{font-size:calc(72px * (1 + (var(--restore-text-scale,1) - 1) * 0.25))}.result-card{width:252px;padding:20px;right:18px}.phase-complete .drawing-wrap{transform:translate(-17%)scale(.8)}}@media (max-width:760px){.topbar{height:80px}.topbar nav{gap:6px}.nav-count{display:none}.logo{letter-spacing:2px;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))}.logo svg{width:26px;margin-right:8px}.welcome{grid-template-columns:1fr;gap:15px;min-height:0;padding:47px 0 80px}.welcome-copy{text-align:center;z-index:2}.welcome-copy .eyebrow{justify-content:center;font-size:calc(9px * var(--restore-text-scale,1))}.welcome h1{letter-spacing:-4px;margin:21px 0;font-size:calc(68px * (1 + (var(--restore-text-scale,1) - 1) * 0.265))}.welcome p{margin-bottom:25px;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.6}.play-button{margin:auto}.welcome-meta{justify-content:center}.welcome-art{aspect-ratio:1.4;justify-self:center;width:100%;max-width:400px;margin-top:14px}.welcome-art svg{width:100%}.art-orbit{width:69%}.orbit-2{width:52%}.art-caption{font-size:calc(11px * var(--restore-text-scale,1));bottom:-5px}.welcome-arrow{display:none}.welcome-bottom{bottom:25px}.welcome-bottom span:last-child,.site-footer>span:nth-child(2){display:none}.site-footer{min-height:59px}.game{padding-top:22px}.game-heading{align-items:flex-end;gap:15px;margin-bottom:18px}.back-link{margin-bottom:14px;font-size:calc(9px * var(--restore-text-scale,1))}.level-number{padding-right:12px;font-size:calc(38px * (1 + (var(--restore-text-scale,1) - 1) * 0.474))}.level-title{gap:12px}.level-title h1{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.level-title .eyebrow{font-size:calc(9px * var(--restore-text-scale,1))}.level-progress{width:115px;padding:0 0 3px}.level-progress>div:first-child{gap:5px;font-size:calc(10px * var(--restore-text-scale,1))}.level-progress>div:first-child>span{display:none}.level-progress>div:first-child{justify-content:flex-end}.puzzle-stage{height:420px;min-height:0}.puzzle-svg{overflow:visible}.canvas-halo{width:300px;height:300px}.stage-guide{letter-spacing:1.2px;font-size:calc(8px * var(--restore-text-scale,1));top:18px}.top-left{left:18px}.top-right{right:18px}.puzzle-stage:before{bottom:20px;left:18px}.puzzle-stage:after{bottom:20px;right:18px}.stage-tip{font-size:calc(10px * var(--restore-text-scale,1));bottom:23px}.game-toolbar{flex-wrap:wrap;justify-content:center;gap:17px;padding:17px 0}.game-counters{justify-content:center;gap:30px;width:100%}.game-counters>div{gap:9px}.game-counters .timer{display:flex!important}.tools{justify-content:center;gap:25px;width:100%}.tools button{font-size:calc(13px * var(--restore-text-scale,1))}.game-footnote{text-align:center;justify-content:center;min-height:51px;padding:15px 0;font-size:calc(11px * var(--restore-text-scale,1))}.game-footnote>span:last-child{display:none}.phase-complete .puzzle-stage{flex-direction:column;align-items:center;height:auto;min-height:660px;display:flex}.phase-complete .puzzle-svg{flex:none;height:320px}.phase-complete .drawing-wrap{transform:scale(1)}.phase-complete .canvas-halo{top:160px;left:50%}.result-card{text-align:center;width:calc(100% - 40px);max-width:340px;margin:0 0 24px;padding:22px;position:relative;top:auto;right:auto;transform:none}.result-card .eyebrow{justify-content:center}.result-card .stars{margin:10px 0}.result-card p{font-size:calc(13px * var(--restore-text-scale,1))}.score-line{justify-content:center;margin:11px 0}.hint-summary{margin:12px 0}.collection-dialog{padding:27px 20px!important}.collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.card-art{height:110px}.level-card strong{font-size:calc(13px * var(--restore-text-scale,1))}.card-meta,.card-number{font-size:calc(11px * var(--restore-text-scale,1))}.help-dialog{padding:28px 23px!important}.hit-area{r:40}.node-core{r:9}.node-halo{r:21}.solved .node-core{r:6}}@media (max-width:420px){.app-shell{padding:0 5%}.nav-button>span{display:none}.topbar nav{gap:9px}.icon-button{padding:6px}.welcome h1{font-size:calc(62px * (1 + (var(--restore-text-scale,1) - 1) * 0.29))}.level-title h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.level-progress{width:66px}.level-number{font-size:calc(34px * (1 + (var(--restore-text-scale,1) - 1) * 0.529))}.puzzle-stage{height:360px}.stage-tip{white-space:normal;text-align:center;justify-content:center;width:75%;font-size:calc(10px * var(--restore-text-scale,1))}.game-counters{gap:18px}.game-counters span{letter-spacing:1px;font-size:calc(8px * var(--restore-text-scale,1))}.tools{gap:20px}.dialog-title{font-size:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6))}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation:none!important}.reveal-particles{display:none}}:where(:root[data-system-reduced-motion]) *,:where(:root[data-system-reduced-motion]) :before,:where(:root[data-system-reduced-motion]) :after{transition-duration:.01ms!important;animation:none!important}:where(:root[data-system-reduced-motion]) .reveal-particles{display:none}.puzzle-line,.gold-line,.shimmer-line{fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.puzzle-line{stroke:#667084;stroke-width:1.65px;transition:opacity .4s,stroke .4s}.gold-line{opacity:0;stroke-width:1.65px;transition:stroke-width .42s cubic-bezier(.2,.8,.2,1),opacity .35s}.shimmer-line{stroke:#fffbe3;stroke-width:3px;opacity:0;stroke-dasharray:8 92;stroke-dashoffset:100px}.intro-sparkle{color:#bd9a62;position:absolute;bottom:18%;right:12%;transform:rotate(12deg)}.reward-atmosphere{pointer-events:none;opacity:0;background:radial-gradient(ellipse at 48% 44%,var(--creature-color),transparent 61%),radial-gradient(ellipse at 64% 57%,var(--creature-secondary),transparent 56%);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){.reward-atmosphere{background:radial-gradient(ellipse at 48% 44%,color-mix(in srgb,var(--creature-color),transparent 88%),transparent 61%),radial-gradient(ellipse at 64% 57%,color-mix(in srgb,var(--creature-secondary),transparent 93%),transparent 56%)}}.reward-atmosphere{transition:opacity 1.1s}.game:not(.phase-playing) .canvas-halo{opacity:.25}.game:not(.phase-playing) .structural-dots{opacity:0}.phase-anticipation .puzzle-line{stroke:#9097a3}.phase-gold-grow .gold-line,.phase-gold-shimmer .gold-line,.phase-gold-dissolve .gold-line{opacity:1;stroke-width:5px}.phase-gold-grow .puzzle-line,.phase-gold-shimmer .puzzle-line,.phase-gold-dissolve .puzzle-line{opacity:0}.phase-gold-shimmer .shimmer-line{opacity:.9;animation:.65s cubic-bezier(.2,.5,.5,1) both gold-travel}.phase-gold-dissolve .gold-line{animation:gold-dissolve .4s ease-out var(--path-delay) both}.phase-gold-dissolve .reward-atmosphere,.phase-creature-reveal .reward-atmosphere,.phase-wait-touch .reward-atmosphere,.phase-creature-interaction .reward-atmosphere,.phase-collection-reward .reward-atmosphere,.phase-results .reward-atmosphere{opacity:1}.creature-reveal-layer{transform-origin:450px 330px;animation:.65s cubic-bezier(.16,.8,.25,1) both creature-arrive}.creature-reveal-layer .animal-head{animation:.8s ease-out both face-arrive}.creature .eye-smile{opacity:0}.creature .eye-blink{transform-box:fill-box;transform-origin:50%}.creature-shadow{opacity:.12}.creature.mini .creature-shadow{display:none}.reward-particles{pointer-events:none}.reward-particles path{opacity:0;animation:reward-drift 1.25s ease-out var(--particle-delay) both;transform-box:fill-box;transform-origin:50%}.particles-gold path{fill:#e6b452}.assist-target{pointer-events:none}.assist-thread{fill:none;stroke:#d4ae63;stroke-width:1.5px;stroke-dasharray:3 8;opacity:.5}.assist-halo{fill:#ffdc7621;stroke:#cf9b40;stroke-width:1.5px;stroke-dasharray:4 5;animation:1.7s ease-in-out infinite targetPulse}.assist-center{fill:#e0b357;filter:drop-shadow(0 0 7px #efc367)}.assist-target text{fill:#9c793a;letter-spacing:.7px;font-size:calc(11px * var(--restore-text-scale,1))}.hello-hit{cursor:pointer;outline:none}.hello-hit:focus-visible{outline:none}.hello-hit:focus-visible ellipse{stroke:#cba554;stroke-width:2px;stroke-dasharray:4 7}.hello-prompt{color:#8d6a37;white-space:nowrap;background:#ffffffde;border:1px solid #e5dac6;border-radius:30px;align-items:center;gap:10px;padding:12px 22px;animation:.45s ease-out both hello-in;display:flex;position:absolute;bottom:27px;left:50%;translate:-50%;box-shadow:0 5px 21px #9b6a1810}.hello-prompt>span:first-of-type{font-size:calc(14px * var(--restore-text-scale,1));font-weight:600}.hello-sub{opacity:.7;border-left:1px solid #e5dac6;padding-left:10px;font-size:calc(11px * var(--restore-text-scale,1))}.hello-prompt:hover{background:#fff9ee;box-shadow:0 7px 24px #ab752e1b}.interaction-caption{color:#a47d72;justify-content:center;align-items:center;gap:9px;font-size:calc(13px * var(--restore-text-scale,1));animation:.35s both appear;display:flex;position:absolute;bottom:34px;left:0;right:0}.interaction-caption svg{color:var(--creature-color)}@supports (color:color-mix(in lab, red, red)){.interaction-caption svg{color:color-mix(in srgb,var(--creature-color),#dc7790 30%)}}.acquisition{white-space:nowrap;background:#fffffff2;border:1px solid #e6e8df;border-radius:14px;align-items:center;gap:12px;padding:14px 24px;animation:.4s ease-out both hello-in;display:flex;position:absolute;bottom:26px;left:50%;translate:-50%;box-shadow:0 8px 25px #33562b0a}.acquisition-icon{color:#5b9575;background:#ebf5ed;border-radius:50%;justify-content:center;align-items:center;width:39px;height:39px;display:flex}.acquisition strong{color:#47664f;font-size:calc(13px * var(--restore-text-scale,1));font-weight:600;display:block}.acquisition div>span{color:#8a958b;margin-top:5px;font-size:calc(11px * var(--restore-text-scale,1));display:block}.reward-footer{color:#8590a2;justify-content:space-between;gap:18px;padding:23px 3px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.phase-results .drawing-wrap{transform:translate(-14%)scale(.9)}.phase-results .canvas-halo{left:35%}.species-label{text-transform:uppercase;letter-spacing:1.7px;color:#9b806d;margin:-3px 0 12px;font-size:calc(10px * var(--restore-text-scale,1))}.result-card h2{font-size:calc(34px * (1 + (var(--restore-text-scale,1) - 1) * 0.529))}.result-card .stars{margin:15px 0}.result-links{justify-content:center;gap:20px;margin-top:16px;display:flex}.result-links button{color:#7c899d;background:0 0;border:0;padding:2px;font-size:calc(11px * var(--restore-text-scale,1))}.result-links button:hover{color:var(--blue)}.motion-setting{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;padding-top:17px;display:flex}.motion-setting label{flex-direction:column;gap:6px;display:flex}.motion-setting b{font-size:calc(13px * var(--restore-text-scale,1));font-weight:600}.motion-setting span{color:#8490a3;font-size:calc(11px * var(--restore-text-scale,1))}.collection-grid{grid-template-columns:repeat(3,1fr);gap:16px}.level-card{padding-bottom:20px}.level-card.finished{background:radial-gradient(ellipse at 50% 32%,var(--card-color),white 75%)}@supports (color:color-mix(in lab, red, red)){.level-card.finished{background:radial-gradient(ellipse at 50% 32%,color-mix(in srgb,var(--card-color),transparent 94%),white 75%)}}.card-art{height:152px}.level-card strong{font-size:calc(15px * var(--restore-text-scale,1))}.card-meta{justify-content:center;align-items:center;gap:13px;font-size:calc(10px * var(--restore-text-scale,1));display:flex}.card-meta>span:first-child{text-transform:capitalize}.card-meta .stars svg{width:13px;height:13px}.level-card:disabled{opacity:.65}.mystery-shape{background:linear-gradient(140deg,#e9edf7,#f0f2f9);border-radius:45% 55% 38% 62%;justify-content:center;align-items:center;width:100px;height:110px;display:flex;position:relative;box-shadow:inset 0 0 25px #dae1f240}.mystery-shape>span{color:#abb7d1;font:calc(42px * (1 + (var(--restore-text-scale,1) - 1) * 0.429)) Georgia,serif}.mystery-shape>svg{color:#9cacc5;position:absolute;bottom:13px;right:17px}.friend-dialog{text-align:center;max-height:94svh;overflow:auto;background:#fff!important;border-radius:18px!important;gap:10px!important;max-width:590px!important;padding:30px 38px!important}.friend-dialog .back-link{margin:0 0 6px;font-size:calc(9px * var(--restore-text-scale,1))}.friend-dialog [data-slot=dialog-description]{color:#8994a4;font-size:calc(13px * var(--restore-text-scale,1))}.friend-art-button{cursor:pointer;aspect-ratio:1.43;background:radial-gradient(#f8da9e26,#0000 65%);border:0;width:100%;padding:0}.friend-art-button:disabled{opacity:1}.friend-art-button svg{width:100%;height:100%;overflow:visible}.friend-invitation{color:#9a8a7d;margin:0 0 7px;font-size:calc(12px * var(--restore-text-scale,1))}.friend-details{color:#8590a2;justify-content:center;align-items:center;gap:25px;margin:8px 0 16px;font-size:calc(11px * var(--restore-text-scale,1));display:flex}.friend-dialog .primary-button{gap:25px;min-height:46px;font-size:calc(13px * var(--restore-text-scale,1))}.alive .eye-blink{animation:2.4s ease-in-out both eye-blink}.alive .eye-smile{animation:2.4s ease-in-out both eye-smile}.alive .creature-shadow{transform-origin:450px 473px;animation:2.4s ease-in-out both shadow-breathe}.creature-cat.alive .creature-motion{transform-origin:450px 454px;animation:2.4s cubic-bezier(.2,.7,.25,1) both cat-bounce}.alive .cat-tail{transform-origin:518px 398px;animation:.8s ease-in-out 3 tail-wave}.alive .cat-head{transform-origin:444px 282px;animation:2.4s ease-in-out both head-nuzzle}.alive .paw-wave{transform-origin:390px 419px;animation:2.4s ease-in-out both paw-hello}.creature-hummingbird.alive .creature-motion{transform-origin:475px 290px;animation:2.4s cubic-bezier(.25,.5,.4,1) both bird-flight}.alive .bird-wing{transform-origin:492px 278px;animation:.2s ease-in-out 12 wing-flap}.alive .far-wing{transform-origin:520px 270px;animation-delay:50ms}.alive .bird-tail{transform-origin:447px 344px;animation:.6s ease-in-out 4 tail-wave}.creature-fox.alive .creature-motion{transform-origin:455px 453px;animation:2.4s cubic-bezier(.2,.65,.25,1) both fox-hop}.alive .fox-tail{transform-origin:519px 403px;animation:.6s ease-in-out 4 fox-tail}.alive .fox-head{transform-origin:410px 300px;animation:2.4s ease-in-out both head-nuzzle}.creature-rabbit.alive .creature-motion{transform-origin:450px 455px;animation:2.4s cubic-bezier(.2,.7,.25,1) both rabbit-hop}.alive .rabbit-ear.ear-left{transform-origin:398px 245px;animation:2.4s ease-in-out both ear-left}.alive .rabbit-ear.ear-right{transform-origin:487px 247px;animation:2.4s ease-in-out both ear-right}.alive .rabbit-nose{transform-origin:450px 305px;animation:.3s ease-in-out 8 nose-wiggle}.alive .owl-head{transform-origin:450px 275px;animation:2.4s ease-in-out both owl-curious}.alive .owl-wing.wing-left{transform-origin:363px 277px;animation:2.4s ease-in-out both owl-left}.alive .owl-wing.wing-right{transform-origin:536px 277px;animation:2.4s ease-in-out both owl-right}.creature-butterfly.alive .creature-motion{transform-origin:449px 284px;animation:2.4s ease-in-out both butterfly-flight}.alive .butterfly-wing{transform-origin:449px 284px;animation:.3s ease-in-out 8 butterfly-flutter}@keyframes gold-travel{0%{stroke-dashoffset:100px}to{stroke-dashoffset:-100px}}@keyframes gold-dissolve{0%{opacity:1;stroke-width:5px}to{opacity:0;stroke-width:1px;filter:blur(4px)}}@keyframes creature-arrive{0%{opacity:0;filter:saturate(.4);transform:translateY(5px)scale(.975)}to{opacity:1;filter:saturate();transform:translateY(0)scale(1)}}@keyframes face-arrive{0%,25%{opacity:0}to{opacity:1}}@keyframes reward-drift{0%{opacity:0;transform:translateY(10px)scale(.2)}20%{opacity:.65;transform:translateY(0)scale(1)}to{opacity:0;transform:translate(var(--particle-x),-45px) scale(.4)}}@keyframes hello-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes eye-blink{0%,13%,30%,40%,83%,to{opacity:1;transform:scaleY(1)}20%,24%{opacity:1;transform:scaleY(.08)}48%,74%{opacity:0;transform:scaleY(.04)}}@keyframes eye-smile{0%,40%,83%,to{opacity:0}48%,74%{opacity:1}}@keyframes shadow-breathe{0%,to{opacity:.12;transform:scaleX(1)}40%,70%{opacity:.075;transform:scaleX(.88)}}@keyframes cat-bounce{0%,to{transform:translateY(0)scale(1)}18%{transform:translateY(3px)scale(1.01,.99)}36%,58%{transform:translateY(-9px)scale(.99,1.015)}80%{transform:translateY(0)scale(1)}}@keyframes tail-wave{0%,to{transform:rotate(0)}30%{transform:rotate(-9deg)}70%{transform:rotate(7deg)}}@keyframes head-nuzzle{0%,to{transform:rotate(0)}30%,55%{transform:rotate(-4deg)}75%{transform:rotate(2deg)}}@keyframes paw-hello{0%,17%,to{transform:rotate(0)translate(0)}34%,72%{transform:rotate(-20deg)translate(-5px,-18px)}47%,62%{transform:rotate(-7deg)translate(-4px,-23px)}}@keyframes bird-flight{0%,to{transform:translate(0)rotate(0)}20%{transform:translate(-8px,5px)rotate(3deg)}48%{transform:translate(36px,-30px)rotate(-6deg)}72%{transform:translate(15px,-38px)rotate(-3deg)}}@keyframes wing-flap{0%,to{transform:rotate(-5deg)scaleY(1)}50%{transform:rotate(13deg)scaleY(.88)}}@keyframes fox-hop{0%,to{transform:translateY(0)scale(1)}20%{transform:translateY(3px)scale(1.02,.97)}43%{transform:translateY(-24px)scale(.98,1.02)}63%{transform:translateY(0)scale(1.02,.99)}80%{transform:scale(1)}}@keyframes fox-tail{0%,to{transform:rotate(0)}35%{transform:rotate(-8deg)}75%{transform:rotate(6deg)}}@keyframes rabbit-hop{0%,to{transform:translateY(0)scale(1)}18%,58%{transform:translateY(2px)scale(1.02,.96)}34%{transform:translateY(-30px)scale(.99,1.015)}47%,78%{transform:translateY(0)scale(1)}68%{transform:translateY(-12px)scale(.99,1.01)}}@keyframes ear-left{0%,to{transform:rotate(0)}25%,55%{transform:rotate(-8deg)}75%{transform:rotate(3deg)}}@keyframes ear-right{0%,to{transform:rotate(0)}25%,55%{transform:rotate(7deg)}75%{transform:rotate(-3deg)}}@keyframes nose-wiggle{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes owl-curious{0%,to{transform:rotate(0)}28%{transform:rotate(-9deg)}62%{transform:rotate(8deg)}82%{transform:rotate(-2deg)}}@keyframes owl-left{0%,to{transform:rotate(0)}30%,65%{transform:rotate(12deg)}}@keyframes owl-right{0%,to{transform:rotate(0)}30%,65%{transform:rotate(-12deg)}}@keyframes butterfly-flight{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(-20px,-15px)rotate(-7deg)}50%{transform:translate(12px,-32px)rotate(5deg)}75%{transform:translate(26px,-10px)rotate(-3deg)}}@keyframes butterfly-flutter{0%,to{transform:scaleX(1)}50%{transform:scaleX(.72)}}.reduced-motion .creature *,.reduced-motion .creature-reveal-layer,.reduced-motion .hello-prompt,.reduced-motion .acquisition{animation:none!important}.reduced-motion .drawing-wrap{transition:opacity .15s;transform:none}.reduced-motion .phase-results .drawing-wrap{transform:translate(-14%)scale(.9)}.reduced-motion .alive .eye-blink{opacity:0}.reduced-motion .alive .eye-smile{opacity:1}.reduced-motion .gold-line{transition-duration:.15s}.reduced-motion .phase-gold-dissolve .gold-line{animation-duration:.12s;animation-delay:0s}@media (min-width:1450px){.v2 .puzzle-stage{height:58vh;max-height:640px}}@media (max-width:1050px){.phase-results .drawing-wrap,.reduced-motion .phase-results .drawing-wrap{transform:translate(-17%)scale(.82)}.hello-prompt{bottom:23px}}@media (max-width:760px){.phase-results .puzzle-stage{flex-direction:column;align-items:center;height:auto;min-height:645px;display:flex}.phase-results .puzzle-svg{flex:none;height:300px}.phase-results .drawing-wrap,.reduced-motion .phase-results .drawing-wrap{transform:none}.phase-results .canvas-halo{top:150px;left:50%}.result-card{margin-bottom:23px;padding:21px}.reward-footer{font-size:calc(10px * var(--restore-text-scale,1));line-height:1.6}.reward-footer>span:first-child{max-width:65%}.collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.card-art{height:118px}.level-card strong{font-size:calc(13px * var(--restore-text-scale,1))}.card-meta{flex-wrap:wrap;gap:6px;font-size:calc(9px * var(--restore-text-scale,1))}.hello-prompt{gap:8px;padding:10px 17px;bottom:25px}.hello-prompt>span:first-of-type{font-size:calc(12px * var(--restore-text-scale,1))}.hello-sub{font-size:calc(10px * var(--restore-text-scale,1))}.acquisition{white-space:normal;width:max-content;max-width:90%;padding:12px 15px}.acquisition strong{font-size:calc(11px * var(--restore-text-scale,1))}.acquisition div>span{font-size:calc(10px * var(--restore-text-scale,1))}.acquisition-icon{flex:none;width:32px;height:32px}.interaction-caption{font-size:calc(12px * var(--restore-text-scale,1));bottom:34px}.reveal-caption{padding:0 20px;font-size:calc(15px * var(--restore-text-scale,1));bottom:25px}.friend-dialog{gap:9px!important;padding:28px 23px!important}.friend-details{margin:5px 0 13px}.intro-sparkle{bottom:15%;right:12%}}@media (prefers-reduced-motion:reduce){.reward-particles{display:none}.alive .eye-blink{opacity:0}.alive .eye-smile{opacity:1}}:where(:root[data-system-reduced-motion]) .reward-particles{display:none}:where(:root[data-system-reduced-motion]) .alive .eye-blink{opacity:0}:where(:root[data-system-reduced-motion]) .alive .eye-smile{opacity:1}.phase-playing .drawing-wrap{transition:none;transform:none}.phase-gold-shimmer .gold-line{stroke-width:5px;opacity:1;transition:none}@media (max-width:760px){.puzzle-svg .puzzle-line{vector-effect:non-scaling-stroke;stroke-width:1.2px}.puzzle-svg .gold-line{vector-effect:non-scaling-stroke}.puzzle-node .hit-area{r:58}.puzzle-node .node-core{r:13;stroke-width:3px}.puzzle-node .node-halo{r:27}.puzzle-node.solved .node-core{r:7}}:root{--background:#fbf8f2;--foreground:#343e49;--card:#fffdf8;--card-foreground:#343e49;--popover:#fffdf8;--popover-foreground:#343e49;--primary:#526b69;--primary-foreground:#fff;--secondary:#f0ebe2;--secondary-foreground:#455551;--muted:#eeeae2;--muted-foreground:#797c78;--accent:#e5ece5;--accent-foreground:#435f58;--border:#e6e3d9;--input:#e5e1d6;--ring:#79968e;--blue:#58777a;--ink:#343e49;--slate:#747c7c}body{background:#fbf8f2}.world-app{color:#343e49;max-width:1180px;min-height:100svh;margin:auto;padding:0 40px 112px}.world-topbar{border-bottom:1px solid #e8e4da;justify-content:space-between;align-items:center;height:89px;margin-bottom:27px;display:flex}.world-brand{text-align:left;color:inherit;background:0 0;border:0;padding:0}.world-logo{letter-spacing:-1.5px;grid-template-columns:37px auto;align-items:center;column-gap:12px;font-family:Georgia,serif;font-size:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563));line-height:1;display:grid}.world-logo svg{fill:#b08b4b;grid-row:1/3;width:32px;height:32px}.world-logo svg path{fill:none;stroke:#b08b4b;stroke-width:1.7px}.world-logo>span{letter-spacing:1.4px;color:#848775;margin-top:5px;font-family:Arial,sans-serif;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6}.world-top-actions{gap:8px;display:flex}.world-icon{color:#747b77;background:0 0;border:1px solid #0000;border-radius:50%;place-items:center;width:45px;height:45px;display:grid}.world-icon:hover{background:#eeeae1;border-color:#e4dfd3}.world-content{min-height:60vh}.world-heading{justify-content:space-between;align-items:center;gap:22px;margin:24px 0;display:flex}.overline{letter-spacing:1.6px;color:#8b8c7e;font-size:calc(12px * var(--restore-text-scale,1));font-weight:600;line-height:1.5}.world-heading h1{letter-spacing:-.8px;margin:8px 0 10px;font-family:Georgia,serif;font-size:calc(34px * (1 + (var(--restore-text-scale,1) - 1) * 0.529));font-weight:400;line-height:1.2}.world-heading p{color:#7b807a;margin:0;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.6}.world-back{color:#7b837d;background:0 0;border:0;align-items:center;gap:8px;min-height:44px;padding:0;font-size:calc(14px * var(--restore-text-scale,1));display:flex}.world-primary,.world-secondary{color:#fffdf7;background:#516e65;border:0;border-radius:14px;justify-content:space-between;align-items:center;gap:15px;width:100%;min-height:52px;padding:14px 19px;font-size:calc(15px * var(--restore-text-scale,1));font-weight:600;line-height:1.5;display:flex;box-shadow:0 5px 15px #435e5812}.world-primary:hover{background:#405e55}.world-secondary{color:#796d52;box-shadow:none;background:#f3ede1;border:1px solid #e6ddca}.world-secondary:hover{background:#ebe3d3}.continue-card{background:#fffdf8;border:1px solid #e7e0d3;border-radius:26px;grid-template-columns:1.3fr 1fr;display:grid;overflow:hidden;box-shadow:0 12px 40px #816a3910}.continue-scene{background:#f4e3c2;min-height:350px;display:flex;position:relative;overflow:hidden}.continue-scene>svg{object-fit:cover;width:100%;height:100%;min-height:350px;transform:scale(1.055)}.scene-tag{color:#887347;backdrop-filter:blur(5px);background:#fff9e5e3;border:1px solid #f9f0d2;border-radius:30px;align-items:center;gap:8px;padding:9px 14px;font-size:calc(13px * var(--restore-text-scale,1));display:flex;position:absolute;bottom:20px;left:21px}.continue-copy{flex-direction:column;justify-content:center;align-items:flex-start;padding:43px 34px;display:flex}.continue-copy h2{letter-spacing:-.6px;margin:13px 0;font:400 calc(31px * (1 + (var(--restore-text-scale,1) - 1) * 0.581))/1.17 Georgia,serif}.continue-copy p{color:#80847a;margin:0 0 22px;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.7}.continue-copy .world-primary{margin-top:4px}.continue-progress{width:100%;margin-top:20px}.continue-progress span{color:#898b7e;margin-top:8px;font-size:calc(13px * var(--restore-text-scale,1));display:block}.world-app [data-slot=progress]{background:#e9e6dc;border-radius:6px;height:6px}.world-app [data-slot=progress-indicator]{background:#a2b59b;border-radius:6px;transition:transform .7s}.world-overview{grid-template-columns:repeat(3,1fr);gap:17px;margin:24px 0;display:grid}.world-overview button{text-align:left;color:#74877c;background:#f4f1e9;border:1px solid #eae5da;border-radius:17px;grid-template-columns:28px 1fr;column-gap:10px;padding:19px 20px;display:grid}.world-overview button strong{color:#59685e;font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72));font-weight:500;line-height:1.2}.world-overview small,.dashboard-summary small{color:#9c9d90;font-size:calc(14px * var(--restore-text-scale,1));font-weight:400}.world-overview button>span{color:#85897e;grid-column:2;margin-top:5px;font-size:calc(14px * var(--restore-text-scale,1))}.world-overview button>svg{margin-top:4px}.world-reassurance{color:#8a8b80;text-align:center;justify-content:center;align-items:center;gap:9px;margin:26px 0;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.6;display:flex}.world-bottom-nav{z-index:20;backdrop-filter:blur(18px);background:#fffffff0;border:1px solid #e6e1d5;border-radius:23px;grid-template-columns:repeat(3,1fr);width:390px;max-width:calc(100% - 26px);padding:8px 10px;display:grid;position:fixed;bottom:17px;left:50%;transform:translate(-50%);box-shadow:0 7px 36px #62594519}.world-bottom-nav button{color:#9a9c91;background:0 0;border:0;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:56px;display:flex;position:relative}.world-bottom-nav button>span{font-size:calc(13px * var(--restore-text-scale,1))}.world-bottom-nav button.selected{color:#577163;background:#edf1e8}.world-bottom-nav i{color:#fff;background:#ceae73;border:2px solid #fff;border-radius:100%;min-width:18px;height:18px;padding:1px;font-size:calc(10px * var(--restore-text-scale,1));font-style:normal;position:absolute;top:4px;right:22%}.world-puzzle{max-width:860px;margin:auto;padding:0}.world-puzzle .world-heading{margin:13px 0 17px}.world-puzzle .world-heading h1{font-size:calc(31px * (1 + (var(--restore-text-scale,1) - 1) * 0.581))}.puzzle-progress{align-items:center;gap:19px;margin:19px 0 22px;display:flex}.puzzle-progress [data-slot=progress]{flex:1}.puzzle-progress>span{color:#8b8f85;white-space:nowrap;font-size:calc(13px * var(--restore-text-scale,1))}.world-puzzle .puzzle-stage{background:#fffdf8;border:1px solid #e8e4d8;border-radius:25px;height:min(54vh,530px);min-height:350px;box-shadow:0 10px 35px #795f3007}.world-puzzle .puzzle-stage:before,.world-puzzle .puzzle-stage:after{display:none}.world-puzzle .canvas-halo{background:radial-gradient(circle,#faf3df 0%,#fffdf800 68%);border:1px solid #f1ece0;width:380px;height:380px}.world-puzzle .puzzle-svg{padding:10px 0}.world-app .puzzle-line{stroke:#737c84;stroke-width:2.1px}.world-app .node-core{fill:#5279af;stroke:#fff;stroke-width:3px;r:10}.world-app .hit-area{r:44}.world-app .node-halo{r:20;fill:#6297cd0e;stroke:#6297cd28;stroke-width:2px}.world-app .solved .node-core{r:5;fill:#75a088;stroke-width:2px}.world-app .grabbed .node-core{r:12}.world-app .grabbed .node-halo{r:24;fill:#7497cc29}.world-app .assist-halo{stroke:#c4a468;stroke-width:2.5px}.world-puzzle-tools{border-bottom:1px solid #e9e5dc;justify-content:center;gap:22px;padding:17px 4px;display:flex}.world-puzzle-tools button{color:#858b82;background:0 0;border:0;align-items:center;gap:8px;min-height:44px;padding:7px 9px;font-size:calc(14px * var(--restore-text-scale,1));display:flex}.puzzle-message{color:#7b8579;text-align:center;min-height:22px;margin:15px 0 0;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.6}.puzzle-help-note{color:#92958a;text-align:center;margin:8px 0 16px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}.world-hello{white-space:nowrap;color:#987940;background:#fffcf0f2;border:1px solid #e3cf9e;border-radius:30px;justify-content:center;align-items:center;gap:12px;min-height:51px;padding:12px 22px;font-size:calc(15px * var(--restore-text-scale,1));animation:.5s both hello-in;display:flex;position:absolute;bottom:24px;left:50%;translate:-50%;box-shadow:0 7px 28px #c08a3614}.world-reward-note{text-align:center;color:#987a65;background:#fffdf0dd;border-radius:17px;justify-content:center;align-items:center;gap:9px;padding:9px 13px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5;display:flex;position:absolute;bottom:20px;left:7%;right:7%}.world-reward-note svg{color:#c5868b;flex:none}.world-puzzle.phase-results .drawing-wrap{transform:none}.world-app .designer-panel{color:#ecf6de;z-index:50;background:#253f3eeb;border-radius:12px;max-width:300px;padding:15px;font-size:calc(12px * var(--restore-text-scale,1));position:fixed;bottom:100px;right:15px}.world-app .designer-panel pre{margin:8px 0 0}.debug-target circle{fill:none;stroke:#a354a0;stroke-width:1.5px;stroke-dasharray:4 5}.debug-target text{fill:#a354a0;font-size:calc(12px * var(--restore-text-scale,1))}.world-settings{max-height:90svh;overflow-y:auto;background:#fffdf8!important;border-radius:25px!important;max-width:520px!important;padding:30px!important}.world-settings [data-slot=dialog-title]{color:#49584e;font:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))/1.2 Georgia,serif}.world-settings [data-slot=dialog-description]{color:#899081;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.6}.settings-help p{color:#80877e;margin:10px 0;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.7}.settings-help b{color:#566958}.world-setting{border-top:1px solid #e9e5d9;justify-content:space-between;align-items:center;gap:25px;padding:15px 0;display:flex}.world-setting label{color:#60705f;font-size:calc(15px * var(--restore-text-scale,1))}.world-setting label>span{color:#929586;margin-top:5px;font-size:calc(13px * var(--restore-text-scale,1));display:block}.local-save-note{color:#929586;margin:0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}.save-notice{color:#846c3e;background:#fff2d6;border:1px solid #dfc899;border-radius:12px;padding:12px 17px;font-size:calc(14px * var(--restore-text-scale,1))}.habitat-screen .world-heading{margin-top:9px}.comfort-pill{white-space:nowrap;color:#84936d;background:#edf1e5;border:1px solid #e1e6d6;border-radius:30px;align-items:center;gap:8px;padding:10px 15px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.habitat-layout{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);align-items:start;gap:29px;display:grid}.habitat-scene-wrap{min-width:0;position:sticky;top:20px}.habitat-scene{touch-action:pan-y;background:#efe6d0;border:1px solid #e5dcc9;border-radius:24px;width:100%;height:auto;display:block;overflow:hidden;box-shadow:0 13px 40px #8c70491c}.habitat-scene.is-dragging{touch-action:none}.habitat-backdrop{pointer-events:none}.habitat-companion{cursor:pointer;touch-action:none;outline:none;transition:transform 1.1s cubic-bezier(.22,.76,.25,1)}.habitat-companion:focus-visible .pet-halo{stroke:#ecbc6c;stroke-width:3px;stroke-dasharray:7 11}.habitat-companion.is-stroked .pet-halo{fill:#fff3bd20}.placed-item{cursor:pointer;outline:none;transition:filter .2s}.placed-item:focus-visible{filter:drop-shadow(0 0 5px #fff0b0)}.item-ghost{opacity:.28;filter:saturate(.3)}.placement-destination{cursor:pointer;outline:none}.placement-destination>ellipse{fill:#fff1a93d;stroke:#e9c56f;stroke-width:3px;stroke-dasharray:9 9;animation:2s ease-in-out infinite targetPulse}.placement-destination text{fill:#94733e;letter-spacing:1px;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.placement-destination:focus-visible>ellipse{stroke-width:6px}.draggable-item{cursor:grab;touch-action:none;outline:none}.is-dragging .draggable-item{cursor:grabbing}.draggable-item:focus-visible .item-art{filter:drop-shadow(0 0 8px #fff2b2)}.creature-voice{background:#fffdf7;border:1px solid #e7e1d3;border-radius:17px;justify-content:center;align-items:flex-start;gap:11px;min-height:58px;margin:15px 13px 0;padding:16px 22px;display:flex;box-shadow:0 7px 19px #8d734009}.creature-voice>svg{color:#c79094;flex:none;margin-top:2px}.creature-voice>p{color:#847764;text-align:center;margin:0;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.6}.habitat-touch-hint{color:#929584;text-align:center;justify-content:center;align-items:center;gap:8px;margin:13px 0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;display:flex}.habitat-controls{min-width:0}.home-meter{background:#f2f1e7;border:1px solid #e5e5d6;border-radius:18px;padding:18px 20px}.home-meter>div:first-child{color:#76836a;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px;font-size:calc(14px * var(--restore-text-scale,1));display:flex}.home-meter b{color:#6c8364;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));font-weight:500}.home-meter p{color:#909582;margin:10px 0 0;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5}.bond-meter{color:#bf8c90;align-items:center;gap:12px;padding:18px 5px;display:flex}.bond-meter>div{flex-direction:column;gap:4px;display:flex}.bond-meter strong{color:#8c7e73;font-size:calc(14px * var(--restore-text-scale,1));font-weight:500}.bond-meter span{color:#a09889;font-size:calc(12px * var(--restore-text-scale,1))}.next-request{background:#fffdf6;border:1px solid #e8dfcc;border-radius:19px;margin-bottom:17px;padding:22px 20px}.next-request .overline{letter-spacing:1.3px;font-size:calc(10px * var(--restore-text-scale,1))}.next-request h2{color:#657062;margin:11px 0;font-family:Georgia,serif;font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72));font-weight:400}.next-request p{color:#928b78;margin:0 0 18px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.7}.next-request .world-primary{min-height:50px;padding:12px 14px;font-size:calc(14px * var(--restore-text-scale,1))}.habitat-item-list{flex-direction:column;gap:8px;display:flex}.item-choice{text-align:left;color:#a0a18e;background:#fffdf7;border:1px solid #e9e4d8;border-radius:14px;align-items:center;gap:11px;min-height:70px;padding:7px 10px;display:flex}.item-choice:hover,.item-choice.selected{background:#f4f5e9;border-color:#b2bca0}.item-choice.done{background:#eff2e8;border-color:#dde5d6}.item-choice-art{background:#f3ede0;border-radius:9px;flex:none;place-items:center;width:56px;height:52px;display:grid}.item-choice-art svg{width:100%;height:100%;overflow:visible}.item-choice>span:nth-child(2){flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.item-choice strong{color:#78816c;font-size:calc(14px * var(--restore-text-scale,1));font-weight:500}.item-choice small{color:#a1a18c;font-size:calc(12px * var(--restore-text-scale,1))}.item-choice.done>svg{color:#8ca178}.next-friend-button{text-align:left;color:#aaa591;background:#f2efe5;border:1px dashed #ded9c9;border-radius:16px;align-items:center;gap:12px;width:100%;margin-top:19px;padding:16px 13px;font-size:calc(14px * var(--restore-text-scale,1));display:flex;opacity:1!important}.next-friend-button>span{flex:1}.next-friend-button small{color:#a1a18b;margin-top:6px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;display:block}.next-friend-button.available{color:#9c7d44;background:#f6edd5;border:1px solid #e7d3a2}.next-friend-button.available small{color:#9e9278}.affection-hearts{pointer-events:none;transform-origin:450px 200px;animation:2.2s both heart-rise}.habitat-motes{animation:5s ease-in-out infinite alternate mote-light}.creature-cat.mood-rest .creature-motion{transform-origin:450px 442px}.creature-cat.mood-rest.alive .creature-motion{animation:2.9s both cat-settle}.creature.mood-rest:not(.alive) .eye-blink{transform:scaleY(.13)}.creature.mood-rest:not(.alive) .eye-smile{opacity:1}.creature-fox.mood-rest.alive .creature-motion{transform-origin:450px 448px;animation:2.9s both fox-nest}.creature-hummingbird.mood-perch.alive .creature-motion{animation:2.9s both perch-land}.creature-rabbit.mood-rest.alive .creature-motion{transform-origin:450px 450px;animation:2.9s both rabbit-snuggle}.creature.mood-wonder.alive .animal-head{animation:2.9s both head-nuzzle}.creature-finish{pointer-events:none}@keyframes cat-settle{0%{transform:translate(65px,-16px)rotate(-7deg)}24%{transform:translate(-24px,-8px)rotate(5deg)}45%{transform:translate(11px,-4px)rotate(-4deg)}72%,to{transform:translateY(12px)scale(1.08,.88)}}@keyframes fox-nest{0%{transform:translate(40px,-20px)}35%{transform:translateY(-12px)rotate(-3deg)}70%,to{transform:translateY(9px)scale(1.06,.92)}}@keyframes rabbit-snuggle{0%{transform:translateY(-27px)}25%{transform:translateY(0)scale(1.03,.96)}55%{transform:rotate(-3deg)}to{transform:scale(1.03,.95)}}@keyframes perch-land{0%{transform:translate(90px,-65px)rotate(-8deg)}60%{transform:translate(-7px,3px)rotate(2deg)}to{transform:translate(0)}}@keyframes heart-rise{0%{opacity:0;transform:translateY(25px)scale(.75)}20%,55%{opacity:.9}to{opacity:0;transform:translateY(-45px)scale(1.08)}}@keyframes mote-light{0%{opacity:.25}to{opacity:.8}}.companion-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.companion-card{text-align:left;color:inherit;background:#fffdf7;border:1px solid #e6e2d6;border-radius:22px;padding:0;transition:border-color .2s,box-shadow .2s;overflow:hidden;box-shadow:0 7px 23px #7c663908}.companion-card:hover:not(:disabled){border-color:#bec9b3;box-shadow:0 9px 28px #7c663918}.companion-card:disabled{opacity:1;cursor:default}.companion-portrait{background:radial-gradient(ellipse at 50% 70%,var(--portrait-color),#faf6e9 75%);height:195px}@supports (color:color-mix(in lab, red, red)){.companion-portrait{background:radial-gradient(ellipse at 50% 70%,color-mix(in srgb,var(--portrait-color),#fff5dd 65%),#faf6e9 75%)}}.companion-portrait{justify-content:center;align-items:center;display:flex;position:relative}.companion-portrait svg{width:100%;height:100%}.companion-card:not(.discovered) .companion-portrait>svg{filter:brightness(0)sepia();opacity:.1}.portrait-lock{color:#a4a493;position:absolute;top:50%;left:50%;translate:-50% -20%}.companion-card.ready .portrait-lock{color:#b59658}.companion-card.ready .companion-portrait{background:radial-gradient(#f6e9c2,#faf6e9 73%)}.happy-badge{color:#93a278;background:#ffffeccc;border-radius:30px;align-items:center;gap:5px;padding:6px 9px;font-size:calc(11px * var(--restore-text-scale,1));display:flex;position:absolute;bottom:10px;right:10px}.happy-badge svg{width:13px;height:13px}.companion-card-copy{padding:17px 20px}.companion-card h2{color:#66765f;margin:0 0 6px;font:400 calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))/1.2 Georgia,serif}.companion-card-copy>div:first-child>span{color:#9a9a87;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}.companion-card-copy [data-slot=progress]{height:4px;margin:17px 0 12px}.companion-metrics{color:#989582;justify-content:space-between;align-items:center;gap:10px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.companion-metrics span{align-items:center;gap:5px;display:flex}.card-cta{color:#819377;justify-content:space-between;align-items:center;gap:8px;margin-top:19px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.locked .card-cta{color:#aba895;font-size:calc(12px * var(--restore-text-scale,1))}.dashboard-summary{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.dashboard-summary>div{color:#8c9a81;background:#f2f0e7;border:1px solid #e7e3d5;border-radius:20px;flex-direction:column;align-items:center;gap:12px;padding:26px;display:flex}.dashboard-summary strong{color:#627659;font-size:calc(37px * (1 + (var(--restore-text-scale,1) - 1) * 0.486));font-weight:400}.dashboard-summary span{color:#8b937f;font-size:calc(14px * var(--restore-text-scale,1))}.world-completion{background:#fffdf7;border:1px solid #e5dfcf;border-radius:22px;margin:23px 0;padding:26px}.world-completion h2{color:#68745d;margin:10px 0 21px;font:400 calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))/1.4 Georgia,serif}.world-completion p{color:#979882;margin:12px 0 0;font-size:calc(14px * var(--restore-text-scale,1))}.dashboard-homes{grid-template-columns:repeat(2,1fr);gap:13px;display:grid}.dashboard-homes>button{text-align:left;color:#98a288;background:#fffdf7;border:1px solid #e6e1d4;border-radius:18px;align-items:center;gap:13px;padding:12px 15px;display:flex}.dashboard-homes>button>svg:first-child{flex:none;width:85px;height:85px}.dashboard-homes>button>div{flex:1;min-width:0}.dashboard-homes h3{color:#768366;margin:0 0 6px;font-size:calc(15px * var(--restore-text-scale,1));font-weight:500;line-height:1.5}.dashboard-homes span{color:#a09f89;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5}.dashboard-homes [data-slot=progress]{height:4px;margin:11px 0 0}.world-empty{text-align:center;color:#a2a688;border:1px dashed #dfdfcf;border-radius:22px;grid-column:1/-1;padding:26px}.world-empty>svg{margin:auto}.world-empty h2{color:#7e8a6d;font:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72)) Georgia,serif}.world-empty p{font-size:calc(15px * var(--restore-text-scale,1));line-height:1.7}.world-empty .world-primary{max-width:350px;margin:22px auto 0}.reduced-motion .habitat-companion{transition:none!important}.reduced-motion .habitat-motes,.reduced-motion .affection-hearts,.reduced-motion .placement-destination>ellipse{animation:none!important}.reduced-motion .affection-hearts{opacity:.7}.reduced-motion .world-hello{animation:none!important}.reduced-motion .puzzle-stage *{transition-duration:.01ms!important;animation-duration:.01ms!important}.reduced-motion .creature-reveal-layer{opacity:1!important}.reduced-motion .reward-particles{display:none}@media (min-width:1100px){.world-home{max-width:1010px;margin:auto}.world-heading{margin-bottom:28px}.habitat-scene{margin-top:0}}@media (max-width:800px){.world-app{padding:0 25px 108px}.world-topbar{height:79px;margin-bottom:18px}.world-heading h1{font-size:calc(31px * (1 + (var(--restore-text-scale,1) - 1) * 0.581))}.continue-card{grid-template-columns:1fr 1fr}.continue-copy{padding:25px}.continue-copy h2{font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}.continue-scene,.continue-scene>svg{min-height:300px}.habitat-layout{grid-template-columns:1fr;gap:18px}.habitat-scene-wrap{max-width:720px;position:relative;top:auto}.habitat-controls{grid-template-columns:1fr 1fr;gap:14px;display:grid}.home-meter{grid-column:1}.bond-meter{grid-area:1/2}.next-request{grid-column:1/-1;grid-template-columns:1fr 1fr;column-gap:25px;margin-bottom:0;padding:22px;display:grid}.next-request .overline,.next-request h2{grid-column:1}.next-request p{grid-column:1;margin:0}.next-request button{grid-area:1/2/4;align-self:center}.habitat-item-list{grid-column:1/-1;grid-template-columns:repeat(2,1fr);display:grid}.next-friend-button{grid-column:1/-1;margin:0}.companion-grid{grid-template-columns:repeat(2,1fr)}.dashboard-homes{grid-template-columns:1fr}.world-overview button{grid-template-columns:20px 1fr;column-gap:8px;padding:16px 13px}.world-overview button>svg{width:18px}.world-overview button>span{font-size:calc(12px * var(--restore-text-scale,1))}}@media (max-width:560px){.world-app{padding:0 18px 109px}.world-topbar{height:77px;margin-bottom:15px}.world-logo{column-gap:7px;font-size:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621))}.world-logo>span{letter-spacing:1.2px;font-size:calc(10px * var(--restore-text-scale,1))}.world-logo svg{width:29px}.world-top-actions{gap:1px}.world-heading{margin:20px 0}.world-heading h1{margin:8px 0;font-size:calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643));line-height:1.2}.world-heading p{font-size:calc(15px * var(--restore-text-scale,1));line-height:1.55}.overline{letter-spacing:1.35px;font-size:calc(10px * var(--restore-text-scale,1))}.continue-card{border-radius:23px;flex-direction:column;display:flex}.continue-scene{height:230px;min-height:0}.continue-scene>svg{width:100%;height:auto;min-height:0;transform:scale(1.08)}.continue-copy{padding:23px 22px}.continue-copy h2{margin:10px 0;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.continue-copy p{margin-bottom:14px;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.55}.continue-copy .overline{font-size:calc(10px * var(--restore-text-scale,1))}.scene-tag{padding:7px 11px;font-size:calc(12px * var(--restore-text-scale,1));bottom:15px;left:15px}.continue-copy .world-primary{min-height:50px;font-size:calc(14px * var(--restore-text-scale,1))}.world-overview{gap:9px;margin:17px 0}.world-overview button{text-align:center;border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:14px 5px;display:flex}.world-overview button>strong{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.world-overview button>strong small{font-size:calc(12px * var(--restore-text-scale,1))}.world-overview button>span{margin:0;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4}.world-overview button>svg{margin:0}.world-reassurance{margin:20px 5px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6}.world-bottom-nav{bottom:max(10px,env(safe-area-inset-bottom));width:365px;padding:6px 8px}.world-bottom-nav button{min-height:55px}.world-bottom-nav button>span{font-size:calc(12px * var(--restore-text-scale,1))}.world-back{min-height:35px;font-size:calc(13px * var(--restore-text-scale,1))}.world-puzzle .world-heading{margin:13px 0}.world-puzzle .world-heading h1{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.world-puzzle .world-heading p{font-size:calc(14px * var(--restore-text-scale,1))}.puzzle-progress{gap:15px;margin:18px 0}.puzzle-progress>span{font-size:calc(12px * var(--restore-text-scale,1))}.world-puzzle .puzzle-stage{border-radius:23px;height:clamp(320px,46svh,415px);min-height:320px;margin-left:-7px;margin-right:-7px}.world-puzzle .canvas-halo{width:290px;height:290px}.world-puzzle .puzzle-svg{padding:0}.world-puzzle-tools{gap:8px;padding:12px 0}.world-puzzle-tools button{gap:6px;padding:7px 8px;font-size:calc(13px * var(--restore-text-scale,1))}.world-puzzle-tools button svg{width:16px}.puzzle-message{margin-top:13px;font-size:calc(14px * var(--restore-text-scale,1))}.puzzle-help-note{padding:0 16px;font-size:calc(12px * var(--restore-text-scale,1))}.world-hello{min-height:47px;padding:11px 19px;font-size:calc(14px * var(--restore-text-scale,1));bottom:19px}.world-reward-note{font-size:calc(12px * var(--restore-text-scale,1));bottom:14px;left:5%;right:5%}.habitat-screen .world-heading{margin-top:11px;margin-bottom:17px;padding-bottom:39px;display:block;position:relative}.habitat-screen .world-heading h1{font-size:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621))}.habitat-screen .world-heading p{font-size:calc(14px * var(--restore-text-scale,1))}.comfort-pill{padding:5px 10px;font-size:calc(12px * var(--restore-text-scale,1));position:absolute;bottom:0;left:0}.comfort-pill svg{width:13px}.habitat-layout{gap:15px}.habitat-scene{border-radius:22px;width:calc(100% + 14px);margin-left:-7px}.creature-voice{border-radius:15px;gap:9px;min-height:53px;margin:12px 0 0;padding:13px 14px}.creature-voice p{font-size:calc(14px * var(--restore-text-scale,1))}.habitat-touch-hint{margin:10px 8px 0;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5}.habitat-controls{grid-template-columns:1.15fr 1fr;gap:11px}.home-meter{border-radius:15px;padding:14px 13px}.home-meter>div:first-child{margin-bottom:10px;font-size:calc(13px * var(--restore-text-scale,1))}.home-meter b{font-size:calc(18px * var(--restore-text-scale,1))}.home-meter p{margin-top:9px;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}.bond-meter{gap:8px;padding:10px 6px}.bond-meter strong{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.4}.bond-meter span{font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}.bond-meter>svg{flex:none;width:17px}.next-request{padding:20px 18px;display:block}.next-request .overline{font-size:calc(10px * var(--restore-text-scale,1))}.next-request h2{margin:9px 0;font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.next-request p{margin:0 0 16px;font-size:calc(14px * var(--restore-text-scale,1))}.next-request button{min-height:49px}.habitat-item-list{gap:8px}.item-choice{flex-wrap:wrap;gap:7px;min-height:93px;padding:9px;position:relative}.item-choice-art{width:45px;height:44px}.item-choice>span:nth-child(2){min-width:68px}.item-choice strong{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4}.item-choice small{font-size:calc(10px * var(--restore-text-scale,1));line-height:1.4}.item-choice>svg{width:12px;position:absolute;bottom:7px;right:8px}.next-friend-button{padding:15px 13px;font-size:calc(13px * var(--restore-text-scale,1))}.next-friend-button small{font-size:calc(12px * var(--restore-text-scale,1))}.companion-grid{gap:12px}.companion-portrait{height:153px}.companion-card{border-radius:18px}.companion-card-copy{padding:14px 12px}.companion-card h2{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.companion-card-copy>div:first-child>span{min-height:32px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4;display:block}.companion-metrics{flex-direction:column;align-items:flex-start;gap:6px;font-size:calc(11px * var(--restore-text-scale,1))}.card-cta{margin-top:15px;font-size:calc(12px * var(--restore-text-scale,1))}.locked .card-cta{font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}.happy-badge{gap:3px;padding:5px 6px;font-size:calc(9px * var(--restore-text-scale,1));bottom:7px;right:5px}.happy-badge svg{width:10px}.dashboard-summary{gap:9px}.dashboard-summary>div{border-radius:16px;gap:11px;padding:19px 7px}.dashboard-summary strong{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.dashboard-summary small{font-size:calc(11px * var(--restore-text-scale,1))}.dashboard-summary span{text-align:center;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.3}.dashboard-summary>div>svg{width:21px}.world-completion{margin:17px 0;padding:21px 20px}.world-completion h2{font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));line-height:1.3}.world-completion p{font-size:calc(13px * var(--restore-text-scale,1))}.dashboard-homes>button{gap:7px;padding:10px 11px}.dashboard-homes>button>svg:first-child{width:64px;height:72px}.dashboard-homes h3{font-size:calc(14px * var(--restore-text-scale,1))}.dashboard-homes span{font-size:calc(11px * var(--restore-text-scale,1))}.world-settings{padding:25px 22px!important}.world-settings [data-slot=dialog-title]{font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}.settings-help p{font-size:calc(14px * var(--restore-text-scale,1))}.world-empty{padding:21px 16px}.world-empty h2{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.world-empty p{font-size:calc(14px * var(--restore-text-scale,1))}.world-empty .world-primary{font-size:calc(13px * var(--restore-text-scale,1))}}@media (max-width:360px){.world-app{padding-left:13px;padding-right:13px}.world-heading h1{font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.world-logo>span{display:none}.world-logo{gap:8px;font-size:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621));display:flex}.continue-scene{height:210px}.world-puzzle .world-heading h1{font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.world-puzzle-tools{gap:1px}.world-puzzle-tools button{font-size:calc(12px * var(--restore-text-scale,1))}.companion-portrait{height:134px}.companion-card h2{font-size:calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857))}.world-bottom-nav{max-width:calc(100% - 18px)}}@media (prefers-reduced-motion:reduce){.habitat-companion{transition:none}.affection-hearts{opacity:.7;animation:none}.habitat-motes{animation:none}}:where(:root[data-system-reduced-motion]) .habitat-companion{transition:none}:where(:root[data-system-reduced-motion]) .affection-hearts{opacity:.7;animation:none}:where(:root[data-system-reduced-motion]) .habitat-motes{animation:none}.overline{text-decoration:none}.world-loading{color:#7b8a70;flex-direction:column;justify-content:center;align-items:center;gap:22px;min-height:100svh;display:flex}.world-loading p{font-size:calc(14px * var(--restore-text-scale,1))}.touch-puzzle .puzzle-svg{display:block;overflow:hidden;padding:0!important}.touch-puzzle .puzzle-stage{height:clamp(330px,53svh,550px);min-height:0}.touch-puzzle .puzzle-line{stroke-width:1.7px;stroke:#687784}.touch-puzzle .puzzle-line.active-path{stroke:#426a92;stroke-width:3px;opacity:1}.touch-puzzle .node-core{r:var(--node-radius);fill:#4b78ac;stroke:#fffdf3;stroke-width:2.5px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 2px #294b7130)}.touch-puzzle .node-halo{r:var(--halo-radius);fill:#5687b216;stroke:#5687b22b;vector-effect:non-scaling-stroke}.touch-puzzle .puzzle-node.grabbed .node-core{r:calc(var(--node-radius)*1.12);fill:#285e98}.touch-puzzle .puzzle-node.grabbed .node-halo{r:calc(var(--halo-radius)*1.15);fill:#5586b42a;stroke:#6b97bf;stroke-width:1.5px}.touch-puzzle .puzzle-node.solved .node-core{fill:#79a78b;stroke-width:1px}.touch-puzzle .structural-dots{opacity:.32;pointer-events:none}.touch-puzzle .assist-halo{stroke-width:1.6px;vector-effect:non-scaling-stroke}.touch-puzzle .assist-thread{stroke-width:1px;vector-effect:non-scaling-stroke}.touch-cue{pointer-events:none;stroke:#7396b7;stroke-width:1.2px;vector-effect:non-scaling-stroke}.touch-cue path{vector-effect:non-scaling-stroke}.touch-cue-glass{fill:#fffefa;stroke:#adc4d5;vector-effect:non-scaling-stroke}.touch-cue-point{fill:#4b78ac;stroke:none}.touch-cue.near-target .touch-cue-point{fill:#d3a348}.touch-cue.near-target .touch-cue-glass{stroke:#d4b566;fill:#fff8e0}.touch-puzzle .world-puzzle-tools{border:0;gap:clamp(9px,4vw,28px)}.touch-puzzle .puzzle-message{color:#71816e;min-height:20px;margin-top:0;line-height:1.45}.touch-puzzle .puzzle-help-note{color:#89927f;margin:6px 0;line-height:1.5}.world-app[data-screen=puzzle] .world-bottom-nav{display:none}.world-app[data-screen=puzzle]{padding-bottom:20px}.world-app[data-screen=puzzle] .world-topbar{height:66px;margin-bottom:10px}.world-app[data-screen=puzzle] .world-logo>span{display:none}.world-app[data-screen=puzzle] .world-logo{gap:9px;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667));display:flex}.world-app[data-screen=puzzle] .world-logo>svg{width:26px}.touch-puzzle .world-heading h1{font-size:calc(clamp(23px,4vw,31px) * (1 + (var(--restore-text-scale,1) - 1) * 0.581));line-height:1.18}.touch-puzzle .world-heading{margin:9px 0 12px}.touch-puzzle .world-heading p{margin:7px 0 0}.touch-puzzle .puzzle-progress{margin:13px 0 16px}.touch-puzzle .world-back{min-height:36px;margin:0}.world-puzzle-tools button{min-width:72px;color:#637561!important}.world-puzzle-tools button.help-tool{color:#947338!important}.naming-moment{grid-template-columns:1fr 1fr;align-items:center;gap:20px;max-width:850px;margin:12px auto 35px;display:grid}.naming-moment>svg{filter:drop-shadow(0 12px 24px #e9ba6e20);background:radial-gradient(#fff0cf88,#0000 70%);width:100%;height:auto;max-height:420px}.naming-card{text-align:center;width:100%;max-width:410px;margin:auto;padding:22px 26px 14px}.naming-mark{color:#bd8b8c;background:#f8e9dd;border-radius:50%;justify-content:center;align-items:center;width:43px;height:43px;margin:0 auto 16px;display:flex}.naming-card .overline{letter-spacing:1.6px;color:#8b987c;font-size:calc(10px * var(--restore-text-scale,1));display:block}.naming-card h2{color:#536953;margin:12px 0;font:400 clamp(25px,4vw,33px)/1.15 Georgia,serif}.naming-card>p{color:#85907c;margin:12px 0 20px;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.6}.suggested-name{color:#758564;overflow-wrap:anywhere;margin:18px 0 24px;font:400 calc(45px * (1 + (var(--restore-text-scale,1) - 1) * 0.4))/1.3 Georgia,serif}.naming-card .world-primary{white-space:normal;overflow-wrap:anywhere;justify-content:center;gap:16px;width:100%;min-height:52px}.naming-alternative,.naming-skip{color:#718568;background:0 0;border:0;justify-content:center;align-items:center;gap:9px;width:100%;min-height:44px;margin-top:7px;padding:9px;font-size:calc(14px * var(--restore-text-scale,1));display:flex}.naming-skip{color:#949985;margin-top:0;font-size:calc(12px * var(--restore-text-scale,1))}.naming-card form{text-align:left}.naming-card label{color:#6d8066;margin-bottom:9px;font-size:calc(13px * var(--restore-text-scale,1));display:block}.naming-card input{text-align:center;color:#516747;height:55px;box-shadow:none;background:#fffef8;border:1px solid #cbd5ba;border-radius:13px;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))}.name-detail{color:#929b86;min-height:39px;padding:8px 0 10px;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}.name-error{color:#a17466}.rename-dialog{max-height:90dvh;overflow:auto;background:#fffdf6!important;border-radius:25px!important;max-width:440px!important;padding:20px!important}.rename-dialog .naming-card{padding:16px}.rename-friend{color:#89967e;overflow-wrap:anywhere;background:0 0;border:0;align-items:center;gap:6px;max-width:100%;min-height:36px;padding:4px 0;font-size:calc(12px * var(--restore-text-scale,1));display:inline-flex}.habitat-screen .world-heading{gap:15px}.replay-discovery{color:#969c85;grid-column:1/-1;margin:15px 0;font-size:calc(12px * var(--restore-text-scale,1))}.creature-voice p,.next-request p{color:#76836b}.item-choice strong{color:#647557}.living-world{max-width:860px;margin:auto}.map-heading{justify-content:space-between;align-items:center;gap:20px;margin:17px 0 23px;display:flex}.map-heading h1{color:#536b57;letter-spacing:-1px;margin:9px 0;font:400 clamp(31px,5vw,43px)/1.15 Georgia,serif}.map-heading p{color:#87927d;margin:0;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.6}.map-heading .overline{letter-spacing:1.4px;font-size:calc(10px * var(--restore-text-scale,1))}.map-progress-link{color:#809077;background:#f0f1e6;border:0;border-radius:14px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:6px;min-width:64px;min-height:59px;padding:10px;font-size:calc(11px * var(--restore-text-scale,1));display:flex}.map-board{background:#c6dbcf;border:1px solid #dce2ca;border-radius:28px;position:relative;overflow:hidden;box-shadow:0 12px 35px #51674c12}.map-scroll{overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#b5c3ad transparent;height:clamp(470px,67svh,750px);padding-bottom:170px;overflow:hidden auto}.map-canvas{width:100%;max-width:760px;margin:auto;display:block;overflow:visible}.map-region{cursor:pointer;outline:none}.region-rim{stroke:#fff7df;stroke-width:8px;transition:stroke .2s}.region-focus-ring{fill:none;stroke:#fffbe4;stroke-width:4px;opacity:0;pointer-events:none;stroke-dasharray:10 8}.map-region.selected .region-focus-ring,.map-region:focus-visible .region-focus-ring{opacity:1}.map-region:focus-visible .region-rim{stroke:#597d82;stroke-width:10px}.region-label{fill:#64765a;paint-order:stroke;stroke:#f1edcf;stroke-width:7px;stroke-linejoin:round;font:500 calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643))/1.2 Georgia,serif}.region-mist-label{fill:#95a58d;font:calc(18px * var(--restore-text-scale,1)) Arial,sans-serif}.map-region.locked .region-landscape{opacity:.35;filter:saturate(.2)}.map-region.locked .region-label{fill:#8c9b85}.map-mystery{filter:brightness(0)sepia();opacity:.15}.map-path-base{fill:none;stroke:#cfb894;stroke-width:21px;stroke-linecap:round;opacity:.6}.map-path-stitches{fill:none;stroke:#fff3d3;stroke-width:3px;stroke-dasharray:4 15;stroke-linecap:round}.map-detail{backdrop-filter:blur(12px);background:#fffdf4f5;border:1px solid #f8f5e8;border-radius:21px;align-items:center;gap:25px;padding:19px 22px;display:flex;position:absolute;bottom:14px;left:16px;right:16px;box-shadow:0 5px 23px #6d8a6330}.map-detail-copy{flex:1;min-width:0}.map-detail .overline{letter-spacing:1.5px;color:#99a17f;font-size:calc(9px * var(--restore-text-scale,1))}.map-detail h2{color:#586f54;overflow-wrap:anywhere;margin:7px 0;font:400 calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643))/1.1 Georgia,serif}.map-detail p{color:#929a81;margin:0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}.map-detail .world-primary{white-space:normal;overflow-wrap:anywhere;width:auto;min-width:180px;max-width:50%;min-height:49px;font-size:calc(14px * var(--restore-text-scale,1))}.map-detail-reveal{background:#fff8e7f5;border-color:#efce83}.map-bottom{color:#8a957c;justify-content:space-between;align-items:center;gap:14px;margin:13px 4px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.map-bottom>span,.map-bottom>button{align-items:center;gap:7px;display:flex}.map-bottom>button{color:#778e71;background:0 0;border:0;min-height:44px;font-size:calc(13px * var(--restore-text-scale,1))}.map-footer-script{fill:#849e8a;font:italic calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692)) Georgia,serif}.map-water-lines{animation:7s ease-in-out infinite alternate map-water-drift}.region-spark{transform-box:fill-box;transform-origin:50%;animation:3s ease-in-out infinite map-sparkle}.mist-lifting{transform-box:fill-box;transform-origin:50%;animation:3s both mist-lift}.map-cat .cat-tail,.map-fox .fox-tail{transform-origin:540px 403px;animation:7s ease-in-out infinite map-tail-sway}.map-hummingbird .bird-wing{transform-origin:505px 278px;animation:.45s ease-in-out infinite alternate map-wing}.map-butterfly .butterfly-wing{transform-origin:450px 280px;animation:2s ease-in-out infinite alternate map-wing}.map-rabbit .creature-motion{animation:8s ease-in-out infinite map-hop}.map-owl .animal-head{transform-origin:450px 280px;animation:9s ease-in-out infinite map-head-tilt}.map-resident,.region-complete{pointer-events:none}.map-heading+.map-board .habitat-motes{animation-duration:7s}.world-bottom-nav button:nth-child(2).selected{color:#587557;background:#e8f0df}@keyframes map-water-drift{to{opacity:.25;transform:translate(8px)}}@keyframes map-sparkle{0%,to{opacity:.75}50%{opacity:1}}@keyframes mist-lift{0%,15%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-45px)scale(1.3)}}@keyframes map-tail-sway{0%,70%,to{transform:rotate(0)}80%{transform:rotate(6deg)}90%{transform:rotate(-4deg)}}@keyframes map-wing{to{transform:scaleX(.93)rotate(2deg)}}@keyframes map-hop{0%,80%,to{transform:translateY(0)}86%{transform:translateY(-10px)}92%{transform:translateY(0)}}@keyframes map-head-tilt{0%,70%,to{transform:rotate(0)}82%{transform:rotate(4deg)}}.reduced-motion .map-board *{transition:none!important;animation:none!important}.reduced-motion .mist-lifting{opacity:.35}.reduced-motion .map-canvas .habitat-motes{opacity:.5}@media (max-width:560px){.touch-puzzle .puzzle-stage{height:clamp(280px,100svh - 302px,490px);margin-left:-7px;margin-right:-7px}.touch-puzzle .world-heading .overline{font-size:calc(9px * var(--restore-text-scale,1))}.touch-puzzle .world-heading h1{font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))}.touch-puzzle .world-heading p{font-size:calc(14px * var(--restore-text-scale,1));line-height:1.4}.touch-puzzle .puzzle-progress{margin:12px 0}.touch-puzzle .world-puzzle-tools{padding:8px 0}.touch-puzzle .world-puzzle-tools button{min-height:46px;font-size:calc(13px * var(--restore-text-scale,1))}.touch-puzzle .puzzle-help-note{margin:5px 0;padding:0 8px;font-size:calc(11px * var(--restore-text-scale,1))}.touch-puzzle .puzzle-message{padding:0 6px;font-size:calc(13px * var(--restore-text-scale,1))}.naming-moment{flex-direction:column;gap:0;margin-top:0;display:flex}.naming-moment>svg{width:100%;height:clamp(170px,28svh,250px)}.naming-card{max-width:380px;padding:5px 15px 10px}.naming-mark{display:none}.naming-card>p{margin:11px 0;font-size:calc(14px * var(--restore-text-scale,1))}.naming-card h2{margin:8px 0;font-size:calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643))}.suggested-name{margin:15px 0 20px;font-size:calc(37px * (1 + (var(--restore-text-scale,1) - 1) * 0.486))}.naming-card input{height:52px;font-size:calc(18px * var(--restore-text-scale,1))}.naming-card .world-primary{min-height:50px;font-size:calc(15px * var(--restore-text-scale,1))}.rename-dialog .naming-card{padding:20px 7px 8px}.habitat-screen .world-heading{padding-bottom:37px}.rename-friend{min-height:34px;margin-top:2px}.item-choice strong{font-size:calc(13px * var(--restore-text-scale,1))}.item-choice small{font-size:calc(11px * var(--restore-text-scale,1))}.map-heading{gap:9px;margin:17px 0}.map-heading h1{font-size:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563))}.map-heading p{font-size:calc(14px * var(--restore-text-scale,1))}.map-heading .overline{letter-spacing:1px;font-size:calc(9px * var(--restore-text-scale,1))}.map-progress-link{min-width:53px;padding:8px;font-size:calc(10px * var(--restore-text-scale,1))}.map-board{border-radius:22px;margin-left:-7px;margin-right:-7px}.map-scroll{height:clamp(430px,65svh,640px);padding-bottom:166px}.map-detail{border-radius:17px;flex-wrap:wrap;gap:11px;padding:15px;bottom:10px;left:10px;right:10px}.map-detail-copy{flex-basis:100%}.map-detail h2{margin:5px 0;font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.map-detail p{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4}.map-detail .world-primary{width:100%;min-width:0;max-width:100%;min-height:46px;padding:10px 14px;font-size:calc(14px * var(--restore-text-scale,1))}.map-bottom{gap:6px;margin:10px 0;font-size:calc(12px * var(--restore-text-scale,1))}.map-bottom>button{font-size:calc(12px * var(--restore-text-scale,1))}.map-bottom svg{width:14px}.living-world .world-reassurance{margin:10px 0 14px}.world-app[data-screen=map] .world-topbar{height:69px;margin-bottom:10px}.world-app[data-screen=map]{padding-bottom:88px}.region-label{font-size:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6))}.region-mist-label{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.world-bottom-nav button>span{font-size:calc(11px * var(--restore-text-scale,1))}}@media (max-width:360px){.touch-puzzle .world-heading h1{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.touch-puzzle .puzzle-stage{height:clamp(270px,100svh - 365px,400px)}.map-heading .overline{font-size:calc(8px * var(--restore-text-scale,1))}.map-heading h1{font-size:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621))}.naming-card h2{font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.map-bottom>span{font-size:calc(11px * var(--restore-text-scale,1))}.region-label{font-size:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563))}}@media (prefers-reduced-motion:reduce){.map-board *{animation:none!important}.mist-lifting{opacity:.35}}:where(:root[data-system-reduced-motion]) .map-board *{animation:none!important}:where(:root[data-system-reduced-motion]) .mist-lifting{opacity:.35}.reaction-post .creature-cat.alive .paw-wave{transform-origin:392px 390px;animation:.3s ease-in-out 7 alternate cat-scratch}.reaction-flower .creature-hummingbird.alive .creature-motion{transform-origin:600px 245px;animation:2.9s both nectar-sip}.creature-cat.mood-rest .cat-curled{transform-origin:455px 459px;animation:5s ease-in-out infinite sleep-breathe}@keyframes cat-scratch{to{transform:translate(16px,-37px)rotate(-23deg)}}@keyframes nectar-sip{0%{transform:translate(40px,-45px)}40%,65%{transform:translate(-6px,4px)rotate(12deg)}to{transform:none}}@keyframes sleep-breathe{50%{transform:scale(1.025,1.035)}}.reduced-motion .cat-curled{animation:none}.touch-puzzle .puzzle-node .hit-area{r:var(--hit-radius)}.touch-puzzle .puzzle-node[data-interactive=false] .hit-area{pointer-events:none}.world-app[data-screen=habitat]{background:#e9d5b8;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;padding:0;display:flex;overflow:hidden}.world-app[data-screen=habitat] .world-topbar{z-index:3;background:#f8f3e7;border-bottom:1px solid #c6b49a44;height:54px;min-height:54px;margin:0;padding:0 20px}.world-app[data-screen=habitat] .world-logo{align-items:center;gap:8px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));display:flex}.world-app[data-screen=habitat] .world-logo>svg{width:24px;height:26px}.world-app[data-screen=habitat] .world-logo>span{display:none}.world-app[data-screen=habitat] .world-icon{background:0 0;width:40px;min-width:40px;height:40px}.world-app[data-screen=habitat] .world-content{flex:1;min-height:0;position:relative}.world-app[data-screen=habitat] .world-bottom-nav{display:none}.world-app[data-screen=habitat] .save-notice{z-index:12;margin:0;font-size:calc(11px * var(--restore-text-scale,1));position:absolute;top:54px;left:12px;right:12px}.habitat-immersive{isolation:isolate;color:#4e5547;width:100%;height:100%;position:relative;overflow:hidden}.immersive-scene{touch-action:none;user-select:none;-webkit-touch-callout:none;width:100%;height:100%;display:block;position:absolute;inset:0}.habitat-hud{backdrop-filter:blur(12px);background:#fffaf0d9;border:1px solid #fff9edb3;border-radius:22px;max-width:600px;margin:auto;padding:14px 17px 13px;position:absolute;top:16px;left:20px;right:20px;box-shadow:0 5px 30px #64513c0c}.habitat-heading-row{align-items:center;gap:12px;display:flex}.scene-back{color:#667257;background:0 0;border:0;border-right:1px solid #d8ccb880;flex-shrink:0;place-items:center;width:38px;height:42px;padding-right:13px;display:grid}.habitat-heading-row>div:nth-child(2){flex:1;min-width:0}.habitat-heading-row>div>span{text-transform:uppercase;letter-spacing:1.7px;color:#8d917e;font-size:calc(10px * var(--restore-text-scale,1));line-height:1.3;display:block}.habitat-heading-row h1{font-family:var(--font-display,Georgia),serif;color:#515b46;align-items:center;gap:7px;margin:2px 0 0;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.2;display:flex}.habitat-heading-row h1 button{color:#929681;background:0 0;border:0;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.scene-bond{color:#ad7380;align-items:center;gap:5px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.scene-bond b{font-size:calc(14px * var(--restore-text-scale,1));font-weight:500}.scene-comfort{color:#88917d;letter-spacing:.2px;align-items:center;gap:10px;margin-top:10px;font-size:calc(10px * var(--restore-text-scale,1));display:flex}.scene-comfort>div{background:#dcdac78c;border-radius:4px;flex:1;height:4px;overflow:hidden}.scene-comfort i{background:#8ba079;border-radius:4px;height:100%;transition:width .6s;display:block}.scene-comfort b{color:#788267;font-weight:500}.scene-status{text-align:center;pointer-events:none;color:#747457;text-shadow:0 1px 8px #fff1d1;justify-content:center;align-items:center;gap:6px;max-width:560px;margin:auto;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4;display:flex;position:absolute;top:134px;left:16px;right:16px}.scene-status.is-content{color:#9c6779;font-weight:500}.species-owl .scene-status{color:#f5e7c8;text-shadow:0 1px 8px #35405d}.scene-dock{bottom:max(9px,env(safe-area-inset-bottom));max-width:540px;margin:auto;position:absolute;left:16px;right:16px}.food-offer{text-align:left;backdrop-filter:blur(16px);color:#515b46;background:#fffaedf0;border:1px solid #fff9eb;border-radius:20px;align-items:center;gap:11px;width:100%;min-height:72px;padding:9px 12px 9px 8px;display:flex;box-shadow:0 5px 24px #76604413}.food-preview{background:#f0e6ce;border-radius:15px;flex-shrink:0;width:66px;height:56px;display:block}.food-preview svg{width:100%;height:100%}.food-offer>span:nth-child(2){flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.food-offer small{letter-spacing:1.4px;color:#9e9479;font-size:calc(8px * var(--restore-text-scale,1));line-height:1.3}.food-offer strong{font-family:var(--font-display,Georgia),serif;font-size:calc(17px * var(--restore-text-scale,1));font-weight:500;line-height:1.25}.food-offer em{color:#94957e;font-size:calc(10px * var(--restore-text-scale,1));font-style:normal;line-height:1.3}.food-offer-action{color:#7b906c;background:#e5ebd9;border-radius:50%;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.comfort-tray{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;display:grid}.comfort-tray button{backdrop-filter:blur(12px);color:#8b846e;background:#fff6e4d9;border:1px solid #fff6e4ba;border-radius:17px;min-width:0;padding:5px 4px 7px;position:relative;box-shadow:0 5px 20px #705b3f08}.comfort-tray button>svg{opacity:.75;filter:saturate(.8);width:100%;height:45px;display:block}.comfort-tray button>span{text-align:center;min-height:22px;font-size:calc(9px * var(--restore-text-scale,1));line-height:1.2;display:block}.comfort-tray button>i{color:#8b9476;background:#e4d7b8;border-radius:100%;place-items:center;width:15px;height:15px;font-size:calc(14px * var(--restore-text-scale,1));font-style:normal;display:grid;position:absolute;top:5px;right:5px}.comfort-tray button.done>i{color:#fff9e5;background:#829774}.comfort-tray button.done>svg{opacity:1;filter:none}.comfort-tray button.selected{border-color:#a58a54;box-shadow:0 0 0 2px #e8c87b66}.scene-world-link{color:#4e6655;letter-spacing:.2px;text-shadow:0 1px 5px #efdfc8;background:0 0;border:0;justify-content:center;align-items:center;gap:5px;width:100%;min-height:26px;font-size:calc(9px * var(--restore-text-scale,1));display:flex}.species-owl .scene-world-link{color:#f4dfbe;text-shadow:0 1px 5px #37405a}.scene-next-world{margin-top:8px}.scene-next-world>button{color:#fff9e8;text-align:left;background:#344f3f;border:1px solid #e0c581;border-radius:17px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:58px;padding:10px 17px;display:flex;box-shadow:0 5px 20px #344f3f26}.scene-next-world>button:hover{background:#294534}.scene-next-world>button:focus-visible{outline-offset:3px;outline:3px solid #b68b40}.scene-next-world>button>span{flex-direction:column;gap:3px;display:flex}.scene-next-world small{letter-spacing:.7px;color:#e8d599;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.2}.scene-next-world strong{font-size:calc(16px * var(--restore-text-scale,1));font-weight:600;line-height:1.25}.scene-next-world svg{flex-shrink:0}.scene-placement{background:#fffaedf0;border:1px solid #fff6df;border-radius:20px;align-items:center;gap:8px;min-height:75px;padding:12px;display:flex}.scene-placement>div{flex-direction:column;flex:1;gap:3px;display:flex}.scene-placement span{letter-spacing:1px;color:#9c947b;font-size:calc(8px * var(--restore-text-scale,1))}.scene-placement strong{font-size:calc(14px * var(--restore-text-scale,1));font-weight:500}.scene-placement .world-primary{border-radius:12px;gap:7px;min-height:40px;padding:9px 11px;font-size:calc(12px * var(--restore-text-scale,1))}.scene-cancel{color:#8e8d7c;background:0 0;border:0;min-height:40px;padding:0 4px;font-size:calc(11px * var(--restore-text-scale,1))}.direct-affection{touch-action:none;cursor:pointer;outline:none}.direct-affection:focus-visible>ellipse:first-child{stroke:#f6df9a;stroke-width:5px;stroke-dasharray:8 12}.affection-countdown{fill:none;stroke:#fff1c8;stroke-width:5px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;pointer-events:none;transform-origin:450px 295px;animation:2s linear forwards cuddle-countdown;transform:rotate(-90deg)}@keyframes cuddle-countdown{to{stroke-dashoffset:0}}.cuddle-hearts{pointer-events:none;transform-origin:450px 150px;animation:2.4s ease-in-out infinite cuddle-hearts}@keyframes cuddle-hearts{0%,to{opacity:.6;transform:translateY(4px)scale(.95)}50%{opacity:1;transform:translateY(-7px)scale(1.04)}}.affection-active .creature .eye-blink{opacity:0;animation:none}.affection-active .creature .eye-smile{opacity:1;animation:none}.affection-active .creature-cat .creature-motion{transform-origin:450px 350px;animation:.14s ease-in-out infinite contented-purr}@keyframes contented-purr{0%,to{transform:translateY(0)rotate(-.13deg)}50%{transform:translateY(1.2px)rotate(.13deg)}}.affection-active .creature-fox .creature-motion{transform-origin:450px 440px;animation:2.8s ease-in-out infinite fox-nuzzle}@keyframes fox-nuzzle{0%,to{transform:rotate(-2deg)}50%{transform:rotate(2deg)translateY(3px)}}.affection-active .creature-fox .tail{transform-origin:506px 380px;animation:1.1s ease-in-out infinite happy-tail}@keyframes happy-tail{0%,to{transform:rotate(-6deg)}50%{transform:rotate(8deg)}}.affection-active .creature-rabbit .creature-motion{animation:none}.affection-active .creature-rabbit .rabbit-nose{transform-origin:439px 311px;animation:.45s ease-in-out infinite nose-twitch}@keyframes nose-twitch{0%,to{transform:scaleY(1)}50%{transform:scaleY(.84)translateY(-1px)}}.affection-active .creature-rabbit .ear-left{transform-origin:398px 231px;animation:2.4s ease-in-out infinite ear-soften}@keyframes ear-soften{0%,to{transform:rotate(-3deg)}50%{transform:rotate(-8deg)}}.affection-active .creature-owl .creature-motion{transform-origin:450px 440px;animation:2.6s ease-in-out infinite owl-fluff}@keyframes owl-fluff{0%,to{transform:scale(1)}50%{transform:scale(1.035,.985)}}.affection-active .creature-hummingbird .creature-motion{transform-origin:450px 300px;animation:1.7s ease-in-out infinite joyful-hover}@keyframes joyful-hover{0%,to{transform:translateY(3px)}50%{transform:translateY(-7px)}}.affection-active .creature-hummingbird .bird-wing{transform-origin:440px 281px;animation:.12s ease-in-out infinite alternate wing-hum}@keyframes wing-hum{0%{transform:rotate(-7deg)}to{transform:rotate(5deg)}}.affection-active .creature-butterfly .creature-motion{animation:3s ease-in-out infinite joyful-hover}.affection-active .creature-butterfly .butterfly-wing{transform-origin:450px 300px;animation:1.4s ease-in-out infinite petal-flutter}@keyframes petal-flutter{0%,to{transform:scaleX(1)}50%{transform:scaleX(.78)}}.ready-meal{cursor:pointer;outline:none}.ready-meal:focus-visible>ellipse{stroke:#f0c77b;stroke-width:6px}.eaten-morsel{pointer-events:none;transform-box:fill-box;transform-origin:50%;animation:2.2s forwards enjoy-morsel}@keyframes enjoy-morsel{0%{opacity:1;translate:0 30px}55%{opacity:1;translate:0}to{opacity:0;translate:0 -8px;scale:.4}}.is-feeding .animal-head{transform-origin:450px 300px;animation:.4s ease-in-out 6 alternate little-nibble}@keyframes little-nibble{0%{transform:rotate(-2deg)}to{transform:rotate(2deg)translateY(3px)}}.reduced-motion .affection-active *,.reduced-motion .eaten-morsel{animation:none!important}.reduced-motion .eaten-morsel{opacity:.7}.reset-progress-button{color:#a06f61;background:#fbf1e8;border:1px solid #d7b8ac;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:42px;margin-top:18px;padding:9px 12px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.world-reset-confirm{color:#4f574b;background:#fffaf0;border-radius:22px}.world-reset-confirm [data-slot=alert-dialog-description]{color:#7c7f71;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.65}.world-reset-confirm [role=alert]{color:#a35f55;font-size:calc(13px * var(--restore-text-scale,1))}.world-settings{max-height:calc(100dvh - 40px);overflow-y:auto}@media (max-width:380px){.habitat-hud{padding:11px 13px;top:12px;left:12px;right:12px}.scene-dock{left:12px;right:12px}.scene-status{font-size:calc(11px * var(--restore-text-scale,1));top:122px}.food-offer strong{font-size:calc(15px * var(--restore-text-scale,1))}.habitat-heading-row h1{font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))}.comfort-tray{gap:5px}.comfort-tray button>span{font-size:calc(9px * var(--restore-text-scale,1))}}@media (max-height:680px){.habitat-hud{padding:9px 13px;top:9px}.habitat-heading-row h1{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.habitat-heading-row>div>span{font-size:calc(9px * var(--restore-text-scale,1))}.scene-comfort{margin-top:5px}.scene-status{font-size:calc(10px * var(--restore-text-scale,1));top:108px}.food-offer{min-height:60px;padding:6px 9px}.food-preview{width:53px;height:46px}.food-offer em{display:none}.comfort-tray{margin-top:6px}.comfort-tray button>svg{height:35px}.comfort-tray button>span{min-height:20px}.scene-world-link{min-height:23px}.scene-dock{bottom:5px}.scene-placement{min-height:61px;padding:7px 10px}}@media (min-width:850px){.habitat-hud{width:330px;top:24px;left:28px;right:auto}.scene-status{width:330px;top:144px;left:28px;right:auto}.scene-dock{max-width:490px}.comfort-tray button>svg{height:46px}.comfort-tray button>span{min-height:14px}}.habitat-heading-row h1>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.story-entry{text-align:left;color:#405b57;background:linear-gradient(105deg,#edf0dc,#f4e8d4);border:1px solid #c6c6aa;border-radius:20px;align-items:center;gap:17px;width:100%;margin:8px 0 22px;padding:19px 22px;display:flex;box-shadow:0 5px 18px #536d5210}.story-entry:disabled{opacity:.76}.story-entry>span:nth-child(2){flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.story-entry small{letter-spacing:1.4px;font-size:calc(12px * var(--restore-text-scale,1))}.story-entry strong{font:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72)) Georgia,serif}.story-entry span span{font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5}.story-entry-icon{background:#dbe2bf;border-radius:50%;flex:none;justify-content:center;align-items:center;width:51px;height:51px;display:flex}.story-entry>svg{flex:none}.world-app[data-screen=story]{background:#f8f3e7;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;padding:0;display:flex;overflow:hidden}.world-app[data-screen=story] .world-topbar{z-index:3;background:#f8f3e7;border-bottom:1px solid #c6b49a44;height:54px;min-height:54px;margin:0;padding:0 20px}.world-app[data-screen=story] .world-logo{align-items:center;gap:8px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));display:flex}.world-app[data-screen=story] .world-logo>svg{width:24px;height:26px}.world-app[data-screen=story] .world-logo>span,.world-app[data-screen=story] .world-bottom-nav{display:none}.world-app[data-screen=story] .world-content{flex:1;min-height:0;position:relative}.world-app[data-screen=story] .world-icon{background:0 0;width:40px;min-width:40px;height:40px}.story-stage{isolation:isolate;color:#314f52;background:#d9dcc0;height:100%;position:relative;overflow:hidden}.story-viewport{position:absolute;inset:0}.story-canvas{touch-action:none;width:100%;height:100%;display:block}.story-heading{left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));z-index:2;align-items:center;gap:13px;display:flex;position:absolute;top:18px}.story-heading>div{text-align:center;flex:1}.story-heading span{letter-spacing:1.7px;color:#526960;font-size:calc(12px * var(--restore-text-scale,1));font-weight:600}.story-heading h1{color:#324e4e;margin:6px 0 0;font:clamp(24px,3vw,35px) Georgia,serif}.story-back{color:#49665e;backdrop-filter:blur(8px);background:#fff8e9bb;border:1px solid #fff7dcbb;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.story-footer{text-align:center;padding:45px 22px max(18px,env(safe-area-inset-bottom));z-index:2;background:linear-gradient(#0000,#fff7e4df 33%,#faf2e6fa);flex-direction:column;align-items:center;gap:11px;display:flex;position:absolute;bottom:0;left:0;right:0}.story-footer>p{max-width:440px;min-height:24px;margin:0;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.45}.story-primary{color:#fffbec;background:#607756;border:1px solid #687c58;border-radius:15px;justify-content:center;align-items:center;gap:12px;max-width:100%;min-height:53px;padding:13px 23px;font-size:calc(16px * var(--restore-text-scale,1));display:flex;box-shadow:0 5px 14px #42523518}.story-primary:hover{background:#4a6746}.story-footer-meta{color:#697667;justify-content:space-between;align-items:center;gap:15px;width:100%;max-width:360px;font-size:calc(12px * var(--restore-text-scale,1));display:flex}.story-footer-meta button{color:#4e6a5a;text-underline-offset:3px;background:0 0;border:0;min-height:34px;padding:8px 0;font-size:calc(12px * var(--restore-text-scale,1));text-decoration:underline}.story-progress-dots{gap:7px;display:flex}.story-progress-dots i{background:#bdc3a6;border-radius:50%;width:5px;height:5px}.story-progress-dots i.lit{background:#6b865f}.story-dialogue{color:#3e5557;text-align:center;background:#fff9e9ed;border-radius:20px 20px 20px 4px;max-width:76%;padding:13px 21px;font:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))/1.4 Georgia,serif;animation:.5s both story-bubble;position:absolute;top:23%;left:50%;transform:translate(-50%);box-shadow:0 6px 18px #54546f12}.story-camera{transition:transform 1.8s;transform:scale(1)}.story-camera.focus-cat{transform:scale(1.07)}.story-camera.focus-doctor{transform:translate(-15px)scale(1.04)}.story-camera.focus-trees{transform:translate(-18px)scale(1.04)}.story-dim{transition:opacity 1.5s}.story-actor{transform-box:fill-box;transform-origin:bottom;transition:transform 1.2s,opacity 1s}.story-actor.cat-actor{touch-action:none}.story-actor[role=button]{cursor:pointer}.story-actor .animal-head{transform-origin:50% 55%;transform-box:fill-box}.story-actor .cat-tail{transform-origin:20% 85%;transform-box:fill-box}.story-actor.pose-enter{animation:1.6s both story-walk-in}.bird-actor.pose-enter{animation:1.3s both story-fly-in}.bird-actor .bird-wing{transform-box:fill-box;transform-origin:80% 80%;animation:.17s ease-in-out infinite alternate story-wing}.bird-actor.pose-perch .bird-wing{animation:none;transform:scaleY(.85)}.bird-actor.pose-circle{animation:2s ease-in-out both story-circle}.bird-actor.pose-celebrate{animation:2s ease-in-out infinite story-circle}.bird-actor.pose-look .animal-head{animation:1.3s both story-bird-look}.cat-actor.pose-look .cat-head{transform:rotate(-7deg)translateY(-5px)}.cat-actor.pose-approach{animation:1.1s both story-step}.cat-actor.pose-sniff .cat-head{animation:1.1s both story-sniff}.cat-actor.pose-eat .cat-head{animation:.55s ease-in-out infinite alternate story-eat}.cat-actor.pose-purr .eye-blink{opacity:0}.cat-actor.pose-purr .eye-smile{opacity:1}.cat-actor.pose-purr .animal-body{transform-origin:50%;transform-box:fill-box;animation:.19s ease-in-out infinite alternate story-purr}.cat-actor.pose-purr .cat-tail{animation:1.8s ease-in-out infinite alternate story-tail}.cat-actor.pose-ear .cat-head{animation:.8s both story-ear}.cat-actor.pose-slow{animation:1.6s both story-slow-step}.cat-actor.pose-tired{animation:1.6s both story-lie}.cat-actor.pose-rest{transform:translateY(35px)}.cat-actor.pose-rest .eye-blink,.cat-actor.pose-tired .eye-blink{transform-origin:50%;transform-box:fill-box;transform:scaleY(.5)}.cat-actor.pose-drink .animal-head{animation:1.3s ease-in-out infinite alternate story-eat}.cat-actor.pose-tail .cat-tail{animation:1.8s both story-tail}.cat-actor.pose-wake{animation:1.7s both story-wake}.cat-actor.pose-stretch{animation:2s both story-stretch}.doctor-actor.pose-kneel,.doctor-actor.pose-examine,.doctor-actor.pose-open{transform:translateY(65px)scaleY(.78)}.doctor-actor.pose-examine .story-part-hand{transform-origin:520px 260px;animation:1.1s ease-in-out infinite alternate story-check}.doctor-actor.pose-open .story-part-hand{transform-origin:520px 260px;animation:1.6s ease-in-out story-check}.doctor-actor.pose-examine .doctor-face{transform-origin:449px 175px;transform:rotate(-7deg)}.story-actor.pose-exit{opacity:0;transform:translate(800px)}.story-invitation>g{animation:2s ease-in-out infinite alternate story-light}.story-invitation{pointer-events:none}.story-drag-object{cursor:grab;touch-action:none}.story-drag-object:active{cursor:grabbing}.story-placement>ellipse{cursor:pointer;animation:1.7s ease-in-out infinite alternate story-light}.story-touch-ring{animation:1.7s ease-in-out infinite alternate story-light}.story-touch-ring.is-holding{stroke-dasharray:1500;stroke-dashoffset:1500px;animation:2s linear forwards story-hold}.art-fish{transform-origin:450px 300px;animation:2.2s ease-in-out infinite story-fish}.fish-glint{animation:1.8s ease-in-out infinite alternate story-light}.story-paused *{animation-play-state:paused!important}.story-gentle *{transition:none!important;animation:none!important}.story-gentle .pose-enter{opacity:1;transform:none}.story-gentle .pose-purr .animal-body{transform:none}.world-app[data-screen=story] .world-puzzle{flex-direction:column;max-width:1100px;height:100%;margin:0 auto;padding:10px 24px 14px;display:flex}.world-app[data-screen=story] .world-puzzle .puzzle-stage{flex:1;width:100%;height:auto;min-height:190px;margin:0}.world-app[data-screen=story] .world-puzzle .world-heading{margin:5px 0}.world-app[data-screen=story] .world-puzzle .world-heading h1{margin:6px 0;font-size:calc(clamp(21px,3vw,29px) * (1 + (var(--restore-text-scale,1) - 1) * 0.621))}.world-app[data-screen=story] .world-puzzle .world-heading p{font-size:calc(14px * var(--restore-text-scale,1))}.world-app[data-screen=story] .world-puzzle .world-heading .overline{font-size:calc(12px * var(--restore-text-scale,1))}.world-app[data-screen=story] .world-puzzle .puzzle-progress{margin:10px 0}.world-app[data-screen=story] .world-puzzle .puzzle-message{margin:2px 0;font-size:calc(13px * var(--restore-text-scale,1))}.world-app[data-screen=story] .world-puzzle .puzzle-help-note{margin:4px 0;font-size:calc(12px * var(--restore-text-scale,1))}.world-app[data-screen=story] .world-puzzle-tools{padding:6px 0}@keyframes story-walk-in{0%{opacity:0;transform:translate(-270px)}to{opacity:1;transform:translate(0)}}@keyframes story-fly-in{0%{opacity:0;transform:translate(200px,-230px)}to{opacity:1;transform:translate(0)}}@keyframes story-wing{0%{transform:rotate(-6deg)scaleY(.75)}to{transform:rotate(6deg)scaleY(1)}}@keyframes story-circle{0%,to{transform:translate(0)}25%{transform:translate(-210px,-90px)rotate(-8deg)}50%{transform:translate(-400px,110px)rotate(6deg)}75%{transform:translate(-160px,200px)rotate(5deg)}}@keyframes story-bird-look{50%{transform:rotate(-11deg)}to{transform:rotate(5deg)}}@keyframes story-step{50%{transform:translate(23px,-6px)}to{transform:translate(55px)}}@keyframes story-sniff{60%{transform:rotate(7deg)translate(12px,10px)}to{transform:rotate(4deg)}}@keyframes story-eat{0%{transform:rotate(2deg)translateY(5px)}to{transform:rotate(8deg)translateY(13px)}}@keyframes story-purr{0%{transform:translate(-.5px)}to{transform:translate(.5px)}}@keyframes story-tail{0%{transform:rotate(-2deg)}to{transform:rotate(7deg)}}@keyframes story-ear{35%{transform:rotate(3deg)}70%{transform:rotate(-2deg)}to{transform:rotate(0)}}@keyframes story-slow-step{35%{transform:translate(16px,6px)}65%{transform:translate(25px,2px)}to{transform:translate(38px,12px)}}@keyframes story-lie{0%{transform:translateY(0)}to{transform:translateY(35px)scaleY(.86)}}@keyframes story-wake{0%{transform:translateY(30px)scaleY(.88)}to{transform:translateY(0)scaleY(1)}}@keyframes story-stretch{50%{transform:scaleX(1.1)scaleY(.84)translateY(15px)}to{transform:scale(1)}}@keyframes story-check{to{transform:translate(-30px,19px)rotate(7deg)}}@keyframes story-light{0%{opacity:.45}to{opacity:1}}@keyframes story-hold{to{stroke-dashoffset:0}}@keyframes story-fish{50%{transform:rotate(2deg)}}@keyframes story-bubble{0%{opacity:0;margin-top:8px}to{opacity:1;margin-top:0}}@media (max-width:560px){.story-heading{gap:8px;top:15px;left:12px;right:12px}.story-heading span{letter-spacing:1.2px;font-size:calc(10px * var(--restore-text-scale,1))}.story-heading h1{font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))}.story-footer{padding:42px 17px max(12px,env(safe-area-inset-bottom));gap:8px}.story-footer>p{font-size:calc(14px * var(--restore-text-scale,1))}.story-primary{gap:9px;min-height:50px;padding:11px 17px;font-size:calc(14px * var(--restore-text-scale,1))}.story-dialogue{font-size:calc(18px * var(--restore-text-scale,1));top:25%}.story-entry{gap:12px;margin-bottom:15px;padding:15px}.story-entry strong{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.story-entry small{font-size:calc(10px * var(--restore-text-scale,1))}.story-entry span span{font-size:calc(13px * var(--restore-text-scale,1))}.story-entry-icon{width:42px;height:42px}.world-app[data-screen=story] .world-puzzle{padding:5px 14px 9px}.world-app[data-screen=story] .world-puzzle .puzzle-help-note{line-height:1.4}.world-app[data-screen=story] .world-puzzle .world-heading p{margin-top:4px}.world-app[data-screen=story] .world-puzzle-tools{gap:4px}}@media (max-height:660px){.story-footer{gap:6px;padding-top:28px}.story-heading h1{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.story-heading span{font-size:calc(10px * var(--restore-text-scale,1))}.story-footer-meta{min-height:25px}.story-dialogue{font-size:calc(16px * var(--restore-text-scale,1));top:22%}.world-app[data-screen=story] .world-puzzle .world-heading p,.world-app[data-screen=story] .world-puzzle .puzzle-help-note{display:none}.world-app[data-screen=story] .world-puzzle .puzzle-stage{min-height:160px}}.story-open-bag .art-bag .story-part-flap{transform-origin:450px 215px;animation:1.6s both story-open-flap}.story-examination .art-tool{transform-origin:450px 300px;animation:2.2s both story-tool-check}.story-first-drink .art-water .water-ripple{transform-origin:450px 260px;animation:2s ease-in-out infinite story-water}.story-recovery .art-blanket{animation:1.5s both story-tuck}.story-paused .story-object,.story-paused .story-object *{animation-play-state:paused!important}.story-gentle .story-object,.story-gentle .story-object *{animation:none!important}@keyframes story-open-flap{to{transform:translateY(-24px)scaleY(-.65)}}@keyframes story-tool-check{35%,70%{transform:rotate(-16deg)translate(-40px)}}@keyframes story-water{50%{opacity:.4;transform:scaleX(.8)}}@keyframes story-tuck{0%{opacity:.5;transform:translateY(-25px)}to{opacity:1;transform:translateY(0)}}@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-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-scroll-snap-strictness{syntax:"*";inherits:false;initial-value:proximity}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@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-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{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-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));filter:blur(var(--tw-enter-blur,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));filter:blur(var(--tw-exit-blur,0))}}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height,var(--accordion-panel-height,auto))}}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height,var(--accordion-panel-height,auto))}to{height:0}}@keyframes caret-blink{0%,70%,to{opacity:1}20%,50%{opacity:0}}@keyframes scroll-fade-reveal-b{0%{--scroll-fade-b:var(--_scroll-fade-size-b,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))))}to{--scroll-fade-b:0px}}@keyframes scroll-fade-reveal-s{0%{--scroll-fade-s:0px}to{--scroll-fade-s:var(--_scroll-fade-size-s,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))))}}@keyframes scroll-fade-reveal-e{0%{--scroll-fade-e:var(--_scroll-fade-size-e,var(--scroll-fade-size,min(12%, calc(var(--spacing) * 10))))}to{--scroll-fade-e:0px}}@keyframes tw-shimmer{0%{background-position:100% 0}to{background-position:0 0}}.section-progress{color:#526d5e;flex-direction:column;flex-shrink:0;gap:4px;margin:0 0 8px;display:flex}.section-progress>span{letter-spacing:.3px;font-size:calc(13px * var(--restore-text-scale,1));font-weight:650}.section-progress small{color:#829184;min-height:15px;font-size:calc(12px * var(--restore-text-scale,1))}.section-color{animation:.8s both section-bloom}@keyframes section-bloom{0%{opacity:0}to{opacity:1}}.puzzle-stage.is-turning>.puzzle-svg{opacity:.08;pointer-events:none}.turn-section{z-index:5;color:#526858;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex;position:absolute;inset:5px 12px}.turn-section>svg{flex:1;width:75%;min-height:60px;max-height:53%;overflow:visible}.turn-section>strong{font-size:calc(16px * var(--restore-text-scale,1))}.turn-section>p{text-align:center;margin:0;font-size:calc(13px * var(--restore-text-scale,1))}.turn-controls{align-items:center;gap:14px;width:min(100%,340px);display:flex}.turn-controls button{background:#e7edde;border:1px solid #c8d4bd;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;display:grid}.turn-controls input{accent-color:#647f67;touch-action:none;flex:1;min-width:0;height:44px}.turn-check{align-items:center;gap:6px;min-height:40px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.finish-offer{color:#8c702f;flex-shrink:0;justify-content:center;align-self:center;align-items:center;gap:7px;min-height:44px;padding:4px 12px;font-size:calc(13px * var(--restore-text-scale,1));display:flex}.finish-offer.earned{color:#8a741e;opacity:1}.golden-finish{filter:drop-shadow(0 0 2px #f4d477)drop-shadow(0 0 6px #dba93255)}.finish-dialog{color:#536859;background:#fffaf0;gap:10px;width:calc(100vw - 24px);max-width:420px;max-height:95dvh;padding:20px;overflow:auto}.finish-board{touch-action:none;background:#fbf4e6;border-radius:20px;width:100%;height:min(40dvh,320px);display:block}.finish-feedback,.finish-hint{text-align:center;min-height:24px;font-size:calc(13px * var(--restore-text-scale,1))}.finish-hint{color:#8b702e;min-height:44px}.reduced-motion .section-color{animation:none}.art-sprite{pointer-events:none}.real-animal{transform-box:fill-box;transform-origin:bottom}.animal-breath{transform-origin:450px 490px}.real-cat.motion-on .animal-breath{animation:4.6s ease-in-out infinite natural-breath}.real-fox.motion-on .animal-breath,.real-rabbit.motion-on .animal-breath,.real-owl.motion-on .animal-breath{animation:4.8s ease-in-out infinite natural-breath}.real-butterfly.motion-on .animal-breath{animation:2.8s ease-in-out infinite natural-bird-breath}.real-animal.pose-smile.motion-on .animal-breath{animation:3.6s ease-in-out infinite natural-breath}.real-cat.pose-sleep .animal-breath,.real-cat.pose-tired .animal-breath{animation-duration:6s}.real-cat.pose-walk .animal-breath{animation:none}.real-cat.pose-eat.motion-on .animal-breath{animation:1.2s ease-in-out infinite natural-nibble}.real-cat.pose-purr.motion-on .animal-breath{animation:.24s ease-in-out infinite alternate natural-purr}.real-fox.pose-purr.motion-on .animal-breath{animation:1.8s ease-in-out infinite contented-nuzzle}.real-rabbit.pose-purr.motion-on .animal-breath{animation:.4s ease-in-out infinite contented-twitch}.real-owl.pose-purr.motion-on .animal-breath{animation:1.7s ease-in-out infinite contented-fluff}.real-hummingbird.pose-purr.motion-on .animal-breath,.real-butterfly.pose-purr.motion-on .animal-breath{animation:.3s ease-in-out infinite alternate contented-flutter}@keyframes contented-nuzzle{50%{transform:translate(1.5px)rotate(.4deg)}}@keyframes contented-twitch{50%{transform:translateY(-.7px)scaleY(1.003)}}@keyframes contented-fluff{50%{transform:scale(1.012,1.006)}}@keyframes contented-flutter{to{transform:translateY(-1.5px)scaleX(.995)}}.object-puzzle .creature-reveal-layer{animation:.5s both object-arrive;transform:none}@keyframes object-arrive{0%{opacity:0}to{opacity:1}}.completed-object-action{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 5px;display:flex}.completed-object-action strong{color:#536b57;font-size:calc(15px * var(--restore-text-scale,1))}.completed-object-action .world-primary{width:auto;min-height:48px;font-size:calc(14px * var(--restore-text-scale,1))}@media (max-width:380px){.completed-object-action{flex-direction:column;gap:6px}.completed-object-action .world-primary{width:100%}}.real-hummingbird.pose-hover.motion-on{animation:2.3s ease-in-out infinite natural-hover}.real-hummingbird.pose-perch.motion-on .animal-breath{animation:3s ease-in-out infinite natural-bird-breath}.real-hummingbird.pose-curious.motion-on{animation:3s ease-in-out infinite natural-look}.environment-near{transform-origin:100px 0;pointer-events:none;animation:12s ease-in-out infinite alternate near-foliage}.environment-cat .environment-near{animation-duration:18s}.environment-sun{animation:17s ease-in-out infinite alternate passing-light}.environment-motes circle{animation:11s ease-in-out infinite alternate floating-mote}.environment-quiet .environment-near,.environment-quiet .environment-motes circle{animation-duration:24s!important}.realistic-item{filter:drop-shadow(0 8px 5px #22261c28)}.realistic-item.item-fountain{animation:4s ease-in-out infinite water-glimmer}.realistic-item.item-lamp{filter:drop-shadow(0 0 13px #f8d58d55)}.habitat-immersive:is(.species-cat,.species-hummingbird) .scene-status{color:#fff7de;text-shadow:0 1px 5px #132322,0 2px 14px #172526;letter-spacing:.1px;font-size:calc(13px * var(--restore-text-scale,1))}.habitat-immersive:is(.species-cat,.species-hummingbird) .habitat-hud{background:#fff9eced;border:1px solid #fff6df;box-shadow:0 8px 25px #15221d19}.habitat-immersive:is(.species-cat,.species-hummingbird) .food-offer{background:#fffaeef2;box-shadow:0 8px 24px #17282020}.habitat-immersive:is(.species-cat,.species-hummingbird) .comfort-tray button{background:#fff9edef}.comfort-tray button>span{min-height:27px;font-size:calc(11px * var(--restore-text-scale,1))}.food-offer small{letter-spacing:1px;font-size:calc(10px * var(--restore-text-scale,1))}.food-offer em{font-size:calc(12px * var(--restore-text-scale,1))}.scene-next-world>button{background:#203f35;box-shadow:0 6px 22px #10241840}.scene-world-link{min-height:30px;font-size:calc(11px * var(--restore-text-scale,1))}.species-hummingbird .scene-world-link{color:#fff8df;text-shadow:0 2px 6px #263e31}.habitat-immersive .habitat-companion{transition:transform 1.4s}.story-heading>div{backdrop-filter:blur(12px);background:#fff9e9de;border-radius:20px;max-width:520px;margin-inline:auto;padding:10px 14px;box-shadow:0 3px 18px #182c2520}.story-stage .story-dialogue{background:#fffaf1f2;top:24%}.story-stage .story-footer{background:linear-gradient(#0000,#fcf6e7ed 36%,#faf4e8)}.story-stage .cat-actor:is(.pose-tired,.pose-rest,.pose-wake,.pose-stretch),.story-stage .doctor-actor:is(.pose-kneel,.pose-examine,.pose-open){animation:none;transform:none}.story-stage .bird-actor.pose-circle{animation:2.2s ease-in-out both measured-circle}.story-stage .bird-actor.pose-celebrate{animation:3s ease-in-out infinite measured-circle}.story-stage .story-actor.pose-enter{animation-timing-function:linear}.story-stage .bird-actor.pose-enter{animation-timing-function:cubic-bezier(.15,.6,.2,1)}.story-stage.light-quiet .story-camera{filter:saturate(.83)brightness(.91)}.story-stage .story-camera{transition:transform 1.8s,filter 2s}.story-stage .story-camera.focus-cat{transform:translate(9px)scale(1.1)}.story-stage .story-camera.focus-doctor{transform:translate(-25px)scale(1.035)}.story-stage .story-camera.focus-trees{transform:translateY(20px)scale(1.06)}.meeting-map-region{text-align:left;isolation:isolate;color:#fff8dc;background:#203a31;border:1px solid #bba464;border-radius:24px;align-items:center;gap:20px;width:100%;min-height:170px;margin:0 0 24px;padding:25px 24px;display:flex;position:relative;overflow:hidden;box-shadow:0 10px 30px #17372b24}.meeting-map-region>img{object-fit:cover;object-position:center 52%;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.meeting-map-region:after{content:"";z-index:-1;background:linear-gradient(90deg,#17372deb,#163d31a6 58%,#243e3645);position:absolute;inset:0}.meeting-region-copy{flex-direction:column;flex:1;gap:9px;display:flex}.meeting-region-copy small{letter-spacing:1.25px;color:#f0d99a;font-size:calc(12px * var(--restore-text-scale,1))}.meeting-region-copy strong{font:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563))/1.15 Georgia,serif}.meeting-region-copy>span{max-width:390px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5}.meeting-region-icon{background:#fff9e61c;border:1px solid #fff8d466;border-radius:100%;flex-shrink:0;place-items:center;width:46px;height:46px;display:grid}.meeting-map-region.locked{filter:saturate(.35);border-color:#a3b5a6}.meeting-map-region.locked>img{filter:blur(4px);opacity:.55}.meeting-map-region.unlocked:hover .meeting-region-icon{background:#fff9e637}.world-bottom-nav.has-meeting{grid-template-columns:repeat(4,minmax(0,1fr));width:470px}.world-bottom-nav.has-meeting button{min-width:0;padding:4px 2px}.world-bottom-nav.has-meeting button>span{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.3}.world-app[data-screen=meeting]{width:100%;max-width:none;height:100svh;flex-direction:column;height:100dvh;min-height:0;padding:0;display:flex;overflow:hidden}.world-app[data-screen=meeting] .world-topbar{z-index:3;background:#f8f3e7;border-bottom:1px solid #c6b49a44;height:54px;min-height:54px;margin:0;padding:0 20px}.world-app[data-screen=meeting] .world-logo{align-items:center;gap:8px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));display:flex}.world-app[data-screen=meeting] .world-logo>svg{width:24px;height:26px}.world-app[data-screen=meeting] .world-logo>span,.world-app[data-screen=meeting] .world-bottom-nav{display:none}.world-app[data-screen=meeting] .world-content{flex:1;min-height:0;position:relative}.meeting-arrival{isolation:isolate;color:#fff8e5;background:#17372d;height:100%;position:relative;overflow:hidden}.arrival-garden{object-fit:cover;z-index:-4;width:100%;height:100%;animation:3.8s ease-out both arrival-camera;position:absolute;inset:0}.arrival-shade{z-index:-2;background:linear-gradient(#152e2b66,#1d302b05 48%,#102c28dc);position:absolute;inset:0}.arrival-mist{filter:blur(30px);z-index:-1;pointer-events:none;background:radial-gradient(at 35% 40%,#eff3e8fa,#f2ecdccb 46%,#0000 75%);animation:3s ease-out both arrival-mist;position:absolute;inset:-20%}.arrival-back{position:absolute;top:20px;left:20px}.arrival-title{text-align:center;text-shadow:0 3px 16px #102c28d9;animation:1.5s .9s both arrival-copy;position:absolute;top:13%;left:25px;right:25px}.arrival-title>span{letter-spacing:3px;color:#ffe4a8;font-size:calc(12px * var(--restore-text-scale,1))}.arrival-title h1{margin:16px 0;font:clamp(37px,6vw,68px)/1.1 Georgia,serif}.arrival-title p{font-size:calc(17px * var(--restore-text-scale,1));line-height:1.6}.arrival-connections{width:min(320px,83vw);height:150px;position:absolute;top:47%;left:50%;transform:translate(-50%)}.arrival-home{border:3px solid #f4d799;border-radius:100%;width:74px;height:74px;animation:1s .5s both arrival-copy;position:absolute;top:0;overflow:hidden;box-shadow:0 6px 26px #152b25aa}.arrival-home>img{object-fit:cover;width:100%;height:100%}.home-cat{left:0}.home-bird{right:0}.arrival-connections>svg{fill:none;stroke:#ffe8a4;stroke-width:2px;filter:drop-shadow(0 0 7px #ffecaa);width:100%;height:120px;margin-top:25px}.arrival-connections path{stroke-dasharray:100;stroke-dashoffset:100px;animation:2s .7s forwards arrival-path}.arrival-garden-mark{backdrop-filter:blur(10px);background:#254d3edb;border:1px solid #ffe9b8;border-radius:100%;place-items:center;width:65px;height:65px;animation:1s 1.7s both arrival-copy;display:grid;position:absolute;top:100px;left:50%;transform:translate(-50%);box-shadow:0 0 32px #ffe09b66}.arrival-footer{bottom:max(25px,env(safe-area-inset-bottom));text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex;position:absolute;left:22px;right:22px}.arrival-footer p{text-shadow:0 2px 6px #112c29;max-width:410px;margin:0;font:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))/1.5 Georgia,serif}.arrival-footer .story-primary{color:#244c3c;background:#fff5d9;border-color:#fff5d9;width:100%;max-width:360px;font-weight:600}.arrival-footer .story-primary:disabled{opacity:.6}.arrival-footer small{color:#ece4ce;font-size:calc(12px * var(--restore-text-scale,1))}@keyframes natural-breath{50%{transform:scale(1.003,1.011)}}@keyframes natural-bird-breath{50%{transform:scaleY(1.008)}}@keyframes natural-nibble{40%,70%{transform:translateY(2px)rotate(.5deg)}}@keyframes natural-purr{to{transform:translate(.55px)scaleY(1.002)}}@keyframes natural-hover{25%{transform:translate(4px,-5px)}75%{transform:translate(-3px,2px)}}@keyframes natural-look{30%,55%{transform:rotate(-2deg)}75%{transform:rotate(1deg)}}@keyframes near-foliage{to{transform:rotate(.32deg)translate(2px)}}@keyframes passing-light{to{opacity:.45}}@keyframes floating-mote{to{opacity:.2;transform:translate(12px,-20px)}}@keyframes water-glimmer{50%{filter:drop-shadow(0 5px 6px #4b9c9955)brightness(1.04)}}@keyframes natural-step{to{transform:translate(55px)}}@keyframes natural-slow-step{to{transform:translate(28px)}}@keyframes measured-circle{0%,to{transform:translate(0)}30%{transform:translate(-90px,-70px)rotate(-4deg)}65%{transform:translate(-140px,25px)rotate(3deg)}}@keyframes arrival-camera{0%{transform:scale(1.17)}to{transform:scale(1)}}@keyframes arrival-mist{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:translateY(-12%)scale(1.5)}}@keyframes arrival-copy{0%{opacity:0}to{opacity:1}}@keyframes arrival-path{to{stroke-dashoffset:0}}.reduced-motion .real-animal *,.reduced-motion .real-environment *,.reduced-motion .realistic-item,.arrival-gentle *{transition:none!important;animation:none!important}.arrival-gentle .arrival-mist{display:none}.arrival-gentle .arrival-connections path{stroke-dashoffset:0}@media (max-width:560px){.meeting-map-region{border-radius:20px;gap:12px;min-height:170px;padding:19px 18px}.meeting-region-copy strong{font-size:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621))}.meeting-region-copy small{font-size:calc(11px * var(--restore-text-scale,1))}.meeting-region-copy>span{font-size:calc(13px * var(--restore-text-scale,1))}.world-bottom-nav.has-meeting button>span{font-size:calc(11px * var(--restore-text-scale,1))}.story-heading>div{padding:8px 9px}.story-heading h1{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}}@media (max-height:680px){.arrival-title{top:10%}.arrival-title h1{margin:11px 0;font-size:calc(36px * (1 + (var(--restore-text-scale,1) - 1) * 0.5))}.arrival-title p{font-size:calc(14px * var(--restore-text-scale,1))}.arrival-connections{transform-origin:top;width:250px;top:43%;transform:translate(-50%)scale(.83)}.arrival-footer{gap:10px;bottom:16px}.arrival-footer p{font-size:calc(16px * var(--restore-text-scale,1))}.arrival-footer small{font-size:calc(11px * var(--restore-text-scale,1))}.comfort-tray button>span{min-height:24px;font-size:calc(10px * var(--restore-text-scale,1))}.scene-world-link{min-height:25px}.habitat-immersive:is(.species-cat,.species-hummingbird) .scene-status{font-size:calc(12px * var(--restore-text-scale,1))}}@media (prefers-reduced-motion:reduce){.real-animal *,.real-environment *,.realistic-item,.meeting-arrival *{transition:none!important;animation:none!important}.arrival-mist{display:none}.arrival-connections path{stroke-dashoffset:0}}:where(:root[data-system-reduced-motion]) .real-animal *,:where(:root[data-system-reduced-motion]) .real-environment *,:where(:root[data-system-reduced-motion]) .realistic-item,:where(:root[data-system-reduced-motion]) .meeting-arrival *{transition:none!important;animation:none!important}:where(:root[data-system-reduced-motion]) .arrival-mist{display:none}:where(:root[data-system-reduced-motion]) .arrival-connections path{stroke-dashoffset:0}.world-app[data-screen=puzzle]{height:100svh;flex-direction:column;max-width:1000px;height:100dvh;min-height:0;padding:0 16px 8px;display:flex;overflow:hidden}.world-app[data-screen=puzzle] .world-topbar{flex-shrink:0;height:54px;min-height:54px;margin:0}.world-app[data-screen=puzzle] .world-content{flex:1;min-height:0;display:flex}.world-app[data-screen=puzzle] .world-puzzle{flex-direction:column;width:100%;min-height:0;display:flex}.world-app[data-screen=puzzle] .world-puzzle .world-back{flex-shrink:0;min-height:32px;font-size:calc(12px * var(--restore-text-scale,1))}.world-app[data-screen=puzzle] .world-heading{flex-shrink:0;margin:5px 0 4px}.world-app[data-screen=puzzle] .world-heading h1{font-size:calc(clamp(21px,4vw,28px) * (1 + (var(--restore-text-scale,1) - 1) * 0.643));line-height:1.15}.world-app[data-screen=puzzle] .world-heading p{display:none}.world-app[data-screen=puzzle] .puzzle-progress{flex-shrink:0;margin:9px 0 11px}.world-app[data-screen=puzzle] .puzzle-stage{flex:1;height:auto;min-height:150px;max-height:none;margin:0}.world-app[data-screen=puzzle] .world-puzzle-tools{flex-shrink:0;padding:4px 0}.world-app[data-screen=puzzle] .world-puzzle-tools button{min-height:44px;font-size:calc(13px * var(--restore-text-scale,1))}.world-app[data-screen=puzzle] .puzzle-message{flex-shrink:0;min-height:18px;margin:2px 0;font-size:calc(12px * var(--restore-text-scale,1))}.world-app[data-screen=puzzle] .puzzle-help-note{flex-shrink:0;margin:3px 0;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.25}.world-app[data-screen=puzzle] .naming-moment{flex:1;min-height:0;overflow:auto}.real-cat.pose-eat.motion-on .animal-breath,.real-cat.pose-scratch.motion-on .animal-breath{animation:none}.real-cat.pose-knead.motion-on .animal-breath{transform-origin:450px 505px;animation:.56s ease-in-out infinite care-knead}.real-animal.pose-nuzzle.motion-on .animal-breath{transform-origin:450px 505px;animation:1.6s ease-in-out infinite care-nuzzle}.real-animal.pose-sip.motion-on .animal-breath{transform-origin:450px 505px;animation:1.4s ease-in-out infinite care-sip}.real-rabbit.pose-curious.motion-on .animal-breath{animation:1.5s ease-in-out 2 care-hop}.real-butterfly.pose-hover.motion-on{animation:2.8s ease-in-out infinite care-flutter}.real-owl.pose-curious.motion-on .animal-breath,.real-fox.pose-curious.motion-on .animal-breath{animation:3s ease-in-out infinite natural-look}.real-animal.motion-off *{animation:none!important}.meal-dish{pointer-events:none}.meal-dish .art-fish{animation:none;transform:none}.meal-consuming .meal-in-dish{animation:6s linear both care-food}.comfort-reacts .item-lamp{filter:drop-shadow(0 0 24px #ffe7a4cc)}.reacts-flower .realistic-item,.reacts-chimes .realistic-item,.reacts-stars .realistic-item{transform-origin:450px 180px;animation:2s ease-in-out 2 care-sway}.story-stage .cat-actor.pose-approach{animation:1.1s linear both care-approach}.story-stage .cat-actor.pose-slow{animation:1.6s linear both care-slow}.story-stage .doctor-actor.pose-enter{animation:1.6s linear both care-doctor-enter}.story-stage .doctor-actor.pose-examine .story-object{transform-origin:450px 540px;animation:3s ease-in-out infinite care-check}.puzzle-svg .puzzle-line.active-path{filter:drop-shadow(0 0 calc(var(--shape-nearness,0)*6px) #d3ab58)}@keyframes care-knead{50%{transform:scaleY(.992)translateY(1px)}}@keyframes care-nuzzle{50%{transform:rotate(1deg)translate(2px,2px)}}@keyframes care-sip{50%{transform:translateY(2px)rotate(.3deg)}}@keyframes care-hop{35%{transform:translateY(-9px)}65%{transform:translateY(0)}}@keyframes care-flutter{30%{transform:translate(-20px,-18px)rotate(-3deg)}70%{transform:translate(15px,-9px)rotate(2deg)}}@keyframes care-food{0%,25%{opacity:1}70%{opacity:.45}88%,to{opacity:0}}@keyframes care-sway{30%{transform:rotate(1.2deg)}70%{transform:rotate(-1.2deg)}}@keyframes care-approach{0%{transform:translate(-55px)}to{transform:translate(0)}}@keyframes care-slow{0%{transform:translate(-28px)}to{transform:translate(0)}}@keyframes care-doctor-enter{0%{opacity:0;transform:translate(170px)}to{opacity:1;transform:none}}@keyframes care-check{50%{transform:translateY(1px)}}.reduced-motion .meal-in-dish,.story-gentle .meal-in-dish{animation:none}.habitat-immersive.is-paused *{transition:none!important;animation-play-state:paused!important}.story-stage .cat-actor:is(.pose-eat,.pose-drink,.pose-sniff){animation:none;transform:none}@media (prefers-reduced-motion:reduce){.section-color,.meal-in-dish{animation:none!important}}:where(:root[data-system-reduced-motion]) .section-color,:where(:root[data-system-reduced-motion]) .meal-in-dish{animation:none!important}.habitat-progress-actions{flex-direction:column;gap:7px;margin-top:8px;display:flex}.next-animal-primary{color:#fff5d3;text-align:left;background:#214c3c;border:1px solid #e4c574;border-radius:17px;align-items:center;gap:13px;width:100%;min-height:64px;padding:10px 17px;display:flex;box-shadow:0 5px 18px #112a3440}.next-animal-primary>span{flex-direction:column;flex:1;gap:3px;display:flex}.next-animal-primary small{letter-spacing:1.2px;color:#f4d887;font-size:calc(11px * var(--restore-text-scale,1))}.next-animal-primary strong{font-size:calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857));line-height:1.1}.meeting-world-secondary{color:#284938;background:#fffae9f5;border:1px solid #d6c89f;border-radius:13px;justify-content:space-between;align-items:center;min-height:45px;padding:8px 15px;font-size:calc(14px * var(--restore-text-scale,1));font-weight:600;display:flex}.scene-dock{bottom:max(12px,env(safe-area-inset-bottom))}.habitat-immersive:has(.next-animal-primary) .scene-dock{gap:7px}.animal-conversation{z-index:4;pointer-events:none;color:#354e42;max-width:400px;margin:auto;position:absolute;top:24%;left:22px;right:22px}.conversation-line{background:#fff9ebef;border:1px solid #fff2d9;border-radius:16px;padding:10px 14px;animation:.3s dialogue-arrive;box-shadow:0 5px 19px #23433222}.conversation-line>span{color:#70886b;align-items:center;gap:6px;font-size:calc(12px * var(--restore-text-scale,1));font-weight:700;display:flex}.conversation-line>span svg:last-child{color:#b26e80;margin-left:auto}.conversation-line p{margin:4px 0 0;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.4}.habitat-immersive .scene-status{font-size:calc(12px * var(--restore-text-scale,1));top:19%}.conversation-concern .conversation-line{background:#fff6e7f5;border-color:#dcc9ac}.story-stage .animal-conversation{top:23%}.story-stage:has(.story-dialogue) .animal-conversation{display:none}.creation-thanks{text-align:center;color:#526b57;flex-direction:column;flex-shrink:0;align-items:center;gap:5px;padding:8px 0;display:flex}.creation-thanks strong{font:calc(18px * var(--restore-text-scale,1))/1.3 Georgia,serif}.creation-thanks>span{font-size:calc(14px * var(--restore-text-scale,1))}.creation-thanks .world-primary{width:100%;max-width:320px;min-height:46px;margin-top:5px}.creation-hearts>g{transform-box:fill-box;transform-origin:50%;opacity:0;animation:2.1s ease-out infinite creation-heart}@keyframes creation-heart{15%{opacity:1}80%{opacity:.9}to{opacity:0;translate:0 -100px;scale:1.35}}@keyframes dialogue-arrive{0%{opacity:0;translate:0 4px}to{opacity:1;translate:0}}.player-name-dialog{color:#355344;background:#fff9eb}.player-name-dialog form{flex-direction:column;gap:13px;display:flex}.player-name-dialog label{font-size:calc(14px * var(--restore-text-scale,1))}.player-name-dialog input{min-height:48px;font-size:calc(18px * var(--restore-text-scale,1))}.vibration-test,.player-edit{color:#47664f;background:#edf0e4;border:1px solid #c1cdbb;border-radius:12px;min-height:44px;padding:9px 14px;font-size:calc(14px * var(--restore-text-scale,1))}.world-settings>p[role=status]{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.4}.world-settings{max-height:90dvh;overflow:auto}.reduced-motion .creation-hearts>g{opacity:1;animation:none}.reduced-motion .conversation-line{animation:none}@media (max-height:720px){.habitat-immersive .food-offer{min-height:54px;padding:5px 10px}.habitat-immersive .food-preview{width:46px;height:45px}.habitat-immersive .comfort-tray button{padding:4px}.habitat-immersive .comfort-tray button svg{height:31px}.habitat-immersive .comfort-tray button>span{min-height:25px;font-size:calc(11px * var(--restore-text-scale,1))}.next-animal-primary{min-height:51px;padding:8px 12px}.next-animal-primary strong{font-size:calc(18px * var(--restore-text-scale,1))}.meeting-world-secondary{min-height:40px}.animal-conversation{top:22%;left:15px;right:15px}.conversation-line{padding:7px 10px}.conversation-line p{font-size:calc(13px * var(--restore-text-scale,1))}}@media (prefers-reduced-motion:reduce){.creation-hearts>g{opacity:1;animation:none}.conversation-line{animation:none}}:where(:root[data-system-reduced-motion]) .creation-hearts>g{opacity:1;animation:none}:where(:root[data-system-reduced-motion]) .conversation-line{animation:none}.skunk-tutorial{height:100svh;color:#3c5b49;background:radial-gradient(at 50% 35%,#fffaf0,#eee9da);flex-direction:column;align-items:center;width:min(100%,560px);height:100dvh;min-height:540px;margin:auto;padding:18px 24px 22px;display:flex;overflow:auto}.skunk-tutorial>header{flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;width:100%;margin-bottom:12px;display:flex}.skunk-tutorial>header>span{font:calc(29px * (1 + (var(--restore-text-scale,1) - 1) * 0.621)) Georgia,serif}.skunk-tutorial>header>small{letter-spacing:1.4px;text-align:right;font-size:calc(10px * var(--restore-text-scale,1))}.skunk-tutorial h1{text-align:center;margin:10px 0;font:clamp(25px,5vw,34px)/1.18 Georgia,serif}.skunk-tutorial>p,.tutorial-copy p{text-align:center;margin:6px 0;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.5}.tutorial-welcome-art,.tutorial-thanks-art{flex:1;width:100%;min-height:170px;max-height:42dvh}.tutorial-welcome-art svg,.tutorial-thanks-art svg,.tutorial-naming-art svg{width:100%;height:100%;overflow:visible}.skunk-tutorial form{flex-direction:column;gap:11px;width:100%;margin-top:18px;display:flex}.skunk-tutorial form label{text-align:center;font-size:calc(14px * var(--restore-text-scale,1))}.skunk-tutorial input{background:#fffdf6;min-height:48px;font-size:calc(18px * var(--restore-text-scale,1))}.skunk-tutorial .world-primary{flex-shrink:0;width:100%;min-height:52px;margin-top:8px}.tutorial-skip{color:#70816b;min-height:44px;margin-top:9px;font-size:calc(13px * var(--restore-text-scale,1))}.tutorial-copy{text-align:center;flex-shrink:0;margin:15px 0 4px}.tutorial-copy .overline{font-size:calc(12px * var(--restore-text-scale,1))}.tutorial-copy p{max-width:410px}.tutorial-board{touch-action:none;flex:1;width:100%;min-height:230px;overflow:visible}.tutorial-dot{cursor:grab;outline:none}.tutorial-dot:focus-visible .tutorial-dot-halo{stroke:#49664c;stroke-width:3px}.tutorial-dot-halo{transform-origin:50%;transform-box:fill-box;animation:1.6s ease-in-out infinite tutorial-pulse}.tutorial-feedback{text-align:center;flex-shrink:0;min-height:43px;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.4}.tutorial-footer{color:#7b876f;flex-shrink:0;align-items:center;gap:8px;margin-top:12px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;display:flex}.tutorial-naming-art{width:100%;height:25dvh;min-height:130px}.skunk-tutorial .naming-card{width:100%;padding:0}.skunk-tutorial .naming-card h2{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}@keyframes tutorial-pulse{50%{opacity:.45;scale:1.12}}.reduced-motion .tutorial-dot-halo{animation:none}.real-animal .animal-pose-motion{transform-box:fill-box;transform-origin:bottom}.real-animal.motion-on .pose-arrival{animation:.3s ease-out both pose-arrival}.real-animal.motion-on.pose-curious .animal-pose-motion{animation:3.5s ease-in-out infinite animal-listen}.real-animal.motion-on.pose-heart .animal-pose-motion,.real-animal.motion-on.pose-wave .animal-pose-motion{animation:2.3s ease-in-out infinite animal-thanks}.real-fox.motion-on.pose-play .animal-pose-motion{animation:1.8s ease-in-out infinite fox-bow}.real-rabbit.motion-on.pose-play .animal-pose-motion{animation:2.4s ease-in-out infinite rabbit-binky}.real-owl.motion-on.pose-play .animal-pose-motion{animation:2.2s ease-in-out infinite owl-fluff}.real-skunk.motion-on.pose-play .animal-pose-motion{animation:2.7s ease-in-out infinite skunk-swish}.real-butterfly.motion-on.pose-play .animal-pose-motion,.real-butterfly.motion-on.pose-hover .animal-pose-motion{animation:2.8s ease-in-out infinite butterfly-dance}.real-hummingbird.motion-on.pose-play .animal-pose-motion{animation:2.6s ease-in-out infinite bird-dart}.real-animal.motion-on.pose-sleep .animal-breath{animation-duration:5.5s}.real-animal.motion-on.pose-sickRest .animal-breath,.real-animal.motion-on.pose-unwell .animal-breath{animation-duration:5s}.unwell-status{color:#73544d;z-index:8;text-align:center;background:#fbf3e4ee;border:1px solid #c4b4a9;border-radius:14px;width:max-content;max-width:calc(100% - 34px);padding:9px 14px;font-size:calc(13px * var(--restore-text-scale,1));position:absolute;top:18%;left:50%;transform:translate(-50%)}.story-stage[data-unwell=true] .animal-conversation{top:27%}@keyframes pose-arrival{0%{opacity:.55}to{opacity:1}}@keyframes animal-listen{0%,to{transform:rotate(0)}50%{transform:rotate(2deg)}}@keyframes animal-thanks{0%,to{transform:rotate(-1deg)translateY(0)}50%{transform:rotate(1deg)translateY(-5px)}}@keyframes fox-bow{0%,to{transform:scaleY(1)}50%{transform:scaleY(.97)translateY(2px)}}@keyframes rabbit-binky{0%,30%,60%,to{transform:translateY(0)rotate(0)}45%{transform:translateY(-22px)rotate(-3deg)}}@keyframes skunk-swish{0%,to{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}@keyframes butterfly-dance{0%,to{transform:translate(-9px)rotate(-3deg)scaleX(1)}50%{transform:translate(9px,-14px)rotate(3deg)scaleX(.85)}}@keyframes bird-dart{0%,to{transform:translate(0)}35%{transform:translate(15px,-10px)}70%{transform:translate(-8px,-5px)}}.reduced-motion .animal-pose-motion,.story-gentle .animal-pose-motion,.motion-off .animal-pose-motion,.motion-off .pose-arrival{animation:none!important}@media (prefers-reduced-motion:reduce){.animal-pose-motion,.pose-arrival,.tutorial-dot-halo{animation:none!important}}:where(:root[data-system-reduced-motion]) .animal-pose-motion,:where(:root[data-system-reduced-motion]) .pose-arrival,:where(:root[data-system-reduced-motion]) .tutorial-dot-halo{animation:none!important}.world-app.tutorial-app{max-width:none;height:100dvh;min-height:0;display:block;overflow:hidden;padding:0!important}.tutorial-app .skunk-tutorial{min-height:0}@media (max-height:720px){.tutorial-welcome-art,.tutorial-thanks-art{min-height:130px;max-height:32dvh}.skunk-tutorial{padding:13px 19px 15px}.skunk-tutorial h1{font-size:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))}.skunk-tutorial>p,.tutorial-copy p{font-size:calc(14px * var(--restore-text-scale,1))}.skunk-tutorial form{gap:7px;margin-top:10px}.skunk-tutorial>header{margin-bottom:5px}.tutorial-skip{margin-top:4px}}.real-skunk.motion-on .animal-breath{animation:4.8s ease-in-out infinite natural-breath}.real-skunk.pose-purr.motion-on .animal-breath{animation:1.5s ease-in-out infinite contented-nuzzle}.tutorial-keepsake{background:#f6f1e5;border:1px solid #e2d7bd;border-radius:20px;align-items:center;gap:15px;margin-bottom:20px;padding:10px 18px;display:flex}.tutorial-keepsake svg{flex-shrink:0;width:100px}.tutorial-keepsake h2{margin:6px 0;font:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75)) Georgia,serif}.tutorial-keepsake p{color:#727e6a;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.4}.story-words{z-index:3;pointer-events:none;justify-items:center;gap:8px;display:grid;position:absolute;left:18px;right:18px}.story-words .unwell-status{width:auto;max-width:100%;margin:0;padding:7px 12px;font-size:calc(12px * var(--restore-text-scale,1));position:static;transform:none}.story-stage .story-words .story-dialogue{width:max-content;max-width:100%;margin:0;padding:10px 15px;font-size:calc(17px * var(--restore-text-scale,1));line-height:1.35;position:static;transform:none}.story-stage .story-words .animal-conversation{width:100%;max-width:400px;margin:0;position:static}.story-words .conversation-line{margin:0}@media (max-width:360px){.story-heading h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.story-heading span{letter-spacing:.8px;font-size:calc(9px * var(--restore-text-scale,1))}.story-stage .story-words .story-dialogue{font-size:calc(16px * var(--restore-text-scale,1))}.story-words{gap:6px;left:15px;right:15px}}

/* app/fonts.css */
/* Brand typefaces (SIL Open Font License 1.1, licences in public/fonts/).
 * Fraunces — a "soft serif" with an optical-size axis: display, headline and the RESTORE wordmark.
 * Figtree — a clear geometric sans: title, body and label styles (the Material 3 "plain" typeface role). */
@font-face{font-family:"Fraunces";src:url("/fonts/Fraunces-Variable.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Fraunces";src:url("/fonts/Fraunces-Italic-var.woff") format("woff");font-weight:100 900;font-style:italic;font-display:swap}
@font-face{font-family:"Figtree";src:url("/fonts/Figtree-Variable.ttf") format("truetype");font-weight:300 900;font-style:normal;font-display:swap}

/* app/m3-tokens.css */
/* GENERATED by scripts/gen-m3-theme.ts — do not edit by hand.
 * Material 3 colour roles for RESTORE (material-color-utilities, spec 2021, tonal-spot with brand palettes).
 * Seed #4E6E58 (sage) · tertiary #C08A2E (core colour, not harmonised) · neutral hue from #F3ECE0. */
:root{
  --md-sys-color-primary:#43664f;
  --md-sys-color-on-primary:#ffffff;
  --md-sys-color-primary-container:#c5ecce;
  --md-sys-color-on-primary-container:#2b4e38;
  --md-sys-color-inverse-primary:#a9d0b3;
  --md-sys-color-primary-fixed:#c5ecce;
  --md-sys-color-primary-fixed-dim:#a9d0b3;
  --md-sys-color-on-primary-fixed:#002110;
  --md-sys-color-on-primary-fixed-variant:#2b4e38;
  --md-sys-color-secondary:#546257;
  --md-sys-color-on-secondary:#ffffff;
  --md-sys-color-secondary-container:#d7e7d8;
  --md-sys-color-on-secondary-container:#3c4a40;
  --md-sys-color-secondary-fixed:#d7e7d8;
  --md-sys-color-secondary-fixed-dim:#bbcabd;
  --md-sys-color-on-secondary-fixed:#111e16;
  --md-sys-color-on-secondary-fixed-variant:#3c4a40;
  --md-sys-color-tertiary:#805600;
  --md-sys-color-on-tertiary:#ffffff;
  --md-sys-color-tertiary-container:#ffddb0;
  --md-sys-color-on-tertiary-container:#614000;
  --md-sys-color-tertiary-fixed:#ffddb0;
  --md-sys-color-tertiary-fixed-dim:#fabb57;
  --md-sys-color-on-tertiary-fixed:#281800;
  --md-sys-color-on-tertiary-fixed-variant:#614000;
  --md-sys-color-error:#ba1a1a;
  --md-sys-color-on-error:#ffffff;
  --md-sys-color-error-container:#ffdad6;
  --md-sys-color-on-error-container:#93000a;
  --md-sys-color-background:#fff8ef;
  --md-sys-color-on-background:#1e1b13;
  --md-sys-color-surface:#fff8ef;
  --md-sys-color-on-surface:#1e1b13;
  --md-sys-color-surface-variant:#eae2cf;
  --md-sys-color-on-surface-variant:#4b4639;
  --md-sys-color-surface-dim:#e0d9cc;
  --md-sys-color-surface-bright:#fff8ef;
  --md-sys-color-surface-container-lowest:#ffffff;
  --md-sys-color-surface-container-low:#faf3e5;
  --md-sys-color-surface-container:#f5eddf;
  --md-sys-color-surface-container-high:#efe7da;
  --md-sys-color-surface-container-highest:#e9e2d4;
  --md-sys-color-inverse-surface:#333027;
  --md-sys-color-inverse-on-surface:#f7f0e2;
  --md-sys-color-outline:#7d7767;
  --md-sys-color-outline-variant:#cec6b4;
  --md-sys-color-shadow:#000000;
  --md-sys-color-scrim:#000000;
  --md-sys-color-surface-tint:#43664f;
}
:root[data-contrast="medium"]{
  --md-sys-color-primary:#1a3d28;
  --md-sys-color-on-primary:#ffffff;
  --md-sys-color-primary-container:#51755d;
  --md-sys-color-on-primary-container:#ffffff;
  --md-sys-color-inverse-primary:#a9d0b3;
  --md-sys-color-primary-fixed:#51755d;
  --md-sys-color-primary-fixed-dim:#395c45;
  --md-sys-color-on-primary-fixed:#ffffff;
  --md-sys-color-on-primary-fixed-variant:#ffffff;
  --md-sys-color-secondary:#2c392f;
  --md-sys-color-on-secondary:#ffffff;
  --md-sys-color-secondary-container:#627165;
  --md-sys-color-on-secondary-container:#ffffff;
  --md-sys-color-secondary-fixed:#627165;
  --md-sys-color-secondary-fixed-dim:#4a584d;
  --md-sys-color-on-secondary-fixed:#ffffff;
  --md-sys-color-on-secondary-fixed-variant:#ffffff;
  --md-sys-color-tertiary:#4b3100;
  --md-sys-color-on-tertiary:#ffffff;
  --md-sys-color-tertiary-container:#936400;
  --md-sys-color-on-tertiary-container:#ffffff;
  --md-sys-color-tertiary-fixed:#936400;
  --md-sys-color-tertiary-fixed-dim:#734d00;
  --md-sys-color-on-tertiary-fixed:#ffffff;
  --md-sys-color-on-tertiary-fixed-variant:#ffffff;
  --md-sys-color-error:#740006;
  --md-sys-color-on-error:#ffffff;
  --md-sys-color-error-container:#cf2c27;
  --md-sys-color-on-error-container:#ffffff;
  --md-sys-color-background:#fff8ef;
  --md-sys-color-on-background:#1e1b13;
  --md-sys-color-surface:#fff8ef;
  --md-sys-color-on-surface:#131109;
  --md-sys-color-surface-variant:#eae2cf;
  --md-sys-color-on-surface-variant:#3a3629;
  --md-sys-color-surface-dim:#ccc6b9;
  --md-sys-color-surface-bright:#fff8ef;
  --md-sys-color-surface-container-lowest:#ffffff;
  --md-sys-color-surface-container-low:#faf3e5;
  --md-sys-color-surface-container:#efe7da;
  --md-sys-color-surface-container-high:#e3dccf;
  --md-sys-color-surface-container-highest:#d8d1c4;
  --md-sys-color-inverse-surface:#333027;
  --md-sys-color-inverse-on-surface:#f7f0e2;
  --md-sys-color-outline:#575244;
  --md-sys-color-outline-variant:#726d5e;
  --md-sys-color-shadow:#000000;
  --md-sys-color-scrim:#000000;
  --md-sys-color-surface-tint:#43664f;
}
:root[data-contrast="high"]{
  --md-sys-color-primary:#0f321f;
  --md-sys-color-on-primary:#ffffff;
  --md-sys-color-primary-container:#2e503a;
  --md-sys-color-on-primary-container:#ffffff;
  --md-sys-color-inverse-primary:#a9d0b3;
  --md-sys-color-primary-fixed:#2e503a;
  --md-sys-color-primary-fixed-dim:#173925;
  --md-sys-color-on-primary-fixed:#ffffff;
  --md-sys-color-on-primary-fixed-variant:#ffffff;
  --md-sys-color-secondary:#222f26;
  --md-sys-color-on-secondary:#ffffff;
  --md-sys-color-secondary-container:#3f4c42;
  --md-sys-color-on-secondary-container:#ffffff;
  --md-sys-color-secondary-fixed:#3f4c42;
  --md-sys-color-secondary-fixed-dim:#28362c;
  --md-sys-color-on-secondary-fixed:#ffffff;
  --md-sys-color-on-secondary-fixed-variant:#ffffff;
  --md-sys-color-tertiary:#3e2800;
  --md-sys-color-on-tertiary:#ffffff;
  --md-sys-color-tertiary-container:#644200;
  --md-sys-color-on-tertiary-container:#ffffff;
  --md-sys-color-tertiary-fixed:#644200;
  --md-sys-color-tertiary-fixed-dim:#472e00;
  --md-sys-color-on-tertiary-fixed:#ffffff;
  --md-sys-color-on-tertiary-fixed-variant:#ffffff;
  --md-sys-color-error:#600004;
  --md-sys-color-on-error:#ffffff;
  --md-sys-color-error-container:#98000a;
  --md-sys-color-on-error-container:#ffffff;
  --md-sys-color-background:#fff8ef;
  --md-sys-color-on-background:#1e1b13;
  --md-sys-color-surface:#fff8ef;
  --md-sys-color-on-surface:#000000;
  --md-sys-color-surface-variant:#eae2cf;
  --md-sys-color-on-surface-variant:#000000;
  --md-sys-color-surface-dim:#beb8ab;
  --md-sys-color-surface-bright:#fff8ef;
  --md-sys-color-surface-container-lowest:#ffffff;
  --md-sys-color-surface-container-low:#f7f0e2;
  --md-sys-color-surface-container:#e9e2d4;
  --md-sys-color-surface-container-high:#dbd4c6;
  --md-sys-color-surface-container-highest:#ccc6b9;
  --md-sys-color-inverse-surface:#333027;
  --md-sys-color-inverse-on-surface:#ffffff;
  --md-sys-color-outline:#302c20;
  --md-sys-color-outline-variant:#4e493b;
  --md-sys-color-shadow:#000000;
  --md-sys-color-scrim:#000000;
  --md-sys-color-surface-tint:#43664f;
}
:root[data-theme="dark"]{
  --md-sys-color-primary:#a9d0b3;
  --md-sys-color-on-primary:#143723;
  --md-sys-color-primary-container:#2b4e38;
  --md-sys-color-on-primary-container:#c5ecce;
  --md-sys-color-inverse-primary:#43664f;
  --md-sys-color-primary-fixed:#c5ecce;
  --md-sys-color-primary-fixed-dim:#a9d0b3;
  --md-sys-color-on-primary-fixed:#002110;
  --md-sys-color-on-primary-fixed-variant:#2b4e38;
  --md-sys-color-secondary:#bbcabd;
  --md-sys-color-on-secondary:#26332a;
  --md-sys-color-secondary-container:#3c4a40;
  --md-sys-color-on-secondary-container:#d7e7d8;
  --md-sys-color-secondary-fixed:#d7e7d8;
  --md-sys-color-secondary-fixed-dim:#bbcabd;
  --md-sys-color-on-secondary-fixed:#111e16;
  --md-sys-color-on-secondary-fixed-variant:#3c4a40;
  --md-sys-color-tertiary:#fabb57;
  --md-sys-color-on-tertiary:#442c00;
  --md-sys-color-tertiary-container:#614000;
  --md-sys-color-on-tertiary-container:#ffddb0;
  --md-sys-color-tertiary-fixed:#ffddb0;
  --md-sys-color-tertiary-fixed-dim:#fabb57;
  --md-sys-color-on-tertiary-fixed:#281800;
  --md-sys-color-on-tertiary-fixed-variant:#614000;
  --md-sys-color-error:#ffb4ab;
  --md-sys-color-on-error:#690005;
  --md-sys-color-error-container:#93000a;
  --md-sys-color-on-error-container:#ffdad6;
  --md-sys-color-background:#16130b;
  --md-sys-color-on-background:#e9e2d4;
  --md-sys-color-surface:#16130b;
  --md-sys-color-on-surface:#e9e2d4;
  --md-sys-color-surface-variant:#4b4639;
  --md-sys-color-on-surface-variant:#cec6b4;
  --md-sys-color-surface-dim:#16130b;
  --md-sys-color-surface-bright:#3c392f;
  --md-sys-color-surface-container-lowest:#100e07;
  --md-sys-color-surface-container-low:#1e1b13;
  --md-sys-color-surface-container:#221f17;
  --md-sys-color-surface-container-high:#2d2a21;
  --md-sys-color-surface-container-highest:#38352b;
  --md-sys-color-inverse-surface:#e9e2d4;
  --md-sys-color-inverse-on-surface:#333027;
  --md-sys-color-outline:#979080;
  --md-sys-color-outline-variant:#4b4639;
  --md-sys-color-shadow:#000000;
  --md-sys-color-scrim:#000000;
  --md-sys-color-surface-tint:#a9d0b3;
}

/* app/design.css */
/* ==========================================================================================
 * RESTORE × Material 3
 * The interface layer of RESTORE, rebuilt on Material Design 3 tokens.
 * Colour roles come from app/m3-tokens.css (generated by scripts/gen-m3-theme.ts). This file
 * defines the type scale, shape, elevation, motion and state tokens, then applies them to every
 * component. It loads after vendor/restore-legacy.css and overrides it; the illustrated scenes and
 * 3D stages keep their own painterly colours, while all chrome (bars, buttons, cards, sheets,
 * dialogs, fields, progress, chips) uses Material roles only.
 * ========================================================================================== */

/* ---------- 0. Reference + system tokens ---------------------------------------------------- */
:root{
  --md-ref-typeface-brand:"Fraunces",Georgia,"Times New Roman",serif;
  --md-ref-typeface-plain:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;

  /* Type scale (M3 baseline sizes; brand face on display + headline, plain face elsewhere) */
  --md-sys-typescale-display-large:400 57px/64px var(--md-ref-typeface-brand);
  --md-sys-typescale-display-medium:400 45px/52px var(--md-ref-typeface-brand);
  --md-sys-typescale-display-small:400 36px/44px var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-large:400 32px/40px var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-medium:400 28px/36px var(--md-ref-typeface-brand);
  --md-sys-typescale-headline-small:400 24px/32px var(--md-ref-typeface-brand);
  --md-sys-typescale-title-large:500 22px/28px var(--md-ref-typeface-brand);
  --md-sys-typescale-title-medium:600 16px/24px var(--md-ref-typeface-plain);
  --md-sys-typescale-title-small:600 14px/20px var(--md-ref-typeface-plain);
  --md-sys-typescale-body-large:400 16px/24px var(--md-ref-typeface-plain);
  --md-sys-typescale-body-medium:400 14px/20px var(--md-ref-typeface-plain);
  --md-sys-typescale-body-small:400 12px/16px var(--md-ref-typeface-plain);
  --md-sys-typescale-label-large:600 14px/20px var(--md-ref-typeface-plain);
  --md-sys-typescale-label-medium:600 12px/16px var(--md-ref-typeface-plain);
  --md-sys-typescale-label-small:600 11px/16px var(--md-ref-typeface-plain);

  /* Shape — the M3 scale. RESTORE maps cards to "large" and hero surfaces to "extra-large"
     (a deliberate brand choice within the token set; see docs/design/material3.md). */
  --md-sys-shape-corner-none:0;
  --md-sys-shape-corner-extra-small:4px;
  --md-sys-shape-corner-small:8px;
  --md-sys-shape-corner-medium:12px;
  --md-sys-shape-corner-large:16px;
  --md-sys-shape-corner-large-increased:20px;
  --md-sys-shape-corner-extra-large:28px;
  --md-sys-shape-corner-extra-large-increased:32px;
  --md-sys-shape-corner-extra-extra-large:48px;
  --md-sys-shape-corner-full:9999px;

  /* Elevation (M3 web shadow levels; depth is carried mainly by tonal surface roles) */
  --md-sys-elevation-level0:none;
  --md-sys-elevation-level1:0 1px 2px rgb(0 0 0/.30),0 1px 3px 1px rgb(0 0 0/.15);
  --md-sys-elevation-level2:0 1px 2px rgb(0 0 0/.30),0 2px 6px 2px rgb(0 0 0/.15);
  --md-sys-elevation-level3:0 1px 3px rgb(0 0 0/.30),0 4px 8px 3px rgb(0 0 0/.15);
  --md-sys-elevation-level4:0 2px 3px rgb(0 0 0/.30),0 6px 10px 4px rgb(0 0 0/.15);
  --md-sys-elevation-level5:0 4px 4px rgb(0 0 0/.30),0 8px 12px 6px rgb(0 0 0/.15);

  /* Motion */
  --md-sys-motion-easing-emphasized:cubic-bezier(.2,0,0,1);
  --md-sys-motion-easing-emphasized-decelerate:cubic-bezier(.05,.7,.1,1);
  --md-sys-motion-easing-emphasized-accelerate:cubic-bezier(.3,0,.8,.15);
  --md-sys-motion-easing-standard:cubic-bezier(.2,0,0,1);
  --md-sys-motion-easing-standard-decelerate:cubic-bezier(0,0,0,1);
  --md-sys-motion-easing-standard-accelerate:cubic-bezier(.3,0,1,1);
  /* Spring approximation (M3 Expressive "fast spatial", damping .9) for small bouncy UI */
  --md-sys-motion-spring-fast-spatial:linear(0,.24 7%,.63 17%,.87 27%,1.01 39%,1.04 48%,1.02 62%,1);
  --md-sys-motion-duration-short1:50ms;--md-sys-motion-duration-short2:100ms;--md-sys-motion-duration-short3:150ms;--md-sys-motion-duration-short4:200ms;
  --md-sys-motion-duration-medium1:250ms;--md-sys-motion-duration-medium2:300ms;--md-sys-motion-duration-medium3:350ms;--md-sys-motion-duration-medium4:400ms;
  --md-sys-motion-duration-long1:450ms;--md-sys-motion-duration-long2:500ms;--md-sys-motion-duration-long3:550ms;--md-sys-motion-duration-long4:600ms;

  /* State layer opacities */
  --md-sys-state-hover:.08;--md-sys-state-focus:.10;--md-sys-state-pressed:.10;--md-sys-state-dragged:.16;
  --md-sys-state-disabled-container:.12;--md-sys-state-disabled-content:.38;

  /* Layout (window size classes: compact < 600, medium 600–839, expanded ≥ 840) */
  --md-margin:16px;--md-gutter:8px;
  --md-top-app-bar-height:64px;--md-nav-bar-height:80px;
  --safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);

  /* Bridge: the shadcn/Tailwind variables used by the utility classes resolve to M3 roles. */
  --background:var(--md-sys-color-surface);--foreground:var(--md-sys-color-on-surface);
  --card:var(--md-sys-color-surface-container-low);--card-foreground:var(--md-sys-color-on-surface);
  --popover:var(--md-sys-color-surface-container);--popover-foreground:var(--md-sys-color-on-surface);
  --primary:var(--md-sys-color-primary);--primary-foreground:var(--md-sys-color-on-primary);
  --secondary:var(--md-sys-color-secondary-container);--secondary-foreground:var(--md-sys-color-on-secondary-container);
  --muted:var(--md-sys-color-surface-container-highest);--muted-foreground:var(--md-sys-color-on-surface-variant);
  --accent:var(--md-sys-color-secondary-container);--accent-foreground:var(--md-sys-color-on-secondary-container);
  --destructive:var(--md-sys-color-error);--border:var(--md-sys-color-outline-variant);--input:var(--md-sys-color-outline);
  --ring:var(--md-sys-color-primary);--radius:var(--md-sys-shape-corner-medium);
  --ink:var(--md-sys-color-on-surface);--slate:var(--md-sys-color-on-surface-variant);--blue:var(--md-sys-color-primary);
  --paper-deep:var(--md-sys-color-surface-container-high);
  color-scheme:light;
}
@media (min-width:600px){:root{--md-margin:24px;--md-gutter:16px}}
@media (min-width:840px){:root{--md-margin:24px;--md-gutter:24px}}

/* ---------- 1. Base ---------------------------------------------------------------------- */
html{background:var(--md-sys-color-surface);-webkit-tap-highlight-color:transparent}
body{background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);font:var(--md-sys-typescale-body-large);
  font-optical-sizing:auto;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body :is(h1,h2,h3,h4){font-family:var(--md-ref-typeface-brand);font-variation-settings:"SOFT" 60,"WONK" 0;font-optical-sizing:auto}
button,input,textarea,select{font-family:var(--md-ref-typeface-plain)}
::selection{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}
:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px}
.sr-only{position:absolute!important}

/* The app frame: compact margins, content clears the top bar and the navigation bar. */
.world-app{color:var(--md-sys-color-on-surface);padding:0 var(--md-margin) calc(var(--md-nav-bar-height) + var(--safe-bottom) + 24px);max-width:1180px}
.world-app[data-screen=habitat],.world-app[data-screen=story],.world-app[data-screen=meeting],.world-app[data-screen=puzzle]{padding-bottom:0}
.world-content{animation:md-fade-through var(--md-sys-motion-duration-medium4) var(--md-sys-motion-easing-emphasized-decelerate) both}
@keyframes md-fade-through{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.world-app[data-screen=habitat] .world-content,.world-app[data-screen=story] .world-content,.world-app[data-screen=meeting] .world-content{animation-name:md-fade}
@keyframes md-fade{from{opacity:0}to{opacity:1}}

/* ---------- 2. State layers + ripple -------------------------------------------------------- */
.md-state{position:relative;isolation:isolate}
.md-state::before,.md-ripple-host::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:currentColor;opacity:0;transition:opacity var(--md-sys-motion-duration-short3) linear;z-index:0}
@media (hover:hover){.md-state:hover::before,.md-ripple-host:hover::before{opacity:var(--md-sys-state-hover)}}
.md-state:focus-visible::before,.md-ripple-host:focus-visible::before{opacity:var(--md-sys-state-focus)}
.md-state:active::before,.md-ripple-host:active::before{opacity:var(--md-sys-state-pressed)}
.md-ripple{position:absolute;border-radius:50%;pointer-events:none;background:currentColor;opacity:.12;transform:scale(0);z-index:0;
  animation:md-ripple var(--md-sys-motion-duration-long2) var(--md-sys-motion-easing-standard) forwards}
.md-ripple.is-out{opacity:0;transition:opacity var(--md-sys-motion-duration-medium1) linear}
@keyframes md-ripple{to{transform:scale(1)}}
.md-ripple-host{overflow:hidden;isolation:isolate}
.md-ripple-host:not(:is([style*=absolute],.story-back,.scene-back)){position:relative}

/* ---------- 3. Top app bar (small) ---------------------------------------------------------- */
.world-topbar{position:sticky;top:0;z-index:30;height:calc(var(--md-top-app-bar-height) + var(--safe-top));min-height:calc(var(--md-top-app-bar-height) + var(--safe-top));
  margin:0 calc(-1 * var(--md-margin)) 8px;padding:var(--safe-top) 4px 0 var(--md-margin);border:0;
  background:var(--md-sys-color-surface);transition:background-color var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-standard),box-shadow var(--md-sys-motion-duration-medium2)}
html[data-scrolled] .world-topbar{background:var(--md-sys-color-surface-container)}
.world-app[data-screen] .world-topbar{border-bottom:0}
.world-app[data-screen=puzzle] .world-topbar,.world-app[data-screen=map] .world-topbar{height:calc(var(--md-top-app-bar-height) + var(--safe-top));margin-bottom:0}
.world-app[data-screen=habitat] .world-topbar,.world-app[data-screen=story] .world-topbar,.world-app[data-screen=meeting] .world-topbar{
  height:calc(56px + var(--safe-top));min-height:calc(56px + var(--safe-top));margin:0;padding:var(--safe-top) 4px 0 var(--md-margin);background:var(--md-sys-color-surface-container);border:0}
.world-brand{background:none;border:0;padding:0;min-height:48px;display:flex;align-items:center;color:var(--md-sys-color-on-surface);border-radius:var(--md-sys-shape-corner-full)}
.world-logo{font:500 calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))/1 var(--md-ref-typeface-brand);font-variation-settings:"SOFT" 100,"WONK" 1,"opsz" 72;letter-spacing:-.5px;color:var(--md-sys-color-on-surface);column-gap:10px;grid-template-columns:30px auto}
.world-logo svg{width:28px;height:28px;fill:var(--md-sys-color-tertiary)}
.world-logo svg path{stroke:var(--md-sys-color-tertiary);stroke-width:1.8px}
.world-logo>span{font:var(--md-sys-typescale-label-small);letter-spacing:.4px;color:var(--md-sys-color-on-surface-variant);margin-top:3px}
.world-app[data-screen=habitat] .world-logo,.world-app[data-screen=story] .world-logo,.world-app[data-screen=meeting] .world-logo{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}
.world-app[data-screen=habitat] .world-logo>span,.world-app[data-screen=story] .world-logo>span,.world-app[data-screen=meeting] .world-logo>span{display:none}
.world-top-actions{display:flex;gap:0}
/* Standard icon button: 48dp target, 40dp state layer, 24dp icon */
.world-icon,.world-app[data-screen] .world-icon{width:48px;min-width:48px;height:48px;padding:4px;border:0;background:none;display:grid;place-items:center;
  color:var(--md-sys-color-on-surface-variant);border-radius:var(--md-sys-shape-corner-full);position:relative}
.world-icon::before{content:"";position:absolute;inset:4px;border-radius:inherit;background:currentColor;opacity:0;transition:opacity var(--md-sys-motion-duration-short3)}
@media (hover:hover){.world-icon:hover::before{opacity:var(--md-sys-state-hover)}}
.world-icon:active::before{opacity:var(--md-sys-state-pressed)}
.world-icon:hover{background:none;border:0}
.world-icon svg{width:24px;height:24px;position:relative}

/* ---------- 4. Navigation bar ----------------------------------------------------------------- */
.world-bottom-nav,.world-bottom-nav.has-meeting{position:fixed;left:0;right:0;bottom:0;top:auto;transform:none;width:auto;max-width:none;margin:0;
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none;gap:8px;
  height:calc(var(--md-nav-bar-height) + var(--safe-bottom));padding:0 8px var(--safe-bottom);
  background:var(--md-sys-color-surface-container);border:0;border-radius:0;box-shadow:none;backdrop-filter:none;z-index:40}
.world-bottom-nav button,.world-bottom-nav.has-meeting button,.world-bottom-nav button:nth-child(2).selected{all:unset;box-sizing:border-box;cursor:pointer;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  gap:4px;padding:12px 0 16px;min-width:0;height:var(--md-nav-bar-height);color:var(--md-sys-color-on-surface-variant);-webkit-tap-highlight-color:transparent}
.world-bottom-nav button::before{content:"";position:absolute;top:12px;left:50%;width:64px;height:32px;margin-left:-32px;border-radius:var(--md-sys-shape-corner-full);
  background:var(--md-sys-color-secondary-container);transform:scaleX(.32);opacity:0;
  transition:transform var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized),opacity var(--md-sys-motion-duration-short2) linear}
.world-bottom-nav button::after{content:"";position:absolute;top:12px;left:50%;width:64px;height:32px;margin-left:-32px;border-radius:var(--md-sys-shape-corner-full);background:currentColor;opacity:0;transition:opacity var(--md-sys-motion-duration-short3)}
@media (hover:hover){.world-bottom-nav button:hover::after{opacity:var(--md-sys-state-hover)}}
.world-bottom-nav button:active::after{opacity:var(--md-sys-state-pressed)}
.world-bottom-nav button:focus-visible::after{opacity:var(--md-sys-state-focus);outline:3px solid var(--md-sys-color-secondary);outline-offset:1px}
.world-bottom-nav button.selected{color:var(--md-sys-color-on-surface);background:none}
.world-bottom-nav button.selected::before{transform:none;opacity:1}
.world-bottom-nav button>svg{position:relative;z-index:1;width:24px;height:24px;margin:4px 0;flex:none}
.world-bottom-nav button.selected>svg{color:var(--md-sys-color-on-secondary-container);fill:color-mix(in srgb,currentColor 18%,transparent)}
.world-bottom-nav button>span,.world-bottom-nav.has-meeting button>span{font:var(--md-sys-typescale-label-medium);letter-spacing:.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0 2px}
.world-bottom-nav button.selected>span{font-weight:700;color:var(--md-sys-color-on-surface)}
.world-bottom-nav i{all:unset;position:absolute;top:12px;left:calc(50% + 6px);z-index:2;min-width:16px;height:16px;padding:0 4px;box-sizing:border-box;border-radius:var(--md-sys-shape-corner-full);
  background:var(--md-sys-color-tertiary);color:var(--md-sys-color-on-tertiary);font:var(--md-sys-typescale-label-small);line-height:calc(16px * var(--restore-text-scale,1));text-align:center}
.world-app[data-screen=habitat] .world-bottom-nav,.world-app[data-screen=story] .world-bottom-nav,.world-app[data-screen=meeting] .world-bottom-nav,.world-app[data-screen=puzzle] .world-bottom-nav{display:none}
/* Expanded windows (≥ 840dp): the navigation bar becomes a navigation rail on the leading edge,
   as NavigationSuiteScaffold does on Android (M3 Expressive collapsed rail: 96dp, 56×32 indicator). */
@media (min-width:840px) and (min-height:480px){
  .world-bottom-nav,.world-bottom-nav.has-meeting{top:0;bottom:0;right:auto;width:96px;height:auto;padding:calc(var(--safe-top) + 88px) 0 var(--safe-bottom);
    grid-auto-flow:row;grid-auto-rows:max-content;grid-auto-columns:auto;gap:12px;align-content:start;background:var(--md-sys-color-surface)}
  .world-bottom-nav button,.world-bottom-nav.has-meeting button,.world-bottom-nav button:nth-child(2).selected{height:auto;padding:0 0 4px;gap:4px}
  .world-bottom-nav button::before,.world-bottom-nav button::after{top:0;width:56px;margin-left:-28px}
  .world-bottom-nav button>svg{margin:4px 0}
  .world-bottom-nav button>span,.world-bottom-nav.has-meeting button>span{white-space:normal;text-align:center;max-width:88px;line-height:calc(16px * var(--restore-text-scale,1))}
  .world-bottom-nav i{top:0;left:calc(50% + 4px)}
  .world-app:is([data-screen=home],[data-screen=map],[data-screen=collection],[data-screen=dashboard]){max-width:calc(1180px + 96px);padding-left:calc(96px + var(--md-margin));padding-bottom:32px}
  .save-notice{bottom:24px}
}

/* ---------- 5. Buttons ------------------------------------------------------------------------ */
/* Filled (primary) — medium size (56dp) for the main call to action on each screen. */
.world-primary,.world-secondary,.story-primary,.next-friend-button{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:56px;padding:0 24px;border:0;border-radius:var(--md-sys-shape-corner-full);box-shadow:none;
  font:var(--md-sys-typescale-title-medium);letter-spacing:.15px;text-align:center;cursor:pointer;
  transition:box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard),border-radius var(--md-sys-motion-duration-medium1) var(--md-sys-motion-easing-standard)}
.world-primary,.story-primary{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}
.world-secondary{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.world-primary:hover,.story-primary:hover{background:var(--md-sys-color-primary);box-shadow:var(--md-sys-elevation-level1)}
.world-primary:active,.story-primary:active,.world-secondary:active{border-radius:var(--md-sys-shape-corner-medium)} /* expressive shape morph on press */
.world-primary:disabled,.story-primary:disabled{background:color-mix(in srgb,var(--md-sys-color-on-surface) 12%,transparent);color:color-mix(in srgb,var(--md-sys-color-on-surface) 38%,transparent);box-shadow:none}
.world-primary svg,.world-secondary svg,.story-primary svg{width:20px;height:20px;flex:none}
.continue-copy .world-primary,.world-empty .world-primary,.naming-card .world-primary,.player-name-dialog .world-primary{width:100%;min-height:56px;font:var(--md-sys-typescale-title-medium);justify-content:center}
.next-request .world-primary{min-height:48px;padding:0 20px;font:var(--md-sys-typescale-label-large)}

/* Tonal + outlined + text buttons */
.player-edit,.vibration-test,.tutorial-skip,.naming-skip,.naming-alternative,.map-progress-link,.world-back,.back-link,.scene-cancel{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border-radius:var(--md-sys-shape-corner-full);
  font:var(--md-sys-typescale-label-large);letter-spacing:.1px;cursor:pointer;position:relative;overflow:hidden;isolation:isolate}
.player-edit{width:100%;min-height:48px;justify-content:flex-start;padding:0 16px;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface);border:0;text-align:left;margin:4px 0}
.vibration-test{background:transparent;color:var(--md-sys-color-primary);border:1px solid var(--md-sys-color-outline);margin:4px 0 8px}
.tutorial-skip,.naming-skip,.naming-alternative,.map-progress-link,.world-back,.back-link,.scene-cancel{background:transparent;color:var(--md-sys-color-primary);border:0;padding:0 12px}
.world-back{margin-left:-12px}
.reset-progress-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:8px 0 4px;padding:0 16px;border-radius:var(--md-sys-shape-corner-full);
  background:transparent;color:var(--md-sys-color-error);border:1px solid var(--md-sys-color-outline-variant);font:var(--md-sys-typescale-label-large);cursor:pointer}

/* ---------- 6. Headings, overlines, supporting text ------------------------------------------ */
.world-heading{margin:8px 0 24px;gap:16px}
.world-heading h1{font:var(--md-sys-typescale-headline-medium);letter-spacing:-.2px;color:var(--md-sys-color-on-surface);margin:4px 0 8px;font-variation-settings:"SOFT" 80,"WONK" 0,"opsz" 60}
.world-heading p{font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface-variant);margin:0}
@media (min-width:840px){.world-heading h1{font:var(--md-sys-typescale-display-small)}}
.overline,.world-app .overline,.continue-copy .overline,.next-request .overline,.world-app[data-screen] .world-heading .overline,.world-app[data-screen=story] .world-puzzle .world-heading .overline,.naming-card .overline,.map-heading .overline,.map-detail .overline,.touch-puzzle .world-heading .overline{display:block;font:var(--md-sys-typescale-label-large);letter-spacing:.1px;text-transform:none;text-decoration:none;color:var(--md-sys-color-tertiary)}
.world-reassurance{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant);margin:24px 0;gap:8px}
.world-reassurance svg{color:var(--md-sys-color-primary);flex:none}

/* ---------- 7. Cards ------------------------------------------------------------------------ */
/* Story entry → filled card with a leading icon container */
.story-entry{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;gap:16px;width:100%;margin:0 0 24px;padding:16px;min-height:88px;text-align:left;
  background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);border:0;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:none}
.story-entry:disabled{opacity:1;background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant)}
.story-entry small{font:var(--md-sys-typescale-label-medium);letter-spacing:.5px}
.story-entry strong{font:var(--md-sys-typescale-title-large);color:inherit}
.story-entry span span{font:var(--md-sys-typescale-body-medium)}
.story-entry-icon{flex:none;display:grid;place-items:center;width:56px;height:56px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-tertiary)}
.story-entry:disabled .story-entry-icon{color:var(--md-sys-color-on-surface-variant)}
.story-entry>svg{color:inherit;opacity:.8}

/* Continue card → elevated hero card */
.continue-card{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:var(--md-sys-elevation-level1);overflow:hidden}
.continue-scene{border-radius:0}
.continue-copy{padding:20px 20px 24px}
.continue-copy h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface);margin:4px 0 8px}
.continue-copy p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant);margin:0 0 20px}
.continue-progress{display:grid;gap:8px;margin-top:16px}
.continue-progress span{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface-variant)}

/* Assist chip on artwork */
.scene-tag,.happy-badge{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px 0 8px;border-radius:var(--md-sys-shape-corner-small);
  background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface);border:0;font:var(--md-sys-typescale-label-large);backdrop-filter:none;box-shadow:var(--md-sys-elevation-level1)}
.scene-tag svg,.happy-badge svg{width:18px;height:18px;color:var(--md-sys-color-primary)}
.happy-badge{height:24px;padding:0 8px 0 6px;gap:4px;font:var(--md-sys-typescale-label-small);bottom:8px;right:8px;box-shadow:none;background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container)}
.happy-badge svg{width:14px;height:14px;color:inherit}

/* Summary tiles → outlined cards with a big number in the brand face */
.world-overview{gap:var(--md-gutter);margin:24px 0}
.world-overview button,.dashboard-summary>div{position:relative;overflow:hidden;isolation:isolate;display:grid;grid-template-columns:1fr;row-gap:4px;align-content:start;justify-items:start;
  padding:16px;min-height:112px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container);border:0;color:var(--md-sys-color-on-surface-variant);text-align:left}
.world-overview button>svg,.dashboard-summary>div>svg{width:24px;height:24px;margin:0 0 4px;color:var(--md-sys-color-primary)}
.world-overview button strong,.dashboard-summary strong{font:400 calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643)) / calc(36px * (1 + (var(--restore-text-scale,1) - 1) * 0.643)) var(--md-ref-typeface-brand);color:var(--md-sys-color-on-surface)}
.world-overview small,.dashboard-summary small{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.world-overview button>span,.dashboard-summary span{grid-column:1;margin:0;font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-on-surface-variant)}
.dashboard-summary{gap:var(--md-gutter)}

/* Companion cards (the Creature Book) */
.companion-grid{gap:12px}
@media (min-width:600px){.companion-grid{gap:16px}}
.companion-card{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-large);box-shadow:var(--md-sys-elevation-level1);position:relative;isolation:isolate;
  transition:box-shadow var(--md-sys-motion-duration-short4) var(--md-sys-motion-easing-standard)}
.companion-card:hover:not(:disabled){box-shadow:var(--md-sys-elevation-level2);border:0}
.companion-card.locked{background:var(--md-sys-color-surface-container);box-shadow:none}
.companion-portrait{border-radius:0}
.companion-card-copy{padding:12px 16px 16px;display:grid;gap:8px}
.companion-card h2{font:var(--md-sys-typescale-title-large);color:var(--md-sys-color-on-surface);margin:0 0 2px}
.companion-card-copy>div>span{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.companion-metrics{display:flex;flex-wrap:wrap;gap:4px 12px;font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface-variant)}
.companion-metrics span{display:inline-flex;align-items:center;gap:4px}
.companion-metrics svg{color:var(--md-sys-color-primary)}
.card-cta{display:inline-flex;align-items:center;gap:6px;font:var(--md-sys-typescale-label-large);color:var(--md-sys-color-primary);margin-top:2px}
.companion-card.locked .card-cta{color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-label-medium)}
.portrait-lock{display:grid;place-items:center;width:56px;height:56px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface-variant)}
.companion-card.ready .portrait-lock{color:var(--md-sys-color-tertiary);background:var(--md-sys-color-tertiary-container)}
.tutorial-keepsake{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-large);box-shadow:none;margin-bottom:16px;padding:8px 16px 8px 8px;gap:12px}
.tutorial-keepsake>svg{width:104px;height:104px;border-radius:var(--md-sys-shape-corner-medium);background:var(--md-sys-color-surface-container-high)}
.tutorial-keepsake svg.art-sprite{width:490px;height:420px} /* legacy `.tutorial-keepsake svg` also shrank the nested sprite */
.tutorial-keepsake h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface)}
.tutorial-keepsake p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}

/* Dashboard */
.world-completion{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-extra-large);padding:24px;margin:16px 0;box-shadow:none}
.world-completion h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface);margin:4px 0 20px}
.world-completion p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.dashboard-homes{gap:8px}
.dashboard-homes>button{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-large);padding:12px 16px 12px 8px;gap:12px;min-height:88px;color:var(--md-sys-color-on-surface-variant);position:relative;overflow:hidden;isolation:isolate}
.dashboard-homes h3{font:var(--md-sys-typescale-title-medium);color:var(--md-sys-color-on-surface);font-family:var(--md-ref-typeface-plain)}
.dashboard-homes span{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.world-empty{background:var(--md-sys-color-surface-container-low);border-radius:var(--md-sys-shape-corner-extra-large);border:0;color:var(--md-sys-color-on-surface-variant)}
.world-empty h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface)}
.world-empty svg{color:var(--md-sys-color-tertiary)}

/* ---------- 8. Linear progress indicator (M3 2024: track gap + stop indicator) ------------- */
[data-slot=progress],.world-app [data-slot=progress],.dashboard-homes [data-slot=progress]{height:4px;border-radius:var(--md-sys-shape-corner-full);background:transparent;overflow:visible;position:relative}
[data-slot=progress]::before{content:"";position:absolute;inset:0 0 0 calc(var(--pv,0%) + 4px);border-radius:inherit;background:var(--md-sys-color-secondary-container)}
[data-slot=progress]::after{content:"";position:absolute;right:0;top:0;width:4px;height:4px;border-radius:50%;background:var(--md-sys-color-primary)}
[data-slot=progress][data-state=complete]::before,[data-slot=progress][data-state=complete]::after{display:none}
[data-slot=progress]>[data-slot=progress-indicator],.world-app [data-slot=progress-indicator]{position:absolute;inset:0;width:var(--pv,0%);transform:none!important;border-radius:inherit;background:var(--md-sys-color-primary);
  transition:width var(--md-sys-motion-duration-long2) var(--md-sys-motion-easing-emphasized)}

/* ---------- 9. Switch (M3 anatomy: 52×32 track, 16→24dp handle, check icon) ---------------- */
[data-slot=switch]{all:unset;box-sizing:border-box;position:relative;flex:none;width:52px;height:32px;border-radius:var(--md-sys-shape-corner-full);cursor:pointer;
  background:var(--md-sys-color-surface-container-highest);border:2px solid var(--md-sys-color-outline);transition:background-color var(--md-sys-motion-duration-short4) linear,border-color var(--md-sys-motion-duration-short4) linear}
[data-slot=switch][data-state=checked]{background:var(--md-sys-color-primary);border-color:var(--md-sys-color-primary)}
[data-slot=switch-thumb]{position:absolute;top:50%;left:6px;width:16px;height:16px;margin-top:-8px;border-radius:50%;background:var(--md-sys-color-outline);transform:none!important;translate:none!important;
  transition:left var(--md-sys-motion-duration-medium2) var(--md-sys-motion-spring-fast-spatial),width var(--md-sys-motion-duration-short4),height var(--md-sys-motion-duration-short4),margin var(--md-sys-motion-duration-short4),background-color var(--md-sys-motion-duration-short4)}
[data-slot=switch][data-state=checked] [data-slot=switch-thumb]{left:22px;width:24px;height:24px;margin-top:-12px;background:var(--md-sys-color-on-primary)}
[data-slot=switch][data-state=checked] [data-slot=switch-thumb]::after{content:"";position:absolute;inset:6px;background:var(--md-sys-color-on-primary-container);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat}
[data-slot=switch]:active [data-slot=switch-thumb]{width:28px;height:28px;margin-top:-14px;left:2px}
[data-slot=switch][data-state=checked]:active [data-slot=switch-thumb]{left:20px}
[data-slot=switch]:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px}

/* ---------- 10. Dialogs, full-screen dialogs, scrim ----------------------------------------- */
[data-slot=dialog-overlay],[data-slot=alert-dialog-overlay]{background:color-mix(in srgb,var(--md-sys-color-scrim) 32%,transparent)!important;backdrop-filter:none!important}
[data-slot=dialog-content],[data-slot=alert-dialog-content]{background:var(--md-sys-color-surface-container-high)!important;color:var(--md-sys-color-on-surface);border:0!important;
  border-radius:var(--md-sys-shape-corner-extra-large)!important;box-shadow:var(--md-sys-elevation-level3)!important;padding:24px!important;
  width:min(560px,calc(100vw - 48px))!important;max-width:min(560px,calc(100vw - 48px))!important;min-width:min(280px,calc(100vw - 48px))}
[data-slot=dialog-title],[data-slot=alert-dialog-title]{font:var(--md-sys-typescale-headline-small)!important;color:var(--md-sys-color-on-surface)!important;margin:0 0 16px}
[data-slot=dialog-description],[data-slot=alert-dialog-description]{font:var(--md-sys-typescale-body-medium)!important;color:var(--md-sys-color-on-surface-variant)!important}
[data-slot=alert-dialog-footer]{display:flex!important;flex-direction:row!important;justify-content:flex-end!important;gap:8px!important;margin-top:24px}
[data-slot=alert-dialog-cancel],[data-slot=alert-dialog-action]{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 12px;border-radius:var(--md-sys-shape-corner-full);
  font:var(--md-sys-typescale-label-large);letter-spacing:.1px;cursor:pointer;color:var(--md-sys-color-primary);position:relative;overflow:hidden;isolation:isolate}
[data-slot=alert-dialog-action][data-variant=destructive],.world-reset-confirm [data-slot=alert-dialog-action]{color:var(--md-sys-color-error)}
[data-slot=alert-dialog-cancel]:focus-visible,[data-slot=alert-dialog-action]:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:1px}
[data-slot=dialog-close]{width:48px;height:48px;display:grid;place-items:center;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-on-surface-variant);opacity:1}
[data-slot=dialog-content]{animation:md-dialog-in var(--md-sys-motion-duration-medium4) var(--md-sys-motion-easing-emphasized-decelerate) both}
@keyframes md-dialog-in{from{opacity:0;scale:.92}to{opacity:1;scale:1}}
[data-slot=dialog-close] svg{width:24px!important;height:24px!important}
.world-reset-confirm{text-align:left}
.world-reset-confirm p[role=alert]{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-error)}

/* Settings → full-screen dialog on compact windows, basic dialog from medium upward */
.world-settings{display:flex!important;flex-direction:column;gap:0}
.world-settings [data-slot=dialog-title]{font:var(--md-sys-typescale-headline-small)!important}
.world-settings [data-slot=dialog-description]{margin-bottom:8px}
.settings-help{margin:8px 0 16px;padding:4px 16px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container)}
.settings-help p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant);margin:12px 0}
.settings-help b{color:var(--md-sys-color-on-surface);font-weight:600}
.world-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:8px 0;border-top:1px solid var(--md-sys-color-outline-variant)}
.world-setting label{font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface)}
.world-setting label>span{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant);margin-top:2px}
.world-settings>p[role=status]{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);margin:0 0 8px}
.local-save-note{font:var(--md-sys-typescale-body-small)!important;color:var(--md-sys-color-on-surface-variant)!important;text-align:center;margin:8px 0 0!important}
@media (max-width:599px){
  [data-slot=dialog-content].world-settings{inset:0!important;transform:none!important;translate:none!important;width:100vw!important;max-width:100vw!important;height:100dvh;max-height:100dvh!important;border-radius:0!important;
    box-shadow:none!important;padding:calc(var(--safe-top) + 8px) var(--md-margin) calc(var(--safe-bottom) + 24px)!important;background:var(--md-sys-color-surface)!important;overflow-y:auto;
    animation:md-fullscreen-in var(--md-sys-motion-duration-long2) var(--md-sys-motion-easing-emphasized-decelerate) both}
  .world-settings [data-slot=dialog-title]{min-height:56px;display:flex;align-items:center;padding-right:48px;margin:0 0 4px!important;font:var(--md-sys-typescale-title-large)!important}
  .world-settings [data-slot=dialog-title]{padding:0 0 0 48px}
  .world-settings [data-slot=dialog-close]{position:fixed!important;top:calc(var(--safe-top) + 8px)!important;left:4px!important;right:auto!important}
}
@keyframes md-fullscreen-in{from{opacity:0;transform:translateY(8%)}to{opacity:1;transform:none}}

/* Snackbar */
.save-notice,.world-app[data-screen=habitat] .save-notice{position:fixed;left:var(--md-margin);right:var(--md-margin);bottom:calc(var(--md-nav-bar-height) + var(--safe-bottom) + 12px);top:auto;z-index:60;margin:0;
  min-height:48px;padding:14px 16px;border:0;border-radius:var(--md-sys-shape-corner-extra-small);background:var(--md-sys-color-inverse-surface);color:var(--md-sys-color-inverse-on-surface);
  font:var(--md-sys-typescale-body-medium);box-shadow:var(--md-sys-elevation-level3);max-width:560px;margin-inline:auto;
  animation:md-fade var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized-decelerate) both}

/* ---------- 11. Text fields (outlined) ------------------------------------------------------ */
.world-app input[type=text],.world-app input:not([type]),.tutorial-app input,[data-slot=dialog-content] input:not([type=range]):not([type=checkbox]){
  box-sizing:border-box;width:100%;min-height:56px;padding:16px;border-radius:var(--md-sys-shape-corner-extra-small);border:1px solid var(--md-sys-color-outline);
  background:transparent;color:var(--md-sys-color-on-surface);font:var(--md-sys-typescale-body-large);caret-color:var(--md-sys-color-primary);outline:none;box-shadow:none;
  transition:border-color var(--md-sys-motion-duration-short3) linear}
.world-app input::placeholder,.tutorial-app input::placeholder,[data-slot=dialog-content] input::placeholder{color:var(--md-sys-color-on-surface-variant);opacity:1}
.world-app input:hover,.tutorial-app input:hover{border-color:var(--md-sys-color-on-surface)}
.world-app input:focus,.tutorial-app input:focus,[data-slot=dialog-content] input:focus{border:2px solid var(--md-sys-color-primary);padding:15px}
.name-error input,input[aria-invalid=true]{border-color:var(--md-sys-color-error)!important;caret-color:var(--md-sys-color-error)}
.name-detail{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);padding:4px 16px 0}
.name-error{color:var(--md-sys-color-error)}

/* ---------- 12. Loading ----------------------------------------------------------------------- */
.world-loading{min-height:100svh;display:grid;place-content:center;justify-items:center;gap:24px;background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-body-medium)}
.world-loading .world-logo{font-size:calc(40px * (1 + (var(--restore-text-scale,1) - 1) * 0.45))}
.world-loading::after{content:"";width:48px;height:48px;background:var(--md-sys-color-primary);
  animation:md-loading-morph 1.4s var(--md-sys-motion-easing-emphasized) infinite;border-radius:42% 58% 50% 50%/50% 42% 58% 50%}
@keyframes md-loading-morph{0%{border-radius:50%;transform:rotate(0) scale(.8)}33%{border-radius:30% 70% 60% 40%/40% 30% 70% 60%;transform:rotate(120deg) scale(1)}
  66%{border-radius:20%;transform:rotate(240deg) scale(.9)}100%{border-radius:50%;transform:rotate(360deg) scale(.8)}}

/* ---------- 13. Reduced motion ------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  .world-content,[data-slot=dialog-content],.save-notice{animation-duration:1ms!important}
  .md-ripple{display:none}
  .world-loading::after{animation-duration:4s}
}:where(:root[data-system-reduced-motion]) .world-content,:where(:root[data-system-reduced-motion]) [data-slot=dialog-content],:where(:root[data-system-reduced-motion]) .save-notice{animation-duration:1ms!important}:where(:root[data-system-reduced-motion]) .md-ripple{display:none}:where(:root[data-system-reduced-motion]) .world-loading::after{animation-duration:4s}
.reduced-motion .world-content,.reduced-motion .md-ripple{animation:none!important}

/* ---------- 14. Puzzle screen ------------------------------------------------------------ */
.world-nav-back{margin-left:-12px}
.world-app[data-screen=puzzle] .world-topbar{justify-content:flex-start;padding-left:var(--md-margin)}
.world-app[data-screen=puzzle] .world-top-actions{margin-left:auto}
.world-app[data-screen=puzzle] .world-brand .world-logo{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}
.world-app[data-screen=puzzle] .world-puzzle{margin:0 auto;max-width:720px}
.world-app[data-screen=puzzle] .world-puzzle>.world-back{display:none}
.world-app[data-screen=puzzle]{padding-bottom:calc(8px + var(--safe-bottom))}
.world-app[data-screen=puzzle] .world-heading{margin:4px 0 0}
.world-app[data-screen=puzzle] .world-heading h1{font:var(--md-sys-typescale-headline-small);margin:2px 0 0}
.puzzle-progress,.world-app[data-screen=puzzle] .puzzle-progress{gap:12px;margin:12px 0}
.puzzle-progress>span{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface-variant)}
.section-progress{gap:2px;margin:0 0 8px;color:var(--md-sys-color-on-surface)}
.section-progress>span{font:var(--md-sys-typescale-title-small);letter-spacing:.1px;color:var(--md-sys-color-on-surface)}
.section-progress small{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.world-puzzle .puzzle-stage,.world-app[data-screen=puzzle] .puzzle-stage{background:var(--md-sys-color-surface-container-lowest);border:0;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:none;margin:0;
  outline:1px solid var(--md-sys-color-outline-variant);outline-offset:-1px}
@media (max-width:560px){.world-puzzle .puzzle-stage{margin-left:0;margin-right:0}}
.world-puzzle .canvas-halo{background:radial-gradient(circle,var(--md-sys-color-surface-container-low) 0%,transparent 68%);border:0}
.world-puzzle-tools,.touch-puzzle .world-puzzle-tools,.world-app[data-screen=puzzle] .world-puzzle-tools{border:0;gap:8px;padding:8px 0 0;justify-content:center}
.world-puzzle-tools button,.world-app[data-screen=puzzle] .world-puzzle-tools button,.touch-puzzle .world-puzzle-tools button{min-width:0;min-height:40px;padding:0 16px 0 12px;gap:8px;border-radius:var(--md-sys-shape-corner-full);
  background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface)!important;font:var(--md-sys-typescale-label-large);border:0;position:relative;overflow:hidden;isolation:isolate}
.world-puzzle-tools button svg{width:18px;height:18px}
.world-puzzle-tools button.help-tool{background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container)!important}
.world-puzzle-tools button:disabled{background:color-mix(in srgb,var(--md-sys-color-on-surface) 8%,transparent);color:color-mix(in srgb,var(--md-sys-color-on-surface) 38%,transparent)!important;opacity:1}
.puzzle-message,.world-app[data-screen=puzzle] .puzzle-message{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface);text-align:center;margin:8px 0 0}
.puzzle-help-note,.world-app[data-screen=puzzle] .puzzle-help-note{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);text-align:center;margin:2px 0 0}
/* Turn controls: tonal icon buttons + M3 slider (16dp active track, 4dp handle with gaps) */
.turn-controls{gap:12px}
.turn-controls button{width:48px;height:48px;border:0;border-radius:var(--md-sys-shape-corner-full);background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.turn-controls button svg{width:24px;height:24px}
.turn-controls input[type=range],.world-app input[type=range]{-webkit-appearance:none;appearance:none;height:44px;background:transparent;accent-color:var(--md-sys-color-primary);--v:50%}
input[type=range]::-webkit-slider-runnable-track{height:16px;border-radius:var(--md-sys-shape-corner-full);
  background:linear-gradient(to right,var(--md-sys-color-primary) 0 calc(var(--v) - 6px),transparent calc(var(--v) - 6px) calc(var(--v) + 6px),var(--md-sys-color-secondary-container) calc(var(--v) + 6px))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:4px;height:44px;margin-top:-14px;border-radius:2px;background:var(--md-sys-color-primary);border:0}
input[type=range]::-moz-range-track{height:16px;border-radius:9999px;background:var(--md-sys-color-secondary-container)}
input[type=range]::-moz-range-progress{height:16px;border-radius:9999px;background:var(--md-sys-color-primary)}
input[type=range]::-moz-range-thumb{width:4px;height:44px;border-radius:2px;background:var(--md-sys-color-primary);border:0}
input[type=range]:active::-webkit-slider-thumb{width:2px}
.turn-check{font:var(--md-sys-typescale-label-large);color:var(--md-sys-color-primary)}
.turn-section h3,.turn-section strong{font:var(--md-sys-typescale-title-medium);color:var(--md-sys-color-on-surface)}

/* ---------- 15. Habitat (immersive 3D home) ------------------------------------------------ */
/* Header card floats over the scene: surface-container-low + level 2 shadow (busy content below). */
.habitat-hud,.habitat-immersive:is(.species-cat,.species-hummingbird) .habitat-hud{top:12px;left:12px;right:12px;max-width:600px;padding:4px 8px 12px 4px;border:0;border-radius:var(--md-sys-shape-corner-extra-large);
  background:var(--md-sys-color-surface-container-low);backdrop-filter:none;box-shadow:var(--md-sys-elevation-level2);color:var(--md-sys-color-on-surface)}
@media (min-width:850px){.habitat-hud{width:360px;left:24px;right:auto;top:24px}}
.habitat-heading-row{gap:4px}
.scene-back{width:48px;height:48px;padding:0;border:0;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-on-surface);position:relative}
.scene-back::before{content:"";position:absolute;inset:4px;border-radius:inherit;background:currentColor;opacity:0;transition:opacity var(--md-sys-motion-duration-short3)}
.scene-back:active::before{opacity:var(--md-sys-state-pressed)}
.scene-back svg{width:24px;height:24px;position:relative}
.habitat-heading-row>div>span{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;text-transform:none;color:var(--md-sys-color-tertiary)}
.habitat-heading-row h1{font:var(--md-sys-typescale-title-large);font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));line-height:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.81));color:var(--md-sys-color-on-surface);gap:0;margin:0}
.habitat-heading-row h1 button{width:40px;height:40px;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-on-surface-variant)}
.habitat-heading-row h1 button svg{width:18px;height:18px}
.scene-bond{height:32px;padding:0 12px 0 8px;gap:6px;border-radius:var(--md-sys-shape-corner-small);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);font:var(--md-sys-typescale-label-large)}
.scene-bond svg{width:18px;height:18px;fill:currentColor}
.scene-bond b{font:inherit}
.scene-comfort{margin:4px 4px 0 16px;gap:12px;font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-on-surface-variant)}
.scene-comfort>div{height:4px;border-radius:var(--md-sys-shape-corner-full);background:var(--md-sys-color-secondary-container);overflow:hidden}
.scene-comfort i{background:var(--md-sys-color-primary);border-radius:inherit;transition:width var(--md-sys-motion-duration-long2) var(--md-sys-motion-easing-emphasized)}
.scene-comfort b{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface)}

/* Hint → plain tooltip-style chip; appears under the header card */
.scene-status,.habitat-immersive .scene-status,.habitat-immersive:is(.species-cat,.species-hummingbird) .scene-status{top:auto;position:absolute;left:50%;right:auto;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);
  top:calc(12px + var(--hud-h,112px) + 12px);min-height:32px;padding:6px 12px;border-radius:var(--md-sys-shape-corner-small);background:var(--md-sys-color-inverse-surface);color:var(--md-sys-color-inverse-on-surface);
  font:var(--md-sys-typescale-body-medium);text-shadow:none;letter-spacing:0;box-shadow:var(--md-sys-elevation-level1);opacity:.94}
.scene-status.is-content{color:var(--md-sys-color-inverse-on-surface);background:color-mix(in srgb,var(--md-sys-color-inverse-surface) 92%,#8a2d4a);font-weight:500}
.scene-status svg{color:#ffb1c1;fill:currentColor}
@media (min-width:850px){.scene-status{left:24px;transform:none}}

/* Speech bubbles */
.animal-conversation{top:calc(12px + var(--hud-h,112px) + 56px);left:16px;right:16px}
.conversation-line{background:var(--md-sys-color-surface-container-lowest);border:0;border-radius:var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-extra-small);
  padding:10px 14px 12px;box-shadow:var(--md-sys-elevation-level2);color:var(--md-sys-color-on-surface);animation:md-bubble var(--md-sys-motion-duration-medium4) var(--md-sys-motion-spring-fast-spatial) both;transform-origin:0 100%}
@keyframes md-bubble{from{opacity:0;transform:scale(.85) translateY(6px)}to{opacity:1;transform:none}}
.conversation-line>span{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-primary)}
.conversation-line>span svg:last-child{color:var(--md-sys-color-tertiary)}
.conversation-line p{font:var(--md-sys-typescale-body-medium);font-size:calc(15px * var(--restore-text-scale,1));line-height:calc(21px * var(--restore-text-scale,1));margin:2px 0 0;color:var(--md-sys-color-on-surface)}
.conversation-concern .conversation-line{background:var(--md-sys-color-surface-container-lowest);box-shadow:var(--md-sys-elevation-level2),inset 3px 0 0 var(--md-sys-color-tertiary)}

/* Dock → standard bottom sheet anchored to the bottom edge */
.scene-dock,.habitat-immersive:has(.next-animal-primary) .scene-dock{left:0;right:0;bottom:0;max-width:640px;margin:0 auto;padding:22px 16px calc(12px + var(--safe-bottom));
  background:var(--md-sys-color-surface-container-low);border-radius:var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large) 0 0;box-shadow:var(--md-sys-elevation-level1);display:flex;flex-direction:column;gap:8px}
.scene-dock::before{content:"";position:absolute;top:8px;left:50%;width:32px;height:4px;margin-left:-16px;border-radius:2px;background:var(--md-sys-color-on-surface-variant);opacity:.4}
@media (min-width:640px){.scene-dock{bottom:12px;border-radius:var(--md-sys-shape-corner-extra-large)}}
/* Food offer → list item with leading image and trailing tonal icon button */
.food-offer,.habitat-immersive:is(.species-cat,.species-hummingbird) .food-offer,.habitat-immersive .food-offer{min-height:72px;padding:8px 8px 8px 8px;gap:16px;border:0;border-radius:var(--md-sys-shape-corner-large);
  background:var(--md-sys-color-surface-container-lowest);backdrop-filter:none;box-shadow:none;color:var(--md-sys-color-on-surface)}
.food-preview,.habitat-immersive .food-preview{width:56px;height:56px;border-radius:var(--md-sys-shape-corner-medium);background:var(--md-sys-color-tertiary-container)}
.food-offer small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-tertiary)}
.food-offer strong{font:var(--md-sys-typescale-body-large);font-weight:600;color:var(--md-sys-color-on-surface)}
.food-offer em{font:var(--md-sys-typescale-body-small);font-style:normal;color:var(--md-sys-color-on-surface-variant)}
.food-offer-action{width:40px;height:40px;background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.food-offer-action svg{width:20px;height:20px}
/* Comfort tray → four small filled cards with a status badge */
.comfort-tray{gap:8px;margin:0}
.comfort-tray button,.habitat-immersive:is(.species-cat,.species-hummingbird) .comfort-tray button{padding:6px 4px 8px;border:0;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-high);backdrop-filter:none;box-shadow:none;color:var(--md-sys-color-on-surface-variant);overflow:hidden;isolation:isolate}
.comfort-tray button>svg{height:44px}
.comfort-tray button>span{font:var(--md-sys-typescale-label-small);letter-spacing:.2px;min-height:auto;color:var(--md-sys-color-on-surface)}
.comfort-tray button>i{top:4px;right:4px;width:18px;height:18px;background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-label-medium)}
.comfort-tray button.done>i{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}
.comfort-tray button.done>i svg{width:12px;height:12px}
.comfort-tray button.selected{box-shadow:inset 0 0 0 2px var(--md-sys-color-primary);background:var(--md-sys-color-secondary-container)}
.habitat-progress-actions{gap:8px;margin:0}
/* "Next animal" → extended FAB (primary container, large shape) */
.next-animal-primary{min-height:64px;padding:8px 16px 8px 20px;gap:16px;border:0;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);box-shadow:var(--md-sys-elevation-level1);position:relative;overflow:hidden;isolation:isolate}
.next-animal-primary small{font:var(--md-sys-typescale-label-medium);letter-spacing:.4px;color:var(--md-sys-color-primary-fixed-dim)}
.next-animal-primary strong{font:var(--md-sys-typescale-title-large);color:inherit}
.next-animal-primary svg{flex:none}
.meeting-world-secondary{min-height:48px;padding:0 16px 0 20px;border:0;border-radius:var(--md-sys-shape-corner-full);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);font:var(--md-sys-typescale-label-large)}
.scene-world-link,.species-hummingbird .scene-world-link,.species-owl .scene-world-link{min-height:40px;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-primary);text-shadow:none;font:var(--md-sys-typescale-label-large)}
.scene-placement{padding:8px 8px 8px 16px;gap:8px;border:0;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-lowest)}
.scene-placement span{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-tertiary)}
.scene-placement strong{font:var(--md-sys-typescale-title-medium);color:var(--md-sys-color-on-surface)}
.scene-placement .world-primary{min-height:40px;padding:0 16px;border-radius:var(--md-sys-shape-corner-full);font:var(--md-sys-typescale-label-large)}
.world-app[data-screen=habitat] .save-notice{bottom:calc(220px + var(--safe-bottom))}

/* ---------- 16. World map -------------------------------------------------------------------- */
.map-heading{margin:8px 0 16px;gap:12px}
.map-heading h1{font:var(--md-sys-typescale-headline-medium);color:var(--md-sys-color-on-surface);letter-spacing:-.2px;margin:4px 0}
.map-heading p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.meeting-map-region{border:0;border-radius:var(--md-sys-shape-corner-extra-large);margin:0 0 16px;box-shadow:var(--md-sys-elevation-level1);color:#fff8ec}
.meeting-map-region small,.meeting-region-copy small,.meeting-region-copy>span:first-child{font:var(--md-sys-typescale-label-medium);letter-spacing:.4px}
.meeting-region-copy strong,.meeting-region-copy h2{font:var(--md-sys-typescale-headline-small)}
.meeting-region-copy p,.meeting-region-copy span{font:var(--md-sys-typescale-body-medium)}
.meeting-region-icon{width:56px;height:56px;border-radius:var(--md-sys-shape-corner-large);background:rgb(255 255 255/.16);border:0;display:grid;place-items:center;flex:none}
.meeting-map-region.locked{filter:saturate(.55)}
.meeting-map-region.locked>img{filter:blur(2px);opacity:.7}
.map-board{border:0;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:none}
@media (max-width:560px){.map-board{margin-left:0;margin-right:0}}
.region-label{font:500 calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643))/1.2 var(--md-ref-typeface-brand);font-variation-settings:"SOFT" 100,"opsz" 36}
@media (max-width:560px){.region-label{font-size:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6))}}
.map-detail{border:0;border-radius:var(--md-sys-shape-corner-extra-large);background:var(--md-sys-color-surface-container-low);backdrop-filter:none;box-shadow:var(--md-sys-elevation-level2);padding:20px;gap:16px;left:12px;right:12px;bottom:12px}
.map-detail h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface);margin:4px 0}
.map-detail p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.map-detail .world-primary{min-height:48px;font:var(--md-sys-typescale-label-large);padding:0 20px}
@media (max-width:560px){.map-detail .world-primary{min-height:48px}}
.map-bottom{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);margin:12px 0}
.map-bottom>button{min-height:48px;color:var(--md-sys-color-primary);font:var(--md-sys-typescale-label-large)}
.map-heading>button,.map-heading .map-progress-link{display:inline-flex;flex-direction:column;align-items:center;gap:4px;min-width:64px;min-height:56px;padding:4px 8px;border-radius:var(--md-sys-shape-corner-large);
  color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-label-medium);background:none;border:0}
.map-heading>button svg{width:24px;height:24px;color:var(--md-sys-color-primary)}

/* ---------- 17. Story (Meeting World) ------------------------------------------------------- */
.story-heading{top:12px;left:12px;right:12px;gap:8px}
.story-heading>div{background:var(--md-sys-color-surface-container-low);backdrop-filter:none;border-radius:var(--md-sys-shape-corner-extra-large);padding:10px 16px 12px;box-shadow:var(--md-sys-elevation-level2);max-width:520px}
.story-heading span{font:var(--md-sys-typescale-label-medium);letter-spacing:.4px;color:var(--md-sys-color-tertiary)}
.story-heading h1{font:var(--md-sys-typescale-title-large);font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));line-height:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.81));color:var(--md-sys-color-on-surface);margin:2px 0 0}
.story-back,.arrival-back{width:48px;height:48px;border:0;border-radius:var(--md-sys-shape-corner-full);background:var(--md-sys-color-surface-container-low);backdrop-filter:none;color:var(--md-sys-color-on-surface);box-shadow:var(--md-sys-elevation-level2);flex:none}
.story-back svg{width:22px;height:22px}
.story-dialogue,.story-stage .story-words .story-dialogue{background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-on-surface);border-radius:var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-small);
  font:400 calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947)) / calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.947)) var(--md-ref-typeface-brand);font-variation-settings:"SOFT" 100,"opsz" 24;padding:12px 18px;box-shadow:var(--md-sys-elevation-level2)}
.unwell-status,.story-words .unwell-status{background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);border:0;border-radius:var(--md-sys-shape-corner-small);font:var(--md-sys-typescale-label-large);padding:6px 12px;box-shadow:var(--md-sys-elevation-level1)}
/* Footer → bottom sheet-like surface for the beat's action */
.story-footer,.story-stage .story-footer{background:var(--md-sys-color-surface-container-low);border-radius:var(--md-sys-shape-corner-extra-large) var(--md-sys-shape-corner-extra-large) 0 0;box-shadow:var(--md-sys-elevation-level1);
  padding:16px 16px calc(8px + var(--safe-bottom));gap:10px;max-width:640px;margin:0 auto}
@media (min-width:640px){.story-footer,.story-stage .story-footer{bottom:12px;border-radius:var(--md-sys-shape-corner-extra-large)}}
.story-footer>p{font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface);min-height:24px}
.story-observe{color:var(--md-sys-color-on-surface-variant)!important;font-style:normal}
.story-primary{width:100%;max-width:420px}
.story-footer-meta{max-width:420px;font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.story-footer-meta button{min-height:40px;padding:0 12px;margin-right:-12px;border-radius:var(--md-sys-shape-corner-full);color:var(--md-sys-color-primary);text-decoration:none;font:var(--md-sys-typescale-label-large)}
.story-footer-meta button[aria-pressed=true]{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.story-progress-dots{gap:6px}
.story-progress-dots i{width:24px;height:4px;border-radius:2px;background:var(--md-sys-color-secondary-container)}
.story-progress-dots i.lit{background:var(--md-sys-color-primary)}
.arrival-footer .story-primary{background:var(--md-sys-color-primary-container);color:var(--md-sys-color-on-primary-container);border:0}
.arrival-title small,.arrival-title span{font:var(--md-sys-typescale-label-medium);letter-spacing:.4px}
.arrival-title h1,.arrival-title strong{font:var(--md-sys-typescale-headline-medium)}

/* ---------- 18. Tutorial, naming, player name --------------------------------------------- */
.skunk-tutorial h1,.tutorial-copy h1,.tutorial-copy h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface);letter-spacing:-.1px}
.tutorial-copy p{font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface-variant)}
.tutorial-copy label,.skunk-tutorial label{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.tutorial-feedback{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.tutorial-footer small{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-tertiary);letter-spacing:.3px}
.skunk-tutorial .world-primary{width:100%}
.naming-card{background:var(--md-sys-color-surface-container-low);border:0;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:var(--md-sys-elevation-level1)}
.naming-card h2{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface)}
.naming-card p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.suggested-name{font:var(--md-sys-typescale-headline-medium)!important;color:var(--md-sys-color-primary)}
.player-name-dialog h2{font:var(--md-sys-typescale-headline-small)}
.player-name-dialog p{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant)}
.skunk-tutorial>header{min-height:64px;margin:0 0 4px;padding-top:var(--safe-top)}
.skunk-tutorial>header>span{font:500 calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))/1 var(--md-ref-typeface-brand);font-variation-settings:"SOFT" 100,"WONK" 1,"opsz" 72;letter-spacing:-.5px;color:var(--md-sys-color-on-surface)}
.skunk-tutorial>header>small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-tertiary)}
.skunk-tutorial{background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface)}
.tutorial-app{background:var(--md-sys-color-surface)}

/* ---------- 19. Picture puzzle (restore the animal in a painting; object puzzles) ------------ */
/* Column layout that fills the window below the top app bar: nothing essential needs scrolling. */
.world-app[data-screen=puzzle]:has(.picture-puzzle){max-width:1180px}
.picture-puzzle{--pp-gap:8px;display:flex;flex-direction:column;gap:var(--pp-gap);margin:0 auto;width:100%;max-width:720px;padding:4px 0 0;
  height:calc(100svh - var(--md-top-app-bar-height) - var(--safe-top) - var(--safe-bottom) - 12px);min-height:400px;box-sizing:border-box}
.picture-head{flex:none}
.picture-head .overline{display:block;font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-tertiary);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picture-head h1{font:var(--md-sys-typescale-headline-small);color:var(--md-sys-color-on-surface);margin:2px 0 0;letter-spacing:0}
.picture-status{flex:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;row-gap:8px;
  padding:8px 14px 10px 8px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-low)}
.picture-inset{grid-row:1;width:48px;height:48px;border-radius:var(--md-sys-shape-corner-medium);display:block;
  box-shadow:0 0 0 1px var(--md-sys-color-outline-variant)}
.picture-status-text{min-width:0;display:flex;flex-direction:column;gap:1px}
.picture-status-text strong{font:var(--md-sys-typescale-title-small);color:var(--md-sys-color-on-surface);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picture-status-text small{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.picture-count{font:var(--md-sys-typescale-title-large);color:var(--md-sys-color-on-surface);font-variant-numeric:tabular-nums}
.picture-count small{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface-variant);margin-left:1px}
.picture-status .picture-progress{grid-column:1/-1}
/* The stage: a dark gallery wall (media surface) holding the framed painting; objects sit on warm paper. */
.picture-stage{position:relative;flex:1 1 auto;min-height:0;border-radius:var(--md-sys-shape-corner-extra-large);overflow:hidden;isolation:isolate;
  background:#262119;box-shadow:var(--md-sys-elevation-level1)}
.picture-stage.object{background:var(--md-sys-color-surface-container-low);box-shadow:inset 0 0 0 1px var(--md-sys-color-outline-variant)}
.picture-canvas,.picture-svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.picture-svg{touch-action:none;user-select:none;-webkit-user-select:none;overflow:hidden}
.picture-error{position:absolute;inset:auto 16px 16px;margin:0;padding:12px 16px;border-radius:var(--md-sys-shape-corner-small);
  background:var(--md-sys-color-inverse-surface);color:var(--md-sys-color-inverse-on-surface);font:var(--md-sys-typescale-body-medium)}
.picture-foot{flex:none}
.picture-view-toggle{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;margin-bottom:8px;
  padding:8px 16px;border:1px solid var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-full);
  background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface);font:var(--md-sys-typescale-label-large);cursor:pointer}
.picture-view-toggle:disabled{opacity:.45;cursor:default}
.picture-view-toggle:focus-visible{outline:3px solid var(--md-sys-color-primary);outline-offset:2px}
.picture-foot .world-puzzle-tools{padding:0}
.picture-foot .puzzle-message{height:40px;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden} /* fixed: messages never resize the stage */
/* Dots: cream ring + deep green core reads on dark and light paint alike. Sizes come from the frame (settings). */
.picture-dot{cursor:grab;outline:none;animation:pp-dot-in var(--md-sys-motion-duration-medium4) var(--md-sys-motion-easing-emphasized-decelerate) both;
  animation-delay:calc(var(--i,0) * 45ms)}
.picture-dot .dot-hit{fill:transparent;pointer-events:all}
.picture-dot .dot-halo{fill:rgb(255 248 230/.2);stroke:rgb(255 248 230/.55);stroke-width:1px;vector-effect:non-scaling-stroke;pointer-events:none}
.picture-dot .dot-core{fill:var(--md-sys-color-primary);stroke:#fff8ec;filter:drop-shadow(0 1px 2px rgb(0 0 0/.55));pointer-events:none}
.picture-dot .dot-pip{fill:#fff8ec;opacity:.85;pointer-events:none}
.picture-dot.major .dot-core{fill:#2b4e38}
.picture-dot.grabbed{cursor:grabbing}
.picture-dot.grabbed .dot-core{fill:#1f3a29}
.picture-dot.grabbed .dot-halo{fill:rgb(255 236 180/.28);stroke:#ffe7a8}
.picture-dot:focus-visible .dot-halo{stroke:var(--md-sys-color-tertiary-fixed-dim);stroke-width:3px}
.picture-dot.hinted .dot-halo{animation:pp-breathe 1.8s ease-in-out infinite}
@keyframes pp-dot-in{from{opacity:0}to{opacity:1}}
@keyframes pp-breathe{0%,100%{fill:rgb(255 248 230/.2)}50%{fill:rgb(255 226 150/.45)}}
/* The restored contour: a fine gilt line along the real painted edge, drawn in from each placed dot. */
.gilt-contours path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.restoration-curve{fill:none;stroke:#766b5b;stroke-linecap:round;stroke-linejoin:round}
.restoration-curve.active-curve{stroke:#355443;filter:drop-shadow(0 0 2px rgb(174 157 111/.35))}
.restoration-curve.context-curve{stroke:#8e8270;opacity:.68}
.classical-reward{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:calc(12px * var(--restore-text-scale,1));color:#625c50;flex:none;min-height:44px}
.classical-reward small{margin-left:8px;color:#777060}
.classical-reward button,.fragment-tools button,.music-audition button{min-height:44px;border:1px solid #a49a83;border-radius:14px;padding:7px 12px;background:#f5ecda;color:#354d40}
.fragment-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.fragment-tools strong{grid-column:1/-1;text-align:center;font-size:calc(14px * var(--restore-text-scale,1));line-height:calc(20px * var(--restore-text-scale,1));color:#354d40}
.fragment-tools button{display:flex;align-items:center;justify-content:center;gap:12px;min-height:64px;font-size:calc(17px * var(--restore-text-scale,1));font-weight:600;border-width:2px;cursor:pointer}
.fragment-tools button span{font-size:calc(34px * (1 + (var(--restore-text-scale,1) - 1) * 0.529));line-height:1}
.fragment-tools button:focus-visible,.mosaic-piece:focus-visible{outline:3px solid #456754;outline-offset:3px}
.fragment-tools button:disabled{opacity:.45}
.fragment-banner{position:absolute;z-index:1;top:8px;left:50%;transform:translateX(-50%);padding:8px 14px;border-radius:14px;background:#fff7e9ed;color:#354d40;box-shadow:0 2px 8px #30241522;font-size:calc(12px * var(--restore-text-scale,1));font-weight:700;white-space:nowrap;pointer-events:none}
.mosaic-instruction{display:grid;gap:3px;text-align:center;padding:8px 0 2px;color:#354d40;font-size:calc(14px * var(--restore-text-scale,1));line-height:calc(20px * var(--restore-text-scale,1))}
.mosaic-instruction small{font-size:calc(12px * var(--restore-text-scale,1));color:#655b49}
.mosaic-piece{cursor:grab;touch-action:none;outline:none}
.mosaic-piece.selected{cursor:grabbing;filter:drop-shadow(0 3px 5px #30241544)}
.fragment-hint{filter:drop-shadow(0 0 4px #f4c66d)}
.fragment-tools p{width:100%;margin:6px 0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.45}
.classical-settings{padding:12px 0;display:grid;gap:8px;border-bottom:1px solid #ded4c2}
.classical-settings label{display:flex;align-items:center;gap:10px;min-height:44px}
.classical-settings input[type=checkbox]{width:24px;height:24px;accent-color:#456754}
.classical-settings input[type=range]{min-height:44px;width:100%;accent-color:#456754}
.classical-settings output{margin-left:auto}
.classical-settings small{line-height:1.5;color:#726b5d}
.music-audition{width:100%;max-height:240px;overflow:auto;border:1px solid #ddd;padding:8px}
.music-audition ol{display:flex;flex-wrap:wrap;gap:6px;list-style:decimal;padding-left:26px}
.music-audition li{margin-right:18px}
.restored-artwork-dialog{width:min(96vw,900px);max-width:900px;max-height:94svh;overflow:auto;background:#fbf5e8}
.restored-artwork-dialog img{display:block;max-height:68svh;width:100%;object-fit:contain}
.restored-artwork-dialog p{font-size:calc(12px * var(--restore-text-scale,1));color:#655e51}
.restored-artwork-dialog [data-slot=dialog-title]{padding-right:28px}
.restored-artwork-dialog>button{min-height:44px}
.gilt-shadow{stroke:rgb(28 18 6/.5)}
.gilt-line{stroke:url(#pp-gilt)}
.gilt-span.drawing path{stroke-dasharray:1 1;stroke-dashoffset:1;animation:pp-draw 620ms var(--md-sys-motion-easing-emphasized-decelerate) forwards}
@keyframes pp-draw{to{stroke-dashoffset:0}}
.gilt-bead{fill:#f3d78f;stroke:rgb(40 26 8/.6)}
.gilt-gold-grow .gilt-line,.gilt-gold-shimmer .gilt-line{filter:drop-shadow(0 0 3px rgb(255 214 120/.9))}
.gilt-gold-shimmer .gilt-line{animation:pp-shimmer .65s ease-in-out both}
.gilt-gold-dissolve{opacity:0;transition:opacity .55s ease-out}
@keyframes pp-shimmer{50%{stroke:#fff6d8}}
/* Feedback: a small ripple where the dot settled; a soft ring on a miss. */
.picture-ripple,.picture-cue,.gilt-bead,.gilt-contours{pointer-events:none}
.picture-ripple circle{fill:none;stroke:#ffe9b0;transform-box:fill-box;transform-origin:center;animation:pp-ripple .7s var(--md-sys-motion-easing-emphasized-decelerate) forwards}
.picture-ripple circle.late{stroke:#fff8ec;animation-delay:.12s;opacity:0;animation-name:pp-ripple-late}
.picture-ripple.miss circle{stroke:rgb(255 255 255/.7);animation-duration:.45s}
@keyframes pp-ripple{from{scale:.3;opacity:1}to{scale:2.6;opacity:0}}
@keyframes pp-ripple-late{from{scale:.3;opacity:.9}to{scale:3.6;opacity:0}}
/* Help, progressively: 1 the region, 2 a directional glow, 3 the golden target. */
.pp-hint-region{mix-blend-mode:screen;animation:pp-glow 2.4s ease-in-out infinite}
.pp-hint-ring{fill:none;stroke:#ffe6a6;opacity:.85;stroke-linecap:round}
.pp-hint-beam{fill:none}
.pp-hint-flow{fill:none;stroke:#fff6d6;stroke-linecap:round;animation:pp-flow .9s linear infinite}
.pp-hint-halo{fill:rgb(255 214 110/.2);stroke:#f3c65a;animation:pp-glow 1.6s ease-in-out infinite}
.pp-hint-center{fill:#ffd66e;stroke:#6b4a10;stroke-width:1px;vector-effect:non-scaling-stroke}
@keyframes pp-glow{0%,100%{opacity:.7}50%{opacity:1}}
@keyframes pp-flow{to{stroke-dashoffset:calc(var(--pp-period,14px) * -1)}}
.picture-cue path{fill:none;stroke:rgb(255 248 230/.75)}
.picture-cue .cue-ring{fill:rgb(255 248 230/.14);stroke:rgb(255 248 230/.9)}
.picture-cue .cue-point{fill:#fff8ec}
.picture-cue.near-target .cue-ring{stroke:#ffd98a;fill:rgb(255 217 138/.25)}
.picture-stage.is-restored{box-shadow:var(--md-sys-elevation-level2)}
/* Completion card: the restored painting's credit and the next step. */
.picture-restored-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px 16px 16px;
  border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container);animation:md-fade-through var(--md-sys-motion-duration-medium4) var(--md-sys-motion-easing-emphasized-decelerate) both}
.picture-restored-card>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.picture-restored-card .overline{display:inline-flex;align-items:center;gap:6px;font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-tertiary)}
.picture-restored-card strong{font:var(--md-sys-typescale-title-medium);color:var(--md-sys-color-on-surface)}
.picture-restored-card small{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.picture-restored-card .world-primary{flex:none;position:static;width:100%;margin:0;justify-content:center}
.picture-finale .puzzle-message{display:flex;align-items:center;justify-content:center;gap:6px}
.picture-naming{display:flex;flex-direction:column;align-items:center;gap:16px;padding-top:8px;overflow:auto}
.painting-thumb{width:min(100%,420px);max-height:44svh;border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:var(--md-sys-elevation-level2);background:#262119}
/* Developer overlay (?dev=1): alignment of mask, contours, visibility, occluders, anchors, sections, views and frame. */
.picture-dev path,.picture-dev rect,.picture-dev circle{fill:none;vector-effect:none}
.picture-dev .dev-mask{opacity:.28;mix-blend-mode:screen}
.picture-dev .dev-crop{stroke:#ffffff88}
.picture-dev .dev-visible{stroke:#7cff6b}
.picture-dev .dev-hidden{stroke:#ff5a5a}
.picture-dev .dev-internal{stroke:#4fe3ff}
.picture-dev .dev-occluder{fill:rgb(255 60 60/.16);stroke:#ff6b6b}
.picture-dev .dev-gap{fill:rgb(255 170 60/.12);stroke:#ffb35c}
.picture-dev .dev-section{stroke:#ffd166}
.picture-dev .dev-view{stroke:#8ab4ff}
.picture-dev .dev-view.current{stroke:#ffffff}
.picture-dev .dev-frame{stroke:#ff9f1c}
.picture-dev .dev-anchor{fill:#ffd166;stroke:#1c1c1c}
.picture-dev .dev-anchor.major{fill:#ff5a5a}
.picture-dev .dev-anchor.unused{fill:#999}
.picture-dev .dev-label{fill:#fff;paint-order:stroke;stroke:#000;stroke-width:3px;stroke-linejoin:round;font-family:var(--md-ref-typeface-plain);font-weight:600}
.picture-dev .dev-label.sec{fill:#ffd166}.picture-dev .dev-label.view{fill:#8ab4ff}.picture-dev .dev-label.occ{fill:#ff8a8a}
.world-app[data-screen=puzzle]:has(.picture-puzzle) .designer-panel{display:none}
/* Settings: segmented buttons for the three puzzle accessibility controls. */
.puzzle-access .access-setting{flex-wrap:wrap}
.puzzle-access .access-label{font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface);display:flex;flex-direction:column}
.puzzle-access .access-label>span{font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-on-surface-variant);margin-top:2px}
.segmented{display:flex;width:100%;max-width:420px;border:1px solid var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-full);overflow:hidden}
.segmented button{all:unset;box-sizing:border-box;flex:1 1 0;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 10px;
  font:var(--md-sys-typescale-label-large);color:var(--md-sys-color-on-surface);cursor:pointer;position:relative;text-align:center}
.segmented button+button{border-left:1px solid var(--md-sys-color-outline)}
.segmented button.selected{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.segmented button svg{width:18px;height:18px;fill:currentColor;flex:none}
.segmented button:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:-3px}
/* Wide or landscape windows: the stage takes the leading side, the controls a column beside it. */
@media (min-width:640px) and (min-aspect-ratio:5/4),(max-height:520px) and (orientation:landscape){
  .picture-puzzle{max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) clamp(250px,30vw,340px);
    grid-template-rows:auto auto minmax(0,1fr) auto;grid-template-areas:"stage head" "stage status" "stage ." "stage foot";column-gap:16px;row-gap:10px;padding-top:8px}
  .picture-head{grid-area:head}.picture-status{grid-area:status}.picture-stage{grid-area:stage;min-height:0}.picture-foot{grid-area:foot}
  .picture-puzzle:has(>.classical-reward){grid-template-areas:"stage head" "stage status" "stage music" "stage foot"}
  .picture-puzzle>.classical-reward{grid-area:music;align-self:start}
  .picture-foot .world-puzzle-tools{flex-wrap:wrap;justify-content:flex-start}
  .picture-foot .puzzle-message{text-align:left}
}
@media (max-height:520px) and (orientation:landscape){
  .picture-puzzle>.classical-reward{min-height:24px}
  .picture-puzzle:has(>.classical-reward) .picture-head h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));line-height:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.972));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .picture-puzzle:has(>.classical-reward) .picture-status{padding:6px 8px;row-gap:4px;column-gap:8px}
  .picture-puzzle:has(>.classical-reward) .picture-inset{width:32px;height:32px}
  .picture-puzzle{min-height:0;height:calc(100svh - var(--md-top-app-bar-height) - var(--safe-top) - var(--safe-bottom) - 8px);grid-template-columns:minmax(0,1fr) 280px;row-gap:6px}
  .picture-head h1{font:var(--md-sys-typescale-title-large)}
  .picture-inset{width:40px;height:40px}
  .picture-foot .world-puzzle-tools button{min-height:40px;padding:0 12px 0 10px}
  .world-app[data-screen=puzzle] .picture-foot .world-puzzle-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;justify-content:stretch}
  .world-app[data-screen=puzzle] .picture-foot .world-puzzle-tools button{min-height:44px;padding:0 8px;gap:4px;white-space:normal}
  .picture-foot .picture-view-toggle{margin-bottom:6px}
  .fragment-tools{margin-top:6px}
  .picture-puzzle:has(.fragment-tools,.mosaic-instruction) .picture-head h1{display:none}
  .picture-puzzle:has(.fragment-tools,.mosaic-instruction){grid-template-rows:auto auto minmax(24px,1fr) auto}
  .fragment-tools strong{display:none} /* the board banner and status carry the rotation instruction */
  .fragment-tools button{min-height:56px;font-size:calc(16px * var(--restore-text-scale,1));gap:8px}
  .fragment-tools strong{font-size:calc(13px * var(--restore-text-scale,1));line-height:calc(17px * var(--restore-text-scale,1))}
  .fragment-tools button span{font-size:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6))}
  .mosaic-instruction{font-size:calc(13px * var(--restore-text-scale,1));line-height:calc(17px * var(--restore-text-scale,1));padding-top:6px}
  .picture-foot .puzzle-message{height:36px;margin-top:4px}
}
@media (max-width:370px){
  .picture-head h1{font:var(--md-sys-typescale-title-large)}
  .picture-foot .world-puzzle-tools button{padding:0 12px 0 10px}
}
.reduced-motion .picture-dot,.reduced-motion .gilt-span.drawing path,.reduced-motion .picture-ripple circle{animation-duration:1ms!important}
@media (prefers-reduced-motion:reduce){.picture-dot,.gilt-span.drawing path{animation-duration:1ms!important}}:where(:root[data-system-reduced-motion]) .picture-dot,:where(:root[data-system-reduced-motion]) .gilt-span.drawing path{animation-duration:1ms!important}

/* §20 reveal — the painted animal comes to life in 3D (components/restore/reveal/painting-reveal.tsx).
   Layers over the picture stage share its pixels: plate (painting without the animal) · vignette · WebGL ·
   surround (the painting minus the animal, over the model while aligned) · heart · skip. `data-backdrop` softens
   the painting behind; `data-alive` hands over to the finale; `data-ready=failed|lost` leaves the painting as is. */
.painting-reveal{position:absolute;inset:0;z-index:2;pointer-events:none;overflow:hidden;border-radius:inherit;touch-action:none;-webkit-user-select:none;user-select:none}
.painting-reveal[data-alive]:is([data-ready=true]){pointer-events:auto;cursor:grab}
.painting-reveal:is([data-ready=failed],[data-ready=lost])>canvas{visibility:hidden}
.painting-reveal[data-alive]:active{cursor:grabbing}
.painting-reveal>canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none}
.reveal-vignette{position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(ellipse 72% 56% at 50% 50%,rgba(255,236,204,.16) 0%,rgba(255,236,204,0) 50%,rgba(20,15,10,.3) 100%)}
/* --rv-backdrop (0..1) is set on the stage by the reveal's clock (it pauses with it) */
.picture-stage:has(>.painting-reveal[data-backdrop])>.picture-canvas,.painting-reveal[data-backdrop]>.reveal-plate{
  filter:blur(calc(var(--rv-backdrop,0)*3px)) brightness(calc(1 - var(--rv-backdrop,0)*.14)) saturate(calc(1 - var(--rv-backdrop,0)*.12))}
.reveal-heart{position:absolute;z-index:3;color:#e8617a;pointer-events:none;line-height:0;transform:translate(-50%,-50%);
  filter:drop-shadow(0 2px 6px rgba(40,10,16,.35));will-change:transform,opacity}
.reveal-skip{position:absolute;z-index:4;top:8px;right:8px;pointer-events:auto;min-height:40px;min-width:64px;padding:0 16px;border:0;
  border-radius:var(--md-sys-shape-corner-full);background:color-mix(in srgb,var(--md-sys-color-surface-container-highest) 84%,transparent);
  color:var(--md-sys-color-on-surface);font:var(--md-sys-typescale-label-large);box-shadow:var(--md-sys-elevation-level1);cursor:pointer;
  animation:rv-fade-in .35s .25s both}
.reveal-skip::after{content:"";position:absolute;inset:-4px}
.reveal-skip:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px}
.reveal-fallback{position:absolute;z-index:5;left:12px;right:12px;bottom:12px;pointer-events:auto;padding:14px;
  border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-highest);
  color:var(--md-sys-color-on-surface);font:var(--md-sys-typescale-body-medium);box-shadow:var(--md-sys-elevation-level1)}
.reveal-fallback p{margin:0 0 10px}
.reveal-retry{min-height:48px;width:100%;padding:10px 16px;border:0;border-radius:var(--md-sys-shape-corner-full);
  background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary);font:var(--md-sys-typescale-label-large);cursor:pointer}
.reveal-retry:focus-visible{outline:3px solid var(--md-sys-color-secondary);outline-offset:2px}
@keyframes rv-fade-in{from{opacity:0}to{opacity:1}}
/* the stage must not re-frame during the reveal: the heading keeps a two-line height while the reveal is mounted
   ("The hedgehog returns to the painting." wraps, "Hello, little hedgehog." does not) */
.picture-puzzle:has(.painting-reveal) .picture-head h1{min-height:2lh}
/* the completion card / finale waits until the companion is alive and looking at the player */
.picture-puzzle:has(.painting-reveal) .picture-finale{transition:opacity .5s cubic-bezier(.2,0,0,1)}
.picture-puzzle:is(.phase-wait-touch,.phase-creature-interaction,.phase-naming,.phase-collection-reward,.phase-results):has(.painting-reveal:not([data-alive]):not([data-ready=failed]):not([data-ready=lost])) .picture-finale{opacity:0;visibility:hidden;pointer-events:none}
.reveal-dev{z-index:5}
.reveal-dev-panel{position:absolute;z-index:6;left:8px;right:8px;bottom:8px;display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:8px 10px;
  border-radius:12px;background:rgba(10,12,16,.8);color:#fff;font:calc(12px * var(--restore-text-scale,1))/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;pointer-events:auto}
.reveal-dev-panel span{flex:1 1 200px}
.reveal-dev-panel small{flex-basis:100%;opacity:.72}
.reveal-dev-panel button{min-height:32px;padding:0 14px;border:0;border-radius:16px;background:#fff;color:#111;font:inherit;cursor:pointer}
/* Supplied artworks and exact 3D studies. The established eight-companion journey remains intact. */
.approved-collection{position:fixed;inset:0;z-index:70;display:flex;flex-direction:column;background:var(--md-sys-color-surface,#faf6ed);color:#39453c;overflow:hidden;font-family:inherit}
.approved-collection *,.approved-collection *::before,.approved-collection *::after{box-sizing:border-box}
.approved-collection button,.approved-link{min-height:48px;border-radius:22px;border:1px solid #c4baa5;background:#f3ebdc;color:#354e3d;padding:10px 16px;font:inherit;cursor:pointer}
.approved-collection button:focus-visible,.approved-collection g[role=button]:focus-visible{outline:3px solid #537258;outline-offset:3px}
.approved-collection button:disabled{opacity:.45;cursor:default}.approved-collection .approved-primary{background:#355443;color:#fff;border-color:#355443}
.approved-bar{display:flex;align-items:center;gap:12px;padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));flex-shrink:0;border-bottom:1px solid #ded5c4}
.approved-bar h1{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));font-weight:600;line-height:1.25;margin:0}.approved-bar button{flex-shrink:0}
.approved-list,.approved-chapter{overflow:auto;padding:20px max(16px,env(safe-area-inset-left));padding-bottom:max(24px,env(safe-area-inset-bottom));flex:1;min-height:0}
.approved-list>p{max-width:680px;margin:0 auto 20px;line-height:1.5}.approved-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;max-width:1000px;margin:auto}
.approved-collection .approved-card{display:flex;flex-direction:column;gap:8px;text-align:left;border-radius:18px;padding:10px;overflow:hidden;background:#fff9ee}
.approved-card img,.approved-card .approved-preview{width:100%;height:180px;object-fit:contain;background:#eee8dc;border-radius:10px}.approved-card span,.approved-card small{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.3}
.approved-art{margin:0 auto 18px;max-width:780px;text-align:center}.approved-art img{display:block;width:100%;max-height:62vh;object-fit:contain}.approved-art figcaption,.approved-caption{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.4;margin:8px 0;color:#686658}
.approved-chapter h2{font-size:calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857))}.approved-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.approved-link{display:inline-flex;align-items:center;margin:12px 0;text-decoration:none}
.approved-settings-button{margin-left:auto}
.approved-earned-figure{display:block;width:100%;height:38vh;max-width:700px;margin:0 auto;background:#eee8dc;border-radius:16px}
.approved-hub h2,.approved-figure-reveal h2{margin:8px 0 12px;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}
.approved-hub-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:18px 0}
.approved-hub-actions button{text-align:left;font-size:calc(18px * var(--restore-text-scale,1));font-weight:600}
.approved-hub-actions span{display:block;font-weight:400;font-size:calc(14px * var(--restore-text-scale,1));margin-top:7px;line-height:1.4}
.approved-hub .classical-reward,.approved-figure-reveal .classical-reward,.approved-dot-restoration .classical-reward{position:static;margin:12px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.approved-boot{padding:40px;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}
.approved-system-message{position:fixed;z-index:150;bottom:8px;left:12px;right:12px;padding:12px;border-radius:12px;background:#fff8ed;box-shadow:0 3px 20px #53472e33}
.approved-system-message button{float:right;min-height:40px}
[data-slot=dialog-overlay],[data-slot=alert-dialog-overlay]{z-index:110!important}
[data-slot=dialog-content],[data-slot=alert-dialog-content]{z-index:111!important}
.approved-settings{max-height:88dvh;overflow:auto}.approved-settings a{display:flex;align-items:center;min-height:48px;text-decoration:underline;margin-top:4px}.approved-settings button{min-height:48px}
.approved-preference{display:flex;gap:10px;align-items:center;min-height:48px}.approved-preference input{width:24px;height:24px}
.approved-save-error{padding:10px;background:#fff1cc;font-size:calc(14px * var(--restore-text-scale,1))}
.approved-practice{position:fixed;inset:0;z-index:100;background:#fff8ed;overflow:auto;padding:12px}.approved-practice>.skunk-tutorial{min-height:calc(100dvh - 80px)}
.approved-chapter details{margin:18px auto;max-width:800px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5}.approved-chapter details p{overflow-wrap:anywhere}.approved-chapter summary{min-height:48px;padding:12px 0;cursor:pointer}
.approved-view{position:relative;max-width:900px;margin:auto;min-height:300px}.approved-view canvas{display:block;width:100%;height:54vh;min-height:240px;touch-action:none;border-radius:18px;background:#eee8dc}.approved-view>p[role=status],.approved-view>div[role=alert]{position:absolute;inset:30% 20px auto;text-align:center;padding:16px;background:#fff6e7;border-radius:12px}
.approved-view-tools{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px}.approved-view select{min-height:48px}
.approved-study{display:flex;flex:1;flex-direction:column;min-height:0;padding:8px 12px max(12px,env(safe-area-inset-bottom));gap:4px}
.approved-study-status{display:flex;justify-content:space-between;gap:10px;padding:6px 2px;font-size:calc(14px * var(--restore-text-scale,1));flex-shrink:0}.approved-study-board{width:100%;flex:1;min-height:230px;background:#f8f0e2;border-radius:16px;touch-action:none;overflow:hidden}
.approved-study-board [role=button]{cursor:grab}.approved-study-board text{pointer-events:none}.approved-study-tools{flex-shrink:0}.approved-study-tools p{margin:6px 2px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.35;min-height:36px}.approved-turn-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px}.approved-turn-tools strong{grid-column:1/-1;font-size:calc(14px * var(--restore-text-scale,1))}.approved-turn-tools button{min-height:58px;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));font-weight:600}
.approved-study .approved-actions button{flex:1;padding:8px 10px;font-size:calc(13px * var(--restore-text-scale,1))}.approved-study-tools>button{width:100%;margin-top:5px;min-height:48px}
@media(max-height:540px) and (orientation:landscape){.approved-bar{padding:6px 12px}.approved-bar h1{font-size:calc(16px * var(--restore-text-scale,1))}.approved-bar button{min-height:42px;padding:6px 12px}.approved-study{display:grid;grid-template-columns:1fr 238px;grid-template-rows:28px 1fr;gap:4px 12px}.approved-study-status{grid-column:1/2}.approved-study-board{grid-column:1/2;grid-row:2;min-height:230px;height:100%}.approved-study-tools{grid-column:2;grid-row:1/3;min-height:0;overflow:auto}.approved-turn-tools button{min-height:50px;font-size:calc(17px * var(--restore-text-scale,1));padding:6px}.approved-study-tools p{font-size:calc(12px * var(--restore-text-scale,1));min-height:0}.approved-study-tools .approved-actions{margin:4px 0}.approved-study-tools .approved-actions button{min-height:42px}.approved-study-tools>button{min-height:42px;margin-top:2px}.approved-view canvas{height:54vh;min-height:170px}}

/* app/stage3d.css */
/* 3D stages (three.js). Layered like the former SVG scenes so the HUD, dock and dialogue stay on top. */
.stage3d{position:absolute;inset:0;overflow:hidden;background:var(--paper-deep,#e9dcc6);z-index:0}
.stage3d canvas{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;outline:none}
.stage3d::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 80% at 50% 45%,transparent 58%,rgba(62,38,20,.20) 100%),
             linear-gradient(to bottom,rgba(255,244,222,.10),transparent 30%,transparent 72%,rgba(46,30,18,.16));}
.stage3d-failed{display:grid;place-items:center}
.stage3d-fallback{position:relative;z-index:2;margin:0 32px;text-align:center;font-size:calc(15px * var(--restore-text-scale,1));color:#6b5645}
.stage-place{position:absolute;z-index:3;transform:translate(-50%,-150%);border:0;border-radius:999px;padding:10px 16px;
  background:rgba(255,250,236,.94);color:#5b4632;font:600 calc(13px * var(--restore-text-scale,1))/1 var(--font-ui,inherit);letter-spacing:.2px;
  box-shadow:0 6px 18px rgba(74,48,20,.22),0 0 0 1px rgba(201,151,63,.45) inset;animation:stage-place-bob 1.6s ease-in-out infinite}
.stage-place::after{content:"";position:absolute;left:50%;bottom:-7px;width:12px;height:12px;background:inherit;transform:translateX(-50%) rotate(45deg);border-radius:2px}
@keyframes stage-place-bob{0%,100%{translate:0 0}50%{translate:0 -4px}}
.stage-hold-ring{position:absolute;left:50%;top:50%;width:84px;height:84px;margin:-42px 0 0 -42px;border-radius:50%;pointer-events:none;
  border:3px solid rgba(255,236,190,.9);box-shadow:0 0 22px rgba(255,214,140,.65);animation:stage-hold 2s linear forwards}
@keyframes stage-hold{from{transform:scale(1.3);opacity:0}20%{opacity:1}to{transform:scale(.8);opacity:1}}
.habitat-immersive.is-3d>*:not(.stage3d){z-index:2}
.reduced-motion .stage-place{animation:none}
/* the hold ring follows the finger on the animal; once the 2 s hold completes it settles into a soft glow */
.stage-hold-ring.at-finger{z-index:3}
.stage-hold-ring.is-active{animation:stage-hold-done .5s ease-out forwards}
@keyframes stage-hold-done{from{transform:scale(.8);opacity:1}to{transform:scale(1.15);opacity:0;border-color:rgba(255,200,210,.9)}}
.reduced-motion .stage-hold-ring{animation-duration:.01s}
/* Meeting World: speech over the 3D garden in the companions' conversation style */
.meeting3d{position:relative;height:100%;min-height:100dvh;overflow:hidden}
.meeting3d .stage3d{position:absolute;inset:0}
.meeting3d-back{position:absolute;z-index:4;top:calc(12px + env(safe-area-inset-top,0px));left:16px}
.meeting3d-title{position:absolute;z-index:4;top:calc(18px + env(safe-area-inset-top,0px));left:72px;right:16px;color:#fff8ea;text-shadow:0 1px 8px rgba(40,26,14,.55)}
.meeting3d-title strong{display:block;font:600 calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))/1.2 var(--font-ui,inherit)}
.meeting3d-title small{font:500 calc(12px * var(--restore-text-scale,1))/1.3 var(--font-ui,inherit);opacity:.9}
.meeting3d .animal-conversation{top:auto;bottom:calc(20px + env(safe-area-inset-bottom,0px));max-width:420px}
.meeting3d-tag{position:absolute;z-index:3;transform:translate(-50%,-100%);pointer-events:none;font:600 calc(11px * var(--restore-text-scale,1))/1 var(--font-ui,inherit);
  color:#5b4632;background:rgba(255,250,236,.88);border-radius:999px;padding:4px 8px;box-shadow:0 2px 8px rgba(74,48,20,.2);transition:opacity .4s}
.meeting3d-tag.is-speaking{background:#fff3d6;box-shadow:0 0 0 2px rgba(201,151,63,.55),0 2px 10px rgba(74,48,20,.25)}

/* app/roster.css */
/* RESTORE v2 — roster & progression (worker C): completion flow, painted cards, map regions, habitat HUD.
   Loaded after design.css and stage3d.css (scripts/build-offline.ts STYLES, android-web/main.tsx). M3 tokens only. */

/* ---- Completion flow in the painting's foot (CompanionWelcome) ------------------------------------------------ */
.picture-foot.has-finale{flex:none;height:252px;min-height:0;display:flex;flex-direction:column;justify-content:flex-end} /* fixed from 'anticipation': the stage never re-frames */
.companion-welcome{display:flex;flex-direction:column;justify-content:flex-end;gap:8px;height:100%;box-sizing:border-box;overflow:hidden;padding:12px 16px 14px;border-radius:var(--md-sys-shape-corner-extra-large);
  background:var(--md-sys-color-surface-container);animation:md-fade-through var(--md-sys-motion-duration-medium4) var(--md-sys-motion-easing-emphasized-decelerate) both}
.welcome-speech{position:relative;padding:10px 14px 12px;border-radius:var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) var(--md-sys-shape-corner-large) 4px;
  background:var(--md-sys-color-surface-container-lowest);box-shadow:var(--md-sys-elevation-level1)}
.welcome-speaker{display:inline-flex;align-items:center;gap:6px;font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;color:var(--md-sys-color-primary)}
.welcome-speaker svg{color:var(--md-sys-color-tertiary)}
.welcome-speech p{margin:2px 0 0;font:var(--md-sys-typescale-body-large);color:var(--md-sys-color-on-surface);
  animation:md-fade-through var(--md-sys-motion-duration-medium2) var(--md-sys-motion-easing-emphasized-decelerate) both}
.welcome-main{width:100%;min-height:56px;justify-content:center;gap:8px;font:var(--md-sys-typescale-title-medium);margin:0}
.welcome-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:0;min-height:40px;font:var(--md-sys-typescale-body-medium);color:var(--md-sys-color-tertiary)}
.welcome-form{display:flex;flex-direction:column;gap:8px;margin:0}
.welcome-field{display:flex;gap:8px;align-items:stretch}
.welcome-field input{flex:1 1 0;width:auto;min-width:0;height:48px;font:var(--md-sys-typescale-body-large);border-radius:var(--md-sys-shape-corner-small)}
.welcome-field .world-primary{flex:0 0 auto;width:auto;max-width:60%;min-height:48px;margin:0;padding:0 16px;font:var(--md-sys-typescale-label-large);white-space:nowrap}
.welcome-field .world-primary:disabled{opacity:.38}
.welcome-detail{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);padding:0 4px}
.welcome-detail.is-error{color:var(--md-sys-color-error)}
.welcome-text-button{align-self:center;min-height:40px;padding:0 12px;border:0;border-radius:var(--md-sys-shape-corner-full);background:transparent;
  color:var(--md-sys-color-primary);font:var(--md-sys-typescale-label-large)}
.welcome-chips{display:flex;flex-wrap:wrap;gap:8px}
.welcome-chip{min-height:32px;padding:0 14px;border:1px solid var(--md-sys-color-outline-variant);border-radius:var(--md-sys-shape-corner-small);
  background:var(--md-sys-color-surface-container-low);color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-label-large)}
.welcome-chip:hover,.welcome-chip:focus-visible{background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.welcome-actions{display:flex;flex-direction:column;gap:8px}
.welcome-big{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;padding:8px 16px 8px 18px;border:0;text-align:left;
  border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-secondary-container);color:var(--md-sys-color-on-secondary-container)}
.welcome-big>span{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.welcome-big strong{font:var(--md-sys-typescale-title-large);color:inherit}
.welcome-big small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.welcome-big svg{flex:none}
.welcome-meeting{background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container)}
.companion-welcome.is-waiting{background:transparent;animation:none}
.welcome-speech p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.companion-welcome.is-done .welcome-speech p{font:var(--md-sys-typescale-body-medium);-webkit-line-clamp:2}
.welcome-actions.has-two{display:grid;grid-template-columns:1fr 1fr}
.welcome-actions.has-two .welcome-main{grid-column:1/-1}
.welcome-actions.has-two .welcome-big{min-height:60px;padding:8px 10px 8px 14px;gap:6px}
.welcome-actions.has-two .welcome-big>svg:first-child{display:none}
.welcome-actions.has-two .welcome-big strong{font:var(--md-sys-typescale-title-medium)}
.welcome-decline{margin-left:auto;min-height:32px}

/* ---- Painted animals & cards -------------------------------------------------------------------------------- */
.painted-animal image{filter:drop-shadow(0 6px 10px rgb(40 30 20/.25))}
.creature-painted.golden-finish .painted-animal image{filter:drop-shadow(0 0 10px rgb(255 214 120/.8))}
.companion-portrait .painted-portrait{position:absolute;inset:0;width:100%;height:100%}
.companion-portrait{position:relative;overflow:hidden}
.companion-card.locked .painted-portrait{filter:saturate(.35) brightness(1.05);opacity:.75}
.card-painting{display:block;font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.book-gallery-link{display:flex;align-items:center;gap:14px;width:100%;min-height:64px;margin:0 0 16px;padding:8px 16px;border:0;text-align:left;
  border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface)}
.book-gallery-link>span{display:flex;flex-direction:column;flex:1 1 auto}
.book-gallery-link strong{font:var(--md-sys-typescale-title-medium)}
.book-gallery-link small{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.book-gallery-link>svg:first-child{color:var(--md-sys-color-primary)}

/* ---- Home: Meet your animals · Next animal · the garden story ----------------------------------------------- */
.meet-animals-card,.next-animal-card,.story-card{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;margin:0 0 16px;padding:10px 16px;border:0;text-align:left;
  border-radius:var(--md-sys-shape-corner-extra-large);box-shadow:var(--md-sys-elevation-level1);position:relative;overflow:hidden;isolation:isolate}
.meet-animals-card{min-height:88px;background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container)}
.meet-animals-card.is-new{box-shadow:var(--md-sys-elevation-level2),inset 0 0 0 2px var(--md-sys-color-tertiary)}
.meet-animals-faces,.meeting-garden-faces{display:flex;flex:none}
.meet-animals-faces img,.meeting-garden-faces img{width:42px;height:42px;object-fit:contain;margin-right:-12px;border-radius:50%;
  background:var(--md-sys-color-surface-container-lowest);box-shadow:0 0 0 2px var(--md-sys-color-surface-container-lowest)}
.meet-animals-copy,.next-animal-card>span:not(.next-animal-thumb),.story-card>span:not(.story-card-icon){display:flex;flex-direction:column;flex:1 1 auto;min-width:0;margin-left:12px}
.next-animal-card>span:not(.next-animal-thumb),.story-card>span:not(.story-card-icon){margin-left:0}
.meet-animals-card small,.next-animal-card small,.story-card small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.meet-animals-card strong,.next-animal-card strong{font:var(--md-sys-typescale-title-large);color:inherit}
.meet-animals-card>svg,.next-animal-card>svg,.story-card>svg{flex:none}
.next-animal-card{background:var(--md-sys-color-primary);color:var(--md-sys-color-on-primary)}
.next-animal-card small{color:var(--md-sys-color-primary-fixed-dim)}
.next-animal-thumb{flex:none;width:52px;height:52px;border-radius:var(--md-sys-shape-corner-medium);overflow:hidden;background:var(--md-sys-color-primary-container)}
.next-animal-thumb img{width:100%;height:100%;object-fit:cover}
.story-card{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface)}
.story-card:disabled{opacity:1;box-shadow:none;color:var(--md-sys-color-on-surface-variant)}
.story-card strong{font:var(--md-sys-typescale-title-medium)}
.story-card span span{font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant)}
.story-card-icon{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-lowest);color:var(--md-sys-color-tertiary)}
.continue-scene>svg{width:100%;height:100%;display:block}
.continue-scene .scene-tag{white-space:nowrap}

/* ---- Map: the Meeting garden region, next animal, detail portrait --------------------------------------------- */
.meeting-garden-region{display:flex;align-items:center;gap:12px;width:100%;min-height:84px;margin:0 0 12px;padding:12px 16px;border:0;text-align:left;
  border-radius:var(--md-sys-shape-corner-extra-large);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container);box-shadow:var(--md-sys-elevation-level1)}
.meeting-garden-region.locked{background:var(--md-sys-color-surface-container-high);color:var(--md-sys-color-on-surface-variant);box-shadow:none}
.meeting-garden-region.locked .meeting-garden-faces img{filter:grayscale(1) opacity(.55)}
.meeting-garden-region.is-new{box-shadow:var(--md-sys-elevation-level2),inset 0 0 0 2px var(--md-sys-color-tertiary)}
.meeting-garden-copy{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;margin-left:14px}
.meeting-garden-copy small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px}
.meeting-garden-copy strong{font:var(--md-sys-typescale-title-medium);color:inherit}
.meeting-garden-copy>span{font:var(--md-sys-typescale-body-small);opacity:.9}
.meeting-garden-icon{flex:none;display:grid;place-items:center}
.next-animal-card.map-next{margin-bottom:12px}
.map-detail{display:flex;align-items:center;gap:12px}
.map-detail-portrait{flex:none;width:72px;height:56px}
.map-detail-copy{flex:1 1 auto;min-width:0}
.map-region .region-label{font-weight:600}

/* ---- Habitat ------------------------------------------------------------------------------------------------- */
.habitat-nick{margin-left:6px;font:var(--md-sys-typescale-body-small);color:var(--md-sys-color-on-surface-variant);white-space:nowrap}
.meet-animals-primary{display:flex;align-items:center;gap:16px;width:100%;min-height:56px;padding:8px 16px 8px 20px;border:0;text-align:left;
  border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-tertiary-container);color:var(--md-sys-color-on-tertiary-container)}
.meet-animals-primary>span{display:flex;flex-direction:column;flex:1 1 auto}
.meet-animals-primary small{font:var(--md-sys-typescale-label-medium);letter-spacing:.3px}
.meet-animals-primary strong{font:var(--md-sys-typescale-title-medium);color:inherit}
.comfort-tray button>svg image{filter:drop-shadow(0 2px 3px rgb(40 30 20/.2))}
.comfort-tray button:not(.done)>svg{opacity:.55;filter:saturate(.6)}
.companion-talk .conversation-line.is-reply{box-shadow:var(--md-sys-elevation-level2),inset 3px 0 0 var(--md-sys-color-primary)}
.companion-name-prompt{font:var(--md-sys-typescale-body-large);font-style:italic;color:var(--md-sys-color-on-surface)}
.companion-name-card form{display:flex;flex-direction:column;gap:8px}
.companion-name-card label{font:var(--md-sys-typescale-label-medium);color:var(--md-sys-color-on-surface-variant)}
.name-suggestions{display:flex;gap:8px;flex-wrap:wrap}
.settings-links{display:flex;flex-direction:column;gap:4px}
.settings-links .player-edit{display:inline-flex;align-items:center;gap:8px}
.nav-new-dot{position:absolute;top:6px;right:calc(50% - 20px);width:8px;height:8px;border-radius:50%;background:var(--md-sys-color-error)}
.world-bottom-nav button{position:relative}

/* ---- Meeting garden & gallery screens fill the content area ------------------------------------------------- */
.meeting-screen{position:relative;min-height:calc(100dvh - 140px)}
.world-app[data-screen=gallery] .world-content,.world-app[data-screen=credits] .world-content{padding:0;max-width:none}
.card-painting-thumb{position:absolute;left:8px;top:8px;width:44px;height:36px;object-fit:cover;border-radius:4px;
  border:2px solid #f3e6c4;box-shadow:0 1px 3px rgb(40 30 20/.35)}
.next-animal-primary>span{min-width:0;flex:1 1 auto}
.next-animal-primary small,.meet-animals-primary small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.welcome-actions.has-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.welcome-actions .welcome-main{width:100%;max-width:none;margin:0;min-width:0}
.welcome-actions .welcome-big{min-width:0}
.companion-welcome[data-step="nick"] .welcome-speech p{font:var(--md-sys-typescale-body-medium);-webkit-line-clamp:4}
.companion-welcome.is-done{gap:6px}
.welcome-actions.has-two .welcome-main{min-height:48px}
.welcome-actions.has-two .welcome-big{min-height:56px;padding-top:6px;padding-bottom:6px}

/* components/restore/approved-dot-restoration.css */
.approved-dot-restoration{flex:1;min-height:0;overflow:auto;width:min(100%,760px);margin:0 auto;padding:18px 20px 30px;color:var(--restore-ink,#ede5d5)}
.approved-dot-heading{display:flex;gap:18px;align-items:center;margin-bottom:16px}.approved-dot-heading h2{font-family:Georgia,serif;font-weight:400;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.15;margin:6px 0}.approved-dot-heading small{font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.16em;text-transform:uppercase;color:var(--restore-gold,#bda371)}.approved-dot-heading button{min-height:48px;min-width:48px;padding:8px 12px;white-space:nowrap;color:var(--restore-muted,#a9a49a)}
.approved-dot-status{display:flex;justify-content:space-between;gap:12px;font-size:calc(12px * var(--restore-text-scale,1));align-items:center;margin:10px 0;color:var(--restore-muted,#a9a49a)}.approved-dot-status strong{font-size:calc(14px * var(--restore-text-scale,1));font-weight:500;color:var(--restore-ink,#ede5d5)}.approved-dot-restoration progress{width:100%;height:3px;accent-color:var(--restore-gold,#bda371);border:0;display:block;margin:12px 0 18px;border-radius:0;background:var(--restore-line,#454136)}.approved-dot-restoration progress::-webkit-progress-bar{background:var(--restore-line,#454136)}.approved-dot-restoration progress::-webkit-progress-value{background:var(--restore-gold,#bda371)}
.approved-dot-board{display:block;width:100%;height:min(47vh,430px);min-height:280px;background:var(--restore-board,#e8dfcd);border:1px solid #a18d69;border-radius:3px;touch-action:none;overflow:hidden}.approved-dot-work-surface{fill:var(--restore-board,#e8dfcd)}.approved-dot-board [role=button]{cursor:grab;outline:none}.approved-dot-board [role=button]:focus-visible .approved-dot-core{stroke:#8d6b2f;stroke-width:5}.approved-dot-board [role=button]:active{cursor:grabbing}
.approved-dot-curve{opacity:.65;stroke:#797765}.approved-dot-curve.is-active{opacity:1;stroke:#486f76}.approved-dot-curve.is-restored{opacity:1;stroke:#bd943e}.approved-dot-curve.is-grabbed{opacity:1;stroke:#426a92;filter:drop-shadow(0 0 calc(var(--shape-nearness,0)*6px) #d3ab58)}
.approved-dot-core{fill:#000;stroke:#fffdf3;filter:drop-shadow(0 2px 2px #00000030)}.approved-dot-core.is-grabbed{fill:#000}.approved-dot-core.is-ready{fill:#d3a348}.approved-dot-halo{fill:#0000001f;stroke:#665e50;stroke-width:1.5;vector-effect:non-scaling-stroke}.approved-touch-cue{fill:none;stroke:#665e50}.approved-cue-glass{fill:#fffefa;stroke:#918674}.approved-cue-point{fill:#000;stroke:none}.approved-touch-cue.near-target .approved-cue-point{fill:#d3a348}.approved-touch-cue.near-target .approved-cue-glass{stroke:#d4b566;fill:#fff8e0}
.approved-dot-message{min-height:44px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.55;margin:14px 0;color:var(--restore-muted,#a9a49a)}.approved-dot-tools{display:flex;gap:8px;flex-wrap:wrap}.approved-dot-tools button,.approved-dot-finish{min-height:48px;padding:10px 15px;border:1px solid var(--restore-line,#454136);border-radius:3px;background:var(--restore-panel,#25241f);color:var(--restore-ink,#ede5d5);font-size:calc(13px * var(--restore-text-scale,1));letter-spacing:.02em}.approved-dot-tools button:hover{border-color:var(--restore-gold,#bda371)}.approved-dot-tools button:disabled{opacity:.4}.approved-dot-finish{display:block;width:100%;margin-top:18px;background:var(--restore-gold,#bda371);color:#201e19;border-color:var(--restore-gold,#bda371);font-weight:600;font-size:calc(15px * var(--restore-text-scale,1))}
.approved-dot-observation{margin:0 0 14px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.55;color:var(--restore-muted,#a9a49a);max-width:62ch}
.approved-dot-restoration .classical-reward{margin-top:18px;flex-wrap:wrap;color:var(--restore-muted,#a9a49a)}.approved-dot-restoration .classical-reward span{font-size:calc(12px * var(--restore-text-scale,1))}.approved-dot-restoration .classical-reward button{min-height:48px;border-radius:3px;background:var(--restore-panel,#25241f);color:var(--restore-ink,#ede5d5);border-color:var(--restore-line,#454136)}.approved-dot-music{margin-top:10px;font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted,#a9a49a)}.approved-dot-music summary{min-height:48px;padding:14px 0;cursor:pointer}.approved-dot-music .classical-settings{position:static;margin:0;padding:16px;border:1px solid var(--restore-line,#454136);border-radius:3px;background:var(--restore-panel,#25241f);color:var(--restore-ink,#ede5d5)}.approved-dot-music .classical-settings small{display:none}.approved-figure-preview{display:block;width:100%;height:100%;background:var(--restore-board,#e8dfcd)}
@media(max-width:380px){.approved-dot-restoration{padding:12px 12px 24px}.approved-dot-heading h2{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.approved-dot-status{align-items:flex-start}.approved-dot-status span{text-align:right}.approved-dot-tools button{padding:10px 12px}}
@media(max-height:520px) and (orientation:landscape){.approved-dot-restoration{display:grid;grid-template-columns:minmax(250px,1fr) minmax(240px,.7fr);gap:8px 16px;width:min(100%,1050px);padding-top:6px}.approved-dot-heading,.approved-dot-status,.approved-dot-restoration>progress{grid-column:1/-1}.approved-dot-heading{margin-bottom:0}.approved-dot-heading h2{font-size:calc(18px * var(--restore-text-scale,1))}.approved-dot-board{grid-column:1;grid-row:4/10;height:calc(100vh - 135px);min-height:210px}.approved-dot-observation{grid-column:2;margin:0}.approved-dot-message{grid-column:2;margin:0}.approved-dot-tools,.approved-dot-restoration .classical-reward,.approved-dot-music,.approved-dot-finish{grid-column:2;margin:0}.approved-dot-tools button{padding:8px 11px}.approved-dot-music[open]{position:relative;z-index:3;background:var(--restore-panel,#25241f)}.approved-dot-restoration .classical-reward{padding:4px 0}.approved-dot-finish{margin-top:6px}}
.approved-dot-confirm{position:fixed;z-index:40;left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom,0px));max-width:520px;margin:0 auto;background:#191917;color:#ede5d5;border:1px solid #c6aa7070;border-radius:8px;padding:18px 18px 12px;box-shadow:0 12px 40px #000c}.approved-dot-confirm p{margin:0 0 8px;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.5}.approved-dot-confirm button{min-height:48px;margin:6px 8px 0 0;padding:10px 16px;border:1px solid #6d5f45;border-radius:6px;background:#25241f;color:#ede5d5;font-size:calc(14px * var(--restore-text-scale,1))}.approved-dot-confirm button[data-dot-restart-keep]{background:#bda371;border-color:#bda371;color:#201e19;font-weight:600}/* Refinement 2026-10-11 — C-V12 first-use coach and C-V13 feedback at the finger. */
.approved-dot-coach{display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:10px 12px 10px 14px;border:1px solid var(--restore-line,#454136);border-left:2px solid var(--restore-gold,#bda371);border-radius:4px;background:var(--restore-panel,#25241f);transition:opacity .6s ease}
.approved-dot-coach>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.approved-dot-coach strong{font-size:calc(15px * var(--restore-text-scale,1));line-height:1.3;color:var(--restore-ink,#ede5d5)}.approved-dot-coach p{margin:0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#a9a49a)}
.approved-dot-coach button{flex-shrink:0;min-height:48px;min-width:64px;padding:0 14px;border:1px solid var(--restore-gold,#bda371);border-radius:4px;background:transparent;color:var(--restore-gold,#bda371);font-size:calc(13px * var(--restore-text-scale,1))}
.approved-dot-coach.is-fading{opacity:0}
.approved-dot-coach-ghost path{stroke:#9e762e;opacity:.7}.approved-dot-coach-finger{fill:#fffefa55;stroke:#8f7a52}.approved-dot-coach-handle{fill:#00000099;stroke:#fffdf3}.approved-dot-coach-ghost.is-ready .approved-dot-coach-handle{fill:#d3a348}.approved-dot-coach-ghost.is-ready .approved-dot-coach-finger{stroke:#d4b566;fill:#fff8e066}
.approved-dot-coach-pulse{fill:none;stroke:#bd943e;opacity:.85;transform-box:fill-box;transform-origin:center;animation:approved-dot-coach-pulse 1.6s ease-in-out infinite}
@keyframes approved-dot-coach-pulse{0%,100%{opacity:.85;transform:scale(1)}50%{opacity:.35;transform:scale(1.18)}}
.approved-dot-board.reduced-motion .approved-dot-coach-pulse{animation:none}
.approved-dot-rejection rect{fill:#191917f0;stroke:#c6aa70}.approved-dot-rejection text{fill:#ede5d5;font-family:Figtree,system-ui,sans-serif;font-weight:500}
.approved-dot-board:not(.reduced-motion) .approved-dot-rejection{animation:approved-dot-rejection-in .18s ease-out both}
@keyframes approved-dot-rejection-in{from{opacity:0}to{opacity:1}}
@media(max-height:520px) and (orientation:landscape){.approved-dot-coach{grid-column:2;margin:0}}
@media(prefers-reduced-motion:reduce){.approved-dot-coach-pulse,.approved-dot-rejection{animation:none!important}.approved-dot-coach{transition:none}}:where(:root[data-system-reduced-motion]) .approved-dot-coach-pulse,:where(:root[data-system-reduced-motion]) .approved-dot-rejection{animation:none!important}:where(:root[data-system-reduced-motion]) .approved-dot-coach{transition:none}
/* C-V13 (refinement 2026-10-11): on 320-360 px phones the chrome collapses while working so the board keeps at
   least half of the screen. Nothing is removed for good: the clue returns in the status line, music stays under ♪. */
@media(max-width:360px) and (max-height:700px) and (orientation:portrait){
 .approved-collection.restore-immersive:has(>.approved-dot-restoration)>.restore-topbar{min-height:40px;padding-top:2px;padding-bottom:2px}
 .approved-collection.restore-immersive:has(>.approved-dot-restoration)>.restore-topbar .restore-brand-wordmark{display:none}
 .approved-collection.restore-immersive:has(>.approved-dot-restoration)>.restore-chapter-score{padding-top:1px;padding-bottom:1px;font-size:calc(11px * var(--restore-text-scale,1));min-height:0}
 .approved-collection.restore-immersive>.approved-dot-restoration{overflow:auto;overscroll-behavior:contain}
 .approved-collection.restore-immersive .approved-dot-heading{min-height:40px;gap:8px}
 .approved-collection.restore-immersive .approved-dot-heading small{display:none}
 .approved-collection.restore-immersive .approved-dot-heading h2{font-size:calc(16px * var(--restore-text-scale,1))}
 .approved-collection.restore-immersive .approved-dot-observation{display:none}
 .approved-collection.restore-immersive .approved-dot-message{font-size:calc(11px * var(--restore-text-scale,1));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .approved-collection.restore-immersive .approved-dot-restoration>.classical-reward{display:none}
 .approved-collection.restore-immersive .approved-dot-tools button{padding:4px 5px;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.15}
 .approved-collection.restore-immersive .approved-dot-board{flex:0 0 auto;height:max(50dvh,284px);min-height:max(50dvh,284px)}
 .approved-collection.restore-immersive .approved-dot-coach{padding:8px 10px;gap:8px}.approved-collection.restore-immersive .approved-dot-coach p{font-size:calc(12px * var(--restore-text-scale,1))}
}
/* C-V14: in short landscape windows the music chip stays inside the heading row, clear of the region count. */
@media(max-height:540px) and (orientation:landscape){
 .approved-collection.restore-immersive .approved-dot-heading{min-height:36px}
 .approved-collection.restore-immersive .approved-dot-restoration>.classical-reward{top:3px;height:32px;min-height:32px;max-height:32px;overflow:hidden;flex-wrap:nowrap;white-space:nowrap;align-items:center}
 .approved-collection.restore-immersive .approved-dot-restoration>.classical-reward button{min-height:28px}
}
/* The coach card floats over the board, on the edge (or, on a wide board, the half) away from the dot it teaches:
   no layout shift, and touches pass through to the board except on its own button. Its position comes from the
   board's box (see coachStyle in approved-dot-restoration.tsx); .is-top anchors it by its top edge. */
.approved-dot-restoration{position:relative}
.approved-dot-restoration>.approved-dot-coach{position:absolute;z-index:4;margin:0;transform:translateY(-100%);pointer-events:none;box-shadow:0 8px 24px #0007;background:color-mix(in srgb,var(--restore-panel,#25241f) 95%,transparent)}
.approved-dot-restoration>.approved-dot-coach button{pointer-events:auto}
.approved-dot-restoration>.approved-dot-coach.is-top{transform:none}
@media(max-height:540px) and (orientation:landscape){.approved-collection.restore-immersive .approved-dot-restoration>.approved-dot-coach{grid-column:auto;margin:0}}

/* components/restore/approved-spatial-puzzle.css */
/* The geometry workspace owns the available display. Controls are safe-area
 * overlays; no header or toolbar subtracts height from the render surface. */
.approved-spatial{position:relative;flex:1;isolation:isolate;min-width:0;min-height:0;width:100%;height:100%;margin:0;padding:0;overflow:hidden;color:var(--restore-ink,#f3efe6);background:#141413}
.approved-spatial-board{position:absolute;inset:0;min-width:0;min-height:0;width:100%;height:100%;border:0;border-radius:0;overflow:hidden;background:#141413}
.approved-spatial-board canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab;outline-offset:-3px}
.approved-spatial-board[data-gesture=piece] canvas{cursor:move}.approved-spatial-board[data-gesture=holding] canvas{cursor:progress}.approved-spatial-board canvas:active{cursor:grabbing}
.approved-spatial button{box-sizing:border-box;min-width:48px;min-height:48px;padding:10px 12px;border:1px solid var(--restore-line,#655d4b);border-radius:7px;background:var(--restore-panel,#191917);color:var(--restore-ink,#f3efe6);font:500 calc(.8125rem * var(--restore-text-scale,1))/1.35 var(--font-sans,Arial,sans-serif);touch-action:manipulation}
.approved-spatial button:disabled{opacity:.38;cursor:default}.approved-spatial button:focus-visible{outline:2px solid var(--restore-gold,#c6aa70);outline-offset:3px}
.approved-spatial-heading{position:absolute;z-index:6;top:max(8px,env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));display:flex;align-items:center;gap:8px;min-width:0;padding:6px 8px;border:1px solid #655d4b60;border-radius:10px;background:#191917e8;pointer-events:none}
.approved-spatial-heading>div:first-of-type{flex:1;min-width:0}.approved-spatial-heading button,.approved-spatial-heading .spatial-performance-panel{pointer-events:auto}
.approved-spatial-heading h2{font:500 clamp(1rem,2vw,1.25rem)/1.25 var(--font-serif,Georgia,serif);margin:0 0 3px;overflow-wrap:anywhere}
.approved-spatial-heading strong{display:block;font:500 calc(.75rem * var(--restore-text-scale,1))/1.4 var(--font-sans,Arial,sans-serif);color:var(--restore-muted,#b8b3a8)}
.approved-spatial-heading .approved-spatial-exit{flex:none;width:48px;padding:0;font-size:calc(1.5rem * (1 + (var(--restore-text-scale,1) - 1) * 0.75));border-color:transparent;background:transparent}
.approved-spatial-header-actions{display:flex;align-items:center;gap:6px;flex:none}
.approved-spatial-heading .spatial-performance-toggle{width:48px;min-height:48px!important}
.approved-spatial .approved-spatial-heading .spatial-performance-close{width:48px;min-width:48px;min-height:48px}
.approved-spatial .spatial-performance-panel{max-height:min(60dvh,calc(100dvh - var(--spatial-heading-bottom,78px) - var(--spatial-footer-height,74px) - 24px));overflow:auto;scrollbar-width:thin;overscroll-behavior:contain}
.approved-spatial .spatial-performance-panel h3{margin-right:48px;overflow-wrap:anywhere}
.approved-spatial-quick{position:absolute;z-index:4;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:max(8px,env(safe-area-inset-bottom));display:flex;align-items:stretch;gap:6px;margin:0;padding:6px;border:1px solid #655d4b60;border-radius:10px;background:#191917eb;max-height:35%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
/* Intrinsic word width wins over equal zero-basis columns. Whole labels may
 * wrap at spaces; long translations and enlarged type can scroll the tray. The
 * extra scope also beats the later global luxury button padding/font rules. */
.approved-spatial .approved-spatial-quick button{flex:1 0 min-content;min-width:48px;min-height:48px;padding:7px 6px;font-size:calc(.75rem * var(--restore-text-scale,1));white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none}
.approved-spatial-board .motion-view-controls{top:calc(var(--spatial-heading-bottom,78px) + 8px);left:max(8px,env(safe-area-inset-left));max-width:min(240px,65%);z-index:4;font-size:calc(.75rem * var(--restore-text-scale,1))}
.approved-spatial-board .motion-view-controls>button{min-width:48px;min-height:48px}
.approved-spatial-board>.approved-spatial-loading,.approved-spatial-board>.approved-spatial-failed{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;margin:0;padding:90px 24px;background:#141413;color:#eee8dc;text-align:center;font:calc(1.1rem * var(--restore-text-scale,1))/1.5 var(--font-serif,Georgia,serif)}
.approved-spatial-board>.approved-spatial-touch-status{position:absolute;inset:auto max(12px,env(safe-area-inset-right)) calc(var(--spatial-footer-height,74px) + 10px) max(12px,env(safe-area-inset-left));display:block;margin:0;padding:7px 10px;border-radius:7px;background:#141413e6;color:#eee8dc;text-align:center;font:calc(.75rem * var(--restore-text-scale,1))/1.4 var(--font-sans,Arial,sans-serif);pointer-events:none}
.approved-spatial-touch-status:empty{display:none!important}
.approved-spatial-board>.approved-spatial-turn-guides{position:absolute;inset:0;display:block;padding:0;background:transparent;pointer-events:none;overflow:hidden}
.approved-spatial-turn-attachments{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}.approved-spatial-turn-attachments line{stroke:#b4965d;stroke-width:1;opacity:.7;vector-effect:non-scaling-stroke}
.approved-spatial .approved-spatial-turn-guides button{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);box-sizing:border-box;width:48px;height:48px;min-width:48px;min-height:48px;max-width:48px;max-height:48px;padding:0;border-radius:50%;background:#141413e8;color:#e7c98b;border:1px solid #b4965d80;font:calc(25px * (1 + (var(--restore-text-scale,1) - 1) * 0.72))/1 Arial,sans-serif;pointer-events:auto;touch-action:manipulation}
.approved-spatial .approved-spatial-turn-guides button:active{background:#443b29}
.approved-spatial .approved-spatial-frame-selected{position:absolute;top:calc(var(--spatial-heading-bottom,78px) + 8px);right:max(8px,env(safe-area-inset-right));z-index:3;max-width:min(220px,31%);min-height:48px;padding:7px 9px;background:#191917e8;color:#e7c98b;font-size:calc(.75rem * var(--restore-text-scale,1))}
.approved-spatial-guide{position:absolute;z-index:7;top:calc(var(--spatial-heading-bottom,78px) + 8px);bottom:calc(var(--spatial-footer-height,74px) + 8px);left:50%;transform:translateX(-50%);width:min(350px,calc(100% - 28px));height:max-content;max-height:calc(100% - var(--spatial-heading-bottom,78px) - var(--spatial-footer-height,74px) - 20px);padding:16px 18px;border:1px solid #a18a5c80;border-radius:10px;background:#191916f5;color:#eee8dc;box-shadow:0 10px 35px #0006;overflow:auto;overscroll-behavior:contain}
.approved-spatial-eyebrow,.approved-spatial-camera>span,.approved-spatial-placement>span{font:500 calc(.625rem * var(--restore-text-scale,1))/1.5 var(--font-sans,Arial,sans-serif);letter-spacing:.12em;color:var(--restore-muted,#b8b3a8)}
.approved-spatial-guide h3{font:500 calc(1.5rem * (1 + (var(--restore-text-scale,1) - 1) * 0.75))/1.2 var(--font-serif,Georgia,serif);margin:5px 0 12px}.approved-spatial-guide p{font:calc(.8125rem * var(--restore-text-scale,1))/1.5 var(--font-sans,Arial,sans-serif);margin:9px 0}.approved-spatial-guide b{font-weight:500;color:#e6c98d}.approved-spatial-guide button{width:100%;margin:10px 0 7px;background:#dac28b;color:#171610;border-color:#dac28b}.approved-spatial-guide small{display:block;font:calc(.6875rem * var(--restore-text-scale,1))/1.4 var(--font-sans,Arial,sans-serif);color:#bcb5a8}
.approved-spatial-tools{position:absolute;z-index:8;right:max(8px,env(safe-area-inset-right));bottom:calc(var(--spatial-footer-height,74px) + 10px);width:min(380px,calc(100% - 16px));max-height:45%;min-width:0;min-height:0;margin:0;padding:14px;border:1px solid var(--restore-line,#655d4b);border-radius:10px;background:var(--restore-panel,#191917);box-shadow:0 12px 35px #0008;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.approved-spatial-tray-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:calc(.75rem * var(--restore-text-scale,1))}.approved-spatial-tray-heading button{min-height:48px;font-size:calc(.75rem * var(--restore-text-scale,1));padding:7px}
.approved-spatial-legacy{background:var(--restore-elevated,#191917);border-left:2px solid var(--restore-gold,#c6aa70);padding:10px 12px;font-size:calc(.75rem * var(--restore-text-scale,1));line-height:1.5;margin:0 0 12px}
.approved-spatial-camera,.approved-spatial-placement{border-bottom:1px solid var(--restore-line,#655d4b);padding-bottom:12px;margin-bottom:14px}
.approved-spatial-views{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 0}.approved-spatial-views button,.approved-spatial-controls button{min-height:48px;padding:7px;font-size:calc(.75rem * var(--restore-text-scale,1))}
.approved-spatial-select{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.approved-spatial-select button{flex:1 0 48px;min-width:48px;min-height:48px;padding:6px}
.approved-spatial-select [aria-pressed=true]{background:var(--restore-gold,#c6aa70);color:#141413;border-color:var(--restore-gold,#c6aa70)}
.approved-spatial-group{font-size:calc(.75rem * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#b8b3a8);margin:-4px 0 14px}.approved-spatial-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 0}
.approved-spatial-tools>.approved-primary{width:100%;background:var(--restore-gold,#c6aa70);color:#141413;border-color:var(--restore-gold,#c6aa70)}
.approved-spatial-actions,.approved-spatial-difficulty{display:grid;grid-template-columns:1fr;gap:6px;margin:12px 0}.approved-spatial-difficulty [aria-pressed=true]{border-color:var(--restore-gold,#c6aa70)}
.approved-spatial-confirm{margin:14px 0;padding:14px;border:1px solid var(--restore-line,#655d4b);background:var(--restore-elevated,#191917);font-size:calc(.8125rem * var(--restore-text-scale,1));line-height:1.5}.approved-spatial-confirm button{margin:4px 4px 0 0}
.approved-spatial-cap-note{font-size:calc(.75rem * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#b8b3a8);margin-top:20px}.approved-spatial-cap-note summary{cursor:pointer;min-height:48px;padding:10px 0}
.approved-spatial-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:700px) and (max-height:600px){.approved-spatial-tools{top:calc(var(--spatial-heading-bottom,78px) + 8px);bottom:calc(var(--spatial-footer-height,74px) + 10px);max-height:none;width:min(340px,40%)}.approved-spatial-quick{left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.approved-spatial-guide{padding:10px 16px}.approved-spatial-guide h3{font-size:calc(1.125rem * var(--restore-text-scale,1));margin:3px 0 6px}.approved-spatial-guide p{margin:5px 0}}
@media(prefers-reduced-motion:reduce){.approved-spatial *{animation:none!important;transition:none!important}}:where(:root[data-system-reduced-motion]) .approved-spatial *{animation:none!important;transition:none!important}

/* components/restore/chapter-learning.css */
.chapter-learning { color: var(--restore-ink,#f3eadc); width:100%; max-width:740px; margin:0 auto; padding:0 0 20px; }
.chapter-learning header { margin-bottom:18px; }
.chapter-learning h2 { font-size:calc(clamp(23px,5vw,32px) * (1 + (var(--restore-text-scale,1) - 1) * 0.563)); line-height:1.2; margin:6px 0 12px; }
.chapter-learning h3 { font-size:calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857)); line-height:1.35; margin:8px 0 20px; }
.chapter-learning p { line-height:1.55; }
.chapter-learning header p:last-child { color:var(--restore-muted,#beb5a5); font-size:calc(15px * var(--restore-text-scale,1)); }
.chapter-learning-eyebrow { font-size:calc(11px * var(--restore-text-scale,1)); text-transform:uppercase; letter-spacing:1.5px; color:var(--restore-gold,#d2b57c); margin:0; }
.chapter-learning-progress { display:flex; justify-content:space-between; gap:12px; padding:13px 0; border-top:1px solid var(--restore-line,#454039); font-size:calc(14px * var(--restore-text-scale,1)); }
.chapter-learning button { min-height:48px; color:var(--restore-ink,#f3eadc); background:var(--restore-panel,#292520); border:1px solid var(--restore-line,#514b41); border-radius:9px; padding:12px; font:inherit; cursor:pointer; touch-action:manipulation; }
.chapter-learning button:disabled { opacity:.45; cursor:default; }
.chapter-learning button:focus-visible { outline:3px solid #dfc68e; outline-offset:3px; }
.chapter-learning button[aria-pressed=true] { border-color:var(--restore-gold,#d2b57c); box-shadow:inset 0 0 0 2px var(--restore-gold,#d2b57c); }
.chapter-learning .chapter-learning-primary { background:var(--restore-gold,#d2b57c); color:#211b13; font-weight:650; width:100%; margin:10px 0; }
.chapter-color-board { background:var(--restore-board,#d5c5a9); border:1px solid var(--restore-line,#514b41); border-radius:12px; overflow:hidden; padding:8px; }
.chapter-color-board > svg { display:block; width:100%; height:auto; }
.chapter-color-regions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:14px 0; }
.chapter-color-regions button { font-size:calc(12px * var(--restore-text-scale,1)); display:flex; flex-direction:column; gap:5px; align-items:center; padding:8px 4px; min-height:62px; overflow-wrap:anywhere; }
.chapter-color-regions button span { font-size:calc(17px * var(--restore-text-scale,1)); color:var(--restore-gold,#d2b57c); }
.chapter-color-selected { font-size:calc(14px * var(--restore-text-scale,1)); margin:12px 0; }
.chapter-color-palette { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; }
.chapter-learning .chapter-color-palette button { display:flex; flex-direction:column; align-items:center; gap:8px; padding:7px 4px; min-height:85px; }
.chapter-color-palette button span { display:block; width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.5); }
.chapter-color-palette small { font-size:calc(10px * var(--restore-text-scale,1)); line-height:1.2; overflow-wrap:anywhere; }
.chapter-learning-message { background:var(--restore-panel,#292520); border:1px solid var(--restore-line,#514b41); border-radius:9px; padding:12px; font-size:calc(14px * var(--restore-text-scale,1)); min-height:48px; }
.chapter-learning-clue { border-left:3px solid var(--restore-gold,#d2b57c); padding:4px 0 4px 12px; font-size:calc(14px * var(--restore-text-scale,1)); }
.chapter-learning-actions { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.chapter-learning-actions button { flex:1; font-size:calc(13px * var(--restore-text-scale,1)); min-width:100px; }
.chapter-learning-footnote { color:var(--restore-muted,#beb5a5); font-size:calc(11px * var(--restore-text-scale,1)); margin:12px 0 0; }
.chapter-quiz-look { width:100%; margin-bottom:14px; }
.chapter-quiz-art { display:block; max-height:390px; max-width:100%; margin:0 auto 18px; border-radius:8px; object-fit:contain; }
.chapter-quiz-question { margin:18px 0; }
.chapter-quiz-options { display:grid; gap:10px; }
.chapter-quiz-options button { display:flex; align-items:center; text-align:left; gap:13px; min-height:62px; width:100%; line-height:1.3; font-size:calc(15px * var(--restore-text-scale,1)); }
.chapter-quiz-options button span { flex:0 0 26px; color:var(--restore-gold,#d2b57c); font-size:calc(13px * var(--restore-text-scale,1)); }
.chapter-quiz-options button strong { font-size:calc(10px * var(--restore-text-scale,1)); margin-left:auto; }
.chapter-quiz-options button.chapter-quiz-correct { opacity:1; border-color:#9aac7d; background:#263022; }
.chapter-quiz-options button.chapter-quiz-incorrect { opacity:1; border:2px solid #d0715f; background:#3b1f1a; color:#f6ddd6; }
.chapter-quiz-options button.chapter-quiz-incorrect strong { color:#f3a796; font-size:calc(11px * var(--restore-text-scale,1)); letter-spacing:.02em; }
.chapter-quiz-options button.chapter-quiz-correct strong { color:#c9dcae; font-size:calc(11px * var(--restore-text-scale,1)); }
.chapter-quiz-options button:disabled:not(.chapter-quiz-correct):not(.chapter-quiz-incorrect) { opacity:.55; }
.chapter-quiz-explanation[data-quiz-result="incorrect"] { border-left:4px solid #d0715f; }
.chapter-quiz-explanation[data-quiz-result="correct"] { border-left:4px solid #9aac7d; }
.chapter-quiz-explanation .chapter-quiz-cost { margin:4px 0 8px; font-size:calc(12px * var(--restore-text-scale,1)); color:#f3a796; }
.chapter-quiz-explanation { background:var(--restore-panel,#292520); border-radius:10px; padding:15px; margin-top:18px; font-size:calc(14px * var(--restore-text-scale,1)); }
.chapter-quiz-explanation p { margin:7px 0 12px; }
.chapter-quiz-explanation a { display:block; color:var(--restore-gold,#d2b57c); font-size:calc(12px * var(--restore-text-scale,1)); overflow-wrap:anywhere; margin-bottom:12px; }
.chapter-quiz-score { font-size:calc(42px * (1 + (var(--restore-text-scale,1) - 1) * 0.429)); color:var(--restore-gold,#d2b57c); margin:10px 0; }
.chapter-quiz-review { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.chapter-quiz-review button { font-size:calc(13px * var(--restore-text-scale,1)); text-align:left; }
@media(max-width:380px) { .chapter-color-palette { grid-template-columns:repeat(3,minmax(0,1fr)); } .chapter-color-regions { gap:5px; } }
@media(prefers-reduced-motion:no-preference) {:where(:root:not([data-system-reduced-motion])) .chapter-learning button{ transition:border-color .15s,background-color .15s; }}
/* 2.1.41 (Fix 6): the next step after an answer stays in reach at the bottom of the screen. */
.chapter-quiz .chapter-quiz-next{position:sticky;bottom:0;z-index:3;margin:10px 0 0;padding:10px 0 max(6px,env(safe-area-inset-bottom));background:linear-gradient(to bottom,transparent,var(--restore-bg,#0d0d0c) 28%)}
.chapter-quiz .chapter-quiz-next .chapter-learning-primary{margin:0;min-height:56px;font-size:calc(16px * var(--restore-text-scale,1))}
.chapter-quiz [data-quiz-position]{font-weight:650}

/* app/collection-design.css */
/* Faithful production adaptation of MagicPath RESTORE luxury component 456694321295560704,
   final revision 456704662331097088. The existing routes/journals and phone-sized controls remain native
   to this app. Existing SIL OFL Fraunces/Figtree; artwork pixels retain their original colors. */
:root{--restore-bg:#0d0d0c;--restore-panel:#191917;--restore-elevated:#22221e;--restore-ink:#f3efe6;--restore-muted:#bab6ab;--restore-gold:#c6aa70;--restore-line:#48463d;--restore-board:#e9e0cf;--restore-board-ink:#302d25;--restore-paper:var(--restore-panel);--md-sys-color-surface:#0d0d0c;--md-sys-color-on-surface:#f3efe6;--md-sys-color-on-surface-variant:#bab6ab;--md-sys-color-primary:#c6aa70;--md-sys-color-on-primary:#17140e;--md-sys-color-surface-container:#191917;--md-sys-color-surface-container-high:#22221e}
html,body,.approved-game{background:var(--restore-bg);color:var(--restore-ink)}
.restore-luxury,.restore-settings{font-family:Figtree,Arial,sans-serif;color:var(--restore-ink);font-size:calc(15px * var(--restore-text-scale,1));line-height:1.5}
.restore-luxury :is(h1,h2,h3),.restore-settings :is(h1,h2,h3){font-family:Fraunces,Georgia,serif;font-variation-settings:"SOFT" 0,"WONK" 0;font-optical-sizing:auto;font-weight:500;letter-spacing:-.025em;color:var(--restore-ink)}
.restore-luxury h1{font-size:calc(clamp(30px,4vw,54px) * (1 + (var(--restore-text-scale,1) - 1) * 0.333));line-height:1.08}.restore-luxury h2{font-size:calc(clamp(25px,3vw,36px) * (1 + (var(--restore-text-scale,1) - 1) * 0.5));line-height:1.15}.restore-luxury h3{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818));line-height:1.2}
.restore-luxury :is(button,input,select),.restore-settings :is(button,input,select){font-family:Figtree,Arial,sans-serif}
.approved-collection.restore-luxury{background:var(--restore-bg);color:var(--restore-ink)}
.restore-luxury button,.restore-settings button{min-height:48px;border:1px solid var(--restore-line);border-radius:8px;background:var(--restore-panel);color:var(--restore-ink);padding:11px 16px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.3;font-weight:500;transition:background-color .16s,border-color .16s}
.restore-luxury button:hover,.restore-settings button:hover{background:var(--restore-elevated);border-color:var(--restore-gold)}
.restore-luxury button:disabled,.restore-settings button:disabled{opacity:.5;cursor:default}
.restore-luxury :is(button,input,select,summary,a,[role=button]):focus-visible,.restore-settings :is(button,input,summary,a):focus-visible{outline:2px solid var(--restore-gold);outline-offset:4px}
.restore-luxury .approved-primary,.restore-settings .approved-primary,.restore-luxury .approved-dot-finish{background:var(--restore-gold);color:#17140e;border-color:var(--restore-gold);font-weight:650;display:inline-flex;align-items:center;justify-content:space-between;gap:30px;min-height:52px}
.restore-luxury .approved-primary:hover,.restore-luxury .approved-dot-finish:hover{background:#d7bd86}
.restore-topbar{background:var(--restore-bg);border-bottom:1px solid #34332d;padding:14px max(22px,env(safe-area-inset-left));min-height:82px;gap:12px}
.restore-topbar .restore-wordmark{padding:0;min-height:48px;border:0;background:transparent;font:500 calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))/1.1 Fraunces,Georgia,serif;letter-spacing:.12em;color:var(--restore-gold);text-align:left}
.restore-wordmark .restore-brand-tagline{display:block;font:400 calc(10px * var(--restore-text-scale,1))/1.4 Figtree,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--restore-muted);margin-top:4px}
.restore-topbar .approved-settings-button{min-width:48px;margin-left:auto;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));background:transparent;border-color:#3f3e34}
.restore-topbar .restore-header-back{margin-left:auto;background:transparent}.restore-topbar .restore-header-back+.approved-settings-button{margin-left:0}
.restore-navigation{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom));background:#11110f;border-top:1px solid #34332d;flex-shrink:0;z-index:5}
.restore-navigation button{flex:1;max-width:220px;background:transparent;border-color:transparent;border-radius:6px;color:var(--restore-muted);padding:10px 8px;min-height:48px}
.restore-navigation button[aria-current=page]{color:var(--restore-gold);background:var(--restore-panel);border-color:#62573d}
.restore-nav-count{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;width:18px;height:18px;background:var(--restore-gold);border-radius:50%;font-size:calc(11px * var(--restore-text-scale,1));color:#17140e}
.restore-menu{overflow:auto;min-height:0;flex:1;padding:36px max(22px,env(safe-area-inset-left)) 52px;scrollbar-color:#62573d transparent}
.restore-home-heading,.restore-home-feature,.restore-menu-note,.restore-page-heading,.restore-work-grid,.restore-search,.restore-empty{width:min(100%,1080px);margin-left:auto;margin-right:auto}
.restore-home-heading{margin-bottom:36px}.restore-home-heading h1{margin:12px 0 16px}.restore-home-heading>p:last-child{color:var(--restore-muted);max-width:560px;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.7}
.restore-eyebrow{color:var(--restore-gold);font-size:calc(10px * var(--restore-text-scale,1))!important;font-weight:600;letter-spacing:.18em;text-transform:uppercase;line-height:1.7;margin:0 0 12px}
.restore-home-feature{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);border:1px solid var(--restore-line);background:var(--restore-panel);border-radius:12px;overflow:hidden}
.restore-home-feature figure,.restore-detail-intro figure,.restore-hub-intro figure{position:relative;margin:0;background:#11110f;overflow:hidden}
.restore-home-feature img{width:100%;height:100%;min-height:330px;max-height:480px;object-fit:contain;display:block}.restore-home-feature figcaption,.restore-detail-intro figcaption,.restore-hub-intro figcaption{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted);background:#11110f;padding:8px 12px;margin:0}
.restore-feature-copy{padding:38px 36px;align-self:center}.restore-feature-copy h2{margin:12px 0}.restore-feature-copy>p:not(.restore-eyebrow){color:var(--restore-muted)}
.restore-progress-label{display:block;font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-gold);margin:24px 0 14px}.restore-feature-copy .approved-primary{width:100%}.restore-feature-copy .restore-feature-note{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;margin:14px 0 0}
.restore-menu-note{padding:42px 0 0;max-width:1080px}.restore-menu-note h2{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.restore-menu-note>p:not(.restore-eyebrow){max-width:600px;color:var(--restore-muted)}.restore-menu-note button{background:transparent;margin-top:8px}
.restore-page-heading{margin-bottom:25px}.restore-page-heading h1{margin:10px 0 14px}.restore-page-heading>p:last-child{color:var(--restore-muted);max-width:650px}
.restore-search{display:block;margin-bottom:26px;max-width:1080px}.restore-search span{display:block;color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1));margin-bottom:6px}.restore-search input{display:block;width:min(100%,460px);min-height:48px;border:1px solid var(--restore-line);background:var(--restore-panel);color:var(--restore-ink);border-radius:8px;padding:12px 14px;font-size:calc(14px * var(--restore-text-scale,1))}.restore-search input::placeholder{color:#aaa69b}
.restore-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.restore-luxury .restore-work-card{padding:0;overflow:hidden;text-align:left;border:1px solid #3d3c34;border-radius:10px;display:flex;flex-direction:column;background:var(--restore-panel);min-width:0;align-items:stretch}
.restore-work-image{height:265px;width:100%;position:relative;background:#11110f}.restore-work-image img{height:100%;width:100%;object-fit:cover;display:block}.restore-earned-mark{position:absolute;left:12px;bottom:12px;background:#10100fdd;color:var(--restore-gold);border:1px solid #7a6847;padding:4px 8px;font-size:calc(11px * var(--restore-text-scale,1));border-radius:4px}
.restore-card-copy{padding:19px 18px 20px}.restore-card-copy h3{margin:0 0 8px;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.restore-card-copy p{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted);margin:0 0 20px}.restore-card-copy>span{display:block;font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-gold)}
.restore-empty{padding:30px 0;color:var(--restore-muted)}.restore-empty button{margin-top:18px}
.restore-luxury .approved-chapter{width:100%;padding:28px max(22px,env(safe-area-inset-left)) 44px}.approved-chapter>*{max-width:1060px;margin-left:auto;margin-right:auto}
.restore-detail-intro{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:40px;align-items:center}.restore-detail-intro img{display:block;width:100%;max-height:560px;object-fit:contain}.restore-detail-intro h1{margin:10px 0 15px}.restore-detail-artist{color:var(--restore-muted)}.restore-detail-intro .approved-primary{margin:18px 0}.restore-subtle{color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6}
.restore-knowledge{border-top:1px solid var(--restore-line);padding:32px 0 0;margin-top:34px}.restore-knowledge h2{margin:10px 0 24px}.restore-note-kind{font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.14em;color:var(--restore-gold);text-transform:uppercase}.restore-fact-caption{font-size:calc(17px * var(--restore-text-scale,1));line-height:1.7;max-width:780px}.restore-note-sources{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted);display:flex;gap:10px;flex-wrap:wrap}.restore-knowledge a{color:var(--restore-gold);text-underline-offset:3px}.restore-knowledge details{margin-top:24px}.restore-metadata{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.restore-metadata dt{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted)}.restore-metadata dd{margin:4px 0;font-size:calc(14px * var(--restore-text-scale,1))}
.restore-hub-intro{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;align-items:center}.restore-hub-intro h1{font-size:calc(42px * (1 + (var(--restore-text-scale,1) - 1) * 0.429));margin:12px 0}.restore-hub-intro>div>p:not(.restore-eyebrow){color:var(--restore-muted)}.restore-hub-intro figure{border:1px solid var(--restore-line);border-radius:10px}.restore-hub-intro img{display:block;width:100%;height:260px;object-fit:contain}
.restore-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}.restore-luxury .restore-activity{display:grid;grid-template-columns:38px 1fr 16px;gap:14px;padding:22px;text-align:left;align-items:start;min-height:150px}.restore-activity-icon{font:400 calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643))/1.1 Georgia,serif;color:var(--restore-gold)}.restore-activity strong{display:block;font:450 calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))/1.2 Fraunces,Georgia,serif}.restore-activity small{display:block;font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-muted);line-height:1.5;margin-top:9px}.restore-activity em{display:block;color:var(--restore-gold);font-size:calc(11px * var(--restore-text-scale,1));font-style:normal;margin-top:16px}.restore-activity>span:last-child{color:var(--restore-gold)}.restore-secondary-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.restore-luxury .approved-view canvas{background:#141413;border-radius:10px;border:1px solid var(--restore-line)}.restore-luxury .approved-view>p[role=status],.restore-luxury .approved-view>div[role=alert]{background:var(--restore-panel);border:1px solid var(--restore-line);color:var(--restore-ink)}.restore-luxury .approved-view-tools{gap:8px}.restore-luxury .approved-caption{color:var(--restore-muted)}
.restore-luxury .classical-reward{background:var(--restore-panel);border:1px solid #444035;border-radius:8px;padding:12px 14px;color:var(--restore-ink);max-width:1060px}.restore-luxury .classical-reward small{color:var(--restore-gold);margin-left:6px}.restore-luxury .classical-reward span{font-size:calc(12px * var(--restore-text-scale,1))}.restore-luxury .classical-reward button{min-height:44px;background:transparent;margin-left:auto}
.restore-luxury .approved-dot-restoration{color:var(--restore-ink);max-width:780px}.restore-luxury .approved-dot-heading small{color:var(--restore-muted)}.restore-luxury .approved-dot-board{border-color:#72654d;background:var(--restore-board);border-radius:10px}.restore-luxury .approved-dot-message{color:var(--restore-muted)}.restore-luxury .approved-dot-tools button{border-radius:8px;color:var(--restore-ink);background:var(--restore-panel);border-color:var(--restore-line)}.restore-luxury .approved-dot-music .classical-settings,.restore-luxury .classical-settings{background:var(--restore-panel);color:var(--restore-ink);border-color:var(--restore-line)}.restore-luxury .approved-dot-music{color:var(--restore-muted)}.restore-luxury .approved-dot-restoration progress{accent-color:var(--restore-gold)}
.restore-luxury .approved-study-board{background:var(--restore-board);border:1px solid #72654d;border-radius:10px}.restore-luxury .approved-study-tools p,.restore-luxury .approved-study-status{color:var(--restore-muted)}.restore-luxury .approved-study-board text{fill:var(--restore-board-ink)}
.restore-settings{border:1px solid var(--restore-line)!important;background:var(--restore-panel)!important;color:var(--restore-ink)!important;border-radius:12px!important;max-height:88dvh;overflow:auto;max-width:560px}.restore-settings p{color:var(--restore-muted)}.restore-settings h2{font-size:calc(31px * (1 + (var(--restore-text-scale,1) - 1) * 0.581))}.restore-settings h3{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818));margin:12px 0}.restore-settings a{color:var(--restore-gold)}.restore-preference-group{padding:12px 0 20px;border-bottom:1px solid var(--restore-line)}.restore-settings input[type=checkbox]{accent-color:var(--restore-gold);width:22px;height:22px}.restore-settings input[type=range]{accent-color:var(--restore-gold);width:100%;min-height:36px}.restore-range{display:block;margin:12px 0;font-size:calc(13px * var(--restore-text-scale,1))}.restore-range output{float:right;color:var(--restore-gold)}.restore-range input{display:block;clear:both}.restore-settings .classical-settings{position:static;background:transparent;padding:12px 0;border:0;display:block}.restore-settings .classical-settings label{display:block;padding:6px 0}.restore-settings .classical-settings small{display:block;color:var(--restore-muted);font-size:calc(11px * var(--restore-text-scale,1))}.restore-settings summary{cursor:pointer;padding:14px 0;min-height:48px}.restore-reset-link{margin-top:20px!important;color:var(--restore-muted)!important}.restore-reset-confirm{padding:14px;border:1px solid var(--restore-line);border-radius:8px}.restore-reset-confirm button{margin-right:8px}.approved-system-message{background:var(--restore-panel);color:var(--restore-ink);border:1px solid var(--restore-line);box-shadow:0 4px 22px #0009;z-index:150}.approved-system-message button{background:transparent;color:var(--restore-ink);border:0}.approved-save-error{background:#3a3120;color:#f3e4c3}
.restore-luxury[data-reduced-motion=true] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(min-width:1050px){.restore-navigation{gap:20px;padding-top:10px;padding-bottom:10px}.restore-navigation button{max-width:165px}.restore-menu{padding-top:50px}}
@media(max-width:700px){.restore-topbar{min-height:73px;padding:10px 18px}.restore-topbar .restore-wordmark{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}.restore-menu{padding:25px 20px 32px}.restore-home-heading{margin-bottom:24px}.restore-home-heading h1{font-size:calc(38px * (1 + (var(--restore-text-scale,1) - 1) * 0.474))}.restore-home-heading>p:last-child{font-size:calc(14px * var(--restore-text-scale,1))}.restore-home-feature{display:flex;flex-direction:column}.restore-home-feature img{min-height:0;height:245px;object-fit:cover}.restore-feature-copy{padding:25px 24px;width:100%}.restore-feature-copy h2{font-size:calc(32px * (1 + (var(--restore-text-scale,1) - 1) * 0.563))}.restore-feature-copy .restore-eyebrow{font-size:calc(9px * var(--restore-text-scale,1))!important}.restore-progress-label{margin-top:20px}.restore-menu-note{padding-top:30px}.restore-menu-note h2{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.restore-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.restore-work-image{height:190px}.restore-card-copy{padding:14px 12px}.restore-card-copy h3{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))}.restore-card-copy p{font-size:calc(11px * var(--restore-text-scale,1));line-height:1.4;margin-bottom:14px}.restore-card-copy>span{font-size:calc(10px * var(--restore-text-scale,1));line-height:1.5}.restore-page-heading h1{font-size:calc(38px * (1 + (var(--restore-text-scale,1) - 1) * 0.474))}.restore-detail-intro{display:flex;flex-direction:column;gap:24px;align-items:stretch}.restore-detail-intro img{max-height:340px}.restore-detail-intro h1{font-size:calc(36px * (1 + (var(--restore-text-scale,1) - 1) * 0.5))}.restore-luxury .approved-chapter{padding:23px 20px 32px}.restore-hub-intro{display:flex;flex-direction:column-reverse;align-items:stretch;gap:23px}.restore-hub-intro img{height:220px}.restore-hub-intro h1{font-size:calc(35px * (1 + (var(--restore-text-scale,1) - 1) * 0.514))}.restore-activity-grid{grid-template-columns:1fr;gap:12px;margin-top:23px}.restore-luxury .restore-activity{padding:20px;min-height:135px}.restore-knowledge{padding-top:25px}.restore-fact-caption{font-size:calc(16px * var(--restore-text-scale,1))}.restore-metadata{grid-template-columns:1fr}.restore-navigation{gap:1px}.restore-navigation button{font-size:calc(12px * var(--restore-text-scale,1));max-width:none;padding:10px 5px}.restore-nav-count{margin-left:3px;width:16px;height:16px;font-size:calc(10px * var(--restore-text-scale,1))}}
@media(max-height:540px) and (orientation:landscape){.restore-topbar{min-height:58px;padding:5px 18px}.restore-topbar .restore-wordmark{font-size:calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857))}.restore-wordmark .restore-brand-tagline{display:none}.restore-navigation{padding-top:3px;padding-bottom:3px}.restore-navigation button{min-height:44px}.restore-menu{padding-top:25px}.restore-home-feature img{max-height:330px}.restore-luxury .approved-dot-restoration{max-width:1100px}.restore-luxury .approved-dot-board{height:calc(100dvh - 220px);min-height:210px}.restore-hub-intro img{height:200px}}
@media(prefers-reduced-motion:reduce){.restore-luxury *,.restore-settings *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}:where(:root[data-system-reduced-motion]) .restore-luxury *,:where(:root[data-system-reduced-motion]) .restore-settings *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
.restore-mosaic-difficulty{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1))}.restore-mosaic-difficulty button{min-height:48px}.restore-mosaic-difficulty button[aria-pressed=true]{border-color:var(--restore-gold);color:var(--restore-gold)}.restore-luxury .approved-study{overflow:hidden}
/* Persistent presentation directions share navigation and geometry, not their atmosphere. */
@media(max-width:700px){.restore-home-heading h1{font-size:calc(33px * (1 + (var(--restore-text-scale,1) - 1) * 0.545))}.restore-home-heading{margin-bottom:20px}.restore-home-feature img{height:200px}.restore-feature-copy{padding:20px 24px}.restore-home-heading>p:last-child{line-height:1.6}.restore-progress-label{margin-top:16px}}
.restore-luxury[data-design-direction=gallery]{--restore-bg:#f4efe5;--restore-panel:#fcf8f0;--restore-elevated:#ece5d8;--restore-ink:#282923;--restore-muted:#646258;--restore-gold:#806537;--restore-line:#bdb4a2}
.restore-luxury[data-design-direction=gallery] .restore-navigation,.restore-luxury[data-design-direction=gallery] .restore-home-feature figure,.restore-luxury[data-design-direction=gallery] figcaption{background:#ece5d8}
.restore-luxury[data-design-direction=gallery] .approved-primary{color:#fcf8f0}
.restore-luxury[data-design-direction=luxury]{--restore-presentation-floor:#151510}
.restore-luxury[data-design-direction=cinematic]{--restore-bg:#101c27;--restore-black:#101c27;--restore-panel:#17232d;--restore-elevated:#263541;--restore-ink:#eef3f5;--restore-muted:#bac8ce;--restore-gold:#d3e7ee;--restore-line:#5b707c;--restore-presentation-floor:#14242f;--restore-scene-rgb:108 128 140}

/* An earned original painting dissolves into the exact supplied geometry. No sprite is labelled 3D. */
.restore-cinematic-reveal .restore-reveal-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.restore-reveal-heading h1{margin:0;font-size:calc(clamp(29px,4vw,46px) * (1 + (var(--restore-text-scale,1) - 1) * 0.391))}.restore-reveal-heading button{flex-shrink:0}
.restore-reveal-stage{position:relative;isolation:isolate;width:min(100%,900px);border-radius:12px;overflow:hidden;background:#141413}.restore-reveal-stage .approved-view{max-width:none;margin:0}.restore-reveal-stage .approved-view canvas{border:0;border-radius:0;height:min(52dvh,580px);min-height:260px}.restore-reveal-stage .approved-view-tools,.restore-reveal-stage .approved-caption{padding-left:14px;padding-right:14px}
.restore-reveal-painting{position:absolute;inset:0 0 auto;margin:0;height:min(52dvh,580px);min-height:260px;background:#141413;display:flex;justify-content:center;align-items:center;pointer-events:none;z-index:2;transform-origin:50% 50%}.restore-reveal-painting img{display:block;width:100%;height:100%;object-fit:contain}.restore-reveal-painting figcaption{position:absolute;bottom:16px;left:16px;right:16px;text-align:center;padding:9px 12px;background:#10100ed9;color:#f3efe6;font-size:calc(12px * var(--restore-text-scale,1));border:1px solid #72613e;border-radius:6px}
.restore-cinematic-reveal[data-completion-phase=unveiling] .restore-reveal-painting{animation:restore-painting-dissolve 1.8s cubic-bezier(.3,0,.2,1) both}.restore-reveal-light{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(110deg,transparent 36%,#c6aa7012 47%,#f3e4bf24 50%,transparent 62%);background-size:220% 100%;animation:restore-painted-light 1.8s ease-in-out both;mix-blend-mode:screen}
.restore-cinematic-reveal[data-reveal-paused=true] .restore-reveal-painting,.restore-cinematic-reveal[data-reveal-paused=true] .restore-reveal-light{animation-play-state:paused}.restore-reveal-caption{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted);margin:14px auto}.restore-cinematic-reveal>.approved-primary{margin-top:10px}.restore-cinematic-reveal[data-completion-phase=loading] .approved-view>p[role=status]{visibility:hidden}
.restore-reveal-saved-art img{display:block;width:100%;height:240px;object-fit:contain}.restore-reveal-saved-art figcaption{font-size:calc(12px * var(--restore-text-scale,1));text-align:center;color:var(--restore-muted)}
@keyframes restore-painting-dissolve{0%,12%{opacity:1;transform:scale(1)}75%{opacity:.12}100%{opacity:0;transform:scale(1.028)}}
@keyframes restore-painted-light{0%{background-position:120% 0;opacity:0}22%{opacity:.8}100%{background-position:-110% 0;opacity:0}}
@media(max-height:540px) and (orientation:landscape){.restore-reveal-stage .approved-view canvas,.restore-reveal-painting{height:56dvh;min-height:170px}.restore-reveal-heading{margin-bottom:10px}.restore-reveal-heading h1{font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}}
@media(max-width:700px) and (min-height:541px){.restore-reveal-stage .approved-view canvas,.restore-reveal-painting{height:42dvh}.restore-home-feature img{object-position:center 25%}}
.restore-home-feature[data-home-artwork="the-kiss"] img{object-position:center top}

/* Activities have one working viewport. Menu pages and optional drawers own their scrolling. */
html:has(.approved-collection),body:has(.approved-collection){overflow:hidden;overscroll-behavior:none}
.approved-collection{height:100dvh;overscroll-behavior:none}.restore-menu,.approved-chapter,.restore-settings{overscroll-behavior:contain}
.restore-immersive .restore-topbar{min-height:48px;height:auto;padding:3px max(8px,env(safe-area-inset-right)) 3px max(8px,env(safe-area-inset-left));gap:6px}
.restore-immersive .restore-topbar .restore-wordmark{font-size:calc(17px * var(--restore-text-scale,1));min-height:44px;padding:5px 8px}.restore-immersive .restore-wordmark .restore-brand-tagline{display:none}
.restore-immersive .restore-topbar button{min-height:44px;padding:5px 10px;font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .restore-navigation{display:none}
.restore-immersive>.approved-dot-restoration,.restore-immersive>.approved-study,.restore-immersive>.approved-spatial,.restore-immersive>.chapter-learning,.restore-immersive>.restore-cinematic-reveal{flex:1;min-width:0;min-height:0;max-width:none;width:100%;margin:0;overflow:hidden}
.restore-immersive .approved-dot-restoration{position:relative;display:flex;flex-direction:column;gap:3px;padding:5px max(8px,env(safe-area-inset-left)) max(7px,env(safe-area-inset-bottom));color:var(--restore-ink)}
.restore-immersive .approved-dot-heading{flex-shrink:0;margin:0;gap:10px;padding-right:50px;min-height:44px}.restore-immersive .approved-dot-heading h2{font-size:calc(18px * var(--restore-text-scale,1));margin:2px 0;line-height:1.2}.restore-immersive .approved-dot-heading small{font-size:calc(8px * var(--restore-text-scale,1));letter-spacing:.1em}.restore-immersive .approved-dot-heading button{min-height:44px;font-size:calc(11px * var(--restore-text-scale,1));padding:5px 8px}
.restore-immersive .approved-dot-status{flex-shrink:0;margin:1px 0;font-size:calc(10px * var(--restore-text-scale,1));gap:7px}.restore-immersive .approved-dot-status strong{font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-restoration>progress{flex-shrink:0;height:3px;margin:2px 0}
.restore-immersive .approved-dot-observation{flex-shrink:0;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.35;margin:1px 0 3px;max-width:none}.restore-immersive .approved-dot-board{flex:1;min-height:0;height:0;width:100%;grid-column:auto;grid-row:auto}
.restore-immersive .approved-dot-message{flex-shrink:0;margin:2px 0;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.35;min-height:0}.restore-immersive .approved-dot-tools{flex-shrink:0;gap:5px;flex-wrap:nowrap}.restore-immersive .approved-dot-tools button{flex:1;min-height:44px;padding:5px 8px;font-size:calc(11px * var(--restore-text-scale,1))}
.restore-immersive .approved-dot-restoration .classical-reward{flex-shrink:0;margin:2px 0 0;padding:4px 7px;gap:5px;border-radius:6px}.restore-immersive .classical-reward span{font-size:calc(10px * var(--restore-text-scale,1))}.restore-immersive .classical-reward small{font-size:calc(9px * var(--restore-text-scale,1))}.restore-immersive .classical-reward button{min-height:44px;padding:5px 9px;font-size:calc(11px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-finish{flex-shrink:0;margin:2px 0 0;min-height:44px;padding:7px 12px;font-size:calc(12px * var(--restore-text-scale,1))}
.restore-immersive .approved-dot-music{position:absolute;top:4px;right:9px;z-index:6;margin:0;font-size:calc(11px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-music>summary{min-height:44px;min-width:44px;padding:10px;text-align:center;font-size:0;list-style:none;border:1px solid var(--restore-line);border-radius:6px;background:var(--restore-panel)}.restore-immersive .approved-dot-music>summary::after{content:'♪';font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.restore-immersive .approved-dot-music[open]{max-width:min(340px,calc(100vw - 20px));max-height:75dvh;overflow:auto;background:var(--restore-panel);border:1px solid var(--restore-line);border-radius:7px}.restore-immersive .approved-dot-music .classical-settings{padding:9px;font-size:calc(12px * var(--restore-text-scale,1))}
.restore-immersive .restore-cinematic-reveal{display:flex;flex-direction:column;padding:6px max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-bottom));gap:4px}.restore-immersive .restore-reveal-heading{flex-shrink:0;margin:0;min-height:44px;gap:10px}.restore-immersive .restore-reveal-heading h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.restore-immersive .restore-reveal-heading .restore-eyebrow{font-size:calc(8px * var(--restore-text-scale,1));margin:0}.restore-immersive .restore-reveal-heading button{min-height:44px;font-size:calc(11px * var(--restore-text-scale,1));padding:5px 9px}
.restore-immersive .restore-reveal-stage{flex:1;min-height:0;max-width:none;width:100%;display:flex;flex-direction:column}.restore-immersive .restore-reveal-stage .approved-view{flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.restore-immersive .restore-reveal-stage .approved-view canvas{flex:1;height:0;min-height:0;max-height:none}.restore-immersive .restore-reveal-painting{height:auto;min-height:0;bottom:0}.restore-immersive .restore-reveal-stage .approved-view-tools{flex-shrink:0;padding:3px 6px;gap:4px}.restore-immersive .approved-view-tools button,.restore-immersive .approved-view-tools select{min-height:44px;padding:5px 8px;font-size:calc(11px * var(--restore-text-scale,1))}.restore-immersive .restore-reveal-stage .approved-caption{flex-shrink:0;font-size:calc(9px * var(--restore-text-scale,1));margin:2px 0;padding:0 6px}
.restore-immersive .restore-reveal-caption{flex-shrink:0;margin:2px 0;font-size:calc(10px * var(--restore-text-scale,1));line-height:1.35}.restore-immersive .restore-cinematic-reveal>.classical-reward{flex-shrink:0;padding:4px 7px;margin:2px 0}.restore-immersive .restore-cinematic-reveal>.approved-primary{flex-shrink:0;min-height:44px;padding:7px 12px;margin:0;font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .restore-cinematic-reveal>.restore-subtle{font-size:calc(10px * var(--restore-text-scale,1));margin:0}.restore-immersive .restore-reveal-saved-art{flex:1;min-height:0;margin:0}.restore-immersive .restore-reveal-saved-art img{height:100%;max-height:35dvh}
/* Color and questions use the full activity surface with one scroll owner. */
.restore-immersive>.chapter-learning{padding:8px max(9px,env(safe-area-inset-left)) max(9px,env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}
.restore-immersive .chapter-learning header{margin:0 0 8px}.restore-immersive .chapter-learning h2{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));margin:3px 0 5px}.restore-immersive .chapter-learning header p:last-child{font-size:calc(11px * var(--restore-text-scale,1));line-height:1.4;margin:4px 0}.restore-immersive .chapter-learning-eyebrow{font-size:calc(8px * var(--restore-text-scale,1))}.restore-immersive .chapter-learning-progress{font-size:calc(11px * var(--restore-text-scale,1));padding:5px 0}.restore-immersive .chapter-learning-message{font-size:calc(11px * var(--restore-text-scale,1));line-height:1.4;min-height:0;padding:7px;margin:6px 0}.restore-immersive .chapter-learning-clue{font-size:calc(11px * var(--restore-text-scale,1));margin:6px 0}.restore-immersive .chapter-learning-footnote{font-size:calc(9px * var(--restore-text-scale,1));margin:5px 0}
.restore-immersive .chapter-color-board{padding:3px;display:flex;justify-content:center;max-height:calc(100dvh - 385px);min-height:180px}.restore-immersive .chapter-color-board>svg{width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 393px);object-fit:contain}.restore-immersive .chapter-color-regions{gap:5px;margin:6px 0}.restore-immersive .chapter-color-regions button{min-height:44px;padding:4px;font-size:calc(10px * var(--restore-text-scale,1));gap:2px}.restore-immersive .chapter-color-regions button span{font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .chapter-color-selected{font-size:calc(11px * var(--restore-text-scale,1));margin:4px 0}.restore-immersive .chapter-color-palette{gap:5px}.restore-immersive .chapter-color-palette button{min-height:58px;gap:3px;padding:4px}.restore-immersive .chapter-color-palette button span{width:26px;height:26px}.restore-immersive .chapter-color-palette small{font-size:calc(8px * var(--restore-text-scale,1))}.restore-immersive .chapter-learning-primary{min-height:44px;padding:7px 9px;margin:5px 0;font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .chapter-learning-actions{margin:6px 0;gap:5px}.restore-immersive .chapter-learning-actions button{min-height:44px;min-width:80px;padding:5px 8px;font-size:calc(11px * var(--restore-text-scale,1))}
.restore-immersive .chapter-quiz-look{min-height:44px;margin:2px 0 7px;padding:5px 8px;font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .chapter-quiz-art{max-height:50dvh;margin-bottom:8px}.restore-immersive .chapter-quiz-question{margin:4px 0}.restore-immersive .chapter-quiz-question h3{font-size:calc(clamp(18px,3vw,24px) * (1 + (var(--restore-text-scale,1) - 1) * 0.75));margin:8px 0 16px}.restore-immersive .chapter-quiz-options{gap:8px}.restore-immersive .chapter-quiz-options button{min-height:54px;padding:9px;font-size:calc(14px * var(--restore-text-scale,1))}.restore-immersive .chapter-quiz-explanation{padding:10px;margin-top:10px;font-size:calc(12px * var(--restore-text-scale,1))}
@media(min-width:900px){.restore-immersive>.chapter-color{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);grid-template-rows:auto auto auto auto auto auto auto auto auto;gap:5px 18px;align-content:start;overflow:auto}.restore-immersive .chapter-color>header,.restore-immersive .chapter-color>.chapter-learning-progress{grid-column:1/-1}.restore-immersive .chapter-color-board{grid-column:1;grid-row:3/10;max-height:none;min-height:0;height:calc(100dvh - 180px)}.restore-immersive .chapter-color-board>svg{max-height:100%;height:100%}.restore-immersive .chapter-color>:not(header):not(.chapter-learning-progress):not(.chapter-color-board){grid-column:2}.restore-immersive>.chapter-quiz{padding-left:max(18px,calc((100vw - 1050px)/2));padding-right:max(18px,calc((100vw - 1050px)/2))}}
@media(max-height:540px) and (orientation:landscape){.restore-immersive .restore-topbar{min-height:44px;padding-top:0;padding-bottom:0}.restore-immersive .approved-dot-heading{min-height:30px}.restore-immersive .approved-dot-heading h2{font-size:calc(15px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-heading small{display:none}.restore-immersive .approved-dot-heading button{min-height:30px}.restore-immersive .approved-dot-observation{font-size:calc(10px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-restoration{gap:1px}.restore-immersive .approved-dot-status{font-size:calc(10px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-message{font-size:calc(10px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-music{top:1px}.restore-immersive .approved-dot-music>summary{min-height:30px;padding:3px}.restore-immersive .approved-dot-restoration .classical-reward{position:absolute;top:2px;right:62px;max-width:42%;padding:2px 5px;font-size:calc(9px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-restoration .classical-reward button{min-height:30px;font-size:calc(10px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-restoration .classical-reward span{font-size:calc(9px * var(--restore-text-scale,1))}.restore-immersive .approved-dot-tools button{min-height:44px}.restore-immersive .restore-reveal-heading{min-height:32px}.restore-immersive .restore-reveal-heading h1{font-size:calc(16px * var(--restore-text-scale,1))}.restore-immersive .restore-reveal-heading button{min-height:32px}.restore-immersive .restore-cinematic-reveal{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:32px minmax(0,1fr) auto}.restore-immersive .restore-reveal-heading{grid-column:1/-1}.restore-immersive .restore-reveal-stage{grid-column:1;grid-row:2/4;height:100%}.restore-immersive .restore-cinematic-reveal>.restore-reveal-caption,.restore-immersive .restore-cinematic-reveal>.classical-reward,.restore-immersive .restore-cinematic-reveal>.approved-primary,.restore-immersive .restore-cinematic-reveal>.restore-subtle{grid-column:2}.restore-immersive .restore-cinematic-reveal>.classical-reward{align-self:start}.restore-immersive .restore-reveal-stage .approved-view-tools{display:none}}
/* Short landscape windows keep the painting large; the optional drawer retains
   its full-size controls and its own scroll surface. */
@media(max-height:540px) and (orientation:landscape){
 .approved-collection.restore-immersive>.chapter-color{padding:2px max(9px,env(safe-area-inset-left)) max(3px,env(safe-area-inset-bottom));gap:2px}
 .approved-collection.restore-immersive .chapter-color>header{min-height:20px}
 .approved-collection.restore-immersive .chapter-color>header h2{font-size:calc(16px * var(--restore-text-scale,1));line-height:calc(20px * var(--restore-text-scale,1));margin:0}
 .approved-collection.restore-immersive .chapter-color>.chapter-learning-message{font-size:calc(10px * var(--restore-text-scale,1));line-height:1.3;padding:3px 7px;margin:2px 0}
 .approved-collection.restore-immersive .chapter-color-controls>summary{min-height:44px;padding:7px 12px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.2}
}

/* The earned figure owns the reveal viewport. Its own Back button replaces the
   collection header; music and credits expand over the canvas, without resizing it. */
.approved-collection.restore-immersive:has(>.restore-cinematic-reveal)>.restore-topbar,
.approved-collection.restore-immersive:has(>.restore-cinematic-reveal)>.restore-chapter-score{display:none}
.approved-collection.restore-immersive>.restore-cinematic-reveal{position:relative;display:flex;flex-direction:column;gap:4px;padding:4px max(8px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-right));isolation:isolate}
.approved-collection.restore-immersive .restore-cinematic-reveal>.restore-reveal-heading{flex:0 0 44px;min-height:44px;max-height:44px;gap:8px;margin:0;grid-column:auto;grid-row:auto}
.approved-collection.restore-immersive .restore-reveal-heading>div{flex:1;min-width:0}
.approved-collection.restore-immersive .restore-reveal-heading h1{font-size:calc(18px * var(--restore-text-scale,1));line-height:calc(22px * var(--restore-text-scale,1));overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.approved-collection.restore-immersive .restore-reveal-heading .restore-eyebrow{font-size:calc(8px * var(--restore-text-scale,1))!important;line-height:calc(12px * var(--restore-text-scale,1));margin:0;letter-spacing:.08em;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.approved-collection.restore-immersive .restore-reveal-heading button{height:44px;min-height:44px;min-width:44px;padding:5px 9px;font-size:calc(11px * var(--restore-text-scale,1));white-space:nowrap}
.approved-collection.restore-immersive .restore-reveal-heading .restore-reveal-back{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));padding:5px;flex:0 0 44px}
.approved-collection.restore-immersive .restore-cinematic-reveal>.restore-reveal-stage{flex:1;min-height:0;height:auto;grid-column:auto;grid-row:auto;border-radius:8px}
.approved-collection.restore-immersive .restore-reveal-stage .approved-view{position:relative;height:100%;min-height:0;display:flex;flex-direction:column}
.approved-collection.restore-immersive .restore-reveal-stage .approved-view canvas{flex:1;min-height:0;height:0;max-height:none;width:100%}
.approved-collection.restore-immersive .restore-reveal-stage .approved-caption{display:none}
.approved-collection.restore-immersive .restore-reveal-stage .approved-view-accessibility{position:absolute;top:8px;right:8px;z-index:4;font-size:calc(11px * var(--restore-text-scale,1));margin:0;color:var(--restore-ink)}
.approved-collection.restore-immersive .approved-view-accessibility>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;cursor:pointer;list-style:none;border:1px solid var(--restore-line);border-radius:7px;background:var(--restore-panel)}
.approved-collection.restore-immersive .approved-view-accessibility>summary::-webkit-details-marker{display:none}
.approved-collection.restore-immersive .restore-reveal-stage .approved-view-accessibility[open] .approved-view-tools{display:flex;position:absolute;top:48px;right:0;flex-wrap:wrap;justify-content:flex-end;gap:5px;width:min(330px,calc(100dvw - 40px));max-height:55dvh;overflow:auto;padding:8px;background:var(--restore-panel);border:1px solid var(--restore-line);border-radius:8px;overscroll-behavior:contain}
.approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward{flex:0 0 44px;min-height:44px;height:44px;max-height:44px;box-sizing:border-box;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;max-width:none;width:100%;padding:0 8px;margin:0;grid-column:auto;grid-row:auto;align-self:auto}
.approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward>span{flex:1;min-width:0;font-size:calc(11px * var(--restore-text-scale,1));line-height:calc(14px * var(--restore-text-scale,1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward>span>small{display:block;font-size:calc(9px * var(--restore-text-scale,1));line-height:calc(12px * var(--restore-text-scale,1));margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward>button{height:44px;min-height:44px;flex-shrink:0;white-space:nowrap;font-size:calc(11px * var(--restore-text-scale,1));padding:5px 12px;margin:0;border-top:0;border-bottom:0}
.approved-collection.restore-immersive .restore-reveal-footer{display:grid;grid-template-columns:minmax(118px,144px) minmax(0,1fr);gap:6px;flex:0 0 44px;height:44px;min-height:44px;align-items:stretch}
.approved-collection.restore-immersive .restore-reveal-footer>.approved-primary{width:100%;min-width:0;height:44px;min-height:44px;margin:0;padding:5px 10px;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.2;gap:4px;justify-content:center}
.approved-collection.restore-immersive .restore-reveal-details{min-width:0;margin:0;font-size:calc(11px * var(--restore-text-scale,1))}
.approved-collection.restore-immersive .restore-reveal-details>summary{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;padding:5px 8px;cursor:pointer;list-style:none;border:1px solid var(--restore-line);border-radius:7px;background:var(--restore-panel)}
.approved-collection.restore-immersive .restore-reveal-details>summary::-webkit-details-marker{display:none}
.approved-collection.restore-immersive .restore-reveal-details>summary::after{content:'＋';font-size:calc(17px * var(--restore-text-scale,1));line-height:1}
.approved-collection.restore-immersive .restore-reveal-details[open]>summary::after{content:'−'}
.approved-collection.restore-immersive .restore-reveal-details[open]>.restore-reveal-details-body{position:absolute;z-index:8;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:max(52px,calc(env(safe-area-inset-bottom) + 48px));max-height:min(68dvh,calc(100dvh - 108px));overflow:auto;overscroll-behavior:contain;padding:14px;border:1px solid var(--restore-gold);border-radius:9px;background:var(--restore-panel);box-shadow:0 8px 28px #0009}
.approved-collection.restore-immersive .restore-reveal-details-body .restore-reveal-caption{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;margin:0 0 12px}
.approved-collection.restore-immersive .restore-reveal-details-body .classical-reward{margin:0;padding:10px;font-size:calc(12px * var(--restore-text-scale,1));gap:10px}
.approved-collection.restore-immersive .restore-reveal-details-body .classical-reward button{min-height:44px}
.approved-collection.restore-immersive .restore-cinematic-reveal>.restore-subtle{flex-shrink:0;font-size:calc(10px * var(--restore-text-scale,1));line-height:1.2;margin:0}
@media(max-height:540px) and (orientation:landscape){
 .approved-collection.restore-immersive>.restore-cinematic-reveal{display:grid;grid-template-columns:minmax(0,1fr) minmax(224px,27%);grid-template-rows:44px minmax(0,1fr) auto;gap:4px 8px;padding-top:4px}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.restore-reveal-stage{grid-column:1;grid-row:1/4;height:100%;min-height:0}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.restore-reveal-heading{grid-column:2;grid-row:1;min-width:0}
 .approved-collection.restore-immersive .restore-reveal-heading h1{font-size:calc(15px * var(--restore-text-scale,1));line-height:calc(19px * var(--restore-text-scale,1))}
 .approved-collection.restore-immersive .restore-reveal-heading .restore-eyebrow{font-size:calc(7px * var(--restore-text-scale,1))!important;letter-spacing:0}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward{grid-column:2;grid-row:2;align-self:start;height:auto;min-height:88px;max-height:none;flex-wrap:wrap;gap:2px;padding:6px}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward>span{flex-basis:100%}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.classical-reward>button{width:100%;border:1px solid var(--restore-line)}
 .approved-collection.restore-immersive .restore-reveal-footer{grid-column:2;grid-row:3;grid-template-columns:1fr;grid-template-rows:44px 44px;height:auto;min-height:92px;gap:4px}
 .approved-collection.restore-immersive .restore-reveal-details[open]>.restore-reveal-details-body{left:auto;right:max(8px,env(safe-area-inset-right));width:min(420px,calc(100dvw - 32px));bottom:max(100px,calc(env(safe-area-inset-bottom) + 96px));max-height:calc(100dvh - 108px)}
 .approved-collection.restore-immersive .restore-cinematic-reveal>.restore-subtle,.approved-collection.restore-immersive .restore-cinematic-reveal>p[role=alert]{position:absolute;right:max(8px,env(safe-area-inset-right));bottom:104px;width:27%;min-width:224px;font-size:calc(10px * var(--restore-text-scale,1));background:var(--restore-panel);padding:5px;z-index:5}
}

/* Black & Gold: a matte gallery, precise frames and quiet brass details.
 * Cinematic: a softly layered, artwork-coloured surround. These are static
 * gradients, not video/blur filters, so the distinction survives Reduce Motion
 * and costs no per-frame image processing. Artwork and canvas pixels are never
 * tinted; the 3D renderer consumes only --restore-presentation-floor. */
.approved-collection[data-design-direction=luxury]{
 background-color:#0d0d0c;
 background-image:repeating-linear-gradient(135deg,#ffffff01 0 1px,transparent 1px 7px);
}
.approved-collection[data-design-direction=luxury] .restore-topbar{
 background:#0d0d0c;border-bottom:1px solid #71613f;
}
.approved-collection[data-design-direction=luxury] .restore-menu .restore-home-feature{
 border:1px solid #7d6c48;border-radius:8px;background:#191917;
 box-shadow:0 0 0 5px #0d0d0c,0 0 0 6px #393326;
}
.approved-collection[data-design-direction=luxury] .restore-menu .restore-home-feature figure{
 border-bottom:1px solid #514630;background:#11110f;
}
.approved-collection[data-design-direction=luxury] .restore-hub-intro figure,
.approved-collection[data-design-direction=luxury] .restore-activity{
 border-color:#71613f;border-radius:7px;box-shadow:none;
}
.approved-collection[data-design-direction=luxury] .restore-navigation{background:#11110f;border-top-color:#71613f}
.approved-collection[data-design-direction=luxury] .restore-reveal-light{display:none}
.approved-collection[data-design-direction=luxury] .restore-cinematic-reveal[data-completion-phase=unveiling] .restore-reveal-painting{
 animation-name:restore-gallery-dissolve;animation-timing-function:ease;
}
@keyframes restore-gallery-dissolve{0%,12%{opacity:1}100%{opacity:0}}

.approved-collection.restore-luxury[data-design-direction=cinematic]{
 background-color:var(--restore-bg);
 background-image:radial-gradient(ellipse at 18% 14%,rgb(var(--restore-scene-rgb) / .4),transparent 66%),
  radial-gradient(ellipse at 95% 70%,#28485a80,transparent 70%),linear-gradient(160deg,#182430,#0e151d 85%);
}
.approved-collection[data-design-direction=cinematic] .restore-menu,
.approved-collection[data-design-direction=cinematic] .approved-chapter{
 background:transparent;
}
.approved-collection[data-design-direction=cinematic] .restore-topbar{
 background:#14212ddd;border-bottom:1px solid #91aebb38;
}
.approved-collection[data-design-direction=cinematic] .restore-topbar button{border-radius:24px}
.approved-collection[data-design-direction=cinematic] .restore-menu .restore-home-feature{
 border:0;border-radius:18px;overflow:hidden;
 background:linear-gradient(155deg,rgb(var(--restore-scene-rgb) / .23),#17232de8 70%);
 box-shadow:0 16px 44px #00000035;
}
.approved-collection[data-design-direction=cinematic] .restore-menu .restore-home-feature figure,
.approved-collection[data-design-direction=cinematic] .restore-hub-intro figure,
.approved-collection[data-design-direction=cinematic] .restore-detail-intro figure{
 background:radial-gradient(ellipse at 50% 32%,rgb(var(--restore-scene-rgb) / .3),#10202b 85%);
 border:0;border-radius:14px;box-shadow:inset 0 0 0 1px #a2bcc624;
}
.approved-collection[data-design-direction=cinematic] .restore-menu .restore-home-feature figcaption,
.approved-collection[data-design-direction=cinematic] .restore-hub-intro figcaption,
.approved-collection[data-design-direction=cinematic] .restore-detail-intro figcaption{
 background:#10202bcc;color:var(--restore-muted);
}
.approved-collection[data-design-direction=cinematic] .restore-menu .restore-feature-copy{background:#14212d5c}
.approved-collection[data-design-direction=cinematic] .restore-menu .restore-home-heading .restore-eyebrow,
.approved-collection[data-design-direction=cinematic] .restore-page-heading .restore-eyebrow{color:#d3e7ee}
.approved-collection[data-design-direction=cinematic] .restore-navigation{
 background:#10202bee;border-top:1px solid #91aebb38;
}
.approved-collection[data-design-direction=cinematic]:not(.restore-immersive)>.restore-navigation button[aria-current=page]{
 background:#36505c;border-color:#93b0bd6b;border-radius:14px;color:#eef3f5;
}
.approved-collection[data-design-direction=cinematic] .approved-primary,
.approved-collection[data-design-direction=cinematic] .approved-dot-finish{
 background:#d3e7ee;border-color:#d3e7ee;color:#14212b;border-radius:12px;
}
.approved-collection[data-design-direction=cinematic] .approved-primary:hover,
.approved-collection[data-design-direction=cinematic] .approved-dot-finish:hover{
 background:#e8f3f7;border-color:#e8f3f7;
}
.approved-collection[data-design-direction=cinematic] .restore-work-card,
.approved-collection[data-design-direction=cinematic] .restore-activity{
 background:linear-gradient(155deg,#263b46,#162430);border-color:#91aebb4a;border-radius:14px;
 box-shadow:0 7px 22px #00000025;
}
.approved-collection[data-design-direction=cinematic] .restore-work-image{background:#10202b}
.approved-collection[data-design-direction=cinematic] .restore-activity-icon{color:#d3e7ee}
.approved-collection[data-design-direction=cinematic] .restore-activity:hover{background:#2c4652}
.approved-collection[data-design-direction=cinematic] .restore-reveal-stage,
.approved-collection[data-design-direction=cinematic] .approved-view canvas,
.approved-collection[data-design-direction=cinematic] .approved-spatial-board,
.approved-collection[data-design-direction=cinematic] .vertical-strip-surface{
 background:var(--restore-presentation-floor);border-color:#91aebb4a;
}
.approved-collection[data-design-direction=cinematic] .approved-dot-board{
 border:1px solid #91aebb80;box-shadow:0 8px 28px #00000030;
}
.approved-collection[data-design-direction=cinematic] .approved-dot-tools button,
.approved-collection[data-design-direction=cinematic] .vertical-strip-controls button{
 background:#172b37;border-color:#91aebb64;border-radius:10px;
}
.approved-collection[data-design-direction=cinematic] .approved-spatial-heading,
.approved-collection[data-design-direction=cinematic] .approved-spatial-quick,
.approved-collection[data-design-direction=cinematic] .approved-spatial-frame-selected,
.approved-collection[data-design-direction=cinematic] .approved-spatial-guide,
.approved-collection[data-design-direction=cinematic] .restore-reveal-details>summary{
 background:#162c3aee;color:var(--restore-ink);border-color:#91aebb64;border-radius:14px;
}
.approved-collection[data-design-direction=cinematic] .approved-spatial-turn-guides button{
 background:#193543f2;color:#d3e7ee;border-color:#91aebb8a;
}
.approved-collection[data-design-direction=cinematic] .approved-spatial-guide b{color:#d3e7ee}
.approved-collection[data-design-direction=cinematic] .approved-spatial-guide button{
 background:#d3e7ee;color:#14212b;border-color:#d3e7ee;
}
.approved-collection[data-design-direction=cinematic] .classical-reward,
.approved-collection[data-design-direction=cinematic] .vertical-strip-options,
.approved-collection[data-design-direction=cinematic] .approved-spatial-tools{
 background:#172b37;border-color:#91aebb64;border-radius:12px;
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen{
 background:var(--restore-presentation-floor);
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-workspace-heading,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen>.restore-reveal-heading,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-workspace-footer,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen>.restore-reveal-footer,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen>.artwork-performance,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-inspection-music>summary,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen .approved-view-accessibility>summary{
 background:#162c3aee;border-color:#91aebb64;border-radius:14px;
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-inspection-music[open]>div,
.approved-collection.restore-luxury[data-design-direction=cinematic] .model-fullscreen .approved-view-accessibility[open] .approved-view-tools{
 background:#172b37;border-color:#91aebb64;
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .restored-painting-layout,
.approved-collection.restore-luxury[data-design-direction=cinematic] .vertical-strip-layout-intro{
 background:linear-gradient(150deg,rgb(var(--restore-scene-rgb) / .2),#14242f);
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .strip-layout-card{
 border-radius:14px;background:#1c303d;border-color:#91aebb64;
}
.approved-collection.restore-luxury[data-design-direction=cinematic] .strip-layout-card[aria-pressed=true]{
 border-color:#d3e7ee;background:#284554;
}
/* At phone sizes the footprint is unchanged: all primary controls still fit.
 * Do not restore the old Cinematic 410px hero minimum that hid the action. */
@media(min-width:701px){
 .approved-collection[data-design-direction=luxury] .restore-menu .restore-home-feature figure{border-right:1px solid #514630;border-bottom:0}
 .approved-collection[data-design-direction=cinematic] .restore-menu .restore-home-feature{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){
 .approved-collection[data-design-direction=cinematic]{background-attachment:scroll}
}:where(:root[data-system-reduced-motion]) .approved-collection[data-design-direction=cinematic]{background-attachment:scroll}

/* Static standalone music library; append to the existing collection design stylesheet. */
.restore-music-library{width:min(100%,1080px);margin-inline:auto;overflow-wrap:anywhere}
.restore-music-heading{max-width:700px;margin-bottom:28px}.restore-music-heading>button{margin-bottom:24px;background:transparent}.restore-music-heading h1{font:400 clamp(34px,5vw,48px)/1.12 Fraunces,Georgia,serif;margin:12px 0 18px}.restore-music-heading>p:not(.restore-eyebrow){font-size:calc(16px * var(--restore-text-scale,1));line-height:1.65;color:var(--restore-muted)}.restore-music-heading small{color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1))}
.restore-library-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.restore-library-player{padding:24px;border:1px solid var(--restore-line);border-radius:12px;background:var(--restore-panel);min-width:0}.restore-library-player h2{font:400 calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6))/1.25 Fraunces,Georgia,serif;margin:12px 0}.restore-library-player>p{font-size:calc(14px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted)}.restore-library-player>.approved-primary{margin-top:14px;min-height:48px}.restore-library-player progress{width:100%;height:5px;accent-color:var(--restore-gold)}.restore-library-status{min-height:44px;margin:18px 0 4px}.restore-library-time{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums;margin:6px 0 20px!important;font-size:calc(12px * var(--restore-text-scale,1))!important}
.restore-library-player .classical-settings{display:block;position:static;padding:16px 0;border:0;border-top:1px solid var(--restore-line);background:transparent!important}.restore-library-player .classical-settings label{display:block;min-height:44px;padding-block:10px;font-size:calc(14px * var(--restore-text-scale,1))}.restore-library-player .classical-settings input[type=checkbox]{height:22px;width:22px;accent-color:var(--restore-gold);vertical-align:middle;margin-inline-end:8px}.restore-library-player .classical-settings input[type=range]{width:100%;min-height:44px;accent-color:var(--restore-gold)}.restore-library-player .classical-settings small{display:block;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted)}
.restore-library-list{display:grid;gap:10px}.restore-luxury .restore-library-select{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:start;padding:18px 20px;min-height:110px;min-width:0;background:var(--restore-panel);border:1px solid var(--restore-line);border-radius:10px;color:var(--restore-ink);white-space:normal}.restore-luxury .restore-library-select[aria-pressed=true]{border-color:var(--restore-gold);background:#25231d}.restore-library-track-title{font:400 calc(21px * (1 + (var(--restore-text-scale,1) - 1) * 0.857))/1.3 Fraunces,Georgia,serif}.restore-library-select>span:not(.restore-library-track-title){font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-muted);line-height:1.5}.restore-library-select small{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted)}.restore-library-select .restore-library-duration{color:var(--restore-gold)!important;font-variant-numeric:tabular-nums}
.restore-library-credits{margin-top:18px;border-top:1px solid var(--restore-line)}.restore-library-credits summary{padding:16px 0;min-height:48px;cursor:pointer;font-size:calc(14px * var(--restore-text-scale,1))}.restore-library-credits p{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.75;color:var(--restore-muted)}.restore-library-credits a{display:block;padding:10px 0;min-height:44px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-gold);text-underline-offset:3px}.restore-music-entry{width:min(100%,1080px);margin:30px auto 0;padding-block:24px;border-top:1px solid var(--restore-line)}.restore-music-entry h2{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.restore-music-entry>p:not(.restore-eyebrow){color:var(--restore-muted);line-height:1.6}.restore-music-entry button{background:transparent;margin-top:8px}
@media(max-width:760px){.restore-library-layout{grid-template-columns:minmax(0,1fr)}.restore-library-player{padding:20px}.restore-library-player h2{font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))}.restore-library-list{margin-top:4px}}

.restore-source-studies{margin:32px auto 12px;max-width:1080px;border-top:1px solid var(--restore-line);padding-top:24px}.restore-source-studies>p{color:var(--restore-muted);line-height:1.65}.restore-source-studies h2{font:400 calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667))/1.3 Fraunces,Georgia,serif}

/* components/restore/artwork-study.css */
/* The board owns its viewport. Only the optional controls drawer scrolls. */
.restore-luxury .approved-study{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;flex:1;min-width:0;min-height:0;width:100%;max-width:none;overflow:hidden;padding:5px 8px max(6px,env(safe-area-inset-bottom));gap:4px}
.approved-study-status{display:flex;align-items:center;gap:12px;min-height:38px;padding:0 3px;font-size:calc(12px * var(--restore-text-scale,1));flex-shrink:0}.approved-study-status strong{font-size:calc(14px * var(--restore-text-scale,1));font-weight:500}.approved-study-status>span{margin-left:auto;white-space:nowrap}
.restore-luxury .approved-study-status .approved-study-expand{min-height:38px;padding:5px 10px;font-size:calc(11px * var(--restore-text-scale,1))}
.approved-study-surface{position:relative;min-width:0;min-height:0;overflow:hidden;border-radius:8px}
.restore-luxury .approved-study-board{display:block;width:100%;height:100%;min-height:0;flex:none;touch-action:none;overflow:hidden;border-radius:8px}
.approved-study-board [role=button]{cursor:grab;outline:none}.approved-study-board [role=button]:focus-visible>rect{stroke:#8f6a29;stroke-width:5}.approved-study-board [role=button]:active{cursor:grabbing}
.approved-study-camera{position:absolute;top:7px;right:7px;display:flex;gap:4px;z-index:2}.restore-luxury .approved-study-camera button{min-width:44px;min-height:44px;padding:4px 8px;background:#fff6e6e8;color:#38342a;border-color:#a99774;font-size:calc(12px * var(--restore-text-scale,1))}.approved-study-camera button:first-child,.approved-study-camera button:nth-child(2){font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783))}
.approved-study[data-study-tray=side] .approved-study-camera{right:136px}
.approved-study-gesture-note{position:absolute;left:12px;top:12px;max-width:calc(100% - 200px);font-size:calc(10px * var(--restore-text-scale,1));color:#655843;pointer-events:none;background:#fff4dcda;padding:4px 7px;border-radius:4px}
.restore-luxury .approved-study-tools{position:static;grid-column:auto;grid-row:auto;max-height:none;overflow:visible;min-height:0;padding:0;margin:0}.restore-luxury .approved-study-tools>p{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.35;min-height:0;margin:3px 3px 5px;max-width:none}
.approved-study-main-controls{display:flex;gap:5px;align-items:stretch}.restore-luxury .approved-study-main-controls>button{flex:1;min-width:44px;min-height:48px;margin:0;padding:5px 7px;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.2}.restore-luxury .approved-study-main-controls .approved-turn-tools{display:flex;gap:5px;flex:0 0 auto;margin:0}.restore-luxury .approved-study-main-controls .approved-turn-tools button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:49px;min-height:54px;padding:2px 5px;font-size:calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643));line-height:.9;background:var(--restore-gold);color:var(--restore-bg,#181814)}.approved-turn-tools small{font-size:calc(9px * var(--restore-text-scale,1));line-height:1.3}
.approved-study-drawer{position:absolute;z-index:5;bottom:max(6px,env(safe-area-inset-bottom));left:8px;right:8px;max-height:min(65dvh,430px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--restore-gold);border-radius:10px;padding:18px;background:var(--restore-panel);box-shadow:0 -10px 40px #0008;color:var(--restore-ink)}.approved-study-drawer h3{margin:0 50px 10px 0;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.approved-study-drawer p{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}.restore-luxury .approved-study-close{position:absolute;right:8px;top:7px;min-width:44px;min-height:44px;padding:3px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))}.approved-study-drawer [role=alert]{padding:8px 0}.approved-study-drawer [role=alert] button{margin:3px 7px 3px 0}
.restore-luxury .approved-study-complete{position:absolute;left:50%;transform:translateX(-50%);bottom:112px;z-index:4;min-height:48px;max-width:90%;white-space:nowrap;margin:0}
.restore-luxury .approved-study.is-expanded{position:fixed;inset:0;z-index:180;height:100dvh;background:var(--restore-bg);padding-top:max(5px,env(safe-area-inset-top));padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}
@media(max-width:380px){.approved-study-main-controls{gap:3px}.restore-luxury .approved-study-main-controls>button{padding:4px 3px;font-size:calc(10px * var(--restore-text-scale,1))}.restore-luxury .approved-study-main-controls .approved-turn-tools{gap:3px}.restore-luxury .approved-study-main-controls .approved-turn-tools button{min-width:44px}.approved-study-gesture-note{display:none}}
@media(max-height:540px) and (orientation:landscape){.restore-luxury .approved-study{grid-template-columns:minmax(0,1fr);grid-template-rows:32px minmax(0,1fr) 48px;gap:2px;padding-top:2px}.approved-study-status{min-height:30px}.restore-luxury .approved-study-status .approved-study-expand{min-height:30px}.restore-luxury .approved-study-tools{display:flex;gap:12px;align-items:center}.restore-luxury .approved-study-tools>p{flex:1;max-width:36%;font-size:calc(11px * var(--restore-text-scale,1));margin:0}.approved-study-main-controls{flex:1}.restore-luxury .approved-study-main-controls>button,.restore-luxury .approved-study-main-controls .approved-turn-tools button{min-height:44px}.restore-luxury .approved-study-complete{bottom:65px}}

/* components/restore/collection-preferences.css */
.restore-presentation{position:fixed;inset:0;background:#0d0d0c;color:#f3efe6;z-index:80;overflow-y:auto;padding:max(28px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));font-family:Figtree,Arial,sans-serif;overscroll-behavior:contain}
.restore-presentation>div{max-width:850px;margin:auto}.restore-presentation h1{font-family:Fraunces,Georgia,serif;font-size:calc(clamp(32px,5vw,52px) * (1 + (var(--restore-text-scale,1) - 1) * 0.346));font-weight:500}.restore-presentation select,.restore-settings select{width:100%;min-height:52px;background:#191917;color:#f3efe6;border:1px solid #76674b;border-radius:8px;padding:12px;margin-block:12px}.restore-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}.restore-directions button{min-height:105px;border:1px solid #76674b;border-radius:10px;background:#191917;color:#f3efe6;padding:14px;font:inherit}.restore-directions button[aria-pressed=true]{outline:2px solid #c6aa70;outline-offset:2px}.restore-directions button[data-choice=gallery]{background:#e9e0cf;color:#302d25}.restore-directions button[data-choice=cinematic]{background:#080a10;color:#e6e9ef}.restore-directions small{display:block;margin-top:12px;font-size:calc(11px * var(--restore-text-scale,1))}.restore-presentation .approved-primary{min-height:52px;width:100%;background:#c6aa70;color:#17140e;border:0;border-radius:9px;font:inherit}.restore-presentation button:focus-visible,.restore-presentation select:focus-visible{outline:3px solid #f3efe6;outline-offset:4px}
.restore-language-note{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;color:#bab6ab}.restore-score-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px;border:1px solid var(--restore-line);border-radius:8px;margin-block:16px;font-variant-numeric:tabular-nums}.restore-score-summary small{display:block;color:var(--restore-muted)}.restore-mystery-image{height:80px!important;overflow:hidden;background:#191917}.restore-mystery-image img{width:100%;height:100%;object-fit:cover;transform:scale(5.5);filter:brightness(.68)}.restore-work-card.is-mystery{align-self:start}.restore-work-card.is-mystery:disabled{opacity:1}.restore-work-card.is-mystery .restore-card-copy{padding-block:12px}.restore-work-card.is-mystery h3{font-size:calc(16px * var(--restore-text-scale,1))}.restore-ranking-list{list-style:none;padding:0}.restore-ranking-list li{padding:12px 0;border-bottom:1px solid var(--restore-line);display:flex;justify-content:space-between;gap:12px}.restore-rank-next{color:var(--restore-muted);font-size:calc(13px * var(--restore-text-scale,1))}.restore-reading-sheet{max-width:900px;margin-inline:auto}.restore-reading-sheet p{font-size:calc(clamp(19px,2.4vw,25px) * (1 + (var(--restore-text-scale,1) - 1) * 0.72));line-height:1.65}.restore-metadata-large{font-size:calc(18px * var(--restore-text-scale,1))}.restore-metadata-large dd{margin:0}.restore-chapter-score{font-size:calc(12px * var(--restore-text-scale,1));display:flex;justify-content:space-between;gap:8px;padding:4px 12px;color:var(--restore-muted)}
@media(max-width:480px){.restore-directions{gap:8px}.restore-directions button{padding:10px 6px;font-size:calc(12px * var(--restore-text-scale,1))}.restore-presentation{padding-inline:20px}}
[dir=rtl] .restore-navigation,[dir=rtl] .restore-score-summary{direction:rtl}
.restore-reading-page{overflow-y:auto!important;min-height:0;flex:1;overscroll-behavior:contain;padding:clamp(18px,4vw,48px)!important}.restore-artwork-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding-block:24px;border-block:1px solid var(--restore-line);font-size:calc(16px * var(--restore-text-scale,1))}.restore-artwork-metadata dt{color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1));margin-bottom:5px}.restore-artwork-metadata dd{margin:0;overflow-wrap:anywhere}.restore-story-body{margin-block:30px}.restore-reading-sheet .restore-story-body p{font-size:calc(clamp(21px,2.5vw,27px) * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.7;max-width:68ch}.restore-reading-sheet .restore-note-sources{font-size:calc(12px * var(--restore-text-scale,1))}.restore-reading-page>button{display:block;margin:28px auto 0}
.restore-immersive>.chapter-color{display:flex;flex-direction:column;position:relative;overflow:hidden;gap:4px}.restore-immersive .chapter-color>header{display:flex;align-items:center;justify-content:space-between;margin:0;flex-shrink:0}.restore-immersive .chapter-color>header h2{font-size:calc(18px * var(--restore-text-scale,1))}.restore-immersive .chapter-color>.chapter-learning-progress{display:none}.restore-immersive .chapter-color>.chapter-color-board{flex:1;min-height:0;max-height:none;height:0;display:flex;align-items:center;justify-content:center;grid-column:auto;grid-row:auto}.restore-immersive .chapter-color>.chapter-color-board>svg{max-height:100%;height:auto;width:auto;max-width:100%}.chapter-color [data-color-board-region]{cursor:pointer;outline:none}.chapter-color [data-color-board-region]:focus-visible polygon{stroke:#17140e;stroke-width:9}.chapter-color-controls{flex-shrink:0}.chapter-color-controls>summary{min-height:48px;list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border:1px solid var(--restore-line);border-radius:8px;background:var(--restore-panel)}.chapter-color-control-sheet{position:absolute;inset:auto 8px 58px;max-height:75%;overflow-y:auto;overscroll-behavior:contain;background:var(--restore-panel);border:1px solid var(--restore-gold);border-radius:12px;padding:16px;z-index:5;box-shadow:0 10px 35px #000b}.chapter-color-dismiss{display:block;margin-inline-start:auto}.chapter-color-control-sheet>p{font-size:calc(13px * var(--restore-text-scale,1))}.restore-immersive .chapter-color-control-sheet .chapter-color-palette button{min-height:72px;font-size:calc(12px * var(--restore-text-scale,1))}.restore-immersive .chapter-color-control-sheet .chapter-color-palette small{font-size:calc(11px * var(--restore-text-scale,1))}.restore-immersive .chapter-color-control-sheet .chapter-color-palette button span{width:34px;height:34px}
.restore-settings[data-design-direction=gallery]{--restore-panel:#fcf8f0;--restore-elevated:#ece5d8;--restore-ink:#282923;--restore-muted:#646258;--restore-gold:#806537;--restore-line:#bdb4a2}.restore-settings[data-design-direction=cinematic]{--restore-panel:#17232d;--restore-elevated:#263541;--restore-ink:#eef3f5;--restore-muted:#bac8ce;--restore-gold:#d3e7ee;--restore-line:#5b707c}.restore-settings[data-design-direction=gallery] select{background:var(--restore-panel);color:var(--restore-ink)}
.restore-immersive .approved-dot-tools .approved-dot-expand{flex:0 0 44px;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));padding:4px}
.approved-collection:has([data-dot-full-board=true])>.restore-topbar,.approved-collection:has([data-dot-full-board=true])>.restore-chapter-score{display:none}
.restore-immersive [data-dot-full-board=true]{padding:4px;gap:4px}
.restore-immersive [data-dot-full-board=true]>.approved-dot-heading,.restore-immersive [data-dot-full-board=true]>progress,.restore-immersive [data-dot-full-board=true]>.approved-dot-observation,.restore-immersive [data-dot-full-board=true]>.classical-reward,.restore-immersive [data-dot-full-board=true]>.approved-dot-music{display:none}
.restore-immersive [data-dot-full-board=true]>.approved-dot-status{position:absolute;top:12px;left:12px;right:12px;z-index:3;padding:5px 9px;border-radius:5px;background:var(--restore-panel);pointer-events:none}
.restore-immersive [data-dot-full-board=true]>.approved-dot-message{position:absolute;bottom:58px;left:12px;right:12px;z-index:3;padding:5px 9px;border-radius:5px;background:var(--restore-panel);pointer-events:none}
.artwork-performance{flex-wrap:wrap}.artwork-performance-credit{flex-basis:100%;font-size:calc(9px * var(--restore-text-scale,1))!important;line-height:1.35;margin:0!important;color:var(--restore-muted)!important}
.restore-artwork-glimpse{display:block;width:100%;height:100%;overflow:hidden;filter:brightness(.82)}.restore-mystery-image .restore-artwork-glimpse{height:80px;filter:brightness(.72)}
.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature figure .restore-artwork-glimpse{height:360px;min-height:0;max-height:440px;flex:none}.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature[data-home-artwork] figure .restore-artwork-glimpse{height:315px;max-height:385px}
@media(max-width:700px){.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature figure .restore-artwork-glimpse{height:clamp(200px,28dvh,290px)}.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature[data-home-artwork] figure .restore-artwork-glimpse{height:clamp(175px,24.5dvh,254px);max-height:none}}

/* First-use samples show the same visual distinction as the running screens. */
.restore-directions button[data-choice=luxury]{background:#171713;border:1px solid #947a4c;border-radius:6px;color:#ddc18a;box-shadow:inset 0 0 0 5px #11110f,inset 0 0 0 6px #5d5035}
.restore-directions button[data-choice=cinematic]{background:radial-gradient(ellipse at 20% 15%,#547380,#17232d 80%);border-color:#829dab;border-radius:16px;color:#eef3f5;box-shadow:0 7px 20px #0004}
.restore-settings[data-design-direction=cinematic]{border-color:#829dab!important;border-radius:18px!important;box-shadow:0 18px 55px #0009}
.restore-settings[data-design-direction=cinematic] select{background:#1b303c;color:#eef3f5;border-color:#5b707c;border-radius:12px}
.restore-settings[data-design-direction=cinematic] button{border-radius:12px}
.restore-settings[data-design-direction=cinematic] .approved-primary{color:#14212b}
.restore-settings[data-design-direction=luxury]{border-color:#947a4c!important;border-radius:8px!important}
/* Offline launch privacy disclosure; inherits every Settings appearance. */
.restore-privacy article{min-width:0;overflow-wrap:anywhere}
.restore-privacy h4{font-size:1em;line-height:1.5;margin:24px 0 10px}
.restore-privacy p{line-height:1.65}
.restore-privacy a{display:flex;align-items:center;min-height:48px}

/* components/restore/spatial-performance-player.css */
.spatial-performance{position:relative;flex:none}.spatial-performance-toggle{width:44px;min-height:44px!important;padding:6px!important;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))!important;color:var(--restore-gold,#c6aa70)}
.spatial-performance-panel{position:absolute;z-index:20;right:0;top:calc(100% + 8px);width:min(330px,calc(100vw - 32px));max-height:60dvh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--restore-line,#655d4b);border-radius:12px;background:var(--restore-panel,#191917);box-shadow:0 12px 35px #0008;padding:20px;color:var(--restore-ink,#f3efe6)}
.spatial-performance-panel h3{font-family:var(--font-serif,Georgia,serif);font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));font-weight:500;margin:12px 30px 6px 0}.spatial-performance-panel p{display:block!important;font-size:calc(13px * var(--restore-text-scale,1))!important;line-height:1.5;margin:6px 0!important;white-space:normal}.spatial-performance-panel .spatial-performance-performer{color:var(--restore-muted,#b8b3a8)}
.spatial-performance-panel>button:not(.spatial-performance-close){width:100%;margin:12px 0;min-height:48px}.spatial-performance-panel small{display:block;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#b8b3a8)}.spatial-performance-panel .spatial-performance-close{position:absolute;right:10px;top:8px;width:44px;min-height:44px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))!important;padding:4px!important}

/* components/restore/collection-rankings.css */
.collection-rankings{max-width:900px;padding-bottom:24px}.collection-rankings h1{margin-bottom:24px}.ranking-periods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:16px 0 22px}.restore-luxury .ranking-periods button{min-height:48px;padding:10px 4px;white-space:normal}.ranking-periods [aria-selected=true]{border-color:var(--restore-gold);color:var(--restore-gold);background:var(--restore-elevated)}.ranking-panel{padding:18px;border:1px solid var(--restore-line);border-radius:12px;background:var(--restore-panel)}.ranking-panel h2{font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}.ranking-window,.ranking-scope,.ranking-note{color:var(--restore-muted);font-size:calc(13px * var(--restore-text-scale,1));line-height:1.6}.ranking-players{list-style:none;margin:18px 0;padding:0}.ranking-players li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:58px;border-bottom:1px solid var(--restore-line);padding:10px 0}.ranking-players strong{overflow-wrap:anywhere}.ranking-position{color:var(--restore-gold)}.ranking-players li>span:last-child{font-variant-numeric:tabular-nums;font-size:calc(13px * var(--restore-text-scale,1))}.ranking-device{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 8px;padding:16px 0;border-top:1px solid var(--restore-line)}.ranking-device div{display:flex;flex-direction:column;gap:5px}.ranking-device div>span{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted)}.ranking-device>strong{text-align:right;font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));white-space:nowrap}.ranking-device small{display:block;font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted)}.ranking-profile{padding:26px 0 18px}.ranking-profile h2{font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}.ranking-profile>label:not(.ranking-consent){display:flex;flex-direction:column;gap:8px}.ranking-profile input:not([type=checkbox]){min-height:48px;background:var(--restore-panel);border:1px solid var(--restore-line);border-radius:8px;padding:10px 12px;color:var(--restore-ink);max-width:420px}.ranking-consent{display:flex;gap:12px;align-items:flex-start;min-height:48px;margin:16px 0;cursor:pointer}.ranking-consent input{flex-shrink:0;min-width:24px;min-height:24px;margin-top:3px;accent-color:var(--restore-gold)}.ranking-actions{display:flex;flex-wrap:wrap;gap:10px}.ranking-error{border:1px solid #b08060;background:var(--restore-panel);padding:15px;border-radius:8px}.ranking-rules{margin:22px 0}.ranking-rules summary{min-height:48px;padding:13px 0;cursor:pointer;color:var(--restore-gold)}.ranking-rules p{color:var(--restore-muted)}.restore-ranking-list{list-style:none;padding:0;margin:18px 0}.restore-ranking-list li{display:flex;justify-content:space-between;gap:12px;min-height:40px;border-bottom:1px solid var(--restore-line);padding:9px 0}.restore-navigation:has([data-open-rankings]) button{max-width:190px}@media(max-width:600px){.ranking-panel{padding:15px}.ranking-periods{gap:4px}.ranking-periods button{font-size:calc(12px * var(--restore-text-scale,1))}.ranking-profile>p{font-size:calc(14px * var(--restore-text-scale,1))}.ranking-players li{gap:7px;grid-template-columns:24px minmax(0,1fr) auto}.restore-navigation [data-open-rankings]{font-size:calc(11px * var(--restore-text-scale,1))}}[data-design-direction=gallery] .ranking-panel,[data-design-direction=gallery] .ranking-error{background:var(--restore-panel)}
/* Collection › Progress: the selected section tab already names the section, so its heading is kept for
   screen readers only (one visible heading per screen, no repeated label). Refinement 2026-10-11. */
.restore-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* components/restore/motion-view-controls.css */
.motion-view-controls{position:absolute;top:8px;left:8px;z-index:4;max-width:min(240px,56%);color:var(--restore-ink,#eee8dc);font:calc(13px * var(--restore-text-scale,1))/1.35 var(--font-sans,Arial,sans-serif)}
.motion-view-controls[hidden]{display:none}
.motion-view-controls>button{min-width:44px;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--restore-line,#655d4b);border-radius:7px;background:var(--restore-panel,#191916);color:inherit;font:inherit;cursor:pointer;white-space:normal;text-align:left;touch-action:manipulation}
.motion-view-controls>button:focus-visible{outline:2px solid var(--restore-gold,#e7c98b);outline-offset:3px}
.motion-view-controls>p{margin:0;padding:8px 10px;border:1px solid var(--restore-line,#655d4b);border-radius:7px;background:var(--restore-panel,#191916);font:inherit}
@media(max-height:540px){.motion-view-controls{top:5px;left:5px;font-size:calc(12px * var(--restore-text-scale,1));max-width:min(240px,46%)}}

/* components/restore/vertical-strip-restoration.css */
/* Exact-source study: one dominant fitted rectangle, quiet controls, no answer marks. */
.strip-layout-choice{display:grid;gap:18px;width:min(100%,580px);margin:auto;padding:20px;color:var(--restore-ink);box-sizing:border-box}
.restore-luxury .strip-layout-choice>h2{margin:0;font-size:calc(clamp(22px,5vw,31px) * (1 + (var(--restore-text-scale,1) - 1) * 0.581));line-height:1.2;text-align:center;font-weight:500}
.strip-layout-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.restore-luxury .strip-layout-card{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid var(--restore-line);border-radius:10px;background:var(--restore-panel);text-align:left;color:var(--restore-ink);gap:10px;transition:border-color 150ms ease,background 150ms ease}
.restore-luxury .strip-layout-card[aria-pressed=true]{border:2px solid var(--restore-gold);padding:7px;background:color-mix(in srgb,var(--restore-gold) 9%,var(--restore-panel))}
.strip-layout-preview{display:flex;align-items:center;justify-content:center;width:100%;height:clamp(140px,25dvh,225px);overflow:hidden;background:#0a0a09;border-radius:5px;color:#f3efe661}
.strip-layout-preview>svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%}
.strip-layout-label{display:flex;align-items:center;gap:6px;justify-content:space-between;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.3;min-height:36px;width:100%;padding:0 2px}
.strip-layout-check{width:19px;height:19px;flex:0 0 19px;display:flex;justify-content:center;align-items:center;border-radius:50%;color:var(--restore-gold);border:1px solid var(--restore-line);font-size:calc(12px * var(--restore-text-scale,1))}
.strip-layout-card[aria-pressed=true] .strip-layout-check{border-color:var(--restore-gold)}
.restore-luxury .strip-layout-choice>[data-start-strip-layout]{min-height:54px;margin:0;width:100%;font-size:calc(16px * var(--restore-text-scale,1));justify-content:center}
.strip-layout-loading{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted)}
.strip-layout-replace{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted);margin:0;text-align:center}
.restore-luxury .strip-layout-cancel{min-height:48px;background:transparent;margin:0;font-size:calc(13px * var(--restore-text-scale,1))}
.vertical-strip-layout-intro{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;background:var(--restore-bg,var(--restore-black,#0d0d0c));padding:max(12px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
.vertical-strip-restoration[data-choosing-strip-layout=true]>.vertical-strip-surface,.vertical-strip-restoration[data-choosing-strip-layout=true]>.vertical-strip-tools{visibility:hidden}
.vertical-strip-change-layout,.vertical-strip-advanced{border-top:1px solid var(--restore-line);margin:10px 0}
.vertical-strip-change-layout>summary,.vertical-strip-advanced>summary{min-height:48px;display:flex;align-items:center;cursor:pointer;color:var(--restore-ink);font-size:calc(14px * var(--restore-text-scale,1))}
.vertical-strip-change-layout .strip-layout-choice{padding:12px 0}
.vertical-strip-change-layout .strip-layout-preview{height:135px}
.vertical-strip-change-layout .strip-layout-choice>h2{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}
@media(max-width:380px){.strip-layout-choice{padding:14px 10px;gap:15px}.strip-layout-cards{gap:9px}.strip-layout-label{font-size:calc(12px * var(--restore-text-scale,1))}.strip-layout-preview{height:clamp(125px,23dvh,190px)}}
@media(max-height:540px) and (orientation:landscape){.strip-layout-choice{gap:9px;padding:10px 16px;width:min(100%,700px)}.strip-layout-preview{height:clamp(90px,36dvh,160px)}.strip-layout-label{min-height:28px;font-size:calc(12px * var(--restore-text-scale,1))}.restore-luxury .strip-layout-choice>h2{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.restore-luxury .strip-layout-choice>[data-start-strip-layout]{min-height:48px}.strip-layout-cards{max-width:520px;justify-self:center;width:100%}}
@media(prefers-reduced-motion:reduce){.strip-layout-card{transition:none}}:where(:root[data-system-reduced-motion]) .strip-layout-card{transition:none}
.vertical-strip-orientations{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-block:16px}.restore-luxury .vertical-strip-orientations button{min-height:60px;padding:10px;font-size:calc(14px * var(--restore-text-scale,1));display:flex;flex-direction:column;gap:5px}.vertical-strip-orientations small{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted)}.restore-luxury .vertical-strip-orientations button[aria-pressed=true]{border-color:var(--restore-gold);opacity:1;background:#27241d}
.restore-luxury .vertical-strip-restoration{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto;flex:1;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;padding:5px max(9px,env(safe-area-inset-left)) max(7px,env(safe-area-inset-bottom));gap:5px;color:var(--restore-ink)}
.vertical-strip-heading{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 2px}.restore-luxury .vertical-strip-heading h2{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));font-weight:450;line-height:1.2;margin:0}.vertical-strip-heading>span{margin-left:auto;font-size:calc(12px * var(--restore-text-scale,1));white-space:nowrap;color:var(--restore-muted)}.restore-luxury .vertical-strip-heading>button{min-height:48px;padding:7px 10px;font-size:calc(12px * var(--restore-text-scale,1))}
.vertical-strip-surface{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;position:relative;overflow:hidden;background:#11110f;border-radius:7px;isolation:isolate}
.vertical-strip-artwork{position:relative;flex:none;min-width:0;min-height:0}.vertical-strip-bitmap{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}.vertical-strip-artwork>.vertical-strip-board{position:relative;z-index:1}
.vertical-strip-board{display:block;flex:none;max-width:100%;max-height:100%;overflow:visible;touch-action:none;user-select:none;-webkit-user-select:none}
.vertical-strip-piece{transform-box:view-box;transform-origin:0 0;transition:transform 185ms cubic-bezier(.2,.65,.28,1);cursor:grab;outline:none}.vertical-strip-piece.is-held{filter:drop-shadow(0 4px 4px #0007);cursor:grabbing}.vertical-strip-piece.is-held{z-index:2}
.vertical-strip-select-outline{stroke:#d1b57a;opacity:0;pointer-events:none;transition:opacity 150ms}.vertical-strip-piece.is-selected .vertical-strip-select-outline,.vertical-strip-piece:focus-visible .vertical-strip-select-outline{opacity:.9}.vertical-strip-piece.is-hinted .vertical-strip-select-outline{opacity:.95;stroke:#f3efe6}
.vertical-strip-seam{stroke:#f3efe6;opacity:.2;pointer-events:none}.vertical-strip-hint-destination{stroke:#d1b57a;stroke-dasharray:5 4;opacity:.8}.vertical-strip-pristine{transition:opacity 420ms ease-in-out}.vertical-strip-restoration.is-complete .vertical-strip-select-outline,.vertical-strip-restoration.is-complete .vertical-strip-seam{opacity:0}
.vertical-strip-loading{max-width:330px;padding:24px;color:var(--restore-muted);text-align:center;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.6}
.vertical-strip-tools{min-height:0}.vertical-strip-tools>p{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.35;margin:2px 3px 7px;min-height:32px;max-width:none;color:var(--restore-muted)}
.vertical-strip-controls{display:flex;align-items:stretch;gap:6px}.restore-luxury .vertical-strip-controls>button{flex:1;min-width:44px;min-height:48px;padding:6px 9px;font-size:calc(12px * var(--restore-text-scale,1))}.vertical-strip-step-controls{display:flex;gap:5px;flex:0 0 auto}.restore-luxury .vertical-strip-step-controls>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-width:58px;min-height:50px;padding:4px 7px;font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));line-height:1}.vertical-strip-step-controls small{font-size:calc(9px * var(--restore-text-scale,1));line-height:1.5}.restore-luxury .vertical-strip-step-controls>button:disabled{opacity:.42}
.vertical-strip-options{position:absolute;z-index:5;left:9px;right:9px;bottom:max(7px,env(safe-area-inset-bottom));max-height:min(74dvh,560px);padding:20px;overflow:auto;overscroll-behavior:contain;border:1px solid #8b754c;border-radius:10px;background:var(--restore-panel);box-shadow:0 -8px 30px #0008;color:var(--restore-ink)}.vertical-strip-options h3{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));margin:0 48px 15px 0}.vertical-strip-options p{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.65;color:var(--restore-muted)}.restore-luxury .vertical-strip-close{position:absolute;top:5px;right:6px;width:48px;height:48px;min-height:48px;padding:2px;font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692))}.vertical-strip-difficulties{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}.restore-luxury .vertical-strip-difficulties button{display:flex;flex-direction:column;align-items:center;gap:5px;min-height:58px;padding:8px 4px;font-size:calc(12px * var(--restore-text-scale,1))}.vertical-strip-difficulties small{font-size:calc(10px * var(--restore-text-scale,1));color:var(--restore-muted)}.restore-luxury .vertical-strip-difficulties button[aria-pressed=true]{border-color:var(--restore-gold);background:#27241d}.vertical-strip-new-study{padding:5px 0 16px}.vertical-strip-new-study button{margin:3px 5px 3px 0}.vertical-strip-footnote{font-size:calc(11px * var(--restore-text-scale,1))!important;line-height:1.6!important;margin-top:16px}.vertical-strip-debug{font:calc(11px * var(--restore-text-scale,1))/1.5 monospace;overflow:auto;max-height:180px;color:#f3efe6;background:#080808;padding:12px}
.vertical-strip-accessible-controls{border-block:1px solid var(--restore-line);padding:5px 0 13px;margin-top:12px}.vertical-strip-accessible-controls>div{display:flex;gap:7px;margin-top:7px}.restore-luxury .vertical-strip-accessible-controls button{flex:1;min-width:44px;min-height:48px;font-size:calc(12px * var(--restore-text-scale,1));padding:7px}
.vertical-strip-restoration.is-reduced-motion .vertical-strip-piece,.vertical-strip-restoration.is-reduced-motion .vertical-strip-pristine,.vertical-strip-restoration.is-reduced-motion .vertical-strip-select-outline{transition:none}.vertical-strip-restoration.is-reduced-motion .vertical-strip-piece.is-held{filter:none}
@media(prefers-reduced-motion:reduce){.vertical-strip-piece,.vertical-strip-pristine,.vertical-strip-select-outline{transition:none}.vertical-strip-piece.is-held{filter:none}}:where(:root[data-system-reduced-motion]) .vertical-strip-piece,:where(:root[data-system-reduced-motion]) .vertical-strip-pristine,:where(:root[data-system-reduced-motion]) .vertical-strip-select-outline{transition:none}:where(:root[data-system-reduced-motion]) .vertical-strip-piece.is-held{filter:none}
@media(max-width:380px){.restore-luxury .vertical-strip-heading h2{font-size:calc(16px * var(--restore-text-scale,1))}.vertical-strip-heading{gap:6px}.vertical-strip-heading>span{font-size:calc(11px * var(--restore-text-scale,1))}.restore-luxury .vertical-strip-heading>button{font-size:calc(11px * var(--restore-text-scale,1));padding:6px 8px}.vertical-strip-controls{gap:4px}.restore-luxury .vertical-strip-controls>button{font-size:calc(11px * var(--restore-text-scale,1));padding:5px 7px}.restore-luxury .vertical-strip-step-controls>button{min-width:50px}.vertical-strip-tools>p{font-size:calc(11px * var(--restore-text-scale,1))}}
@media(max-height:540px) and (orientation:landscape){.restore-luxury .vertical-strip-restoration{grid-template-rows:32px minmax(0,1fr) 48px;gap:3px;padding-top:2px}.vertical-strip-heading{min-height:30px}.restore-luxury .vertical-strip-heading h2{font-size:calc(16px * var(--restore-text-scale,1))}.restore-luxury .vertical-strip-heading>button{min-height:30px;padding:4px 10px}.vertical-strip-tools{display:flex;align-items:center;gap:12px}.vertical-strip-tools>p{flex:1;max-width:43%;font-size:calc(11px * var(--restore-text-scale,1));min-height:0;margin:0}.vertical-strip-controls{flex:1}.restore-luxury .vertical-strip-controls>button,.restore-luxury .vertical-strip-step-controls>button{min-height:44px}.vertical-strip-options{max-height:82dvh}}

/* components/restore/restore-logo.css */
/* Logo Identity v3: exact supplied portraits and genuine outlined Fraunces wordmark. */
.restore-brand{display:flex;align-items:center;gap:14px;flex:none;line-height:1;direction:ltr;max-width:100%}
.restore-brand-symbol{display:block;width:var(--brand-symbol-size);height:var(--brand-symbol-size);aspect-ratio:1;object-fit:contain;flex:none}
.restore-brand-wordmark{display:block;width:var(--brand-wordmark-width);height:auto;aspect-ratio:1800/440;object-fit:contain;flex:none}
.restore-brand--primary{flex-direction:column;gap:16px}
.restore-brand-opening{min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0;padding:max(28px,env(safe-area-inset-top)) 24px max(28px,env(safe-area-inset-bottom));background:#0d0d0c;color:#f3efe6;text-align:center;font-family:Figtree,Arial,sans-serif}
.restore-brand-opening .restore-brand-symbol{width:min(var(--brand-symbol-size),68vw,40dvh);height:auto}
.restore-brand-opening .restore-brand-wordmark{width:min(var(--brand-wordmark-width),72vw)}
.restore-opening-caption{font-size:calc(15px * var(--restore-text-scale,1));color:#bab6ab;margin:16px 0 0;line-height:1.5}
.restore-opening-status{font-size:calc(12px * var(--restore-text-scale,1));color:#bab6ab;margin:42px 0 0;line-height:1.5}
.restore-topbar .restore-wordmark{display:flex;align-items:center;flex-shrink:0;letter-spacing:normal}
/* Keep the supplied champagne lettering readable in the optional light gallery theme. */
.restore-luxury[data-design-direction=gallery] .restore-topbar{background:#0d0d0c;--restore-panel:#191917;--restore-elevated:#22221e;--restore-ink:#f3efe6;--restore-muted:#bab6ab;--restore-gold:#c6aa70;--restore-line:#48463d}
.restore-immersive .restore-topbar .restore-wordmark{padding:0}
.restore-immersive .restore-brand{gap:9px;--brand-symbol-size:32px!important;--brand-wordmark-width:122px!important}
.restore-presentation .restore-first-identity{display:flex;align-items:center;flex-direction:column;text-align:center;margin:0 0 32px;gap:12px}
.restore-first-identity .restore-brand-symbol{width:min(220px,48vw);height:auto}
.restore-first-identity .restore-brand-wordmark{width:min(248px,62vw)}
.restore-first-identity p{margin:0;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5;color:#bab6ab}
.restore-luxury :is(h1,h2,h3),.restore-settings :is(h1,h2,h3),.restore-presentation h1{font-weight:500}
@media(max-width:360px){.restore-topbar .restore-brand{gap:10px;--brand-wordmark-width:142px!important}.restore-immersive .restore-topbar .restore-brand{gap:8px;--brand-wordmark-width:100px!important}}
@media(max-height:540px) and (orientation:landscape){.restore-first-identity .restore-brand{flex-direction:row;gap:20px}.restore-first-identity .restore-brand-symbol{width:88px}.restore-first-identity .restore-brand-wordmark{width:220px}.restore-presentation .restore-first-identity{margin-bottom:18px}.restore-brand-opening .restore-brand--primary{flex-direction:row;gap:28px}.restore-brand-opening .restore-brand-symbol{width:42dvh}}
/* C-V18 (refinement 2026-10-11): on the Cinematic navy bar the supplied portrait's black ground reads as a
   deliberate tile, with soft corners and a hairline frame. The supplied image itself is unchanged. */
.approved-collection[data-design-direction=cinematic] .restore-topbar .restore-brand-symbol{border-radius:7px;box-shadow:0 0 0 1px #d3e7ee40,0 2px 10px #0008}

/* app/collection-menu.css */
/* Menu ergonomics, October 2026. Scoped to menus and nonimmersive navigation.
   Existing artwork, fonts, palette, puzzle layout, gestures and rendering are unchanged. */
.approved-collection:not(.restore-immersive) > .restore-topbar {
  min-height: 72px;
  padding: 10px max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
  gap: 10px;
}
.approved-collection:not(.restore-immersive) > .restore-topbar .restore-wordmark {
  min-height: 48px;
  min-width: 0;
  padding: 0;
}
.approved-collection:not(.restore-immersive) > .restore-topbar .approved-settings-button {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
  margin-inline-start: auto;
}
.approved-collection:not(.restore-immersive) > .restore-topbar .approved-settings-button svg {
  width: 22px;
  height: 22px;
}
.approved-collection:not(.restore-immersive) > .restore-topbar .restore-header-back {
  min-width: 48px;
  min-height: 48px;
  margin-inline-start: auto;
  padding: 10px 12px;
  white-space: nowrap;
}
.approved-collection:not(.restore-immersive) > .restore-topbar .restore-header-back + .approved-settings-button {
  margin-inline-start: 0;
}
.approved-collection:not(.restore-immersive) > .restore-navigation {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: stretch;
  gap: 4px;
  padding: 6px max(12px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.approved-collection:not(.restore-immersive) > .restore-navigation button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  max-width: none;
  min-height: 60px;
  padding: 6px 4px;
  font-size: calc(12px * var(--restore-text-scale,1));
  font-weight: 500;
  line-height: 1.25;
  white-space: normal;
}
.approved-collection:not(.restore-immersive) > .restore-navigation .restore-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: inherit;
}
.approved-collection:not(.restore-immersive) > .restore-navigation .restore-nav-icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.approved-collection:not(.restore-immersive) > .restore-navigation button[aria-current=page] {
  color: var(--restore-gold);
  font-weight: 650;
  background: var(--restore-panel);
  border-color: #62573d;
}
.approved-collection:not(.restore-immersive) > .restore-navigation .restore-nav-label {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.restore-menu {
  padding: 28px max(22px, env(safe-area-inset-right)) 36px max(22px, env(safe-area-inset-left));
  scroll-padding-block: 20px;
}
.restore-menu > * {
  min-width: 0;
}
.restore-menu .restore-home-heading {
  margin-bottom: 22px;
}
.restore-menu .restore-home-heading .restore-eyebrow {
  margin-bottom: 9px;
}
.restore-menu .restore-home-heading h1 {
  margin: 0;
  font-size: calc(clamp(30px, 3.5vw, 42px) * (1 + (var(--restore-text-scale,1) - 1) * 0.429));
  line-height: 1.15;
}
.restore-menu .restore-home-heading > p:last-child {
  margin: 10px 0 0;
  font-size: calc(15px * var(--restore-text-scale,1));
  line-height: 1.55;
  max-width: 560px;
}
.restore-menu .restore-home-feature {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: 12px;
  align-items: stretch;
}
.restore-menu .restore-home-feature figure {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  background: #11110f;
}
.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature figure img {
  width: 100%;
  height: 360px;
  min-height: 0;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
}
.restore-menu .restore-home-feature figcaption {
  font-size: calc(11px * var(--restore-text-scale,1));
  line-height: 1.5;
  padding: 7px 14px;
}
.restore-menu .restore-feature-copy {
  padding: 28px;
  width: 100%;
  min-width: 0;
}
.restore-menu .restore-feature-copy h2 {
  font-size: calc(clamp(26px, 3vw, 36px) * (1 + (var(--restore-text-scale,1) - 1) * 0.5));
  line-height: 1.16;
  margin: 10px 0;
  overflow-wrap: anywhere;
}
.restore-menu .restore-feature-copy > p:not(.restore-eyebrow) {
  margin: 8px 0;
  font-size: calc(14px * var(--restore-text-scale,1));
  line-height: 1.5;
}
.restore-menu .restore-feature-copy .restore-progress-label {
  font-size: calc(13px * var(--restore-text-scale,1));
  line-height: 1.6;
  margin: 18px 0 16px;
  font-variant-numeric: tabular-nums;
}
.restore-menu .restore-feature-copy .approved-primary {
  width: 100%;
  min-height: 52px;
  text-align: start;
  gap: 16px;
  font-size: calc(15px * var(--restore-text-scale,1));
}
.restore-menu .restore-feature-copy .restore-feature-note {
  margin: 0 0 10px;
  font-size: calc(12px * var(--restore-text-scale,1));
  line-height: 1.5;
}
.restore-menu .restore-home-secondary,
.restore-menu .restore-score-summary,
.restore-menu .restore-collection-tools,
.restore-menu .restore-collection-filters,
.restore-menu .restore-mystery-strip {
  width: min(100%, 1080px);
  margin-inline: auto;
}
.restore-menu .restore-score-summary {
  border: 0;
  border-top: 1px solid var(--restore-line);
  border-radius: 0;
  padding: 18px 0 0;
  margin-block: 24px 0;
  align-items: center;
}
.restore-menu .restore-score-summary button,
.restore-menu .restore-home-secondary button {
  min-height: 48px;
  background: transparent;
}
.restore-menu .restore-home-secondary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.restore-menu .restore-page-heading {
  margin-bottom: 20px;
}
.restore-menu .restore-page-heading h1 {
  margin: 0 0 10px;
  font-size: calc(clamp(32px, 4vw, 44px) * (1 + (var(--restore-text-scale,1) - 1) * 0.409));
}
.restore-menu .restore-page-heading > p:last-child {
  margin: 0;
  font-size: calc(15px * var(--restore-text-scale,1));
  line-height: 1.6;
}
.restore-menu .restore-discovery-feature {
  margin-top: 20px;
  padding: 0;
  width: 100%;
  text-align: start;
  overflow: hidden;
}
.restore-menu .restore-discovery-feature .approved-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
}
.restore-menu .restore-mystery-strip {
  display: block;
  margin-block: 24px 8px;
}
.restore-menu .restore-mystery-strip > header h2 {
  font-size: calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));
  margin: 0 0 14px;
}
.restore-menu .restore-mystery-strip > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.restore-menu .restore-mystery-teaser {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #35352f;
  border-radius: 8px;
  background: #11110f;
}
.restore-menu .restore-mystery-teaser .restore-mystery-image {
  height: 80px !important;
  overflow: hidden;
  position: relative;
}
.restore-menu .restore-mystery-teaser img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: cover;
  transform: scale(5.5);
  filter: brightness(.68);
}
.restore-menu .restore-mystery-teaser figcaption {
  font-size: calc(11px * var(--restore-text-scale,1));
  line-height: 1.4;
  color: var(--restore-muted);
  padding: 9px 10px;
  text-align: center;
}
.restore-menu .restore-search {
  margin-bottom: 18px;
}
.restore-menu .restore-search input {
  width: 100%;
  max-width: 540px;
  min-height: 48px;
}
.restore-menu .restore-collection-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.restore-menu .restore-collection-filters button {
  min-width: 64px;
  min-height: 48px;
  padding: 10px 14px;
  font-size: calc(13px * var(--restore-text-scale,1));
  background: transparent;
}
.restore-menu .restore-collection-filters button[aria-pressed=true] {
  color: var(--restore-gold);
  background: var(--restore-panel);
  border-color: #756442;
  font-weight: 650;
}
.restore-menu .restore-collection-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--restore-line);
}
.restore-menu .restore-collection-tools button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  background: transparent;
}
.restore-menu .restore-work-grid {
  gap: 20px;
}
.restore-menu .restore-work-card {
  min-width: 0;
  scroll-margin-block: 20px;
}
.restore-menu .restore-card-copy {
  min-width: 0;
}
.restore-menu .restore-card-copy > span {
  font-size: calc(12px * var(--restore-text-scale,1));
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.restore-menu .restore-source-studies {
  margin-top: 28px;
  padding-top: 22px;
}
.restore-menu .restore-source-studies > summary {
  min-height: 48px;
  padding: 12px 0;
  cursor: pointer;
  color: var(--restore-ink);
  font-size: calc(16px * var(--restore-text-scale,1));
}
.restore-menu .restore-source-studies[open] > .restore-work-grid {
  margin-top: 16px;
}
.approved-collection:not(.restore-immersive) .restore-activity {
  min-height: 128px;
  padding: 20px;
  gap: 12px;
}
.approved-collection:not(.restore-immersive) .restore-activity strong {
  font-size: calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));
}
.approved-collection:not(.restore-immersive) .restore-activity small {
  margin-top: 7px;
}
.approved-collection:not(.restore-immersive) .restore-activity em {
  margin-top: 12px;
  font-size: calc(12px * var(--restore-text-scale,1));
  font-variant-numeric: tabular-nums;
}
.restore-menu :is(button, input, select, a, summary):focus-visible,
.approved-collection:not(.restore-immersive) > .restore-topbar button:focus-visible,
.approved-collection:not(.restore-immersive) > .restore-navigation button:focus-visible {
  outline: 2px solid var(--restore-gold);
  outline-offset: 3px;
}
/* Home alone is 12.5% shorter than the previous artwork presentation.
   The original stays contained, including tall portrait focal subjects. */
.approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature[data-home-artwork] figure img {
  height: 315px;
  max-height: 385px;
}
.restore-menu .restore-home-feature[data-home-artwork] .restore-feature-copy {
  padding: 24px;
}
.restore-menu .restore-home-feature[data-home-artwork] .restore-feature-copy h2 {
  margin-block: 8px;
}
.restore-menu .restore-home-feature[data-home-artwork] .restore-feature-copy > p:not(.restore-feature-note) {
  margin-block: 6px;
}
.restore-menu .restore-home-feature[data-home-artwork] .restore-progress-label {
  margin-block: 10px;
}
.restore-menu .restore-home-feature[data-home-artwork] .restore-feature-note {
  color: var(--restore-muted);
  overflow-wrap: anywhere;
}
.restore-menu .restore-home-feature[data-home-artwork] .approved-primary {
  white-space: normal;
  height: auto;
  line-height: 1.4;
}
/* The local assembly component supplies its own safe-area overlays and exit. */
.approved-collection.restore-spatial-workspace {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
@media (min-width: 1050px) {
  .approved-collection:not(.restore-immersive) > .restore-navigation {
    grid-template-columns: repeat(5, minmax(0, 165px));
    justify-content: center;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .restore-menu {
    padding: 22px max(20px, env(safe-area-inset-right)) 28px max(20px, env(safe-area-inset-left));
  }
  .restore-menu .restore-home-heading { margin-bottom: 18px; }
  .restore-menu .restore-home-heading h1 { font-size: calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.6)); }
  .restore-menu .restore-home-heading > p:last-child { font-size: calc(14px * var(--restore-text-scale,1)); }
  .restore-menu .restore-home-feature { display: flex; flex-direction: column; }
  .approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature figure img {
    height: clamp(200px, 28dvh, 290px);
    min-height: 0;
    object-fit: contain;
  }
  .restore-menu .restore-feature-copy { padding: 20px; }
  .approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature[data-home-artwork] figure img {
    height: clamp(175px, 24.5dvh, 254px);
    max-height: none;
  }
  .restore-menu .restore-home-feature[data-home-artwork] .restore-feature-copy { padding: 18px; }
  .restore-menu .restore-feature-copy h2 { font-size: calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643)); }
  .restore-menu .restore-feature-copy .restore-progress-label { margin-block: 14px; }
  .restore-menu .restore-work-grid { gap: 14px; }
  .restore-menu .restore-mystery-strip { margin-top: 20px; }
  .restore-menu .restore-mystery-strip > div { gap: 10px; }
  .restore-menu .restore-mystery-teaser figcaption { padding: 8px 4px; }
  .restore-menu .restore-card-copy { padding: 15px 13px; }
  .restore-menu .restore-card-copy > span { font-size: calc(11px * var(--restore-text-scale,1)); }
}
@media (max-width: 480px) {
  .approved-collection:not(.restore-immersive) > .restore-topbar {
    padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    gap: 8px;
  }
  .approved-collection:not(.restore-immersive) > .restore-topbar .restore-brand {
    gap: 10px;
    --brand-wordmark-width: clamp(116px, 34vw, 140px) !important;
  }
  .approved-collection:not(.restore-immersive) > .restore-topbar .restore-header-back {
    padding-inline: 10px;
    font-size: calc(12px * var(--restore-text-scale,1));
  }
  .restore-menu .restore-collection-filters { gap: 6px; }
  .restore-menu .restore-collection-filters button { padding-inline: 12px; font-size: calc(12px * var(--restore-text-scale,1)); }
}
@media (max-width: 380px) {
  .approved-collection:not(.restore-immersive) > .restore-navigation {
    gap: 2px;
    padding-inline: max(6px, env(safe-area-inset-left)) max(6px, env(safe-area-inset-right));
  }
  .approved-collection:not(.restore-immersive) > .restore-navigation button {
    padding-inline: 2px;
    font-size: calc(11px * var(--restore-text-scale,1));
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  .approved-collection:not(.restore-immersive) > .restore-topbar {
    min-height: 58px;
    padding-block: 4px;
  }
  .approved-collection:not(.restore-immersive) > .restore-navigation button {
    flex-direction: row;
    min-height: 48px;
    gap: 7px;
    padding-block: 4px;
  }
  .restore-menu { padding-top: 18px; }
  .restore-menu .restore-home-heading { margin-bottom: 14px; }
  .restore-menu .restore-home-heading h1 { font-size: calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643)); }
  .restore-menu .restore-home-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature figure img { height: 240px; max-height: none; }
  .restore-menu .restore-feature-copy { padding: 20px; }
  .approved-collection:not(.restore-immersive) .restore-menu .restore-home-feature[data-home-artwork] figure img { height: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .restore-menu *,
  .approved-collection:not(.restore-immersive) > .restore-topbar *,
  .approved-collection:not(.restore-immersive) > .restore-navigation * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}:where(:root[data-system-reduced-motion]) .restore-menu *,:where(:root[data-system-reduced-motion]) .approved-collection:not(.restore-immersive) > .restore-topbar *,:where(:root[data-system-reduced-motion]) .approved-collection:not(.restore-immersive) > .restore-navigation *{
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

/* Refinement 2026-10-11: interruption resume offer (C-V8) and renderer-recovery notice. */
.restore-music-resume{position:fixed;z-index:160;left:12px;right:12px;bottom:calc(84px + env(safe-area-inset-bottom,0px));max-width:520px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 16px;border:1px solid var(--restore-gold,#bda371);border-radius:10px;background:var(--restore-panel,#191917);color:var(--restore-ink,#ede5d5);box-shadow:0 8px 30px #0009}
.restore-music-resume p{flex:1;margin:0;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.4}
.restore-music-resume>div{display:flex;gap:6px;flex:none}
.restore-music-resume button{min-height:44px;min-width:44px;border-radius:8px;border:1px solid var(--restore-line,#454136);background:transparent;color:inherit;font-size:calc(14px * var(--restore-text-scale,1))}
.restore-music-resume .restore-music-resume-primary{padding:0 14px;background:var(--restore-gold,#bda371);border-color:var(--restore-gold,#bda371);color:#201e19;font-weight:600}
@media(max-width:360px){.restore-music-resume{flex-wrap:wrap}.restore-music-resume p{flex-basis:100%}}

/* Refinement 2026-10-11, revised in the audit the same day.
   Home "choose" state: one featured discovery (the familiar Home card), two Gallery-style
   alternatives, and the unfinished work's studies as a single horizontal card.
   Collection sections (owner decision 3). Tokens only; no new colours.
   The earlier suggestion chips and Gallery century shelves were removed with their markup. */
.approved-collection .restore-menu .restore-home-others{width:min(100%,1080px);margin:28px auto 0}
.approved-collection .restore-menu .restore-home-others>h2{margin:0 0 14px;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}
.approved-collection .restore-menu .restore-home-others .restore-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.approved-collection .restore-menu .restore-home-others .restore-work-image{height:210px}
.approved-collection .restore-menu .restore-home-others .restore-card-copy h3{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));margin-bottom:6px}
.approved-collection .restore-menu .restore-home-continue{width:min(100%,1080px);margin:20px auto 0;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:stretch;text-align:start}
.approved-collection .restore-menu .restore-home-continue .restore-work-image{height:auto;min-height:132px}
.approved-collection .restore-menu .restore-home-continue .restore-work-image>:is(img,svg){position:absolute;inset:0;width:100%;height:100%}
.approved-collection .restore-menu .restore-home-continue .restore-card-copy{display:flex;flex-direction:column;justify-content:center;gap:6px;padding:16px 18px}
.approved-collection .restore-menu .restore-home-continue .restore-card-copy h3{margin:0;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}
.approved-collection .restore-menu .restore-home-continue .restore-card-copy>span{margin:0}
.approved-collection .restore-menu .restore-home-continue-action{margin-top:6px;font-size:calc(14px * var(--restore-text-scale,1));font-weight:600;color:var(--restore-gold)}
.restore-menu .restore-collection-sections{width:min(100%,1080px);margin:0 auto 18px;display:flex;gap:6px;border-bottom:1px solid var(--restore-line)}
.restore-menu .restore-collection-sections button{min-height:48px;padding:10px 16px;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--restore-muted);font-size:calc(14px * var(--restore-text-scale,1))}
.restore-menu .restore-collection-sections button[aria-selected=true]{color:var(--restore-gold);border-bottom-color:var(--restore-gold);font-weight:650}
.restore-menu .collection-rankings[data-rankings]>h2[data-progress-heading]{margin:6px 0 14px;font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75))}
/* Second wave: the bottom navigation has four destinations, so four equal columns (it reserved five, which
   left an empty fifth and squeezed "Collection" until it broke mid-word at larger Android font sizes).
   Its labels follow the font size up to 130 % and never break inside a word. */
.approved-collection:not(.restore-immersive)>.restore-navigation{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
.approved-collection:not(.restore-immersive)>.restore-navigation button{font-size:calc(12px * min(var(--restore-text-scale,1),1.3));overflow-wrap:normal;word-break:normal;hyphens:manual}
/* Second wave (C-R2): the contour board's music button is an icon; it keeps its 44 px box at every Android
   font size instead of growing down over the region status beneath it. */
.restore-immersive .approved-dot-music>summary{height:44px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.restore-immersive .approved-dot-music>summary::after{font-size:calc(20px * min(var(--restore-text-scale,1),1))}
/* Playtest condition (QA app only, set through DevTools): the running points line is hidden during work. */
html[data-playtest-hide-points=true] .restore-chapter-score{display:none}
/* Second wave: under the section tabs the tools row needs no second rule of its own. */
.restore-menu .restore-collection-sections+.restore-collection-tools{margin-top:0;padding-top:0;border-top:0;margin-bottom:22px}
@media(max-width:700px){
  .approved-collection .restore-menu .restore-home-others{margin-top:22px}
  .approved-collection .restore-menu .restore-home-others .restore-work-grid{gap:12px}
  .approved-collection .restore-menu .restore-home-others .restore-work-image{height:150px}
  .approved-collection .restore-menu .restore-home-others .restore-card-copy h3{font-size:calc(17px * var(--restore-text-scale,1))}
  .approved-collection .restore-menu .restore-home-continue{margin-top:16px;grid-template-columns:104px minmax(0,1fr)}
  .approved-collection .restore-menu .restore-home-continue .restore-work-image{min-height:112px}
  .approved-collection .restore-menu .restore-home-continue .restore-card-copy{padding:12px 14px}
  .approved-collection .restore-menu .restore-home-continue .restore-card-copy h3{font-size:calc(18px * var(--restore-text-scale,1))}
  /* The Studio entry on Home: on a phone its button takes its own row, so the description is not
     squeezed into a one-word column beside it (seen at 393 and 320 px in the audit). */
  .approved-collection .restore-menu .restore-studio-entry{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;align-items:start}
  .approved-collection .restore-menu .restore-studio-entry>div{grid-column:2}
  .approved-collection .restore-menu .restore-studio-entry>button{grid-column:2;justify-self:start;margin:0}
}
@media(max-width:360px){
  .approved-collection .restore-menu .restore-home-others .restore-work-image{height:120px}
  .approved-collection .restore-menu .restore-home-continue{grid-template-columns:84px minmax(0,1fr)}
}
@media(max-height:540px) and (orientation:landscape){
  .approved-collection .restore-menu .restore-home-others .restore-work-image{height:150px}
}

/* components/restore/approved-painting-restoration.css */
/* An earned artwork becomes an exact-source study without changing its board. */
.restored-painting-layout{position:absolute;inset:0;z-index:4;display:flex;overflow:auto;overscroll-behavior:contain;background:var(--restore-bg,var(--restore-black,#0d0d0c))}
.approved-collection.restore-immersive .model-fullscreen>.restore-reveal-footer>[data-start-3d-puzzle]{min-height:54px!important;font-size:calc(16px * var(--restore-text-scale,1));padding:10px 12px;line-height:1.25;letter-spacing:0}
.approved-collection.restore-immersive .model-fullscreen>.restore-reveal-footer:has([data-start-3d-puzzle]){grid-template-columns:minmax(94px,115px) minmax(0,1fr)}
.restore-reveal-other-studies{min-height:48px;width:100%;margin-top:12px!important}
.approved-collection.restore-immersive:has(>.approved-painting-restoration)>.restore-topbar,
.approved-collection.restore-immersive:has(>.approved-painting-restoration)>.restore-chapter-score{display:none}
.approved-collection.restore-immersive>.approved-painting-restoration{position:relative;flex:1;display:grid;grid-template-rows:auto minmax(0,1fr) 48px;gap:6px;width:100%;min-width:0;min-height:0;max-width:none;margin:0;padding:8px max(10px,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));overflow:hidden;background:var(--restore-bg,var(--restore-black,#0d0d0c))}
.restored-painting-heading{display:flex;align-items:center;gap:12px;min-height:56px}.restored-painting-heading>button{flex:0 0 48px;min-height:48px;padding:6px!important}.restored-painting-heading>div{min-width:0}.restore-luxury .restored-painting-heading h1{font-size:calc(clamp(19px,4.8vw,30px) * (1 + (var(--restore-text-scale,1) - 1) * 0.6));line-height:1.15;margin:2px 0;overflow-wrap:break-word}.restored-painting-heading .restore-eyebrow{font-size:calc(9px * var(--restore-text-scale,1));margin:0;letter-spacing:.12em}
.approved-painting-restoration>.restored-painting-heading,.approved-painting-restoration>.restored-painting-music{width:100%;min-width:0;min-height:0;max-width:none;margin:0}
.approved-painting-restoration>.restored-painting-music>summary{height:48px;min-height:48px;box-sizing:border-box;line-height:1.2;white-space:nowrap}
.restored-painting-workspace{position:relative;min-height:0;min-width:0;overflow:hidden}.restored-painting-workspace>.vertical-strip-restoration{padding:0;gap:5px;grid-template-rows:40px minmax(0,1fr) 114px}.restored-painting-workspace .vertical-strip-surface{border-radius:4px;background:transparent}.restored-painting-workspace .vertical-strip-heading{gap:8px}.restored-painting-workspace .vertical-strip-tools{align-self:center}.restored-painting-workspace .vertical-strip-piece{transition-duration:900ms;transition-timing-function:cubic-bezier(.22,.65,.3,1)}
.restored-painting-workspace [data-strip-presentation=study] .vertical-strip-piece{transition-duration:185ms}
.restored-painting-workspace [data-strip-presentation=pristine] .vertical-strip-heading,
.restored-painting-workspace [data-strip-presentation=pristine] .vertical-strip-tools,
.restored-painting-workspace [data-strip-presentation=shuffle] .vertical-strip-heading,
.restored-painting-workspace [data-strip-presentation=shuffle] .vertical-strip-tools{visibility:hidden;pointer-events:none}
.restored-painting-workspace [data-strip-presentation=pristine] .vertical-strip-seam{opacity:0}
.restored-painting-invitation{position:absolute;inset:auto 0 0;min-height:114px;display:grid;grid-template-columns:1fr;align-content:center;gap:5px;background:var(--restore-bg,var(--restore-black,#0d0d0c));text-align:center;padding:5px 0}.restore-luxury .restored-painting-invitation>p{font-family:Fraunces,serif;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818));line-height:1.2;margin:0;color:var(--restore-ink)}.restored-painting-invitation>span{font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4;color:var(--restore-muted)}.restore-luxury .restored-painting-invitation>button{min-height:50px;width:100%;margin:5px 0 0;font-size:calc(15px * var(--restore-text-scale,1))}.restored-painting-shuffle-caption{position:absolute;bottom:34px;left:0;right:0;text-align:center;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted);padding:12px}
.restored-painting-music{align-self:stretch;margin:0;z-index:5;font-size:calc(12px * var(--restore-text-scale,1))}.restored-painting-music>summary{display:flex;align-items:center;min-height:48px;padding:8px 12px;border:1px solid var(--restore-line);border-radius:7px;color:var(--restore-muted);cursor:pointer;list-style:none;overflow:hidden;text-overflow:ellipsis}.restored-painting-music>summary::after{content:'+';margin-inline-start:auto;padding-inline-start:10px;color:var(--restore-gold)}.restored-painting-music[open]>summary::after{content:'−'}.restored-painting-music>div{position:absolute;bottom:62px;left:10px;right:10px;max-height:60%;overflow:auto;background:var(--restore-panel);border:1px solid var(--restore-line);border-radius:8px;padding:14px;box-shadow:0 -10px 30px #0006}.restored-painting-music .artwork-performance{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0}.restored-painting-music .artwork-performance>span{flex-basis:100%}.restored-painting-music .artwork-performance>button{min-height:48px}.restored-painting-music .artwork-performance-credit{display:block;width:100%;white-space:normal;overflow-wrap:anywhere;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}
.approved-painting-restoration[data-painting-paused=true] .vertical-strip-piece{transition-duration:0s}
@media(max-height:540px) and (orientation:landscape){.approved-collection.restore-immersive>.approved-painting-restoration{grid-template-rows:48px minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(210px,28%);gap:6px 14px}.restored-painting-heading{grid-column:2;grid-row:1;min-height:48px;gap:8px}.restore-luxury .restored-painting-heading h1{font-size:calc(18px * var(--restore-text-scale,1))}.restored-painting-workspace{grid-column:1;grid-row:1/3;height:100%}.restored-painting-workspace>.vertical-strip-restoration{grid-template-rows:40px minmax(0,1fr) 90px}.restored-painting-invitation{min-height:90px;gap:3px}.restored-painting-invitation>span{display:none}.restore-luxury .restored-painting-invitation>p{font-size:calc(18px * var(--restore-text-scale,1))}.restored-painting-music{grid-column:2;grid-row:2;align-self:end}.restored-painting-music>div{bottom:62px;left:25%;max-height:70%}.restored-painting-heading .restore-eyebrow{font-size:calc(8px * var(--restore-text-scale,1))}}
@media(prefers-reduced-motion:reduce){.restored-painting-workspace .vertical-strip-piece{transition:none}}:where(:root[data-system-reduced-motion]) .restored-painting-workspace .vertical-strip-piece{transition:none}

.restored-painting-invitation:has([data-undo-restored-strips]){grid-template-columns:minmax(0,1fr) 110px}.restored-painting-invitation:has([data-undo-restored-strips])>p,.restored-painting-invitation:has([data-undo-restored-strips])>span{grid-column:1/-1}.restore-luxury .restored-painting-invitation>[data-undo-restored-strips]{font-size:calc(11px * var(--restore-text-scale,1));width:auto;margin-left:6px;min-height:50px;background:transparent;color:var(--restore-muted)}
/* C-V14 (refinement 2026-10-11): in short landscape windows the title spans the top beside nothing else, the
   board takes the left column and the recording title ends with an ellipsis instead of being cut mid-word. */
@media(max-height:540px) and (orientation:landscape){
 .approved-collection.restore-immersive>.approved-painting-restoration{grid-template-rows:44px minmax(0,1fr)}
 .approved-collection.restore-immersive>.approved-painting-restoration>.restored-painting-heading{grid-column:1/-1;grid-row:1;min-height:44px}
 .approved-collection.restore-immersive>.approved-painting-restoration>.restored-painting-workspace{grid-column:1;grid-row:2}
 .approved-collection.restore-immersive>.approved-painting-restoration>.restored-painting-music{grid-column:2;grid-row:2;align-self:end;min-width:0}
 .approved-painting-restoration>.restored-painting-music>summary{display:block;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:30px;line-height:calc(30px * (1 + (var(--restore-text-scale,1) - 1) * 0.81))}
 .approved-painting-restoration>.restored-painting-music>summary::after{position:absolute;right:12px;top:8px;padding:0}
}
/* Second wave (C-R2, Android font size): the heading and tool rows of the strip board grow with the text
   instead of spilling over the title above, and on a portrait screen the recording line wraps instead of
   being cut off at the edge (it was cut even at 100 %). Short landscape keeps its one-line ellipsis (C-V14). */
.restored-painting-workspace>.vertical-strip-restoration{grid-template-rows:minmax(40px,auto) minmax(0,1fr) minmax(114px,auto)}
@media(orientation:portrait),(min-height:541px){
 .approved-collection.restore-immersive>.approved-painting-restoration{grid-template-rows:auto minmax(0,1fr) auto}
 .approved-painting-restoration>.restored-painting-music>summary{height:auto;white-space:normal;line-height:1.3}
}
@media(max-height:540px) and (orientation:landscape){.restored-painting-workspace>.vertical-strip-restoration{grid-template-rows:minmax(40px,auto) minmax(0,1fr) minmax(90px,auto)}}

/* components/restore/approved-model-workspace.css */
/* A shared, camera-only inspection workspace after either kind of assembly. */
.approved-collection.restore-immersive>.model-fullscreen,.restoration-tutorial .model-fullscreen{position:relative;display:block;flex:1;min-height:0;min-width:0;width:100%;height:100%;padding:0;margin:0;overflow:hidden;background:#141413}
.model-fullscreen .restore-reveal-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none;border-radius:0!important;display:block!important}
.model-fullscreen .approved-view-workspace{position:absolute!important;inset:0!important;width:100%;height:100%;margin:0;max-width:none;display:block!important}
.model-fullscreen .approved-view-workspace>canvas{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important;display:block;touch-action:none}
.model-fullscreen .approved-view-workspace>.approved-caption{display:none}
.model-fullscreen .approved-view-workspace>.motion-view-controls{position:absolute;z-index:4;top:calc(70px + env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));max-width:56%;font-size:calc(11px * var(--restore-text-scale,1))}
.model-fullscreen .approved-view-workspace>.approved-view-accessibility{position:absolute!important;top:calc(70px + env(safe-area-inset-top))!important;right:max(8px,env(safe-area-inset-right))!important;z-index:5;font-size:calc(11px * var(--restore-text-scale,1));color:#f3efe6}
.model-fullscreen .approved-view-accessibility>summary{min-height:48px!important;display:flex;align-items:center;padding:8px 12px;background:#191917e8;border:1px solid #c6aa7040;border-radius:7px;cursor:pointer;list-style:none}
.model-fullscreen .approved-view-accessibility[open] .approved-view-tools{position:absolute!important;top:54px;right:0;display:flex!important;flex-wrap:wrap;gap:5px;width:min(310px,calc(100dvw - 32px));padding:8px;background:#191917f5;border:1px solid #c6aa7040;border-radius:7px;max-height:45dvh;overflow:auto}
.model-fullscreen .approved-view-tools button,.model-fullscreen .motion-view-controls button{min-height:48px!important;min-width:48px}
/* Refinement 2026-10-11 (C-V3): after a model failure the restored painting fills the stage; the retry message sits low. */
.model-fullscreen .restore-reveal-stage>.restore-reveal-saved-art{position:absolute;inset:calc(64px + env(safe-area-inset-top,0px)) 0 0;margin:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;pointer-events:none;background:#141413}
.model-fullscreen .restore-reveal-stage>.restore-reveal-saved-art img{width:100%;height:auto;max-height:52%;flex:0 1 auto;object-fit:contain}
.model-fullscreen .restore-reveal-stage>.restore-reveal-saved-art figcaption{max-width:440px;margin:10px 16px 0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.45;color:#e8e1d3;text-align:center}
.model-fullscreen[data-completion-phase=failed] .approved-view-workspace>div[role=alert]{inset:auto 16px calc(150px + env(safe-area-inset-bottom,0px));z-index:3;background:#191917f2;border:1px solid #c6aa7040;border-radius:8px;padding:10px}
.model-fullscreen[data-completion-phase=failed] .approved-view-workspace>canvas{visibility:hidden}
.model-workspace-heading,.approved-collection.restore-immersive .model-fullscreen>.restore-reveal-heading{position:absolute;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) auto max(8px,env(safe-area-inset-left));z-index:4;display:flex!important;gap:10px;align-items:center;margin:0!important;min-height:48px!important;max-height:none!important;padding:4px 8px;background:#141413db;border-radius:8px}
.model-workspace-heading>button{min-width:48px;min-height:48px}.model-workspace-heading>div{min-width:0}.model-workspace-heading h2{font:500 clamp(18px,4vw,26px)/1.2 Fraunces,serif;margin:0}.model-workspace-heading .restore-eyebrow{margin:0;font-size:calc(9px * var(--restore-text-scale,1))}
.model-workspace-footer,.approved-collection.restore-immersive .model-fullscreen>.restore-reveal-footer{position:absolute;z-index:5;inset:auto max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));height:auto!important;max-height:32%;min-height:48px!important;background:#141413ed;padding:6px;border-radius:8px;overflow:visible}
.model-workspace-footer>p{margin:0 0 6px;font-size:calc(11px * var(--restore-text-scale,1));color:#c2bdb1;text-align:center}.model-workspace-footer>div{display:flex;gap:6px}.model-workspace-footer>div>button{min-width:48px;min-height:48px;flex:1;padding:7px;font-size:calc(11px * var(--restore-text-scale,1))}
.model-workspace-footer>.artwork-performance{padding:5px 0;margin:4px 0 0;gap:6px;max-height:92px;overflow:auto;font-size:calc(11px * var(--restore-text-scale,1))}.model-workspace-footer>.artwork-performance>span{min-width:0;flex:1}.model-workspace-footer .artwork-performance-credit{display:none}.model-workspace-footer .artwork-performance button{min-height:48px}
.approved-collection.restore-immersive .model-fullscreen>.artwork-performance{position:absolute;z-index:5;left:max(8px,env(safe-area-inset-left));right:max(8px,env(safe-area-inset-right));bottom:calc(76px + env(safe-area-inset-bottom));width:auto;height:48px;min-height:48px;max-height:48px;padding:0 8px;background:#141413eb;border-radius:7px;overflow:hidden}
.approved-collection.restore-immersive .model-fullscreen>.restore-subtle,.model-fullscreen>[role=alert]{position:absolute;z-index:5;left:12px;right:12px;bottom:130px;background:#191917f5;padding:8px;border-radius:6px}
.model-fullscreen .restore-reveal-footer>button,.model-fullscreen .restore-reveal-details>summary{height:auto!important;min-height:48px!important}.model-fullscreen .approved-view-workspace>p[role=status],.model-fullscreen .approved-view-workspace>div[role=alert]{position:absolute;inset:40% 16px auto;text-align:center;z-index:3}
.model-workspace-confirm{position:absolute;z-index:8;inset:25% 16px auto;background:#191917;border:1px solid #c6aa7070;border-radius:8px;padding:20px;max-height:65%;overflow:auto}.model-workspace-confirm button{min-height:48px;margin:6px}
.vertical-strip-artwork[data-painting-tap]{cursor:pointer}.vertical-strip-artwork[data-painting-tap]:focus-visible{outline:2px solid #c6aa70;outline-offset:4px}
@media(max-height:540px){.model-workspace-heading,.approved-collection.restore-immersive .model-fullscreen>.restore-reveal-heading{padding:0 4px}.model-workspace-footer>p{display:none}.model-workspace-footer{max-width:48%;left:auto}.model-workspace-footer>.artwork-performance{max-height:60px}.model-workspace-heading h2{font-size:calc(17px * var(--restore-text-scale,1))}}

.model-inspection-music{font-size:calc(12px * var(--restore-text-scale,1));margin:0;flex:none}.model-inspection-music>summary{display:grid;place-items:center;min-height:48px;min-width:48px;padding:6px;border:1px solid #c6aa7040;background:#191917;border-radius:6px;cursor:pointer;list-style:none;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.model-inspection-music[open]>div{position:absolute;bottom:calc(100% + 8px);right:0;width:min(350px,calc(100dvw - 32px));max-height:55dvh;overflow:auto;border:1px solid #c6aa7040;border-radius:8px;padding:12px;background:#191917f7}.model-inspection-music .artwork-performance{margin:0;padding:0;display:flex;flex-wrap:wrap;font-size:calc(12px * var(--restore-text-scale,1))}.model-inspection-music .artwork-performance>span{width:100%}.model-inspection-music .artwork-performance-credit{display:block;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.5}.model-inspection-music button{min-height:48px}

.approved-dot-restoration button,.approved-painting-restoration button,.vertical-strip-restoration button,.model-fullscreen button,.model-fullscreen summary{touch-action:manipulation}

/* A readable, fixed-height playback row; detailed provenance remains in the
   independently scrollable Music & credits panel. */
.model-fullscreen>.artwork-performance[data-compact-recording=true]{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:0;font-size:calc(11px * var(--restore-text-scale,1))}
.model-fullscreen>.artwork-performance[data-compact-recording=true]>.artwork-performance-title{display:block;flex:1;min-width:0;overflow:hidden}
.model-fullscreen>.artwork-performance[data-compact-recording=true]>.artwork-performance-title>span,.model-fullscreen>.artwork-performance[data-compact-recording=true]>.artwork-performance-title>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45}
.approved-collection.restore-immersive .model-fullscreen>.artwork-performance[data-compact-recording=true]>button{flex:none;min-width:48px;height:48px;min-height:48px;padding:6px 9px;white-space:nowrap;font-size:calc(11px * var(--restore-text-scale,1))}
.artwork-recording-credits{padding-top:12px;border-top:1px solid var(--restore-line,#c6aa7040);font-size:calc(12px * var(--restore-text-scale,1));line-height:1.55;overflow-wrap:anywhere}
.artwork-recording-credits h3{font-size:calc(15px * var(--restore-text-scale,1));margin:0 0 6px}.artwork-recording-credits p{margin:6px 0}.artwork-recording-credits>div{display:flex;flex-wrap:wrap;gap:8px}.artwork-recording-credits a{display:flex;align-items:center;min-height:48px;padding:6px 8px;border:1px solid var(--restore-line,#c6aa7040);border-radius:5px}
/* Refinement 2026-10-11, Phase 3. C-V19: after completion, Continue leads; Undo and Restart are quiet. */
.model-workspace-footer>div>.approved-primary{flex:1.7;font-size:calc(13px * var(--restore-text-scale,1));font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px}
.model-workspace-footer>div>.model-quiet-action{flex:1;background:transparent;border:1px solid #ffffff1f;color:#c2bdb1;font-weight:400}
.model-workspace-footer>div>.model-quiet-action:not(:disabled):hover{border-color:#c6aa7070;color:#f3efe6}
/* C-V17: while the painting dissolves into the model, its caption sits above the recording bar and footer. */
.model-fullscreen .restore-reveal-painting figcaption{bottom:calc(136px + env(safe-area-inset-bottom,0px))}
@media(max-height:540px) and (orientation:landscape){.model-fullscreen .restore-reveal-painting figcaption{bottom:auto;top:calc(64px + env(safe-area-inset-top,0px));left:auto;max-width:44%}}
/* C-V15: the stable viewer (a figure already seen) loads quietly, without the reveal. */
.model-fullscreen .restore-reveal-quiet-loading{position:absolute;z-index:3;inset:42% 16px auto;margin:0;text-align:center;font-size:calc(13px * var(--restore-text-scale,1));color:#d9d3c6}
/* C-V3 (refinement 2026-10-11): after a WebGL context loss the browser shows the lost canvas as a blank (white)
   surface. While the view is failed or rebuilding, hide that canvas and keep the dark stage behind the message. */
.approved-view[data-model-state="failed"]{background:#141413}
.approved-view[data-model-state="failed"] canvas{visibility:hidden}

/* components/restore/restoration-tutorial.css */
.restoration-tutorial{position:fixed;inset:0;z-index:40;display:flex;flex-direction:column;overflow:auto;background:#0D0D0C;color:#F3EFE6;padding-bottom:env(safe-area-inset-bottom,0px)}
.restoration-tutorial-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:14px;flex:none;padding:max(16px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px));border-bottom:1px solid #C6AA7030;background:#0D0D0C}
.restoration-tutorial-header h1{font-family:Fraunces,Georgia,serif;font-weight:500;font-size:calc(clamp(20px,5vw,27px) * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.15;margin:4px 0 8px}
.restoration-tutorial-header .restore-eyebrow{margin:0;color:#C6AA70;font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.12em}
.restoration-tutorial-header>div:last-child{display:flex;align-items:center;gap:6px}
.restoration-tutorial-header button{min-width:48px;min-height:48px;padding:8px 10px;border:1px solid #C6AA7040;background:#191917;border-radius:4px;color:#F3EFE6;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.4}
.restoration-tutorial button:focus-visible{outline:2px solid #C6AA70;outline-offset:3px}
.restoration-tutorial button,.restoration-tutorial summary{touch-action:manipulation}
.restoration-tutorial-instruction{flex:none;max-width:70ch;align-self:center;margin:0;padding:12px 18px;color:#D1C9BB;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.55}
.restoration-tutorial-workspace{flex:1;min-height:0;display:flex;flex-direction:column}
.restoration-tutorial .approved-dot-heading{display:none}
.restoration-tutorial .approved-dot-restoration{padding-top:4px;flex:none;overflow:visible}
.restoration-tutorial .approved-dot-board{height:clamp(270px,44dvh,480px)}
.restoration-tutorial .approved-dot-tutorial-guide{stroke:#9E762E;fill:none;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.restoration-tutorial .approved-dot-tutorial-target{fill:#D4B56625;stroke:#916419}
.restoration-tutorial .approved-painting-restoration{position:relative;flex:1;display:grid;grid-template-rows:auto minmax(240px,1fr) 48px;gap:6px;width:100%;min-width:0;min-height:430px;max-width:none;margin:0;padding:6px max(10px,env(safe-area-inset-right,0px)) 6px max(10px,env(safe-area-inset-left,0px));overflow:hidden;background:#0D0D0C}
.restoration-tutorial .restored-painting-workspace{height:100%;width:100%;max-width:none;margin:0}
.restoration-tutorial .restored-painting-heading{grid-column:1;grid-row:1;min-height:48px}
.restoration-tutorial .restored-painting-workspace{grid-column:1;grid-row:2}
.restoration-tutorial .restored-painting-music{grid-column:1;grid-row:3}
.restoration-tutorial .approved-figure-reveal.model-fullscreen{flex:1;min-height:430px;height:100%;max-width:none}
.restoration-tutorial .model-fullscreen>.restore-reveal-heading{position:absolute;inset:8px 8px auto;z-index:4;display:flex;align-items:center;gap:8px;min-height:48px;max-height:none;margin:0;padding:4px 8px;border-radius:8px;background:#141413db}
.restoration-tutorial .restore-reveal-heading>div{min-width:0}.restoration-tutorial .restore-reveal-heading h1{font-size:calc(clamp(19px,4.8vw,27px) * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.15;margin:2px 0}.restoration-tutorial .restore-reveal-heading .restore-eyebrow{font-size:calc(9px * var(--restore-text-scale,1));line-height:1.3;margin:0}.restoration-tutorial .restore-reveal-heading>button{min-width:48px;min-height:48px;font-size:calc(11px * var(--restore-text-scale,1))}
.restoration-tutorial .model-fullscreen>.restore-reveal-footer{position:absolute;inset:auto 8px 8px;z-index:5;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:6px;height:auto;min-height:48px;max-height:none;margin:0;padding:6px;border-radius:8px;background:#141413ed}
.restoration-tutorial .restore-reveal-footer>button{min-height:48px;padding:8px;font-size:calc(13px * var(--restore-text-scale,1))}.restoration-tutorial .restore-reveal-details>summary{display:flex;align-items:center;min-height:48px;padding:8px;font-size:calc(12px * var(--restore-text-scale,1));cursor:pointer}
.restoration-tutorial .restore-reveal-details[open]>.restore-reveal-details-body{position:absolute;left:0;right:0;bottom:calc(100% + 8px);max-height:55dvh;overflow:auto;border:1px solid #C6AA7040;border-radius:7px;background:#191917f7;padding:12px}
.restoration-tutorial .model-fullscreen>.artwork-performance{position:absolute;left:8px;right:8px;bottom:78px;z-index:5;min-height:48px;max-height:75px;width:auto;margin:0;padding:5px 8px;background:#141413eb;border-radius:7px;overflow:auto;font-size:calc(11px * var(--restore-text-scale,1))}.restoration-tutorial .model-fullscreen>.artwork-performance .artwork-performance-credit{display:none}.restoration-tutorial .model-fullscreen>.artwork-performance button{min-height:48px}
.restoration-tutorial .model-fullscreen>.restore-subtle,.restoration-tutorial .model-fullscreen>[role=alert]{position:absolute;left:12px;right:12px;bottom:160px;z-index:5;background:#191917f5;padding:8px;border-radius:6px;font-size:calc(12px * var(--restore-text-scale,1))}
@media(max-width:380px){.restoration-tutorial-header{gap:8px;padding:12px 12px 8px}.restoration-tutorial-header h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))}.restoration-tutorial-header button{padding:8px}.restoration-tutorial-instruction{font-size:calc(13px * var(--restore-text-scale,1));padding:10px 12px}}
@media(max-height:520px) and (orientation:landscape){.restoration-tutorial-header{padding-top:max(8px,env(safe-area-inset-top,0px))}.restoration-tutorial-header h1{font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9));margin-bottom:4px}.restoration-tutorial-instruction{max-width:none;width:100%;font-size:calc(12px * var(--restore-text-scale,1));padding:8px 16px}.restoration-tutorial .approved-dot-restoration{display:block}.restoration-tutorial .approved-dot-board{height:70dvh;min-height:240px}.restoration-tutorial .approved-painting-restoration{min-height:280px;grid-template-rows:48px minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(210px,28%);gap:6px 14px}.restoration-tutorial .restored-painting-heading{grid-column:2;grid-row:1}.restoration-tutorial .restored-painting-workspace{grid-column:1;grid-row:1/3}.restoration-tutorial .restored-painting-music{grid-column:2;grid-row:2}.restoration-tutorial .approved-figure-reveal.model-fullscreen{min-height:280px}.restoration-tutorial .model-fullscreen>.restore-reveal-footer{left:auto;max-width:52%}.restoration-tutorial .model-fullscreen>.artwork-performance{right:auto;width:44%;bottom:8px}}

/* components/restore/rank-achievements.css */
.restore-rank-emblem{display:block;flex-shrink:0;width:var(--rank-size);height:var(--rank-size);object-fit:contain;object-position:center;filter:none}
.restore-rank-achievements{font-size:calc(1rem * var(--restore-text-scale,1));margin:0 0 28px;padding:20px;border:1px solid var(--restore-line);border-radius:12px;background:var(--restore-panel)}
.restore-rank-current{display:flex;align-items:center;gap:16px}.restore-rank-current h2{font-size:calc(1.875rem * (1 + (var(--restore-text-scale,1) - 1) * 0.6));margin:4px 0 6px}.restore-rank-current p{margin:0;line-height:1.5}.restore-rank-current>div>p:last-child{color:var(--restore-muted);font-size:calc(0.8125rem * var(--restore-text-scale,1))}.restore-rank-current strong{color:var(--restore-ink);font-variant-numeric:tabular-nums}
.restore-rank-progress{margin:18px 0 20px}.restore-rank-progress p{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;color:var(--restore-muted);font-size:calc(0.8125rem * var(--restore-text-scale,1));line-height:1.6;margin:0 0 9px}.restore-rank-progress strong{color:var(--restore-ink);font-weight:500}.restore-rank-progress small{display:block;margin-top:8px;color:var(--restore-muted);font-size:calc(0.75rem * var(--restore-text-scale,1))}.restore-rank-progress-track{height:4px;border-radius:3px;background:var(--restore-line);overflow:hidden}.restore-rank-progress-track>span{display:block;height:100%;background:var(--restore-gold)}.restore-rank-maximum{color:var(--restore-gold)!important}.restore-rank-progress.is-compact{margin:9px 0 0}.restore-rank-progress.is-compact p{font-size:calc(0.6875rem * var(--restore-text-scale,1));margin-bottom:6px}
.restore-rank-collection-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.restore-rank-collection-heading h3{font-size:calc(1.5rem * (1 + (var(--restore-text-scale,1) - 1) * 0.75));margin:0}.restore-rank-collection-heading>span{font-size:calc(0.75rem * var(--restore-text-scale,1));color:var(--restore-muted)}.restore-rank-note{font-size:calc(0.8125rem * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted)}
.restore-rank-list{margin:16px 0 0;padding:0;list-style:none}.restore-rank-list li+li{margin-top:5px}.restore-luxury .restore-rank-entry{width:100%;min-height:74px;display:flex;align-items:center;gap:14px;text-align:start;padding:12px;border:1px solid transparent;border-radius:8px;background:transparent;white-space:normal;color:var(--restore-ink)}.restore-luxury .restore-rank-entry.is-current{border-color:var(--restore-gold);background:var(--restore-elevated)}.restore-rank-entry.is-locked .restore-rank-emblem{opacity:.58}.restore-rank-entry-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}.restore-rank-entry-copy>strong{font-weight:500;font-size:calc(0.9375rem * var(--restore-text-scale,1))}.restore-rank-entry-copy>span{font-size:calc(0.75rem * var(--restore-text-scale,1));color:var(--restore-muted);font-variant-numeric:tabular-nums}.restore-rank-state{font-size:calc(0.6875rem * var(--restore-text-scale,1));color:var(--restore-muted);flex-shrink:0}.is-current .restore-rank-state{color:var(--restore-gold)}.restore-luxury .restore-rank-entry:focus-visible{outline:2px solid var(--restore-ink);outline-offset:2px}
.restore-rank-detail{border-top:1px solid var(--restore-line);margin-top:20px;padding-top:24px;text-align:center}.restore-rank-detail .restore-rank-emblem{margin:0 auto 15px}.restore-rank-detail h3{font-size:calc(1.75rem * (1 + (var(--restore-text-scale,1) - 1) * 0.643));margin:0 0 10px}.restore-rank-detail p{color:var(--restore-muted);font-size:calc(0.875rem * var(--restore-text-scale,1));line-height:1.7}.restore-rank-detail small{display:block;color:var(--restore-muted);margin-bottom:14px}.restore-rank-detail button{min-height:48px;min-width:100px}
.restore-home-rank{display:flex;align-items:center;gap:10px}.restore-home-rank>span{display:flex;flex-direction:column;font-size:calc(0.8125rem * var(--restore-text-scale,1))}.restore-home-rank strong{font-weight:500}.restore-home-rank small{display:block;color:var(--restore-muted);font-size:calc(0.6875rem * var(--restore-text-scale,1))}.restore-score-summary:has(.restore-home-rank){flex-wrap:wrap}.restore-home-rank-progress{flex-basis:100%;width:100%}.restore-home-rank-progress .restore-rank-progress{max-width:520px}
.restore-rank-promotion{position:fixed;z-index:80;inset-inline-end:max(16px,env(safe-area-inset-right));top:calc(env(safe-area-inset-top) + 76px);max-width:400px;width:calc(100vw - 32px);display:flex;align-items:flex-start;gap:14px;padding:18px;background:var(--restore-panel);border:1px solid var(--restore-gold);border-radius:12px;box-shadow:0 12px 32px #0005;animation:restore-rank-appear .28s cubic-bezier(.2,.7,.2,1) both}.restore-rank-promotion .restore-rank-emblem{animation:restore-rank-emblem-reveal 1.25s cubic-bezier(.2,.7,.2,1) both}.restore-rank-promotion .restore-eyebrow{font-size:calc(0.5625rem * var(--restore-text-scale,1));margin:0 0 6px}.restore-rank-promotion h2{font-size:calc(1.6875rem * (1 + (var(--restore-text-scale,1) - 1) * 0.667));margin:0 0 7px}.restore-rank-promotion>div>p:not(.restore-eyebrow){font-size:calc(0.75rem * var(--restore-text-scale,1));color:var(--restore-muted);line-height:1.6;margin:0}.restore-rank-promotion small{display:block;font-size:calc(0.6875rem * var(--restore-text-scale,1));color:var(--restore-muted);margin-top:7px}.restore-rank-promotion button{min-height:48px;min-width:100px;margin-top:10px}.restore-rank-promotion.is-reduced-motion,.restore-rank-promotion.is-reduced-motion .restore-rank-emblem{animation:none}
@keyframes restore-rank-appear{from{opacity:0;transform:translateY(-5px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes restore-rank-emblem-reveal{from{opacity:.7;transform:scale(.93)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.restore-rank-promotion,.restore-rank-promotion .restore-rank-emblem{animation:none}}:where(:root[data-system-reduced-motion]) .restore-rank-promotion,:where(:root[data-system-reduced-motion]) .restore-rank-promotion .restore-rank-emblem{animation:none}
@media(max-width:390px){.restore-rank-achievements{padding:14px}.restore-luxury .restore-rank-entry{gap:10px;padding:10px}.restore-rank-current{gap:12px}.restore-rank-state{font-size:calc(0.625rem * var(--restore-text-scale,1))}.restore-rank-promotion{padding:14px;gap:10px}}
@media(max-height:500px){.restore-rank-promotion{top:calc(env(safe-area-inset-top) + 12px);max-height:calc(100dvh - 24px);overflow:auto}}

/* components/restore/conservation-studio.css */
/* A separate workbench; every rule is scoped away from the existing puzzles. */
.restore-menu[data-destination="studio"]{padding:0;display:flex;overflow:hidden}
/* Keep Studio a visible menu destination. Only active conservation work uses
   the complete workspace; the case page retains the shared navigation. */
.approved-collection[data-journey-mode="studio"]:has(.studio-workspace)>.restore-navigation{display:none}
@supports selector(:has(*)){
 .restore-menu[data-destination="studio"]:has(>.studio-picker){display:block;overflow:auto}
 .restore-menu[data-destination="studio"]>.studio-picker{overflow:visible}
}
.conservation-studio{color:var(--restore-ink);font-family:Figtree,sans-serif;width:100%;min-height:0}
.conservation-studio h1,.conservation-studio h2,.conservation-studio strong{font-weight:500}
.conservation-studio h1,.studio-case strong{font-family:Fraunces,serif}
.conservation-studio button{min-height:48px;touch-action:manipulation}
.conservation-studio button:focus-visible,.conservation-studio canvas:focus-visible{outline:2px solid var(--restore-gold);outline-offset:3px}
.studio-picker{overflow:auto;padding:26px max(20px,calc((100% - 1050px)/2)) 36px;overscroll-behavior:contain}
.studio-picker>header{max-width:650px;margin-bottom:26px}
.studio-picker h1{font-size:calc(clamp(30px,4vw,48px) * (1 + (var(--restore-text-scale,1) - 1) * 0.375));line-height:1.12;margin:10px 0 16px}
.studio-picker>header>p{font-size:calc(17px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted);margin:0}
.studio-separate{display:flex;align-items:center;gap:14px;color:var(--restore-gold);margin:22px 0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.55}
.studio-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.studio-case{display:grid;grid-template-columns:40% minmax(0,1fr);text-align:left;padding:0;min-height:200px;overflow:hidden;border:1px solid var(--restore-line);background:var(--restore-panel);border-radius:5px;color:var(--restore-ink)}
.studio-case>img{width:100%;height:100%;max-height:280px;object-fit:cover;object-position:center}
.studio-case>span{padding:20px 18px;display:flex;flex-direction:column;justify-content:center;gap:9px;min-width:0}
.studio-case small{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-gold);line-height:1.45}
.studio-case strong{font-size:calc(23px * (1 + (var(--restore-text-scale,1) - 1) * 0.783));line-height:1.18}
.studio-case em{font-size:calc(13px * var(--restore-text-scale,1));font-style:normal;color:var(--restore-muted)}
.studio-case span span{font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;margin-top:10px}
.studio-case:hover{border-color:var(--restore-gold)}
.studio-references{margin:26px 0 4px;max-width:800px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.65;color:var(--restore-muted)}
.studio-references summary{min-height:48px;cursor:pointer;color:var(--restore-gold);padding:12px 0}
.studio-references a{display:block;min-height:48px;padding:10px 0;color:var(--restore-ink);text-decoration:underline;text-underline-offset:4px}
.studio-workspace{height:100%;display:flex;flex-direction:column;overflow:auto;overscroll-behavior:contain;background:var(--restore-bg)}
.studio-work-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px 10px;flex-shrink:0;border-bottom:1px solid var(--restore-line)}
.studio-work-heading .restore-eyebrow{font-size:calc(10px * var(--restore-text-scale,1));margin:0 0 5px}
.studio-work-heading h1{font-size:calc(clamp(18px,2.2vw,27px) * (1 + (var(--restore-text-scale,1) - 1) * 0.667));line-height:1.2;margin:0}
.studio-work-heading>button{flex-shrink:0;padding:0 14px;color:var(--restore-muted);background:transparent;border:1px solid var(--restore-line);border-radius:4px}
.studio-treatment{padding:10px 20px 7px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 18px;flex-shrink:0}
.studio-treatment>div{display:flex;align-items:center;gap:12px}
.studio-step-number{color:var(--restore-gold);font-family:Fraunces,serif;font-size:calc(27px * (1 + (var(--restore-text-scale,1) - 1) * 0.667));min-width:34px}
.studio-treatment strong{display:block;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.3}
.studio-treatment small{display:block;color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;margin-top:4px}
.studio-points{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));text-align:right;font-variant-numeric:tabular-nums;color:var(--restore-gold)}
.studio-points small{font-size:calc(10px * var(--restore-text-scale,1));white-space:nowrap}
.studio-treatment progress{grid-column:1/-1;width:100%;height:2px;appearance:none;border:0;background:var(--restore-line);border-radius:1px}
.studio-treatment progress::-webkit-progress-bar{background:var(--restore-line)}
.studio-treatment progress::-webkit-progress-value{background:var(--restore-gold);transition:width .24s ease}
.studio-treatment progress::-moz-progress-bar{background:var(--restore-gold)}
.studio-work-surface{position:relative;flex:1 0 240px;min-height:240px;max-height:900px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse at 50% 43%,#292723 0%,#151513 65%,#0d0d0c 100%);isolation:isolate}
.studio-work-surface canvas{width:100%;height:100%;position:absolute;inset:0;touch-action:none;user-select:none;-webkit-user-select:none;cursor:crosshair}
.studio-work-surface>p{color:var(--restore-muted);padding:30px;text-align:center}
.studio-hint-note,.studio-finished-seal{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);max-width:90%;pointer-events:none;background:#12120fea;border:1px solid #c6aa7060;padding:8px 14px;border-radius:3px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-ink);text-align:center}
.studio-finished-seal{animation:studio-recorded 1.4s ease both;letter-spacing:.06em;color:var(--restore-gold)}
/* Paired cases keep zoom, Pan and Loupe at the bottom right; the seal sits at the top so the two never overlap. */
.studio-work-surface[data-camera-tools] .studio-finished-seal{bottom:auto;top:12px}
.studio-instruments{display:flex;align-items:stretch;justify-content:center;gap:4px;padding:8px 12px;background:var(--restore-panel);border-top:1px solid var(--restore-line);flex-shrink:0;overflow-x:auto;overscroll-behavior-x:contain}
.studio-instruments button{flex:0 0 68px;min-height:62px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:7px 4px;border:1px solid transparent;color:var(--restore-muted);background:transparent;border-radius:4px;font-size:calc(11px * var(--restore-text-scale,1))}
.studio-instruments button[aria-pressed="true"]{border-color:var(--restore-gold);background:#c6aa700d;color:var(--restore-gold)}
.studio-instruments button:disabled{opacity:.5}
.studio-controls{display:flex;gap:6px;flex-wrap:wrap;padding:5px 14px;flex-shrink:0;border-bottom:1px solid var(--restore-line)}
.studio-controls button{flex:1 0 auto;padding:0 12px;border:0;background:transparent;color:var(--restore-muted);font-size:calc(12px * var(--restore-text-scale,1));border-radius:3px}
.studio-controls button:hover,.studio-controls button[aria-pressed="true"]{color:var(--restore-gold);background:#c6aa7010}
.studio-controls button:disabled{opacity:.4}
.studio-controls button[aria-disabled="true"]{opacity:.6}
.studio-lock{display:inline-block;margin-right:5px;vertical-align:-1px}
.studio-status{padding:6px 20px max(8px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:20px;flex-shrink:0}
.studio-status p{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted);line-height:1.5;margin:0;flex:1}
.studio-status label{font-size:calc(11px * var(--restore-text-scale,1));white-space:nowrap;color:var(--restore-muted);display:flex;align-items:center;gap:8px}
.studio-status input{width:88px;min-height:40px;accent-color:var(--restore-gold)}
.studio-keyboard-help{padding:0 20px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-muted)}
.studio-restart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 20px;padding:16px;border:1px solid var(--restore-gold);border-radius:4px;font-size:calc(14px * var(--restore-text-scale,1));line-height:1.5}
.studio-restart span{flex:1 0 220px}
.studio-restart button{padding:0 16px;border:1px solid var(--restore-line);color:var(--restore-ink);background:var(--restore-panel);border-radius:3px}
.studio-notes{padding:18px 24px;color:var(--restore-muted);font-size:calc(14px * var(--restore-text-scale,1));line-height:1.65;background:var(--restore-panel)}
.studio-notes ol{padding-left:20px}
.studio-notes li{margin:10px 0}
.studio-notes li[aria-current="step"]{color:var(--restore-gold)}
.studio-notes .studio-references{margin-top:8px}
.studio-completion{padding:12px 20px max(18px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted)}
.studio-completion .approved-primary{padding:0 22px;min-height:48px;width:auto}
.restore-studio-entry{display:flex;align-items:center;gap:18px;border-top:1px solid var(--restore-line);margin:24px 0 8px;padding:22px 0}
.restore-studio-entry>svg{color:var(--restore-gold);flex-shrink:0}
.restore-studio-entry div{flex:1;min-width:0}
.restore-studio-entry h2{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818));margin:0 0 6px;font-family:Fraunces,serif;font-weight:500}
.restore-studio-entry p{margin:0;color:var(--restore-muted);font-size:calc(13px * var(--restore-text-scale,1));line-height:1.6}
.restore-studio-entry button{min-height:48px;padding:0 16px;border:1px solid var(--restore-line);border-radius:4px;background:var(--restore-panel);color:var(--restore-gold)}
.approved-collection[data-design-direction="cinematic"] .studio-work-surface{background:radial-gradient(ellipse at 50% 40%,rgba(var(--restore-scene-rgb),.18),#101214 76%)}
@keyframes studio-recorded{from{opacity:0;transform:translate(-50%,5px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:650px){.studio-cases{grid-template-columns:1fr;gap:14px}.studio-case{min-height:175px}.studio-case strong{font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}.studio-case>img{max-height:220px}.studio-work-heading{padding:9px 14px}.studio-treatment{padding:8px 14px 6px;gap:8px}.studio-instruments{justify-content:flex-start;padding:6px 10px}.studio-instruments button{flex-basis:calc((100vw - 44px)/7);min-width:48px;font-size:calc(10px * var(--restore-text-scale,1))}.studio-status{padding:6px 14px 10px;gap:8px;align-items:flex-start}.studio-status label{flex-direction:column;gap:0;align-items:flex-start}.studio-status input{width:66px}.studio-controls{gap:0;padding:0 8px}.studio-controls button{padding:0 8px;font-size:calc(11px * var(--restore-text-scale,1))}.restore-studio-entry{gap:12px;flex-wrap:wrap}.restore-studio-entry button{margin-left:40px}}
@media(max-height:700px){.studio-work-surface{flex-basis:280px;min-height:280px}.studio-workspace{overflow:auto}.studio-treatment small{font-size:calc(12px * var(--restore-text-scale,1))}.studio-controls{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.conservation-studio *{animation:none!important;transition:none!important}}:where(:root[data-system-reduced-motion]) .conservation-studio *{animation:none!important;transition:none!important}
.approved-collection[data-reduced-motion="true"] .conservation-studio *{animation:none!important;transition:none!important}

/* Paired conservation cases: image-first layout, compact three-instrument tray. */
.studio-work-surface{flex:1 0 330px;min-height:330px;max-height:none}
.studio-instruments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px;padding:10px max(14px,calc((100% - 560px)/2))}
.studio-instruments button{width:100%;min-width:48px;min-height:80px;padding:8px;gap:7px;font-size:calc(12px * var(--restore-text-scale,1));line-height:1.25}
.studio-instruments button svg{color:var(--restore-gold)}
.studio-prepared-material{padding:8px 18px;border-bottom:1px solid var(--restore-line);display:flex;align-items:baseline;gap:8px 14px;flex-wrap:wrap;background:var(--restore-panel)}
.studio-prepared-material>span{font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.08em;text-transform:uppercase;color:var(--restore-muted)}
.studio-prepared-material strong{font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-gold)}
.studio-prepared-material small{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted);line-height:1.4}
.studio-camera-controls{position:absolute;right:12px;bottom:12px;display:flex;gap:3px;background:#10100fe8;border:1px solid #c6aa7040;border-radius:5px;z-index:3}
.studio-camera-controls button{width:48px;min-height:48px;padding:0;background:transparent;border:0;color:#f3efe6;font-size:calc(14px * var(--restore-text-scale,1))}
.studio-camera-controls button[aria-pressed="true"]{background:#c6aa7030;color:#dfc697}
.studio-camera-controls button:disabled{opacity:.45}
/* 2.1.42: the loupe button shows the Studio's own examination loupe, turned to lie in the bar. */
.studio-camera-controls button[data-studio-loupe-icon]{display:grid;place-items:center}
.studio-camera-controls button[data-studio-loupe-icon] .studio-instrument-art{transform:rotate(-40deg);filter:drop-shadow(0 1px 2px #000a)}
.studio-camera-controls button[data-studio-loupe-icon][aria-pressed="true"] .studio-instrument-art{transform:rotate(-40deg) scale(1.08)}
.studio-comparison-label{position:absolute;top:14px;font-size:calc(11px * var(--restore-text-scale,1));letter-spacing:.08em;background:#0d0d0cbb;color:#f3efe6;padding:7px 10px;pointer-events:none;z-index:2}
.studio-comparison-label.before{left:14px}.studio-comparison-label.after{right:14px}
.studio-comparison-divider{position:absolute;top:0;bottom:0;width:1px;background:#f3efe6aa;z-index:4;pointer-events:none}
.studio-comparison-divider button{position:absolute;top:50%;left:0;transform:translate(-50%,-50%);border:1px solid #dbc698;background:#12110fe8;color:#f3efe6;width:48px;height:48px;border-radius:50%;pointer-events:auto;touch-action:none;box-shadow:0 2px 16px #0006;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947));white-space:nowrap}
.studio-comparison-divider[style*="left: 0%"] button{transform:translate(0,-50%)}.studio-comparison-divider[style*="left: 100%"] button{transform:translate(-100%,-50%)}
.studio-why{padding:14px 20px;background:var(--restore-panel);border-left:2px solid var(--restore-gold);margin:8px 16px;color:var(--restore-muted);font-size:calc(14px * var(--restore-text-scale,1));line-height:1.65}
.studio-why strong{color:var(--restore-ink)}.studio-why p{margin:5px 0}
.studio-sound-settings{font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-muted);padding:10px 0}
.studio-sound-settings summary{min-height:48px;padding:14px 0;cursor:pointer;color:var(--restore-gold)}
.studio-sound-settings label{display:flex;align-items:center;gap:12px;min-height:48px}
.studio-sound-settings input{accent-color:var(--restore-gold);min-height:36px}
.studio-sound-settings input[type="range"]{width:180px}
.studio-notes button{min-height:48px;padding:8px 14px;border:1px solid var(--restore-line);background:var(--restore-bg);color:var(--restore-ink);margin:5px}
@media(min-width:900px){.studio-workspace{display:grid;grid-template-columns:1fr 290px;grid-template-rows:auto auto minmax(360px,1fr) auto}.studio-work-heading,.studio-treatment{grid-column:1/-1}.studio-work-surface{grid-row:3/7;grid-column:1;min-height:520px}.studio-instruments{grid-column:2;display:flex;flex-direction:column;padding:16px}.studio-instruments button{flex:none}.studio-prepared-material,.studio-controls,.studio-status{grid-column:2;padding:12px 18px}.studio-controls{flex-direction:column}.studio-notes,.studio-why,.studio-restart,.studio-completion{grid-column:1/-1}.studio-completion{grid-row:7}.studio-picker .studio-case{min-height:220px}}
@media(max-width:650px){.studio-work-surface{flex-basis:clamp(330px,49dvh,560px);min-height:330px}.studio-instruments{padding:8px 12px}.studio-instruments button{font-size:calc(11px * var(--restore-text-scale,1));min-height:74px;min-width:48px}.studio-prepared-material{padding:7px 14px}.studio-prepared-material small{display:none}.studio-treatment strong{font-size:calc(15px * var(--restore-text-scale,1))}.studio-work-heading h1{font-size:calc(18px * var(--restore-text-scale,1))}.studio-controls button{flex:1 0 48px}.studio-status{min-height:32px}.studio-status p{font-size:calc(11px * var(--restore-text-scale,1))}}
@media(max-height:600px) and (orientation:landscape){.studio-work-surface{min-height:360px}.studio-workspace{overflow:auto}}
/* Only the compatible instrument is presented; the work surface keeps priority. */
.studio-instruments{grid-template-columns:minmax(0,1fr)}
.studio-instruments button{flex-direction:row;justify-content:flex-start;min-height:64px;padding:10px 16px;text-align:left}
.studio-instruments button svg{flex-shrink:0;margin-right:6px}
.studio-case>img{object-fit:contain;background:var(--restore-bg)}
/* Camera controls occupy their own strip below the canvas, never a paint target.
   The canvas is measured directly so drawing and touch share this same space. */
.studio-work-surface[data-camera-tools="true"] canvas{height:calc(100% - 68px);bottom:68px}
.studio-work-surface[data-camera-tools="true"] .studio-comparison-divider{bottom:68px}
@media(max-width:650px){.studio-instruments button{min-height:60px;font-size:calc(12px * var(--restore-text-scale,1))}.studio-status{min-height:44px}.studio-work-surface{flex-basis:clamp(350px,54dvh,600px)}}
@media(max-width:899px){
 .studio-work-surface[data-artwork-shape="landscape"]{flex:0 0 auto;height:clamp(240px,calc(100vw / var(--studio-artwork-ratio,1.5) + 68px),54dvh);min-height:240px}
}

/* Contact tools use one transparent sprite atlas; the actual loupe stays live.
   A single prepared tool and four primary actions keep the workbench readable. */
.studio-instrument-art{display:inline-block;flex-shrink:0;background-repeat:no-repeat;filter:drop-shadow(0 2px 3px #0005)}
.studio-instruments button{min-height:78px;padding:6px 14px;gap:12px}
.studio-instruments button>span:not(.studio-instrument-art){display:flex;flex-direction:column;gap:3px}
.studio-instruments small{font-size:calc(10px * var(--restore-text-scale,1));color:var(--restore-muted);letter-spacing:.04em;text-transform:uppercase}
.studio-instruments strong{font-size:calc(15px * var(--restore-text-scale,1));color:var(--restore-ink)}
.studio-instruments em{font-size:calc(12px * var(--restore-text-scale,1));font-style:normal;color:var(--restore-gold)}
.studio-stage-context{grid-column:1/-1;font-size:calc(11px * var(--restore-text-scale,1));line-height:1.4;color:var(--restore-muted)}
.studio-treatment{row-gap:5px}
.studio-surface-guide{grid-column:1/-1;display:block;max-width:100%;padding:2px 0;color:var(--restore-gold);font-size:calc(11px * var(--restore-text-scale,1));line-height:1.4;pointer-events:none}
.studio-surface-guide i{display:inline-block;width:7px;height:7px;margin-left:7px;border:1px solid var(--restore-gold);border-radius:50%}
.studio-workspace[data-pan-mode="true"] canvas{cursor:grab}
.studio-workspace[data-pan-mode="true"] .studio-instruments button{border-style:dashed}
.studio-prepared-material{padding:5px 14px;gap:5px 10px}
.studio-prepared-material strong{font-size:calc(12px * var(--restore-text-scale,1))}
.studio-controls{gap:2px;padding:3px 8px}
.studio-controls button{min-height:48px;padding:0 9px;font-size:calc(12px * var(--restore-text-scale,1))}
.studio-controls [data-studio-hint]{color:var(--restore-gold)}
.studio-status{min-height:50px}
.studio-status p{font-size:calc(12px * var(--restore-text-scale,1))}
.studio-step-explanation{padding-bottom:10px;border-bottom:1px solid var(--restore-line)}
/* 2.1.43 (owner request, 18 October 2026: "Increase the default size of the text under \"why this step\""): 14 -> 17 px
   in the notes (and 13 -> 16 px in the wide-layout step guide), in the reading colour rather than the muted one. */
.studio-step-explanation strong{display:block;font-size:calc(15px * var(--restore-text-scale,1));margin-bottom:2px}
.studio-step-explanation p{font-size:calc(17px * var(--restore-text-scale,1));line-height:1.6;color:var(--restore-ink)}
.studio-plan summary{min-height:48px;padding:12px 0;cursor:pointer;color:var(--restore-gold)}
@media(max-width:899px){
 /* Status copy and earned-score text must never resize the painting mid-stroke.
    Stable artwork dimensions also make Undo return to identical raster pixels. */
 .studio-work-surface{flex:0 0 clamp(280px,46dvh,520px);min-height:280px}
 .studio-work-surface[data-artwork-shape="landscape"]{height:clamp(220px,calc(100vw / var(--studio-artwork-ratio,1.5) + 68px),46dvh);min-height:220px}
}
@media(max-width:650px){
 .studio-instruments button{min-height:74px;padding:5px 12px}
 .studio-treatment small{font-size:calc(12px * var(--restore-text-scale,1))}
 .studio-step-number{font-size:calc(24px * (1 + (var(--restore-text-scale,1) - 1) * 0.75));min-width:27px}
}
@media(max-width:350px){
 .studio-controls button{font-size:calc(11px * var(--restore-text-scale,1));padding:0 5px}
 .studio-instruments strong{font-size:calc(14px * var(--restore-text-scale,1))}
 .studio-surface-guide{font-size:calc(10px * var(--restore-text-scale,1))}
}

/* State revision 5 workbench: the frame the player just saw fades over the
   completed stage; it never receives input and never changes canvas size. */
.studio-work-surface canvas.studio-fade-layer{pointer-events:none;opacity:0;z-index:1;cursor:default}
.studio-coach,.studio-stage-card{display:flex;align-items:center;gap:12px;padding:10px 16px;margin:0;background:var(--restore-panel);border-top:1px solid var(--restore-line);flex-shrink:0;animation:studio-card-in .32s ease both}
.studio-coach>div,.studio-stage-card>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.studio-coach strong,.studio-stage-card strong{font-size:calc(15px * var(--restore-text-scale,1));line-height:1.3;color:var(--restore-ink)}
.studio-coach p,.studio-stage-card p{margin:0;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted)}
.studio-stage-card small{font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.08em;text-transform:uppercase;color:var(--restore-gold)}
.studio-coach{border-left:2px solid #9fd6e3}
.studio-coach button,.studio-stage-card button{flex-shrink:0;min-height:48px;padding:0 16px;border:1px solid var(--restore-gold);border-radius:4px;background:transparent;color:var(--restore-gold);font-size:calc(13px * var(--restore-text-scale,1));max-width:46%;line-height:1.25}
.studio-completion>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.studio-completion strong{font-size:calc(15px * var(--restore-text-scale,1));color:var(--restore-ink)}
.studio-completion ul{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted)}
.studio-completion li::before{content:'✓ ';color:var(--restore-gold)}
.studio-completion small{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted)}
.studio-surface-guide i{border-color:#9fd6e3}
@keyframes studio-card-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:900px){.studio-coach,.studio-stage-card{grid-column:2;flex-direction:column;align-items:stretch;border-top:0;border-left:1px solid var(--restore-line)}.studio-coach button,.studio-stage-card button{max-width:none}}
@media(max-width:350px){.studio-coach,.studio-stage-card{flex-direction:column;align-items:stretch}.studio-coach button,.studio-stage-card button{max-width:none}}
/* Second wave (Studio open point 6): on phones the stage card floats over the bottom edge of the work
   surface instead of pushing the controls down, so Show me where, Undo and Compare stay on screen while it
   shows. The next stroke or Continue removes it.
   13 October: the card is sized by its words, never clipped. A zero-height anchor sits where the work surface
   ends and the card rises from it over the painting, so nothing below moves and the painting keeps its size
   (Undo still returns identical raster pixels). A step the Studio performs is narrated by the same card in
   the instrument panel's place, so the whole painting stays in view while it happens. */
.studio-card-anchor{display:contents}
.studio-auto-card{border-left:2px solid var(--restore-gold)}
@media(max-width:899px){
 .studio-workspace>.studio-card-anchor{display:block;position:relative;z-index:4;height:0;margin:0 8px;flex-shrink:0}
 .studio-card-anchor>.studio-stage-card{position:absolute;left:0;right:0;bottom:8px;box-sizing:border-box;max-height:min(70dvh,320px);overflow-y:auto;border:1px solid var(--restore-line);border-radius:8px;box-shadow:0 6px 18px #0009}
 .studio-workspace>.studio-auto-card{min-height:96px;box-sizing:border-box}
}
/* Treatment effects (2026-10-12): particles, the fresh look of a material and a short glow over the area
   just treated are drawn on their own canvas above the treatment canvas. It never receives input, never
   changes size independently, and the treatment canvas beneath stays the authoritative image. */
.studio-work-surface canvas.studio-fx-layer{pointer-events:none;z-index:2;cursor:default}
/* Wide layouts: what the player will see and why, in the instrument column (otherwise empty space). */
.studio-step-guide{display:none}
@media(min-width:900px){
 .studio-instruments{justify-content:flex-start}
 .studio-step-guide{display:flex;flex-direction:column;gap:4px;margin:14px 2px 0;padding-top:12px;border-top:1px solid var(--restore-line)}
 .studio-step-guide small{font-size:calc(10px * var(--restore-text-scale,1));letter-spacing:.08em;text-transform:uppercase;color:var(--restore-gold)}
 .studio-step-guide p{margin:0 0 8px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.55;color:var(--restore-muted)}
 .studio-step-guide p.studio-step-why{font-size:calc(16px * var(--restore-text-scale,1));line-height:1.55;color:var(--restore-ink)}
}
/* 2.1.42: the restored artwork's article, from the completion summary. */
.studio-completion .studio-article-open{align-self:flex-start;min-height:44px;padding:0 16px;margin-top:4px;background:transparent;border:1px solid var(--restore-gold,#c6aa70);color:var(--restore-ink,#f3efe6);border-radius:6px;font-size:calc(14px * var(--restore-text-scale,1))}

/* 2.1.43: the large article button at the top of the completed Studio case, across the status bar. */
.studio-treatment>.studio-article-hero{grid-column:1/-1;margin:2px 0 4px}

/* components/restore/chapter-ending.css */
/* E4 chapter ending and "Stay with the painting" (refinement 2026-10-11). Tokens only. */
.restore-chapter-ending{position:absolute;z-index:7;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));max-width:560px;margin:0 auto;display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start;padding:16px;border:1px solid color-mix(in srgb,var(--restore-gold,#c6aa70) 45%,transparent);border-radius:12px;background:var(--restore-panel,#191917);color:var(--restore-ink,#f3efe6);box-shadow:0 14px 44px #000a}
.restore-chapter-ending-painting{margin:0;align-self:stretch;min-height:112px;border-radius:6px;overflow:hidden;background:#11110f}
.restore-chapter-ending-painting img{display:block;width:100%;height:100%;object-fit:cover}
.restore-chapter-ending-copy{min-width:0;display:flex;flex-direction:column;gap:6px}
.restore-chapter-ending-copy .restore-eyebrow{margin:0;font-size:calc(10px * var(--restore-text-scale,1))}
.restore-chapter-ending h2{margin:0;font:500 clamp(21px,5.4vw,28px)/1.15 Fraunces,Georgia,serif}
.restore-chapter-ending-summary{margin:2px 0 6px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#bab6ab);font-variant-numeric:tabular-nums}
.restore-chapter-ending-actions{display:flex;flex-direction:column;gap:8px}
.restore-chapter-ending-actions .approved-primary{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;margin:0}
.restore-chapter-ending-stay{min-height:48px;width:100%;padding:10px 14px;border:1px solid var(--restore-line,#48463d);border-radius:8px;background:transparent;color:var(--restore-ink,#f3efe6);font-size:calc(14px * var(--restore-text-scale,1))}
.restore-chapter-ending:not(.has-figure){position:relative;left:auto;right:auto;bottom:auto;margin:4px auto 0;width:min(100%,560px);grid-template-columns:minmax(0,1fr)}
/* Without a figure the painting is already shown full size above the card; no duplicate thumbnail. */
.restore-chapter-ending:not(.has-figure) .restore-chapter-ending-painting{display:none}
@media(max-width:360px){.restore-chapter-ending{grid-template-columns:64px minmax(0,1fr);gap:10px;padding:12px}.restore-chapter-ending-painting{min-height:84px}}
@media(max-height:520px) and (orientation:landscape){.restore-chapter-ending{left:auto;max-width:min(470px,58vw);grid-template-columns:72px minmax(0,1fr);padding:12px}.restore-chapter-ending-actions{flex-direction:row}.restore-chapter-ending-actions>*{flex:1}}
.restore-chapter-stay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:#0b0b0a;overflow:hidden}
.restore-chapter-stay img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;animation:restore-stay-drift 60s ease-in-out infinite alternate;transform-origin:50% 45%}
.restore-chapter-stay.is-still img{animation:none}
@keyframes restore-stay-drift{from{transform:scale(1)}to{transform:scale(1.05)}}
.restore-chapter-stay-exit{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));min-width:64px;min-height:48px;padding:8px 16px;border:1px solid #ffffff40;border-radius:8px;background:#0b0b0acc;color:#f3efe6;font-size:calc(14px * var(--restore-text-scale,1));opacity:.72}
.restore-chapter-stay-exit:focus-visible,.restore-chapter-stay-exit:hover{opacity:1}
@media(prefers-reduced-motion:reduce){.restore-chapter-stay img{animation:none}}:where(:root[data-system-reduced-motion]) .restore-chapter-stay img{animation:none}
/* While staying, the 3D workspace keeps its recording mounted but shows nothing else. */
.approved-completed-inspection.is-staying>.model-workspace-heading,.approved-completed-inspection.is-staying>.model-workspace-footer{visibility:hidden;pointer-events:none}
/* The painting-only finale for chapters without a 3D figure. */
.restore-chapter-finale{display:flex;flex-direction:column;align-items:center;gap:10px;padding:12px 16px 24px;overflow:auto}
.restore-chapter-finale-art{margin:0;width:min(100%,640px);display:flex;flex-direction:column;align-items:center;gap:6px}
.restore-chapter-finale-art img{display:block;width:100%;max-height:40dvh;object-fit:contain;border-radius:6px}
.restore-chapter-finale-art figcaption{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-muted,#bab6ab)}
.restore-chapter-finale>.artwork-performance{width:min(100%,560px)}
.model-fullscreen>.restore-chapter-stay{position:absolute;z-index:9}
/* 2.1.42: the restored artwork's article, a quiet choice beside "Stay with the painting". */
.restore-chapter-ending-article{margin-top:0}
/* 2.1.42: the finale's "Listen to the recording" gets a full 48 px touch target like the ending's own buttons (it was
   44 px; the text-size check reported it once the third ending button moved it out of the first screen). */
.restore-chapter-finale>.artwork-performance>button{min-height:48px}
/* 2.1.43 (owner request, 18 October 2026): the large "Read about this painting" button at the top of the completion view:
   above the painting in the finale, and as a full-width row of the heading over the completed 3D assembly (the sculpture is
   framed below the heading, see approved-model-view.tsx), never over the artwork. */
.restore-chapter-finale>.restore-chapter-finale-article{width:min(100%,640px);flex-shrink:0}
.model-workspace-heading.has-article{flex-wrap:wrap;row-gap:8px}
.model-workspace-heading.has-article>.model-workspace-article{flex:1 0 100%;min-height:64px;padding:10px 14px}
/* Landscape phones: the button shares the heading's row (beside the title, not a row of its own), so the sculpture keeps
   the height it had in 2.1.42 above the ending card. */
@media(max-height:540px){.model-workspace-heading.has-article{flex-wrap:nowrap}.model-workspace-heading.has-article>.model-workspace-article{flex:0 1 min(520px,62%);width:auto;margin-left:auto;min-height:52px;padding:6px 12px}.model-workspace-heading.has-article .restore-article-hero-text small{display:none}}
/* The controls over the top of the view sit below the taller heading (its bottom is measured by approved-model-view.tsx). */
.approved-completed-inspection.has-article-top .approved-view-workspace>.motion-view-controls{top:calc(var(--model-heading-bottom,146px) + 8px)}
.model-fullscreen.approved-completed-inspection.has-article-top .approved-view-workspace>.approved-view-accessibility{top:calc(var(--model-heading-bottom,146px) + 8px)!important}
@media(max-height:540px){.approved-completed-inspection.has-article-top .approved-view-workspace>.motion-view-controls{top:calc(var(--model-heading-bottom,118px) + 6px)}.model-fullscreen.approved-completed-inspection.has-article-top .approved-view-workspace>.approved-view-accessibility{top:calc(var(--model-heading-bottom,118px) + 6px)!important}}

/* components/restore/collection-wall.css */
/* Section F (second wave): the collection wall and its restoration journal. Tokens only; each design
   direction hangs the works in its own style. Reduced Motion: no transitions anywhere in the wall. */
.restore-wall{width:min(100%,1080px);margin:0 auto 26px}
.restore-wall-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 16px}
.restore-wall-heading h2{margin:0;font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818))}
.restore-wall-heading p{margin:0;font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-muted);font-variant-numeric:tabular-nums}
.restore-wall-grid{list-style:none;margin:0;padding:22px 16px;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:26px 20px;align-items:end;border-radius:10px;background:radial-gradient(ellipse at 50% 0%,#2b2820 0%,#171613 70%);box-shadow:inset 0 1px 0 #ffffff0d}
.restore-wall-grid>li{min-width:0;display:flex;justify-content:center}
.restore-wall-frame{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%;padding:0;border:0;background:transparent;color:var(--restore-ink);cursor:pointer;text-align:center}
.restore-wall-mat{display:block;width:100%;padding:9px;background:linear-gradient(145deg,#5a4a2c,#2a2216 55%,#6d5a35);border-radius:3px;box-shadow:0 12px 22px #000a,inset 0 0 0 1px #c6aa7066}
.restore-wall-mat img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain;background:#0e0e0d;box-shadow:inset 0 0 0 1px #00000080;outline:6px solid #e9e1cf;outline-offset:-6px}
.restore-wall-label{display:flex;flex-direction:column;gap:2px;min-width:0;max-width:100%}
.restore-wall-label strong{font:500 calc(15px * var(--restore-text-scale,1))/1.25 Fraunces,Georgia,serif;overflow-wrap:anywhere}
.restore-wall-label small{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted);overflow-wrap:anywhere}
.restore-wall-frame:focus-visible{outline:2px solid var(--restore-gold);outline-offset:6px}
.restore-wall-frame:disabled{cursor:default}
/* The journal is a sheet over the wall. */
.restore-wall-sheet{position:fixed;inset:0;z-index:55;display:flex;align-items:flex-end;justify-content:center;padding:max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));background:#000a}
.restore-wall-sheet-body{position:relative;width:min(100%,560px);max-height:100%;overflow:auto;padding:18px 18px 16px;border:1px solid var(--restore-line);border-radius:14px;background:var(--restore-panel);color:var(--restore-ink);box-shadow:0 18px 50px #000c}
.restore-wall-close{position:absolute;z-index:1;top:24px;right:24px;width:48px;height:48px;border:1px solid var(--restore-line);border-radius:8px;background:color-mix(in srgb,var(--restore-panel) 82%,transparent);color:var(--restore-ink);font-size:calc(22px * (1 + (var(--restore-text-scale,1) - 1) * 0.818));line-height:1}
.restore-wall-sheet-art{margin:0 0 12px;display:flex;justify-content:center;background:#0e0e0d;border-radius:6px;overflow:hidden}
.restore-wall-sheet-art img{display:block;max-width:100%;max-height:30dvh;object-fit:contain}
.restore-wall-sheet .restore-eyebrow{margin:6px 0 4px}
.restore-wall-sheet h3{margin:0;font:500 clamp(22px,6vw,28px)/1.15 Fraunces,Georgia,serif}
.restore-wall-artist{margin:4px 0 12px;font-size:calc(13px * var(--restore-text-scale,1));color:var(--restore-muted)}
.restore-wall-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 14px}
.restore-wall-facts>div{min-width:0;padding:9px 11px;border:1px solid var(--restore-line);border-radius:8px}
.restore-wall-facts dt{font-size:calc(11px * var(--restore-text-scale,1));color:var(--restore-muted)}
.restore-wall-facts dd{margin:2px 0 0;font-size:calc(15px * var(--restore-text-scale,1));font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.restore-wall-actions{display:flex;flex-direction:column;gap:8px}
.restore-wall-actions>button{min-height:48px;width:100%;padding:10px 14px;border:1px solid var(--restore-line);border-radius:8px;background:transparent;color:var(--restore-ink);font-size:calc(14px * var(--restore-text-scale,1))}
.restore-wall-actions .artwork-performance{width:100%}
/* Design directions. */
.approved-collection[data-design-direction=gallery] .restore-wall-grid{background:linear-gradient(#f2ede4,#e7e0d3);box-shadow:inset 0 1px 0 #fff8}
.approved-collection[data-design-direction=gallery] .restore-wall-mat{background:#fbfaf6;box-shadow:0 8px 18px #0003,inset 0 0 0 1px #0000001a}
.approved-collection[data-design-direction=gallery] .restore-wall-mat img{outline-color:#fbfaf6}
.approved-collection[data-design-direction=gallery] .restore-wall-label strong{color:#1d1b17}
.approved-collection[data-design-direction=gallery] .restore-wall-label small{color:#5c564b}
.approved-collection[data-design-direction=cinematic] .restore-wall-grid{background:radial-gradient(ellipse at 50% 0%,#24394a 0%,#101b24 72%)}
.approved-collection[data-design-direction=cinematic] .restore-wall-mat{background:linear-gradient(145deg,#3c5868,#182733 60%,#4b6a7b);box-shadow:0 12px 24px #0009,inset 0 0 0 1px #d3e7ee40}
.approved-collection[data-design-direction=cinematic] .restore-wall-mat img{outline-color:#dfe9ec}
@media(max-width:420px){.restore-wall-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px;padding:18px 12px}.restore-wall-mat{padding:7px}.restore-wall-mat img{max-height:190px}}
@media(max-width:340px){.restore-wall-facts{grid-template-columns:1fr}}
@media(max-height:540px) and (orientation:landscape){.restore-wall-sheet{align-items:center}.restore-wall-sheet-body{width:min(100%,760px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:16px}.restore-wall-sheet-art{grid-row:1/8;margin:0;align-self:start}.restore-wall-sheet-art img{max-height:70dvh}.restore-wall-close{top:10px;right:10px}.restore-wall-sheet .restore-eyebrow,.restore-wall-sheet h3{padding-right:56px}}
.restore-wall{margin-top:4px}
.restore-luxury[data-reduced-motion=true] .restore-wall *{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.restore-wall *{transition:none!important;animation:none!important}}:where(:root[data-system-reduced-motion]) .restore-wall *{transition:none!important;animation:none!important}

/* components/restore/restore-sheet.css */
/* 2.1.41: pinned sheet header. The sheet itself is the scroll container; its header (title + close) is sticky.
   (!important: design.css gives every dialog padding:24px!important, which would leave a gap above the pinned header.) */
.restore-settings.restore-sheet{display:flex;flex-direction:column;gap:14px;padding:0 20px max(20px,env(safe-area-inset-bottom))!important;max-height:min(88dvh,100% - 24px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:84px}
.restore-sheet>.restore-sheet-header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 -20px;padding:12px 12px 10px 20px;background:var(--restore-panel);border-bottom:1px solid var(--restore-line);flex-shrink:0}
.restore-sheet-heading{min-width:0}
.restore-sheet-heading .restore-eyebrow{margin:0 0 2px}
.restore-sheet-heading [data-slot=dialog-title]{margin:0!important;font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692));line-height:1.15}
.restore-sheet .restore-sheet-close{flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:calc(28px * (1 + (var(--restore-text-scale,1) - 1) * 0.643));line-height:1;border-radius:999px}
.restore-sheet details>summary{min-height:48px;display:flex;align-items:center;cursor:pointer}
.restore-sheet .restore-steps{list-style:none;margin:8px 0 0;padding:0;counter-reset:restore-step}
.restore-sheet .restore-steps>li{counter-increment:restore-step;position:relative;padding:0 0 14px 42px}
.restore-sheet .restore-steps>li::before{content:counter(restore-step);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:calc(13px * var(--restore-text-scale,1));font-weight:700;background:var(--restore-gold);color:var(--restore-on-accent,#17140e)}
.restore-sheet .restore-steps h4{margin:2px 0 4px;font-size:calc(16px * var(--restore-text-scale,1));line-height:1.35}
.restore-sheet .restore-steps p{margin:0;line-height:1.55}
.restore-sheet .restore-score-list{margin:8px 0 0;padding-left:20px}.restore-sheet .restore-score-list li{margin:0 0 8px;line-height:1.55;color:var(--restore-muted)}
.restore-credits section{padding:6px 0 14px;border-bottom:1px solid var(--restore-line)}
.restore-credits h3{font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))!important;margin:8px 0 6px!important}
.restore-credits ul{margin:6px 0 0;padding-left:18px}.restore-credits li{margin:0 0 8px;line-height:1.5;overflow-wrap:anywhere}
.restore-credits li small{display:block;color:var(--restore-muted)}
.restore-credits a{color:var(--restore-gold);text-underline-offset:3px}
.restore-credits .restore-credit-records a{display:flex;align-items:center;min-height:44px}
.restore-content-notice{margin:0 0 12px;padding:10px 12px;border:1px solid var(--restore-line);border-left:4px solid var(--restore-gold);border-radius:6px;background:var(--restore-panel);color:var(--restore-ink);font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5}

/* components/restore/artwork-article.css */
/* 2.1.42: one artwork article in a long sheet. Reading width and rhythm follow the reading page. */
.restore-article{max-width:68ch;margin:0 auto;padding:2px 0 8px}
.restore-article-work{margin:2px 0 4px;font-size:calc(13px * var(--restore-text-scale,1));letter-spacing:.06em;text-transform:uppercase;color:var(--restore-gold)}
.restore-article-dek{margin:0 0 6px;font-size:calc(18px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-ink)}
.restore-article section{padding:10px 0 4px;border-top:1px solid var(--restore-line)}
.restore-article h3{margin:6px 0 8px!important;font-size:calc(19px * (1 + (var(--restore-text-scale,1) - 1) * 0.947))!important;line-height:1.3}
.restore-article p{margin:0 0 12px;line-height:1.65;font-size:calc(16px * var(--restore-text-scale,1))}
.restore-article-sources{padding-top:10px;border-top:1px solid var(--restore-line)}
.restore-article-sources ol{margin:4px 0 10px;padding-left:22px}
.restore-article-sources li{margin:0 0 8px;line-height:1.5;overflow-wrap:anywhere}
.restore-article-sources a{color:var(--restore-gold);text-underline-offset:3px}

/* 2.1.43 (owner request, 18 October 2026): the large "Read about this painting" button at the top of each completion view.
   In the flow of the page, never over the artwork. */
/* Specific enough to win over the design directions' plain button style (.restore-luxury button and its hover). */
html body button.restore-article-hero[data-article-hero]{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 18px;border:0;border-radius:14px;background:var(--restore-gold,#c6aa70);color:var(--restore-on-accent,#17140e);text-align:left;cursor:pointer;box-shadow:0 8px 26px rgba(0,0,0,.35);touch-action:manipulation;font:inherit}
html body button.restore-article-hero[data-article-hero]:hover{background:color-mix(in srgb,var(--restore-gold,#c6aa70) 88%,#fff);border:0;color:var(--restore-on-accent,#17140e)}
html body button.restore-article-hero[data-article-hero]:focus-visible{outline:3px solid var(--restore-ink,#f3efe6);outline-offset:3px}
.restore-article-hero-icon{flex:0 0 auto;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:color-mix(in srgb,currentColor 13%,transparent)}
.restore-article-hero-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.restore-article-hero-text strong{font-size:calc(clamp(19px,5.2vw,23px) * (1 + (var(--restore-text-scale,1) - 1) * 0.783));line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.restore-article-hero-text small{font-size:calc(14px * var(--restore-text-scale,1));line-height:1.3;opacity:.82}
.restore-article-hero-arrow{flex:0 0 auto;font-size:calc(26px * (1 + (var(--restore-text-scale,1) - 1) * 0.692));line-height:1}
@media(prefers-reduced-motion:no-preference){html:where(:not([data-system-reduced-motion])) body button.restore-article-hero[data-article-hero]{transition:transform .15s,box-shadow .15s}html:where(:not([data-system-reduced-motion])) body button.restore-article-hero[data-article-hero]:active{transform:scale(.985)}}
/* 2.1.43: the quiz at the end of the article. */
.restore-article-top{height:0;scroll-margin-top:96px}
.restore-article-quiz-call{margin:18px 0 6px;padding:18px;border:1px solid color-mix(in srgb,var(--restore-gold,#c6aa70) 55%,transparent);border-radius:12px;background:var(--restore-panel,#191917)}
.restore-article .restore-article-quiz-call h3{margin:0 0 6px!important;font-size:calc(20px * (1 + (var(--restore-text-scale,1) - 1) * 0.9))!important}
.restore-article .restore-article-quiz-call p{margin:0 0 10px;font-size:calc(15px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted,#bab6ab)}
.restore-article .restore-article-quiz-call .restore-article-quiz-best{color:var(--restore-gold,#c6aa70);font-weight:650}
html body button.restore-article-quiz-start[data-article-quiz-start]{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:12px 16px;border:0;border-radius:10px;background:var(--restore-gold,#c6aa70);color:var(--restore-on-accent,#17140e);font:inherit;font-size:calc(17px * var(--restore-text-scale,1));font-weight:650;cursor:pointer;touch-action:manipulation}
html body button.restore-article-quiz-start[data-article-quiz-start]:focus-visible{outline:3px solid var(--restore-ink,#f3efe6);outline-offset:3px}
.restore-article-quiz .restore-article-quiz-ref{font-size:calc(12px * var(--restore-text-scale,1));color:var(--restore-gold,#c6aa70);margin:0 0 8px}

/* components/restore/direction-themes.css */
/* 2.1.41 (closed-test feedback: "When you change the interface, nothing changes"). The three interfaces now
 * differ on every screen, the first-use screen and Settings included: background, panels, type, accent colour
 * and button shape. The choice is mirrored on <html data-design-direction> so dialogs and the first-use screen
 * follow it immediately. Only interface surfaces change: artwork images, canvas pixels and 3D model materials
 * are never tinted or filtered.
 *   Art gallery    — a bright museum room: ivory walls, white panels, black type, museum-red accent, square corners.
 *   Black and gold — a dark gallery: matte black, brass-gold accent and frames, serif headings.
 *   Cinematic      — a night screening: deep blue light, teal accent, bold sans-serif headings, rounded pills. */

/* ---------- Shared tokens per direction ---------- */
html[data-design-direction=gallery],
html[data-design-direction=gallery] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection.restore-luxury){
 --restore-bg:#f4f1ea;--restore-panel:#ffffff;--restore-elevated:#ece7dc;--restore-ink:#1c1c1a;--restore-muted:#57544c;
 --restore-gold:#8e2433;--restore-line:#cdc6b6;--restore-board:#efe9dd;--restore-board-ink:#2a2823;--restore-paper:#ffffff;
 --restore-on-accent:#ffffff;--restore-primary-bg:#1c1c1a;--restore-primary-solid:#1c1c1a;--restore-primary-ink:#ffffff;--restore-radius:2px;
 --md-sys-color-surface:#f4f1ea;--md-sys-color-on-surface:#1c1c1a;--md-sys-color-on-surface-variant:#57544c;--md-sys-color-primary:#8e2433;
 --md-sys-color-on-primary:#ffffff;--md-sys-color-surface-container:#ffffff;--md-sys-color-surface-container-high:#ece7dc;
 --restore-presentation-floor:#e9e4d9;color-scheme:light;
}
html[data-design-direction=luxury],
html[data-design-direction=luxury] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection.restore-luxury){
 --restore-bg:#0b0b0a;--restore-panel:#161613;--restore-elevated:#211f1a;--restore-ink:#f3efe6;--restore-muted:#bdb7a8;
 --restore-gold:#cdae6c;--restore-line:#5a4d33;--restore-on-accent:#17140e;--restore-primary-bg:linear-gradient(180deg,#e0c587,#b8944f);--restore-primary-solid:#c9a865;
 --restore-primary-ink:#17140e;--restore-radius:4px;--restore-presentation-floor:#151510;color-scheme:dark;
}
html[data-design-direction=cinematic],
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection.restore-luxury){
 --restore-bg:#071421;--restore-black:#071421;--restore-panel:#0f2232;--restore-elevated:#183247;--restore-ink:#eef6f8;--restore-muted:#a9bfca;
 --restore-gold:#3fd3d9;--restore-line:#2d5065;--restore-on-accent:#04161d;--restore-primary-bg:linear-gradient(100deg,#3fd3d9,#6f8dff);--restore-primary-solid:#3fd3d9;
 --restore-primary-ink:#04161d;--restore-radius:18px;--restore-presentation-floor:#0d2130;--restore-scene-rgb:63 140 170;
 --md-sys-color-surface:#071421;--md-sys-color-on-surface:#eef6f8;--md-sys-color-primary:#3fd3d9;--md-sys-color-on-primary:#04161d;
 --md-sys-color-surface-container:#0f2232;--md-sys-color-surface-container-high:#183247;color-scheme:dark;
}
html[data-design-direction] body{background:var(--restore-bg);color:var(--restore-ink)}

/* ---------- Page backgrounds ---------- */
html[data-design-direction=gallery] :is(.approved-game,.approved-collection.restore-luxury,.restore-presentation){background:#f4f1ea;background-image:none;color:#1c1c1a}
html[data-design-direction=luxury] :is(.approved-game,.approved-collection.restore-luxury,.restore-presentation){background-color:#0b0b0a;background-image:repeating-linear-gradient(135deg,#ffffff02 0 1px,transparent 1px 7px);color:#f3efe6}
html[data-design-direction=cinematic] :is(.approved-game,.approved-collection.restore-luxury,.restore-presentation){
 background-color:#071421;color:#eef6f8;
 background-image:radial-gradient(ellipse 90% 55% at 15% 0%,#1d5a74cc,transparent 70%),radial-gradient(ellipse 70% 50% at 100% 100%,#3a2f6e99,transparent 70%),linear-gradient(170deg,#0a1a2a,#050d17 90%);
 background-attachment:fixed;
}

/* ---------- Type ---------- */
html[data-design-direction=gallery] :is(.restore-luxury,.restore-settings,.restore-presentation) :is(h1,h2,h3){font-family:Fraunces,Georgia,serif;font-weight:400;letter-spacing:-.01em;color:#1c1c1a;text-transform:none}
html[data-design-direction=luxury] :is(.restore-luxury,.restore-settings,.restore-presentation) :is(h1,h2,h3){font-family:Fraunces,Georgia,serif;font-weight:500;letter-spacing:.01em;color:#f3efe6}
html[data-design-direction=luxury] :is(.restore-luxury,.restore-settings,.restore-presentation) h1{font-variant-caps:all-small-caps;letter-spacing:.06em}
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation) :is(h1,h2,h3){font-family:Figtree,Arial,sans-serif;font-weight:800;letter-spacing:-.035em;color:#ffffff;font-variation-settings:normal}
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation) h1{text-shadow:0 2px 24px #3fd3d955}
html[data-design-direction] .restore-eyebrow{color:var(--restore-gold)}
html[data-design-direction=cinematic] .restore-eyebrow{letter-spacing:.24em}
html[data-design-direction=gallery] .restore-eyebrow{letter-spacing:.14em}

/* ---------- Buttons ---------- */
html[data-design-direction] :is(.restore-luxury,.restore-settings,.restore-presentation) button{border-radius:var(--restore-radius)}
html[data-design-direction=gallery] :is(.restore-luxury,.restore-settings,.restore-presentation) button{background:#ffffff;color:#1c1c1a;border-color:#1c1c1a40}
html[data-design-direction=gallery] :is(.restore-luxury,.restore-settings,.restore-presentation) button:hover{background:#f4f1ea;border-color:#1c1c1a}
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation) button{border-radius:999px;background:#0f2232cc;border-color:#3fd3d94d;color:#eef6f8}
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation) button:hover{background:#183247;border-color:#3fd3d9}
html[data-design-direction=luxury] :is(.restore-luxury,.restore-settings,.restore-presentation) button{border-color:#5a4d33}
html[data-design-direction] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection) :is(.approved-primary,.approved-dot-finish,.chapter-learning-primary),
html[data-design-direction] .approved-collection.restore-luxury :is(.approved-primary,.approved-dot-finish){
 background:var(--restore-primary-bg);background-color:var(--restore-primary-solid,transparent);color:var(--restore-primary-ink);border-color:transparent;border-radius:var(--restore-radius);font-weight:700;
}
html[data-design-direction=cinematic] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection) :is(.approved-primary,.approved-dot-finish,.chapter-learning-primary){border-radius:999px;box-shadow:0 8px 26px #3fd3d940}
html[data-design-direction=luxury] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection) :is(.approved-primary,.approved-dot-finish,.chapter-learning-primary){letter-spacing:.08em;text-transform:uppercase;font-size:calc(13px * var(--restore-text-scale,1));box-shadow:inset 0 0 0 1px #fff3}
html[data-design-direction=gallery] :is(.restore-luxury,.restore-settings,.restore-presentation,.approved-collection) :is(.approved-primary,.approved-dot-finish,.chapter-learning-primary):hover{background:#8e2433;color:#fff}

/* ---------- Bars ---------- */
/* The gallery keeps its black logo band (the supplied champagne lettering needs a dark ground); its controls follow it. */
html[data-design-direction=gallery] .approved-collection .restore-topbar{background:#141412;border-bottom:3px solid #8e2433}
html[data-design-direction=gallery] .approved-collection .restore-topbar :is(.restore-header-back,.approved-settings-button){background:transparent;color:#f3efe6;border-color:#f3efe666;border-radius:2px}
html[data-design-direction=gallery] .approved-collection .restore-navigation{background:#ffffff;border-top:1px solid #cdc6b6}
html[data-design-direction=gallery] .approved-collection:not(.restore-immersive)>.restore-navigation button[aria-current=page]{background:#ffffff;color:#8e2433;border-color:transparent;box-shadow:inset 0 3px 0 #8e2433}
html[data-design-direction=luxury] .approved-collection .restore-topbar{background:#0b0b0a;border-bottom:1px solid #8a7446}
html[data-design-direction=luxury] .approved-collection .restore-navigation{background:#0b0b0a;border-top:1px solid #8a7446}
html[data-design-direction=luxury] .approved-collection:not(.restore-immersive)>.restore-navigation button[aria-current=page]{background:#161613;color:#e0c587;border-color:#8a7446}
html[data-design-direction=cinematic] .approved-collection .restore-topbar{background:#071421b3;border-bottom:1px solid #3fd3d933;backdrop-filter:blur(10px)}
html[data-design-direction=cinematic] .approved-collection .restore-navigation{background:#071421d9;border-top:1px solid #3fd3d933;backdrop-filter:blur(10px)}
html[data-design-direction=cinematic] .approved-collection:not(.restore-immersive)>.restore-navigation button[aria-current=page]{background:#3fd3d926;color:#7ff0f4;border-color:#3fd3d980;border-radius:999px}

/* ---------- Panels and cards ---------- */
html[data-design-direction=gallery] .approved-collection :is(.restore-work-card,.restore-home-feature,.restore-activity,.restore-score-summary,.restore-studio-entry,.classical-reward,.restore-hub-intro figure,.restore-feature-copy){
 background:#ffffff;border:1px solid #d9d3c5;border-radius:2px;box-shadow:0 1px 2px #0000000f,0 8px 22px #0000000d;color:#1c1c1a;
}
html[data-design-direction=gallery] .approved-collection :is(.restore-work-image,.restore-home-feature figure,.restore-hub-intro figure,.restore-detail-intro figure,figcaption){background:#ece7dc;color:#57544c}
html[data-design-direction=gallery] .approved-collection :is(.restore-progress-label,.restore-card-copy>span,.restore-activity em,.restore-activity-icon,.restore-activity>span:last-child){color:#8e2433}
html[data-design-direction=luxury] .approved-collection :is(.restore-work-card,.restore-activity,.restore-score-summary,.restore-studio-entry,.classical-reward){
 background:#161613;border:1px solid #8a7446;border-radius:4px;box-shadow:0 0 0 4px #0b0b0a,0 0 0 5px #3a3222;
}
html[data-design-direction=cinematic] .approved-collection :is(.restore-work-card,.restore-activity,.restore-score-summary,.restore-studio-entry,.classical-reward,.restore-home-feature){
 background:linear-gradient(160deg,#16334acc,#0b1d2bcc);border:1px solid #3fd3d933;border-radius:20px;box-shadow:0 14px 38px #00000059;backdrop-filter:blur(6px);
}
html[data-design-direction=cinematic] .approved-collection :is(.restore-work-image,.restore-home-feature figure,.restore-hub-intro figure,.restore-detail-intro figure){background:#06121d}
html[data-design-direction=cinematic] .approved-collection :is(.restore-progress-label,.restore-card-copy>span,.restore-activity em,.restore-activity-icon,.restore-activity>span:last-child){color:#3fd3d9}

/* ---------- Reading, quiz and other learning pages ---------- */
html[data-design-direction=gallery] .chapter-learning button{background:#ffffff;color:#1c1c1a;border-color:#1c1c1a33;border-radius:2px}
html[data-design-direction=gallery] .chapter-quiz-options button.chapter-quiz-correct{background:#e6efe0;border-color:#5b7a3f;color:#1c1c1a}
html[data-design-direction=gallery] .chapter-quiz-options button.chapter-quiz-incorrect{background:#f5e3e3;border-color:#8e2433;color:#1c1c1a}
html[data-design-direction=gallery] .chapter-quiz-options button:is(.chapter-quiz-correct,.chapter-quiz-incorrect) strong{color:#1c1c1a}
html[data-design-direction=cinematic] .chapter-learning button{background:#0f2232cc;border-color:#3fd3d940;border-radius:16px;color:#eef6f8}
html[data-design-direction=cinematic] .chapter-quiz-options button.chapter-quiz-correct{background:#0f3a35;border-color:#3fd3a5}
html[data-design-direction=luxury] .chapter-learning button{border-color:#5a4d33;border-radius:4px}
html[data-design-direction=gallery] :is(.restore-knowledge,.restore-reading-page) a{color:#8e2433}

/* ---------- Settings and dialogs ---------- */
html[data-design-direction=gallery] .restore-settings{background:#ffffff!important;color:#1c1c1a!important;border-color:#cdc6b6!important;border-radius:2px!important}
html[data-design-direction=gallery] .restore-settings :is(h2,h3,[data-slot=dialog-title]){color:#1c1c1a}
html[data-design-direction=gallery] .restore-settings select{background:#ffffff;color:#1c1c1a;border-color:#1c1c1a59;border-radius:2px}
html[data-design-direction=luxury] .restore-settings{background:#161613!important;border-color:#8a7446!important;border-radius:4px!important}
html[data-design-direction=cinematic] .restore-settings{background:linear-gradient(170deg,#12304a,#0a1826)!important;border-color:#3fd3d955!important;border-radius:22px!important;box-shadow:0 20px 60px #000a}
html[data-design-direction=cinematic] .restore-settings select{background:#0f2232;color:#eef6f8;border-color:#3fd3d955;border-radius:14px}

/* ---------- First-use screen: the choice previews itself immediately ---------- */
html[data-design-direction=gallery] .restore-presentation select{background:#ffffff;color:#1c1c1a;border-color:#1c1c1a59;border-radius:2px}
html[data-design-direction=gallery] .restore-presentation :is(.restore-language-note,.restore-first-identity p){color:#57544c}
html[data-design-direction=cinematic] .restore-presentation select{background:#0f2232;color:#eef6f8;border-color:#3fd3d955;border-radius:14px}
html[data-design-direction] .restore-directions button[aria-pressed=true]{outline:3px solid var(--restore-gold);outline-offset:3px}
html[data-design-direction] .restore-directions button[data-choice=gallery]{background:#fbf9f4;color:#1c1c1a;border:1px solid #1c1c1a59;border-radius:2px;box-shadow:0 2px 8px #0002}
html[data-design-direction] .restore-directions button[data-choice=luxury]{background:#11110f;color:#e0c587;border:1px solid #8a7446;border-radius:4px;box-shadow:inset 0 0 0 5px #0b0b0a,inset 0 0 0 6px #5d5035}
html[data-design-direction] .restore-directions button[data-choice=cinematic]{background:radial-gradient(ellipse at 20% 10%,#1d5a74,#0a1826 80%);color:#ffffff;border:1px solid #3fd3d980;border-radius:18px;font-weight:800}
.restore-direction-preview{margin:0 0 6px;font-size:calc(13px * var(--restore-text-scale,1));line-height:1.5;color:var(--restore-muted)}

/* ---------- 2.1.41 (Fix 6): where am I, what is next ---------- */
.restore-where{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .4em;padding:4px max(14px,env(safe-area-inset-left));font-size:calc(12px * var(--restore-text-scale,1));line-height:1.35;color:var(--restore-muted);border-bottom:1px solid var(--restore-line);background:var(--restore-bg);flex-shrink:0;min-width:0}
.restore-where-chapter{font-weight:650;color:var(--restore-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:46vw}
.restore-where-activity{color:var(--restore-gold);font-weight:600}
.approved-collection.restore-immersive:has(>.restore-cinematic-reveal)>.restore-where,.approved-collection:has([data-dot-full-board=true])>.restore-where{display:none}
.restore-activity-badge{display:inline-block;margin:0 0 0 8px;padding:1px 8px;border-radius:999px;font-size:calc(11px * var(--restore-text-scale,1));font-weight:700;vertical-align:middle;background:var(--restore-gold);color:var(--restore-on-accent,#17140e)}
.restore-activity[data-activity-state=done] .restore-activity-badge{background:transparent;color:var(--restore-gold);border:1px solid var(--restore-gold)}
.restore-activity[data-activity-state=next]{outline:2px solid var(--restore-gold);outline-offset:2px}
.restore-luxury .restore-hub-next{width:100%;margin:22px 0 0}
.restore-hub-done{margin:22px 0 0}.restore-hub-done p{color:var(--restore-muted);margin:0 0 10px}
.restore-reading-page>[data-reading-done]{width:100%;margin-top:22px}

/* 2.1.41 (Fix 6): the chapter page's music cards follow its one primary action. */
.restore-hub-music{display:grid;gap:10px}
