/* P1.4 — SantoStefano Overview only. No global routes or page styling altered. */
.guild-theme {grid-template-columns:228px minmax(0,1fr)}
.guild-theme .sidebar {padding:23px 12px 14px}
.guild-theme .logo {font-size:22px;line-height:1.08;margin-bottom:30px}
.guild-theme .sidebar .nav button {font-size:13.5px;min-height:43px;gap:11px}
.guild-theme .side-note {display:none}
.guild-theme .topbar {min-height:53px;padding:9px 25px}
.guild-theme .content {max-width:1810px;padding:16px 23px 38px}
.gc-v14 {color:#f4e7d7;font-size:14px;--ov-edge:#5a3234;--ov-ivory:#f7e5c7;--ov-gold:#dfb477;--ov-dim:#bca6a0;--ov-red:#e6728c}
.gc-v14 button {font:600 13.5px/1.3 'Segoe UI',Arial,sans-serif}
.gc-v14 h2 {font:700 23px/1.24 Georgia,serif;margin:0;color:#f8e7c9}
.gc-v14 svg {vertical-align:middle;flex:none}
.gc-v14 button:focus-visible,.gc-v14 select:focus-visible,.gc-v14 input:focus-visible {outline:2px solid #e5bd78;outline-offset:2px}
.gc-v14 .ov-eyebrow {display:flex;align-items:center;gap:8px;font-size:11px;color:#e4af71;font-weight:800;letter-spacing:1.5px}
.ov-hero {position:relative;min-height:187px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 270px minmax(180px,.78fr);align-items:center;gap:10px;border:1px solid #a06651;border-radius:11px;background:
 linear-gradient(90deg,#170b10f0 3%,#1b0814c7 37%,#23091490 61%,#14070de8 100%),url('/static/assets/guild-atmosphere.jpg') center 44%/cover no-repeat,#130a10;
 box-shadow:0 0 0 1px #e3ab6140 inset,0 14px 42px #0008;padding:21px 27px}
.ov-hero:before {content:"";position:absolute;pointer-events:none;inset:6px;border:1px solid #e0ae6b38;border-radius:6px}
.ov-hero:after {content:"◆";position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);font-size:12px;color:#f09b89;text-shadow:0 0 7px #ef3a70}
.ov-hero-copy {min-width:0;position:relative;z-index:2}
.ov-hero h1 {font:700 clamp(30px,3vw,43px)/1.13 Georgia,serif;color:#fbe9c8;text-shadow:0 3px 20px #000c;letter-spacing:-.5px;margin:7px 0}
.ov-subtitle {color:#e2bb8b;font-weight:650;font-size:13px;display:flex;gap:10px;align-items:center}
.ov-ruby {color:#e65c8b;text-shadow:0 0 8px #f25c89}
.ov-dot {color:#a46856}
.ov-hero p {color:#d0bdaf;font-size:14px;margin:12px 0 0;line-height:1.5}
.ov-crest {height:171px;width:260px;max-width:100%;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 0 18px #d41f6249)}
.ov-hero-actions {position:relative;z-index:2;justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:16px}
.ov-updated {display:flex;gap:7px;align-items:center;color:#efcca2;font-size:12px;background:#190e15b3;border:1px solid #99554887;border-radius:7px;padding:9px 12px}
.gc-v14 .ov-btn-main {display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(135deg,#f1cb8a,#ba8652);border:1px solid #ffe0a3;color:#211014;padding:12px 16px;border-radius:7px;box-shadow:0 6px 22px #0007}
.gc-v14 .ov-btn-main:hover {background:#f3d5a3}
.ov-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:13px 0 14px}
.ov-kpi {min-height:114px;display:flex;align-items:center;gap:14px;padding:18px 17px;min-width:0;position:relative;overflow:hidden;background:linear-gradient(145deg,#24141c,#130d13 74%);border:1px solid #835343;border-radius:9px;box-shadow:0 8px 22px #0005,inset 0 1px #fff1bc16}
.ov-kpi:before {content:"";height:2px;width:45%;background:linear-gradient(90deg,#a7694b,transparent);position:absolute;left:0;top:0}
.ov-kpi-icon {color:#e3ae70;width:48px;height:48px;border-radius:12px;display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#67263a,#29131f);border:1px solid #9e5949;box-shadow:inset 0 0 12px #1f0b12}
.ov-kpi-accent .ov-kpi-icon {color:#ffb3bb;background:linear-gradient(145deg,#713046,#341522);border-color:#c45670}
.ov-kpi-info {min-width:0}
.ov-kpi-label {font-size:12px;color:#c1a29a;font-weight:700;display:block}
.ov-kpi strong {font:700 clamp(22px,1.85vw,31px)/1.15 Georgia,serif;display:block;color:#fff0d6;margin:7px 0 4px;white-space:nowrap;letter-spacing:-.35px}
.ov-kpi small {display:block;font-size:11px;color:#b8a19b;line-height:1.4;overflow-wrap:anywhere}
.ov-body {display:grid;grid-template-columns:minmax(0,1.78fr) minmax(310px,.82fr);gap:13px;align-items:start}
.ov-panel {border:1px solid #77504a;border-radius:10px;background:linear-gradient(150deg,#1c1118,#100d11 72%);box-shadow:0 10px 28px #0005;overflow:hidden;min-width:0}
.ov-panel-head {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 19px 16px;border-bottom:1px solid #6e424458;min-height:82px}
.ov-panel-head h2 {margin-top:5px}
.ov-count {color:#dbb789;font-size:12px;border:1px solid #7e5842;background:#2a1821;border-radius:16px;white-space:nowrap;padding:6px 11px}
.ov-filters {display:grid;grid-template-columns:minmax(175px,1.55fr) minmax(130px,1fr) minmax(130px,.9fr) minmax(125px,.87fr);gap:9px;padding:15px 15px 14px}
.ov-filters select,.ov-search {background:#100c12;color:#eadbc6;border:1px solid #614448;border-radius:7px;min-height:42px;box-shadow:none}
.ov-filters select {padding:10px 25px 10px 10px;font:500 13px 'Segoe UI',Arial,sans-serif;cursor:pointer}
.ov-search {display:flex;align-items:center;gap:8px;padding:0 12px;color:#a98278}
.ov-search:focus-within {border-color:#d2a16d}
.ov-search input {width:100%;min-height:40px;border:0;box-shadow:none;background:transparent;color:#f3e4d6;font-size:13px;padding:8px 0;outline:0}
.ov-search input::placeholder {color:#a28d89}
.ov-table-scroll {width:100%;overflow:auto}
.ov-table {border-collapse:collapse;width:100%;white-space:nowrap;font-size:14.5px;line-height:1.4}
.ov-table th {font-size:11px;letter-spacing:.6px;color:#d6b58f;text-transform:uppercase;background:#301d25;padding:12px 10px;font-weight:700}
.ov-table td {padding:12px 10px;color:#eadfce;border-bottom:1px solid #66434157}
.ov-table tbody tr:hover {background:#5b25363e}
.ov-table th:first-child,.ov-table td:first-child {padding-left:20px}
.ov-table th:last-child,.ov-table td:last-child {padding-right:19px}
.ov-table tr:last-child td {border-bottom:0}
.gc-v14 .ov-name {display:block;background:transparent;border:none;padding:0;color:#fff0dc;text-align:left;font-weight:700;font-size:14px;border-radius:2px;max-width:182px;overflow:hidden;text-overflow:ellipsis}
.gc-v14 .ov-name:hover {color:#efbc79;text-decoration:underline}
.ov-role {font-size:11px;display:block;color:#b19d96;margin-top:2px}
.ov-class {display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.ov-class svg {color:#d4a375}
.ov-num {font-variant-numeric:tabular-nums;white-space:nowrap}
.ov-gold {font-weight:750;color:#fae3b9!important}
.ov-trend {color:#97d3a8;font-weight:750}
.ov-trend-minus {color:#ec9d9d}
.ov-muted {color:#a38e87}
.ov-status {display:inline-flex;padding:5px 8px;white-space:nowrap;border-radius:15px;font-size:11px;border:1px solid #6f5651;color:#c5ada6}
.ov-status-known {background:#22231f;border-color:#535b3c;color:#c4d3ac}
.ov-status-missing {background:#351921;border-color:#8b4657;color:#eeabb0}
.ov-open-cell {width:44px;text-align:right}
.gc-v14 .ov-row-open {border:1px solid #76513d;background:#291923;color:#e1b376;padding:7px 9px;border-radius:6px}
.gc-v14 .ov-row-open:hover {border-color:#dba16f;background:#442135}
.ov-none {text-align:center;padding:40px 12px!important;color:#b9a49d!important}
.ov-table-foot {border-top:1px solid #55383d;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 18px;flex-wrap:wrap;font-size:12px;color:#b6a39b}
.ov-table-foot b {color:#f0d0a3}
.ov-foot-actions {display:flex;align-items:center;gap:13px}
.gc-v14 .ov-foot-actions button {display:inline-flex;align-items:center;gap:5px;padding:4px 0;color:#e3b478;border:0;background:none;font-size:12px}
.gc-v14 .ov-foot-actions button:hover {color:#ffddab;text-decoration:underline}
.ov-side {display:flex;flex-direction:column;gap:13px;min-width:0}
.ov-attention-list {padding:8px 12px 13px}
.gc-v14 .ov-attention-item {display:flex;text-align:left;align-items:center;gap:11px;background:transparent;border:0;border-radius:6px;width:100%;padding:14px 7px;border-bottom:1px solid #52373a7d;color:#f2e2d1;min-width:0}
.gc-v14 .ov-attention-item:last-child {border-bottom:none}
.gc-v14 .ov-attention-item:hover {background:#54213765}
.ov-attention-icon {width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;background:#281923;border:1px solid #73523d;border-radius:9px;color:#dfaf76}
.ov-attention-icon.ruby {border-color:#b34e69;color:#f292a4;background:#451c30}
.ov-attention-copy {flex:1;min-width:0}
.ov-attention-copy b {display:block;color:#f4ddc1;font-weight:700;font-size:13px;line-height:1.35}
.ov-attention-copy small {display:block;color:#b6a09d;font-size:11px;line-height:1.4;margin-top:4px}
.ov-attention-item>strong {color:#f9e3ba;font:700 24px Georgia,serif}
.ov-attention-item>svg {color:#c09c74}
.ov-all-clear {display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:30px 15px;color:#bea8a0}
.ov-all-clear>svg {color:#d8b77f}.ov-all-clear strong {color:#eddfc8}.ov-all-clear span {font-size:12px}
.ov-activity .ov-panel-head {min-height:77px}
.ov-activity-list {padding:6px 17px 9px}
.ov-event {display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-bottom:1px solid #54383e91}
.ov-event:last-child {border-bottom:0}
.ov-event-icon {width:31px;height:31px;display:grid;place-items:center;flex:0 0 31px;background:#291823;color:#cfa66c;border:1px solid #745044;border-radius:7px}
.ov-event b {color:#f1e0cc;font-size:13px;display:block;line-height:1.4}
.ov-event small {color:#b4a099;font-size:11px;display:block;margin-top:3px}
.ov-no-events {display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:24px 12px;color:#bba8a1}
.ov-no-events svg {color:#bd9466}.ov-no-events b {font-size:14px;color:#e7c59a}.ov-no-events span {font-size:12px;max-width:280px}
.gc-v14 .ov-link {background:none;border:0;color:#e5b477;display:inline-flex;align-items:center;gap:4px;font-size:12px;padding:0}
.gc-v14 .ov-link:hover {text-decoration:underline}
.ov-task-note {margin:0 14px 13px;border:1px solid #654b43;border-radius:7px;padding:11px;color:#cbb5a0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;background:#23161c}
.ov-task-note strong {color:#f2dcbe}
.gc-v14 .ov-task-note button {margin-left:auto;background:none;border:0;color:#e5b477;padding:0;display:flex;align-items:center;gap:5px;font-size:12px}
.ov-disclaimer {margin:13px 4px 0;color:#b19a8d;font-size:12px;display:flex;align-items:flex-start;gap:9px;line-height:1.5}
.ov-disclaimer svg {color:#c69c70;flex:0 0 17px;margin-top:1px}
/* The quick overview modal belongs to this page, not other forms. */
.ov-dialog .modal {background:linear-gradient(145deg,#28141e,#120c12);border:1px solid #a66d56;box-shadow:0 25px 90px #000c;color:#f5e6d4}
.ov-quick-kicker {display:flex;align-items:center;gap:6px;color:#e2ae71;letter-spacing:1.3px;font-size:10px;font-weight:800}
.ov-quick h2 {font:700 30px Georgia,serif;margin:12px 0 4px;color:#fbe5c0}
.ov-quick p {font-size:14px;color:#d5bdb0;margin:0 0 18px}
.ov-quick-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.ov-quick-grid div {border:1px solid #754e42;background:#1f131a;padding:13px;border-radius:8px}
.ov-quick-grid span {color:#b9a097;display:block;font-size:11px}
.ov-quick-grid strong {color:#f5ddba;display:block;margin-top:6px;font-size:17px;overflow-wrap:anywhere}
.ov-quick-note {background:#291821;border:1px solid #77494a;color:#cdb8b1;font-size:12px;padding:12px;border-radius:8px;margin:14px 0}
.ov-quick .ov-btn-main {display:flex;width:100%;justify-content:center;align-items:center;gap:9px;background:linear-gradient(135deg,#efc985,#b7814c);color:#201016;border:1px solid #f6dba1}
@media(max-width:1500px){
 .ov-hero {grid-template-columns:minmax(0,1fr) 210px minmax(170px,.7fr)}
 .ov-crest {height:157px;width:205px}
 .ov-kpi {gap:10px;padding:14px 12px}
 .ov-kpi-icon {width:42px;height:42px}
 .ov-body {grid-template-columns:minmax(0,1.5fr) minmax(310px,.7fr)}
 .ov-filters {grid-template-columns:minmax(180px,1.5fr) minmax(115px,1fr);gap:9px}
}
@media(max-width:1140px){
 .ov-hero {grid-template-columns:minmax(0,1fr) 160px}
 .ov-hero-actions {grid-column:1 / -1;flex-direction:row;justify-self:start;align-items:center;gap:12px}
 .ov-hero {padding:17px 20px;min-height:180px}
 .ov-crest {width:170px;height:135px;grid-column:2;grid-row:1}
 .ov-metrics {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ov-body {grid-template-columns:1fr}
 .ov-side {display:grid;grid-template-columns:1fr 1fr}
 .ov-filters {grid-template-columns:minmax(180px,1.7fr) repeat(3,minmax(120px,.9fr))}
}
@media(max-width:760px){
 .guild-theme .content {padding:10px 12px 24px}
 .guild-theme .sidebar .nav button {font-size:12px;min-height:35px}
 .ov-hero {padding:20px 15px;grid-template-columns:1fr;min-height:185px}
 .ov-hero h1 {font-size:35px}
 .ov-hero-copy {padding-right:95px}
 .ov-crest {position:absolute;right:-2px;top:30px;width:145px;height:145px;opacity:.7}
 .ov-hero-actions {grid-column:auto;gap:10px;flex-wrap:wrap}
 .ov-updated {padding:7px 9px;font-size:11px}
 .ov-metrics {gap:8px}
 .ov-kpi {min-height:100px;padding:12px 10px}
 .ov-kpi-icon {display:none}
 .ov-kpi strong {font-size:24px}
 .ov-kpi-label {font-size:11px}
 .ov-kpi small {font-size:10px}
 .ov-side {grid-template-columns:1fr}
 .ov-panel-head {padding:14px 13px;min-height:70px}
 .gc-v14 h2 {font-size:21px}
 .ov-filters {padding:10px;grid-template-columns:1fr 1fr}
 .ov-search {grid-column:1/-1}
 .ov-filters select:last-child {grid-column:1/-1}
 .ov-table {min-width:760px}
 .ov-table th,.ov-table td {padding:11px 9px}
 .ov-disclaimer {font-size:11px}
}
@media(max-width:390px){
 .ov-hero h1 {font-size:30px}
 .ov-crest {width:115px;height:130px}
 .ov-hero-copy {padding-right:60px}
 .ov-updated {display:none}
 .ov-kpi strong {font-size:21px}
 .ov-kpi {min-height:101px}
 .ov-quick-grid {grid-template-columns:1fr}
}

.ov-swipe-tip {display:none}
@media(max-width:760px){.ov-swipe-tip {display:flex;align-items:center;gap:7px;color:#d3a472;font-size:11px;padding:0 12px 10px}}
