.tools-shell .tool-switcher-row{flex-wrap:wrap;align-items:center;gap:16px;margin-bottom:20px;display:flex}.tools-shell .tool-switcher{flex-wrap:nowrap;align-items:center;gap:4px;display:flex}.tools-shell .tool-switcher a{color:#d5b779;background:#1b2a30;border:1px solid #415056;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;padding:0;text-decoration:none;display:inline-flex}.tools-shell .tool-switcher a:hover{background:#28383e;border-color:#d5b779}.tools-shell .tool-switcher a[aria-current=page]{color:#111b20;background:#d5b779;border-color:#d5b779}.tools-shell .tool-switcher a:focus-visible{outline-offset:3px;outline:2px solid #d5b779}.tools-shell .tool-switcher a.tool-switcher-utility{margin-inline-start:8px}@media (width<=440px){.tools-shell .tool-switcher{gap:3px}.tools-shell .tool-switcher a{width:34px;height:40px}}@media (width<=360px){.tools-shell .tool-switcher a{width:30px}}.tools-shell .tool-switcher a{position:relative}.tools-shell .tool-switcher-tooltip{z-index:30;color:#eee7d8;white-space:nowrap;background:#111b20;border:1px solid #d5b779;border-radius:5px;width:max-content;max-width:220px;padding:8px 10px;font:500 12px/1.4 DM Sans,sans-serif;display:none;position:absolute;top:100%;left:0;box-shadow:0 4px 14px #0005}.tools-shell .tool-switcher a:is(:hover,:focus-visible):not([data-tooltip-dismissed=true]) .tool-switcher-tooltip{display:block}.tools-shell .tool-switcher a:nth-last-child(-n+3) .tool-switcher-tooltip{left:auto;right:0}@media (width<=600px){.tools-shell .tool-switcher-row{gap:12px;min-width:0}.tools-shell .tool-switcher{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;width:100%;min-width:0;display:grid}.tools-shell .tool-switcher a{box-sizing:border-box;width:100%;min-width:44px;height:44px}.tools-shell .tool-switcher-tooltip{white-space:normal;max-width:220px}.tools-shell .tool-switcher a:nth-child(5n-1) .tool-switcher-tooltip,.tools-shell .tool-switcher a:nth-child(5n) .tool-switcher-tooltip{left:auto;right:0}.tools-shell .tool-switcher a:nth-child(5n-2) .tool-switcher-tooltip{left:50%;right:auto;transform:translate(-50%)}.tools-shell .tool-switcher a.tool-switcher-utility{margin-block-start:6px;margin-inline-start:0}}.generator-tool-settings{flex-wrap:wrap;align-items:center;gap:12px;max-width:100%;margin-inline-start:auto;display:flex}.generator-tool-settings .cs-ruleset-selector{width:auto;margin:0}.generator-source-options{gap:10px;display:grid}.generator-source-options label{align-items:center;gap:8px;display:flex}@media (width<=600px){.generator-tool-settings{margin-inline-start:0}}.tools-shell>main.tool-page{box-sizing:border-box;width:100%;max-width:1400px;margin:0 auto;padding:24px 40px 80px}.tools-shell:has(>main.tool-page)>.site-header{max-width:1400px;padding-inline:40px}.tools-shell>main.tool-page>.tool-switcher-row{min-height:40px;margin:0 0 20px}.tools-shell>main.tool-page .tools-directory-intro{max-width:none;margin-top:0}.tools-shell>main.tool-page>.eyebrow,.tools-shell>main.tool-page .studio-heading .eyebrow,.tools-shell>main.tool-page .tools-directory-intro>.eyebrow{margin:0 0 10px}.tools-shell>main.tool-page>h1,.tools-shell>main.tool-page .studio-heading h1,.tools-shell>main.tool-page .tools-directory-intro>h1{max-width:none;margin:0 0 12px;font-size:clamp(28px,3vw,44px);line-height:1.15}.tools-shell>main.tool-page .tools-directory-intro>p:not(.eyebrow):not(.fine){margin:0;font-size:16px;line-height:1.6}@media (width<=760px){.tools-shell>main.tool-page{padding:24px 22px 50px}.tools-shell:has(>main.tool-page)>.site-header{padding-inline:22px}}@media print{.tools-shell>main.tool-page.studio-main{padding:0}}@media (width<=600px){.tools-shell>main.tool-page{padding-inline:16px}.tools-shell>main.tool-page :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;font-size:16px}.tools-shell>main.tool-page button{white-space:normal;min-height:44px}.tools-shell>main.tool-page :is(.generator-layout>aside,.monster-options,.map-options){min-width:0;padding:18px}.tools-shell>main.tool-page .generator-layout{min-width:0}.tools-shell>main.tool-page .environment-icon-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.tools-shell>main.tool-page .environment-icon-option{padding-bottom:0}.tools-shell>main.tool-page .environment-icon-option>button{flex-direction:column;gap:6px;height:100%;min-height:76px;padding:8px 3px}.tools-shell>main.tool-page .environment-icon-label{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;width:100%;font-size:11px;line-height:1.3;position:static;overflow:visible;transform:none}}@media (width<=400px){.tools-shell>main.tool-page .environment-icon-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=401px) and (width<=600px){.tools-shell>main.tool-page .environment-icon-option [role=tooltip]{left:0;right:auto}.tools-shell>main.tool-page .environment-icon-option:nth-child(3n) [role=tooltip]{left:auto;right:0}}@media (width<=400px){.tools-shell>main.tool-page .environment-icon-option [role=tooltip]{box-sizing:border-box;max-width:190px;left:0;right:auto}.tools-shell>main.tool-page .environment-icon-option:nth-child(2n) [role=tooltip]{left:auto;right:0}}@media (width<=600px){.tools-shell>main.tool-page .result-panel{padding:18px}.tools-shell>main.tool-page .result-actions{gap:8px}.tools-shell>main.tool-page .result-actions>button{flex:130px;max-width:100%}.tools-shell>main.tool-page .encounter-top-actions{gap:8px}.tools-shell>main.tool-page .encounter-roster-main .run-creatures>.creature-list-row{grid-template-columns:60px minmax(0,1fr);gap:10px;padding:16px 0}.tools-shell>main.tool-page .encounter-roster-main .creature-row-name{grid-area:1/1/auto/-1}.tools-shell>main.tool-page .encounter-roster-main .creature-list-row>span{grid-area:2/1/auto/-1;font-size:13px;line-height:1.5}.tools-shell>main.tool-page .encounter-roster-main .creature-row-quantity{grid-area:3/1}.tools-shell>main.tool-page .encounter-roster-main .roster-actions{grid-area:3/2;justify-content:flex-end;gap:6px}.tools-shell>main.tool-page .run-creatures .roster-actions button{flex:0 0 44px;width:44px;height:44px}.tools-shell>main.tool-page .creature-name-button{white-space:normal;text-align:left;min-height:44px}.tools-shell>main.tool-page .shop-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;display:grid}.tools-shell>main.tool-page .shop-tabs>button{white-space:normal;min-width:0;padding:10px 4px;font-size:12px}.tools-shell>main.tool-page .result-actions>button{width:100%}.tools-shell>main.tool-page .creature-field-label{flex-wrap:wrap;min-width:0}.tools-shell>main.tool-page .creature-field-label .creature-enable-toggle{min-width:0;max-width:100%}}.tools-shell>.tool-page{--control-height:44px;--control-radius:6px;--control-border:#657278;--control-focus:#d5b779;--control-error:#ffb4a7}.tools-shell>.tool-page :is(button,input,select,textarea,.reference-field .tiptap){font-family:DM Sans,Arial,sans-serif}.tools-shell>.tool-page :is(input:where(:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]):not(.shop-title-input)),select,textarea:not(.reference-field-value),.reference-field .tiptap){box-sizing:border-box;min-width:0;max-width:100%;min-height:var(--control-height);border:1px solid var(--control-border);border-radius:var(--control-radius);color:#eee7d8;background:#111b20;padding:10px 12px;font-size:16px;font-weight:400;line-height:1.4}.tools-shell>.tool-page select{padding-right:32px}.tools-shell>.tool-page label{color:#eee7d8;font-family:DM Sans,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.4}.tools-shell>.tool-page [data-slot=native-select-wrapper]{width:100%}.tools-shell>.tool-page :is(textarea:not(.reference-field-value),.reference-field:not(.reference-field-single) .tiptap){min-height:100px}.tools-shell>.tool-page :is(input,textarea)::placeholder{color:#9aabb0;opacity:1}.tools-shell>.tool-page :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:#d5b779}.tools-shell>.tool-page :is(button,a,input,select,textarea,[role=textbox]):focus-visible{outline:2px solid var(--control-focus);outline-offset:3px;box-shadow:none}.tools-shell>.tool-page :is(input,select,textarea,[role=textbox])[aria-invalid=true]{border-color:var(--control-error)}.tools-shell>.tool-page :is(input,select,textarea):user-invalid{border-color:var(--control-error)}.tools-shell>.tool-page :is(button,input,select,textarea):disabled,.tools-shell>.tool-page [role=textbox][aria-disabled=true]{opacity:.55;cursor:not-allowed}.tools-shell>.tool-page :is(input,textarea):read-only,.tools-shell>.tool-page [role=textbox][aria-readonly=true]{cursor:default}.tools-shell>.tool-page details>summary{box-sizing:border-box;color:#d5b779;cursor:pointer;overflow-wrap:anywhere;min-height:44px;padding:10px 12px;font:600 14px/1.5 DM Sans,Arial,sans-serif}.tools-shell>.tool-page details>summary:focus-visible{outline:2px solid var(--control-focus);outline-offset:2px;border-radius:6px}.tools-shell>.tool-page label:has(>input:is([type=checkbox],[type=radio])){box-sizing:border-box;align-items:center;gap:10px;min-height:44px;display:flex}.tools-shell>.tool-page label>input:is([type=checkbox],[type=radio]){flex:none;width:18px;height:18px;margin:0}
