:root{color:#24211d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f3ec;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}html,body,#root{background:#f6f3ec;width:100%;min-width:100%;min-height:100%}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin-top:0}:root{--tooltip-panel-border:#d6c7af;--tooltip-panel-bg:#24211d;--tooltip-panel-fg:#fffdf8;--tooltip-panel-muted:#d8cab7;--tooltip-panel-accent:#fff4d4;--tooltip-panel-shadow:0 8px 20px #24211d2e}.app-shell{color:#24211d;background:#f6f3ec;width:100%;min-width:0;min-height:100vh}.auth-shell{color:#24211d;background:#f6f3ec;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-panel{background:#fffaf0;border:1px solid #ded6c6;border-radius:8px;gap:18px;width:min(420px,100%);padding:28px;display:grid;box-shadow:0 18px 45px #372b1d1f}.auth-form,.auth-form label,.admin-create-form label{gap:8px;display:grid}.auth-form input,.admin-create-form input,.admin-create-form select{min-height:38px;padding:0 10px}.admin-create-form select{padding-right:38px}.auth-dev-logins{flex-wrap:wrap;gap:8px;display:flex}.auth-copy{color:#4b433a;margin:0;line-height:1.5}.auth-mode-switch{background:#f6f3ec;border:1px solid #ded6c6;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.auth-mode-switch button{color:#4b433a;background:0 0;border-color:#0000;min-height:36px}.auth-mode-switch button.active{color:#fffaf0;background:#7a5430;border-color:#7a5430}.auth-divider{color:#776b5e;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;font-size:13px;font-weight:700;display:grid}.auth-divider:before,.auth-divider:after{content:"";background:#ded6c6;height:1px}.oauth-login-button{border-radius:4px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:42px;font-weight:700;display:inline-flex}.oauth-login-mark{flex:0 0 20px;width:20px;height:20px}.github-login-button{color:#fff;background:#24292f;border-color:#24292f}.github-login-button:hover:not(:disabled){background:#1f2328;border-color:#1f2328}.google-login-button{color:#3c4043;background:#fff;border-color:#dadce0}.google-login-button:hover:not(:disabled){background:#f8fafd;border-color:#c6c9ce}.topbar{background:#fffaf0;border-bottom:1px solid #ded6c6;justify-content:space-between;align-items:center;gap:24px;padding:18px 32px;display:flex}.topbar-title{flex-wrap:nowrap;flex:auto;align-items:center;gap:18px;min-width:280px;display:flex}.brand-lockup{text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;min-width:224px;min-height:0;padding:0;display:inline-flex}.brand-lockup:hover:not(:disabled){border-color:#0000}.brand-lockup:focus-visible{outline-offset:4px;outline:2px solid #7f3f2a4d}.brand-logo{object-fit:contain;flex:0 0 60px;width:60px;height:60px}.brand-copy{gap:1px;min-width:0;display:grid}.brand-name{color:#24211d;white-space:nowrap;margin:0;font-size:22px;font-weight:900;line-height:1}.brand-subtitle{color:#7f3f2a;text-transform:uppercase;white-space:nowrap;font-size:14px;font-weight:800;line-height:1}.topbar-context{border-left:1px solid #ded6c6;gap:3px;min-width:0;padding-left:18px;display:grid}.topbar-context h1{font-size:28px;line-height:1.1}.eyebrow{color:#776b5e;letter-spacing:0;text-transform:uppercase;font-size:13px;font-weight:700}.topbar h1,.step-header h2{color:#24211d;margin:0}.session-label{color:#776b5e;margin-top:4px;font-size:13px;font-weight:700;display:inline-block}.topbar-actions{justify-content:flex-end;align-items:center;gap:12px;min-width:0;display:flex}.view-nav{background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;min-width:0;max-width:100%;display:inline-flex;overflow:visible}.view-nav button{text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-right:1px solid #e1d6c5;border-radius:0;min-width:0;min-height:38px;padding:0 14px;overflow:hidden}.view-nav button:last-child{border-right:0}.view-nav button:hover:not(:disabled){background:#fbf2e6}.view-nav .active{background:#f3e5d4;border-color:#7f3f2a;font-weight:700}.nav-menu,.user-menu,.validation-menu{min-width:0;position:relative}.nav-menu summary,.user-menu summary{color:#24211d;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-right:1px solid #e1d6c5;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-size:14px;list-style:none;display:flex;overflow:hidden}.nav-menu summary span{text-overflow:ellipsis;min-width:0;overflow:hidden}.nav-menu summary::-webkit-details-marker{display:none}.user-menu summary::-webkit-details-marker{display:none}.validation-menu summary::-webkit-details-marker{display:none}.nav-menu summary:after,.user-menu summary:after{content:"v";color:#7f3f2a;font-size:11px}.nav-menu summary:hover,.nav-menu summary.active,.nav-menu[open] summary{background:#f3e5d4;font-weight:700}.user-menu summary{background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;grid-template-columns:34px minmax(0,1fr) max-content;gap:10px;min-width:190px;min-height:50px;padding:6px 10px;display:grid}.user-menu summary:after{content:"v";color:#7f3f2a;align-self:center;font-size:11px}.user-menu-avatar{color:#fffaf0;letter-spacing:0;background:linear-gradient(145deg,#7f3f2a,#b66b3e);border:1px solid #d0bfa4;border-radius:50%;place-items:center;width:34px;height:34px;font-size:12px;font-weight:900;display:grid}.user-menu-identity{align-content:center;gap:2px;min-width:0;display:grid}.user-menu-name,.user-menu-role{text-overflow:ellipsis;min-width:0;line-height:1.1;overflow:hidden}.user-menu-name{color:#24211d;font-size:14px;font-weight:800}.user-menu-role{color:#6c6255;font-size:12px;font-weight:700}.user-menu[open] summary{background:#f3e5d4;border-color:#7f3f2a}.nav-menu-panel,.user-menu-panel,.validation-menu-panel{z-index:15;background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;gap:8px;min-width:220px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 45px #372b1d2e}.nav-menu-panel button,.user-menu-panel button{width:100%}.validation-menu summary{color:#24211d;cursor:pointer;background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;justify-content:center;align-items:center;min-width:42px;min-height:38px;padding:0 10px;list-style:none;display:inline-flex;position:relative}.view-nav .validation-menu summary{background:0 0;border:0;border-right:1px solid #e1d6c5;border-radius:0;width:38px;min-width:38px;padding:0}.view-nav .validation-menu[open] summary,.view-nav .validation-menu summary:hover{background:#f3e5d4}.view-nav .validation-menu-error summary{color:#8f2e1c}.validation-menu[open] summary,.validation-menu summary:hover{background:#f3e5d4;border-color:#7f3f2a}.validation-menu-error summary{color:#8f2e1c;border-color:#c94a30;animation:1.8s ease-in-out infinite validation-error-pulse}.validation-menu-error .validation-bell-icon{transform-origin:50% 0;animation:1.8s ease-in-out infinite validation-bell-ring}.validation-menu-error .validation-badge-error{animation:1.8s ease-in-out infinite validation-badge-pop}.validation-bell-icon{justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.validation-bell-icon svg{fill:currentColor;width:20px;height:20px}.validation-badge{box-sizing:border-box;color:#fff;border:2px solid #fbf7ee;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:900;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-8px}.validation-badge-error{background:#c94a30}.validation-badge-warning{color:#241a05;background:#d69a16}.validation-badge-neutral{background:#7b7165}@keyframes validation-error-pulse{0%,to{box-shadow:0 0 #c94a306b}45%{box-shadow:0 0 0 7px #c94a3000}}@keyframes validation-bell-ring{0%,60%,to{transform:rotate(0)}8%{transform:rotate(12deg)}16%{transform:rotate(-10deg)}24%{transform:rotate(8deg)}32%{transform:rotate(-6deg)}40%{transform:rotate(3deg)}}@keyframes validation-badge-pop{0%,to{transform:scale(1)}45%{transform:scale(1.12)}}@media (prefers-reduced-motion:reduce){.validation-menu-error summary,.validation-menu-error .validation-bell-icon,.validation-menu-error .validation-badge-error{animation:none}.validation-menu-error summary{box-shadow:0 0 0 3px #c94a302e}}.validation-menu-panel{width:min(420px,100vw - 32px);min-width:0;max-width:calc(100vw - 32px);max-height:min(620px,100vh - 130px);display:grid;left:clamp(12px,100vw - 452px,0px);right:auto;overflow:hidden auto}.validation-menu-panel header{border-bottom:1px solid #eadfce;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:8px;display:flex}.validation-menu-panel header strong{font-size:15px}.validation-menu-panel header span{color:#6c6255;font-size:12px;font-weight:800}.validation-empty{margin:0}.validation-issue-group{gap:8px;min-width:0;display:grid}.nav-menu-panel button.active,.user-menu-panel button.active{background:#f3e5d4;border-color:#7f3f2a;font-weight:700}.context-toolbar{background:#fbf7ee;border-bottom:1px solid #ded6c6;justify-content:flex-end;align-items:center;gap:10px;min-height:54px;padding:8px 32px;display:flex}.saved-character-select{color:#5f554a;gap:6px;font-size:13px;font-weight:700;display:grid}.saved-character-select select{width:100%;min-width:0;min-height:38px;padding:0 38px 0 10px}.list-toolbar{grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px;margin-bottom:12px;display:grid}.list-search{color:#5d5449;gap:6px;font-size:13px;font-weight:700;display:grid}.list-search input{min-height:36px;padding:0 10px}.segmented-control{background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;min-width:0;display:inline-flex;overflow:hidden}.segmented-control button{white-space:nowrap;background:0 0;border:0;border-right:1px solid #e1d6c5;border-radius:0;min-height:36px;padding:0 10px;font-size:13px}.segmented-control button:last-child{border-right:0}.segmented-control button.active{background:#f3e5d4;font-weight:800}.character-menu{position:relative}.character-menu summary{color:#24211d;cursor:pointer;background:#fffdf8;border:1px solid #bcae98;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 12px;font-size:14px;list-style:none;display:flex}.character-menu summary::-webkit-details-marker{display:none}.character-menu summary:after{content:"v";color:#7f3f2a;font-size:11px}.character-menu[open] summary{background:#f3e5d4;border-color:#7f3f2a}.character-menu summary strong{color:#6c6255;text-overflow:ellipsis;white-space:nowrap;max-width:170px;font-size:12px;font-weight:800;overflow:hidden}.character-menu-panel{z-index:10;background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;gap:12px;width:min(360px,100vw - 32px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 45px #372b1d2e}.character-menu-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}button{color:#24211d;min-height:38px;font:inherit;cursor:pointer;background:#fffdf8;border:1px solid #bcae98;border-radius:6px;font-size:14px}button:hover:not(:disabled){border-color:#7f3f2a}button:disabled{cursor:not-allowed;opacity:.45}input{color:#24211d;font:inherit;background:#fffdf8;border:1px solid #cfc3af;border-radius:6px}select{appearance:none;color:#24211d;min-height:38px;font:inherit;cursor:pointer;background-color:#fffdf8;background-image:linear-gradient(#fffaf000,#efe4d294),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237f3f2a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:0 0,right 10px center;background-repeat:repeat,no-repeat;background-size:auto,18px 18px;border:1px solid #c8b89f;border-radius:6px;padding:0 38px 0 10px;transition:border-color .14s,box-shadow .14s,background-color .14s;box-shadow:inset 0 1px #ffffffb8,0 1px 2px #372b1d0f}select::-ms-expand{display:none}select:hover:not(:disabled){background-color:#fffaf0;border-color:#9f7b53}select:focus-visible{outline-offset:2px;border-color:#7f3f2a;outline:2px solid #7f3f2a3d;box-shadow:inset 0 1px #ffffffb8,0 0 0 3px #7f3f2a1a}select:disabled{cursor:not-allowed;opacity:.58}select option{color:#24211d;background:#fffdf8}select option:disabled{color:#9f927f}[data-issue-target]{scroll-margin-block:96px}.hidden-input{display:none}.alert.info{color:#263f52;background:#eef6fb;border-color:#9fb6c8}.admin-panel{gap:18px;padding:28px 32px;display:grid}.admin-panel-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.admin-create-form{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:12px;display:grid}.admin-card{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;min-width:0;padding:16px}.admin-table-card{padding:0;overflow:hidden}.account-card{width:min(760px,100%)}.account-form{grid-template-columns:1fr}.admin-table{display:grid;overflow:auto}.admin-table-row{border-bottom:1px solid #eee3d3;grid-template-columns:repeat(4,minmax(120px,1fr)) minmax(260px,1.2fr);align-items:center;gap:12px;padding:10px 12px;display:grid}.admin-table-row-users{grid-template-columns:repeat(5,minmax(120px,1fr)) minmax(260px,1.2fr)}.admin-table-row:last-child{border-bottom:0}.admin-table-head{background:#f3e5d4;font-weight:800}.admin-row-actions{flex-wrap:wrap;gap:8px;display:flex}.workspace{grid-template-columns:304px minmax(0,1fr);width:100%;min-width:0;min-height:calc(100vh - 94px);display:grid}.workspace-sheet{min-height:calc(100vh - 148px);display:block}.sidebar{background:#fbf7ee;border-right:1px solid #ded6c6;min-width:0;padding:14px 16px}.mobile-view-nav,.mobile-creator-status,.mobile-step-navigator{display:none}.reset-character-button{color:#fff8f6;background:#c94a30;border-color:#b5452f;width:100%;font-weight:700}.reset-character-button:hover:not(:disabled){background:#a73823;border-color:#8f2d1d}.context-toolbar .reset-character-button{white-space:nowrap;width:auto;min-height:38px;padding:0 12px}.name-field,.number-control{color:#5d5449;gap:8px;font-size:13px;font-weight:700;display:grid}.name-field input,.number-control input{box-sizing:border-box;width:100%;padding:9px 10px}.summary-block{border-top:1px solid #ded6c6;margin-top:0;padding-top:0}.sidebar-collapsible-section{min-width:0}.sidebar-sticky-summary{z-index:5;background:#fbf7ee;gap:6px;max-height:calc(100vh - 20px);margin-top:0;display:grid;position:sticky;top:10px;overflow:auto}.sidebar-sticky-summary .summary-block{margin-top:0;padding-top:8px}.sidebar-sticky-summary .summary-block:first-child{border-top:0;padding-top:0}.sidebar-portrait{background:#fffaf0;border:1px solid #d7c8b2;border-radius:8px;gap:7px;margin:0 0 10px;padding:8px;display:grid}.sidebar-portrait img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%}.sidebar-portrait-button{cursor:zoom-in;background:0 0;border:0;border-radius:6px;min-width:0;padding:0;display:block;overflow:hidden}.sidebar-portrait-button:hover,.sidebar-portrait-button:focus-visible{box-shadow:0 0 0 3px #7a54303d}.sidebar-portrait-button img{display:block}.sidebar-portrait figcaption{color:#6b5438;letter-spacing:0;text-align:center;text-transform:uppercase;font-size:12px;font-weight:800}.sidebar-portrait-empty{color:#7b6a55;place-items:center;min-height:118px;font-size:32px;font-weight:800}.sidebar-profile-button{color:#3c342c;background:#fffaf0;border-color:#bcae98;width:100%;min-height:34px;margin:-2px 0 10px;font-size:13px;font-weight:800}.sidebar-profile-button:hover,.sidebar-profile-button:focus-visible{border-color:#7a5430;box-shadow:0 0 0 3px #7a543029}.summary-block h2,.summary-block h3{margin:0;font-size:15px}.summary-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;display:flex}.sidebar-collapsible-section>.summary-header{cursor:pointer;-webkit-user-select:none;user-select:none;min-height:30px;margin-bottom:0;padding:2px 0;list-style:none}.sidebar-collapsible-section>.summary-header::-webkit-details-marker{display:none}.sidebar-collapsible-section>.summary-header:hover h2,.sidebar-collapsible-section>.summary-header:focus-visible h2{color:#7f3f2a}.sidebar-collapsible-section>.summary-header:focus-visible{outline-offset:3px;border-radius:4px;outline:2px solid #7a543059}.summary-header h2,.summary-header h3{flex:auto;min-width:0;margin:0}.summary-disclosure{border-top:5px solid #0000;border-bottom:5px solid #0000;border-left:7px solid #7b6a55;flex:none;width:0;height:0;transition:transform .14s;transform:rotate(0)}.sidebar-collapsible-section[open]>.summary-header .summary-disclosure{transform:rotate(90deg)}.summary-meta{color:#6c6255;overflow-wrap:anywhere;text-align:right;flex:0 auto;min-width:0;font-size:12px;font-weight:800}.summary-content{padding-top:8px}.sidebar-budget-stack{gap:9px;display:grid}.sidebar-subsection{gap:6px;display:grid}.budget-track{background:#eadfce;border-radius:999px;height:6px;position:relative;overflow:hidden}.budget-dashboard{background:#fffdf8;border:1px solid #d6c7af;border-radius:8px;grid-template-columns:minmax(74px,.7fr) minmax(0,1.3fr);align-items:center;gap:7px;padding:8px;display:grid}.budget-primary{grid-area:1/1;align-content:center;align-self:stretch;gap:2px;display:grid}.budget-primary strong{color:#24211d;font-size:20px;line-height:1}.budget-primary span{color:#6c6255;min-width:0;font-size:10px;font-weight:800;line-height:1.15}.budget-dashboard-warning .budget-primary strong{color:#765200}.budget-dashboard-danger .budget-primary strong{color:#842d17}.budget-track{grid-area:1/2;display:flex}.budget-track-spent,.budget-track-over{height:100%;display:block}.budget-track-spent{background:#7f3f2a}.money-dashboard .budget-track-spent{background:#4f6f52}.budget-dashboard-warning .budget-track-spent{background:#b58114}.budget-track-over{position:absolute;top:0;right:0}.budget-track-over,.budget-dashboard-danger .budget-track-spent{background:#c94a30}.budget-facts{grid-area:2/1/auto/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;display:grid}.money-dashboard .budget-facts{grid-area:2/2;grid-template-columns:repeat(2,minmax(0,1fr))}.money-dashboard .budget-primary{grid-row:1/span 2}.budget-facts div{background:#fbf7ee;border:1px solid #eadfce;border-radius:6px;gap:2px;min-width:0;padding:4px 5px;display:grid;overflow:hidden}.budget-facts dt{color:#6c6255;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;min-width:0;font-size:9px;font-weight:800;line-height:1.1}.budget-facts dd{color:#24211d;overflow-wrap:anywhere;min-width:0;margin:0;font-size:11px;font-weight:800;line-height:1.15}.trait-ap-facts{grid-area:3/1/auto/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin:0;display:grid}.trait-ap-facts div{background:#fbf7ee;border:1px solid #eadfce;border-radius:6px;grid-template-columns:max-content minmax(max-content,1fr);align-items:baseline;gap:6px;min-width:0;padding:4px 5px;display:grid}.trait-ap-facts dt,.trait-ap-facts dd{overflow-wrap:anywhere;min-width:0;margin:0;font-size:10px;line-height:1.15}.trait-ap-facts dt{color:#6c6255;white-space:nowrap;font-weight:800}.trait-ap-facts dd{color:#24211d;text-align:right;white-space:nowrap;justify-self:end;font-weight:900}.trait-ap-facts .trait-ap-fact-over{background:#fff1ee;border-color:#d9a29a}.trait-ap-facts .trait-ap-fact-over dd{color:#842d17}.detail-tooltip-value{outline:none;align-items:center;min-width:0;max-width:100%;display:inline-grid;position:relative}.detail-tooltip-trigger{color:#24211d;cursor:help;overflow-wrap:anywhere;border-bottom:1px dotted #7f3f2a;max-width:100%}.detail-tooltip-value:hover .detail-tooltip-trigger,.detail-tooltip-value:focus-visible .detail-tooltip-trigger{color:#7f3f2a}.detail-tooltip-panel{z-index:1000;box-sizing:border-box;border:1px solid var(--tooltip-panel-border);background:var(--tooltip-panel-bg);width:max-content;max-width:min(360px,100vw - 24px);max-height:min(340px,100vh - 24px);color:var(--tooltip-panel-fg);box-shadow:var(--tooltip-panel-shadow);text-align:left;overflow-wrap:anywhere;white-space:normal;border-radius:6px;gap:8px;padding:10px;font-size:12px;font-weight:500;line-height:1.35;display:grid;position:fixed;overflow:auto}.detail-tooltip-panel:before{left:var(--tooltip-arrow-left,50%);border:inherit;background:inherit;content:"";width:8px;height:8px;position:absolute;transform:translate(-50%)rotate(45deg)}.detail-tooltip-panel-top:before{border-top:0;border-left:0;bottom:-5px}.detail-tooltip-panel-bottom:before{border-bottom:0;border-right:0;top:-5px}.detail-tooltip-title{color:var(--tooltip-panel-accent);font-weight:900}.detail-tooltip-list{gap:6px;display:grid}.detail-tooltip-row{grid-template-columns:minmax(0,1fr) auto;gap:12px;min-width:0;display:grid}.detail-tooltip-row span{min-width:0}.detail-tooltip-row strong{color:var(--tooltip-panel-fg);white-space:nowrap;font-weight:900}.detail-tooltip-empty{color:var(--tooltip-panel-muted)}.snapshot-list{gap:4px;margin:0;display:grid}.snapshot-row{background:#fffdf8;border:1px solid #eadfce;border-radius:6px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:baseline;gap:8px;min-width:0;padding:5px 8px;display:grid}.snapshot-row dt{color:#6c6255;font-size:11px;font-weight:800}.snapshot-row dd{min-width:0;margin:0}.snapshot-row button{color:#24211d;width:100%;min-height:0;font:inherit;text-align:right;background:0 0;border:0;padding:0;font-size:12px;font-weight:800}.snapshot-row button:hover,.snapshot-row button:focus-visible{color:#7f3f2a;text-decoration:underline}.snapshot-row.missing{background:#fff8e3;border-color:#dfbd64}.snapshot-row.missing button{color:#765200}.snapshot-row-input input{box-sizing:border-box;color:#24211d;text-align:right;background:#fffaf0;border:1px solid #c8b89f;border-radius:6px;width:100%;min-height:26px;padding:3px 7px;font-size:12px;font-weight:800}.personal-detail-grid{gap:5px;display:grid}.personal-detail-field{background:#fffdf8;border:1px solid #eadfce;border-radius:6px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:8px;padding:5px 8px;display:grid}.personal-detail-label{color:#6c6255;font-size:11px;font-weight:800}.personal-detail-input-row{min-width:0;display:grid}.personal-detail-input-row.has-unit{grid-template-columns:minmax(0,1fr) max-content;align-items:stretch}.personal-detail-field input,.personal-detail-field select{box-sizing:border-box;color:#24211d;text-align:right;background:#fffaf0;border:1px solid #c8b89f;border-radius:6px;width:100%;min-height:26px;padding:3px 7px;font-size:12px;font-weight:800}.personal-detail-field select{cursor:pointer}.personal-detail-input-row.has-unit input{border-right:0;border-radius:6px 0 0 6px}.personal-detail-unit{color:#5e5448;cursor:help;background:#efe5d4;border:1px solid #c8b89f;border-left:0;border-radius:0 6px 6px 0;place-items:center;min-height:26px;padding:3px 7px;font-size:11px;font-weight:900;display:grid;position:relative}.personal-detail-unit:after{z-index:20;border:1px solid var(--tooltip-panel-border);background:var(--tooltip-panel-bg);width:max-content;max-width:220px;color:var(--tooltip-panel-fg);box-shadow:var(--tooltip-panel-shadow);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:normal;border-radius:6px;padding:6px 8px;font-size:11px;font-weight:800;line-height:1.25;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 6px);right:0;transform:translateY(3px)}.personal-detail-unit:hover:after,.personal-detail-unit:focus-visible:after{opacity:1;transform:translateY(0)}.base-value-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;margin:0;display:grid}.base-value-tile{text-align:center;background:#fffdf8;border:1px solid #eadfce;border-radius:6px;gap:2px;min-width:0;padding:3px 2px;display:grid}.base-value-tile-life{background:#ffe9e2;border-color:#dc9b8a}.base-value-tile-energy{background:#e8f3ff;border-color:#9db9d8}.base-value-tile-defense{background:#fff5cf;border-color:#dec574}.base-value-tile dt{color:#6c6255;font-size:10px;font-weight:800}.base-value-tile-life dt{color:#8a321f}.base-value-tile-energy dt{color:#26567c}.base-value-tile-defense dt{color:#755409}.base-value-tile dd{color:#24211d;margin:0;font-size:15px;font-weight:900;line-height:1}.attribute-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 0 6px;display:grid}.attribute-strip div{background:#f6f3ec;border:1px solid #eadfce;border-radius:999px;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:26px;padding:3px 5px;display:flex}.attribute-strip dt{color:#6c6255;min-width:0;font-size:10px;font-weight:900;line-height:1.2}.attribute-strip dd{color:#24211d;min-width:0;margin:0;font-size:13px;font-weight:900;line-height:1}.attribute-strip .tooltip-label{border-bottom-color:#a24d34;min-width:0;display:inline}.compact-list{gap:8px;margin:12px 0 0;display:grid}.compact-list div{justify-content:space-between;gap:12px;display:flex}.compact-list dt,.muted{color:#6c6255}.compact-list dd{color:#24211d;margin:0;font-weight:700}.ap-breakdown-list{gap:8px;margin-top:12px;display:grid}.ap-breakdown-row{gap:6px;display:grid}.ap-breakdown-toggle{text-align:left;background:0 0;border:0;grid-template-columns:14px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:0;padding:0;display:grid}.ap-breakdown-toggle:hover:not(:disabled),.ap-breakdown-toggle:focus-visible{color:#7f3f2a}.ap-breakdown-toggle strong{color:#24211d}.ap-breakdown-indicator{color:#7f3f2a;font-size:12px;font-weight:800}.ap-detail-list{border-top:1px solid #eadfce;gap:5px;margin:0 0 2px 22px;padding:8px 0 0;list-style:none;display:grid}.ap-detail-list li{color:#5d5449;justify-content:space-between;gap:10px;font-size:13px;display:flex}.ap-detail-list strong{color:#24211d;flex:none}.tooltip-label{cursor:help;border-bottom:1px dotted #7f3f2a;outline:none;align-items:center;display:inline-flex;position:relative}.tooltip-label:hover,.tooltip-label:focus-visible{color:#7f3f2a}.tooltip-label-panel{z-index:1000;box-sizing:border-box;border:1px solid var(--tooltip-panel-border);background:var(--tooltip-panel-bg);width:max-content;max-width:min(360px,100vw - 24px);color:var(--tooltip-panel-fg);box-shadow:var(--tooltip-panel-shadow);text-align:left;overflow-wrap:anywhere;pointer-events:none;white-space:normal;border-radius:6px;gap:5px;padding:10px 12px;font-size:12px;font-weight:500;line-height:1.35;display:grid;position:fixed}.tooltip-label-panel:before{left:var(--tooltip-arrow-left,50%);border:inherit;background:inherit;content:"";width:8px;height:8px;position:absolute;transform:translate(-50%)rotate(45deg)}.tooltip-label-panel-top:before{border-top:0;border-left:0;bottom:-5px}.tooltip-label-panel-bottom:before{border-bottom:0;border-right:0;top:-5px}.tooltip-label-panel-line{min-width:0}.tooltip-label-panel-line:first-child{color:var(--tooltip-panel-accent);font-weight:900}.issue-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.issue-list li,.alert{overflow-wrap:anywhere;border-radius:6px;min-width:0;padding:10px 12px;font-size:14px}.issue-list button{width:100%;min-width:0;min-height:0;color:inherit;font:inherit;text-align:left;overflow-wrap:anywhere;white-space:normal;background:0 0;border:0;gap:3px;padding:0;display:grid}.issue-list button small{color:currentColor;opacity:.78;font-size:11px;font-weight:800}.issue-list button:hover,.issue-list button:focus-visible{text-decoration:underline}.issue-groups{gap:10px;display:grid}.issue-group{gap:8px;min-width:0;display:grid}.issue-group-heading,.issue-group summary{color:#4f4539;justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:800;display:flex}.issue-group summary{cursor:pointer;list-style:none}.issue-group summary::-webkit-details-marker{display:none}.issue-group summary strong,.issue-group-heading strong{color:#4f4539;background:#eadfce;border-radius:999px;justify-content:center;align-items:center;min-width:24px;min-height:22px;font-size:12px;display:inline-flex}.issue-empty{margin:0;font-size:13px}.warning{color:#765200;background:#fff3cd}.error{color:#842d17;background:#ffe5dc}.creator-panel{min-width:0;padding:24px}.rules-browser{grid-template-columns:260px minmax(0,1fr);min-height:calc(100vh - 94px);display:grid}.rules-nav{background:#fbf7ee;border-right:1px solid #ded6c6;align-content:start;gap:8px;min-width:0;padding:24px;display:grid}.rules-nav h2{margin:0 0 8px;font-size:17px}.rules-nav button{text-align:left;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.rules-nav button.active{background:#f3e5d4;border-color:#7f3f2a}.rules-nav small{color:#6c6255;font-weight:700}.rules-content{min-width:0;padding:24px}.rules-content-header{justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px;display:flex}.rules-content-header h2{margin:0}.rules-search{color:#5d5449;gap:8px;width:min(360px,100%);font-size:13px;font-weight:700;display:grid}.rules-search input{padding:9px 10px}.rules-overview{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.rules-overview div{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;gap:2px;padding:12px;display:grid}.rules-overview strong{font-size:24px;line-height:1}.rules-overview span,.rules-result-count{color:#6c6255;font-size:13px;font-weight:700}.rules-result-count{margin-bottom:10px}.bestiary-filter-panel{background:#fbf7ee;border:1px solid #ded6c6;border-radius:8px;gap:14px;margin-bottom:16px;padding:14px;display:grid}.bestiary-filter-panel header{justify-content:space-between;align-items:center;gap:12px;display:flex}.bestiary-filter-panel h3,.bestiary-filter-panel p{margin:0}.bestiary-filter-panel h3{font-size:16px}.bestiary-filter-panel p{color:#6c6255;font-size:13px;font-weight:700}.bestiary-filter-panel button{min-width:max-content}.bestiary-filter-grid{grid-template-columns:repeat(4,minmax(160px,1fr));gap:10px;display:grid}.bestiary-checkbox-group{border:0;gap:7px;min-width:0;max-height:260px;margin:0;padding:0;display:grid}.bestiary-checkbox-group legend{color:#5d5449;text-transform:uppercase;font-size:12px;font-weight:800}.bestiary-checkbox-group>div{gap:6px;max-height:226px;padding-right:4px;display:grid;overflow:auto}.bestiary-checkbox-group label{color:#24211d;background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;min-width:0;padding:7px 8px;font-size:13px;font-weight:700;display:grid}.bestiary-checkbox-group label.active{background:#f3e5d4;border-color:#7f3f2a}.bestiary-checkbox-group span{overflow-wrap:anywhere;min-width:0}.bestiary-checkbox-group small,.bestiary-feature-filters small{color:#6c6255;text-align:right;min-width:28px;font-size:12px;font-weight:800}.bestiary-feature-filters{border:0;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:0;display:flex}.bestiary-feature-filters legend{color:#5d5449;text-transform:uppercase;width:100%;margin-bottom:2px;font-size:12px;font-weight:800}.bestiary-feature-filters label{color:#4f4539;background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;padding:7px 9px;font-size:13px;font-weight:700;display:grid}.bestiary-feature-filters label.active{color:#332d26;background:#f3e5d4;border-color:#7f3f2a}.rules-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:14px;display:grid}.rule-card{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.rule-card-header{justify-content:space-between;align-items:start;gap:14px;min-width:0;display:flex}.rule-card-header h3{overflow-wrap:anywhere;margin:0 0 4px;font-size:17px}.rule-card-header code{color:#6c6255;overflow-wrap:anywhere;font-size:12px}.rule-card-meta{color:#5d5449;overflow-wrap:anywhere;text-align:right;justify-items:end;gap:4px;min-width:0;max-width:45%;display:grid}.rule-card-meta a{color:#7f3f2a;font-size:13px;font-weight:700}.bestiary-card{gap:13px}.creature-stat-strip{background:#f8f0e5;border:1px solid #eadfce;border-radius:8px;gap:6px;padding:10px;display:grid}.creature-stat-strip p{color:#332d26;overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.45}.data-line{border-top:1px solid #eee4d6;gap:4px;min-width:0;padding-top:10px;display:grid}.data-line dt,.chip-block h4{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.data-line dd{color:#24211d;overflow-wrap:anywhere;white-space:pre-line;word-break:break-word;min-width:0;margin:0;font-size:14px;line-height:1.45}.chip-block{gap:7px;display:grid}.chip-block ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.chip-block li{color:#4f4539;background:#f3e5d4;border-radius:999px;padding:4px 8px;font-size:12px;line-height:1.35}.muted-chips li{color:#6c6255;background:#eee6da}.data-list-block,.profession-variants{border-top:1px solid #eee4d6;gap:8px;padding-top:10px;display:grid}.data-list-block h4,.profession-variants h4{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.data-list-block ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.data-list-block li{color:#24211d;overflow-wrap:anywhere;grid-template-columns:minmax(120px,.45fr) minmax(0,1fr);gap:8px;min-width:0;font-size:13px;display:grid}.data-list-block li span{min-width:0}.data-list-block code,.profession-variants code{color:#6c6255;font-size:12px}.profession-variants details{border-top:1px solid #eee4d6;gap:8px;padding-top:8px;display:grid}.profession-variants details:first-of-type{border-top:0}.profession-variants summary{cursor:pointer;color:#24211d;justify-content:space-between;align-items:start;gap:12px;display:flex}.profession-variants summary span{gap:2px;display:grid}.profession-variants summary em{color:#5d5449;white-space:nowrap;font-style:normal;font-weight:700}.stepper{grid-template-columns:repeat(5,minmax(120px,1fr));gap:8px;margin-bottom:20px;display:grid}.stepper button{text-align:left;justify-content:flex-start;align-items:center;gap:8px;min-width:0;padding:8px;display:flex}.stepper span{background:#efe3d0;border-radius:50%;flex:0 0 24px;place-items:center;width:24px;height:24px;font-size:12px;display:inline-grid}.stepper .active{background:#f3e5d4;border-color:#7f3f2a}.step-content{background:#fffaf0;border:1px solid #ded6c6;border-radius:8px;min-height:560px;padding:24px}.step-header{margin-bottom:16px}.step-header p{color:#776b5e;margin:0 0 4px;font-size:13px;font-weight:700}.choice-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;display:grid}.choice-card{position:relative}.step-description{box-sizing:border-box;background:#fffdf8;border:1px solid #d7c8b2;border-radius:8px;gap:6px;width:100%;margin-bottom:24px;padding:16px;display:grid}.step-description strong{font-size:17px}.step-description p{color:#5d5449;margin:0;font-size:14px;line-height:1.45}.experience-level-grid{gap:16px;display:grid}.experience-level-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.experience-level-card{min-width:0;display:grid}.experience-level-card .choice{border-radius:8px;align-content:start;min-height:280px;padding:16px}.experience-level-card.selected .choice{--choice-selected-bg:#f4e2ca}.species-choice-card,.profession-choice-card{min-width:0;display:grid}.species-choice-card .choice,.profession-choice-card .choice{border-radius:8px;align-content:start}.species-choice-card.selected .choice,.profession-choice-card.selected .choice{border-radius:8px 8px 0 0}.species-choice-settings,.profession-choice-settings{background:#fff8ed;border:1px solid #6f351f;border-top:0;border-radius:0 0 8px 8px;gap:10px;padding:12px;display:grid}.profession-bonus-panel{background:#fffaf0;border:1px solid #c8b89f;border-radius:8px;gap:14px;min-width:0;padding:16px;display:grid}.profession-bonus-panel-compact{background:#fff8ed;border-color:currentColor #6f351f #6f351f;border-top-style:none;border-top-width:0;border-radius:0 0 8px 8px;padding:12px}.profession-bonus-header{gap:5px;min-width:0;display:grid}.profession-bonus-header>span{color:#3f6732;text-transform:uppercase;background:#eef8e8;border:1px solid #9fbd8f;border-radius:999px;width:fit-content;padding:3px 8px;font-size:11px;font-weight:900;line-height:1.2}.profession-bonus-header h3{margin:0;font-size:18px}.profession-bonus-header p{color:#5d5449;max-width:760px;margin:0;font-size:13px;line-height:1.4}.profession-bonus-grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:12px;min-width:0;display:grid}.profession-bonus-choice{background:#fffdf8;border:1px solid #d6c7af;border-radius:8px;gap:9px;min-width:0;padding:12px;display:grid}.profession-bonus-choice-header{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.profession-bonus-choice-header strong{overflow-wrap:anywhere;min-width:0;font-size:15px}.profession-bonus-choice-header span{color:#5f4a31;background:#f3e5d4;border-radius:999px;flex:none;padding:4px 8px;font-size:12px;font-weight:900}.profession-bonus-choice select{width:100%;min-width:0;min-height:42px;padding:9px 38px 9px 10px;font-weight:800}.profession-bonus-choice small{color:#6c6255;overflow-wrap:anywhere;min-width:0;font-size:12px;line-height:1.35}.profession-bonus-panel-compact .profession-bonus-header h3{font-size:16px}.profession-bonus-panel-compact .profession-bonus-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}.choice{--choice-bg:#fffdf8;--choice-border:#bcae98;--choice-hover-bg:#fff8ed;--choice-hover-border:#8a6a45;--choice-selected-bg:#f0dfc9;--choice-selected-border:#6f351f;--choice-selected-ring:#7f3f2a42;border-color:var(--choice-border);background:var(--choice-bg);min-height:94px;box-shadow:none;text-align:left;gap:8px;width:100%;padding:16px 56px 16px 16px;transition:background-color .16s,border-color .16s,box-shadow .16s;display:grid}.choice:hover:not(:disabled){border-color:var(--choice-hover-border);background:var(--choice-hover-bg)}.choice:focus-visible{border-color:var(--choice-hover-border);outline-offset:2px;outline:2px solid #7f3f2a47}.choice span,.value-row small,.check-row small{color:#6c6255;font-size:13px}.choice.selected{border-color:var(--choice-selected-border);background:var(--choice-selected-bg);box-shadow:inset 0 0 0 1px var(--choice-selected-border), 0 0 0 2px var(--choice-selected-ring)}.choice.selected:hover:not(:disabled){border-color:var(--choice-selected-border);background:var(--choice-selected-bg);box-shadow:inset 0 0 0 1px var(--choice-selected-border), 0 0 0 3px var(--choice-selected-ring)}.reason-badges{flex-wrap:wrap;align-items:center;gap:5px;min-width:0;display:flex}.reason-badges .reason-badge{color:#5d5449;overflow-wrap:anywhere;background:#f8f1e8;border:1px solid #d6c8b5;border-radius:999px;align-items:center;width:fit-content;max-width:100%;padding:2px 7px;font-size:11px;font-weight:800;line-height:1.35;display:inline-flex}.reason-badges .reason-badge-positive{color:#3f6c32;background:#e9f5e4;border-color:#9fbd8f}.reason-badges .reason-badge-neutral{color:#5d5449;background:#f7efe3;border-color:#cbb99f}.reason-badges .reason-badge-warning{color:#735b0d;background:#fff8d9;border-color:#d8c47a}.reason-badges .reason-badge-danger{color:#874134;background:#fff0ed;border-color:#d49b8f}.reason-badges .reason-badge-info{color:#365f81;background:#edf5fb;border-color:#98b2c9}.profession-choice-card.profession-fit-typical .choice{--choice-bg:#f3faef;--choice-border:#9fbd8f;--choice-hover-bg:#ebf6e4;--choice-hover-border:#6e965a}.profession-choice-card.profession-fit-rare .choice{--choice-bg:#fff8d9;--choice-border:#d8c47a;--choice-hover-bg:#fff2b8;--choice-hover-border:#a78420}.profession-choice-card.profession-fit-veryRare .choice{--choice-bg:#fff0d8;--choice-border:#d7a15b;--choice-hover-bg:#ffe3ba;--choice-hover-border:#a86523}.profession-choice-card.profession-fit-unusual .choice{--choice-bg:#fff0ed;--choice-border:#d49b8f;--choice-hover-bg:#ffe2dc;--choice-hover-border:#a75748}.species-choice-summary{gap:10px;min-width:0;display:grid}.profession-choice-summary,.experience-level-summary{gap:12px;min-width:0;display:grid}.experience-level-title-row{min-width:0;display:block}.experience-level-title-row strong{overflow-wrap:anywhere;min-width:0;font-size:19px}.experience-level-ap{background:#fffaf0d6;border:1px solid #dfd0b9;border-radius:8px;gap:3px;padding:12px;display:grid}.experience-level-ap strong{font-size:28px;line-height:1}.experience-level-ap span{color:#6c6255;font-size:12px;font-weight:800;line-height:1.3}.experience-level-summary p{color:#5d5449;min-height:56px;margin:0;font-size:13px;line-height:1.4}.experience-level-limits{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.experience-level-limit{background:#fffdf8db;border:1px solid #e1d5c3;border-radius:6px;gap:2px;min-width:0;min-height:68px;padding:8px;display:grid}.experience-level-limit small{color:#6c6255;text-transform:uppercase;font-size:10px;font-weight:900;line-height:1.15}.experience-level-limit strong{overflow-wrap:anywhere;font-size:15px;line-height:1.15}.experience-level-limit em{color:#74675a;font-size:11px;font-style:normal;font-weight:700;line-height:1.2}.species-choice-topline{color:#6c6255;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;font-weight:700;display:flex}.species-ap-pill{color:#5d4229;background:#efe3d1;border-radius:999px;align-items:center;min-height:24px;padding:2px 9px;display:inline-flex}.species-base-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.species-stat{text-align:center;background:#fffdf8d1;border:1px solid #e1d5c3;border-radius:6px;gap:2px;min-width:0;padding:7px 6px;display:grid}.species-stat span{color:#6c6255;font-size:11px;font-weight:800}.species-stat strong{font-size:15px;line-height:1}.species-card-section{gap:5px;min-width:0;display:grid}.species-card-section-title{color:#6c6255;text-transform:uppercase;font-size:11px;font-weight:800}.value-modifier-chips{flex-wrap:wrap;gap:5px;display:flex}.value-modifier-chip{overflow-wrap:anywhere;border-radius:999px;align-items:center;min-width:0;max-width:100%;min-height:24px;padding:2px 8px;font-size:12px;font-weight:800;line-height:1.25;display:inline-flex}.species-stat .positive,.value-modifier-chip.positive{color:#23642b;background:#dff3df}.profession-choice-chip-block{gap:6px;min-width:0;display:grid}.profession-choice-chip{border-radius:8px;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:6px;width:100%;padding:6px 8px;line-height:1.3;display:grid}.profession-choice-chip strong{color:inherit;white-space:nowrap}.profession-choice-value{font-variant-numeric:tabular-nums;white-space:nowrap;background:#ffffff94;border-radius:999px;place-items:center;min-width:34px;min-height:22px;display:inline-grid}.profession-choice-chip small{min-width:0;color:inherit;opacity:.82;overflow-wrap:break-word;font-size:12px;font-weight:700}@media (width<=520px){.profession-choice-chip{grid-template-columns:auto auto}.profession-choice-chip small{grid-column:1/-1}}.species-stat .negative,.value-modifier-chip.negative{color:#922f1d;background:#ffe2dc}.species-stat .neutral,.value-modifier-chip.neutral,.value-modifier-empty{color:#6c6255;background:#eee6da}.value-modifier-empty,.species-granted-text{border-radius:6px;padding:6px 8px;font-size:12px;line-height:1.35}.species-granted-text{color:#5d5449;background:#f7efe3;font-weight:700}.choice.choice-usual{--choice-bg:#f3faef;--choice-border:#9fbd8f;--choice-hover-bg:#ebf6e4;--choice-hover-border:#6e965a}.choice-info-button{z-index:1;border-radius:999px;width:32px;height:32px;padding:0;font-weight:800;position:absolute;top:10px;right:10px}.choice-card-open .choice:not(.selected){--choice-bg:#fff8ed;--choice-border:#8a6a45}.choice-details-panel{color:#2f261c;background:#fffaf0;border:1px solid #8a6a45;border-radius:8px;gap:10px;margin-top:8px;padding:14px;display:grid;box-shadow:inset 0 1px #fff9}.choice-details-panel strong{font-size:1rem}.choice-details-panel dl{gap:8px;margin:0;display:grid}.choice-details-panel div{gap:2px;display:grid}.choice-details-panel dt{color:#6b5438;text-transform:uppercase;font-size:.73rem;font-weight:800}.choice-details-panel dd{overflow-wrap:anywhere;white-space:pre-line;margin:0;line-height:1.45}.rule-card-section{border-top:1px solid #eee4d6;gap:10px;padding-top:10px;display:grid}.rule-card-section>h4{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.profession-selection-layout{grid-template-columns:minmax(300px,.92fr) minmax(380px,.68fr);align-items:start;gap:18px;display:grid}.special-ability-selection-layout{grid-template-columns:minmax(320px,.9fr) minmax(380px,.7fr);align-items:start;gap:18px;display:grid}.increase-selection-layout{grid-template-columns:minmax(560px,1fr) minmax(320px,.48fr);align-items:start;gap:18px;display:grid}.increase-selection-main{gap:18px;min-width:0;display:grid}.entity-selection-layout{grid-template-columns:minmax(300px,.92fr) minmax(380px,.68fr);align-items:start;gap:18px;display:grid}.trait-selection-layout{grid-template-columns:minmax(520px,1fr) minmax(380px,.58fr);align-items:start;gap:18px;display:grid}.trait-selection-lists{align-items:start;min-width:0}.trait-selection-browser{gap:14px;min-width:0;display:grid}.trait-selection-lists .checklist{min-width:0}.trait-selection-browser .list-toolbar{grid-template-columns:minmax(260px,1fr) minmax(360px,auto);align-items:end;margin-bottom:0}.trait-selection-browser .segmented-control{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;display:grid}.trait-selection-browser .segmented-control button{text-overflow:ellipsis;min-width:0;padding:0 8px;overflow:hidden}.profession-selection-layout .choice-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.entity-selection-layout .choice-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.culture-choice-grid{gap:18px;min-width:0;display:grid}.culture-choice-section{gap:10px;min-width:0;display:grid}.culture-choice-section>header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.culture-choice-section h3{margin:0;font-size:17px}.culture-choice-section>header span{color:#6c6255;font-size:13px;font-weight:700}.culture-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.culture-choice-card{--choice-border:#d3c4ae;min-height:0;padding:14px}.culture-choice-summary{gap:10px;min-width:0;display:grid}.culture-choice-title-row{justify-content:space-between;align-items:start;gap:12px;min-width:0;display:flex}.culture-choice-title-row strong{overflow-wrap:anywhere;min-width:0;font-size:17px}.culture-card-footer,.culture-recommendation-note,.culture-card-more{color:#5d5449;font-size:13px;line-height:1.35}.culture-card-more{font-weight:800}.culture-card-professions{border-top:1px solid #eadfce;padding-top:8px}.culture-recommendation-note{color:#456a36;background:#e7f3df;border-radius:999px;width:fit-content;padding:5px 8px;font-weight:800}.profession-detail-panel{background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;gap:16px;min-width:0;max-height:calc(100vh - 36px);padding:18px;display:grid;position:sticky;top:18px;overflow:auto;box-shadow:0 18px 45px #372b1d1f}.profession-detail-header{border-bottom:1px solid #ded6c6;justify-content:space-between;gap:16px;min-width:0;padding-bottom:12px;display:flex}.profession-detail-header>div{min-width:0}.info-panel-header-actions{justify-content:flex-end;align-items:flex-start;gap:8px;min-width:0;display:flex}.profession-detail-header h3{overflow-wrap:anywhere;margin:0 0 4px;font-size:22px;line-height:1.18}.profession-detail-header span,.profession-detail-header strong{color:#5d5449}.profession-detail-header strong{white-space:nowrap}.info-panel-close{color:#5d5449;border-radius:999px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;min-height:0;padding:0;font-size:18px;font-weight:800;line-height:1;display:inline-flex}.special-ability-detail-panel .profession-detail-header strong{overflow-wrap:anywhere;text-align:right;white-space:normal;min-width:0;max-width:45%}.increase-detail-panel .profession-detail-header strong{overflow-wrap:anywhere;text-align:right;white-space:normal;min-width:0;max-width:42%}.language-detail-panel{gap:18px}.language-detail-panel .profession-detail-header{align-items:flex-start;padding-bottom:14px}.language-detail-title{flex-wrap:wrap;align-items:baseline;gap:3px 10px;min-width:0;display:flex}.language-detail-title strong{overflow-wrap:anywhere;white-space:normal;min-width:0;max-width:100%}.language-detail-title span{color:#6c6255;align-items:baseline;gap:10px;display:inline-flex}.language-detail-title span:before{content:"·";color:#8a7a67;font-weight:800}.language-detail-panel .profession-detail-section{gap:12px}.language-detail-panel .data-line{gap:6px;padding-top:12px}.language-detail-panel .data-line:first-child{border-top:0;padding-top:0}.profession-detail-section{gap:10px;min-width:0;display:grid}.profession-detail-section h4{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.value-change-block{border-top:1px solid #eee4d6;gap:8px;min-width:0;padding-top:10px;display:grid}.value-change-block h4{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.value-change-list{gap:6px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.value-change-item{background:#fffdf8;border:1px solid #eee4d6;border-left-width:4px;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:8px 10px;display:grid}.value-change-item strong{color:#2f261c;overflow-wrap:anywhere;min-width:0;font-size:14px}.value-change-values{color:#3d342b;white-space:nowrap;grid-auto-flow:column;align-items:center;gap:6px;font-size:13px;font-weight:800;display:grid}.value-change-number{color:#332d26;font-variant-numeric:tabular-nums;background:#f8f0e5;border:1px solid #ded6c6;border-radius:6px;place-items:center;width:28px;height:28px;display:inline-grid}.value-change-number.previous{color:#6c6255}.value-change-number.current{color:#24211d;background:#fffaf0}.value-change-arrow{color:#8a8072;font-size:15px}.value-change-delta{color:#4c3a2a;background:#eee4d6;border-radius:999px;padding:4px 8px;font-size:11px;line-height:1}.value-change-item.up{border-left-color:#4e7b47}.value-change-item.up .value-change-delta,.value-change-item.up .value-change-number.current{color:#285820;background:#edf7e8;border-color:#bed5ad}.value-change-item.down{border-left-color:#a4553f}.value-change-item.down .value-change-delta,.value-change-item.down .value-change-number.current{color:#7a2e1f;background:#fff0e8;border-color:#e5b9a8}.value-change-item.new{border-left-color:#8a6f32}.value-change-item.new .value-change-delta,.value-change-item.new .value-change-number.current{color:#6a4f13;background:#fff8d6;border-color:#dfc982}@media (width<=520px){.value-change-item{grid-template-columns:minmax(0,1fr);align-items:start}.value-change-values{justify-self:start}}.culture-profession-summary{border-top:1px solid #ded6c6;gap:8px;min-width:0;padding:10px 0;display:grid}.culture-profession-summary:first-child{border-top:0;padding-top:0}.culture-profession-summary>strong{color:#4c3a2a}.culture-profession-summary-compact{background:#fffaf0;border:1px solid #eee4d6;border-radius:8px;padding:10px}.culture-profession-list{gap:5px;min-width:0;display:grid}.culture-profession-list>span{color:#5d5449;text-transform:uppercase;font-size:11px;font-weight:800}.culture-profession-list ul{flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none;display:flex}.culture-profession-list li{color:#2f261c;background:#fffdf8;border:1px solid #ded6c6;border-radius:999px;min-width:0;padding:3px 8px;font-size:12px;line-height:1.35}.culture-profession-list .muted{margin:0;font-size:13px}.detail-copy{color:#3d342b;overflow-wrap:anywhere;margin:0;line-height:1.55}.source-link{color:#7f3f2a;font-size:13px;font-weight:800}.variant-option,.variant-card{background:#fffaf0;border:1px solid #ded6c6;border-radius:8px}.variant-option{text-align:left;justify-content:space-between;align-items:start;gap:12px;width:100%;min-height:0;padding:12px;display:flex}.variant-option-list{gap:10px;display:grid}.variant-card{gap:10px;padding:12px;display:grid}.variant-card>button{text-align:left;background:0 0;border:0;justify-content:space-between;gap:12px;width:100%;min-height:0;padding:0;display:flex}.variant-option span,.variant-card button span{gap:3px;min-width:0;display:grid}.variant-option small,.variant-card small{color:#6c6255;line-height:1.35}.variant-option em,.variant-card em{color:#5d5449;white-space:nowrap;font-style:normal;font-weight:800}.variant-option.selected,.variant-card.selected{background:#f3e5d4;border-color:#7f3f2a}.choice-detail{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;gap:12px;margin-top:18px;padding:16px;display:grid}.choice-detail h3{margin:0}.modifier-list{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.modifier-list li{color:#4f4539;background:#f3e5d4;border-radius:999px;padding:6px 10px;font-size:13px}.select-control{color:#5d5449;gap:8px;max-width:360px;font-size:13px;font-weight:700;display:grid}.select-control select{padding:9px 38px 9px 10px}.attribute-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.section-note{background:#f3e5d4;border-radius:8px;grid-column:1/-1;align-items:baseline;gap:10px;padding:12px;display:flex}.section-note strong{font-size:24px}.attribute-control{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;grid-template-columns:minmax(0,1fr) 36px 46px 36px;align-items:center;gap:8px;padding:12px;display:grid}.attribute-control div{gap:2px;min-width:0;display:grid}.attribute-control strong,.attribute-control span{overflow-wrap:anywhere}.attribute-control span{color:#6c6255;font-size:13px}.attribute-breakdown{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.species-modifier{border-radius:999px;align-items:center;padding:2px 7px;font-weight:800;display:inline-flex}.species-modifier.bonus{color:#23642b;background:#dff3df}.species-modifier.penalty{color:#922f1d;background:#ffe2dc}.species-modifier.neutral{color:#6c6255;background:#eee6da}.attribute-control button{width:36px;min-width:36px;min-height:36px;padding:0;font-size:20px;font-weight:700}.attribute-control output{color:#24211d;background:#f3e5d4;border-radius:6px;place-items:center;min-width:46px;min-height:36px;font-weight:800;display:grid}.two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.checklist{gap:10px;display:grid}.checklist h3{margin:0}.checklist-header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.checklist-header span{color:#5f4a31;text-align:right;font-size:13px;font-weight:800}.checklist-groups,.checklist-group{gap:10px;display:grid}.checklist-group{padding-top:6px}.checklist-group-header{background:#ead8bf;border:1px solid #cbb99f;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;display:flex}.checklist-group h4,.checklist-group-header h4{color:#5f4a31;margin:0;font-size:1rem}.check-row{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;display:grid}.special-ability-row{grid-template-columns:auto minmax(0,1fr) auto auto}.special-ability-row-parameterized{grid-template-columns:auto minmax(0,1fr) minmax(180px,240px) auto auto}.special-ability-parameter-list{gap:6px;display:grid}.special-ability-text-selection{width:100%;min-width:0}.special-ability-row.selected{background:#fff8ed;border-color:#8a6a45}.language-selection-layout{grid-template-columns:minmax(0,1fr) minmax(280px,360px);align-items:start;gap:18px;display:grid}.language-selection-main{gap:14px;min-width:0;display:grid}.language-budget-header span{text-align:right}.language-budget-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.language-budget-strip>div{background:#fffaf1;border:1px solid #d9cbb5;border-radius:8px;gap:2px;padding:10px 12px;display:grid}.language-budget-strip strong{color:#4d3824;font-size:1.25rem}.language-budget-strip span{color:#765f44;font-size:.82rem}.language-featured-section{background:#f3f8fb;border:1px solid #b8ccdc;border-radius:8px;gap:10px;padding:12px;display:grid}.language-featured-section>header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;display:flex}.language-featured-section>header span{color:#4b7491;letter-spacing:.04em;text-transform:uppercase;font-size:11px;font-weight:900}.language-featured-section>header strong{color:#2d536f;font-size:1rem}.language-featured-section>p{color:#365f81;margin:0;font-size:13px;line-height:1.45}.language-summary{gap:6px;min-width:0;display:grid}.language-name-line{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.language-name-line strong{color:#352719;font-size:1rem;line-height:1.2}.language-meta-pills{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.language-meta-pills span{color:#6a563d;background:#f9f2e8;border:1px solid #d7c8b4;border-radius:999px;align-items:center;min-height:22px;padding:2px 7px;font-size:11px;font-weight:800;line-height:1.2;display:inline-flex}.language-summary>small{color:#675c4f;overflow-wrap:anywhere;font-size:12px;line-height:1.35}.language-row{grid-template-columns:minmax(180px,.95fr) auto auto minmax(260px,1.25fr) auto;align-items:start}.native-language-button{color:#5d4a32;white-space:nowrap;background:#fffaf2;border:1px solid #c7b79f;border-radius:6px;min-height:34px;padding:6px 9px;font-size:12px;font-weight:850}.native-language-button.selected{color:#3f6c32;background:#ecf7e6;border-color:#7ea06e}.language-row-featured{background:#fbfdff;border-color:#9eb9cf}.language-script-options{flex-wrap:wrap;gap:8px;min-width:0;display:flex}.language-script-option{background:#fffaf2;border:1px solid #ded6c6;border-radius:6px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:7px;min-width:min(100%,180px);padding:7px 8px;display:grid;position:relative}.language-script-option.selected,.language-script-option.focused{background:#fff3df;border-color:#8a6a45}.language-script-option input{margin:0}.language-script-option span{gap:1px;min-width:0;font-weight:700;display:grid}.language-script-option small{color:#6c6255;font-size:11px;font-weight:600}.language-script-option[data-tooltip],.script-row[data-tooltip]{cursor:help}.language-script-option[data-tooltip]:before,.script-row[data-tooltip]:before{z-index:31;border:1px solid var(--tooltip-panel-border);background:var(--tooltip-panel-bg);content:"";opacity:0;pointer-events:none;border-top:0;border-left:0;width:8px;height:8px;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 2px);right:16px;transform:rotate(45deg)translateY(3px)}.language-script-option[data-tooltip]:after,.script-row[data-tooltip]:after{z-index:30;border:1px solid var(--tooltip-panel-border);background:var(--tooltip-panel-bg);width:max-content;max-width:min(360px,100vw - 24px);color:var(--tooltip-panel-fg);box-shadow:var(--tooltip-panel-shadow);content:attr(data-tooltip);opacity:0;pointer-events:none;text-align:left;overflow-wrap:anywhere;white-space:normal;border-radius:6px;padding:10px 12px;font-size:12px;font-weight:500;line-height:1.35;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 6px);right:0;transform:translateY(3px)}.script-row[data-tooltip]:after{right:12px}.script-row[data-tooltip]:before{right:28px}.language-script-option[data-tooltip]:hover:before,.language-script-option[data-tooltip]:focus-within:before,.script-row[data-tooltip]:hover:before,.script-row[data-tooltip]:focus-within:before{opacity:1;transform:rotate(45deg)translateY(0)}.language-script-option[data-tooltip]:hover:after,.language-script-option[data-tooltip]:focus-within:after,.script-row[data-tooltip]:hover:after,.script-row[data-tooltip]:focus-within:after{opacity:1;transform:translateY(0)}.language-script-empty{color:#6c6255;align-self:center;font-size:12px;font-style:italic}.script-list{gap:10px;display:grid}.script-row{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;position:relative}.script-summary{gap:7px;min-width:0;display:grid}.script-title-line{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.script-title-line strong{color:#352719;overflow-wrap:anywhere;min-width:0;font-size:1rem;line-height:1.2}.script-title-line>span{color:#5c4327;background:#f2e3cb;border:1px solid #c9b58f;border-radius:999px;flex:none;min-height:22px;padding:2px 8px;font-size:11px;font-weight:900;line-height:1.3}.script-meta-pills{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.script-meta-pills span{color:#6a563d;overflow-wrap:anywhere;background:#f9f2e8;border:1px solid #d7c8b4;border-radius:999px;align-items:center;max-width:100%;min-height:22px;padding:2px 7px;font-size:11px;font-weight:800;line-height:1.2;display:inline-flex}.script-summary small{color:#675c4f;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:66ch;font-size:12px;line-height:1.35;display:-webkit-box;overflow:hidden}.language-row.selected,.script-row.selected{background:#fff8ed;border-color:#8a6a45}.script-row-unavailable{opacity:.72}.special-ability-row-unavailable{background:#fff1ee;border-color:#d9a29a}.special-ability-row-unavailable input:not(:checked),.special-ability-row-unavailable label{cursor:not-allowed}.special-ability-row label{gap:3px;min-width:0;font-weight:700;display:grid}.special-ability-row small{color:#6c6255;overflow-wrap:anywhere;min-width:0;font-weight:500}.special-ability-row .profession-grant-note{color:#7f3f2a}.magical-ability-list{border:1px solid #ded6c6;border-radius:0 0 8px 8px;gap:0;display:grid;overflow:hidden}.magical-ability-row{cursor:pointer;border:0;border-top:1px solid #ded6c6;border-radius:0;grid-template-columns:auto minmax(160px,1fr) minmax(220px,2fr) auto}.magical-ability-row-own-tradition{background:#f1faed}.magical-ability-row-foreign-tradition{background:#fff8df}.magical-ability-row-wrong-tradition{background:#fff0e6}.magical-ability-row-unavailable{color:#74685a}.magical-ability-row-unavailable input:not(:checked),.magical-ability-row-unavailable label{cursor:not-allowed}.magical-ability-row:first-child{border-top:0}.magical-ability-row label{gap:4px;min-width:0;font-weight:800;display:grid}.magical-ability-row small{overflow-wrap:anywhere;min-width:0}.magical-ability-row.selected,.value-row.selected{background:#f3e5d4;position:relative}.magical-ability-row.selected:before,.value-row.selected:before{content:"";background:#7f3f2a;width:4px;position:absolute;inset:0 auto 0 0}.trait-row{align-items:start}.trait-row:not(.trait-level-row){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"select name info""select meta info"}.trait-row:not(.trait-level-row)>input[type=checkbox]{grid-area:select}.trait-row:not(.trait-level-row)>label{grid-area:name}.trait-row:not(.trait-level-row)>small{grid-area:meta}.trait-row:not(.trait-level-row) .trait-info-button{grid-area:info;justify-self:end}.trait-level-row{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name control info""meta meta meta"}.trait-level-row>span:first-child{grid-area:name;min-width:0}.trait-level-row>small{grid-area:meta;min-width:0}.trait-level-row>.trait-level-control{grid-area:control}.trait-level-row .trait-info-button{grid-area:info;justify-self:end}.trait-level-row>button:not(.trait-info-button){grid-area:control}.trait-parameterized-row{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name add info""meta meta meta""instances instances instances"}.trait-parameterized-row>button:not(.trait-info-button){grid-area:add;align-self:start}.trait-instance-list{counter-reset:trait-instance;grid-area:instances;gap:12px;margin-top:8px;display:grid;container-type:inline-size}.trait-instance-row{counter-increment:trait-instance;background:linear-gradient(#fffaf0f2,#faf3e8fa),#fffaf0;border:1px solid #d5c6b1;border-radius:8px;grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:10px;min-width:0;padding:12px;display:grid;position:relative;box-shadow:inset 0 1px #ffffffb8,0 1px 3px #372b1d14}.trait-instance-row:before{color:#6a563d;content:"Auswahl " counter(trait-instance);letter-spacing:.04em;text-transform:uppercase;grid-column:1/-1;padding-bottom:2px;font-size:11px;font-weight:900;line-height:1}.trait-instance-row-immunity{grid-template-columns:repeat(12,minmax(0,1fr))}.trait-instance-row label{align-items:center;gap:6px;font-size:.9rem;display:flex}.trait-instance-row>select{grid-column:span 7}.trait-instance-row>input{grid-column:span 5}.trait-instance-row>small{color:#5d4b35;white-space:nowrap;background:#f9f2e8;border:1px solid #d7c8b4;border-radius:999px;grid-column:span 2;place-self:center start;min-height:28px;padding:5px 8px;font-size:12px;font-weight:800;line-height:1.2}.trait-instance-row>button:last-child{color:#7f3f2a;background:#fff7f4;border-color:#d4b4aa;grid-column:span 2;justify-self:end;min-height:32px;padding:0 10px;font-size:12px;font-weight:800}.trait-instance-row>button:last-child:hover:not(:disabled){background:#ffece7;border-color:#b25d4e}.trait-instance-choice{grid-column:span 7;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;display:grid}.trait-instance-custom-button{white-space:nowrap;min-height:34px;padding:0 10px}.trait-instance-row .trait-instance-stepper{background:#fffdf8;border:1px solid #d7c8b4;border-radius:8px;grid-column:span 3;grid-template-columns:max-content 148px;place-self:center start;align-items:center;gap:8px;min-width:0;padding:6px 8px;display:grid}.trait-instance-row input,.trait-instance-row select{width:100%;min-width:0}@container (width<=560px){.trait-instance-row,.trait-instance-row-immunity{grid-template-columns:minmax(0,1fr)}.trait-instance-row>select,.trait-instance-row>input,.trait-instance-row>small,.trait-instance-row>button:last-child,.trait-instance-choice,.trait-instance-row .trait-instance-stepper{grid-column:1/-1}.trait-instance-row .trait-instance-stepper{grid-template-columns:minmax(0,1fr) 148px}.trait-instance-choice{grid-template-columns:minmax(0,1fr)}.trait-instance-row>button:last-child{justify-self:start}}.trait-row label,.trait-row>span:first-child{gap:4px;min-width:0;font-weight:600;display:grid}.trait-row small{overflow-wrap:anywhere;min-width:0}.trait-level-control{grid-template-columns:32px minmax(72px,auto) 32px;align-items:center;gap:6px;display:grid}.trait-level-control button{width:32px;height:32px;padding:0}.trait-level-control output{text-align:center;font-weight:800}.trait-info-button{border-radius:999px;width:32px;height:32px;padding:0;font-weight:800}.trait-detail-sidebar .profession-detail-header strong{overflow-wrap:anywhere;text-align:right;white-space:normal;min-width:0;max-width:44%}.trait-row-open{background:#fff8ed;border-color:#8a6a45}.trait-row-typical{background:#f3faef;border-color:#9fbd8f}.trait-row-atypical{background:#fff1ee;border-color:#d9a29a}.trait-row-typical.trait-row-open{background:#eef8e8;border-color:#6e965a}.trait-row-atypical.trait-row-open{background:#ffe9e5;border-color:#bd756b}.trait-details-panel{color:#2f261c;background:#fffaf0;border:1px solid #8a6a45;border-radius:8px;grid-column:1/-1;gap:10px;margin-top:6px;padding:14px;display:grid;box-shadow:inset 0 1px #fff9}.trait-details-panel-embedded{box-shadow:none;background:0 0;border:0;grid-column:auto;margin-top:0;padding:0}.trait-details-panel strong{font-size:1rem}.trait-details-panel dl{gap:8px;margin:0;display:grid}.trait-details-panel div{gap:2px;display:grid}.trait-details-panel dt{color:#6b5438;text-transform:uppercase;font-size:.73rem;font-weight:800}.trait-details-panel dd{overflow-wrap:anywhere;margin:0;line-height:1.45}.personality-rule-text{gap:8px;display:grid}.personality-rule-text p{gap:2px;margin:0;display:grid}.personality-rule-text strong{font-size:.95rem;font-weight:800}.skill-groups{gap:18px;display:grid}.skill-group{gap:0;display:grid}.collapsible-category{min-width:0}.collapsible-category-summary{cursor:pointer;-webkit-user-select:none;user-select:none;list-style:none;position:relative}.collapsible-category-summary::-webkit-details-marker{display:none}.collapsible-category-summary:after{content:"v";color:#7f3f2a;flex:none;font-size:12px;font-weight:900;transition:transform .14s;transform:rotate(0)}.collapsible-category:not([open])>.collapsible-category-summary:after{transform:rotate(-90deg)}.collapsible-category:not([open])>.collapsible-category-summary{border-bottom:1px solid #cbb99f;border-radius:8px}.collapsible-category:not([open])>:not(summary){display:none}.collapsible-category-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:0;margin-left:auto;display:inline-flex}.category-status-pill{color:#4f4539;white-space:nowrap;background:#f6f3ec;border:1px solid #c8b89f;border-radius:999px;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.category-status-pill-danger{color:#842d17;background:#ffe5dc;border-color:#d48874}.category-status-pill-warning{color:#765200;background:#fff3cd;border-color:#dfbd64}.category-status-pill-positive{color:#2f6f35;background:#eef8e8;border-color:#9fbd8f}.skill-group-header{background:#ead8bf;border:1px solid #cbb99f;border-bottom:0;border-radius:8px 8px 0 0;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 14px;display:flex}.skill-group-header h3{margin:0;font-size:17px}.skill-group-header>span{color:#6c6255;text-align:right;margin-left:auto;font-size:13px;font-weight:700}.skill-group .value-table{border-radius:0 0 8px 8px}.equipment-shop{gap:18px;display:grid}.equipment-budget{z-index:8;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid;position:sticky;top:14px}.equipment-budget div{background:#fffdf8;border:1px solid #d6c7af;border-radius:8px;gap:4px;padding:12px;display:grid}.equipment-budget span,.equipment-section-header>span,.equipment-row small{color:#6c6255;font-size:12px;font-weight:700}.equipment-budget strong{font-size:22px;line-height:1}.equipment-budget-spent{color:#b5452f}.equipment-budget-remaining{color:#2f7d35}.equipment-budget.over-budget div:last-child{color:#8f2d1d;background:#fff1ec;border-color:#b5452f}.equipment-section{gap:0;width:100%;min-width:0;max-width:100%;display:grid;overflow:hidden}.equipment-section-header{background:#ead8bf;border:1px solid #cbb99f;border-bottom:0;border-radius:8px 8px 0 0;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 14px;display:flex}.equipment-section-header h3{margin:0;font-size:17px}.equipment-section-header>span{text-align:right;margin-left:auto}.equipment-grid{box-sizing:border-box;border:1px solid #ded6c6;border-radius:0 0 8px 8px;width:100%;min-width:0;max-width:100%;display:grid;overflow:auto}.equipment-row{box-sizing:border-box;background:#fffdf8;border-top:1px solid #ded6c6;align-items:center;gap:10px;width:100%;min-width:0;padding:10px 12px;display:grid}.equipment-row:first-child{border-top:0}.equipment-row>span,.equipment-quantity-field{overflow-wrap:anywhere;min-width:0}.equipment-item-main{gap:2px;display:grid}.equipment-row strong,.equipment-row small{overflow-wrap:anywhere;min-width:0}.equipment-total-cell{font-weight:800}.equipment-head{color:#5d5449;background:#f3e5d4;font-size:13px;font-weight:700}.equipment-grid-melee .equipment-row,.equipment-grid-ranged .equipment-row{grid-template-columns:minmax(180px,1fr) 70px 74px 70px 60px 82px 95px 148px 70px}.equipment-grid-armor .equipment-row{grid-template-columns:minmax(200px,1fr) 52px 52px 130px 82px 95px 148px 70px}.equipment-grid-general .equipment-row{grid-template-columns:minmax(170px,1fr) 120px 80px minmax(120px,1fr) 95px 110px 148px 70px}.value-table{border:1px solid #ded6c6;border-radius:8px;display:grid;overflow:hidden}.value-row{background:#fffdf8;border-top:1px solid #ded6c6;grid-template-columns:minmax(0,1fr) 56px 124px 72px;align-items:center;gap:12px;padding:12px 14px;display:grid;position:relative}.value-row:not(.value-head){cursor:pointer}.value-row:focus-visible,.magical-ability-row:focus-visible{outline-offset:-3px;outline:3px solid #7f3f2a59}.value-row-with-ap{grid-template-columns:minmax(0,1fr) 56px 124px 72px 82px}.value-row:first-child{border-top:0}.value-head{color:#5d5449;background:#f3e5d4;font-size:13px;font-weight:700}.value-row span:first-child{gap:2px;min-width:0;display:grid}.value-row strong,.value-row small{overflow-wrap:anywhere;min-width:0}.value-head-muted,.value-stepper-field-muted{color:#7a7167}.value-head-result{color:#24211d}.value-base-cell,.value-ap-cell{color:#5d5449;font-weight:700}.value-base-cell,.value-result-cell,.value-ap-cell,.value-head span:not(:first-child){text-align:center}.value-stepper-field{justify-items:center;min-width:0;display:grid}.value-result-cell{color:#24211d;font-size:20px;font-weight:900;line-height:1}.number-stepper{grid-template-columns:32px minmax(40px,auto) 32px;width:116px;min-width:0}.value-stepper-field-muted .number-stepper{width:116px;min-width:0}.value-stepper-field-muted .number-stepper button{color:#5d5449;background:#fffaf0;border-color:#d8cdb9}.value-stepper-field-muted .number-stepper output{color:#5d5449;font-size:14px;font-weight:700}.equipment-row select{width:100%;min-width:0}.wizard-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.wizard-actions button,.topbar-actions button{padding:8px 14px}.alert{margin:16px 24px 0}.character-sheet{background:#fffdf8;border:1px solid #ded6c6;border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:1320px;margin:0 auto;padding:24px;display:grid}.sheet-header,.sheet-identity,.sheet-wide{grid-column:1/-1}.sheet-header{border-bottom:2px solid #6b5438;justify-content:space-between;align-items:end;gap:18px;padding-bottom:12px;display:flex}.sheet-title-block{gap:12px;min-width:0;display:grid}.sheet-header h2{margin:0;font-size:32px;line-height:1.1}.sheet-profile-image{grid-template-columns:112px minmax(260px,520px);align-items:start;gap:12px;max-width:660px;display:grid}.sheet-profile-frame{aspect-ratio:1;color:#7b6a55;background:#f3eadc;border:1px solid #bcae98;border-radius:8px;place-items:center;width:112px;font-size:34px;font-weight:800;display:grid;overflow:hidden}.sheet-profile-button{cursor:zoom-in;padding:0}.sheet-profile-button:hover:not(:disabled),.sheet-profile-button:focus-visible{border-color:#7a5430;box-shadow:0 0 0 3px #7a54302e}.sheet-profile-frame img{object-fit:cover;width:100%;height:100%}.sheet-profile-actions{align-content:center;gap:7px;min-width:0;display:grid}.sheet-profile-manage{color:#3c342c;background:#fffaf0;border-color:#bcae98;width:fit-content;min-height:36px;padding:0 12px;font-size:13px;font-weight:800}.sheet-profile-manage:hover,.sheet-profile-manage:focus-visible{border-color:#7a5430;box-shadow:0 0 0 3px #7a543029}.sheet-profile-control-bar{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.sheet-profile-actions button,.sheet-reference-upload{min-height:34px;padding:0 10px;font-size:13px;font-weight:800}.sheet-profile-generate{color:#fffaf0;background:#7a5430;min-width:min(100%,190px)}.sheet-profile-generate:hover:not(:disabled),.sheet-profile-generate:focus-visible{border-color:#4f3017;box-shadow:0 0 0 3px #7a54302e}.sheet-profile-actions .secondary,.sheet-reference-upload{color:#3c342c;background:#fffaf0;border:1px solid #bcae98}.sheet-reference-upload{cursor:pointer;border-radius:8px;place-items:center;display:inline-grid;position:relative}.sheet-profile-compact-button.active{background:#f4e6d2;border-color:#7a5430}.sheet-profile-remove-reference{width:34px;padding:0;font-size:20px;line-height:1}.sheet-reference-upload:hover,.sheet-reference-upload:focus-within,.sheet-profile-actions .secondary:hover:not(:disabled),.sheet-profile-actions .secondary:focus-visible{border-color:#7a5430;box-shadow:0 0 0 3px #7a543029}.sheet-reference-upload input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sheet-profile-meta-row{flex-wrap:wrap;align-items:center;gap:6px 10px;min-height:22px;display:flex}.sheet-profile-composition{border:0;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin:0;padding:0;display:inline-flex}.sheet-profile-composition legend{color:#5d5449;text-transform:uppercase;margin-right:2px;padding:0;font-size:11px;font-weight:800}.sheet-profile-composition label{color:#3f372f;align-items:center;gap:5px;min-height:24px;font-size:12px;font-weight:700;display:inline-flex}.sheet-profile-composition input[type=radio]{width:14px;height:14px;margin:0}.sheet-reference-preview{color:#6c6154;background:#fffaf0;border:1px solid #ded2bf;border-radius:999px;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:6px;max-width:min(100%,260px);padding:3px 8px 3px 3px;font-size:12px;font-weight:700;display:inline-grid}.sheet-reference-preview img{aspect-ratio:1;object-fit:cover;border:1px solid #cbbda8;border-radius:999px;width:26px}.sheet-reference-preview span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sheet-camera-capture{grid-template-columns:minmax(112px,156px) max-content;align-items:end;gap:6px;display:grid}.sheet-camera-capture video{aspect-ratio:4/3;object-fit:cover;background:#1f1b17;border:1px solid #bcae98;border-radius:8px;width:100%}.sheet-profile-actions small{color:#6c6154;font-size:12px;line-height:1.3}.sheet-profile-error{color:#842d17;margin:0;font-size:13px;font-weight:700}.sheet-profile-throttle{color:#6e3d12;margin:0;font-size:12px;font-weight:700}.sheet-profile-overlay{z-index:1000;background:#181410d1;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.sheet-profile-modal{color:#fffaf0;background:#17130f;border:1px solid #fffaf052;border-radius:8px;gap:12px;max-width:min(1040px,100%);max-height:calc(100vh - 48px);padding:16px;display:grid;position:relative;overflow:auto;box-shadow:0 24px 80px #00000073}.sheet-profile-modal img{object-fit:contain;border-radius:6px;max-width:min(92vw,1024px);max-height:82vh;display:block}.sheet-profile-modal p{color:#efe3cf;text-align:center;margin:0;font-size:14px;font-weight:700}.sheet-profile-close{color:#fffaf0;background:#fffaf01f;border-color:#fffaf059;justify-self:end;min-height:34px;padding:0 12px}.sheet-profile-gallery{grid-column:1/-1}.sheet-profile-gallery-grid{flex-wrap:wrap;gap:10px;display:flex}.sheet-profile-thumb{color:#4b433a;background:#fffaf0;border-color:#d1c2ad;gap:6px;width:92px;min-height:122px;padding:6px;font-size:11px;font-weight:700;display:grid}.sheet-profile-thumb img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:78px}.sheet-profile-thumb span{overflow-wrap:anywhere;line-height:1.2}.sheet-profile-thumb-selected{background:#f4e6d2;border-color:#7a5430;box-shadow:inset 0 0 0 2px #7a543047}.profile-manager-overlay{z-index:1000;background:#181410b8;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.profile-manager-modal{background:#fbf7ee;border:1px solid #c7b79e;border-radius:8px;grid-template-rows:auto minmax(0,1fr);width:min(1120px,100%);max-height:calc(100vh - 44px);display:grid;overflow:hidden;box-shadow:0 24px 80px #1f181061}.profile-manager-header{border-bottom:1px solid #ded2bf;justify-content:space-between;align-items:start;gap:16px;padding:18px 20px 14px;display:flex}.profile-manager-header h2{margin:0;font-size:24px;line-height:1.12}.profile-manager-close{color:#3c342c;background:#fffaf0;border-color:#bcae98;min-height:36px;padding:0 12px;font-weight:800}.profile-manager-body{grid-template-columns:minmax(260px,360px) minmax(0,1fr);min-height:0;display:grid;overflow:auto}.profile-manager-preview,.profile-manager-workspace{align-content:start;gap:14px;min-width:0;padding:18px 20px;display:grid}.profile-manager-preview{background:#f5ecdc;border-right:1px solid #ded2bf}.profile-manager-current{aspect-ratio:1;color:#7b6a55;background:#efe2cf;border:1px solid #bcae98;border-radius:8px;place-items:center;width:min(100%,320px);font-size:46px;font-weight:800;display:grid;overflow:hidden}.profile-manager-current img{object-fit:cover;width:100%;height:100%}.profile-manager-current button{cursor:zoom-in;background:0 0;border:0;width:100%;height:100%;padding:0;overflow:hidden}.profile-manager-current button:hover,.profile-manager-current button:focus-visible{box-shadow:inset 0 0 0 4px #7a54304d}.profile-manager-preview p,.profile-manager-action-header p,.profile-manager-reference p,.profile-manager-empty{color:#665a4e;margin:0;font-size:13px;font-weight:700;line-height:1.35}.profile-manager-gallery{grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px;display:grid}.profile-manager-thumb{gap:6px;display:grid}.profile-manager-thumb>button:first-child{color:#4b433a;background:#fffaf0;border-color:#d1c2ad;gap:6px;min-height:132px;padding:6px;font-size:11px;font-weight:700;display:grid}.profile-manager-thumb.selected>button:first-child{background:#f4e6d2;border-color:#7a5430;box-shadow:inset 0 0 0 2px #7a543047}.profile-manager-thumb img{aspect-ratio:1;object-fit:cover;border-radius:6px;width:100%}.profile-manager-thumb span{overflow-wrap:anywhere;line-height:1.2}.profile-manager-delete{color:#7b2b16;background:#fff6f0;border-color:#c58f7d;min-height:30px;font-size:12px;font-weight:800}.profile-image-lightbox-backdrop{z-index:1200;background:#181410d6;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.profile-image-lightbox{color:#fffaf0;background:#17130f;border:1px solid #fffaf047;border-radius:8px;grid-template-rows:auto minmax(0,1fr);gap:14px;width:min(960px,100%);max-height:calc(100vh - 48px);padding:16px;display:grid;box-shadow:0 24px 80px #0000007a}.profile-image-lightbox header{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.profile-image-lightbox h2{color:#fffaf0;overflow-wrap:anywhere;min-width:0;margin:0;font-size:16px;line-height:1.25}.profile-image-lightbox button{color:#fffaf0;background:#fffaf01f;border-color:#fffaf059;min-height:34px;padding:0 12px;font-weight:800}.profile-image-lightbox img{object-fit:contain;border-radius:6px;place-self:center;max-width:100%;max-height:calc(100vh - 138px);display:block}.profile-manager-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;display:flex}.profile-manager-composition{border:0;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;display:flex}.profile-manager-composition legend,.profile-manager-action-header h3,.profile-manager-section-header h3{color:#3c342c;margin:0;font-size:14px;font-weight:900}.profile-manager-composition label{align-items:center;gap:6px;min-height:28px;font-size:13px;font-weight:800;display:inline-flex}.profile-manager-composition input[type=radio]{width:15px;height:15px;margin:0}.profile-manager-generate{color:#fffaf0;background:#7a5430;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:14px;font-weight:900;display:inline-flex}.profile-manager-generate:hover:not(:disabled),.profile-manager-generate:focus-visible{border-color:#4f3017;box-shadow:0 0 0 3px #7a54302e}.profile-manager-generate-spinner{border:2px solid #fffaf073;border-top-color:#fffaf0;border-radius:50%;width:16px;height:16px;animation:.8s linear infinite profile-manager-spin}@keyframes profile-manager-spin{to{transform:rotate(360deg)}}.profile-manager-workspace,.profile-manager-generation-zone,.profile-manager-upload-zone{align-content:start;gap:14px;display:grid}.profile-manager-upload-zone,.profile-manager-generation-zone{background:#fffaf0;border:1px solid #ded2bf;border-radius:8px;padding:14px}.profile-manager-upload-zone{background:#f5ecdc;border-color:#c7b79e}.profile-manager-generation-zone{background:#fbf7ee}.profile-manager-action-header{justify-content:space-between;align-items:start;gap:14px;display:flex}.profile-manager-action-header>div{gap:4px;min-width:0;display:grid}.profile-manager-crop-editor{grid-template-columns:minmax(180px,240px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.profile-manager-crop-preview{background-color:#fdf8ef;background-image:linear-gradient(45deg,#7a543014 25%,#0000 25%),linear-gradient(-45deg,#7a543014 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#7a543014 75%),linear-gradient(-45deg,#0000 75%,#7a543014 75%),none;background-position:0 0,0 10px,10px -10px,-10px 0;background-repeat:repeat,repeat,repeat,repeat,repeat;background-size:20px 20px;background-attachment:scroll,scroll,scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box,border-box,border-box;border:1px solid #c7b79e;border-radius:8px;place-items:center;min-width:0;padding:10px;display:grid}.profile-manager-crop-stage{touch-action:none;cursor:grab;width:100%;max-width:220px;position:relative}.profile-manager-crop-stage:active{cursor:grabbing}.profile-manager-crop-stage canvas{aspect-ratio:1;background:#efe2cf;border:2px solid #7a5430;border-radius:8px;width:100%;display:block;box-shadow:0 10px 24px #1f181029}.profile-manager-crop-frame{pointer-events:none;border:2px solid #fffaf0eb;border-radius:8px;position:absolute;inset:0;box-shadow:inset 0 0 0 1px #7a5430d6,0 0 0 1px #1f18102e}.profile-manager-crop-frame:before,.profile-manager-crop-frame:after{content:"";border-top:1px solid #fffaf0b3;border-bottom:1px solid #fffaf0b3;position:absolute;inset:33.333% 0}.profile-manager-crop-frame:after{border:0;border-left:1px solid #fffaf0b3;border-right:1px solid #fffaf0b3;inset:0 33.333%}.profile-manager-crop-handle{z-index:1;pointer-events:auto;background:#7a5430;border:2px solid #fffaf0;border-radius:50%;width:18px;height:18px;min-height:0;padding:0;position:absolute;box-shadow:0 2px 8px #1f181047}.profile-manager-crop-handle.top-left{cursor:nwse-resize;top:-9px;left:-9px}.profile-manager-crop-handle.top-right{cursor:nesw-resize;top:-9px;right:-9px}.profile-manager-crop-handle.bottom-left{cursor:nesw-resize;bottom:-9px;left:-9px}.profile-manager-crop-handle.bottom-right{cursor:nwse-resize;bottom:-9px;right:-9px}.profile-manager-crop-controls{gap:10px;min-width:0;display:grid}.profile-manager-crop-controls p{color:#665a4e;overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:800;line-height:1.35}.profile-manager-crop-controls label{color:#3c342c;gap:5px;font-size:12px;font-weight:900;display:grid}.profile-manager-crop-controls input[type=range]{accent-color:#7a5430;width:100%}.profile-manager-crop-actions{flex-wrap:wrap;gap:8px;padding-top:2px;display:flex}.profile-manager-crop-actions button,.profile-manager-save-upload{color:#3c342c;background:#fffaf0;border:1px solid #bcae98;border-radius:8px;min-height:34px;padding:0 10px;font-size:13px;font-weight:800}.profile-manager-save-upload{color:#fffaf0;background:#7a5430;border-color:#7a5430}.profile-manager-reference-source,.profile-manager-reference,.profile-manager-camera{background:#fffaf0;border:1px solid #ded2bf;border-radius:8px;align-content:start;gap:10px;min-width:0;padding:14px;display:grid}.profile-manager-reference-source{background:#f8f0e3}.profile-manager-source-options{border:0;flex-wrap:wrap;align-items:center;gap:10px;margin:0;padding:0;display:flex}.profile-manager-source-options legend{color:#665a4e;text-transform:uppercase;width:100%;font-size:12px;font-weight:900}.profile-manager-source-options label{color:#3c342c;background:#fffaf0;border:1px solid #cbbda8;border-radius:8px;align-items:center;gap:6px;min-height:30px;padding:0 10px;font-size:13px;font-weight:800;display:inline-flex}.profile-manager-source-options input[type=radio]{width:15px;height:15px;margin:0}.profile-manager-section-header{justify-content:space-between;align-items:center;gap:10px;display:flex}.profile-manager-section-header button,.profile-manager-camera>button,.profile-manager-upload{color:#3c342c;background:#fffaf0;border:1px solid #bcae98;border-radius:8px;min-height:34px;padding:0 10px;font-size:13px;font-weight:800}.profile-manager-upload{cursor:pointer;place-items:center;width:fit-content;display:inline-grid;position:relative}.profile-manager-upload.disabled{cursor:not-allowed;opacity:.56}.profile-manager-upload input{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.profile-manager-reference-preview{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.profile-manager-reference-preview img{aspect-ratio:1;object-fit:cover;border:1px solid #cbbda8;border-radius:6px;width:72px}.profile-manager-reference-preview span{color:#4b433a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800;overflow:hidden}.profile-manager-camera-preview{aspect-ratio:4/3;color:#efe3cf;background:#1f1b17;border:1px solid #bcae98;border-radius:8px;place-items:center;width:100%;font-size:13px;font-weight:800;display:grid;overflow:hidden}.profile-manager-camera-preview video{object-fit:cover;width:100%;height:100%}.profile-manager-error,.profile-manager-throttle{margin:0;font-size:13px;font-weight:800}.profile-manager-error{color:#842d17}.profile-manager-throttle{color:#6e3d12}.sheet-ap-summary,.sheet-identity{gap:10px;margin:0;display:grid}.sheet-ap-summary{grid-template-columns:repeat(2,minmax(90px,1fr))}.sheet-ap-summary div,.sheet-field,.sheet-stat,.sheet-section{min-width:0}.sheet-ap-summary div,.sheet-field{gap:3px;display:grid}.sheet-ap-summary dt,.sheet-field dt,.sheet-stat span,.sheet-table th,.sheet-table-group h4{color:#5d5449;text-transform:uppercase;font-size:12px;font-weight:800}.sheet-ap-summary dd,.sheet-field dd{color:#24211d;margin:0;font-weight:800}.sheet-identity{border-bottom:1px solid #ded6c6;grid-template-columns:repeat(4,minmax(0,1fr));padding-bottom:12px}.sheet-section{align-content:start;gap:10px;padding-top:2px;display:grid}.sheet-section h3{border-bottom:1px solid #6b5438;margin:0;padding-bottom:5px;font-size:16px}.sheet-stat-grid,.sheet-attribute-grid{gap:8px;display:grid}.sheet-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-attribute-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.sheet-stat{text-align:center;background:#fffaf0;border:1px solid #ded6c6;border-radius:6px;justify-items:center;gap:2px;padding:8px 6px;display:grid}.sheet-stat strong{font-size:22px;line-height:1}.sheet-stat small{color:#6c6255;font-size:11px;line-height:1.2}.sheet-skill-columns{column-count:3;column-gap:16px}.sheet-table-group{break-inside:avoid;gap:4px;width:100%;margin:0 0 10px;display:inline-grid}.sheet-table-group h4{margin:0}.sheet-table{border-collapse:collapse;width:100%;font-size:13px}.sheet-table th,.sheet-table td{text-align:left;vertical-align:top;border:1px solid #ded6c6;padding:4px 6px}.sheet-table th:last-child,.sheet-table td:last-child{text-align:right;font-weight:800}.sheet-combat-table{table-layout:fixed}.sheet-list{gap:4px;margin:0;padding-left:18px;font-size:13px;line-height:1.35;display:grid}.sheet-empty,.sheet-total{color:#6c6255;margin:0;font-size:13px}.sheet-total{color:#24211d;font-weight:800}@media (width<=980px){.topbar,.workspace,.rules-browser,.two-column,.profession-selection-layout,.entity-selection-layout,.trait-selection-layout,.increase-selection-layout,.special-ability-selection-layout{grid-template-columns:1fr}.topbar{display:grid}.context-toolbar{justify-content:start}.creator-panel{order:2}.sidebar{border-bottom:1px solid #ded6c6;border-right:0;order:1}.sidebar-sticky-summary{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;max-height:none;position:static;overflow:visible}.sidebar-sticky-summary .summary-block:first-child{grid-column:1/-1}.rules-nav{border-bottom:1px solid #ded6c6;border-right:0;grid-template-columns:repeat(2,minmax(0,1fr))}.rules-nav h2{grid-column:1/-1}.character-sheet,.sheet-identity{grid-template-columns:1fr}.sheet-header{display:grid}.sheet-profile-image{grid-template-columns:96px minmax(0,1fr);margin-left:0}.sheet-profile-frame{width:96px}.profile-manager-overlay{padding:12px}.profile-manager-body{grid-template-columns:1fr}.profile-manager-preview{border-bottom:1px solid #ded2bf;border-right:0}.profile-manager-current{width:min(100%,260px)}.sheet-attribute-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-skill-columns{column-count:1}.equipment-budget{grid-template-columns:1fr}.rules-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.stepper{grid-template-columns:repeat(2,minmax(0,1fr))}.profession-detail-panel{max-height:none;position:static}}@media (width<=620px){.topbar,.context-toolbar,.creator-panel,.sidebar,.rules-content,.rules-nav,.step-content{padding:16px}.topbar-title{flex-wrap:wrap;gap:12px;width:100%;min-width:0}.brand-lockup{min-width:208px}.topbar-context{flex:180px;padding-left:14px}.topbar-actions{justify-content:stretch;width:100%;display:grid}.list-toolbar{grid-template-columns:1fr}.segmented-control{scrollbar-width:thin;overflow-x:auto}.view-nav{scrollbar-width:thin;width:100%;display:flex;overflow-x:auto}.view-nav button{white-space:nowrap;flex:none;min-width:0;padding:0 12px;font-size:13px}.nav-menu{flex:none}.nav-menu summary{padding:0 12px;font-size:13px}.character-menu,.user-menu{width:100%}.character-menu summary{justify-content:space-between}.character-menu summary strong{max-width:48vw}.character-menu-panel,.user-menu-panel{box-sizing:border-box;width:100%;left:0;right:auto}.context-toolbar{grid-template-columns:max-content minmax(0,1fr);align-items:end;gap:10px;display:grid}.context-toolbar .reset-character-button{width:auto;min-height:40px;padding:0 12px}.context-toolbar .character-menu{min-width:0}.skill-groups,.checklist-groups{gap:12px}.language-selection-layout,.language-budget-strip,.language-row{grid-template-columns:1fr}.profile-manager-action-header{justify-items:start;display:grid}.profile-manager-crop-editor{grid-template-columns:1fr}.profile-manager-crop-stage{max-width:260px}.skill-group-header,.checklist-group-header,.equipment-section-header{align-items:center;padding:10px 12px}.skill-group-header h3,.equipment-section-header h3,.checklist-group-header h4{font-size:15px}.skill-group-header>span,.checklist-group-header>span,.equipment-section-header>span,.category-status-pill{font-size:11px}.collapsible-category:not([open])>.collapsible-category-summary{border-bottom:1px solid #cbb99f}.value-table{border:0;border-radius:0;gap:10px;overflow:visible}.value-row,.value-row-with-ap{border:1px solid #ded6c6;border-radius:8px;grid-template-columns:1fr;gap:8px;padding:12px;box-shadow:0 1px #24211d0a}.value-row:first-child{border-top:1px solid #ded6c6}.value-main{border-bottom:1px solid #eadfce;padding-bottom:8px}.value-cell,.value-stepper-field{color:#24211d;text-align:right;border-bottom:1px solid #f0e7d9;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;font-size:13px;display:flex}.value-cell:before,.value-stepper-field:before{content:attr(data-label);color:#6c6255;text-align:left;text-transform:uppercase;flex:none;font-size:11px;font-weight:800}.value-row .value-cell:last-child,.value-row .value-stepper-field:last-child{border-bottom:0}.value-result-cell{color:#24211d;font-size:20px;font-weight:900}.value-stepper-field .number-stepper{justify-self:end;min-width:132px}.magical-ability-list{border:0;border-radius:0;gap:10px;overflow:visible}.magical-ability-row{border:1px solid #ded6c6;border-radius:8px;grid-template-columns:auto minmax(0,1fr);gap:8px 10px}.magical-ability-row:first-child{border-top:1px solid #ded6c6}.magical-ability-row>small{grid-column:1/-1;padding-top:2px}.magical-ability-row .trait-level-control{grid-column:1/-1;justify-self:end;width:100%;max-width:190px}.special-ability-row{grid-template-columns:auto minmax(0,1fr) auto;gap:8px 10px}.special-ability-row>label{grid-column:2}.special-ability-row>select,.special-ability-row>.special-ability-text-selection,.special-ability-row>.trait-level-control{grid-column:1/-1;width:100%}.special-ability-row>.trait-info-button{grid-area:1/3}.equipment-shop{gap:14px}.equipment-budget{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;position:static}.equipment-budget div{gap:3px;padding:9px 8px}.equipment-budget span{font-size:10px}.equipment-budget strong{overflow-wrap:anywhere;font-size:15px}.equipment-section{gap:0}.equipment-grid{border:0;border-radius:0;gap:10px;overflow:visible}.equipment-head{display:none}.stepper,.rules-nav,.rules-content-header,.rules-overview,.equipment-row,.equipment-grid-melee .equipment-row,.equipment-grid-ranged .equipment-row,.equipment-grid-armor .equipment-row,.equipment-grid-general .equipment-row,.profession-selection-layout .choice-grid{grid-template-columns:1fr}.equipment-row{border:1px solid #ded6c6;border-radius:8px;gap:10px;min-width:0;padding:12px;box-shadow:0 1px #24211d0a}.equipment-row:first-child{border-top:1px solid #ded6c6}.equipment-item-main{border-bottom:1px solid #eadfce;gap:3px;padding-bottom:8px}.equipment-item-main strong{font-size:15px}.equipment-cell,.equipment-total-cell{color:#24211d;text-align:right;border-bottom:1px solid #f0e7d9;justify-content:space-between;align-items:baseline;gap:12px;padding:7px 0;font-size:13px;display:flex}.equipment-cell:before,.equipment-total-cell:before,.equipment-quantity-field:before{content:attr(data-label);color:#6c6255;text-align:left;text-transform:uppercase;flex:none;font-size:11px;font-weight:800}.equipment-total-cell{border-bottom:0;margin-top:-2px;padding:9px 0 0;font-size:14px}.equipment-quantity-field{border-bottom:1px solid #f0e7d9;grid-template-columns:minmax(0,1fr) minmax(132px,auto);align-items:center;gap:12px;padding:8px 0;display:grid}.equipment-quantity-field .number-stepper{justify-self:end;min-width:132px}.equipment-row select{justify-self:end;max-width:160px}.rules-content-header{align-items:start;display:grid}.rules-card-grid{grid-template-columns:1fr}.rule-card-header{display:grid}.rule-card-meta{text-align:left;justify-items:start;max-width:none}.bestiary-filter-panel header{display:grid}.bestiary-filter-grid,.attribute-grid{grid-template-columns:1fr}.sidebar-sticky-summary{grid-template-columns:1fr;gap:14px}.sidebar-sticky-summary .summary-block:first-child{grid-column:auto}.budget-facts,.money-dashboard .budget-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.snapshot-row{grid-template-columns:1fr;gap:4px}.snapshot-row button,.snapshot-row-input input{text-align:left}.base-value-grid,.attribute-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.attribute-control{grid-template-columns:1fr 36px 46px 36px}.value-head{display:none}.trait-parameterized-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"name info""meta meta""add add""instances instances"}.trait-parameterized-row>button:not(.trait-info-button){justify-self:start}.trait-instance-row,.trait-instance-row-immunity{grid-template-columns:minmax(0,1fr)}.trait-instance-row>select,.trait-instance-row>input,.trait-instance-row>small,.trait-instance-row>button:last-child,.trait-instance-choice,.trait-instance-row .trait-instance-stepper{grid-column:1/-1}.trait-instance-row .trait-instance-stepper{grid-template-columns:minmax(0,1fr) 148px}.trait-instance-choice{grid-template-columns:minmax(0,1fr)}.trait-instance-row>button:last-child{justify-self:start}}@media (width<=760px){.topbar{flex-direction:column;align-items:stretch}.topbar-actions{justify-content:stretch;width:100%;display:grid}.mobile-view-nav{grid-template-columns:minmax(0,1fr) 48px;align-items:stretch;gap:8px;width:100%;min-width:0;display:grid}.mobile-nav-menu{min-width:0;position:relative}.mobile-nav-menu summary{box-sizing:border-box;color:#24211d;cursor:pointer;background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"label icon""value icon";align-items:center;gap:2px 10px;min-height:50px;padding:7px 12px;list-style:none;display:grid}.mobile-nav-menu summary::-webkit-details-marker{display:none}.mobile-nav-menu summary:after{content:"v";color:#7f3f2a;grid-area:icon;font-size:11px}.mobile-nav-menu summary span,.mobile-nav-menu summary strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-nav-menu summary span{color:#6c6255;text-transform:uppercase;grid-area:label;font-size:11px;font-weight:900;line-height:1}.mobile-nav-menu summary strong{grid-area:value;font-size:15px;line-height:1.15}.mobile-nav-menu[open] summary{background:#f3e5d4;border-color:#7f3f2a}.mobile-nav-panel{z-index:25;background:#fffdf8;border:1px solid #c8b89f;border-radius:8px;gap:7px;padding:10px;display:grid;position:absolute;top:calc(100% + 8px);left:0;right:0;box-shadow:0 18px 45px #372b1d2e}.mobile-nav-panel button{text-align:left;justify-content:start;width:100%;min-height:42px;padding:0 12px}.mobile-nav-panel button.active{background:#f3e5d4;border-color:#7f3f2a;font-weight:800}.mobile-view-nav .validation-menu{min-width:0}.mobile-view-nav .validation-menu summary{box-sizing:border-box;border-radius:8px;width:48px;min-width:48px;min-height:50px;padding:0}.mobile-view-nav .validation-menu-panel{width:min(420px,100vw - 32px);max-height:min(560px,100vh - 140px);top:calc(100% + 8px);left:auto;right:0}.user-menu{width:100%}.user-menu-panel{box-sizing:border-box;width:100%;left:0;right:auto}.workspace{background:#f6f3ec;min-height:calc(100vh - 74px);display:block}.workspace>.sidebar{display:none}.creator-panel{padding:12px}.mobile-creator-status{z-index:8;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffaf0f5;border-bottom:1px solid #d8c8b1;gap:10px;padding:10px 12px;display:grid;position:sticky;top:0;box-shadow:0 8px 22px #372b1d14}.mobile-status-head{grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:10px;min-width:0;display:grid}.mobile-status-head>div{gap:2px;min-width:0;display:grid}.mobile-status-head strong,.mobile-status-head span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mobile-status-head strong{color:#24211d;font-size:16px;line-height:1.1}.mobile-status-head>div>span{color:#6c6255;font-size:12px;font-weight:800}.mobile-status-pill{color:#365d2e;background:#edf8e8;border:1px solid #b7caa9;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 9px;font-size:12px;font-weight:900;display:inline-flex}.mobile-creator-status-warning .mobile-status-pill{color:#735b0d;background:#fff8d9;border-color:#d8c47a}.mobile-creator-status-danger .mobile-status-pill{color:#874134;background:#fff0ed;border-color:#d49b8f}.mobile-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;display:grid}.mobile-metric-grid div{background:#fffdf8;border:1px solid #e4d8c7;border-radius:8px;gap:2px;min-width:0;padding:8px 7px;display:grid}.mobile-metric-grid dt{color:#6c6255;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;min-width:0;font-size:10px;font-weight:900;line-height:1.1;overflow:hidden}.mobile-metric-grid dd{color:#24211d;overflow-wrap:anywhere;min-width:0;margin:0;font-size:16px;font-weight:900;line-height:1.05}.mobile-status-details{min-width:0}.mobile-status-details>summary{color:#3c342c;cursor:pointer;background:#f6efe4;border:1px solid #c8b89f;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:34px;font-size:13px;font-weight:900;list-style:none;display:flex}.mobile-status-details>summary::-webkit-details-marker{display:none}.mobile-status-details>summary:after{content:"v";color:#7f3f2a;font-size:11px}.mobile-status-details[open]>summary{background:#f3e5d4;border-color:#7f3f2a}.mobile-status-detail-grid{background:#fffdf8;border:1px solid #d8c8b1;border-radius:8px;gap:10px;max-height:min(54vh,460px);margin-top:10px;padding:10px;display:grid;overflow:auto}.mobile-status-detail-grid section{gap:7px;min-width:0;display:grid}.mobile-status-detail-grid h2{color:#5d5449;text-transform:uppercase;margin:0;font-size:12px;font-weight:900}.mobile-snapshot-list{gap:6px;display:grid}.mobile-snapshot-list button,.mobile-issue-list button{text-align:left;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:8px;min-width:0;min-height:38px;padding:7px 9px;display:grid}.mobile-snapshot-list button.missing{background:#fff8e3;border-color:#dfbd64}.mobile-snapshot-list span,.mobile-issue-list span{color:#6c6255;text-transform:uppercase;font-size:11px;font-weight:900}.mobile-snapshot-list strong,.mobile-issue-list strong{overflow-wrap:anywhere;text-align:right;min-width:0}.mobile-attribute-strip,.mobile-base-value-strip{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;display:grid}.mobile-attribute-strip div,.mobile-base-value-strip div{background:#fbf7ee;border:1px solid #eadfce;border-radius:8px;justify-items:center;gap:2px;min-width:0;padding:7px 5px;display:grid}.mobile-attribute-strip dt,.mobile-base-value-strip dt{color:#6c6255;font-size:10px;font-weight:900}.mobile-attribute-strip dd,.mobile-base-value-strip dd{margin:0;font-size:16px;font-weight:900;line-height:1}.mobile-issue-list{gap:6px;display:grid}.mobile-issue-list button{background:#fff0ed;border-color:#d49b8f;grid-template-columns:minmax(72px,.4fr) minmax(0,1fr)}.stepper{display:none}.mobile-step-navigator{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdf8f5;border:1px solid #d8c8b1;border-radius:8px;gap:7px;margin-bottom:10px;padding:8px;display:grid;box-shadow:0 8px 20px #372b1d12}.mobile-step-progress{background:#eadfce;border-radius:999px;height:5px;overflow:hidden}.mobile-step-progress span{border-radius:inherit;background:#7f3f2a;height:100%;display:block}.mobile-step-controls{grid-template-columns:minmax(0,1fr);align-items:end;display:grid}.mobile-step-controls label{color:#6c6255;text-transform:uppercase;gap:4px;min-width:0;font-size:11px;font-weight:900;display:grid}.mobile-step-controls select{width:100%;min-width:0;min-height:40px;font-size:14px;font-weight:900}.mobile-step-blocked{color:#874134;font-size:12px;font-weight:800;line-height:1.25}.step-content{border-radius:8px;min-height:0;padding:14px}.step-header{margin-bottom:10px}.step-header h2{font-size:24px;line-height:1.12}.step-description{gap:4px;margin-bottom:14px;padding:11px}.step-description strong{font-size:14px}.step-description p{font-size:13px;line-height:1.35}.choice-grid,.experience-level-card-grid,.culture-card-grid,.entity-selection-layout .choice-grid,.profession-selection-layout .choice-grid{grid-template-columns:1fr;gap:10px}.choice,.experience-level-card .choice{min-height:0;padding:13px 48px 13px 13px}.experience-level-summary p{min-height:0}.wizard-actions{z-index:6;padding:10px 14px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffaf0f5;border-top:1px solid #d8c8b1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px -14px -14px;display:grid;position:sticky;bottom:0}.wizard-actions button{min-height:44px;font-weight:900}}@media (width<=480px){.topbar-context{border-top:1px solid #ded6c6;border-left:0;flex-basis:100%;padding-top:10px;padding-left:0}.brand-logo{flex-basis:52px;width:52px;height:52px}.view-nav button,.nav-menu summary{min-height:36px}.base-value-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attribute-strip{grid-template-columns:repeat(4,minmax(0,1fr))}.budget-facts,.money-dashboard .budget-facts,.trait-ap-facts{grid-template-columns:1fr}}@page{size:A4;margin:10mm}@media print{body,.app-shell{color:#111;background:#fff}.topbar,.sidebar,.stepper,.wizard-actions,.alert{display:none!important}.workspace,.creator-panel{min-height:0;padding:0;display:block}.character-sheet{color:#111;background:#fff;border:0;border-radius:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;max-width:none;margin:0;padding:0;font-size:10px;display:grid}.sheet-header{border-bottom-color:#111;padding-bottom:5px}.sheet-profile-image{grid-template-columns:70px 1fr;gap:8px}.sheet-profile-frame{border-color:#111;width:70px}.sheet-profile-actions,.sheet-profile-gallery,.sheet-profile-overlay,.profile-manager-overlay,.sidebar-profile-button{display:none}.sheet-header h2{font-size:22px}.eyebrow{font-size:9px}.sheet-identity{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding-bottom:5px}.sheet-section{break-inside:avoid;gap:4px}.sheet-section h3{border-bottom-color:#111;padding-bottom:2px;font-size:11px}.sheet-ap-summary dt,.sheet-field dt,.sheet-stat span,.sheet-table th,.sheet-table-group h4{color:#333;font-size:8px}.sheet-stat-grid,.sheet-attribute-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.sheet-stat{background:#fff;border-color:#888;border-radius:0;padding:3px 2px}.sheet-stat strong{font-size:14px}.sheet-stat small{display:none}.sheet-skill-columns{column-count:3;column-gap:8px}.sheet-table-group{margin-bottom:5px}.sheet-table{font-size:8.5px}.sheet-table th,.sheet-table td{border-color:#999;padding:1px 3px}.sheet-list,.sheet-empty,.sheet-total{font-size:9px;line-height:1.2}.sheet-list{gap:1px;padding-left:12px}}.character-sheet{--sheet-ink:#221f1a;--sheet-line:#4f473d;--sheet-soft-line:#40382f5c;--sheet-paper:#efe9dc;--sheet-tint:#997e592e;max-width:none;color:var(--sheet-ink);background:0 0;border:0;border-radius:0;grid-template-columns:1fr;justify-items:center;gap:22px;margin:0;padding:0 18px 28px;display:grid}.sheet-screen-toolbar{justify-content:flex-end;align-items:center;gap:12px;width:min(100%,980px);padding:0 4px 2px;display:flex}.sheet-screen-toolbar button{color:#5d5449;background:0 0;border-color:#d1c4b0;min-height:32px;padding:5px 10px;font-size:12px;font-weight:700}.sheet-screen-toolbar small{color:#6b6257;font-size:12px}.sheet-page{background:radial-gradient(circle at 20% 12%, #ffffff8c, transparent 32%), radial-gradient(circle at 78% 26%, #6857401a, transparent 34%), linear-gradient(90deg, #745b3721, transparent 9%, transparent 91%, #745b3721), var(--sheet-paper);border:12px double #4f473d;align-content:start;gap:8px;width:min(100%,980px);min-height:1386px;padding:54px 48px 42px;font-family:Georgia,Times New Roman,serif;display:grid;position:relative;overflow:hidden;box-shadow:0 16px 44px #18130c33}.sheet-page:before,.sheet-page:after{content:"";pointer-events:none;position:absolute}.sheet-page:before{border:2px solid #24201ab8;inset:20px}.sheet-page:after{border:1px solid #24201a6b;inset:34px}.sheet-brand{z-index:1;color:#efe9dc;letter-spacing:0;text-shadow:0 1px 1px #000;background:linear-gradient(#64594e,#2f2a25);border:2px solid #51483e;border-radius:8px;padding:6px 24px 7px;font-size:23px;line-height:1;position:absolute;top:10px;left:50%;transform:translate(-50%)}.sheet-document-header{justify-items:center;gap:2px;margin-top:14px;margin-bottom:6px;display:grid}.sheet-document-header h2{margin:0;font-size:33px;font-weight:500;line-height:1}.sheet-document-header p{margin:0;font-size:18px;font-weight:700}.sheet-page-one{grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr);align-items:start;gap:18px;display:grid}.personal-column,.sheet-stack{gap:8px;display:grid}.portrait-panel{aspect-ratio:.74;background:radial-gradient(circle at 50% 35%,#ffffff73,#0000 42%),linear-gradient(#e2d4b8,#c6b189);border:2px solid #5b5145;width:100%;overflow:hidden;box-shadow:inset 0 0 18px #412d1861}.portrait-panel img{object-fit:cover;width:100%;height:100%}.sheet-line-field{min-width:0;min-height:22px;color:var(--sheet-ink);grid-template-columns:max-content minmax(0,1fr);align-items:end;gap:8px;font-size:17px;font-weight:700;display:grid}.sheet-line-field span{white-space:nowrap}.sheet-line-field strong,.sheet-line-field input,.sheet-line-field textarea{border:0;border-bottom:1px solid var(--sheet-soft-line);width:100%;min-width:0;min-height:22px;color:inherit;font:inherit;letter-spacing:0;background:0 0;border-radius:0;padding:0 4px 1px}.sheet-line-field textarea{resize:vertical;line-height:1.35}.sheet-line-field-multiline{grid-template-columns:1fr;align-items:stretch}.attribute-ribbon{border-bottom:3px solid var(--sheet-line);grid-template-columns:repeat(8,minmax(0,1fr));align-items:end;margin:4px 0 2px;display:grid}.attribute-ribbon.compact{margin-top:28px}.attribute-ribbon-cell{border:2px solid var(--sheet-line);text-align:center;background:#ffffff2e;border-bottom:0;justify-items:center;min-width:0;min-height:60px;padding:0 6px 5px;display:grid;position:relative}.attribute-ribbon-cell span{border:2px solid var(--sheet-line);background:#e9e6df;border-radius:50%;place-items:center;width:46px;height:46px;font-size:22px;font-weight:700;display:grid;position:absolute;top:-24px}.attribute-ribbon-cell strong{margin-top:20px;font-size:25px;line-height:1}.attribute-ribbon-cell small{align-self:end;font-size:11px;font-style:italic}.sheet-grid-main{grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr);gap:16px;display:grid}.sheet-panel,.sheet-table-group{break-inside:avoid;min-width:0}.sheet-panel{border:3px double var(--sheet-line);background:#ffffff21;padding:10px 12px}.sheet-panel h3,.sheet-table-group h3{margin:0 0 6px;font-size:18px;line-height:1.1}.lined-box ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.lined-box li{border-bottom:1px solid var(--sheet-soft-line);min-height:24px;padding:4px 2px 1px;font-size:14px;line-height:1.25}.sheet-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:12px;line-height:1.15}.sheet-table th,.sheet-table td{border:1px solid var(--sheet-line);overflow-wrap:anywhere;text-align:left;vertical-align:middle;min-width:0;height:19px;padding:2px 4px}.sheet-table th{background:#ffffff2e;font-weight:700}.sheet-table td:nth-child(3n+2),.equipment-ledger th:nth-child(2),.equipment-ledger th:nth-child(5),.equipment-ledger td:nth-child(2),.equipment-ledger td:nth-child(5){background:var(--sheet-tint)}.base-values-panel{gap:7px;display:grid}.base-value-row{grid-template-columns:minmax(0,1fr) repeat(4,40px);align-items:center;gap:5px;min-width:0;display:grid}.base-value-row-header{color:#51493e;text-align:center;text-transform:uppercase;align-items:end;font-size:8.5px;font-weight:800;line-height:1}.base-value-label{border-bottom:1px solid var(--sheet-soft-line);min-width:0;display:grid}.base-value-label strong{font-size:15px;line-height:1}.base-value-label small{color:#51493e;font-size:10px;font-style:italic;font-weight:600;line-height:1.1}.base-value-box{border:2px solid var(--sheet-line);background:#ffffff38;place-items:center;min-width:0;min-height:32px;font-size:16px;font-weight:700;display:grid}.mini-box-row,.combat-base-row,.equipment-summary-grid,.combat-equipment-grid,.combat-bottom-grid,.magic-addendum-grid{gap:8px;display:grid}.mini-box-row{grid-template-columns:repeat(4,minmax(0,1fr))}.sheet-box-field{text-align:center;justify-items:center;gap:4px;min-width:0;display:grid}.sheet-box-field strong{border:2px solid var(--sheet-line);background:#ffffff38;min-width:48px;min-height:28px;padding:4px 6px;font-size:16px;line-height:1;display:block}.sheet-box-field span{font-size:12px;font-weight:700}.sheet-box-label-nowrap{white-space:nowrap}.sheet-load-field{width:92px;position:absolute;top:62px;right:76px}.talent-table-layout,.combat-technique-grid{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.talent-table-layout{column-gap:10px}.combat-technique-grid{gap:0}.talent-table th,.talent-table td{height:16px;padding:1px 3px;font-size:10.5px}.talent-table th:nth-child(3),.talent-table td:nth-child(3){white-space:nowrap;overflow-wrap:normal;text-align:center;width:8%;font-size:9px}.talent-table th:nth-child(4),.talent-table td:nth-child(4),.talent-table th:nth-child(5),.talent-table td:nth-child(5),.talent-table th:nth-child(6),.talent-table td:nth-child(6){text-align:center}.talent-table th:nth-child(6),.talent-table td:nth-child(6){overflow-wrap:normal;white-space:nowrap;width:9%}.talent-table .talent-routine-header{text-transform:none}.talent-table th:first-child{width:34%}.talent-table th:nth-child(2){width:17%}.talent-table th:nth-child(7){overflow-wrap:normal;white-space:nowrap;width:20%}.talent-footer{grid-template-columns:1.2fr .68fr 1fr;align-items:end;gap:10px;display:grid}.language-stack{gap:8px;display:grid}.quality-step-table{align-self:end}.quality-step-table th,.quality-step-table td{text-align:center}.quality-step-table th{overflow-wrap:normal;white-space:nowrap}.combat-base-row{grid-template-columns:repeat(6,minmax(0,1fr));justify-self:end;width:58%}.combat-technique-table th,.combat-technique-table td{font-size:11px}.combat-technique-table th{overflow-wrap:normal;white-space:nowrap}.combat-technique-table th:first-child{width:31%}.combat-technique-table th:nth-child(2){width:26%;font-size:9.5px}.combat-technique-table th:nth-child(3),.combat-technique-table th:nth-child(4),.combat-technique-table th:nth-child(5),.combat-technique-table th:nth-child(6){width:10.75%}.sheet-table .sheet-crossed-cell{background:linear-gradient(to bottom right, transparent calc(50% - .75px), var(--sheet-line) calc(50% - .75px), var(--sheet-line) calc(50% + .75px), transparent calc(50% + .75px)), linear-gradient(to top right, transparent calc(50% - .75px), var(--sheet-line) calc(50% - .75px), var(--sheet-line) calc(50% + .75px), transparent calc(50% + .75px)), var(--sheet-tint)}.equipment-combat-table th,.equipment-combat-table td{height:21px;font-size:11px}.equipment-combat-table th{overflow-wrap:normal;white-space:nowrap;font-size:9.5px;line-height:1.05}.melee-weapon-sheet-table th:first-child,.ranged-weapon-sheet-table th:first-child{width:15%}.melee-weapon-sheet-table th:nth-child(2),.ranged-weapon-sheet-table th:nth-child(2),.melee-weapon-sheet-table th:nth-child(3){width:15%;font-size:9px}.melee-weapon-sheet-table th:nth-child(4),.ranged-weapon-sheet-table th:nth-child(4){width:7%}.melee-weapon-sheet-table th:nth-child(5){width:12%}.melee-weapon-sheet-table th:nth-child(6),.ranged-weapon-sheet-table th:nth-child(5){width:11%}.melee-weapon-sheet-table th:nth-child(7),.melee-weapon-sheet-table th:nth-child(8){width:7%}.melee-weapon-sheet-table th:nth-child(9),.ranged-weapon-sheet-table th:nth-child(9),.ranged-weapon-sheet-table th:nth-child(3),.ranged-weapon-sheet-table th:nth-child(6),.ranged-weapon-sheet-table th:nth-child(7),.ranged-weapon-sheet-table th:nth-child(8){width:11%}.armor-sheet-table th,.armor-sheet-table td,.shield-sheet-table th,.shield-sheet-table td,.condition-sheet-table th,.condition-sheet-table td{overflow-wrap:normal}.armor-sheet-table th,.shield-sheet-table th,.condition-sheet-table th{font-size:10.5px;line-height:1.05}.armor-sheet-table th:first-child{white-space:nowrap;width:29%}.armor-sheet-table th:nth-child(2),.armor-sheet-table th:nth-child(3){text-align:center;width:8%}.armor-sheet-table th:nth-child(4){width:18%}.armor-sheet-table th:nth-child(5){width:14%}.armor-sheet-table th:nth-child(6){width:23%}.armor-sheet-table td:nth-child(2),.armor-sheet-table td:nth-child(3),.shield-sheet-table td:nth-child(2),.shield-sheet-table td:nth-child(3),.shield-sheet-table td:nth-child(4),.condition-sheet-table td{text-align:center}.shield-sheet-table th:first-child{width:34%}.shield-sheet-table th:nth-child(2){width:20%}.shield-sheet-table th:nth-child(3){width:24%}.shield-sheet-table th:nth-child(4){width:22%}.condition-sheet-table{font-size:10.5px}.condition-sheet-table th,.condition-sheet-table td{height:18px;padding-inline:3px}.condition-sheet-table thead th{white-space:nowrap}.condition-sheet-table th:first-child{width:27%;font-size:10px}.condition-sheet-table th:nth-child(n+2){width:18.25%;font-size:9.5px}.combat-equipment-grid,.combat-bottom-grid,.magic-addendum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.life-energy-box{gap:7px;display:grid}.life-energy-row{grid-template-columns:80px 1fr;align-items:end;gap:12px;display:grid}.threshold-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.threshold-label{justify-items:center;gap:1px;font-size:10.5px;line-height:1.08;display:grid}.sheet-box-field .threshold-label span:first-child{white-space:nowrap;font-size:10px}.sheet-box-field .threshold-label span:last-child{font-size:9.5px}.life-energy-box p{text-align:center;margin:0;font-weight:700}.equipment-ledger th,.equipment-ledger td{height:22px}.equipment-ledger th:first-child,.equipment-ledger th:nth-child(4){width:34%}.equipment-ledger th:nth-child(2),.equipment-ledger th:nth-child(5){width:13%}.equipment-ledger th:nth-child(3),.equipment-ledger th:nth-child(6){width:16%}.equipment-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.magic-sheet-layout{gap:10px;display:grid}.magic-resource-panel{grid-template-columns:repeat(4,minmax(0,1fr));justify-self:end;gap:8px;width:72%;display:grid}.magic-ability-table-group h3{margin-bottom:2px}.magic-ability-sheet-table{table-layout:fixed}.magic-ability-sheet-table th,.magic-ability-sheet-table td{text-overflow:ellipsis;vertical-align:middle;height:22px;padding:1px 3px;font-size:9px;line-height:1.05;overflow:hidden}.magic-ability-sheet-table th{overflow-wrap:normal;white-space:nowrap}.magic-ability-sheet-table th:first-child{width:14%}.magic-ability-sheet-table th:nth-child(2){width:6%}.magic-ability-sheet-table th:nth-child(3){text-align:center;width:3.5%}.magic-ability-sheet-table th:nth-child(4){width:7.5%}.magic-ability-sheet-table th:nth-child(5),.magic-ability-sheet-table th:nth-child(6){width:7.5%;font-size:8px}.magic-ability-sheet-table th:nth-child(7){width:8.25%;font-size:7.5px}.magic-ability-sheet-table th:nth-child(8){width:8.75%}.magic-ability-sheet-table th:nth-child(9){text-align:center;width:3.5%}.magic-ability-sheet-table th:nth-child(10){width:34.25%}.magic-ability-sheet-table td:nth-child(3),.magic-ability-sheet-table td:nth-child(9){text-align:center}.magic-ability-sheet-table td:nth-child(10){-webkit-hyphens:auto;hyphens:auto;overflow-wrap:anywhere;text-overflow:clip;vertical-align:top;font-size:7px;font-weight:400;line-height:.98;overflow:visible}.magic-ability-sheet-table td:nth-child(8){overflow-wrap:normal;white-space:nowrap}.magic-sheet-bottom{grid-template-columns:minmax(0,1.35fr) minmax(250px,.75fr);align-items:stretch;gap:12px;display:grid}.magic-sheet-bottom-compact{grid-template-columns:repeat(2,minmax(0,1fr))}.magic-effect-notes{min-height:260px}.magic-effect-notes ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.magic-effect-notes li{border-bottom:1px solid var(--sheet-soft-line);gap:2px;min-height:34px;padding:3px 2px;display:grid}.magic-effect-notes li strong{font-size:12px;line-height:1}.magic-effect-notes li span{color:#3f3930;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10.5px;line-height:1.2;display:-webkit-box;overflow:hidden}.magic-side-stack{gap:8px;display:grid}.carrying-box,.money-box{min-height:118px}.animal-sheet-box{background:linear-gradient(90deg,#6d4c262e,#0000 14% 86%,#6d4c262e),#e5d5b6;border:2px solid #5d4b308c;gap:7px;width:82%;margin:4px auto 0;padding:20px 28px 22px;display:grid;box-shadow:inset 0 0 20px #4e2d1452}.animal-sheet-box h3{justify-self:center;margin:-8px 0 4px;font-size:30px}.animal-sheet-fields{align-items:end;gap:10px 22px;min-width:0;display:grid}.animal-sheet-fields-top{grid-template-columns:minmax(0,2fr) minmax(64px,.42fr) minmax(64px,.42fr)}.animal-sheet-attribute-stack{gap:7px;display:grid}.animal-sheet-attribute-row-four{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-sheet-attribute-row-five{grid-template-columns:repeat(5,minmax(0,1fr))}.animal-sheet-combat{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,.82fr));margin-top:20px}.animal-sheet-field{min-width:0;color:var(--sheet-ink);grid-template-columns:max-content minmax(0,1fr);align-items:end;gap:8px;font-size:17px;font-weight:700;display:grid}.animal-sheet-field span{white-space:nowrap}.animal-sheet-field input{border:0;border-bottom:1px solid var(--sheet-soft-line);width:100%;min-width:0;min-height:22px;color:inherit;font:inherit;letter-spacing:0;background:0 0;border-radius:0;padding:0 4px 1px}@media (width<=980px){.character-sheet{padding-inline:10px}.sheet-page{width:min(980px,100vw - 20px);min-height:auto;padding:52px 24px 34px}.sheet-page-one,.sheet-grid-main,.talent-table-layout,.talent-footer,.combat-equipment-grid,.combat-bottom-grid,.equipment-summary-grid,.magic-addendum-grid,.magic-sheet-bottom,.magic-resource-panel{grid-template-columns:1fr}.magic-resource-panel{width:100%}.portrait-panel{justify-self:center;width:min(260px,100%)}.attribute-ribbon{grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 0}.combat-base-row{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.animal-sheet-box{width:100%}}@media (width<=620px){.sheet-page{border-width:8px;padding-inline:14px}.sheet-document-header h2{font-size:25px}.sheet-brand{text-align:center;max-width:78%;font-size:17px}.sheet-line-field,.sheet-line-field-multiline{grid-template-columns:1fr}.animal-sheet-fields-top,.animal-sheet-attribute-row-four,.animal-sheet-attribute-row-five,.animal-sheet-combat{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-sheet-field,.animal-sheet-field-wide{grid-template-columns:1fr}.attribute-ribbon,.combat-base-row,.mini-box-row,.threshold-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media print{@page{size:A4;margin:0}html,body,#root,.app-shell{background:#fff;width:210mm;min-width:210mm;min-height:297mm}.topbar,.sidebar,.stepper,.wizard-actions,.alert,.sheet-screen-toolbar,.profile-manager-overlay,.sidebar-profile-button{display:none!important}.workspace,.workspace-sheet,.creator-panel,.character-sheet{background:#fff;width:210mm;max-width:210mm;min-height:0;margin:0;padding:0;display:block}.character-sheet{color-adjust:exact;-webkit-print-color-adjust:exact;print-color-adjust:exact}.sheet-page{width:980px;height:1386px;min-height:1386px;box-shadow:none;zoom:.81;break-after:page;page-break-after:always;border-width:12px;padding:54px 48px 42px;overflow:hidden}.sheet-page-one{grid-template-columns:minmax(0,1fr) 260px minmax(0,1fr)}.sheet-grid-main{grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr)}.talent-table-layout,.combat-technique-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.talent-footer{grid-template-columns:1.2fr .68fr 1fr}.combat-equipment-grid,.combat-bottom-grid,.equipment-summary-grid,.magic-addendum-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.magic-sheet-bottom{grid-template-columns:minmax(0,1.35fr) minmax(250px,.75fr)}.magic-resource-panel{grid-template-columns:repeat(4,minmax(0,1fr));width:72%}.portrait-panel{width:100%}.attribute-ribbon{grid-template-columns:repeat(8,minmax(0,1fr));gap:0}.combat-base-row{grid-template-columns:repeat(6,minmax(0,1fr));width:58%}.mini-box-row,.threshold-row{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-sheet-fields-top{grid-template-columns:minmax(0,2fr) minmax(64px,.42fr) minmax(64px,.42fr)}.animal-sheet-attribute-row-four{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-sheet-attribute-row-five{grid-template-columns:repeat(5,minmax(0,1fr))}.animal-sheet-combat{grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,.82fr))}.sheet-page:last-child{break-after:auto;page-break-after:auto}.sheet-table{font-size:8.5pt}.sheet-line-field input,.sheet-line-field textarea,.animal-sheet-field input{color:#111}}
