/* Workspace layouts share a 22px baseline and keep frames inside each control. */
[hidden]{display:none!important}
.workspace-tabs{display:flex;gap:11px;flex-wrap:wrap;align-items:center;margin:0 0 22px;padding:4px 0}
.workspace-tabs>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:6px 11px;border:1px solid #766b4c;border-radius:5px;color:inherit;background:#25352b;cursor:pointer}
.workspace-tabs>button.active{background:#355a40;border-color:#83bc8e;color:#d2efcf}
.workspace-icon{width:28px;height:28px;object-fit:contain;flex:none}
.workspace-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px;margin:0;min-width:0}
.workspace-fields>label{display:grid!important;gap:0;min-width:0;max-width:100%;height:auto!important;line-height:22px}
.workspace-fields input:not([type="checkbox"]),.workspace-fields select{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.workspace-fields>label:has(input[type="checkbox"]){display:flex!important;align-items:center;justify-content:space-between}
.workspace-disclosure{padding:11px;border:1px solid #797153;border-radius:6px}
.workspace-disclosure>summary{cursor:pointer;font-weight:600}
.workspace-disclosure[open]>summary{margin-bottom:22px}
.inline-costs{display:flex;align-items:center;gap:7px 16px;flex-wrap:wrap;min-width:0}
.inline-costs .resource-reward-row{display:flex;align-items:center;gap:5px;margin:0;min-width:0}
.inline-costs .resource-reward-icon{width:22px;height:22px;object-fit:contain}
.inline-costs .resource-reward-name,.inline-costs .resource-reward-amount{white-space:nowrap}
.progression-preview,.job-status{display:grid;gap:11px;min-width:0}
.progression-preview:empty{display:none}
.workspace-warning{color:#e28c6b;line-height:22px;overflow-wrap:anywhere}
#progression-automation{display:grid;gap:22px}
.part-requirement{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid #686d52}
.part-icon{width:55px;height:66px;object-fit:contain}
.part-copy{display:grid;gap:0;min-width:0;line-height:22px}
.part-state{color:#d2a278}.part-requirement.owned .part-state{color:#78c884}
.compact-queue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;margin-bottom:11px;min-width:0}
.queue-boss-button{display:flex!important;align-items:center;gap:11px;min-width:0;max-width:100%;width:100%;height:auto;min-height:44px;background:transparent;border:0;color:inherit;text-align:left;cursor:pointer;padding:0}
.queue-boss-image{width:44px;height:44px;object-fit:contain;flex:none}
.queue-icons{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}
.queue-option-icon{width:22px;height:22px;object-fit:contain;flex:none}
.queue-copy{min-width:0}.queue-name{font-size:19px;font-weight:650;line-height:22px}.queue-meta{line-height:22px;overflow-wrap:anywhere}
.compact-queue-row .queue-row-controls{display:flex;gap:7px;align-items:center;flex-wrap:nowrap;margin:0}
.compact-queue-row .queue-row-controls>button{min-width:30px;min-height:33px;padding:2px 7px;white-space:nowrap}
.queue-tools{display:flex!important;gap:11px;flex-wrap:nowrap!important;min-width:0}
.queue-tools>button{flex:1;min-width:0;font-size:15px;white-space:nowrap}
.queue-edit-heading{display:flex;align-items:center;gap:11px;min-width:0}
.queue-edit-heading .battle-section-title{flex:1;min-width:0}
.queue-editor{display:grid;gap:22px;min-width:0;max-width:100%}
.queue-tool-panel{min-width:0;max-width:100%}
.home-confiscat>button{display:flex;align-items:center;gap:11px;min-height:44px;background:transparent;border:0;color:inherit;flex-wrap:wrap;text-align:left;cursor:pointer}
.home-confiscat{margin-top:11px}
.social-tools{margin-block:11px 22px}.social-coverage{margin:0 0 22px;overflow-wrap:anywhere}
.collection-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-block:22px}
.collection-summary-row{display:grid;gap:0;padding:11px;border:1px solid #677453;border-radius:5px;min-width:0}
.collection-summary-row .resource-reward-row{display:flex;align-items:center;gap:7px;min-width:0}
.collection-summary-row .resource-reward-icon{width:22px;height:22px;object-fit:contain}
.collection-set-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px;margin-top:22px}
.collection-set-card{display:flex;align-items:center;gap:11px;min-width:0;max-width:100%;padding:11px;text-align:left;border:1px solid #817052;border-radius:6px;background:#202d24;color:inherit;cursor:pointer}
.collection-set-card.owned{border-color:#70ad77}
.collection-set-thumb{width:66px;height:66px;object-fit:contain;flex:none}
.collection-set-copy{display:grid;gap:0;min-width:0;overflow-wrap:anywhere}
.collection-set-count{font-variant-numeric:tabular-nums}
.collection-item-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:11px}
.collection-item{display:grid;align-content:start;gap:0;min-width:0;padding:11px;border:1px solid #776747;border-radius:5px;overflow-wrap:anywhere}
.collection-item.owned{border-color:#75bd7d;color:#8bd18e}.collection-item.missing{border-color:#b76a60;color:#e49b8b}
.collection-item-image{width:100%;height:132px;object-fit:contain}
.heat-types{display:flex;gap:11px;min-width:0;align-items:stretch}
.heat-type{flex:1;min-width:0;display:grid;justify-items:center;align-content:start;gap:0;padding:7px;border:1px solid #7e7357;border-radius:5px;background:transparent;color:inherit;cursor:pointer}
.heat-type img{width:44px;height:44px;object-fit:contain}.heat-type.active{border-color:#70c480;background:#28482e;color:#c3edc5}
.heat-recipient-list{display:grid;gap:0;max-height:264px;overflow:auto;border:1px solid #6a7156;padding:0 11px}
.heat-recipient{display:flex;gap:7px;align-items:center;justify-content:space-between;min-height:44px;min-width:0;line-height:22px;border-bottom:1px solid #67705355}
.heat-recipient>span{min-width:0;overflow-wrap:anywhere}.heat-inbox-row{cursor:pointer;min-width:0}
.heat-inbox-row.selected{background:#31513a!important;border-color:#7fbc80!important}
.heat-inbox-row .heat-copy{flex:1;min-width:0;overflow-wrap:anywhere}.heat-inbox-row .profile-avatar{width:33px;height:33px;object-fit:cover;border-radius:50%}
.heat-selection-bar{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-block:22px}
.heat-quota{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:22px}
dialog .info-dialog-content,dialog .info-dialog-content>*{min-width:0;max-width:100%;box-sizing:border-box}
dialog .dialog-header{height:auto;min-width:0;align-items:start}
dialog .dialog-header h2{min-width:0;line-height:22px;overflow-wrap:anywhere;margin:0}
dialog .dialog-close{flex:none}
dialog :is(.button-row,.queue-row-controls){flex-wrap:wrap}
:root:root:root[data-theme="notebook"]:not([data-ui-font]) :is(.muted,.guide-note,.guide-action-note,.guide-description,.queue-meta,.checkpoint-meta,.checkpoint-rewards,.reward-set-description,.part-copy,.social-coverage,.collection-item-bonus),
:root:root:root[data-theme="notebook"]:not([data-ui-font]) :is(.muted,.guide-note,.guide-action-note,.guide-description,.queue-meta,.checkpoint-meta,.checkpoint-rewards,.reward-set-description,.part-copy,.social-coverage,.collection-item-bonus) *{font-family:"Grid Segoe","Segoe UI",Arial,sans-serif!important;font-size:13px!important;font-weight:500!important;letter-spacing:0!important;line-height:22px!important}
:root[data-theme="notebook"] :is(.checkpoint-name,.queue-name,.social-card-name,.workspace-tabs button,.battle-section-title){font-weight:650!important}
:root[data-theme="notebook"] :is(.workspace-tabs>button,.queue-tools>button,.compact-queue-row button,.heat-type,.heat-selection-bar>button,.collection-set-card,.home-confiscat>button){outline-offset:0!important;box-shadow:none!important;border:1px solid var(--theme-line)!important;border-radius:4px!important;padding:0 11px!important;min-height:44px!important;height:auto!important;margin:0!important;white-space:normal!important;background:transparent!important;color:var(--theme-ink)!important;line-height:22px!important}
:root[data-theme="notebook"] .workspace-tabs{gap:11px!important;padding:0!important}
:root[data-theme="notebook"] .workspace-tabs>button.active,:root[data-theme="notebook"] .heat-type.active{background:#548d5833!important;border-color:#4d8452!important}
:root[data-theme="notebook"] .compact-queue-row{box-shadow:inset 0 0 0 1px var(--theme-line)!important;border:0!important;gap:11px!important;margin:0 0 22px!important;padding:11px!important;min-height:66px!important}
:root[data-theme="notebook"] .compact-queue-row .queue-boss-button{border:0!important;outline:0!important;padding:0!important;display:flex!important;flex-wrap:wrap}
:root[data-theme="notebook"] .compact-queue-row .queue-row-controls{margin:0!important;gap:7px!important;align-self:center}
:root[data-theme="notebook"] .compact-queue-row .queue-row-controls>button{min-height:22px!important;min-width:22px;padding:0 4px!important}
:root[data-theme="notebook"] .queue-tools>button{font-size:17px!important;min-height:33px!important}
:root[data-theme="notebook"] .workspace-fields{gap:22px!important}
:root[data-theme="notebook"] .workspace-fields>label{height:auto!important;min-height:44px!important;white-space:normal!important;line-height:22px!important}
:root[data-theme="notebook"] :is(.progression-preview,.job-status,.workspace-disclosure,.part-requirement,.collection-summary-row,.collection-set-card,.collection-item){outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--theme-ink);border-color:var(--theme-line)}
:root[data-theme="notebook"] :is(.progression-preview,.job-status){gap:11px!important;padding:11px 0!important}
:root[data-theme="notebook"] .inline-costs :is(.resource-reward-icon,.combo-resource-icon){width:22px!important;height:22px!important}
:root[data-theme="notebook"] .inline-costs .resource-reward-row{outline:0!important;border:0!important;padding:0!important;margin:0!important;gap:5px!important}
:root[data-theme="notebook"] .part-requirement.owned .part-state{color:#33763c!important}
:root[data-theme="notebook"] .collection-set-card.owned,:root[data-theme="notebook"] .collection-item.owned{border-color:#42834a!important;color:#34743b!important}
:root[data-theme="notebook"] .collection-item.missing{border-color:#ab5147!important;color:#9e463e!important}
:root[data-theme="notebook"] .workspace-warning{color:#9e463e!important}
:root:root[data-theme="notebook"] #home-events.home-events .home-event{border:0!important;outline:0!important;box-shadow:none!important;background:none!important;border-radius:0!important;padding:0!important}
:root:root[data-theme="notebook"] #home-events.home-events .home-event::before{display:none!important}
:root:root #home-events .home-event-icon{width:36px!important;height:36px!important;object-fit:contain;filter:none!important}
.resources-heading-icon{width:33px!important;height:33px!important;object-fit:contain;filter:none!important;opacity:1!important}
#home-events.home-events .home-event{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
:root[data-theme="notebook"] #player-metrics.home-metrics .home-resource{padding:0!important;column-gap:3px!important}
:root[data-theme="notebook"] #player-metrics.home-metrics .home-resource-name{font-size:12px!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
:root[data-theme="notebook"] dialog.player-room-dialog.has-room{background-image:linear-gradient(#fbfaf329,#fbfaf340),var(--player-room)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
:root[data-theme="notebook"] dialog.player-room-dialog.has-room :is(.profile-highlight-metric,.profile-daily-damage,.player-achievement,.profile-ratings,.profile-friendship,.profile-status,.info-dialog-content>.resource-reward-row){background:#f5eedbe8!important;color:#30352c!important;border-color:var(--theme-line)!important;border-radius:4px!important}
:root[data-theme="notebook"] dialog.player-room-dialog.has-room .dialog-header{background:#f5eedbf0!important}
:root[data-theme="notebook"] dialog.player-room-dialog.has-room .profile-top-interactions{background:#f5eedbc9!important;border-radius:4px;padding:7px!important}
:root[data-theme="notebook"] .heat-inbox-row.selected{background:#6ca27533!important}
:root[data-theme="notebook"] .heat-type{padding:7px!important;min-height:88px!important}
:root[data-theme="notebook"] #guide .guide-detail{min-width:0}
:root[data-theme="notebook"] .collection-summary-row .resource-reward-row{outline:0!important;box-shadow:none!important}
@media(max-width:720px){
  .workspace-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}
  .workspace-tabs>button{flex-shrink:0;white-space:nowrap!important;font-size:15px!important}
  .workspace-fields{grid-template-columns:minmax(0,1fr)}
  .compact-queue-row{grid-template-columns:minmax(0,1fr)}
  .compact-queue-row .queue-row-controls{justify-content:flex-end;justify-self:end}
  .collection-summary{grid-template-columns:minmax(0,1fr)}
  .collection-set-list{grid-template-columns:minmax(0,1fr)}
  .collection-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .part-requirement{grid-template-columns:44px minmax(0,1fr)}
  .part-requirement>button{grid-column:2;justify-self:start}
  .heat-types{gap:5px}.heat-type{padding:5px!important;font-size:13px!important}.heat-type img{width:33px;height:44px}
  .heat-inbox-row{flex-wrap:wrap}.heat-inbox-row .heat-copy{flex-basis:calc(100% - 85px)}
  .heat-inbox-row>button{margin-left:auto!important}
  :root[data-theme="notebook"] .compact-queue-row .queue-row-controls>button{min-height:33px!important;min-width:33px}
  dialog :is(.button-row>button,.primary,.secondary){white-space:normal!important;height:auto!important;max-width:100%;overflow-wrap:anywhere}
}
.queue-editor .boss-mode-choices{margin:0}
.queue-editor .boss-choice-column{min-width:0}
.queue-editor .choice-rows{gap:11px!important}
.queue-editor button.choice-row{height:auto!important;min-height:44px!important;outline-offset:0!important;padding:0 7px!important;line-height:22px!important;display:flex;align-items:center;flex-wrap:wrap;gap:0 5px!important}
.queue-editor .choice-title,.queue-editor .choice-hint{font-size:14px!important;line-height:22px!important}
.queue-editor .guide-actions,.queue-editor .damage-options{gap:11px!important}
.progression-totals{display:flex;align-items:center;gap:7px 16px;flex-wrap:wrap;margin:11px 0 22px}
.progression-totals .resource-reward-row{display:flex;align-items:center;gap:5px;outline:0!important;border:0!important;padding:0!important;margin:0!important}
.progression-totals .resource-reward-icon{width:22px;height:22px;object-fit:contain}
.camp-heading,.camp-reward,.camp-guild{display:flex;gap:11px;align-items:center;min-width:0}
.camp-bandage{width:55px;height:55px;object-fit:contain}
.camp-card{display:grid;gap:11px}
.camp-plan{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}
.camp-reward{gap:5px;line-height:22px}.camp-reward img{width:22px;height:22px}
.camp-leaders{display:grid;gap:11px}.camp-guild{background:transparent;color:inherit;border:1px solid #796d51;text-align:left;padding:5px;cursor:pointer}
.camp-guild>div:not(.guild-emblem){overflow-wrap:anywhere}.camp-guild .guild-emblem{width:44px;height:44px;flex:none}
:root[data-theme="notebook"] .camp-card,:root[data-theme="notebook"] .camp-guild{background:transparent!important;border-color:var(--theme-line)!important;box-shadow:none!important;outline-offset:0!important}
@media(max-width:720px){.queue-tools>button{font-size:12px!important;padding:0 5px!important}.camp-guild{flex-wrap:wrap}.queue-editor .boss-mode-choices{column-gap:11px!important}}
/* Keep quantities legible while handwritten headings retain the notebook character. */
:root:root:root[data-theme="notebook"]:not([data-ui-font]) :is(.home-resource-name,.home-resource-amount,.home-resource-value,.weapons-table td,.weapons-table th,.weapon-stats td,.weapon-stats th,.camp-reward,.queue-meta,.choice-hint){font-family:"Grid Segoe","Segoe UI",Arial,sans-serif!important;font-size:14px!important;line-height:22px!important;font-variant-numeric:tabular-nums!important}
:root:root:root[data-theme="notebook"]:not([data-ui-font]) #player-metrics .home-resource-name{font-family:"Grid Segoe","Segoe UI",Arial,sans-serif!important;font-size:12px!important}
:root:root[data-theme="notebook"] .camp-card{gap:0!important;padding:11px!important;margin:0 0 22px!important}
:root:root[data-theme="notebook"] .camp-card>*{margin:0!important;line-height:22px!important}
:root:root[data-theme="notebook"] .camp-card .camp-heading{min-height:66px}
:root:root[data-theme="notebook"] .camp-card>.inline-costs{padding:11px 0!important}
:root:root[data-theme="notebook"] .camp-card>button{outline-offset:0!important;margin:11px 0!important}
:root:root[data-theme="notebook"] .heat-inbox-row>button{outline:0!important;box-shadow:none!important;border:1px solid var(--theme-line)!important;margin:0!important}
@media(max-width:720px){:root:root:root[data-theme="notebook"]:not([data-ui-font]) #player-metrics .home-resource-name{font-size:14px!important}}
:root:root:root[data-theme="notebook"]:not([data-ui-font]) :is(.home-resource-count,.home-weapon-value,.home-resource-delta){font-family:"Grid Segoe","Segoe UI",Arial,sans-serif!important;font-variant-numeric:tabular-nums!important;font-size:14px!important;line-height:22px!important;font-weight:600!important}
:root:root:root[data-theme="notebook"]:not([data-ui-font]) .home-resource-delta{font-size:11px!important;font-weight:500!important}
:root:root:root[data-theme="notebook"]:not([data-ui-font]) #player-metrics .home-resource-count{font-size:12px!important}
.camp-details{padding:5px 0}.camp-details>summary{cursor:pointer;line-height:22px}.camp-details[open]>:not(summary){margin-top:11px}
@media(max-width:720px){:root:root:root[data-theme="notebook"]:not([data-ui-font]) #player-metrics .home-resource-count{font-size:14px!important}.home-weapons-table .home-weapon-balance{gap:3px!important}}
.gear-bonuses{display:grid;gap:0;min-width:0}.gear-bonuses>.muted{margin:0!important}
.gear-bonuses:has(.inline-costs:empty){display:none}
.guild-gear-part{display:flex;gap:11px;align-items:center;min-width:0}.guild-gear-image{width:66px;height:66px;object-fit:contain}
dialog.player-room-dialog .info-dialog-content>.resource-reward-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:0 7px!important;align-items:center!important;height:auto!important;min-height:44px!important;padding:7px!important;outline-offset:0!important}
dialog.player-room-dialog .info-dialog-content>.resource-reward-row>.resource-reward-icon{width:22px!important;height:22px!important;grid-column:1;grid-row:1}
dialog.player-room-dialog .info-dialog-content>.resource-reward-row>.resource-reward-name{grid-column:2;line-height:22px!important;white-space:normal!important;overflow-wrap:anywhere;font-size:14px!important}
dialog.player-room-dialog .info-dialog-content>.resource-reward-row>.resource-reward-amount{grid-column:3;line-height:22px!important;font-size:14px!important;font-variant-numeric:tabular-nums}
dialog.player-room-dialog .info-dialog-content>.resource-reward-row>.muted{grid-column:2/-1;line-height:22px!important;margin:0!important}
dialog .resource-reward-row{min-height:22px;height:auto!important;line-height:22px!important}dialog .resource-reward-name{overflow-wrap:anywhere;white-space:normal}
:root:root[data-theme="notebook"] button.choice-row{column-gap:7px!important}
:root:root[data-theme="notebook"] .queue-editor button.choice-row{height:auto!important;min-height:44px!important;padding:0 7px!important;gap:0 7px!important;outline-offset:0!important;line-height:22px!important}
:root:root[data-theme="notebook"] .queue-editor :is(.guide-actions,.damage-options,.queue-edit-heading){outline:0!important;box-shadow:none!important;border:0!important;background:transparent!important;padding:0!important}
:root:root[data-theme="notebook"] .queue-editor{row-gap:22px!important}
.gear-bonuses:empty{display:none!important}
@media(min-width:721px){
  :root:root[data-theme="notebook"] #player-metrics.home-metrics{gap:11px!important}
  :root:root[data-theme="notebook"] #player-metrics.home-metrics .home-resource{height:66px!important;grid-template-columns:18px minmax(0,1fr)!important;grid-template-rows:22px 44px!important;padding:0!important;align-content:start!important;overflow:visible}
  :root:root[data-theme="notebook"] #player-metrics .home-resource::before{inset:0!important;border-width:7px!important;border-image-width:7px!important}
  :root:root[data-theme="notebook"] #player-metrics .resource-reward-icon{width:18px!important;height:22px!important}
  :root:root[data-theme="notebook"] #player-metrics .home-resource-balance{display:flex!important;flex-wrap:wrap!important;align-content:start!important;justify-content:center!important;gap:0 4px!important;min-width:0!important;width:100%!important;overflow:visible!important}
  :root:root:root[data-theme="notebook"]:not([data-ui-font]) #player-metrics .home-resource-name{font-size:11.5px!important}
}
#progression-automation>.button-row,#progression-automation>.workspace-fields,#progression-automation>.workspace-disclosure{margin:0!important;padding-block:0!important}
#progression-automation>.workspace-disclosure{padding:11px!important}
:root:root[data-theme="notebook"] #progression-automation{row-gap:22px!important}
:root:root[data-theme="notebook"] .progression-preview{row-gap:0!important}
.progression-preview>*{margin-block:0!important}.progression-preview>.inline-costs{min-height:22px}
.heat-selection-bar>.primary:not(:disabled){background:#386b4144!important;border-color:#487c4f!important}
@media(max-width:720px){
  .heat-selection-bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px!important}
  .heat-selection-bar>label{grid-column:1/-1;min-height:22px!important}
  .heat-selection-bar>button{font-size:13px!important;line-height:22px!important;white-space:normal!important;padding:0 5px!important;min-height:44px!important;margin:0!important}
  :root:root .heat-inbox-row{display:grid!important;grid-template-columns:33px 22px minmax(0,1fr) auto;gap:0 7px!important;align-items:center;padding:7px!important;min-height:66px!important}
  .heat-inbox-row>.profile-avatar{grid-column:1;grid-row:1}.heat-inbox-row>.workspace-icon{grid-column:2;grid-row:1;width:22px!important;height:22px!important}
  .heat-inbox-row>.heat-copy{grid-column:3;grid-row:1;min-width:0;line-height:22px!important}
  :root:root .heat-inbox-row>button{grid-column:4;grid-row:1;font-size:13px!important;padding:0 5px!important;min-height:33px!important;min-width:0!important;margin:0!important;line-height:22px!important}
}
/* Shared compact rows for the five character metrics, like the resource table. */
:root:root:root #player-metrics.home-status-table{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0!important;padding:0!important;background:none!important}
:root:root:root #player-metrics.home-status-table .home-resource{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;grid-template-rows:22px!important;grid-template-areas:none!important;gap:0 7px!important;height:22px!important;min-height:22px!important;line-height:22px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:none!important;text-align:left!important;align-content:center!important}
:root:root:root #player-metrics.home-status-table .home-resource::before,:root:root:root #player-metrics.home-status-table .home-resource::after{display:none!important}
:root:root:root #player-metrics.home-status-table .resource-reward-icon{grid-area:auto!important;grid-column:1!important;grid-row:1!important;width:22px!important;height:22px!important;object-fit:contain!important}
:root:root:root #player-metrics.home-status-table .home-resource-name{grid-area:auto!important;grid-column:2!important;grid-row:1!important;font-size:14px!important;line-height:22px!important;height:22px!important;min-height:22px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
:root:root:root #player-metrics.home-status-table .home-resource-balance{grid-area:auto!important;grid-column:3!important;grid-row:1!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;width:auto!important;min-height:22px!important;height:22px!important;white-space:nowrap!important}
:root:root:root #player-metrics.home-status-table .home-resource-count{font-size:14px!important;line-height:22px!important}
:root:root:root #player-metrics.home-status-table .home-resource-delta{font-size:11px!important;line-height:22px!important}
:root:root:root #home-events.home-events{display:flex;align-items:flex-start;justify-content:center;flex-wrap:wrap;gap:11px 16px!important;margin:0!important}
:root:root:root #home-events.home-events .home-event{display:grid!important;grid-template-rows:44px auto!important;justify-items:center!important;align-content:start!important;align-items:center!important;gap:0!important;flex:0 0 88px!important;width:88px!important;height:auto!important;min-height:66px!important;padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;outline-offset:2px!important;color:inherit;cursor:pointer}
:root:root:root #home-events.home-events .home-event-icon{width:40px!important;height:40px!important;object-fit:contain!important;filter:none!important;margin:0!important}
:root:root:root #home-events .home-event-label{font-size:12px!important;line-height:22px!important;text-align:center!important;overflow-wrap:anywhere;white-space:normal!important}
:root:root:root #home-events .home-event:disabled{opacity:.35;cursor:default}
:root:root:root #home-events .home-event.available .home-event-icon{filter:drop-shadow(0 0 5px #6ed891)!important}
:root:root:root #home-events .home-event.available .home-event-label{color:#79b87e}
.trade-dialog{display:grid;gap:22px;min-width:0}.trade-dialog>*{margin:0!important;min-width:0}
.trade-balances,.trade-loot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.trade-body{display:grid;gap:22px}.trade-offer,.trade-exchange{display:grid;gap:11px;padding:11px;border:1px solid var(--theme-line,#766849);border-radius:5px;min-width:0}
.trade-rate,.trade-footer{display:flex;gap:11px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.trade-dialog .resource-reward-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto;gap:0 5px!important;align-items:center!important;padding:0!important;margin:0!important;min-height:22px!important;line-height:22px!important;outline:0!important;border:0!important;background:none!important;box-shadow:none!important}
.trade-dialog .resource-reward-icon{width:22px!important;height:22px!important;object-fit:contain}.trade-dialog .resource-reward-name{font-size:13px;line-height:22px}.trade-dialog .resource-reward-amount{font-size:14px;line-height:22px;white-space:nowrap;font-variant-numeric:tabular-nums}
:root[data-theme="notebook"] .trade-offer,:root[data-theme="notebook"] .trade-exchange{background:none!important;outline:0!important;box-shadow:none!important;border-color:var(--theme-line)!important}
@media(max-width:480px){.trade-balances,.trade-loot{grid-template-columns:minmax(0,1fr)}.trade-rate{gap:5px}.trade-rate .resource-reward-name{font-size:12px}.trade-dialog{gap:11px}}
.home-event-art{width:44px;height:44px;display:grid;place-items:center;overflow:hidden}
#home-events [data-event-key="monthly"] .home-event-icon{transform:scale(3.35)}
#home-events [data-event-key="smuggling"] .home-event-icon{transform:scale(1.4)}
.trade-body[data-trade-view="exchange"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.trade-exchange{align-content:start;gap:11px!important}.trade-amount-field{display:grid!important;grid-template-columns:minmax(0,1fr) 88px!important;align-items:center!important;gap:11px!important;margin:0!important;min-height:44px!important;line-height:22px!important}
.trade-amount-field input{width:100%!important;min-width:0!important;height:33px!important;box-sizing:border-box!important;margin:0!important;padding:0 7px!important;line-height:22px!important;font-size:16px!important;font-variant-numeric:tabular-nums}
.trade-exchange .muted{margin:0!important;line-height:22px!important}.trade-exchange>button{min-height:33px!important;margin:0!important;line-height:22px!important;padding:0 11px!important}
.trade-rate{justify-content:flex-start!important;gap:7px!important;min-height:22px;line-height:22px!important}.trade-rate>.resource-reward-row{display:flex!important;gap:4px!important}
.damage-unallocated-note{display:flex;flex-wrap:wrap;gap:0 5px;line-height:22px;font-size:13px;margin:11px 0 0;color:var(--theme-ink,#c0baa1)}
@media(max-width:720px){.trade-body[data-trade-view="exchange"]{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){
  :root:root:root #home-events.home-events{gap:11px 5px!important}
  :root:root:root #home-events.home-events .home-event{flex:0 0 calc((100% - 15px)/4)!important;width:calc((100% - 15px)/4)!important;min-width:0!important}
  :root:root:root #home-events .home-event-label{font-size:11px!important}
}
