@media (max-width:1279px){.sw-secondary-page,.sw-version-page{min-width:0;padding:24px 16px calc(88px + env(safe-area-inset-bottom))}.sw-secondary-page h1,.sw-version-page h1{overflow-wrap:anywhere;text-wrap:balance;font-size:clamp(1.75rem,4vw,2.4rem);line-height:1.15}.sw-version-page :is(header,li,pre,td){min-width:0}.sw-version-page pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.sw-version-page :is(button,summary,a.rounded-md){align-items:center;min-height:44px}.sw-version-page summary{padding-block:12px}.sw-version-compare table{table-layout:fixed}.sw-version-compare td{overflow-wrap:anywhere}.sw-auth-page{min-height:calc(100dvh - 4rem);padding:20px 16px calc(80px + env(safe-area-inset-bottom))}.sw-auth-page>div{gap:16px;min-width:0;padding:16px}.sw-auth-page :is(.cl-rootBox,.cl-cardBox,.cl-card,.cl-main,.cl-footer){min-width:0;max-width:100%}.sw-auth-page .cl-cardBox{width:100%}.sw-auth-page .cl-card{padding:20px 16px}.sw-auth-page input{font-size:16px}.sw-auth-page button{min-height:44px}body[data-ui=v12] .v12-creations-page :is(.v12-creations-tab,.v12-creations-chip,.v12-creations-view-button){min-height:44px;font-size:12px}body[data-ui=v12] .v12-creations-page .v12-creations-view-button{min-width:44px}body[data-ui=v12] .v12-creations-page .v12-creations-index-head>div>span{font-size:10px;line-height:1.4}body[data-ui=v12] .v12-creations-page .v12-creations-index-head p{font-size:11px}body[data-ui=v12] .v12-creations-page .v12-creations-results.is-grid>div>div>div{grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr))!important}body[data-ui=v12] .v12-creations-page .v12-creations-results.is-grid [data-library-row-id]>header+div{line-height:1.5;font-size:14px!important}body[data-ui=v12] .v12-creations-page .v12-creations-results.is-grid [data-library-row-id]>header p{line-height:1.4;font-size:10px!important}}@media (max-width:767px){.sw-auth-page>div{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.sw-auth-page>div>section{padding:16px}.sw-auth-page h1{margin-top:8px;font-size:2rem}.sw-auth-page section p,.sw-auth-page section>p{margin-top:12px}.sw-secondary-page>.grid{gap:12px;margin-top:24px}.sw-secondary-page>.grid>:is(section,a){padding:16px}.sw-version-compare table,.sw-version-compare tbody{display:block}.sw-version-compare thead{display:none}.sw-version-compare tr{grid-template-columns:minmax(0,1fr);display:grid}.sw-version-compare td{padding:12px;display:block}.sw-version-compare td:first-child{border-bottom:1px solid var(--border);background:var(--card)}.sw-version-compare td[data-version-label]:before{content:attr(data-version-label);color:var(--primary);font:600 12px/1.4 var(--font-system,sans-serif);margin-bottom:8px;display:block}body[data-ui=v12] .v12-creations-page .v12-archive-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-left:0}body[data-ui=v12] .v12-creations-page .v12-archive-actions>:last-child{grid-column:1/-1}body[data-ui=v12] .v12-creations-page .v12-archive-actions :is(a,button){white-space:normal;min-height:44px}body[data-ui=v12] .v12-creations-page .v12-creations-tabs{grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:visible}body[data-ui=v12] .v12-creations-page .v12-creations-tab{flex-wrap:wrap;justify-content:center;gap:5px;min-width:0;padding:8px 5px;font-size:11px}body[data-ui=v12] .v12-creations-page .v12-creations-toolbar>div{flex-wrap:wrap}body[data-ui=v12] .v12-creations-page .v12-creations-toolbar>div>:first-child{flex-basis:100%}body[data-ui=v12] .v12-creations-page .v12-creations-view-toggle{margin-left:auto}body[data-ui=v12] .v12-creations-page .v12-creations-index-head{align-items:center;gap:8px}.sw-handheld-page [data-testid=search-results] li>a{gap:10px;padding:12px}.sw-handheld-page [data-testid=search-results] li>a>:first-child{width:40px;height:40px}.sw-handheld-page [data-testid=search-results] li>a>div:last-child>div{flex-wrap:wrap;gap:4px}.sw-handheld-page [data-testid=search-results] li>a>div:last-child>div>p{white-space:normal;overflow-wrap:anywhere}.sw-handheld-page section .flex>input{min-width:0}.sw-handheld-page section :is(input,textarea){font-size:16px}.sw-handheld-page section .flex:has(>input){flex-wrap:wrap}.sw-handheld-page section .flex>input{flex-basis:180px}.sw-handheld-page section .flex>button{min-height:44px}.sw-auth-page{align-items:start}}
body[data-ui=v12] .sw-mechanical-summary{background:linear-gradient(var(--v12-inset),var(--v12-inset)) padding-box,var(--v12-copper-edge) border-box;border:1px solid #0000;border-radius:8px;margin:0 0 12px}body[data-ui=v12] .sw-mechanical-summary>summary{cursor:pointer;min-height:40px;color:var(--v12-gold-hi);font:600 12px/1.3 var(--font-system);justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}body[data-ui=v12] .sw-mechanical-summary>summary:after{content:"+"}body[data-ui=v12] .sw-mechanical-summary[open]>summary:after{content:"−"}body[data-ui=v12] .sw-mechanical-summary>summary>span:first-child{flex:1}body[data-ui=v12] .sw-mechanical-summary>summary>span:nth-child(2){color:var(--v12-soft);font-size:10px}body[data-ui=v12] .sw-mechanical-summary>ul{margin:0;padding:0 14px 10px 28px;list-style:outside}body[data-ui=v12] .sw-mechanical-summary>ul>li{color:var(--v12-copper-hi);padding:3px 0}body[data-ui=v12] .sw-mechanical-summary .v12-markdown p{margin:0;font-size:14px;line-height:1.45}body[data-ui=v12] .sw-mechanical-summary [data-copy=mechanical]{color:var(--v12-copper-hi)!important}body[data-ui=v12] .sw-mechanical-summary [data-copy=narrative]{color:var(--foreground)!important}body[data-ui=v12] .sw-mechanical-summary small{font:500 10px var(--font-system);color:var(--v12-gold-hi)}
@media (max-width:767px){body[data-ui=v12] .v12-navigation{gap:0;min-height:0;padding:4px 10px 0!important}body[data-ui=v12] .v12-navigation-brand{letter-spacing:.08em;gap:6px;line-height:24px;font-size:12px!important}body[data-ui=v12] .v12-navigation-brand>span{width:22px;height:22px;font-size:15px}body[data-ui=v12] .v12-navigation nav{scrollbar-width:none;gap:2px;width:100%;padding:0}body[data-ui=v12] .v12-navigation nav :is(a,button){white-space:nowrap;min-height:40px;line-height:20px;padding:8px 9px!important;font-size:12px!important}body[data-ui=v12] .v12-navigation nav .v12-navigation-collection{box-shadow:none;background:0 0;border:0}body[data-ui=v12] .v12-build-preview-modal[aria-modal=true]{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);inset:var(--sw-visible-top,0px) 0 auto!important;width:100%!important;height:var(--sw-visible-height,100dvh)!important;box-shadow:none!important;border-radius:0!important}body[data-ui=v12] .v12-build-preview-modal>header{position:relative;min-height:48px!important;padding:2px 10px!important}body[data-ui=v12] .v12-build-preview-modal>header h2{font:600 15px/1.3 var(--font-system)!important}body[data-ui=v12] .v12-build-preview-modal>.sw-build-dialog-host{min-height:0;display:flex;overflow:hidden;padding:0!important}body[data-ui=v12] .sw-build-dialog-layout{flex:1;min-width:0;min-height:0;max-height:none!important}body[data-ui=v12] .v12-build-preview-modal .v12-build-drawer-tabs{border:0;border-bottom:1px solid var(--v12-line-subtle);min-height:40px;padding:0;position:relative;border-radius:0!important;margin:0!important}body[data-ui=v12] .v12-build-preview-modal .v12-build-drawer-tab{min-height:40px;font:600 12px/1.3 var(--font-system);letter-spacing:0;padding:8px}body[data-ui=v12] .sw-build-dialog-scroll{overscroll-behavior:contain;padding:10px;overflow-x:hidden}body[data-ui=v12] .v12-build-preview-modal .v12-build-drawer-footer{min-height:48px;position:relative;margin:0!important;padding:4px 10px!important}body[data-ui=v12] .v12-build-drawer-footer button{min-height:40px;font:600 12px/1.3 var(--font-system);padding:8px 12px}body[data-ui=v12] .v12-build-drawer-footer>span{font:500 10px/1.2 var(--font-system);letter-spacing:0}body[data-ui=v12] .sw-build-dialog-layout:not(:has([data-sandbox-submit])) .v12-build-drawer-footer{display:none}body[data-ui=v12] [data-character-modal]{padding:0}body[data-ui=v12] [data-character-modal]>.v12-instrument{border-radius:0!important}body[data-ui=v12] .sw-character-modal-content{font-size:16px;padding:8px!important}body[data-ui=v12] .sw-character-modal-tabs{gap:0;margin:0 -8px;padding:0 8px}body[data-ui=v12] .sw-character-modal-tabs [role=tab]{min-height:40px;padding:8px 10px}body[data-ui=v12] .sw-character-modal-content :is(h3,h4){margin-block:6px;font-size:17px}body[data-ui=v12] .sw-character-modal-content label>span{font:500 12px/1.4 var(--font-system)}body[data-ui=v12] .sw-character-modal-content :is(input,select){min-height:40px;padding:8px 10px}body[data-ui=v12] .sw-character-modal-content textarea{min-height:88px;padding:8px 10px}body[data-ui=v12] .sw-character-modal-footer{margin:8px -8px -8px;padding:6px 8px}body[data-ui=v12]:has([aria-modal=true]:not([aria-hidden=true])) [data-fab-root]{visibility:hidden;pointer-events:none}:is(body[data-ui=v12]:has(.sheet-build) [data-fab-root],body[data-ui=v12]:has(.v12-character-page) [data-fab-root]){bottom:calc(124px + env(safe-area-inset-bottom))!important}}.sw-phone-navigation{display:none}@media (max-width:767px){body[data-ui=v12] .v12-navigation{z-index:45;position:relative;flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;height:44px!important;min-height:44px!important;padding:0 8px!important;display:flex!important}body[data-ui=v12] .v12-navigation .sw-desktop-navigation{display:none!important}body[data-ui=v12] .sw-phone-navigation{display:block}body[data-ui=v12] .sw-phone-navigation>summary{min-height:44px;font:600 13px var(--font-system);cursor:pointer;align-items:center;padding:0 12px;list-style:none;display:flex}body[data-ui=v12] .sw-phone-navigation>nav{border:1px solid var(--v12-line-subtle);background:var(--background,var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0b1118));flex-direction:column;align-items:stretch;position:absolute;top:43px;right:6px;box-shadow:0 8px 24px #0009;width:220px!important;padding:6px!important;display:flex!important}body[data-ui=v12] .v12-navigation-brand{font-size:11px!important}body[data-ui=v12] .sw-phone-action-tray>summary{cursor:pointer;color:#171811;min-height:44px;font:650 13px var(--font-system);background:linear-gradient(110deg,#8b662b,#f2d98a 45%,#b28b48);justify-content:space-between;align-items:center;padding:8px 12px;list-style:none;display:flex}body[data-ui=v12] .sw-phone-action-tray-body{gap:8px;max-height:55dvh;padding:8px;display:grid;overflow:auto}body[data-ui=v12] .sw-phone-action-tray-body .v12-preview-action-group>div:first-child:has(h3){display:none}body[data-ui=v12] .sw-phone-action-tray-body .v12-preview-destination-grid{grid-template-columns:1fr;gap:4px;display:grid}body[data-ui=v12] .sw-phone-action-tray-body .v12-preview-destination-action{border-radius:3px!important;gap:2px!important;min-height:44px!important;padding:8px!important}body[data-ui=v12] .v12-preview-actions:has(.sw-phone-action-tray){margin:0!important;padding:0!important}body[data-ui=v12] .sw-phone-preview-section{border-bottom:1px solid var(--v12-line-subtle)}body[data-ui=v12] .sw-phone-preview-section>summary{cursor:pointer;min-height:40px;font:600 12px var(--font-system);padding:10px 2px}body[data-ui=v12] .sw-phone-preview-section>div{padding:4px 0 10px}body[data-ui=v12] .v12-entity-preview,body[data-ui=v12] .v12-entity-preview :is(p,li){font-size:14px!important;line-height:1.4!important}body[data-ui=v12] .v12-preview-owner-bar{margin-top:6px!important;padding:6px 0!important}body[data-ui=v12] .v12-instrument-dialog-head{gap:8px!important;min-height:48px!important;padding:6px 10px!important}body[data-ui=v12] .v12-instrument-dialog-identity>span{display:none!important}body[data-ui=v12] .v12-instrument-dialog-identity h2{font-size:16px!important;line-height:1.25!important}body[data-ui=v12] .v12-instrument-dialog-identity p{margin:2px 0 0!important;font-size:11px!important}body[data-ui=v12] .v12-instrument-dialog-head>button{flex-shrink:0;width:40px!important;height:40px!important}body[data-ui=v12] .v12-instrument-dialog-body{padding:8px!important}body[data-ui=v12] .sw-phone-composition{gap:0;display:grid}body[data-ui=v12] .sw-phone-composition-row{border-bottom:1px solid var(--v12-line-subtle);padding:6px 0}body[data-ui=v12] .sw-phone-composition-row>button:first-child{text-align:left;background:0 0;border:0;width:100%;min-height:44px;padding:4px 0;display:block}body[data-ui=v12] .sw-phone-composition-row>button>span{align-items:baseline;gap:8px;display:flex}body[data-ui=v12] .sw-phone-composition-row strong{font:600 14px/1.3 var(--font-system);flex:1}body[data-ui=v12] .sw-phone-composition-row b{white-space:nowrap;color:var(--v12-gold-light,#e1c57b);font-size:11px}body[data-ui=v12] .sw-phone-composition-row small{font:600 10px var(--font-system);text-transform:uppercase;color:var(--v12-teal,#79c3be)}body[data-ui=v12] .sw-phone-composition-note{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:3px;display:-webkit-box;overflow:hidden}body[data-ui=v12] .sw-phone-composition-note p{margin:0;font:400 13px/1.4 var(--font-system)!important}body[data-ui=v12] .sw-phone-composition-pieces{align-items:center;gap:4px;min-height:36px;padding:4px 0;font-size:12px;display:flex}body[data-ui=v12] .sw-phone-composition-path{border-bottom:1px solid var(--v12-line-subtle);align-items:center;gap:8px;padding-bottom:4px;display:flex}body[data-ui=v12] .sw-phone-composition-path strong{min-width:0;font:600 12px/1.3 var(--font-system);flex:1}body[data-ui=v12] .sw-phone-composition-path button{flex-shrink:0;min-height:40px;font-size:12px}body[data-ui=v12] .v12-instrument-dialog-identity{min-width:0!important}body[data-ui=v12] .v12-instrument-dialog-identity h2{white-space:normal!important;text-overflow:clip!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important;overflow:visible!important}body[data-ui=v12] .v12-modal-backdrop>.v12-instrument-dialog{inset:var(--sw-visible-top,0px) 0 auto!important;width:100%!important;max-width:none!important;height:var(--sw-visible-height,100dvh)!important;max-height:var(--sw-visible-height,100dvh)!important;border-radius:0!important;margin:0!important;position:fixed!important}body[data-ui=v12] .v12-live-recipe{gap:8px!important;padding:0!important}body[data-ui=v12] .v12-live-identity{gap:8px!important;padding:4px 0 8px!important}body[data-ui=v12] .v12-live-emblem{width:30px!important;min-width:30px!important;height:30px!important}body[data-ui=v12] .v12-live-emblem :is(img,svg){width:24px!important;height:24px!important}body[data-ui=v12] .v12-live-identity h2{font:600 15px/1.3 var(--font-system)!important;margin:2px 0!important}body[data-ui=v12] .v12-live-recipe .v12-kicker{letter-spacing:.08em!important;margin:0!important;font-size:10px!important}body[data-ui=v12] .v12-live-badges{gap:3px!important;margin-top:4px!important}body[data-ui=v12] .v12-live-badges>span{padding:2px 5px!important;font-size:10px!important}body[data-ui=v12] .v12-live-composition{gap:4px!important;margin:0!important;padding:6px 0!important}body[data-ui=v12] .v12-live-composition .generated-reference-slot{border-radius:3px!important;min-height:0!important;padding:6px!important}body[data-ui=v12] .v12-live-note{margin:3px 0!important;font-size:12px!important;line-height:1.35!important}body[data-ui=v12] .v12-live-effect{border:0!important;border-bottom:1px solid var(--v12-line-subtle)!important;border-radius:0!important;padding:6px 0!important}body[data-ui=v12] .v12-live-effect-open{min-height:44px;padding:4px 0!important}body[data-ui=v12] .v12-live-rule{border-left:0!important;border-bottom:1px solid var(--v12-line-subtle)!important;margin:0!important;padding:6px 0!important}body[data-ui=v12] .v12-live-rule-head strong{font:600 13px/1.35 var(--font-system)!important}body[data-ui=v12] .v12-live-recipe [data-readable-rule] p{margin:3px 0!important;font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .v12-live-rule-meta{gap:4px!important;font-size:10px!important}}body[data-ui=v12] .v12-instrument-dialog-head>.sw-phone-detail-back{display:none}@media (max-width:767px){body[data-ui=v12]:has(.sw-phone-tool-shell){overflow:hidden}body[data-ui=v12] .sw-phone-tool-shell{height:var(--sw-visible-height,100dvh);min-height:0;overflow:hidden}body[data-ui=v12] .sw-phone-tool-shell>main{flex:1;min-height:0;padding-bottom:0;overflow:hidden}body[data-ui=v12] .sw-phone-tool-shell>.v12-site-footer{display:none}body[data-ui=v12] .sw-phone-tool-shell .v12-atelier-shell{flex:1;height:auto;min-height:0;overflow:hidden}body[data-ui=v12] .sw-phone-tool-shell .v12-navigation{flex:none}body[data-ui=v12] .sw-phone-tool-shell .sw-phone-navigation{display:none}body[data-ui=v12]:has(.sw-phone-tool-shell) [data-fab-root]{z-index:90;height:auto;top:auto!important;right:12px!important;bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}body[data-ui=v12]:has(.sw-phone-tool-shell) [data-fab-trigger]{border-radius:50%!important;width:48px!important;height:48px!important;box-shadow:0 4px 18px #0009,inset 0 1px #fff5!important}body[data-ui=v12]:has(.sw-phone-tool-shell) [data-fab-menu]{max-height:calc(var(--sw-visible-height,100dvh) - 160px)!important;border-radius:10px!important}body[data-ui=v12] .sw-phone-detail-header{align-items:center;display:flex}body[data-ui=v12] .sw-phone-detail-header>.sw-phone-detail-back{min-width:64px;font:600 12px var(--font-system);color:var(--v12-gold-hi);flex:none;justify-content:center;align-items:center;gap:4px;padding:0 6px;display:flex;border:1px solid var(--v12-line-subtle)!important;background:linear-gradient(135deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#263438),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0b141b))!important;border-radius:6px!important;width:auto!important;height:44px!important;box-shadow:inset 0 1px #fff2!important}body[data-ui=v12] .sw-phone-detail-header>.sw-detail-close{display:none}body[data-ui=v12] .sw-phone-detail-header .v12-instrument-dialog-identity{flex:1}body[data-ui=v12] [data-modal-stack-depth] .sw-mobile-preview-trail{display:none}body[data-ui=v12] [data-copy=mechanical]{color:var(--v12-copper-hi,#ffc098)!important}body[data-ui=v12] [data-copy=narrative]{color:var(--foreground,#eeeae1)!important}body[data-ui=v12] .v12-preview-section-title{font-size:11px!important;line-height:1.35!important}body[data-ui=v12] .sw-mechanical-summary summary{padding:8px 10px}body[data-ui=v12] .sw-mechanical-summary .markdown-content p{font-size:13px!important}}
@media (max-width:767px){body[data-ui=v12] .v12-character-page[data-character-surface]{padding-left:8px!important;padding-right:8px!important}body[data-ui=v12] .v12-character-page :is(.v12-canonical-branch-list,.v12-canonical-effect-primitives,.v12-canonical-primitive-list,.v12-sheet-item-grid,.v12-backstory-grid){grid-template-columns:minmax(0,1fr)!important;gap:5px!important;display:grid!important}body[data-ui=v12] .v12-character-page :is(.v12-canonical-branch-list[data-primitive-rail],.v12-canonical-effect-primitives){border-left:0!important;margin:0!important;padding:0!important}body[data-ui=v12] .v12-character-page :is(.v12-canonical-branch-list[data-primitive-rail],.v12-canonical-effect-primitives)>.v12-canonical-primitive{border-right:0!important;flex:none!important;width:100%!important;min-width:0!important;max-width:none!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite,.v12-canonical-primitive){border-radius:4px!important;min-width:0!important;padding:9px 10px!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite-heading,.v12-canonical-primitive-heading){flex-wrap:wrap!important;align-items:flex-start!important;gap:6px!important;display:flex!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite-title,.v12-canonical-primitive-heading>:first-child){flex:150px!important;min-width:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite-title,.v12-canonical-primitive-heading) :is(button,strong){white-space:normal!important;overflow-wrap:anywhere!important;-webkit-line-clamp:unset!important;font-size:17px!important;line-height:1.25!important;display:block!important;overflow:visible!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-composite-meta{flex-wrap:wrap!important;max-width:100%!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-rule-output,.v12-rule-description){white-space:normal!important;overflow-wrap:anywhere!important;font-size:16px!important;line-height:1.4!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-capability-actions-only{flex-wrap:wrap!important;margin:4px 0!important;display:flex!important;position:static!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-capability-actions-only>button{min-height:36px!important;padding:6px 9px!important;font-size:12px!important}body[data-ui=v12] .v12-character-page[data-character-surface] [data-workspace-kind=capability]>.v12-workspace-row-head{padding:9px!important}body[data-ui=v12] .v12-character-page .v12-backstory-card-body{padding:12px!important;font-size:17px!important;line-height:1.5!important}body[data-ui=v12] .v12-bottom-drawer{max-width:100vw!important}body[data-ui=v12] .v12-bottom-drawer-toggle{min-height:44px!important;padding:7px 52px 7px 10px!important}body[data-ui=v12] .v12-bottom-drawer-body{overscroll-behavior:contain;max-height:58dvh!important;padding:8px 8px calc(12px + env(safe-area-inset-bottom))!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:none!important;gap:8px!important;display:grid!important}body[data-ui=v12] .v12-bottom-drawer-body>*{grid-area:auto/1!important;width:auto!important;min-width:0!important;margin:0!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices>.grid{grid-template-columns:minmax(0,1fr)!important;gap:5px!important;display:grid!important}body[data-ui=v12] .v12-drawer-practices [role=button]{min-height:0!important;padding:8px!important}body[data-ui=v12] .v12-drawer-practices [role=button]>p{margin:0 0 5px!important;font-size:13px!important}body[data-ui=v12] .v12-drawer-practices ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:3px 10px!important;display:grid!important}body[data-ui=v12] .v12-drawer-practices li{align-items:center!important;gap:5px!important;min-height:30px!important;margin:0!important;font-size:14px!important}body[data-ui=v12] .v12-drawer-practices li>:first-child{white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important}body[data-ui=v12] .v12-drawer-access>div{grid-template-columns:minmax(0,1fr)!important}body[data-ui=v12] .v12-drawer-action-profile{grid-template-columns:minmax(0,1fr)!important;display:grid!important}body[data-ui=v12] :is(.v12-calculation-body,.v12-formula-body){grid-template-columns:minmax(0,1fr)!important;gap:8px!important;padding:8px!important;display:grid!important}body[data-ui=v12] :is(.v12-calculation-body,.v12-formula-body)>*{grid-column:1!important;min-width:0!important;max-width:100%!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head{gap:10px!important;min-height:56px!important;padding:9px 12px!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head h2{overflow-wrap:anywhere;font-size:20px!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head>button{flex-shrink:0!important;width:40px!important;height:40px!important}body[data-ui=v12] .v12-equation-board{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;display:grid!important}body[data-ui=v12] .v12-equation-board>div{min-width:0!important;padding:8px!important}body[data-ui=v12] .v12-equation-board>.is-result{grid-column:1/-1!important}body[data-ui=v12] .v12-equation-board span{white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important}body[data-ui=v12] .v12-equation-board strong{font-size:23px!important}body[data-ui=v12] :is(.v12-formula-ledger-row,.v12-contribution-row,.v12-condition-contribution){flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-width:0!important;padding:9px!important;display:flex!important}body[data-ui=v12] :is(.v12-contribution-main,.v12-contribution-name,.v12-formula-ledger-row>*){white-space:normal!important;overflow-wrap:anywhere!important;min-width:0!important;max-width:100%!important}body[data-ui=v12] .v12-contribution-main{flex-wrap:wrap!important;gap:5px 8px!important;display:flex!important}body[data-ui=v12] .v12-contribution-name{flex:100%!important;font-size:16px!important;line-height:1.3!important}body[data-ui=v12] .v12-contribution-statement{white-space:normal!important;font-size:13px!important;position:static!important}body[data-ui=v12] :is(.v12-formula-rule-plate,.v12-rule-overview,.v12-roll-limits){overflow-wrap:anywhere!important;min-width:0!important}body[data-ui=v12] .v12-field-guide-body{grid-template-columns:minmax(0,1fr)!important;gap:9px!important;padding:10px!important;display:grid!important}body[data-ui=v12] .v12-field-guide-body>*{grid-column:1!important;min-width:0!important}body[data-ui=v12] :is(.v12-field-guide-dials,.v12-field-guide-rhythm,.v12-size-reference){grid-template-columns:minmax(0,1fr)!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind>summary{grid-template-columns:28px minmax(0,1fr) auto!important;gap:8px!important;min-height:54px!important;padding:10px!important;display:grid!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind-glyph{width:28px!important;height:28px!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind>summary h3{font-size:18px!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind>summary .v12-tag{grid-column:auto!important;padding:4px!important;font-size:10px!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind-body{padding:7px!important}body[data-ui=v12] .v12-character-page .v12-direct-heritage{padding:5px!important}body[data-ui=v12] .v12-character-page .v12-direct-heritage-title{min-height:0!important;padding:5px 0!important}body[data-ui=v12] .v12-character-page .v12-heritage-empty{margin-top:5px!important;padding:8px!important;font-size:13px!important}body[data-ui=v12] .v12-character-page .v12-direct-heritage-grid{grid-template-columns:minmax(0,1fr)!important}body[data-ui=v12] .v12-equation-board>i{display:none!important}body[data-ui=v12] .v12-bottom-drawer-body .v12-vitality-deck{padding:9px!important}body[data-ui=v12] .v12-bottom-drawer-body .v12-vitality-deck>button{min-height:44px!important;padding:4px 7px!important}body[data-ui=v12] .v12-bottom-drawer-body .v12-vitality-deck>div:last-child{gap:5px!important;margin-top:8px!important}body[data-ui=v12] .v12-bottom-drawer-body .v12-vitality-deck>div:last-child button{min-height:36px!important;padding:6px!important;font-size:13px!important}body[data-ui=v12] .v12-drawer-attributes .grid>button,body[data-ui=v12] .v12-drawer-derived>button{padding:7px!important}body[data-ui=v12] .v12-calculation-body .v12-practice-about{padding:10px!important}body[data-ui=v12] .v12-calculation-body .v12-practice-about p{font-size:15px!important;line-height:1.4!important}body[data-ui=v12] .v12-calculation-body .v12-practice-about details{padding:0!important}body[data-ui=v12] .v12-calculation-body .v12-practice-about summary{min-height:40px!important;padding:10px 8px!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite-heading,.v12-canonical-primitive-heading){flex-direction:row!important;height:auto!important;min-height:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-composite-title{flex:auto!important;height:auto!important;min-height:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-primitive-heading>.v12-canonical-version{flex:none!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-primitive-heading>:is(button,strong){flex:160px!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-composite-body{border-left:0!important;margin:0!important;padding:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-branch{margin:0!important;padding:4px 0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-branch .v12-canonical-composite{border-right:0!important;padding:6px 0 6px 4px!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-canonical-branch .v12-canonical-branch .v12-canonical-composite{border-left:0!important;padding-left:0!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind>summary>div{grid-column:2;min-width:0!important}body[data-ui=v12] .v12-character-page .v12-heritage-kind>summary>div:first-child{grid-column:1/-1}body[data-ui=v12] .v12-character-page .v12-heritage-kind-body:has(.v12-canonical-composite){padding:2px!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-rule-output,.v12-rule-description) :is(p,li){margin-block:3px!important;font-size:16px!important;line-height:1.4!important}.v12-phone-composition-row{background:var(--sw-surface-deep);border-bottom:1px solid #566267;min-width:0;padding:8px 10px}.v12-phone-composition-open{text-align:left;width:100%;min-height:48px;color:var(--sw-text-gold);align-items:center;gap:10px;display:flex}.v12-phone-composition-open>span{flex:1;min-width:0}.v12-phone-composition-open small{font:600 10px/1.4 var(--font-system);text-transform:uppercase;color:var(--sw-text-teal);letter-spacing:.06em;display:block}.v12-phone-composition-open strong{font:600 18px/1.3 var(--font-subtitle);overflow-wrap:anywhere;display:block}.v12-phone-composition-open>svg{width:20px;color:var(--sw-text-gold);flex-shrink:0}.v12-phone-composition-meta{color:var(--sw-text-gold);justify-content:space-between;align-items:center;gap:8px;font-size:14px;display:flex}.v12-phone-composition-meta:empty{display:none}.v12-phone-composition-detail{gap:12px;min-width:0;display:grid}.v12-phone-composition-detail .v12-canonical-branch-list{grid-template-columns:minmax(0,1fr)!important;gap:4px!important;padding:0!important;display:grid!important}.v12-phone-composition-detail .v12-canonical-primitive{flex:none!important;width:100%!important;min-width:0!important;padding:10px!important}.v12-phone-composition-detail .v12-canonical-primitive-heading{align-items:flex-start!important;gap:8px!important;display:flex!important}.v12-phone-composition-detail .v12-canonical-primitive-heading :is(button,strong){flex:1;min-width:0;white-space:normal!important;font-size:17px!important;line-height:1.3!important}.v12-phone-composition-detail .v12-rule-text p{font-size:16px!important;line-height:1.4!important}.v12-phone-composition-back{text-align:left;min-height:44px;color:var(--sw-text-gold);border:1px solid #887449;border-radius:4px;align-items:center;gap:8px;padding:10px;font-size:14px;display:flex}.v12-phone-composition-back svg{flex:0 0 18px;width:18px}.v12-phone-dock-launcher{background:var(--sw-surface-deep);grid-template-columns:1fr 1fr;gap:1px;display:grid}.v12-phone-dock-launcher>button{background:var(--sw-surface-deep);min-height:46px;color:var(--sw-text-gold);justify-content:center;align-items:center;gap:7px;padding:7px;font-size:14px;display:flex}.v12-phone-dock-launcher svg{width:17px;height:17px}.v12-phone-dock-launcher small{color:var(--muted-foreground);font-size:11px}.v12-phone-instrument-tabs{z-index:3;background:var(--sw-surface-deep);grid-template-columns:1fr 1fr 1fr 40px;gap:4px;padding:5px 0;display:grid;position:sticky;top:-8px}.v12-phone-instrument-tabs button{text-transform:capitalize;min-height:40px;color:var(--muted-foreground);border-bottom:2px solid #0000;font-size:13px}.v12-phone-instrument-tabs button[aria-pressed=true]{color:var(--sw-text-gold);background:var(--sw-surface-deep);border-color:#d8b064}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel]>:not(.v12-phone-instrument-tabs){display:none!important}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rolls]>:is(.v12-drawer-practices,.v12-drawer-attributes,.v12-drawer-derived),body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=resources]>:is(.v12-vitality-deck,.v12-drawer-loadout),body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rules]>:is(.v12-drawer-action-profile,.v12-drawer-access,.v12-drawer-damage){display:block!important}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rolls]>.v12-drawer-derived{display:grid!important}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rolls]>.v12-drawer-practices{order:1}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rolls]>.v12-drawer-derived{order:2}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=rolls]>.v12-drawer-attributes{order:3}body[data-ui=v12] .v12-practice-modal .v12-practice-about{order:4}body[data-ui=v12] .v12-practice-modal .v12-calculation-body>section:nth-child(2){order:-1}.v12-phone-primitive-disclosure{border-top:1px solid #6c7261;min-width:0;margin-top:8px}.v12-phone-primitive-disclosure>summary{min-height:46px;color:var(--sw-text-gold);cursor:pointer;justify-content:space-between;align-items:center;padding:9px 10px;font-size:15px;display:flex}.v12-phone-primitive-disclosure>summary:after{content:"+";margin-left:10px}.v12-phone-primitive-disclosure[open]>summary:after{content:"−"}.v12-phone-primitive-disclosure>summary span{font-variant-numeric:tabular-nums;color:var(--sw-text-teal);margin-left:auto}.v12-phone-composition-open strong{font:600 15px/1.35 var(--font-system,sans-serif)}.v12-phone-composition-row{background:0 0;padding:8px 4px}.v12-phone-composition-detail .v12-canonical-primitive-heading :is(button,strong){font:600 15px/1.35 var(--font-system,sans-serif)!important}.v12-phone-composition-detail .v12-rule-text p{font:400 13px/1.5 var(--font-system,sans-serif)!important}body[data-ui=v12] .v12-drawer-practices .grid{grid-auto-rows:auto!important;align-items:start!important}body[data-ui=v12] .v12-drawer-practices .grid>[role=button]:not(:has(ul)){display:none!important}body[data-ui=v12] .v12-phone-practice-reference{border-top:1px solid #526561;order:4!important;grid-column:1!important;padding:0!important}body[data-ui=v12] .v12-phone-practice-reference>summary{min-height:44px!important;color:var(--sw-text-gold)!important;font:600 13px/1.4 var(--font-system)!important;padding:12px!important}body[data-ui=v12] .v12-phone-practice-reference>div{padding:0 10px 10px}.v12-consequences-edge-launcher{display:none!important}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel=resources]>.v12-phone-consequences-button{background:var(--sw-surface-deep);min-height:44px;color:var(--sw-text-gold);font:600 13px/1.4 var(--font-system);text-align:left;border:1px solid #a17d3b;border-radius:4px;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex!important}.v12-phone-consequences-button>span{max-width:55%;color:var(--sw-text-teal);font-size:11px;font-weight:400}body[data-ui=v12] .v12-phone-play-library{min-width:0;font-family:var(--font-system,sans-serif);background:0 0!important;border:0!important;margin:0!important;padding:0!important}.v12-phone-play-tools{align-items:center;gap:8px;padding:6px 0;display:flex}.v12-phone-play-tools>label{background:var(--sw-surface-deep);border:1px solid #52615e;border-radius:7px;flex:1;align-items:center;gap:7px;min-width:0;min-height:44px;padding:0 10px;display:flex}.v12-phone-play-tools label svg{width:16px;color:var(--muted-foreground);flex:0 0 16px}.v12-phone-play-tools input{background:0 0;outline:0;width:100%;min-width:0}.v12-phone-play-tools>:not(label){flex-shrink:0}.v12-phone-play-kinds{scrollbar-width:none;border-bottom:1px solid #465650;gap:4px;display:flex;overflow:auto}.v12-phone-play-kinds>button{min-height:44px;font:600 12px/1.3 var(--font-system,sans-serif);color:var(--muted-foreground);border-bottom:2px solid #0000;flex:1 0 auto;padding:7px 8px}.v12-phone-play-kinds>button span{color:var(--muted-foreground);margin-left:4px;font-size:10px}.v12-phone-play-kinds>button[aria-pressed=true]{color:var(--sw-text-gold);background:var(--sw-surface-fill);border-bottom-color:#e1bd72}.v12-phone-play-results{font:400 11px/1.3 var(--font-system,sans-serif);color:var(--muted-foreground);padding:7px 2px}body[data-ui=v12] .v12-phone-play-record{min-width:0;box-shadow:none!important;background:0 0!important;border:0!important;border-bottom:1px solid #3c4a49!important;border-radius:0!important;margin:0!important;padding:0!important}.v12-phone-play-record-open{text-align:left;width:100%;min-height:44px;color:var(--sw-text-gold);padding:10px 2px 8px;display:block}.v12-phone-play-record-title{align-items:flex-start;gap:8px;display:flex}.v12-phone-play-record-title strong{min-width:0;font:600 14px/1.35 var(--font-system,sans-serif);overflow-wrap:anywhere;flex:1}.v12-phone-play-record-title svg{width:16px;height:18px;color:var(--sw-text-gold);flex-shrink:0}.v12-phone-play-record-meta{font:500 10px/1.4 var(--font-system,sans-serif);color:var(--sw-text-teal);text-transform:capitalize;margin-top:3px;display:block}.v12-phone-play-record-rule{-webkit-line-clamp:2;font:400 12px/1.45 var(--font-system,sans-serif);color:var(--muted-foreground);-webkit-box-orient:vertical;margin-top:5px;display:-webkit-box;overflow:hidden}body[data-ui=v12] .v12-phone-play-record-actions{padding:0 2px 8px}body[data-ui=v12] :is(.v12-phone-play-record-actions,.v12-phone-play-detail) .v12-capability-actions-only{flex-wrap:wrap;gap:6px!important;margin:0!important;padding:0!important;display:flex!important;position:static!important}body[data-ui=v12] :is(.v12-phone-play-record-actions,.v12-phone-play-detail) .v12-capability-actions-only button,.v12-phone-play-toggle{min-height:36px!important;font:600 12px/1.2 var(--font-system,sans-serif)!important;border-radius:5px!important;padding:6px 10px!important}.v12-phone-play-toggle{color:var(--sw-text-teal);background:var(--sw-surface-deep);border:1px solid #73958c}.v12-phone-play-toggle[aria-pressed=false]{color:var(--muted-foreground);background:var(--sw-surface-deep);border-color:#66675c}.v12-phone-play-empty{color:var(--muted-foreground);font:400 13px/1.5 var(--font-system,sans-serif);margin:12px 0;padding:16px 10px}.v12-phone-play-detail{min-width:0;font:400 13px/1.5 var(--font-system,sans-serif);gap:12px;display:grid}.v12-phone-play-detail>.prose{font:inherit}.v12-phone-play-detail .v12-phone-play-record{width:100%}.v12-phone-play-back{text-align:left;min-height:44px;font:600 12px/1.4 var(--font-system,sans-serif);color:var(--sw-text-gold);border:1px solid #665b3f;border-radius:5px;align-items:center;gap:8px;padding:8px;display:flex}.v12-phone-play-back svg{flex-shrink:0;width:17px}.v12-phone-play-contents>h3{font:600 12px/1.4 var(--font-system,sans-serif);color:var(--sw-text-gold);border-bottom:1px solid #776744;justify-content:space-between;margin:0;padding:8px 2px;display:flex}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-character-content{margin-top:0!important}body[data-ui=v12] .v12-character-page[data-sheet-mode=BUILD]{left:0;right:0;top:calc(var(--sw-visible-top,0px) + var(--sw-sheet-identity-height,54px))!important;height:calc(var(--sw-visible-height,100dvh) - var(--sw-sheet-identity-height,54px))!important;flex-direction:column!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;display:flex!important;position:fixed!important;overflow:hidden!important}body[data-ui=v12] .v12-character-page[data-sheet-mode=BUILD] .v12-character-content{flex-direction:column;flex:1;min-height:0;display:flex;margin:0!important}body[data-ui=v12] .v12-character-page[data-sheet-mode=BUILD] .sheet-build{flex:1!important;height:auto!important;min-height:0!important;max-height:none!important}body[data-ui=v12]:has(.v12-character-page[data-sheet-mode=BUILD]) :is(nav[aria-label=Sheet\ tabs],.v12-bottom-drawer,.v12-site-footer){display:none!important}body[data-ui=v12]:has(.v12-character-page[data-sheet-mode=BUILD]) [data-fab-root]{bottom:calc(65px + env(safe-area-inset-bottom))!important}.v12-phone-play-build{min-height:44px;color:var(--sw-text-gold);background:var(--sw-surface-fill);font:600 12px/1.3 var(--font-system,sans-serif);border:1px solid #b79656;border-radius:7px;padding:8px 13px}body[data-ui=v12] .v12-phone-play-record-open{line-height:1.3}body[data-ui=v12] .v12-phone-play-record-rule{margin-block:4px 0}body[data-ui=v12] .v12-phone-play-record-actions .v12-capability-actions-only{min-height:36px!important}body[data-ui=v12] .v12-phone-play-record-actions :is(button,svg){margin-block:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-phone-play-record-actions .v12-capability-actions-only{margin:0!important}.v12-phone-play-library>div>.v12-phone-play-record .v12-phone-play-record-rule{-webkit-line-clamp:1}body[data-ui=v12] .v12-bottom-drawer-body[data-phone-panel]{max-height:calc(var(--sw-visible-height,100dvh) - var(--sw-sheet-identity-height,54px) - 96px)!important}.v12-phone-source-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px!important;display:grid!important}.v12-phone-source-tabs button{flex-direction:column;justify-content:center;gap:3px;min-height:48px;white-space:normal!important;padding:5px 2px!important;font-size:10px!important;display:flex!important}.v12-phone-source-tabs button svg{width:17px;height:17px}.v12-phone-source-tabs button[aria-pressed=true]{color:var(--sw-text-gold);background:var(--sw-surface-fill);border-color:#cfaa5b;box-shadow:inset 0 1px #fff0bb88,inset 0 -2px #d5b363}.v12-phone-play-record{background:var(--sw-surface-fill);border-radius:4px;margin-bottom:5px;border-left:2px solid #69c7bd!important;padding:9px 10px!important}.v12-phone-play-record[data-piece-kind=heritage]{background:var(--sw-surface-fill);border-left-color:#ebc975!important}.v12-phone-play-record[data-piece-kind=capability]{border-left-color:#dac580!important}.v12-phone-play-record[data-piece-kind=effect],.v12-phone-play-record[data-mirrored]{border-left-color:#eda978!important}.v12-phone-play-row-heading{align-items:center;gap:4px;display:flex}.v12-phone-play-row-heading .v12-phone-play-record-open{flex:1;min-width:0;min-height:34px;padding:2px 0!important}.v12-phone-play-record-title strong{font-size:14px!important;line-height:1.25!important}.v12-phone-play-source{font:10px/1.3 var(--font-sans),sans-serif;color:var(--muted-foreground);overflow-wrap:anywhere;margin:0 0 2px}.v12-phone-play-record-meta{margin:2px 0 3px;line-height:1.35;font-size:10px!important}.v12-phone-play-expand{min-width:40px;min-height:40px;color:var(--sw-text-gold);background:var(--sw-surface-deep);border:1px solid #7e7756;border-radius:5px;justify-content:center;align-items:center;gap:2px;font-size:10px;display:flex}.v12-phone-play-expand svg{width:14px;height:14px}.v12-phone-play-record-rule{-webkit-line-clamp:unset!important;margin:3px 0!important;font-size:13px!important;line-height:1.4!important}.v12-phone-play-record-rule[data-copy-role=mechanical],.v12-phone-play-record-rule[data-copy-role=narrative]{color:var(--sw-text-gold)!important}.v12-phone-play-record-actions{margin-top:4px!important}.v12-phone-play-record-actions button{min-height:32px!important;padding:4px 8px!important;font-size:11px!important}.v12-phone-composition-description{color:var(--sw-text-gold);margin:4px 0;font-size:13px;line-height:1.4}.v12-phone-composition-contents{border:0;margin:4px 0 0;padding:0}.v12-phone-composition-contents>summary{color:var(--sw-text-gold);padding:8px 0;font-size:12px}.v12-phone-composition-contents .v12-phone-composition-row{margin-inline:0!important;padding-inline:6px!important}body[data-ui=v12] .v12-phone-piece-tree{gap:8px;min-width:0;display:grid}body[data-ui=v12] .v12-phone-piece-branch{--piece-metal:var(--lightningcss-light,var(--sw-text-gold))var(--lightningcss-dark,#d7ba79);background:var(--sw-surface-deep);border:1px solid #617771;border-radius:7px;min-width:0;margin:0;padding:0;overflow:hidden;box-shadow:inset 0 1px #f5dda04a}body[data-ui=v12] .v12-phone-piece-branch[data-branch-kind=effect]{--piece-metal:var(--lightningcss-light,var(--sw-text-gold))var(--lightningcss-dark,#e6a77e);border-color:#a67450}body[data-ui=v12] .v12-phone-piece-branch[data-branch-kind=primitive]{--piece-metal:var(--lightningcss-light,var(--sw-text-gold))var(--lightningcss-dark,#82d6ca);border-color:#497a76}body[data-ui=v12] .v12-phone-piece-children{min-width:0;border:0!important;margin:0!important;padding:0!important}body[data-ui=v12] .v12-phone-piece-children>.v12-phone-piece-branch{box-shadow:none;border:0;border-top:1px solid #596761;border-radius:0}body[data-ui=v12] .v12-phone-piece-connection{min-width:0;font:500 10px/1.35 var(--font-system,sans-serif);color:var(--sw-text-gold);background:var(--sw-surface-fill);overflow-wrap:anywhere;border-top:1px solid #c2aa6477;align-items:center;gap:6px;padding:5px 8px;display:flex}body[data-ui=v12] .v12-phone-piece-connection:before{content:"↳";color:var(--sw-text-gold);flex:none}body[data-ui=v12] .v12-phone-piece-connection>span{color:var(--muted-foreground);flex-shrink:0;margin-left:auto;font-size:9px}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record{border:0!important;border-left:2px solid var(--piece-metal,#82d6ca)!important;background:var(--sw-surface-fill)!important;border-radius:0!important;margin:0!important;padding:7px 8px!important;box-shadow:inset 0 1px #e6e6cf20!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-piece-kind=heritage],body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-piece-kind=effect]{background:var(--sw-surface-fill)!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-mirrored]{border-left-color:#e5a574!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-row-heading{gap:4px}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-open{min-height:32px!important;padding:3px 0!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-title{align-items:center;gap:6px}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-title strong{font:600 12px/1.35 var(--font-system,sans-serif)!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-title>svg{width:12px;height:14px}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-expand{background:var(--sw-surface-fill)!important;min-width:34px!important;min-height:34px!important;padding:2px!important;font-size:9px!important}body[data-ui=v12] .v12-phone-play-facts{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:3px 6px;display:flex}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-meta{font:500 9px/1.35 var(--font-system,sans-serif)!important;margin:0!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-rule{display:block;overflow:visible;font:400 12px/1.45 var(--font-system,sans-serif)!important;margin:5px 0 1px!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-phone-play-record-actions,body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-actions{min-height:0!important;margin:0!important;padding:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-phone-play-record-actions .v12-capability-actions-only{gap:5px!important;min-height:0!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-phone-play-record-actions button,body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-actions button{width:auto!important;min-width:0!important;height:30px!important;min-height:30px!important;font:600 10px/1.2 var(--font-system,sans-serif)!important;letter-spacing:0!important;border-radius:5px!important;gap:4px!important;padding:3px 7px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-actions svg{width:11px!important;height:11px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-source{font:500 9px/1.35 var(--font-system,sans-serif)!important;margin:0 0 3px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-toggle{justify-content:center;align-items:center;display:inline-flex;background:linear-gradient(130deg,#287c74,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#164641) 62%,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#0d2829))!important;color:var(--sw-text-teal)!important;border:1px solid #86cabf!important;box-shadow:inset 0 1px #edfffca0!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-toggle[aria-pressed=false]{background:var(--sw-surface-fill)!important;color:var(--sw-text-gold)!important;border-color:#b39862!important}}
.v12-phone-consequences-label{display:none}@media (max-width:767px){body[data-ui=v12] .v12-consequences-edge-launcher{top:calc(var(--sw-visible-top,0px) + 45dvh);z-index:29;width:32px;min-height:44px;color:var(--sw-text-gold);background:var(--sw-surface-fill) padding-box,linear-gradient(135deg,#fff0b6,#ba8735 36%,#bbded5 65%,#348f87) border-box;border:1px solid #0000;border-right:0;border-radius:8px 0 0 8px;justify-content:center;align-items:center;gap:0;padding:5px 4px;box-shadow:inset 0 1px #ffffff30,0 3px 12px #0006;display:flex!important}.v12-phone-consequences-label{display:none}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices{padding:6px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices>.grid{gap:4px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices [role=button]{border-width:1px!important;padding:5px 7px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices [role=button]>p{font:600 10px/1.3 var(--font-system)!important;margin:0 0 2px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices ul{gap:0 8px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices li{min-height:0!important;padding:0!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices li>button{gap:4px!important;min-height:36px!important;padding:4px 0!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices li>button>span{font:500 12px/1.3 var(--font-system)!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-practices li>button>span:last-child{font-weight:700!important}body[data-ui=v12] .v12-formula-backdrop{top:var(--sw-visible-top,0px)!important;height:var(--sw-visible-height,100dvh)!important;padding:0!important;bottom:auto!important}body[data-ui=v12] .v12-formula-backdrop>.v12-instrument-dialog{border-radius:0!important;height:100%!important;min-height:0!important;max-height:100%!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head{min-height:48px!important;padding:7px 10px!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head h2{font:600 16px/1.3 var(--font-system)!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head .v12-modal-kicker{display:none!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-calculation-body,.v12-formula-body){flex-direction:column!important;align-items:stretch!important;gap:6px!important;padding:7px!important;display:flex!important;overflow-y:auto!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-calculation-body,.v12-formula-body)>*{flex:none!important;grid-area:auto!important;height:auto!important;min-height:min-content!important;margin:0!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-calculation-body,.v12-formula-body)>section{border-left-width:2px!important;padding:8px!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-calculation-body,.v12-formula-body) :is(p,li){font-size:12px!important;line-height:1.4!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board{flex-wrap:wrap!important;gap:3px!important;height:auto!important;display:flex!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board>div{flex:90px!important;gap:4px!important;min-height:52px!important;padding:6px!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board span{font-size:9px!important;line-height:1.3!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board strong{font-size:18px!important;line-height:1.2!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board .is-result{flex-direction:row!important;flex-basis:100%!important;justify-content:space-between!important;align-items:center!important;min-height:34px!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-contribution-row,.v12-condition-contribution,.v12-formula-ledger-row){gap:4px!important;height:auto!important;padding:6px 8px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-name{font-size:13px!important;line-height:1.3!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement{flex-wrap:wrap!important;align-items:baseline!important;gap:4px 7px!important;min-width:0!important;height:auto!important;padding:5px 7px!important;display:flex!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement>span{font-size:9px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement>strong{font-size:19px!important;line-height:1.2!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement>:is(small,em){overflow-wrap:anywhere;white-space:normal!important;font-size:12px!important;line-height:1.4!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement>em{flex-basis:100%}body[data-ui=v12] .v12-calculation-instrument .v12-phone-practice-reference{order:5!important;padding:0!important}body[data-ui=v12] .v12-calculation-instrument .v12-phone-practice-reference>summary{min-height:36px!important;padding:8px!important;font-size:12px!important}body[data-ui=v12] .v12-calculation-instrument [data-phone-empty=true]{display:none!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-calculation-body,.v12-formula-body) :is(p,li){font-family:var(--font-system)!important}body[data-ui=v12] .v12-phone-dock-launcher{background:var(--sw-surface-fill) padding-box,linear-gradient(100deg,#a47734,#fff0b5 24%,#5eb6aa 72%,#d3dede) border-box;border-top:1px solid #0000;grid-template-columns:minmax(56px,.95fr) minmax(0,4fr);gap:0;min-height:60px;padding:0 4px;display:grid}body[data-ui=v12] .v12-phone-dock-launcher>button{min-width:0;min-height:58px;box-shadow:none;color:var(--sw-text-gold);background:0 0;border:0;border-radius:0;padding:4px 2px}body[data-ui=v12] .v12-phone-dock-launcher>.v12-phone-dock-vitality{border-right:1px solid #b7c8bf26;flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex}body[data-ui=v12] .v12-phone-dock-vitality>svg{width:14px;height:14px;color:var(--v12-rose)}body[data-ui=v12] .v12-phone-dock-vitality>strong{font:700 12px/1.2 var(--font-system);font-variant-numeric:tabular-nums;white-space:nowrap}body[data-ui=v12] .v12-phone-dock-vitality>strong>span{color:var(--muted-foreground);font-size:10px;font-weight:400}body[data-ui=v12] .v12-phone-dock-launcher>.v12-phone-dock-numbers{grid-template-columns:repeat(6,minmax(0,1fr)) 14px;align-items:center;gap:1px;padding-left:3px;display:grid}body[data-ui=v12] .v12-phone-dock-stat{flex-direction:column;justify-content:flex-start;align-self:stretch;align-items:center;gap:2px;min-width:0;padding:2px 0;display:flex}body[data-ui=v12] .v12-phone-dock-stat>small{font:600 9px/1.15 var(--font-system);color:var(--muted-foreground);letter-spacing:0}body[data-ui=v12] .v12-phone-dock-stat>strong{font:700 13px/1.15 var(--font-system);font-variant-numeric:tabular-nums}body[data-ui=v12] .v12-phone-dock-save{font:500 10px/1.15 var(--font-system);color:var(--sw-text-teal);white-space:nowrap;font-variant-numeric:tabular-nums}body[data-ui=v12] .v12-phone-dock-derived>strong{color:var(--sw-text-teal)}body[data-ui=v12] .v12-phone-dock-numbers>svg{width:14px;height:14px;color:var(--sw-text-gold)}body[data-ui=v12] .v12-calculation-instrument :is(h3,h4){font:600 11px/1.4 var(--font-system)!important;letter-spacing:.04em!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-formula-section-head,.v12-calculation-section-head,.v12-contribution-via,.v12-roll-limits),body[data-ui=v12] .v12-calculation-instrument :is(summary,label){font-size:11px!important;line-height:1.4!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head h2{font-size:14px!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-head p{font-size:11px!important;line-height:1.35!important}body[data-ui=v12] .v12-field-guide-body :is(h3,h4,summary,label){font-size:11px!important;line-height:1.4!important}body[data-ui=v12] .v12-field-guide-body :is(p,li){font-size:12px!important;line-height:1.4!important}}
@media (max-width:767px){body[data-ui=v12] .v12-mobile-workbench-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:4px 0}body[data-ui=v12] .v12-mobile-workbench-actions button{gap:4px;min-height:42px;padding:4px;font-size:11px}body[data-ui=v12] .v12-atelier-stage{padding:0 4px 60px;overflow:hidden}body[data-ui=v12] .phone-atelier-pane{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;overflow:auto}body[data-ui=v12] .phone-atelier-pane[hidden]{display:none!important}body[data-ui=v12] .phone-atelier-divider{border-block:1px solid var(--v12-gold);background:var(--v12-inset);flex:none;justify-content:center;align-items:center;height:24px;display:flex}body[data-ui=v12] .phone-atelier-divider span{background:var(--v12-gold);border-radius:8px;width:40px;height:4px}body[data-ui=v12] .v12-unified-source-browser{flex-direction:column;height:100%;min-height:0;display:flex}body[data-ui=v12] .v12-unified-source-browser>.v12-source-browser{flex:1;height:auto;min-height:0}body[data-ui=v12] .v12-source-browser-picker{flex:none;padding:4px}body[data-ui=v12] .v12-source-browser-choices{gap:3px}body[data-ui=v12] .v12-source-browser-choices button{min-height:36px;padding:5px 8px;font-size:12px}body[data-ui=v12] .v12-source-search{padding:5px!important}body[data-ui=v12] .v12-source-tabs{gap:1px;margin-top:4px}body[data-ui=v12] .v12-source-tabs button{min-height:36px;padding:5px 8px;font-size:12px}body[data-ui=v12] .v12-source-split{gap:4px;padding:0 5px 6px;flex-direction:column!important;display:flex!important}body[data-ui=v12] .v12-source-families{flex:none;max-height:35%;overflow:auto}body[data-ui=v12] .v12-source-entries{flex-direction:column;flex:1;min-height:0;display:flex}body[data-ui=v12] .v12-source-pane-head{min-height:32px;padding:3px 6px}body[data-ui=v12] .v12-source-pane-head .v12-kicker{letter-spacing:.05em;font-size:10px}body[data-ui=v12] .v12-source-pane-head button{min-width:40px;min-height:32px}body[data-ui=v12] .v12-source-pane-scroll{min-height:0;overflow:auto}body[data-ui=v12] .v12-source-family-list{max-height:180px}body[data-ui=v12] .v12-source-family{min-height:36px;padding:4px 7px;font-size:12px}body[data-ui=v12] .v12-source-results-head{margin:0;padding:5px 0}body[data-ui=v12] .v12-source-results-head .v12-kicker{font-size:9px}body[data-ui=v12] .v12-source-entries>.v12-source-pane-head{display:none}body[data-ui=v12] .v12-source-entries :is(.v12-origin-tabs,.v12-tier-tabs){gap:3px;margin:0;padding:2px 0}body[data-ui=v12] .v12-source-entries :is(.v12-origin-tabs,.v12-tier-tabs) button{min-height:32px;padding:4px 7px;font-size:11px}body[data-ui=v12] .v12-library-browser .v12-market-hero{min-height:0;padding:6px}body[data-ui=v12] .v12-library-browser .v12-market-hero p{display:none}body[data-ui=v12] .v12-library-browser .v12-market-hero h2{margin:0;font-size:16px}body[data-ui=v12] .v12-library-browser .v12-results-heading h3{display:none}body[data-ui=v12] .v12-library-browser .v12-results-heading{margin:5px 0}body[data-ui=v12] .v12-library-rail-column{min-height:0}body[data-ui=v12] .v12-library-rail-column>.v12-column-toggle{display:none}body[data-ui=v12] .v12-mobile-family-tabs button{min-height:36px;padding:5px 8px;font-size:12px}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) :is(form,.v12-instrument,.v12-rule-panel,.v12-author-chapters,.v12-author-chapter,.v12-rule-builder){box-sizing:border-box;min-width:0;max-width:100%}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) form{width:100%;margin:0!important}body[data-ui=v12] .v12-primitive-author{flex-direction:column;display:flex!important}body[data-ui=v12] .v12-primitive-identity-head{flex-wrap:wrap;margin:0!important;padding:7px!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) :is(input,select,textarea){min-width:0;max-width:100%;font-size:16px}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) :is(fieldset,.grid){min-width:0}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) .grid-cols-3{grid-template-columns:minmax(0,1fr)}body[data-ui=v12] .v12-rule-key-builder{width:100%;min-width:0}body[data-ui=v12] .v12-authoring-guide{margin:0}body[data-ui=v12] .v12-secondary-build>header{flex-wrap:wrap;gap:8px;padding:8px}body[data-ui=v12] .v12-secondary-build>header h2{font-size:18px}body[data-ui=v12] .phone-library-family-picker{display:block}body[data-ui=v12] .phone-library-family-picker select{width:100%;min-height:40px;padding:5px 9px;font-size:16px}body[data-ui=v12] .v12-family-panel .v12-family-actions{margin:4px 0}body[data-ui=v12] .v12-family-panel .v12-tier-ladder{max-height:35dvh;overflow:auto}body[data-ui=v12] .v12-primitive-author .v12-author-chapter:not([hidden]){flex-direction:column;gap:10px;display:flex}body[data-ui=v12] .v12-primitive-author .v12-author-chapter>*{width:100%;min-width:0}body[data-ui=v12] .v12-primitive-author .v12-author-chapter .grid-cols-3{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);gap:6px}body[data-ui=v12] .v12-primitive-author .v12-author-chapter .grid-cols-3 label{font-size:11px}body[data-ui=v12] .v12-primitive-author .v12-author-chapter .grid-cols-3 :is(select,input){padding-inline:5px}body[data-ui=v12] .v12-primitive-author .v12-author-chapter>.v12-primitive-core{display:none!important}body[data-ui=v12] [data-drawer-build] .v12-form-actions,body[data-ui=v12] [data-drawer-build] .v12-primitive-identity-head>div:last-child{display:none}body[data-ui=v12] .phone-atelier-editor-actions{justify-content:flex-end;gap:5px;padding:4px;display:flex}body[data-ui=v12] .phone-atelier-editor-actions button{min-height:36px;font-size:12px}}.phone-library-quick-filter{display:none}@media (max-width:767px){body[data-ui=v12] .phone-library-quick-filter{width:100%;min-height:34px;font:600 12px var(--font-system);color:var(--v12-gold-hi);border-block:1px solid var(--v12-gold);justify-content:space-between;align-items:center;margin-bottom:5px;padding:4px 7px;display:flex}body[data-ui=v12] .v12-browse-controls:not(.phone-filters-open){display:none}body[data-ui=v12] .v12-library-browser .v12-family-panel:not(:has(.v12-family-actions)){display:none}body[data-ui=v12] .v12-library-title{min-height:0;margin:0;padding:4px 6px}body[data-ui=v12] .v12-library-title h1{margin:0;font-size:19px}body[data-ui=v12] .v12-library-title>p{display:none}body[data-ui=v12] .v12-library-page{padding-top:4px}body[data-ui=v12] .v12-library-rail-column .v12-section-head{padding:4px 0}body[data-ui=v12] [data-drawer-build] button[data-sandbox-submit],body[data-ui=v12] [data-drawer-build] form button[data-drawer-reset]{display:none}body[data-ui=v12] .v12-source-browser-choices{flex-wrap:nowrap;display:flex!important}body[data-ui=v12] .v12-source-browser-choices button{flex:none}body[data-ui=v12] .v12-source-browser-choices button b{letter-spacing:0;font-size:11px}body[data-ui=v12] .v12-primitive-identity-head{flex-wrap:nowrap;gap:5px}body[data-ui=v12] .v12-primitive-identity-head .v12-kicker{letter-spacing:.06em;font-size:10px}body[data-ui=v12] .v12-authoring-guide summary{gap:6px;padding:7px;font-size:12px}body[data-ui=v12] .v12-authoring-guide summary small{font-size:9px}body[data-ui=v12] .v12-secondary-build>header .v12-kicker{letter-spacing:.08em;font-size:9px}body[data-ui=v12] .v12-secondary-build>header{margin:0}body[data-ui=v12] .v12-secondary-build>form>.v12-section-head{min-height:0;margin:0;padding:5px}body[data-ui=v12] .v12-library-title .v12-kicker{display:none}body[data-ui=v12] :is(.v12-source-browser-picker,.v12-source-tabs,.v12-source-families),body[data-ui=v12] .v12-source-entries :is(.v12-origin-tabs,.v12-tier-tabs){display:none!important}body[data-ui=v12] .v12-source-results-head{min-height:22px;font-size:11px}body[data-ui=v12] .v12-source-results-head .v12-kicker{letter-spacing:0;font-size:9px}body[data-ui=v12] .v12-library-page>.v12-library-heading{display:none}body[data-ui=v12] .v12-library-browser :is(.v12-library-rail-column,.v12-family-panel,.phone-library-quick-filter,.v12-browse-controls){display:none!important}body[data-ui=v12] .v12-library-search{padding:5px 0}body[data-ui=v12] .v12-library-results{padding:0}body[data-ui=v12] .v12-library-workbench{height:auto;max-height:none;overflow:visible}body[data-ui=v12] .phone-library-filters{gap:12px;padding:8px 0;display:grid}body[data-ui=v12] .phone-library-filters label{font:600 13px/1.3 var(--font-system);gap:5px;min-width:0;display:grid}body[data-ui=v12] .phone-library-filters select{width:100%;min-width:0;min-height:44px;font-size:16px}body[data-ui=v12] .phone-filter-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}body[data-ui=v12] .phone-advanced-toolbar{border-top:1px solid var(--v12-line-subtle);margin-top:12px}body[data-ui=v12] .phone-advanced-toolbar>summary{min-height:44px;padding:12px 0}body[data-ui=v12] .phone-library-rule{-webkit-line-clamp:2;font:400 14px/1.4 var(--font-body);-webkit-box-orient:vertical;margin:5px 0 0;display:-webkit-box;overflow:hidden}body[data-ui=v12] .v12-source-browser .sheet-library-entry{padding:10px 4px}body[data-ui=v12] .phone-piece-details>summary{font:600 12px var(--font-system);min-height:40px;color:var(--v12-gold-hi);padding:10px 0}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build) .v12-form-chapter{display:none}body[data-ui=v12] .v12-secondary-build>header{background:0 0;border:0;align-items:center;margin-bottom:4px;padding:4px 0;display:flex}body[data-ui=v12] .v12-secondary-build>header .v12-kicker{display:none}body[data-ui=v12] .v12-secondary-build>header h2{font-size:14px}body[data-ui=v12] :is(.v12-capability-author,.v12-effect-author,.v12-heritage-author,.v12-item-author)>.v12-section-head{display:none}body[data-ui=v12] .v12-authoring-guide{order:3}body[data-ui=v12] .v12-author-chapters{flex-direction:column;display:flex}body[data-ui=v12] .v12-author-tabs{order:0}body[data-ui=v12] .v12-author-chapter{order:1}body[data-ui=v12] .v12-authoring-guide{margin-top:12px}body[data-ui=v12] .v12-dedicated-slots>header,body[data-ui=v12] .v12-capability-effects>div:first-child p{display:none}body[data-ui=v12] .phone-reference-slot{text-align:left;border:1px solid var(--v12-gold);background:var(--v12-inset);border-radius:6px;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;min-height:80px;padding:9px;display:flex}body[data-ui=v12] .phone-reference-slot span{font:600 10px/1.3 var(--font-system);text-transform:uppercase;letter-spacing:.07em;color:var(--v12-gold-hi)}body[data-ui=v12] .phone-reference-slot strong{font:600 14px/1.3 var(--font-system);overflow-wrap:anywhere}body[data-ui=v12] .phone-reference-slot small{font:400 11px/1.3 var(--font-system);color:var(--v12-muted)}body[data-ui=v12] .phone-slot-editor{gap:20px;display:grid}body[data-ui=v12] .phone-slot-editor label{gap:8px;display:grid}body[data-ui=v12] .phone-slot-editor :is(input,select){width:100%;min-width:0;min-height:44px;font-size:16px}body[data-ui=v12] .phone-slot-editor>button{min-height:44px}body[data-ui=v12] .phone-library-record{border:0;border-bottom:1px solid var(--v12-line-subtle);border-radius:0;grid-template-columns:26px minmax(0,1fr);gap:8px;min-height:80px;padding:10px 5px;display:grid}body[data-ui=v12] .phone-library-record .sheet-library-entry-copy{min-width:0}body[data-ui=v12] .phone-library-record .sheet-library-entry-heading{justify-content:space-between;align-items:start;gap:6px;display:flex}body[data-ui=v12] .phone-library-record h3{font:600 15px/1.3 var(--font-system);overflow-wrap:anywhere;margin:0}body[data-ui=v12] .phone-library-record .sheet-library-entry-cost{font:600 12px var(--font-system);color:var(--v12-gold-hi);flex:none}body[data-ui=v12] .phone-library-record .sheet-library-entry-meta{font:600 10px var(--font-system);text-transform:uppercase;color:var(--v12-teal);margin-top:3px;display:block}body[data-ui=v12] .phone-library-record .sheet-library-entry-description{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;display:-webkit-box;overflow:hidden}body[data-ui=v12] .phone-table-axis{border-bottom:1px solid var(--v12-line-subtle);padding:0 5px 5px}body[data-ui=v12] .phone-table-axis summary{min-height:44px;font:500 13px/1.3 var(--font-system);justify-content:space-between;gap:8px;padding:12px 0;display:flex}body[data-ui=v12] .phone-table-axis summary strong{color:var(--v12-gold-hi);font-weight:600}body[data-ui=v12] .phone-table-axis :is(input,select){width:100%;min-height:44px;margin-top:5px;font-size:16px}body[data-ui=v12] .v12-table-builder{grid-template-columns:minmax(0,1fr)}body[data-ui=v12] .v12-table-optional+p{font-size:12px;line-height:1.45}body[data-ui=v12] .v12-source-results-head{height:24px;min-height:24px!important;margin:0!important;padding:2px 0!important}body[data-ui=v12] .phone-library-record .sheet-library-entry-meta{font-family:var(--font-system)!important;font-size:10px!important;line-height:1.3!important}body[data-ui=v12] .phone-library-rule{font-family:var(--font-system)!important;font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .phone-library-record h3{font-size:14px!important}body[data-ui=v12] :is(.v12-capability-author-head,.v12-effect-author-head,.v12-heritage-author-head,.v12-item-author-head){display:none}body[data-ui=v12] .v12-modal-backdrop:has(.phone-slot-editor){z-index:240;align-items:stretch;padding:0}body[data-ui=v12] .v12-modal-backdrop:has(.phone-slot-editor) .v12-instrument-dialog{border-radius:0;height:100dvh;max-height:100dvh}body[data-ui=v12] .phone-add-piece{justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;margin-bottom:6px;display:flex}body[data-ui=v12] .v12-modal-backdrop:has(.phone-piece-picker){z-index:240;align-items:stretch;padding:0}body[data-ui=v12] .v12-modal-backdrop:has(.phone-piece-picker) .v12-instrument-dialog{border-radius:0;height:100dvh;max-height:100dvh}body[data-ui=v12] .phone-picker-search{align-items:center;gap:8px;display:flex}body[data-ui=v12] .phone-picker-search input{width:100%;min-width:0;min-height:44px;font-size:16px}body[data-ui=v12] .phone-picker-kind{align-items:center;gap:10px;margin:8px 0;font-size:12px;display:flex}body[data-ui=v12] .phone-picker-kind select{flex:1;min-width:0;min-height:40px;font-size:16px}body[data-ui=v12] .phone-picker-count{margin:8px 0;font-size:11px}body[data-ui=v12] .phone-picker-results>button{text-align:left;border-bottom:1px solid var(--v12-line-subtle);justify-content:space-between;align-items:center;gap:10px;width:100%;padding:12px 0;display:flex}body[data-ui=v12] .phone-picker-results>button>span{min-width:0}body[data-ui=v12] .phone-picker-results strong{font:600 15px/1.3 var(--font-system)}body[data-ui=v12] .phone-picker-results small{color:var(--v12-gold-hi);font-size:11px;display:block}body[data-ui=v12] .phone-picker-results p{-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:5px 0 0;font-size:13px;line-height:1.4;display:-webkit-box;overflow:hidden}body[data-ui=v12] .phone-picker-results svg{flex:none}body[data-ui=v12] .v12-atelier-stage{padding:0;overflow:hidden}body[data-ui=v12] .v12-mobile-atelier{flex:1;height:auto;min-height:0;overflow:hidden}body[data-ui=v12] .phone-atelier-panes,body[data-ui=v12] .phone-atelier-library{overflow:hidden}body[data-ui=v12] .phone-atelier-editor,body[data-ui=v12] .phone-atelier-preview{padding:8px 10px 16px;scroll-padding-block:8px}body[data-ui=v12] .phone-atelier-context{border-bottom:1px solid var(--v12-line-subtle);background:var(--v12-inset);height:44px;font:600 12px var(--font-system);flex:none;align-items:center;gap:8px;padding:0 8px;display:flex}body[data-ui=v12] .phone-atelier-context>strong{text-align:center;flex:1;min-width:0}body[data-ui=v12] .phone-atelier-context>button{min-height:44px;color:var(--v12-gold-hi);align-items:center;gap:3px;padding:0 3px;display:flex}body[data-ui=v12] .phone-atelier-navigation.v12-mobile-workbench-actions{padding:3px 0 max(3px,env(safe-area-inset-bottom));border:0;border-top:1px solid var(--v12-gold);background:var(--v12-inset);flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-height:55px;display:grid}body[data-ui=v12] .phone-atelier-navigation.v12-mobile-workbench-actions>button{min-height:48px;font:600 11px/1.2 var(--font-system);color:var(--v12-muted);box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:center;gap:3px;display:flex}body[data-ui=v12] .phone-atelier-navigation.v12-mobile-workbench-actions>button[aria-pressed=true]{color:var(--v12-gold-hi);background:linear-gradient(180deg,color-mix(in srgb,var(--v12-gold) 12%,transparent),transparent);box-shadow:inset 0 2px var(--v12-gold-hi)}body[data-ui=v12] .v12-unified-source-browser{height:100%;overflow:hidden}body[data-ui=v12] .v12-unified-source-browser>.v12-source-browser{flex:1;min-height:0;overflow:hidden;height:auto!important;padding:0!important}body[data-ui=v12] .v12-source-split{flex:1;gap:0;min-height:0;overflow:hidden;padding:0 8px!important}body[data-ui=v12] .v12-source-entries{flex:1;overflow:hidden}body[data-ui=v12] .v12-source-entries>.v12-source-pane-scroll{flex:1;min-height:0;padding:0 0 12px}body[data-ui=v12] .v12-source-search{flex:none;padding:6px 8px!important}body[data-ui=v12] .v12-library-page{flex-direction:column;flex:1;width:100%;max-width:none;min-height:0;display:flex;overflow:hidden;padding:0 8px!important}body[data-ui=v12] .v12-library-page>.v12-library-submodes{display:none}body[data-ui=v12] .phone-library-stage{flex:1;margin:0;display:flex;overflow:hidden;height:auto!important;min-height:0!important}body[data-ui=v12] .v12-library-browser{flex:1;min-height:0;overflow:hidden;height:100%!important}body[data-ui=v12] .v12-library-search{background:0 0;border:0;border-radius:0;flex:none;margin:0;padding:6px 0}body[data-ui=v12] .v12-library-workbench{height:auto;min-height:0;max-height:none;overflow:hidden;flex:1!important;align-items:stretch!important;display:flex!important}body[data-ui=v12] .v12-library-results{overscroll-behavior:contain;flex:1;min-height:0;padding:0 0 16px;overflow:auto;height:auto!important;max-height:none!important}body[data-ui=v12] .v12-library-results>.v12-results-heading{z-index:2;background:var(--v12-inset);min-height:28px;margin:0;padding:5px 2px;position:sticky;top:0}body[data-ui=v12] .v12-library-results>.v12-results-heading .v12-kicker{letter-spacing:.05em;font-size:10px}body[data-ui=v12] .v12-library-results>.v12-results-heading>span{font-size:11px}body[data-ui=v12] .phone-library-record{min-height:72px;padding:9px 2px}body[data-ui=v12] .phone-browse-scope{grid-template-columns:1fr 1fr;gap:6px;margin-top:5px;display:grid}body[data-ui=v12] .phone-browse-scope>label{min-width:0;font-size:0}body[data-ui=v12] .phone-browse-scope>label>span{display:none}body[data-ui=v12] :is(.phone-browse-scope,.phone-browse-type) select{border:0;border-bottom:1px solid var(--v12-line-subtle);background:var(--v12-inset);width:100%;min-width:0;min-height:36px;color:var(--v12-gold-hi);font:600 14px var(--font-system);border-radius:0;padding:4px 5px}body[data-ui=v12] .phone-browse-type{min-width:0;max-width:calc(100% - 75px)}body[data-ui=v12] .v12-library-results>.v12-results-heading:has(.phone-browse-type){align-items:center;min-height:40px;padding:0 2px 4px}body[data-ui=v12] .phone-type-choices{scrollbar-width:none;gap:5px;min-width:0;max-width:100%;padding:2px 0 4px;display:flex;overflow-x:auto}body[data-ui=v12] .phone-type-choices button{background:linear-gradient(125deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#1c2a31),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0a1219) 60%,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#24343a));min-height:38px;color:var(--lightningcss-light,var(--foreground))var(--lightningcss-dark,#ddd9cd);font:500 12px/1.2 var(--font-system);white-space:nowrap;border:1px solid #738c8870;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:5px;padding:6px 9px;display:inline-flex;box-shadow:inset 0 1px #e7f9f12a}body[data-ui=v12] .phone-type-choices button[aria-pressed=true]{color:var(--lightningcss-light,var(--sw-text-mechanical))var(--lightningcss-dark,#ffe7aa);background:linear-gradient(115deg,#544526,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#1b262c) 44%,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#394b49) 49%,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#152024) 62%);border-color:#e9c87d;box-shadow:inset 0 1px #fff2be90,inset 0 -2px #d8b55b}body[data-ui=v12] .phone-type-choices button:focus-visible{outline-offset:2px;outline:2px solid #7de0d2}body[data-ui=v12] .phone-browse-scope{flex-direction:column;gap:2px;display:flex}body[data-ui=v12] .phone-browse-scope>.phone-type-choices:first-child button{flex:1}body[data-ui=v12] .phone-library-filters>.phone-type-choices{flex-wrap:wrap;overflow:visible}body[data-ui=v12] .v12-results-heading:has(>.phone-type-choices){display:block}body[data-ui=v12] .v12-results-heading:has(>.phone-type-choices)>span{margin-top:2px;font-size:10px;display:block}body[data-ui=v12] .phone-library-rule[data-copy=mechanical]{color:var(--v12-copper,#f2b183)!important}body[data-ui=v12] .sheet-library-entry-description [data-copy=narrative]{color:var(--v12-text,#e9e6dd)!important}body[data-ui=v12] .phone-atelier-context{border-image:linear-gradient(100deg,#b08334,#f4df9a,#68b9b0,#b08334) 1;gap:8px;min-height:38px}body[data-ui=v12] .phone-atelier-context strong{font-size:12px}body[data-ui=v12] .phone-atelier-context button{background:linear-gradient(120deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#28373c),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#10191e) 65%,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#344440));border:1px solid #9ab7b45a;border-radius:7px;min-height:34px;padding:5px 7px;font-size:11px}body[data-ui=v12] .phone-atelier-pane h2{font-size:17px!important;line-height:1.2!important}body[data-ui=v12] .phone-atelier-pane h3{font-size:14px!important;line-height:1.25!important}body[data-ui=v12] .capability-desktop-identity{display:none!important}body[data-ui=v12] .v12-library-page{flex:none;min-height:100%;display:block;overflow:visible;padding:8px!important}body[data-ui=v12] .v12-library-page>.v12-library-heading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}body[data-ui=v12] .v12-library-heading .v12-library-title{display:none}body[data-ui=v12] .v12-library-heading>.sw-metal-button{min-height:40px;font-size:12px;display:inline-flex}body[data-ui=v12] .v12-library-heading .v12-library-modes{flex-wrap:nowrap;gap:6px;width:100%;padding-bottom:6px;display:flex;overflow-x:auto}body[data-ui=v12] .v12-library-modes>a{white-space:nowrap;flex:none;padding:7px 9px;font-size:12px}body[data-ui=v12] .v12-library-page>.v12-library-submodes{flex-wrap:nowrap;gap:5px;margin:4px 0;display:flex;overflow-x:auto}body[data-ui=v12] .v12-library-submodes>a{white-space:nowrap;flex:none;font-size:12px}body[data-ui=v12] .v12-library-page :is(.phone-library-stage,.v12-library-browser,.v12-library-workbench,.v12-library-results){flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important}body[data-ui=v12] .v12-library-page .v12-library-results>.v12-results-heading{position:static}body[data-ui=v12] .v12-library-page .v12-entry-row[data-preview-trigger=true] :is(.v12-composition-copy,.v12-entry-mechanical,[data-readable-rule],.v12-composition-mechanic,.v12-show-mechanics){color:var(--sw-text-mechanical)!important}body[data-ui=v12] .v12-library-page .v12-entry-row[data-preview-trigger=true] :is(.v12-entry-summary,.v12-entry-description){color:var(--foreground)!important}body[data-ui=v12] .sw-phone-tool-shell>main:has(.v12-library-page){overscroll-behavior-y:contain;overflow-y:auto}body[data-ui=v12] .v12-library-page:not(.monster-catalogue)>.v12-library-heading,body[data-ui=v12] .v12-library-page>.v12-library-submodes,body[data-ui=v12] .v12-library-page .phone-library-quick-filter,body[data-ui=v12] .v12-library-page .v12-browse-controls{display:none!important}body[data-ui=v12] .v12-library-page .v12-library-modes a[href*=type\=MONSTER]{display:none}}
@media (max-width:767px){body[data-ui=v12] .sheet-build{height:calc(var(--sw-visible-height,100dvh) - 54px);border-radius:0;width:100%;min-height:280px}body[data-ui=v12] .sheet-build .sheet-build-top{min-height:44px;padding:4px 8px;display:block}body[data-ui=v12] .sheet-build .sheet-build-top>div:first-child{display:none}body[data-ui=v12] .sheet-build .sheet-top-actions{flex-wrap:nowrap;gap:6px;display:flex}body[data-ui=v12] .sheet-build .sheet-top-actions>[role=status]{flex:1;min-width:0;font-size:10px;line-height:1.25}body[data-ui=v12] .sheet-build .sheet-top-actions .sheet-button{white-space:nowrap;min-height:36px;padding:5px 7px;font-size:10px}body[data-ui=v12] .sheet-build .sheet-top-actions .sheet-button img{width:16px;height:16px}body[data-ui=v12] .sheet-build :is(.sheet-root-nav,.sheet-build-budget,.sheet-preview-toggle){display:none}body[data-ui=v12] .sheet-build .sheet-phone-context{background:var(--sw-surface-fill);border-bottom:1px solid #aa87454d;flex-shrink:0;align-items:center;gap:8px;padding:4px 8px;display:flex}body[data-ui=v12] .sheet-phone-context select{width:46%;min-width:0;height:38px;font:600 16px var(--font-system);background:var(--sw-surface-fill);color:var(--sw-text-gold);border:1px solid #a1884a;border-radius:5px;padding:4px 8px}body[data-ui=v12] .sheet-phone-context>span{font:11px var(--font-system);color:var(--muted-foreground)}body[data-ui=v12] .sheet-phone-context b{color:var(--sw-text-gold)}body[data-ui=v12] .sheet-phone-warning{background:var(--lightningcss-light,color-mix(in srgb,var(--sw-text-gold) 7%,var(--sw-surface)))var(--lightningcss-dark,#402b28);flex-shrink:0;max-height:27dvh;padding:0 8px;overflow:auto}body[data-ui=v12] .sheet-phone-warning summary{min-height:36px;font:600 11px var(--font-system);color:var(--lightningcss-light,var(--sw-text-mechanical))var(--lightningcss-dark,#ffd0af);cursor:pointer;align-items:center;display:flex}body[data-ui=v12] .sheet-phone-warning summary:before{content:"!";text-align:center;border:1px solid #ffd0af;border-radius:50%;width:17px;margin-right:8px}body[data-ui=v12] .sheet-phone-warning p{margin:4px 0;font-size:13px;line-height:1.4}body[data-ui=v12] .sheet-phone-warning .sheet-button{margin-bottom:7px}body[data-ui=v12] .sheet-build .sheet-mobile-nav{flex-shrink:0}body[data-ui=v12] .sheet-build .sheet-mobile-nav button{min-height:40px;padding:6px;font-size:12px;display:block}body[data-ui=v12] .sheet-build .sheet-build-panels{flex:1;min-height:0}body[data-ui=v12] .sheet-build .sheet-draft-footer{flex-wrap:nowrap;min-height:48px;padding:5px 8px;position:static}body[data-ui=v12] .sheet-build .sheet-draft-footer .sheet-button{min-height:38px;padding:6px 9px}body[data-ui=v12] .sheet-build .sheet-draft-footer>div .sheet-button{width:38px}body[data-ui=v12] .sheet-build .sheet-draft-footer>button{margin-left:auto;font-size:11px}body[data-ui=v12] .sheet-build :is(.sheet-find>header,.sheet-find>.sheet-destination:not(label)){display:none}body[data-ui=v12] .sheet-build .sheet-source-tabs{margin:6px 8px}body[data-ui=v12] .sheet-build .sheet-source-tabs button{min-height:36px;padding:5px;font-size:11px}body[data-ui=v12] .sheet-build label.sheet-destination{font:10px var(--font-system);align-items:center;gap:8px;margin:0;padding:4px 8px;display:flex}body[data-ui=v12] .sheet-build label.sheet-destination select{flex:1;min-width:0;height:38px;padding:4px;font-size:16px}body[data-ui=v12] .sheet-build .sheet-build-library{padding:6px 8px}body[data-ui=v12] .sheet-build .sheet-library-status{margin:4px 0;font-size:11px}body[data-ui=v12] .sheet-build .v12-source-pane-head{min-height:36px;padding:4px 0}body[data-ui=v12] .sheet-build .v12-source-pane-head .v12-kicker{letter-spacing:.08em;font-size:9px}body[data-ui=v12] .sheet-build .v12-source-families{border-width:0;margin:0;padding:0}body[data-ui=v12] .sheet-build .v12-source-family-list{max-height:180px;overflow-y:auto}body[data-ui=v12] .sheet-build .v12-source-results-head{min-height:25px;margin:0;padding:5px 0}body[data-ui=v12] .sheet-build .sheet-composition-heading{min-height:40px;padding:6px 8px}body[data-ui=v12] .sheet-build :is(.sheet-section-intro,.sheet-overview){padding:10px}body[data-ui=v12] .sheet-build .sheet-section-intro h2{margin:0;font-size:18px}body[data-ui=v12] .sheet-build .sheet-section-intro p{margin:4px 0;font-size:13px;line-height:1.35}body[data-ui=v12] .sheet-build .sheet-guidance{margin:6px 8px;padding:8px;font-size:12px;line-height:1.35}body[data-ui=v12] .sheet-build .sheet-composition-actions{gap:6px;padding:6px 8px}body[data-ui=v12] .sheet-build .sheet-piece{padding:10px}body[data-ui=v12] .sheet-build .sheet-piece-heading{gap:7px}body[data-ui=v12] .sheet-build .sheet-piece-heading strong{font-size:15px}body[data-ui=v12] .sheet-build .sheet-piece-heading span{font-size:10px}body[data-ui=v12] .sheet-build .sheet-rule{margin:5px 0;font-size:13px;line-height:1.35}body[data-ui=v12] .sheet-build .sheet-row-actions{gap:2px 12px;margin-top:2px}body[data-ui=v12] .sheet-build .sheet-row-actions button{min-height:36px;font-size:11px}body[data-ui=v12] .sheet-modal-workbench>header{flex-wrap:wrap;gap:6px;padding:8px;display:flex}body[data-ui=v12] .sheet-modal-workbench>header h3{display:none}body[data-ui=v12] .sheet-modal-workbench>header p{width:100%;margin:0;font-size:12px}body[data-ui=v12] .sheet-modal-workbench>header label{flex:1;min-width:150px;font-size:11px}body[data-ui=v12] .sheet-modal-workbench>header select{min-height:38px;margin-top:3px;padding:4px 8px;font-size:16px}body[data-ui=v12] .sheet-modal-workbench .sheet-create-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:6px;padding:8px;display:grid}body[data-ui=v12] .sheet-modal-workbench .sheet-create-menu .sheet-button{min-height:42px;padding:6px;font-size:12px}body[data-ui=v12] .procedural-randomizer{gap:10px;padding:10px}body[data-ui=v12] .procedural-randomizer header h2{font-size:20px}body[data-ui=v12] .procedural-randomizer header p{font-size:13px;line-height:1.4}body[data-ui=v12] .procedural-randomizer-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}body[data-ui=v12] .procedural-randomizer-controls :is(fieldset,p,.procedural-reuse){grid-column:1/-1}body[data-ui=v12] .procedural-randomizer-controls label{gap:4px;font-size:11px;line-height:1.3}body[data-ui=v12] .procedural-randomizer-controls :is(input:not([type=checkbox]),select){min-height:40px;padding:5px;font-size:16px}body[data-ui=v12] .procedural-randomizer .discovery-kind-options{gap:4px}body[data-ui=v12] .procedural-randomizer .discovery-kind-options button{min-height:36px;padding:6px;font-size:11px}body[data-ui=v12] .procedural-options{padding:8px}body[data-ui=v12] .procedural-options summary{padding:4px;font-size:13px}body[data-ui=v12] .procedural-results{grid-template-columns:minmax(0,1fr)}body[data-ui=v12] .procedural-results article{padding:10px}body[data-ui=v12] .procedural-card-actions{gap:5px}body[data-ui=v12] .procedural-card-actions button{min-height:36px;margin:0;padding:6px;font-size:11px}body[data-ui=v12] .procedural-edit-actions button{min-height:40px;padding:7px;font-size:11px}body[data-ui=v12] .sheet-build .sheet-composition-heading>.sheet-kicker{display:none}body[data-ui=v12] .sheet-build .sheet-create-menu{gap:7px;padding:10px}body[data-ui=v12] .sheet-build .sheet-create-choice{min-height:58px;padding:10px}body[data-ui=v12] .sheet-build .sheet-create-choice strong{font-size:14px}body[data-ui=v12] .sheet-build .sheet-create-choice small{font-size:11px}body[data-ui=v12] .sheet-build .sheet-roots-grid{grid-template-columns:minmax(0,1fr);gap:6px}body[data-ui=v12] .sheet-build .sheet-root-card{gap:8px;min-height:0;padding:10px}body[data-ui=v12] .sheet-build .sheet-root-card strong{font-size:15px}body[data-ui=v12] .sheet-build .sheet-root-card p{margin:3px 0;font-size:12px;line-height:1.3}body[data-ui=v12] .sheet-build .sheet-root-card .sheet-medallion{width:30px;height:30px}body[data-ui=v12] .sheet-build .sheet-overview h2{font-size:20px}body[data-ui=v12] .sheet-build .sheet-overview>p{font-size:13px;line-height:1.4}body[data-ui=v12] .sw-character-forge__rail nav button{gap:3px;min-height:44px;padding:5px 3px}body[data-ui=v12] .sw-character-forge__step-number{width:19px;height:19px;font-size:10px}body[data-ui=v12] .sw-character-forge__reading{margin-top:0;padding:3px 6px}body[data-ui=v12] .sw-character-forge__reading>.sw-forge-reset{min-height:34px}body[data-ui=v12] .sw-character-forge__header{padding:8px 10px}body[data-ui=v12] .sw-character-forge__header h2{font-size:21px}body[data-ui=v12] .sw-character-forge__content{padding:8px}body[data-ui=v12] .sw-forge-guidance{margin-bottom:8px;padding:8px}body[data-ui=v12] .sw-forge-guidance p{font-size:12px;line-height:1.35}body[data-ui=v12] .sw-forge-stack{gap:10px}body[data-ui=v12] :is(.sw-forge-panel,.sw-forge-heritages,.sw-forge-story-section){padding:10px}body[data-ui=v12] .sheet-build .sheet-recovery{flex-shrink:0;max-height:24dvh;padding:8px;font-size:12px;overflow-y:auto}body[data-ui=v12] .sheet-build :is(.sheet-notice,.sheet-error){flex-shrink:0;max-height:20dvh;padding:7px 9px;font-size:12px;line-height:1.35;overflow-y:auto}body[data-ui=v12] .sheet-build .sheet-notice>button[aria-label]{min-width:36px;min-height:36px}}.sheet-piece-menu>summary{display:none}.sheet-piece-menu{display:contents}@media (max-width:767px){body[data-ui=v12] .sheet-piece-menu{display:block}body[data-ui=v12] .sheet-piece-menu>summary{min-height:36px;font:600 11px var(--font-system);color:var(--work-gold);cursor:pointer;justify-content:flex-end;align-items:center;display:flex}body[data-ui=v12] .sheet-piece-menu>summary:after{content:" ⋯";margin-left:8px;font-size:20px}body[data-ui=v12] .sheet-piece-menu[open] .sheet-row-actions{background:var(--sw-surface-fill);border-top:1px solid #a9965855;padding:6px}body[data-ui=v12] .sheet-select-pieces{margin:3px 10px 7px}body[data-ui=v12] .sheet-build .sheet-piece .sheet-rule{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}body[data-ui=v12] .v12-character-atelier-head[data-phone-editor]{min-height:0;padding:8px}body[data-ui=v12] .v12-character-atelier-head[data-phone-editor]>div>span,body[data-ui=v12] .v12-character-atelier-head[data-phone-editor] p{display:none}body[data-ui=v12] .sheet-phone-add-piece{width:100%;min-height:42px;margin:6px 0}body[data-ui=v12] .sheet-phone-section{background:var(--sw-surface-fill);border:1px solid #8e83554d;border-radius:6px;padding:0!important}body[data-ui=v12] .sheet-phone-section>summary{cursor:pointer;flex-direction:column;justify-content:center;min-height:52px;padding:9px 32px 9px 12px;display:flex;position:relative}body[data-ui=v12] .sheet-phone-section>summary:after{content:"+";color:var(--sw-text-gold);position:absolute;right:12px}body[data-ui=v12] .sheet-phone-section[open]>summary:after{content:"−"}body[data-ui=v12] .sheet-phone-section>summary strong{font:600 14px/1.3 var(--font-system);color:var(--sw-text-gold)}body[data-ui=v12] .sheet-phone-section>summary small{font:11px/1.4 var(--font-system);color:var(--muted-foreground);margin-top:3px}body[data-ui=v12] .sheet-phone-section>div{border-top:1px solid #8e83554d;padding:10px}body[data-ui=v12] .sheet-phone-section>div>.sw-forge-panel__title{display:none}body[data-ui=v12] .sw-character-forge__rail nav[hidden],body[data-ui=v12] .sw-character-forge__header[hidden]{display:none!important}body[data-ui=v12] .sw-phone-step-picker{width:100%;min-height:44px;font:600 13px var(--font-system);color:var(--sw-text-gold);justify-content:space-between;align-items:center;padding:10px;display:flex}body[data-ui=v12] .sw-character-forge__rail nav:not([hidden]){grid-template-columns:1fr;display:grid}body[data-ui=v12] .sw-character-forge__rail nav:not([hidden]) button{text-align:left;gap:10px;display:flex}body[data-ui=v12] .sw-character-forge__reading{border:0}body[data-ui=v12] .sheet-foundation-roots{grid-template-columns:1fr;gap:8px;display:grid}body[data-ui=v12] .v12-composition-studio{padding:8px}body[data-ui=v12] .v12-composition-source-grid{grid-template-columns:1fr;gap:5px;display:grid}body[data-ui=v12] .v12-composition-source-grid article{min-height:48px;padding:8px}}.sheet-root-help,.sw-forge-step-help{display:contents}.sheet-root-help>summary,.sw-forge-step-help>summary{display:none}@media (max-width:767px){body[data-ui=v12] .sheet-composition-heading[hidden]{display:none}body[data-ui=v12] .sheet-root-help,body[data-ui=v12] .sw-forge-step-help{margin:4px 8px;display:block}body[data-ui=v12] .sheet-root-help>summary,body[data-ui=v12] .sw-forge-step-help>summary{color:var(--muted-foreground);cursor:pointer;padding:5px 0;font-size:12px;display:block}body[data-ui=v12] .sheet-build .sheet-composition-actions{gap:5px;margin:4px 8px}body[data-ui=v12] .sheet-build .sheet-select-pieces{min-height:30px;margin:2px 8px;padding:4px 8px;font-size:11px}body[data-ui=v12] .sheet-build .sheet-piece-menu{margin-top:0}body[data-ui=v12] .sheet-build .sheet-piece-menu>summary{min-height:28px;padding:4px 0}body[data-ui=v12] .sw-forge-title-help{margin:2px 0}body[data-ui=v12] .sw-forge-title-help summary{color:var(--muted-foreground);cursor:pointer;font-size:11px}body[data-ui=v12] .sw-forge-identity__basics{gap:8px}body[data-ui=v12] .sw-forge-identity__basics select{width:100%;min-width:0}body[data-ui=v12] .sheet-build .sheet-piece{min-height:84px;padding:8px 10px;position:relative}body[data-ui=v12] .sheet-build .sheet-piece .sheet-rule{margin:4px 0;padding-right:74px}body[data-ui=v12] .sheet-build .sheet-piece>.sheet-piece-menu>summary{min-height:32px;padding:2px 0;position:absolute;top:38px;right:10px}body[data-ui=v12] .sheet-build .sheet-piece>.sheet-piece-menu[open]{margin-top:12px}body[data-ui=v12] .sheet-build .sheet-pieces{margin-top:0}body[data-ui=v12] .v12-character-atelier .phone-add-piece{display:none}body[data-ui=v12] .sw-forge-size-reading{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;padding:6px!important}body[data-ui=v12] .sw-forge-size-reading>span{gap:2px!important;padding:0!important;font-size:13px!important}body[data-ui=v12] .sw-forge-size-reading small{font-size:9px!important}body[data-ui=v12] .sw-forge-foundation__budget{margin-top:8px!important;font-size:12px!important;line-height:1.4!important}body[data-ui=v12] .sheet-build{border-inline:0;border-radius:0;flex:1;min-height:0;overflow:hidden}body[data-ui=v12] .sheet-build :is(.sheet-build-top,.sheet-mobile-nav,.sheet-draft-footer)[hidden]{display:none!important}body[data-ui=v12] .sheet-build .sheet-phone-context{gap:6px;height:48px;min-height:48px;padding:4px 8px}body[data-ui=v12] .sheet-phone-context select{width:auto;height:40px;font:600 16px var(--font-system);background:0 0;border:0;flex:1;padding:4px 0}body[data-ui=v12] .sheet-phone-context>span{flex-direction:column;align-items:center;padding-inline:5px;line-height:1.1;display:flex}body[data-ui=v12] .sheet-phone-context>span b{font-size:16px}body[data-ui=v12] .sheet-phone-context>span small{font:10px/1.4 var(--font-system);white-space:nowrap}body[data-ui=v12] .sheet-phone-tool-button{width:40px;height:40px;font:700 13px var(--font-system);color:var(--sw-text-gold)}body[data-ui=v12] .sheet-phone-play{min-height:40px;font:600 12px var(--font-system);color:var(--sw-text-teal);border-left:1px solid #a9945a55;justify-content:center;align-items:center;gap:3px;padding:4px 8px;display:flex}body[data-ui=v12] .sheet-phone-task-body{flex:1;min-height:0;position:relative;overflow:hidden}body[data-ui=v12] .sheet-phone-task-pane{overscroll-behavior:contain;height:100%;scroll-padding-block:10px;overflow:auto}body[data-ui=v12] .sheet-phone-task-pane[hidden]{display:none!important}body[data-ui=v12] .sheet-phone-task-pane :is(.sheet-find,.sheet-composition,.sheet-result){height:auto;min-height:100%;overflow:visible}body[data-ui=v12] .sheet-phone-task-nav{min-height:55px;padding-bottom:env(safe-area-inset-bottom,0px);background:var(--sw-surface-fill);border-top:1px solid #ba9c61;flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}body[data-ui=v12] .sheet-phone-task-nav button{min-width:0;min-height:54px;font:600 11px/1.2 var(--font-system);color:var(--muted-foreground);flex-direction:column;justify-content:center;align-items:center;gap:3px;display:flex}body[data-ui=v12] .sheet-phone-task-nav button[aria-current=page]{color:var(--sw-metal-gold-ink);background:var(--sw-metal-gold);box-shadow:inset 0 2px #efdaa0}body[data-ui=v12] .sheet-phone-task-nav button:last-child{color:var(--sw-text-teal)}body[data-ui=v12] .sheet-build .sheet-root-help{float:right;margin:4px 8px}body[data-ui=v12] .sheet-build .sheet-root-help>summary{align-items:center;min-height:36px;font-size:11px;display:flex}body[data-ui=v12] .sheet-build .sheet-root-help[open]{float:none}body[data-ui=v12] .sheet-build .sheet-composition-actions{min-height:44px;margin:0 8px;padding:4px 0}body[data-ui=v12] .sheet-build .sheet-pieces{clear:both;border:0;border-radius:0;margin:0}body[data-ui=v12] .sheet-build .sheet-piece{border-inline:0;border-radius:0;padding:9px 10px}body[data-ui=v12] .sheet-build .sheet-piece-heading strong{font:600 14px/1.35 var(--font-system)}body[data-ui=v12] .sheet-build .sheet-composition-heading{min-height:42px;padding:4px 8px}body[data-ui=v12] .sheet-build .sheet-composition-heading nav{white-space:nowrap;flex-wrap:nowrap;max-width:100%;overflow-x:auto}body[data-ui=v12] .sheet-build .sheet-composition-heading nav button{text-overflow:ellipsis;white-space:nowrap;max-width:180px;font-size:12px;overflow:hidden}body[data-ui=v12] .sheet-phone-tools{gap:12px;padding:12px;display:grid}body[data-ui=v12] .sheet-phone-tools p{font:13px/1.45 var(--font-system);margin:0}body[data-ui=v12] .sheet-phone-tools dl{font:13px var(--font-system);gap:8px;display:grid}body[data-ui=v12] .sheet-phone-tools dl>div{justify-content:space-between;display:flex}body[data-ui=v12] .sheet-phone-tools .sheet-button{min-height:44px}body[data-ui=v12] .sheet-phone-task-pane :is(.v12-character-atelier,.v12-character-atelier-stage,.v12-character-atelier-build,.v12-character-atelier-modal-body){border-inline:0;min-width:0;margin:0;padding:0}body[data-ui=v12] .sheet-build .sheet-phone-add-piece{border-inline:0;border-radius:0;min-height:44px;margin:0}body[data-ui=v12] .sheet-build .v12-character-atelier-head[data-phone-editor]{padding:6px 10px}body[data-ui=v12] .sw-character-forge__reading[hidden],body[data-ui=v12] .sw-character-forge__footer-reading[hidden]{display:none!important}body[data-ui=v12] .sw-character-forge{border:0;border-radius:0;flex-direction:column;min-width:0;display:flex}body[data-ui=v12] .sw-character-forge__rail{z-index:12;background:var(--sw-surface-fill);border:0;border-bottom:1px solid #b39a6266;padding:0;position:sticky;top:0}body[data-ui=v12] .sw-phone-step-picker{min-height:44px;padding:8px 12px}body[data-ui=v12] .sw-character-forge__rail-title{display:none}body[data-ui=v12] .sw-character-forge__reading{padding:8px 12px}body[data-ui=v12] .sw-character-forge__workbench{min-width:0}body[data-ui=v12] .sw-character-forge__content{padding:0 10px 14px}body[data-ui=v12] .sw-forge-step-help{margin:0;padding:4px 0}body[data-ui=v12] .sw-forge-stack{gap:12px}body[data-ui=v12] .sw-character-forge__content .sw-forge-panel{box-shadow:none;background:0 0;border:0;border-radius:0;padding:8px 0}body[data-ui=v12] .sw-character-forge__content .sw-forge-panel:before{display:none}body[data-ui=v12] .sw-forge-panel__title{margin:0 0 8px;padding:0 0 8px}body[data-ui=v12] .sw-forge-panel__title h3{font:600 16px/1.3 var(--font-system)}body[data-ui=v12] .sw-character-forge__footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));z-index:13;flex-direction:column;gap:5px;display:flex;position:sticky;bottom:0}body[data-ui=v12] .sw-character-forge__footer-reading{justify-content:space-between;align-items:center;gap:5px;padding:0;display:flex}body[data-ui=v12] .sw-character-forge__footer-reading>span{text-overflow:ellipsis;white-space:nowrap;max-width:50%;font-size:11px;overflow:hidden}body[data-ui=v12] .sw-character-forge__footer-reading>strong{font-size:12px}body[data-ui=v12] .sw-character-forge__footer-reading>small{display:none}body[data-ui=v12] .sw-character-forge__footer-actions{gap:8px;width:100%;display:flex}body[data-ui=v12] .sw-character-forge__footer-actions>button{min-width:0;min-height:44px;padding:7px 10px;font-size:12px}body[data-ui=v12] .sw-character-forge__footer-actions>button:last-child{flex:1}body[data-ui=v12] .v12-character-atelier[data-integrated-sources=true] .v12-character-atelier-head[data-phone-editor]{flex-direction:row;min-height:0;padding:8px 10px;display:block}body[data-ui=v12] .v12-character-atelier[data-integrated-sources=true] .v12-character-atelier-head[data-phone-editor]>div{flex:none;min-height:0}body[data-ui=v12] .v12-character-atelier-head[data-phone-editor]>div>strong{font:600 14px/1.4 var(--font-system);margin:0}body[data-ui=v12] .sheet-entity-switcher{border:0;border-radius:0;margin:0;padding:0 8px}body[data-ui=v12] .sheet-entity-switcher>summary{min-height:36px;font-size:12px}body[data-ui=v12] .sheet-composition-heading>.sheet-kicker,body[data-ui=v12] .sheet-composition-heading>div>.sheet-kicker{display:none}body[data-ui=v12] .v12-character-atelier-head[data-phone-editor][hidden]{display:none!important}body[data-ui=v12] .v12-character-atelier-modal-body>.sheet-entity-switcher{border-top:1px solid #a58d5355;margin-top:12px}body[data-ui=v12] .sheet-phone-workbench-access{background:var(--sw-surface-fill);border-bottom:1px solid #846a3c;flex:none;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:3px 8px;display:flex}body[data-ui=v12] .sheet-phone-workbench-access>span{font:600 10px/1.3 var(--font-system);color:var(--muted-foreground)}body[data-ui=v12] .sheet-phone-workbench-access>button{background:var(--sw-inset-fill) padding-box,linear-gradient(115deg,#fff0ac,#b78a3a 35%,#bdded6 65%,#3c928a) border-box;min-height:34px;color:var(--sw-text-gold);font:600 11px/1.3 var(--font-system);border:1px solid #0000;border-radius:4px;align-items:center;gap:6px;padding:4px 8px;display:flex}body[data-ui=v12] .sheet-build .sheet-composition-actions{gap:5px;padding:5px 8px}body[data-ui=v12] .sheet-build .sheet-composition-actions .sheet-button{min-height:36px;padding:5px 8px;font-size:11px}body[data-ui=v12] .sheet-build .sheet-create-choice{min-height:48px;padding:7px}body[data-ui=v12] .sheet-build .sheet-create-choice strong{font-size:13px}body[data-ui=v12] .sw-character-forge__content{gap:8px!important;padding:8px 10px!important}body[data-ui=v12] .sw-character-forge__content .sw-forge-panel__title{margin-bottom:6px;padding-bottom:6px}body[data-ui=v12] .sw-character-forge__content .sw-forge-panel__title h3{font-size:15px}body[data-ui=v12] .sw-character-forge__content .sw-forge-field{gap:4px!important}body[data-ui=v12] .sw-character-forge__content .sw-forge-field>span{font-size:12px!important}body[data-ui=v12] .sheet-modal-workbench>header>p{font-size:11px;line-height:1.3}body[data-ui=v12] .sheet-phone-task-nav button[aria-current=page] :is(svg,span,strong,small),body[data-ui=v12] .sheet-phone-task-nav button:last-child[aria-current=page],body[data-ui=v12] .sheet-piece.is-selected .sheet-piece-menu>summary{color:var(--sw-metal-gold-ink)}body[data-ui=v12] .sheet-piece.is-selected .sheet-piece-menu[open] .sheet-row-actions{color:var(--foreground)}body[data-ui=v12] .sheet-piece.is-selected .sheet-piece-menu[open] .sheet-row-actions button{color:var(--sw-text-gold)}}
@media (max-width:767px){body[data-ui=v12] .sw-phone-draft-title{font:600 15px/1.3 var(--font-system);color:var(--v12-gold-hi);overflow-wrap:anywhere;margin:0 0 8px;padding:6px 2px}body[data-ui=v12] .v12-entity-preview{padding:4px!important;font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .v12-entity-preview-content{padding:0!important}body[data-ui=v12] .v12-entity-preview :is(p,li){font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .v12-entity-preview [data-preview-section]>h3{font:600 11px/1.3 var(--font-system)!important;letter-spacing:.045em!important;margin:0 0 6px!important}body[data-ui=v12] .v12-entity-preview :is(.v12-composition-node-name,.v12-composed-ledger-name,.sw-phone-composition-row strong){font-size:13px!important;line-height:1.35!important}body[data-ui=v12] .v12-entity-preview :is(.v12-behavior-rule,.v12-behavior-rule strong){font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .v12-entity-preview :is(.v12-kicker,small){font-size:10px!important;line-height:1.3!important}body[data-ui=v12] .v12-instrument-dialog .v12-instrument-dialog-identity h2{font-size:15px!important;line-height:1.3!important}body[data-ui=v12] .v12-build-preview-modal>header h2{font-size:14px!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll,.sw-character-modal-content) :is(h2,h3,h4){font-size:14px!important;line-height:1.35!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll) :is(.v12-kicker,legend,label>span:first-child){font-size:11px!important;line-height:1.35!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll) :is(p,summary){font-size:13px!important;line-height:1.4!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll) :is(.v12-author-tabs,.v12-composer-tabs,.v12-table-tabs) button{font-size:12px!important}body[data-ui=v12] .phone-library-record h3{font-size:13px!important;line-height:1.35!important}body[data-ui=v12] .sheet-build :is(.sheet-section-intro,.sheet-overview) h2{font-size:16px!important;line-height:1.3!important}body[data-ui=v12] .sw-character-forge__header h2{font-size:17px!important;line-height:1.3!important}body[data-ui=v12] .procedural-randomizer header h2{font-size:16px!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-rule-output,.v12-rule-description,.v12-rule-text) :is(p,li){font-size:13px!important;line-height:1.4!important}body[data-ui=v12] .v12-character-page[data-character-surface] :is(.v12-canonical-composite-title,.v12-canonical-primitive-heading) :is(button,strong){font-size:14px!important;line-height:1.3!important}body[data-ui=v12] .v12-character-page .v12-backstory-card-body{font-size:14px!important}body[data-ui=v12] .v12-character-page:not([data-sheet-mode=BUILD]){padding-bottom:calc(136px + env(safe-area-inset-bottom,0px))!important}}
body[data-ui=v12] .phone-rule-format-toggle{display:none}@media (max-width:767px){body[data-ui=v12] .phone-rule-format-toggle{text-align:left;background:linear-gradient(130deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#1c282b),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0a1016)) padding-box,var(--v12-gold-edge) border-box;border:1px solid #0000;border-radius:6px;align-items:center;gap:7px;width:100%;min-height:40px;padding:7px 9px;display:flex}body[data-ui=v12] .phone-rule-format-toggle>span{font:600 10px/1.2 var(--font-system);color:var(--v12-gold-hi)}body[data-ui=v12] .phone-rule-format-toggle>b{min-width:0;font:600 12px/1.3 var(--font-system);color:var(--v12-paper);flex:1}body[data-ui=v12] .v12-primitive-author .v12-rule-kind-picker:not(.phone-formats-open){display:none}body[data-ui=v12] .v12-primitive-author .v12-rule-kind-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:0;display:grid}body[data-ui=v12] .v12-rule-kind-label{display:none}body[data-ui=v12] .v12-primitive-author .v12-rule-kind-picker button{white-space:normal;text-align:left;min-height:36px;padding:5px 7px;font-size:12px}body[data-ui=v12] .v12-mechanical-rule{padding:8px!important}body[data-ui=v12] .v12-mechanical-rule-head h2{font-size:17px!important}body[data-ui=v12] .v12-rule-guidance{margin-block:5px!important;font-size:12px!important;line-height:1.4!important}body[data-ui=v12] .v12-rule-starters{padding:7px 9px}body[data-ui=v12] .v12-rule-starters summary{font-size:12px}body[data-ui=v12] .v12-rule-starters :is(p,button b,button span){font-size:12px;line-height:1.4}body[data-ui=v12] .v12-rule-builder{margin:0!important}body[data-ui=v12] .v12-rule-steps{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;display:grid;overflow:visible}body[data-ui=v12] .v12-rule-steps button{text-align:center;min-height:38px!important;padding:7px 3px!important}body[data-ui=v12] .v12-rule-steps button>span{letter-spacing:0;text-transform:none;font-size:9px}body[data-ui=v12] .v12-rule-steps button>b{display:none}body[data-ui=v12] .v12-rule-sentence{gap:3px;min-height:0;padding:8px;line-height:1.5;font-size:14px!important}body[data-ui=v12] .v12-rule-sentence :is(button,.is-grammar){white-space:normal;overflow-wrap:anywhere;max-width:100%;font-size:14px!important;line-height:1.45!important}body[data-ui=v12] .v12-rule-panel{min-height:0;padding:0!important}body[data-ui=v12] .v12-rule-panel>header{grid-template-columns:1fr;gap:4px;padding:8px}body[data-ui=v12] .v12-rule-panel>header h3{font-size:14px!important}body[data-ui=v12] .v12-rule-panel>header p{font-size:12px!important;line-height:1.35!important}body[data-ui=v12] .v12-rule-panel>header span{display:none}body[data-ui=v12] .v12-rule-family-tabs{flex-wrap:wrap;gap:4px;padding:7px;display:flex;overflow:visible}body[data-ui=v12] .v12-rule-family-tabs button{white-space:normal;flex:auto;min-height:34px!important;padding:5px 7px!important;font-size:11px!important}body[data-ui=v12] .v12-rule-search-row{gap:4px;padding:0 7px 6px}body[data-ui=v12] .v12-rule-search-row small,body[data-ui=v12] .v12-rule-target-panel[data-single-family] .v12-rule-search-row{display:none}body[data-ui=v12] .v12-rule-search-row input{width:100%;height:36px;min-height:36px;font-size:16px}body[data-ui=v12] .v12-rule-target-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:0 7px 7px}body[data-ui=v12] .v12-rule-target-grid article.is-selected{grid-column:1/-1}body[data-ui=v12] .v12-rule-target-grid article:not(.is-selected) :is(.v12-rule-subchoices,.v12-rule-target-name>span){display:none}body[data-ui=v12] .v12-rule-target-name{min-height:38px!important;padding:7px!important}body[data-ui=v12] .v12-rule-target-name b{font-size:12px}body[data-ui=v12] .v12-rule-target-name span{font-size:11px;line-height:1.35}body[data-ui=v12] .v12-rule-subchoices{gap:5px;padding:0 7px 7px}body[data-ui=v12] :is(.v12-rule-subchoices,.v12-rule-chip-row,.v12-rule-formula-library) button{white-space:normal;min-height:34px!important;padding:5px 7px!important;font-size:12px!important}body[data-ui=v12] .v12-rule-custom-key{letter-spacing:0;text-transform:none;gap:5px;padding:2px 7px 9px;font-size:11px;line-height:1.3;grid-template-columns:minmax(0,1fr)!important;display:grid!important}body[data-ui=v12] .v12-rule-custom-key input{width:100%;min-width:0;height:40px;min-height:40px;font-size:16px!important;display:block!important}body[data-ui=v12] :is(.v12-rule-value-body,.v12-rule-value-groups,.v12-rule-condition-stage,.v12-rule-condition-custom){min-width:0;padding:7px}body[data-ui=v12] .v12-rule-builder :is(p,label,small){font-size:12px;line-height:1.4}body[data-ui=v12] :is(.v12-rule-operation-grid,.v12-rule-recipient-grid,.v12-rule-trigger-modes){gap:5px;padding:7px}body[data-ui=v12] :is(.v12-rule-operation-grid,.v12-rule-recipient-grid,.v12-rule-trigger-modes)>button{min-height:38px!important;padding:7px!important}body[data-ui=v12] :is(.v12-rule-operation-grid,.v12-rule-recipient-grid,.v12-rule-trigger-modes)>button b{font-size:12px!important}body[data-ui=v12] :is(.v12-rule-operation-grid,.v12-rule-recipient-grid,.v12-rule-trigger-modes)>button span{line-height:1.3;font-size:11px!important}body[data-ui=v12] .v12-rule-operation-grid>button:not([aria-pressed=true]) span{display:none}body[data-ui=v12] .v12-rule-panel-next{padding:5px 7px 7px}body[data-ui=v12] .v12-rule-panel-next button{min-height:38px!important;font-size:12px!important}body[data-ui=v12] .v12-rule-builder :is(input,select,textarea){min-width:0;max-width:100%;font-size:16px!important}}
@media (max-width:767px){body[data-ui=v12] :is(.v12-rule-builder,.v12-rule-formula-dialog) :is(button,label,small,p){letter-spacing:0!important;font-size:11px!important;line-height:1.4!important}body[data-ui=v12] :is(.v12-rule-builder,.v12-rule-formula-dialog) :is(h3,h4,b,strong){font-size:12px!important;line-height:1.3!important}body[data-ui=v12] .v12-mechanical-rule-head h2{font-size:14px!important}body[data-ui=v12] .v12-rule-builder :is(.v12-rule-custom-key,.v12-rule-custom-key>span){font-size:11px!important}body[data-ui=v12] :is(.v12-rule-chip-row,.v12-rule-formula-library){gap:4px!important}body[data-ui=v12] :is(.v12-rule-chip-row,.v12-rule-formula-library) button{min-height:30px!important;padding:4px 6px!important;font-size:11px!important}body[data-ui=v12] :is(.v12-rule-value-groups,.v12-rule-declared-groups)>section{margin:0!important;padding:5px 0!important}body[data-ui=v12] :is(.v12-rule-value-groups,.v12-rule-declared-groups)>section>b{letter-spacing:.05em!important;font-size:9px!important}body[data-ui=v12] .v12-rule-panel>header{gap:3px!important;padding:6px!important}body[data-ui=v12] .v12-rule-panel>header h3{font-size:12px!important}body[data-ui=v12] .v12-rule-panel>header p,body[data-ui=v12] .v12-rule-target-name :is(b,span){font-size:11px!important}body[data-ui=v12] .v12-rule-stacking{gap:6px!important;margin-top:6px!important;padding:8px!important}body[data-ui=v12] .v12-rule-sentence :is(button,.is-grammar),body[data-ui=v12] .v12-rule-builder input::placeholder{font-size:12px!important}body[data-ui=v12] :is(.v12-build-preview-modal,.v12-instrument-dialog)>header{min-height:44px!important;padding:6px 9px!important}body[data-ui=v12] :is(.v12-build-preview-modal,.v12-instrument-dialog) :is(header h2,.v12-formula-head h2){font-size:13px!important;line-height:1.3!important}body[data-ui=v12] :is(.v12-build-preview-modal,.v12-instrument-dialog)>header>button{width:32px!important;height:32px!important;min-height:32px!important;padding:6px!important}body[data-ui=v12] .v12-build-preview-modal :is([role=tab],.v12-build-drawer-tabs button){letter-spacing:.03em!important;min-height:34px!important;padding:6px 8px!important;font-size:11px!important}body[data-ui=v12] .v12-build-drawer-footer{gap:6px!important;padding:5px 8px!important}body[data-ui=v12] .v12-build-drawer-footer button{min-height:34px!important;padding:5px 10px!important;font-size:11px!important}body[data-ui=v12] .v12-build-drawer-footer span{font-size:9px!important}body[data-ui=v12] .v12-entity-preview :is(p,li,.v12-behavior-rule,.v12-behavior-rule strong){font-size:12px!important;line-height:1.4!important}body[data-ui=v12] .v12-entity-preview :is(h2,h3,h4){font-size:12px!important;line-height:1.3!important}body[data-ui=v12] .v12-entity-preview :is(.v12-kicker,small,.v12-workspace-version,.v12-mirrored-label){font-size:9px!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll,.sw-character-modal-content) :is(h2,h3,h4){font-size:12px!important}body[data-ui=v12] :is(.phone-atelier-editor,.v12-secondary-build,.sw-build-dialog-scroll) :is(label,legend){font-size:11px!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-formula-section-head,.v12-calculation-section-head,.v12-contribution-via,.v12-contribution-via span,h3,h4){letter-spacing:.03em!important;font-size:10px!important;line-height:1.3!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-contribution-name,.v12-contribution-copy p){font-size:11px!important;line-height:1.35!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-via{margin:2px 0!important;font-size:9px!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-contribution-statement>strong,.v12-equation-board strong){font-size:16px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-flags{margin-top:4px!important;padding-top:4px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-flag{padding:2px 5px!important;font-size:8px!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board>div{min-height:40px!important;padding:5px!important}body[data-ui=v12] .v12-calculation-instrument .v12-equation-board span{letter-spacing:.02em!important;font-size:8px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-title strong{font-size:11px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-title img{width:17px!important;height:17px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-open{min-height:28px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-rule{margin-top:4px!important;font-size:11px!important;line-height:1.4!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-actions{flex-shrink:0;align-items:center!important;gap:4px!important;display:flex!important}body[data-ui=v12] .v12-character-page[data-character-surface] .v12-phone-play-record-actions button{border-radius:4px!important;height:28px!important;min-height:28px!important;padding:3px 6px!important;font-size:9px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record-actions .v12-phone-play-expand{min-width:30px!important;color:var(--lightningcss-light,var(--sw-text-mechanical))var(--lightningcss-dark,#f4d991)!important;border:1px solid #c1a56880!important;gap:2px!important;display:inline-flex!important;box-shadow:inset 0 1px #fff5c52b!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-mirrored]{background:linear-gradient(110deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#302938),var(--lightningcss-light,color-mix(in srgb,var(--v12-violet) 12%,var(--sw-surface)))var(--lightningcss-dark,#1d202c) 62%,var(--lightningcss-light,color-mix(in srgb,var(--v12-violet) 12%,var(--sw-surface)))var(--lightningcss-dark,#141c25))!important;border-left:2px solid #b79aca!important;box-shadow:inset 0 1px #c9b1df30,inset 0 -1px #b498cc22!important}body[data-ui=v12] .v12-phone-mirrored-badge{background:var(--lightningcss-light,color-mix(in srgb,var(--v12-violet) 12%,var(--sw-surface)))var(--lightningcss-dark,#3b2d49);color:var(--lightningcss-light,var(--v12-violet))var(--lightningcss-dark,#e0c8f4);font:700 8px/1.2 var(--font-system);letter-spacing:.04em;text-transform:uppercase;vertical-align:middle;border:1px solid #d9b4ff;border-radius:3px;margin-left:5px;padding:2px 5px;display:inline-block}body[data-ui=v12] .v12-phone-instrument-tabs{background:linear-gradient(var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0c171e),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#0c171e)) padding-box,linear-gradient(110deg,#c2964c,#eddda2,#6ea9a1) border-box;border:1px solid #0000;border-radius:6px;grid-template-columns:1fr 1fr 1fr 30px;gap:3px;padding:4px!important}body[data-ui=v12] .v12-phone-instrument-tabs button{background:0 0;min-height:30px!important;font:600 11px/1.3 var(--font-system)!important;box-shadow:none!important;border:1px solid #0000!important;border-radius:3px!important;padding:4px 7px!important}body[data-ui=v12] .v12-phone-instrument-tabs button[aria-pressed=true]{color:var(--lightningcss-light,var(--sw-text-gold))var(--lightningcss-dark,#fff0bd)!important;background:linear-gradient(120deg,#6c542d,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#333b36) 55%,#715b31)!important;border-color:#d3b66b88!important;box-shadow:inset 0 1px #fff4c866!important}body[data-ui=v12] .v12-bottom-drawer :is(.v12-scaling-console,.v12-drawer-access){gap:5px!important;padding:8px!important}body[data-ui=v12] .v12-bottom-drawer :is(.v12-scaling-console>strong,.v12-drawer-access h3){font-size:12px!important;line-height:1.3!important}body[data-ui=v12] .v12-bottom-drawer :is(.v12-scaling-console p,.v12-drawer-access p){margin:3px 0!important;font-size:11px!important;line-height:1.4!important}body[data-ui=v12] .v12-bottom-drawer .v12-scaling-console-kicker{font-size:9px!important}body[data-ui=v12] .v12-bottom-drawer .v12-scaling-console-rules{gap:4px!important;margin-top:4px!important;padding-top:5px!important}body[data-ui=v12] .v12-bottom-drawer .v12-scaling-console-rules>span{gap:4px!important;min-height:0!important;padding:4px 6px!important;font-size:11px!important;line-height:1.3!important}body[data-ui=v12] .v12-bottom-drawer .v12-scaling-console-rules b{font-size:8px!important}body[data-ui=v12] .v12-calculation-instrument .v12-rule-overview{gap:6px!important}body[data-ui=v12] .v12-calculation-instrument .v12-rule-overview span{letter-spacing:.04em!important;font-size:10px!important}body[data-ui=v12] .v12-calculation-instrument .v12-rule-overview strong{font-size:20px!important}body[data-ui=v12] .v12-calculation-instrument .v12-rule-overview p{padding:7px 9px!important;font-size:11px!important}body[data-ui=v12] .v12-calculation-instrument .v12-formula-section-label{letter-spacing:.04em!important;font-size:10px!important}body[data-ui=v12] .v12-calculation-instrument .v12-summary-rail{gap:0!important;margin-top:6px!important}body[data-ui=v12] .v12-calculation-instrument .v12-summary-rail>span{flex:90px;min-width:0!important;padding:5px 7px!important}body[data-ui=v12] .v12-calculation-instrument .v12-summary-rail small{letter-spacing:.02em!important;font-size:8px!important;line-height:1.3!important}body[data-ui=v12] .v12-calculation-instrument .v12-summary-rail b{margin-top:3px!important;font-size:14px!important}body[data-ui=v12] .v12-calculation-instrument .v12-summary-rail>strong{min-width:60px!important;padding:6px 8px!important;font-size:18px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-access>header{margin-bottom:5px!important;padding:4px 0!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-access>header span{letter-spacing:.04em!important;font-size:10px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-access :is(article,.v12-access-counter){gap:4px 7px!important;padding:6px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-access :is(article,.v12-access-counter)>span{padding:3px 5px!important;font-size:9px!important}body[data-ui=v12] .v12-bottom-drawer .v12-drawer-access :is(article,.v12-access-counter)>strong{font-size:12px!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-inactive]{background:linear-gradient(110deg,var(--lightningcss-light,var(--sw-surface-raised))var(--lightningcss-dark,#1d2329),var(--lightningcss-light,var(--sw-surface))var(--lightningcss-dark,#11171f))!important;border-left-color:#6b727b!important;box-shadow:inset 0 1px #c3c8ca18!important}body[data-ui=v12] .v12-phone-play-library .v12-phone-play-record[data-inactive][data-mirrored]{background:linear-gradient(110deg,var(--lightningcss-light,color-mix(in srgb,var(--v12-violet) 12%,var(--sw-surface)))var(--lightningcss-dark,#262330),var(--lightningcss-light,color-mix(in srgb,var(--v12-violet) 12%,var(--sw-surface)))var(--lightningcss-dark,#171a23))!important;border-left-color:#8a779a!important}body[data-ui=v12] .v12-phone-play-record[data-inactive] :is(.v12-phone-play-record-title,.v12-phone-play-record-rule,.v12-phone-play-record-meta){opacity:.65}body[data-ui=v12] .v12-rule-builder :is(.v12-rule-value-groups,.v12-rule-declared-groups,.v12-rule-condition-library,.v12-rule-formula-library){gap:5px!important;padding:4px!important}body[data-ui=v12] .v12-rule-builder :is(.v12-rule-value-groups,.v12-rule-declared-groups)>section{border:0!important;flex-wrap:wrap!important;align-items:baseline!important;gap:3px 6px!important;min-height:0!important;padding:4px 0!important;display:flex!important}body[data-ui=v12] .v12-rule-builder :is(.v12-rule-value-groups,.v12-rule-declared-groups)>section>b{flex:0 0 100%;padding:0!important;line-height:1.2!important}body[data-ui=v12] .v12-rule-builder .v12-rule-chip-row{gap:4px!important;margin:0!important}body[data-ui=v12] .v12-rule-builder :is(.v12-rule-chip-row,.v12-rule-subchoices,.v12-rule-formula-library) button{min-height:26px!important;padding:3px 5px!important;font-size:10px!important;line-height:1.2!important}body[data-ui=v12] .v12-rule-builder .v12-rule-condition-stage{gap:4px!important;padding:5px!important}body[data-ui=v12] .v12-rule-builder .v12-rule-condition-stage>:is(h4,b,p){margin:3px 0!important}body[data-ui=v12] :is(.v12-instrument-dialog,.v12-build-preview-modal,.sw-character-modal-content) :is(th,td){padding:5px 6px!important;font-size:11px!important;line-height:1.3!important}body[data-ui=v12] :is(.v12-instrument-dialog,.v12-build-preview-modal,.sw-character-modal-content) th{letter-spacing:.03em!important;font-size:9px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-via>span{font:600 9px/1.3 var(--font-system)!important;letter-spacing:.02em!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement:is(.is-grant,.is-revoke)>strong{font-size:12px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-statement>:is(small,em){font-size:11px!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-main{gap:4px!important}body[data-ui=v12] .v12-calculation-instrument :is(.v12-formula-ledger,.v12-contribution-list){gap:4px!important;margin:4px 0!important;padding:0!important}body[data-ui=v12] .v12-calculation-instrument .v12-contribution-flags:empty{display:none!important}body[data-ui=v12] .v12-calculation-instrument .v12-equip-reference{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:6px!important;display:grid!important}body[data-ui=v12] .v12-calculation-instrument .v12-equip-reference>div{min-width:0!important;padding:3px!important}body[data-ui=v12] .v12-calculation-instrument .v12-equip-reference span{font-size:9px!important;line-height:1.25!important}body[data-ui=v12] .v12-calculation-instrument .v12-equip-reference strong{font-size:16px!important}body[data-ui=v12] .v12-calculation-instrument .v12-equip-reference>p{grid-column:1/-1;padding:5px 0!important}body[data-ui=v12] .v12-calculation-instrument .v12-size-reference article{grid-template-columns:minmax(0,1.2fr) repeat(2,minmax(0,1fr))!important;align-items:center!important;gap:4px!important;min-height:34px!important;padding:6px!important;display:grid!important}body[data-ui=v12] .v12-calculation-instrument .v12-size-reference article>strong{font:500 11px/1.3 var(--font-system)!important}body[data-ui=v12] .v12-calculation-instrument .v12-size-reference article>span{font-size:12px!important;line-height:1.3!important}body[data-ui=v12] .v12-calculation-instrument .v12-size-reference small{font:600 8px/1.3 var(--font-system)!important;letter-spacing:.02em!important}body[data-ui=v12] .v12-calculation-instrument .v12-size-reference>p{margin:0!important;padding:6px!important;font-size:11px!important}body[data-ui=v12] :is(.phone-reference-slot strong,.sheet-build .sheet-piece-heading strong,.sheet-build .sheet-create-choice strong){font-size:12px!important;line-height:1.3!important}body[data-ui=v12] :is(.phone-library-filters label,.sheet-phone-tools p,.sheet-phone-tools dl,.sw-forge-size-reading>span){font-size:11px!important;line-height:1.35!important}body[data-ui=v12] .sw-forge-panel__title h3{font-size:12px!important}body[data-ui=v12] .v12-rule-guidance{font-size:11px!important;line-height:1.35!important}}
