/* Public guild records with owner controls for importing balance snapshots. */
.dkp-page-heading{margin-bottom:1rem}.dkp-page-heading button{flex:none;background:transparent;color:var(--gold);border-color:#746348;font-size:.875rem;padding:.55rem .8rem}.dkp-load-status{font-size:.8125rem;color:var(--muted);margin:0 0 1.1rem}.dkp-dashboard{min-width:0}
.dkp-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}.dkp-summary-card{display:block;text-align:left;padding:.75rem .9rem;background:linear-gradient(140deg,#343126,#24262a);border:1px solid #63563e;min-width:0;color:#e9dbbd;font-weight:400}.dkp-summary-card:hover{background:#3a352c;color:#fff0ce;border-color:#b69763}.dkp-summary-card strong{display:block;font:1.7rem/1.15 Georgia,serif;font-variant-numeric:tabular-nums;color:#ecd49d;margin-bottom:.3rem}.dkp-summary-card span{display:block;font-size:.75rem;line-height:1.4;color:#c4bcae}
/* The Raid tools menu must extend below the tabs, outside any scroll container. */
.dkp-section-nav[role=tablist]{gap:.25rem;margin:1rem 0 0;padding:0;overflow:visible;flex-wrap:wrap;border-bottom:1px solid #746348}.dkp-section-nav [role=tab]{flex:none;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#bcb8ad;font-size:.875rem;font-weight:500;padding:.8rem 1rem;white-space:nowrap}.dkp-section-nav [role=tab]:hover{color:#efddba;background:#b697630c}.dkp-section-nav [role=tab][aria-selected=true]{color:#eed49e;border-bottom-color:#d6b572;background:#b6976314}
.dkp-source-details{margin:.9rem 0}.dkp-source-details summary{font-size:.8125rem;color:#c7b890;cursor:pointer}.dkp-source-details .dkp-source{margin:.6rem 0}.dkp-panel[role=tabpanel]{margin:0;border-top:0;padding:1.35rem 0 1rem}.dkp-panel[role=tabpanel]:focus-visible{outline:2px solid #cbb4f5;outline-offset:4px}
.dkp-pagination{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:flex-end;margin:.8rem 0;color:#bcb8ad;font-size:.8125rem}.dkp-pagination>span:first-child{margin-right:auto}.dkp-pagination button{padding:.4rem .7rem;background:transparent;color:var(--gold);border-color:#746348;font-size:.8125rem}.dkp-pagination button:disabled{opacity:.4;cursor:default}.dkp-pagination button:disabled:hover{background:transparent}
.dkp-table-guild{min-width:850px}.dkp-table-guild td:nth-child(6),.dkp-table-guild td:last-child{min-width:160px}
.dkp-observation-details{margin:.8rem 0;border-bottom:1px solid var(--line);padding:.6rem 0}.dkp-observation-details summary{cursor:pointer;color:var(--gold);font-size:.9375rem}.dkp-observation-details[open] summary{margin-bottom:.8rem}.dkp-table-roster{min-width:580px}.dkp-table-loot{min-width:620px}.dkp-roster-history{padding:.65rem 0;border-bottom:1px solid var(--line)}.dkp-roster-history p{margin:.25rem 0;font-size:.875rem;color:var(--muted)}
.dkp-link-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}
.dkp-workbench-heading,.dkp-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}
.dkp-workbench-heading h2{font-size:1.8rem}.dkp-workbench-heading p:last-child{color:var(--muted);margin-bottom:0}
.dkp-workbench-heading button{flex:none;font-size:.875rem;padding:.55rem .8rem;background:transparent;color:var(--gold);border-color:#746348}
.dkp-notice{padding:.8rem 1rem;margin:1.1rem 0;border-left:3px solid #b69763;background:#b6976314;color:#d8d4c6;font-size:.9375rem}
.dkp-section-nav{display:flex;flex-wrap:wrap;gap:.45rem 1.4rem;border-bottom:1px solid var(--line);padding:.25rem 0 .9rem;margin-bottom:1.4rem}
.dkp-section-nav a{font-size:.9375rem;text-decoration:none}.dkp-section-nav a:hover{text-decoration:underline}
.dkp-panel{margin:1.6rem 0 0;padding:1.3rem 0 1.6rem;border-top:1px solid #746348;scroll-margin-top:1rem;min-width:0}
.dkp-panel h2{font-size:1.6rem}.dkp-panel h3{font-size:1.25rem}.dkp-panel-heading{align-items:center}.dkp-kicker{font-size:.75rem;letter-spacing:.065em;font-weight:600;color:#c4ac83;margin:0 0 .45rem}
.dkp-badge{display:inline-block;flex:none;border:1px solid #637368;background:#52694c20;color:#c6d9b9;border-radius:3px;padding:.25rem .55rem;font-size:.75rem;line-height:1.5}
.dkp-badge-review{border-color:#8f7450;background:#997c461c;color:#e3c18a}.dkp-badge-unknown{border-color:#806b56;background:#806b5619;color:#d3bea5}
.dkp-help{font-size:.875rem;line-height:1.6;color:var(--muted);max-width:90ch}.dkp-source{margin:1rem 0;padding:.75rem 1rem;border-left:2px solid #566459;background:#28352d35;font-size:.8125rem;color:#c3c9bc}.dkp-source p{margin:.2rem 0}.dkp-source .dkp-freshness{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;color:#c4d7b8}.dkp-source .dkp-stale{color:#e3c18a}.dkp-source .dkp-unknown{color:#d3bea5}.dkp-source a{overflow-wrap:anywhere}
.dkp-filters{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:.85rem;margin:1.1rem 0 .5rem}.dkp-filter-single{grid-template-columns:minmax(0,1fr);max-width:650px}.dkp-filters label,.dkp-import form>label{display:block;font-size:.875rem;color:#d9d4c7}
.dkp-filters input,.dkp-filters select,.dkp-import select,.dkp-import textarea,.dkp-import input[type=datetime-local]{display:block;width:100%;margin-top:.35rem;padding:.65rem .75rem;border:1px solid #626b61;border-radius:3px;background:#1b2024;color:#ede7db;font:inherit}
.dkp-filters input::placeholder,.dkp-import textarea::placeholder{color:#98a198}.dkp-result-count{font-size:.8125rem;color:#b3b7b4;margin:.55rem 0 .7rem}
.dkp-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #424b43;border-radius:3px;scrollbar-width:thin}.dkp-table-wrap:empty{border:0}.dkp-table-wrap:focus-visible{outline:3px solid #cbb4f5;outline-offset:3px}
.dkp-table{border-collapse:collapse;width:100%;font-size:.875rem;text-align:left}.dkp-table caption{text-align:left;padding:.7rem .85rem;color:var(--muted);font-size:.8125rem;background:#1a2022}.dkp-table thead{background:#29302d}.dkp-table th{font-weight:600;color:#e4d3b3}.dkp-table th,.dkp-table td{padding:.7rem .85rem;border-bottom:1px solid #3a443d;vertical-align:top}.dkp-table tbody tr:last-child td{border-bottom:0}.dkp-table tbody tr:hover{background:#b6976309}.dkp-table .dkp-number{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.dkp-table .dkp-character{font-weight:600;color:#eadbbd}.dkp-table .dkp-map-label{max-width:260px;font-size:.8125rem;color:#c4d7b8}.dkp-table .dkp-unknown{color:#d3bea5}.dkp-table small{display:block;font-size:.75rem;color:var(--muted);margin-top:.15rem}.dkp-table-standings{min-width:560px}.dkp-table-prices{min-width:280px}.dkp-table-prices th:last-child,.dkp-table-prices td:last-child{width:135px}
.dkp-empty{margin:0;padding:1rem;color:#bfc6b8;font-size:.9375rem;border-left:2px solid #6a735b;background:#25302a40}
.dkp-rule-columns{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:1.1rem}.dkp-rule-list{list-style:none;padding:0;margin:.5rem 0}.dkp-rule-list li{padding:.9rem 0;border-bottom:1px solid #3c4540}.dkp-rule-list li:last-child{border-bottom:0}.dkp-rule-list h4{font-size:.9375rem;font-weight:600;color:#e5d4b4;margin:0 0 .35rem}.dkp-rule-list p{font-size:.875rem;color:#c0c6ba;margin:.2rem 0}.dkp-rule-list .dkp-evidence{font-size:.75rem;color:#aeb9a9}.dkp-review-section{border-top:1px solid var(--line);margin-top:1.1rem;padding-top:1.2rem}.dkp-review-list{display:grid;grid-template-columns:1fr 1fr;gap:0 2rem}.dkp-review-list h4{color:#e3c18a}.dkp-provisional{border-left:3px solid #807056;padding:1.1rem 1.2rem;background:#806b5610}.dkp-provisional p:last-child{margin-bottom:0;color:#c5c6b8}
.dkp-import form{display:grid;gap:1rem;max-width:760px;margin-top:1rem}.dkp-import textarea{min-height:145px;resize:vertical;font-family:ui-monospace,Consolas,monospace;font-size:.875rem}.dkp-import input[type=file]{display:block;max-width:100%;margin-top:.45rem;color:var(--muted);font-size:.875rem}.dkp-import input[type=file]::file-selector-button{margin-right:.65rem;padding:.4rem .6rem;background:#26302c;color:#dfc58f;border:1px solid #637368;border-radius:3px}.dkp-import .dkp-checkbox{display:flex;gap:.7rem;align-items:flex-start;line-height:1.55}.dkp-checkbox input{flex:none;margin:.25rem 0 0;width:1rem;height:1rem;accent-color:#b99860}.dkp-import form>button{justify-self:start}.dkp-import .dkp-help{display:block;margin-top:.35rem;font-size:.8125rem}.dkp-import #dkp-private-status{font-size:.875rem;margin-top:1rem}.dkp-error{color:#efbd99!important}
@media(max-width:980px){.dkp-rule-columns{gap:1.3rem}.dkp-review-list{gap:0 1.3rem}}
@media(max-width:1000px){.dkp-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.dkp-summary-card{padding:.7rem .85rem}.dkp-summary-card strong{font-size:1.65rem}}
@media(max-width:650px){.dkp-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dkp-page-heading button{align-self:flex-start}.dkp-section-nav [role=tab]{padding:.75rem .85rem}.dkp-pagination{gap:.45rem}.dkp-pagination>span:first-child{width:100%;margin-bottom:.1rem}.dkp-source-details summary{line-height:1.5}}
@media(max-width:650px){.dkp-workbench-heading{display:block}.dkp-workbench-heading button{margin-top:1rem}.dkp-workbench-heading h2{font-size:1.6rem}.dkp-panel-heading{align-items:flex-start}.dkp-panel h2{font-size:1.4rem}.dkp-badge{font-size:.6875rem;max-width:125px;text-align:center}.dkp-filters{grid-template-columns:1fr}.dkp-filter-single{max-width:none}.dkp-rule-columns,.dkp-review-list{grid-template-columns:1fr;gap:1rem}.dkp-review-list{gap:0}.dkp-section-nav{gap:.6rem 1rem}.dkp-table th,.dkp-table td{padding:.65rem .75rem}.dkp-notice{padding:.75rem .85rem}.dkp-source{padding:.65rem .85rem}.dkp-panel{padding-top:1.1rem}.dkp-provisional{padding:1rem}.dkp-link-row{align-items:flex-start;flex-direction:column;gap:.25rem}.dkp-import form>button{width:100%}}

/* A compact, sortable standings board with all records visible by default. */
#dkp-standings{padding-top:1.5rem}
.dkp-standings-intro{margin:.6rem 0 .25rem;max-width:100ch}
.dkp-standings-toolbar{grid-template-columns:minmax(190px,1fr) minmax(130px,190px) minmax(130px,170px) auto;align-items:end;gap:.8rem;padding:1rem;background:#202724;border:1px solid #465244;border-radius:8px}
.dkp-standings-toolbar label{font-size:.75rem;color:#c3c7bc;font-weight:600}
.dkp-standings-toolbar input,.dkp-standings-toolbar select{margin-top:.4rem;min-height:43px;border-color:#55614f;border-radius:5px;background:#171f1d;font-weight:400}
.dkp-standings-toolbar input:focus,.dkp-standings-toolbar select:focus{outline:2px solid #c9ac70;outline-offset:2px}
.dkp-standings-toolbar button{min-height:43px;padding:.65rem .8rem;border-radius:5px;border-color:#6c705a;background:transparent;color:#dfcea3;font-size:.8rem;white-space:nowrap}
.dkp-standings-toolbar button:disabled{opacity:.4;cursor:default}
.dkp-standings-results{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.15rem .15rem}
#dkp-standings-sort-status{color:#d8bf83;text-align:right}
.dkp-standings-scroll{max-height:min(70vh,820px);overflow:auto;border-radius:8px;border-color:#535b48;background:#1c2321;scrollbar-color:#7d765a #1a211e}
.dkp-table-standings{min-width:950px;border-collapse:separate;border-spacing:0}
.dkp-table-standings caption{padding:.7rem 1rem;font-size:.75rem;background:#1b2320;color:#acae9f}
.dkp-table-standings thead th{position:sticky;top:0;z-index:2;background:#30382e;border-bottom:1px solid #87764f;padding:.55rem .8rem}
.dkp-sort-button{display:flex;align-items:center;gap:.4rem;justify-content:space-between;width:100%;padding:.35rem .1rem;background:transparent;border:0;border-radius:3px;color:#c8c8b3;font:inherit;font-size:.75rem;font-weight:600;text-align:left;white-space:nowrap}
.dkp-number .dkp-sort-button{justify-content:flex-end}
.dkp-sort-button:hover,.dkp-sort-button.is-active{background:transparent;color:#ffe0a1}
.dkp-sort-button:focus-visible{outline:2px solid #e3c18b;outline-offset:4px}
.dkp-sort-indicator{font-size:.8rem;color:#868c76;line-height:1}
.dkp-sort-button.is-active .dkp-sort-indicator{color:#eac777}
.dkp-table-standings td{padding:.85rem .9rem;vertical-align:middle;border-bottom:1px solid #394337;background:#1c2321}
.dkp-table-standings tbody tr:nth-child(even) td{background:#222a25}
.dkp-table-standings tbody tr:hover td{background:#343b2d}
.dkp-table-standings th:nth-child(2),.dkp-table-standings td:nth-child(2){position:sticky;left:0;z-index:1;box-shadow:4px 0 8px #00000018}
.dkp-table-standings th:nth-child(2){z-index:3}
.dkp-table-standings .dkp-character{font-size:.95rem;font-weight:600;letter-spacing:.01em}
.dkp-balance-rank{color:#9caa8f;font-size:.8rem;min-width:70px}
.dkp-class{font-size:.8rem;color:#bac9b2}
.dkp-table-standings .dkp-balance{min-width:135px;color:#edcd8d;font-weight:700;font-size:1rem}
.dkp-balance-value{display:block}
.dkp-balance-meter{display:block;height:3px;margin-top:.35rem;border-radius:3px;background:linear-gradient(to right,#c6a25d var(--dkp-balance-fill),#69754a30 var(--dkp-balance-fill));opacity:.8}
.dkp-table-standings .dkp-balance-value.is-negative{color:#e6a9a0}
.dkp-last-raid{white-space:nowrap;color:#abb3a3;font-size:.8rem}
.dkp-table-standings .dkp-unknown{color:#778879}
@media(max-width:850px){.dkp-standings-toolbar{grid-template-columns:minmax(180px,1fr) 145px 145px}.dkp-standings-toolbar button{grid-column:1/-1;justify-self:end;min-height:34px;padding:.45rem .7rem}}
@media(max-width:600px){.dkp-standings-toolbar{grid-template-columns:1fr 1fr;padding:.85rem;gap:.65rem}.dkp-standings-toolbar label:first-child{grid-column:1/-1}.dkp-standings-results{gap:.5rem;align-items:flex-start}.dkp-standings-results p{font-size:.75rem}.dkp-standings-scroll{max-height:65vh}.dkp-table-standings{min-width:900px}}

/* Browse first; management stays under Raid tools. */
.dkp-page-heading{margin-bottom:.8rem}.dkp-page-heading h1{margin-bottom:0}
.dkp-load-status:empty{display:none}
.dkp-summary{display:flex;gap:1.5rem;flex-wrap:wrap;margin:.5rem 0}
.dkp-summary-card{display:flex;align-items:baseline;gap:.4rem;padding:0;background:none;border:0;color:var(--muted);text-align:left}
.dkp-summary-card strong{font-size:1.1rem;color:var(--gold)}.dkp-summary-card span{font-size:.8rem}
.dkp-summary-card:hover{background:none;color:var(--gold)}
.dkp-snapshot-note{margin:.5rem 0;font-size:.75rem;color:var(--muted)}
.dkp-section-nav{position:relative;align-items:center;gap:0;margin-bottom:0;padding:0}
.dkp-more-tools{margin-left:auto;position:relative;font-size:.875rem;color:var(--gold)}
.dkp-more-tools>summary{cursor:pointer;padding:.75rem .5rem;list-style:none}.dkp-more-tools>summary::after{content:' ▾'}
.dkp-more-tools>div{position:absolute;z-index:8;top:100%;right:0;display:grid;min-width:240px;max-width:calc(100vw - 2.4rem);padding:.4rem;border:1px solid #716244;background:#242b25;box-shadow:0 12px 25px #0007;border-radius:6px}
.dkp-more-tools [role=tab]{text-align:left;border:0!important;padding:.65rem .8rem!important;font-size:.8rem}
.dkp-source-details{margin:.45rem 0}.dkp-source-details summary{font-size:.75rem}
.dkp-standings-toolbar{grid-template-columns:minmax(190px,1fr) minmax(135px,180px) auto;background:none;border:0;padding:0;gap:.7rem;margin:.9rem 0 .2rem}
.dkp-standings-toolbar [type=hidden]{display:none}
.dkp-standings-scroll{max-height:70vh}.dkp-table-standings{min-width:810px}
.dkp-table-standings td{padding:.65rem .8rem}.dkp-table-standings .dkp-character{font-size:.875rem}
.dkp-balance-rank{min-width:48px}.dkp-table-standings .dkp-balance{font-size:.925rem}
.dkp-roster-toolbar{display:flex;align-items:end;gap:1.3rem;margin:.9rem 0 .6rem}
.dkp-roster-toolbar>label{flex:1;font-size:.875rem;max-width:560px}
.dkp-roster-toolbar input[type=search]{display:block;width:100%;padding:.65rem .75rem;margin-top:.35rem;background:#171f1d;color:inherit;border:1px solid #55614f;border-radius:5px;font:inherit}
.dkp-roster-options{display:flex;align-items:center;gap:1rem;white-space:nowrap}
.dkp-roster-options .dkp-checkbox{display:flex;align-items:center;gap:.5rem;font-size:.8rem}
.dkp-roster-options button{font-size:.75rem;background:none;color:var(--gold);padding:.55rem .6rem}
.dkp-table-guild{min-width:720px}.dkp-table-guild td:nth-child(6),.dkp-table-guild td:last-child{min-width:95px}
.dkp-table-guild tbody tr:nth-child(even){background:#222a25}
#dkp-guild-table{max-height:70vh;overflow:auto}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.dkp-roster-toolbar{align-items:stretch;flex-direction:column;gap:.7rem}.dkp-roster-options{justify-content:space-between}.dkp-summary{gap:1rem}.dkp-standings-toolbar{grid-template-columns:1fr 135px}.dkp-standings-toolbar button{grid-column:auto;min-height:34px}.dkp-standings-toolbar label:first-child{grid-column:auto}.dkp-standings-scroll{max-height:65vh}.dkp-more-tools>div{min-width:220px}}

/* Roster headings keep their complete cell surface while the rows scroll. */
#dkp-guild-table{background:#1c2321;border-color:#535b48;border-radius:7px;scrollbar-color:#7d765a #1a211e}
.dkp-table-guild{min-width:770px;border-collapse:separate;border-spacing:0}
.dkp-table-guild thead th{position:sticky;top:0;z-index:2;background:#30382e;border-bottom:1px solid #87764f;padding:.5rem .8rem;box-shadow:0 2px 3px #0002;vertical-align:middle}
.dkp-table-guild .dkp-sort-button{min-height:30px;font-size:.8rem}
.dkp-table-guild td{background:#1c2321;padding:.6rem .85rem;vertical-align:middle}
.dkp-table-guild tbody tr:nth-child(even) td{background:#222a25}
.dkp-table-guild tbody tr:hover td{background:#343b2d}
.dkp-table-guild th:first-child,.dkp-table-guild td:first-child{position:sticky;left:0;z-index:1;min-width:130px;box-shadow:3px 0 7px #0002}
.dkp-table-guild th:first-child{z-index:3}
#dkp-guild-sort-status{color:#d8bf83;text-align:right}
.dkp-class-scope{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.75rem;color:var(--muted);margin:.9rem 0 .45rem}
.dkp-roster-class-reset{padding:.25rem .1rem;border:0;background:none;color:var(--gold);font:inherit;white-space:nowrap}.dkp-roster-class-reset:hover{background:none;color:#ffe0a1}.dkp-roster-class-reset:focus-visible{outline:2px solid #e3c18b;outline-offset:2px}
.dkp-roster-classes{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:.35rem .65rem;margin:0 0 .8rem}
.dkp-roster-class-button{position:relative;display:flex;align-items:center;justify-content:space-between;gap:.35rem;text-align:left;padding:.5rem .6rem .65rem;border:1px solid transparent;border-radius:4px;background:#29332945;color:#b9c6b2;font:inherit;font-size:.75rem;overflow:hidden}
.dkp-roster-class-button::after{content:'';position:absolute;left:.6rem;right:.6rem;bottom:.25rem;height:2px;background:linear-gradient(to right,#b29960 var(--roster-class-fill,0%),#64744c30 var(--roster-class-fill,0%));border-radius:2px}
.dkp-roster-class-button:hover{background:#39403480;border-color:#6f7556;color:#eed6a0}
.dkp-roster-class-button[aria-pressed=true]{background:#75623a2b;border-color:#b2955e;color:#ffe0a1}
.dkp-roster-class-button:focus-visible{outline:2px solid #e3c18b;outline-offset:2px}
.dkp-roster-class-count{font-variant-numeric:tabular-nums;font-size:.875rem;font-weight:600;color:#ead09a}
.dkp-roster-class-label{white-space:nowrap}
.dkp-leadership-dialog{width:min(780px,calc(100vw - 2rem));max-height:85vh;padding:1.4rem;border:1px solid #88724c;border-radius:10px;background:#202822;color:#e7dfca;box-shadow:0 20px 80px #000b;overflow:auto}
.dkp-leadership-dialog::backdrop{background:#08110ce0;backdrop-filter:blur(3px)}
.dkp-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.35rem}
.dkp-dialog-heading h2{font-size:1.6rem;margin:0}.dkp-dialog-heading button{background:none;color:var(--gold);font-size:.8rem;padding:.5rem .7rem}
.dkp-muted{font-size:.8125rem;color:var(--muted);margin:.5rem 0 1rem}
.dkp-leadership-group{margin:1.2rem 0;overflow-x:auto;scrollbar-width:thin}.dkp-leadership-group h3{font-size:1.1rem;color:#e4c487;margin:0 0 .5rem}.dkp-leadership-group .dkp-table-wrap{border-radius:5px}.dkp-leadership-group .dkp-table{min-width:420px}
.dkp-leadership-group th{background:#30382e;font-size:.75rem}.dkp-leadership-group td{font-size:.8125rem;padding:.5rem .7rem}

/* Expansion browsing is one compact toolbar and a continuous catalog. */
.dkp-item-toolbar{grid-template-columns:minmax(200px,1fr) minmax(160px,230px) minmax(160px,220px);align-items:end;gap:.75rem;margin:.9rem 0 .2rem}
.dkp-item-toolbar label{font-size:.75rem;color:#c3c7bc}
.dkp-item-toolbar input,.dkp-item-toolbar select{min-height:43px;border-color:#55614f;border-radius:5px;background:#171f1d}
#dkp-prices-table{max-height:70vh;overflow:auto;border-radius:7px;background:#1c2321;scrollbar-color:#7d765a #1a211e}
.dkp-catalog-group+.dkp-catalog-group{border-top:1px solid #716244}
.dkp-catalog-heading{display:flex;align-items:center;gap:.7rem;padding:.9rem 1rem;background:linear-gradient(115deg,#423b29,#273229);border-left:3px solid #b69a60}
.dkp-catalog-heading h3{margin:0;font:1.15rem Georgia,serif;color:#e6cca0}.dkp-catalog-heading span{font-size:.75rem;color:#bdc6b3;margin-left:auto;white-space:nowrap}
.dkp-catalog-heading a{font-size:.75rem;color:#c9b887;white-space:nowrap}
.dkp-table-prices{border-collapse:separate;border-spacing:0}
.dkp-table-prices th{position:sticky;top:0;z-index:2;padding:.45rem .9rem;font-size:.75rem;color:#aeb9a4;background:#28332b}
.dkp-table-prices td{vertical-align:middle;padding:.7rem .9rem;border-bottom:1px solid #354135;background:#1c2321}
.dkp-table-prices tbody tr:nth-child(even) td{background:#222a25}.dkp-table-prices tbody tr:hover td{background:#343b2d}
.dkp-table-prices .dkp-number{color:#edcd8d;font-weight:600}.dkp-item-name{font-weight:500;color:#e4d7ba}
.dkp-item-expansion-name{font-size:.75rem;color:#aebaa5}.dkp-table-prices-flat{min-width:650px}.dkp-table-prices-flat th{position:sticky;top:0;z-index:2;background:#30382e;border-bottom-color:#87764f}
.dkp-catalog-unconfirmed .dkp-catalog-heading{background:#34322b;border-left-color:#837c62}
@media(max-width:1000px){.dkp-roster-classes{grid-template-columns:repeat(4,minmax(0,1fr))}.dkp-roster-class-label{white-space:normal}}
@media(max-width:700px){.dkp-roster-classes{grid-template-columns:repeat(4,minmax(0,1fr));gap:.35rem}.dkp-roster-class-button{padding:.4rem .4rem .65rem;font-size:.6875rem;align-items:flex-start}.dkp-item-toolbar{grid-template-columns:1fr 1fr}.dkp-item-toolbar label:first-child{grid-column:1/-1}.dkp-item-toolbar select{font-size:.8rem;padding:.6rem .4rem}.dkp-roster-options{gap:.6rem}.dkp-roster-options button{white-space:normal}.dkp-class-scope{line-height:1.5}.dkp-catalog-heading{flex-wrap:wrap;gap:.4rem;padding:.75rem}.dkp-catalog-heading h3{font-size:1rem}.dkp-catalog-heading a{width:100%}.dkp-leadership-dialog{padding:1rem}.dkp-dialog-heading h2{font-size:1.25rem}#dkp-guild-sort-status{font-size:.75rem}.dkp-table-guild{min-width:730px}}
@media(max-width:420px){.dkp-roster-class-button{display:block}.dkp-roster-class-label{display:block;min-height:2.6em;font-size:.625rem;line-height:1.3}.dkp-roster-class-count{display:block;text-align:right;line-height:1.2}}

/* Guild noticeboard palette; keep the records in one continuous reading surface. */
.dkp-dashboard{--dkp-bronze-rule:#95784866;--dkp-stone:#202727;--dkp-ink:#c9cdb8}
.dkp-page-heading h1{color:#ebd4a4}.dkp-page-heading button{border-color:#796b50;color:#dfc58e;border-radius:3px}
.dkp-dashboard .dkp-summary{gap:.6rem 1.4rem;margin:.65rem 0 .4rem}
.dkp-dashboard .dkp-summary-card{background:none;border:0;border-radius:0;box-shadow:none;gap:.45rem}
.dkp-dashboard .dkp-summary-card strong{font:1.2rem/1.2 Georgia,serif;color:#e2c58f;margin:0;font-variant-numeric:tabular-nums}
.dkp-dashboard .dkp-summary-card span{color:#b4b9a5;font-size:.77rem}
.dkp-dashboard .dkp-summary-card:hover span{color:#dec79b}
.dkp-dashboard .dkp-snapshot-note,.dkp-dashboard .dkp-result-count{color:#aeb6a0;font-size:.76rem;line-height:1.5}
.dkp-dashboard .dkp-section-nav[role=tablist]{position:relative;border-bottom-color:#95784899}
.dkp-dashboard .dkp-section-nav[role=tablist]::before{position:absolute;content:'';width:6px;height:6px;bottom:-3.5px;left:1px;background:#b99b63;transform:rotate(45deg);pointer-events:none}
.dkp-dashboard .dkp-section-nav [role=tab]{font-size:.86rem;letter-spacing:.005em;color:#b8bdab;border-bottom-width:2px;padding:.8rem .95rem;background:transparent}
.dkp-dashboard .dkp-section-nav [role=tab]:hover{background:#ac87440a;color:#e8d3aa}
.dkp-dashboard .dkp-section-nav [role=tab][aria-selected=true]{color:#edd09b;border-bottom-color:#cba565;background:linear-gradient(0deg,#ac874414,transparent 75%)}
.dkp-dashboard .dkp-more-tools>summary{font-size:.8rem;color:#cbb787}
.dkp-dashboard .dkp-more-tools>div{border-color:#887149;background:#272b28;border-radius:3px;box-shadow:0 12px 25px #0007}
.dkp-dashboard .dkp-panel h2{font:1.55rem/1.25 Georgia,serif;color:#ebd4a4}
.dkp-dashboard .dkp-panel h3{font:1.22rem/1.35 Georgia,serif;color:#dfc99b}
.dkp-dashboard .dkp-kicker{font-size:.65rem;letter-spacing:.1em;color:#bfac82}
.dkp-dashboard .dkp-panel-heading{gap:.8rem}
.dkp-dashboard .dkp-badge{border-color:#649f8b54;background:#649f8b10;color:#aad5c5;border-radius:3px;padding:.2rem .45rem;font-size:.69rem}
.dkp-dashboard .dkp-badge-review{border-color:#b79a565c;background:#b79a5612;color:#dfc588}
.dkp-dashboard .dkp-badge-unknown{border-color:#a7866455;background:#a7866410;color:#d4bda0}
.dkp-dashboard .dkp-help{color:#b8c0aa;font-size:.86rem;line-height:1.7}
.dkp-dashboard .dkp-source-details summary{color:#bcae8c;font-size:.75rem;line-height:1.6}
.dkp-dashboard .dkp-source,.dkp-dashboard .dkp-notice,.dkp-dashboard .dkp-empty,.dkp-dashboard .dkp-provisional{border-left:2px solid #ab874d;background:linear-gradient(90deg,#ab87450d,transparent 80%);padding:.65rem .85rem;color:var(--dkp-ink);border-radius:0;box-shadow:none}
.dkp-dashboard .dkp-source{font-size:.76rem;line-height:1.65}
.dkp-dashboard .dkp-source .dkp-freshness{color:#bcd0ad}
.dkp-dashboard .dkp-source .dkp-stale,.dkp-dashboard .dkp-source .dkp-unknown{color:#dac18e}
.dkp-dashboard .dkp-notice{font-size:.85rem;line-height:1.7}
.dkp-dashboard .dkp-filters,.dkp-dashboard .dkp-roster-toolbar{background:none;border:0;box-shadow:none;border-radius:0}
.dkp-dashboard .dkp-filters label,.dkp-dashboard .dkp-roster-toolbar>label,.dkp-dashboard .dkp-import form>label{font-size:.76rem;font-weight:400;color:#c5c3ad}
.dkp-dashboard .dkp-filters input,.dkp-dashboard .dkp-filters select,.dkp-dashboard .dkp-roster-toolbar input[type=search],.dkp-dashboard .dkp-import select,.dkp-dashboard .dkp-import textarea,.dkp-dashboard .dkp-import input[type=datetime-local]{border-color:#796b50;border-radius:3px;background:#1e2628;color:#e8dcc1;padding:.62rem .75rem;font-size:.83rem;font-weight:400}
.dkp-dashboard .dkp-filters input::placeholder,.dkp-dashboard .dkp-roster-toolbar input::placeholder,.dkp-dashboard .dkp-import textarea::placeholder{color:#929e8f}
.dkp-dashboard .dkp-standings-toolbar button,.dkp-dashboard .dkp-roster-options button,.dkp-dashboard .dkp-pagination button{border-color:#796b50;border-radius:3px;color:#dfc58e;font-size:.76rem}
.dkp-dashboard .dkp-table-wrap{border:0;border-block:1px solid var(--dkp-bronze-rule);border-radius:0;box-shadow:none}
.dkp-dashboard .dkp-standings-scroll,.dkp-dashboard #dkp-guild-table,.dkp-dashboard #dkp-prices-table{background:var(--dkp-stone);border-color:var(--dkp-bronze-rule);border-radius:0;scrollbar-color:#8b7852 #1e2527}
.dkp-dashboard .dkp-table caption{background:#1d2528;color:#aeb6a0;font-size:.73rem;line-height:1.5}
.dkp-dashboard .dkp-table thead,.dkp-dashboard .dkp-table thead th{background:#30312c;color:#dbc797;border-bottom-color:#95784899}
/* Opaque cell backgrounds preserve the sticky row and character-column surfaces. */
.dkp-dashboard .dkp-table-standings thead th,.dkp-dashboard .dkp-table-guild thead th,.dkp-dashboard .dkp-table-prices th{background:#30312c;box-shadow:0 2px 3px #0002}
.dkp-dashboard .dkp-table td{background:#202727;border-bottom-color:#8973472c;color:var(--dkp-ink);line-height:1.5}
.dkp-dashboard .dkp-table tbody tr:nth-child(even) td{background:#272d2a}
.dkp-dashboard .dkp-table tbody tr:hover td{background:#35362d}
.dkp-dashboard .dkp-table .dkp-character{color:#e4d4b0;font-weight:550}
.dkp-dashboard .dkp-sort-button{color:#c4c5ad;font-weight:550;font-size:.77rem}
.dkp-dashboard .dkp-sort-button:hover,.dkp-dashboard .dkp-sort-button.is-active{color:#efd19b;background:transparent}
.dkp-dashboard .dkp-sort-indicator{color:#9b9e82}
.dkp-dashboard .dkp-sort-button.is-active .dkp-sort-indicator{color:#d9b774}
.dkp-dashboard .dkp-table-standings .dkp-balance,.dkp-dashboard .dkp-table-prices .dkp-number{color:#e5c38a}
.dkp-dashboard .dkp-balance-meter{height:2px;background:linear-gradient(to right,#c7a168 var(--dkp-balance-fill),#95784824 var(--dkp-balance-fill))}
.dkp-dashboard .dkp-class{color:#b8c4ac}.dkp-dashboard .dkp-balance-rank,.dkp-dashboard .dkp-last-raid{color:#aab59e}
.dkp-dashboard .dkp-roster-class-button{border-color:transparent;border-radius:0;background:transparent;box-shadow:none;color:#b9c4ad}
.dkp-dashboard .dkp-roster-class-button:hover{background:#ac874411;border-color:transparent;color:#e7ce9d}
.dkp-dashboard .dkp-roster-class-button[aria-pressed=true]{background:#ac874411;border-color:transparent;border-bottom-color:#b89a60;color:#edd3a2}
.dkp-dashboard .dkp-roster-class-count{color:#e1c58e;font-weight:550}
.dkp-dashboard .dkp-catalog-group+.dkp-catalog-group{border-top-color:#95784866}
.dkp-dashboard .dkp-catalog-heading,.dkp-dashboard .dkp-catalog-unconfirmed .dkp-catalog-heading{padding:.9rem .2rem;background:none;border-left:0}
.dkp-dashboard .dkp-catalog-heading h3{display:flex;align-items:center;gap:.55rem;color:#e5cea1}
.dkp-dashboard .dkp-catalog-heading h3::before{content:'';width:5px;height:5px;background:#b99b63;transform:rotate(45deg);flex:none}
.dkp-dashboard .dkp-catalog-heading span{color:#aeb79f;font-size:.72rem}
.dkp-dashboard .dkp-catalog-heading a{color:#c8b5da;font-size:.73rem}
.dkp-dashboard .dkp-item-name{color:#e4d4b0;font-weight:500}
.dkp-dashboard .dkp-rule-list li,.dkp-dashboard .dkp-observation-details,.dkp-dashboard .dkp-roster-history{border-bottom-color:#89734733}
.dkp-dashboard .dkp-rule-list h4{color:#dfca9d}.dkp-dashboard .dkp-rule-list p{color:#bcc4ad;line-height:1.65}
.dkp-dashboard .dkp-rule-list .dkp-evidence{color:#a8b39c}
.dkp-dashboard :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid #d0bae9;outline-offset:3px}
.dkp-dashboard .dkp-table-wrap:focus-visible{outline:2px solid #d0bae9;outline-offset:3px}
.dkp-leadership-dialog{border-color:#957849;border-radius:4px;background:#222a2a;color:#dfd8bc}
.dkp-leadership-dialog .dkp-dialog-heading h2{font:1.55rem/1.25 Georgia,serif;color:#ebd4a4}
.dkp-leadership-dialog .dkp-leadership-group h3{font:1.15rem/1.3 Georgia,serif;color:#dfc99b}
.dkp-leadership-dialog .dkp-table-wrap{border:0;border-block:1px solid #95784866;border-radius:0}
.dkp-leadership-dialog .dkp-table th{background:#30312c;color:#dbc797}.dkp-leadership-dialog .dkp-table td{background:#202727;color:#c9cdb8;border-bottom-color:#8973472c}
@media(max-width:700px){.dkp-dashboard .dkp-section-nav [role=tab]{padding:.75rem .7rem;font-size:.81rem}.dkp-dashboard .dkp-panel h2{font-size:1.35rem}.dkp-dashboard .dkp-summary{gap:.6rem 1rem}.dkp-dashboard .dkp-catalog-heading{padding:.8rem .1rem}.dkp-dashboard .dkp-catalog-heading h3{font-size:1.05rem}.dkp-leadership-dialog .dkp-dialog-heading h2{font-size:1.25rem}}
