﻿.character-sheet .right-header{grid-template-columns:var(--sheet-header-meta-width) var(--sheet-header-meta-width) minmax(126px,1fr) var(--sheet-header-meta-width) var(--sheet-header-meta-width)}
.sheet-editor-rail .sheet-mode-input{display:block!important;height:auto!important;min-height:0!important;padding:0!important}
.sheet-editor-rail .sheet-mode-input > span[hidden],.compact-original-action{display:none!important}
.sheet-mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:0}
.sheet-editor-rail .sheet-mode-tabs button{border-radius:0!important;border:1px solid #182530!important;margin:0!important;padding:8px 3px!important;min-width:0!important;width:100%!important;min-height:46px;font-size:11px!important;line-height:1.2;white-space:normal!important;background:#203240;color:#c9deed}
.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{background:var(--ui-blue);color:white}
.sheet-editor-rail .compact-nickname-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;align-items:center;width:100%}
.sheet-editor-rail .compact-nickname-line .sheet-character-row{grid-template-columns:1fr;margin:0;min-width:0}
.sheet-editor-rail .compact-nickname-line .sheet-character-row>label{font-size:10px;min-height:22px;padding:3px}
.sheet-editor-rail .compact-nickname-line .sheet-character-combo{min-width:0;width:100%}
.sheet-editor-rail .compact-nickname-line .claim-nickname-toggle{font-size:10px!important;padding:8px!important;margin:0!important;min-height:38px}
.claim-or{font-size:12px;color:#b4c7d4}
.sheet-editor-rail .compact-character-name{margin-top:8px;grid-template-columns:40% minmax(0,1fr)}
.sheet-editor-rail .compact-character-name input{width:100%;min-width:0;box-sizing:border-box;text-align:center;color:white;background:#536977;border:0;padding:8px;font:inherit}
.sheet-editor-rail .compact-sheet-actions{display:grid;grid-template-columns:1fr 1fr;grid-column:1/-1;gap:10px;width:100%;margin-top:8px}
.sheet-editor-rail .skill-edit-menu [data-toolbar-group=Save] .compact-sheet-actions button{grid-column:auto;justify-self:stretch;width:100%;margin:0;min-height:38px;white-space:normal;border-radius:5px}
.sheet-editor-rail .mission-auto-points{border:1px solid #496071;border-radius:8px;padding:10px;gap:6px;margin-top:8px;font-size:11px}
.sheet-editor-rail .mission-auto-points p:empty{display:none}
.sheet-editor-rail .mission-auto-points em{display:block;color:#acc0cf;font-size:10px}
@media(max-width:600px){.sheet-editor-rail .compact-character-name input,.sheet-editor-rail #character-nickname{font-size:16px!important}}

.character-sheet .sheet-header:not(.right-header) .header-cell:has(#sheet-version-name){grid-column:4 / 6;justify-self:stretch;width:100%;box-sizing:border-box}
.sheet-editor-rail .sheet-mode-input > span{display:flex;align-items:center;justify-content:center;width:100%;height:36px!important;text-align:center}
.sheet-editor-rail .sheet-mode-tabs{border-bottom:2px solid var(--ui-blue);gap:2px;padding-top:4px;background:#182530}
.sheet-editor-rail .sheet-mode-tabs button{display:flex;align-items:center;justify-content:center;text-align:center;background:#263c4c;border:0!important;border-bottom:3px solid transparent!important;border-radius:8px 8px 0 0!important;color:#a9bdcc;min-height:42px}
.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{background:#3d85c6;color:white;border-bottom-color:#9ad5ff!important;box-shadow:inset 0 2px #a2d5ff}
.sheet-editor-rail .compact-nickname-line .sheet-character-row{grid-template-columns:38% minmax(0,1fr)}
.sheet-editor-rail .compact-nickname-line .sheet-character-row>label{display:flex;align-items:center;justify-content:center;height:100%;box-sizing:border-box;font-size:9px}
.sheet-editor-rail .mission-auto-points label[hidden]{display:none!important}
.sheet-editor-rail .mission-auto-points .auto-experience-toggle{width:100%;min-height:36px;border-radius:6px}
.sheet-editor-rail .mission-auto-points .auto-experience-toggle[aria-pressed=true]{background:var(--ui-blue);color:white}
.sheet-editor-rail .format-size .format-control-row{flex-wrap:wrap}
.sheet-font-picker{position:relative;flex:1 1 120px;min-width:100px}
.sheet-editor-rail .sheet-font-picker input{width:100%;box-sizing:border-box;min-width:0;height:34px;background:#20313e;color:white;border:1px solid #607989;padding:5px 8px;font-size:14px}
.sheet-font-choices{position:absolute;z-index:2000;top:100%;left:0;right:0;min-width:160px;max-height:230px;overflow:auto;background:#20313e;border:1px solid #68b8ff;box-shadow:0 6px 14px #0008}
.sheet-font-choices[hidden]{display:none!important}
.sheet-editor-rail .sheet-font-choices button{display:block!important;width:100%!important;text-align:left!important;font-size:19px!important;padding:8px!important;min-height:38px;border:0;border-radius:0;background:#20313e;color:#f1f7ff}
.sheet-editor-rail .sheet-font-choices button:hover,.sheet-editor-rail .sheet-font-choices button:focus{background:#3d85c6}
.sheet-font-control{padding:0!important;gap:5px!important}.sheet-font-control:has(button:disabled){opacity:.6}
.sheet-editor-rail .format-size .format-control-row{grid-template-columns:26px 32px 26px minmax(90px,1fr) 32px}
/* Folder tabs share their lower edge with the active section. */
.sheet-editor-rail{--editor-heading-height:46px;--editor-nav-width:188px}
.sheet-editor-rail .sheet-mode-input{overflow:visible;border-radius:0!important;background:#1d2d3b}
.sheet-editor-rail .sheet-mode-input>span{height:var(--editor-heading-height)!important;min-height:var(--editor-heading-height);padding:0!important;box-sizing:border-box;color:#6ebaff;letter-spacing:.12em;border-bottom:1px solid #3d85c6}
.sheet-editor-rail .sheet-mode-tabs{isolation:isolate;gap:0;align-items:end;padding:10px 3px 0;border-bottom:3px solid #3d85c6;background:#1d2d3b}
.sheet-editor-rail .sheet-mode-tabs button{position:relative;min-height:42px;margin:0 -2px!important;padding:10px 7px!important;clip-path:polygon(0 100%,5% 22%,10% 5%,88% 5%,94% 22%,100% 100%);border:0!important;border-radius:0!important;box-shadow:inset 0 3px #6c8ba2!important;background:#2d4659!important;color:#b7ccdc!important;transition:background .15s, min-height .15s;z-index:1}
.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{min-height:49px;z-index:2;background:#3d85c6!important;color:#fff!important;box-shadow:inset 0 3px #9cd5ff!important}
.sheet-editor-rail .sheet-mode-tabs button:focus-visible{outline:0;box-shadow:inset 0 0 0 3px #d0ebff!important}
.sheet-editor-rail #sheet-navigation-drawer{width:var(--editor-nav-width);right:auto;box-sizing:border-box;border-right:1px solid #3d85c6}
body.responsive-sheet .sheet-editor-rail #sheet-navigation-drawer .database-sidebar h2{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:var(--editor-heading-height);padding:0 14px 0 4px;font-size:14px;letter-spacing:.1em}
.sheet-editor-rail.navigation-open .sheet-navigation-toggle{left:calc(var(--editor-nav-width) - 14px);height:var(--editor-heading-height);top:0}
.sheet-editor-rail .sheet-rail-controls,.sheet-editor-rail .sheet-editor-panels{transition:transform 220ms ease}
.sheet-editor-rail.navigation-open .sheet-rail-controls,.sheet-editor-rail.navigation-open .sheet-editor-panels{transform:translateX(var(--editor-nav-width))}
.sheet-editor-rail .editor-section-heading,.sheet-editor-rail .format-section-title{display:flex;align-items:center;gap:8px;margin:16px 0 10px;padding:0;color:#9bccf1;font:700 12px/1.4 var(--body-font);letter-spacing:.06em;text-align:left;border:0}
.sheet-editor-rail .editor-section-heading::after,.sheet-editor-rail .format-section-title::after{content:'';flex:1;border-top:1px solid #49677d}
.sheet-editor-rail .mission-auto-points .editor-section-heading{margin:0 0 4px;font-size:11px}
.sheet-editor-rail[data-active-panel=experience] .experience-shop>.experience-shop-header:first-child,.sheet-editor-rail[data-active-panel=element] .character-builder>.experience-shop-header:first-child{display:flex!important;border-bottom:1px solid #49677d;background:#203340;padding:10px}
@media(prefers-reduced-motion:reduce){.sheet-editor-rail .sheet-rail-controls,.sheet-editor-rail .sheet-editor-panels,.sheet-editor-rail .sheet-mode-tabs button{transition:none}}
/* Uniform tabs keep their shape and position in every state. */
.sheet-editor-rail .sheet-mode-tabs{gap:3px;padding:6px 3px 0;align-items:stretch}
.sheet-editor-rail .sheet-mode-tabs button,.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{clip-path:none;margin:0!important;height:42px;min-height:42px;max-height:42px;padding:8px 4px!important;border-radius:6px 6px 0 0!important;border:0!important;box-shadow:none!important;transform:none;background:#2d4659!important;color:#d8e8f3!important;transition:background-color 140ms ease,color 140ms ease}
.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{background:#3d85c6!important;color:#fff!important}
.sheet-editor-rail .sheet-mode-tabs button:not(:disabled):hover{background:#4b96d5!important;color:#fff!important}
.sheet-editor-rail .sheet-mode-tabs button:focus-visible{outline:2px solid #b5dfff;outline-offset:-3px;box-shadow:none!important}
@media(prefers-reduced-motion:reduce){.sheet-editor-rail .sheet-mode-tabs button{transition:none}}
/* Keep the tab strip flush, with no raised active edge or top rule. */
.sheet-editor-rail .sheet-mode-tabs{padding:0 3px;align-items:stretch;border-top:0!important}
.sheet-editor-rail .sheet-mode-tabs button,.sheet-editor-rail .sheet-mode-tabs button[aria-pressed=true]{align-self:stretch;top:auto!important;margin-top:0!important;border-top:0!important;box-shadow:none!important}
.sheet-editor-rail .sheet-mode-input>span{border-bottom:0!important}
/* Consistent edit rows and action targets, including phone layouts. */
.sheet-editor-rail{--editor-row-height:40px}
.sheet-editor-rail .sheet-character-picker .sheet-character-row{min-height:var(--editor-row-height);height:var(--editor-row-height);align-items:stretch}
.sheet-editor-rail .sheet-character-picker .sheet-character-row>label,.sheet-editor-rail .sheet-character-picker .sheet-character-row>.claim-nickname-header{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:var(--editor-row-height);height:100%;padding:4px 6px!important}
.sheet-editor-rail .sheet-character-picker .sheet-character-row input,.sheet-editor-rail .sheet-character-picker .sheet-character-combo,.sheet-editor-rail .sheet-character-picker .sheet-version-combo{box-sizing:border-box;height:var(--editor-row-height)!important;min-height:var(--editor-row-height)!important;margin:0}
.sheet-editor-rail .sheet-character-picker button,.sheet-editor-rail .mission-auto-points button,.sheet-editor-rail .compact-sheet-actions button{box-sizing:border-box;min-height:var(--editor-row-height)!important;height:var(--editor-row-height)!important;display:flex;align-items:center;justify-content:center;padding:6px 10px!important;line-height:1.2!important;margin-top:0;margin-bottom:0}
.sheet-editor-rail .sheet-character-picker .version-calendar-button{height:var(--editor-row-height)!important;min-height:var(--editor-row-height)!important;padding:0!important}
.sheet-editor-rail .compact-nickname-line .claim-nickname-toggle{height:var(--editor-row-height)!important;min-height:var(--editor-row-height)!important}
.sheet-editor-rail .compact-sheet-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media(max-width:600px){.sheet-editor-rail{--editor-row-height:44px}}
/* Identity fields belong to the panel rather than separate bright badges. */
.sheet-editor-rail .character-section-heading-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px}
.sheet-editor-rail .character-section-heading-row .editor-section-heading{flex:1;min-width:0;margin:0;white-space:nowrap;font-size:11px}
.sheet-editor-rail .sheet-character-picker .sheet-character-row{border:1px solid #496173;border-radius:6px;overflow:hidden;background:#2b4050;box-sizing:border-box}
.sheet-editor-rail .sheet-character-picker .sheet-character-row>label{background:#263a49!important;color:#bcd0df!important;border-right:1px solid #496173;border-radius:0!important;letter-spacing:.025em;font-weight:600}
.sheet-editor-rail .sheet-character-picker .sheet-character-row input{background:#354c5d!important;color:#f0f6fa!important;border:0!important;border-radius:0!important;font-style:normal!important;outline-offset:-2px}
.sheet-editor-rail .sheet-character-picker .sheet-character-row input::placeholder{color:#b3c5d2;opacity:1;font-style:italic}
.sheet-editor-rail .sheet-character-picker .sheet-character-row:focus-within{border-color:#82b9df;box-shadow:0 0 0 1px #82b9df}
.sheet-editor-rail .sheet-character-picker .sheet-version-combo,.sheet-editor-rail .sheet-character-picker .sheet-character-combo{background:#354c5d;border-radius:0}
.sheet-editor-rail .sheet-character-picker .version-calendar-button{background:#354c5d!important;color:#c8dce9!important;border-radius:0!important}
/* Separate the first mode tab from the navigation lip. */
.sheet-editor-rail .sheet-mode-tabs{padding-left:7px!important;background:#1d2d3b}
.sheet-editor-rail .sheet-mode-tabs button[data-mode=view]{border-top-left-radius:7px!important}
/* On larger screens the drawer takes real layout space, not space over the editor. */
@media screen and (min-width:901px){
 body.responsive-sheet:not(.mobile-app):has(.sheet-editor-rail.navigation-open) .sheet-editor-rail{width:calc(var(--editor-rail-width) + 188px);padding-left:188px}
 body.responsive-sheet:not(.mobile-app):has(.sheet-editor-rail.navigation-open) .database-workspace{left:calc(var(--editor-rail-width) + 188px)}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail{padding-top:0}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail.navigation-open .sheet-rail-controls,body.responsive-sheet:not(.mobile-app) .sheet-editor-rail.navigation-open .sheet-editor-panels{transform:none;transition:none}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail.navigation-open :is(.character-builder,.experience-shop){left:212px!important}
 body.responsive-sheet:not(.mobile-app):has(.sheet-editor-rail.navigation-open) .sheet-zoom-drawer{left:calc(50% + (var(--editor-rail-width) + 188px)/2)}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail #sheet-navigation-drawer{border-top:0}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail .sheet-mode-input>span{border-bottom:1px solid #3d85c6!important}
 body.responsive-sheet:not(.mobile-app) .sheet-editor-rail.navigation-open .sheet-mode-tabs{padding-left:0!important;padding-right:0;border-bottom:1px solid #3d85c6}
}
.sheet-editor-rail .character-section-heading-copy{flex:1;min-width:0;display:grid;gap:5px}
.sheet-editor-rail .character-section-heading-copy .character-load-description{margin:0!important;text-align:left;font-size:10px;line-height:1.4;white-space:normal}
.sheet-editor-rail .character-section-heading-row{align-items:center}
.sheet-editor-rail .character-section-heading-row{align-items:flex-start}
.sheet-editor-rail .character-section-heading-copy{gap:2px;align-content:start;align-self:flex-start;padding:0;margin:0}
.sheet-editor-rail .character-section-heading-copy .editor-section-heading{margin:0!important;padding:0!important;line-height:16px}
.sheet-editor-rail .character-section-heading-copy .character-load-description{display:block;margin:0!important;padding:0!important;line-height:14px;text-align:left}
/* Shared hierarchy for settings, guided creation, and experience purchases. */
.sheet-editor-rail{--editor-panel-bg:#1d2d3b;--editor-field-bg:#354c5d;--editor-field-label:#263a49;--editor-divider:#49677d}
.sheet-editor-rail:not([data-active-panel=edit]) .sheet-settings-title{display:none!important}
.sheet-editor-rail .editor-panel-title,
.sheet-editor-rail:is([data-active-panel=element],[data-active-panel=experience]) :is(.character-builder,.experience-shop)>.experience-shop-header:first-child{display:flex!important;position:static!important;align-items:center;justify-content:flex-start;box-sizing:border-box;width:auto;height:auto!important;min-height:44px;margin:0 10px 12px!important;padding:12px 0 10px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--editor-divider)!important;border-radius:0!important;color:#dcebf5!important;cursor:default;font:700 15px/1.4 var(--body-font);letter-spacing:.06em;text-align:left}
.sheet-editor-rail:is([data-active-panel=element],[data-active-panel=experience]) :is(.character-builder,.experience-shop)>.experience-shop-header:first-child h2{margin:0!important;padding:0;color:#dcebf5!important;font:700 15px/1.4 var(--body-font)!important;text-align:left!important;letter-spacing:.06em}
.sheet-editor-rail .editor-panel-title.sheet-settings-title{margin:12px 0!important}
.sheet-editor-rail :is(.character-builder,.experience-shop){background:var(--editor-panel-bg)!important;color:#dce6ed}
.sheet-editor-rail #character-builder-step-title:not([hidden]){display:flex;margin:12px 12px 8px!important;font-size:12px!important;color:#9bccf1!important}
.sheet-editor-rail #character-builder-step-title[hidden]{display:none!important}
.sheet-editor-rail .builder-start{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:0 2px 14px;background:transparent;text-align:left}
.sheet-editor-rail .builder-start>section{width:100%;box-sizing:border-box;margin:0}
.sheet-editor-rail .builder-start .editor-section-heading{display:flex;margin:0 0 10px!important;font:700 12px/1.4 var(--body-font)!important;color:#9bccf1!important;text-align:left}
.sheet-editor-rail .builder-start p{font-size:13px;line-height:1.5;color:#bacbd7;text-align:left;margin:0 0 10px}
.sheet-editor-rail .builder-start button{min-height:40px!important;box-sizing:border-box;border:1px solid #49677d!important;border-radius:5px!important;background:#263a49!important;color:#e2edf5!important;font:600 12px/1.3 var(--body-font)!important;padding:9px 10px!important;margin:0;white-space:normal}
.sheet-editor-rail .builder-start [data-start-character-builder]{width:100%;background:#315c7a!important;border-color:#628ba8!important}
.sheet-editor-rail .builder-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;padding:0;margin:0}
.sheet-editor-rail .builder-start button:not(:disabled):hover{background:#3b5970!important;border-color:#88b8db!important}
.sheet-editor-rail .builder-sheet-import{display:block;background:transparent!important;border:1px solid #49677d!important;border-radius:6px;padding:0!important;text-align:left}
.sheet-editor-rail .builder-sheet-import summary{padding:12px;cursor:pointer;min-height:40px;box-sizing:border-box;font:700 12px/1.4 var(--body-font);color:#b8cddd;text-align:left}
.sheet-editor-rail .builder-sheet-import[open]>summary{border-bottom:1px solid #49677d}
.sheet-editor-rail .builder-import-content{display:grid;gap:10px;padding:12px}
.sheet-editor-rail .builder-import-content p{margin:0;text-align:left}.sheet-editor-rail .builder-import-content small{font-size:11px;line-height:1.5;color:#a8bdcc}
.sheet-editor-rail .builder-import-content :is(input,select){box-sizing:border-box;min-width:0;width:100%;min-height:38px;padding:8px;border:1px solid #607989;border-radius:4px;background:var(--editor-field-bg);color:white;font:13px var(--body-font)}
.sheet-editor-rail .builder-import-content input[type=file]{background:#263a49;font-size:12px}
.sheet-editor-rail .builder-import-options{border:0;border-radius:4px;background:#263a49}
.sheet-editor-rail .builder-import-options>summary{font-weight:500;text-transform:none}
.sheet-editor-rail .builder-import-options label{display:grid;gap:5px;padding:0 10px 10px;font-size:12px;color:#b8cddd}
.sheet-editor-rail .builder-sheet-import-status:empty{display:none}
.sheet-editor-rail .experience-shop-intro{margin:0 12px 14px;font-size:13px;line-height:1.5;color:#bacbd7;text-align:left}
.sheet-editor-rail .experience-shop-balance{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin:0 12px 16px;padding:8px 12px;border:1px solid #49677d;border-radius:6px;background:#263a49;font-size:13px;color:#b8cddd}
.sheet-editor-rail [data-shop-balance]{font-size:20px;color:#dcebf5;font-weight:700}
.sheet-editor-rail .experience-shop-items{gap:7px;margin:0;padding:0 12px 12px;max-height:none;overflow:visible}
.sheet-editor-rail .experience-shop-group{display:flex;align-items:center;gap:8px;margin:15px 0 4px;padding:0;border:0;color:#9bccf1;font:700 12px/1.4 var(--body-font)}
.sheet-editor-rail .experience-shop-group::after{content:'';flex:1;border-top:1px solid #49677d}
.sheet-editor-rail .experience-shop-item{min-height:40px;padding:10px;border:1px solid #49677d;border-radius:5px;background:#263a49;font:600 13px/1.4 var(--body-font)}
.sheet-editor-rail .experience-shop-item:not(:disabled):hover{background:#3b5970;border-color:#88b8db}
.sheet-editor-rail .experience-shop-item:disabled{opacity:.55;background:#263a49!important;color:#bacbd7!important}
.sheet-editor-rail .experience-shop-cost{color:#a9c9e0;font-size:12px}
.sheet-editor-rail .experience-shop-status,.sheet-editor-rail .experience-shop-lock{margin:10px 12px;font-size:12px;line-height:1.5;color:#b8cddd}
.sheet-editor-rail :is(.builder-start button,.builder-sheet-import summary,.experience-shop-item):focus-visible{outline:2px solid #9bccf1;outline-offset:2px}
@media(max-width:600px){.sheet-editor-rail .builder-import-content :is(input,select){font-size:16px}.sheet-editor-rail .builder-start button,.sheet-editor-rail .experience-shop-item{min-height:44px!important}}
.sheet-editor-rail .character-builder :is(.builder-input-table,.builder-skill-card,.builder-skill-guide){background:#263a49!important;border-color:#49677d!important;border-radius:6px}
.sheet-editor-rail .character-builder .builder-input-table__title{background:#263a49!important;color:#c5dceb!important;border-bottom:1px solid #49677d}
.sheet-editor-rail .character-builder .builder-merit-input-table>.builder-merit-list{background:#263a49!important}
.sheet-editor-rail .character-builder .builder-skill-guide summary{background:#263a49!important;color:#c5dceb!important}
.sheet-editor-rail .character-builder .builder-wizard-nav button{min-height:38px;height:auto;border:1px solid #49677d;border-radius:5px;background:#263a49;color:#e2edf5;font-size:12px}
.sheet-editor-rail .character-builder .builder-wizard-nav button:not(:disabled):hover{background:#3b5970;color:white}
.sheet-editor-rail .character-builder [data-demographics-builder] :is(input,select,textarea){background:#354c5d;color:#e2edf5;border-color:#607989;border-radius:4px;font-size:13px}

/* Center the panel hierarchy and give action controls one shared visual language. */
.sheet-editor-rail .editor-panel-title,
.sheet-editor-rail:is([data-active-panel=element],[data-active-panel=experience]) :is(.character-builder,.experience-shop)>.experience-shop-header:first-child{
	justify-content:center;
	min-height:50px;
	margin:0 8px 14px!important;
	padding:12px 10px!important;
	border-top:1px solid #4d9bd0!important;
	border-bottom:1px solid #4d9bd0!important;
	background:linear-gradient(90deg,transparent,#203d52 18%,#203d52 82%,transparent)!important;
	color:#e7f5ff!important;
	font-family:var(--display-font);
	font-size:16px;
	letter-spacing:.12em;
	text-align:center;
	text-shadow:0 0 12px rgba(111,190,239,.35);
}
.sheet-editor-rail:is([data-active-panel=element],[data-active-panel=experience]) :is(.character-builder,.experience-shop)>.experience-shop-header:first-child h2{
	color:#e7f5ff!important;
	font:700 16px/1.4 var(--display-font)!important;
	letter-spacing:.12em;
	text-align:center!important;
}
.sheet-editor-rail .editor-section-heading,
.sheet-editor-rail .format-section-title,
.sheet-editor-rail .experience-shop-group,
.sheet-editor-rail .builder-start .editor-section-heading{
	justify-content:center;
	text-align:center;
}
.sheet-editor-rail .editor-section-heading::before,
.sheet-editor-rail .editor-section-heading::after,
.sheet-editor-rail .format-section-title::before,
.sheet-editor-rail .format-section-title::after,
.sheet-editor-rail .experience-shop-group::before,
.sheet-editor-rail .experience-shop-group::after{
	content:'';
	flex:1;
	border-top:1px solid #49677d;
}
.sheet-editor-rail :is(.character-builder,.experience-shop){
	background:#1d2d3b!important;
}
.sheet-editor-rail :is(.builder-start button,.builder-wizard-nav button,.experience-shop-item){
	border:1px solid #4d7894!important;
	border-radius:5px!important;
	color:#e7f5ff!important;
	background:#203d52!important;
	box-shadow:inset 0 1px rgba(173,220,247,.16),0 2px 6px rgba(0,0,0,.18);
	transition:background-color 140ms ease,border-color 140ms ease,box-shadow 140ms ease,transform 140ms ease;
}
.sheet-editor-rail :is(.builder-start button,.builder-wizard-nav button,.experience-shop-item):not(:disabled):hover,
.sheet-editor-rail :is(.builder-start button,.builder-wizard-nav button,.experience-shop-item):not(:disabled):focus-visible{
	border-color:#9bd6f5!important;
	color:#fff!important;
	background:#2d6385!important;
	box-shadow:inset 0 1px rgba(220,243,255,.3),0 3px 10px rgba(0,0,0,.25);
	transform:translateY(-1px);
}
.sheet-editor-rail :is(.builder-start button,.builder-wizard-nav button,.experience-shop-item):disabled{
	background:#20313d!important;
}
.sheet-editor-rail .builder-start [data-start-character-builder]{
	border-color:#69b8e6!important;
	background:#285b79!important;
}
@media(prefers-reduced-motion:reduce){
	.sheet-editor-rail :is(.builder-start button,.builder-wizard-nav button,.experience-shop-item){transition:none}
}
