/* Raster frames own their silhouette. Legacy rounded fills must not cover corners. */
/* Results have one outer frame, not another frame around the illustrated receipt. */
html body .room-experience.is-room-result .room-action-report{border:0!important;border-image:none!important;outline:0!important;border-radius:0!important;box-shadow:none!important}
html body .room-action-report :is(.growth-graph,.retainer-ability-change){border:2px solid transparent!important;border-image:var(--bronze-frame) 180 / 6px / 0 stretch!important;outline:0!important;border-radius:0!important;box-shadow:0 4px 10px #0005!important}
html body .room-action-report :is(.growth-graph,.retainer-ability-change)::before,
html body .room-action-report :is(.growth-graph,.retainer-ability-change)::after{border:0!important;outline:0!important;box-shadow:none!important}
html body .room-action-report .growth-graph-track{box-shadow:none!important}
html body .room-action-report .growth-graph::before,
html body .room-action-report .report-rewards>div::before,
html body .annual-reward-grid>div::before{display:none!important;content:none!important;background:none!important}
html body .room-action-report .report-rewards.report-rewards>div,
html body .annual-reward-grid>div{border:2px solid transparent!important;border-image:var(--bronze-frame) 180 / 6px / 0 stretch!important;outline:0!important;border-radius:0!important;box-shadow:0 4px 10px #0005!important}
/* A choice report is one framed sheet, not a frame nested inside every value. */
html body :is(.palace-sheet,#modal) .routine-choice-detail{border:0!important;border-image:none!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
html body :is(.palace-sheet,#modal) .routine-choice-detail>summary{border:0!important;border-image:none!important;box-shadow:none!important;background:#13273a!important;padding:10px 12px!important;min-height:52px;box-sizing:border-box}
html body :is(.palace-sheet,#modal) :is(.choice-experience,.growth-report,.fixed-report){border:0!important;border-image:none!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;padding:12px 0!important;margin:0!important;gap:8px!important}
html body :is(.palace-sheet,#modal) :is(.growth-report,.fixed-report){border-top:1px solid #8393a244!important}
html body :is(.palace-sheet,#modal) :is(.experience-gain,.forecast-fixed,.forecast-gain){border:0!important;border-image:none!important;outline:0!important;box-shadow:none!important;border-radius:0!important;background:#20364b!important;padding:9px 11px!important}
html body :is(.palace-sheet,#modal) .choice-detail-intro{border:0!important;border-image:none!important;box-shadow:none!important;background:#172c40!important;padding:12px!important;margin:8px 0!important}
html body :is(.palace-sheet,#modal) .choice-report{border-width:8px!important;border-image-width:8px!important;padding:12px!important;margin:10px 0!important;background:#14283b!important}
html body :is(.palace-sheet,#modal) .choice-report-heading{border:0!important;box-shadow:none!important;background:none!important;margin-bottom:4px!important}
html body :is(.person-detail-tabs,.guide-goal-tabs,.palace-subnav,.palace-utility,.choice-subtabs){border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
html body :is(.person-detail-tabs,.guide-goal-tabs,.palace-subnav,.palace-utility,.choice-subtabs) button{
 border-radius:0!important;outline:0!important;box-shadow:none!important;clip-path:none!important;background-clip:padding-box!important;
 border-color:transparent!important;border-image:var(--bronze-frame) 180 / 5px / 0 stretch!important;
}
html body :is(.palace-sheet-body,#modal-content) :is(.character-details,.person-compact,.person-detail-section){border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
html body .palace-sheet[data-content="person"] .person-compact .character-details{padding:2px!important}
html body :is(.palace-sheet,#modal,.conquest-target-dialog,.castle-city-sheet)>header{border-radius:0!important;outline:0!important;box-shadow:none!important;border-image:none!important;background:#122438!important;border:0!important;border-bottom:1px solid #88724c!important}
html body .ability-radar{border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background-color:transparent!important}
/* The register's carved frame owns the outer 12px; no receipt touches that rail. */
html body .room-register{box-sizing:border-box;padding:16px!important;gap:14px!important;overflow:hidden;min-height:0}
html body .room-register>header{min-width:0;min-height:54px;flex:none;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body .room-register .register-paths{min-height:0;gap:12px!important}
html body .room-register .register-mastery{min-height:32px;padding:7px 10px!important;margin:0!important;border:0!important;border-image:none!important;background:#102235!important;box-shadow:none!important;font-size:12px;line-height:1.5}
html body .room-register .register-record-actions{padding:0!important;margin:0!important;min-height:36px;display:flex;justify-content:flex-end;align-items:center}
html body .room-register .register-record-actions button{margin:0!important;min-height:36px;max-width:100%}
html body .room-register .register-people{overflow:auto;padding:2px;box-sizing:border-box}
@media(max-width:700px){html body .room-register{padding:12px!important;gap:10px!important}html body .room-register>header{min-height:42px}html body .room-register .register-mastery{font-size:11px;padding:6px 8px!important;gap:5px 8px!important}}
html body :is(.person-detail-tabs,.guide-goal-tabs,.palace-subnav,.palace-utility,.choice-subtabs) button:not([aria-pressed=true]):not([aria-selected=true]){background-color:#14273b!important}
html body :is(.person-detail-tabs,.guide-goal-tabs,.palace-subnav,.palace-utility,.choice-subtabs) button:is([aria-pressed=true],[aria-selected=true]){background-color:#36516b!important}
