.shell { max-width: 1180px; }
.dashboard-intro { margin-bottom: 18px; }
.dashboard-intro p { max-width: 760px; }
.dashboard-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dashboard-stats span { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 15px; border: 1px solid #d8a83e66; border-radius: 12px; background: #16070f; color: #ebd6af; }
.dashboard-stats strong { color: #ffe7a0; font-size: 24px; }
.dashboard-status { margin: 15px 0 0; font-size: 13px; }
.dashboard-status.ready { color: #b9f1be; }
.dashboard-status.pending { color: #ffe1a2; }
.dashboard-layout { display: grid; grid-template-columns: minmax(300px, .92fr) minmax(340px, 1.08fr); gap: 16px; align-items: start; }
.dashboard-pages, .dashboard-editor { min-width: 0; }
.dashboard-list-controls { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 7px 10px; margin-top: 17px; }
.dashboard-list-controls label { color: #f2deae; font-size: 12px; font-weight: 800; }
.dashboard-list-controls label[for="clientSearch"] { grid-column: 1; grid-row: 1; }
.dashboard-list-controls #clientSearch { grid-column: 1; grid-row: 2; }
.dashboard-list-controls label[for="clientFilter"] { grid-column: 2; grid-row: 1; }
.dashboard-list-controls #clientFilter { grid-column: 2; grid-row: 2; }
.dashboard-list-controls input, .dashboard-list-controls select { min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid #d8a83e66; border-radius: 10px; background: #102038; color: #f7f3e7; font: inherit; }
.dashboard-list-controls input:focus-visible, .dashboard-list-controls select:focus-visible { outline: 3px solid rgba(103, 200, 230, .32); outline-offset: 1px; }
.business-page-list { display: grid; gap: 9px; margin-top: 16px; }
.business-page-item { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 65px; padding: 12px 14px; border: 1px solid #d8a83e55; border-radius: 13px; background: #1d0a14; color: #fff0cf; text-align: left; cursor: pointer; }
.business-page-item:hover, .business-page-item[aria-current="true"] { border-color: #ffe7a0; background: #4b1a2a; }
.business-page-item span:first-child { min-width: 0; }
.business-page-item strong { display: block; margin-bottom: 5px; font-size: 14px; line-height: 1.25; }
.business-page-item small { display: block; overflow: hidden; color: #cfbb9c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.business-page-item .page-state { padding: 5px 7px; border-radius: 999px; background: #574121; color: #ffdda2; font-size: 10px; font-weight: 800; white-space: nowrap; }
.business-page-item .page-state.sold { background: #205638; color: #b6f1ca; }
.business-page-item .page-state.active { background: #14546a; color: #c1f5ff; }
.dashboard-list-empty { padding: 18px; border: 1px dashed rgba(216, 168, 62, .45); border-radius: 12px; text-align: center; }
.dashboard-editor form { display: grid; gap: 4px; }
.dashboard-editor form[hidden] { display: none; }
.dashboard-client-channels { display: grid; gap: 4px; }
.dashboard-client-channels[hidden] { display: none; }
.dashboard-editor h3 { margin: 23px 0 2px; font-size: 16px; }
.dashboard-editor label { display: block; margin-top: 12px; color: #ffe3ad; font-size: 13px; font-weight: 800; }
.dashboard-editor input, .dashboard-editor select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d8a83e66; border-radius: 10px; background: #1c0914; color: #fff2d7; font: inherit; }
.dashboard-editor input:focus, .dashboard-editor select:focus { outline: 3px solid #d8a83e55; outline-offset: 1px; }
.dashboard-editor input::placeholder { color: #a99481; }
.dashboard-editor small, .dashboard-field-note { margin: 3px 0 5px; color: #bcae97; font-size: 12px; line-height: 1.4; }
.dashboard-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 5px 0 15px; }
.dashboard-quicklinks a { display: inline-flex; align-items: center; min-height: 39px; padding: 8px 11px; border: 1px solid #d8a83e77; border-radius: 10px; color: #ffe8a9; background: #2a1020; font-size: 12px; font-weight: 800; text-decoration: none; }
.dashboard-quicklinks a:hover { background: #54223a; }
.dashboard-pin-note { margin: 5px 0 10px; color: #f1d396; font-size: 12px; }
.dashboard-clear-pin { width: 100%; min-height: 40px; }
.dashboard-clear-pin:disabled { opacity: .45; cursor: not-allowed; }
.dashboard-editor .primary { width: 100%; min-height: 47px; margin-top: 12px; }
.dashboard-editor .primary:disabled { opacity: .5; cursor: not-allowed; }
.dashboard-map-card { margin-top: 18px; }
.dashboard-map-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.dashboard-map-head p { max-width: 340px; margin-bottom: 8px; font-size: 13px; }
.dashboard-map-legend { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 14px 0 5px; }
.dashboard-map-legend span { display: inline-flex; align-items: center; gap: 7px; color: #deebf1; font-size: 12px; font-weight: 800; }
.dashboard-map-legend i { width: 12px; height: 12px; border: 2px solid #ffefbe; border-radius: 50%; background: #718193; }
.dashboard-map-legend i.sold { background: #ca9b45; }
.dashboard-map-legend i.active { background: #3dbbca; }
.dashboard-map { width: 100%; height: 440px; margin: 16px 0 9px; border: 2px solid #d8a83e77; border-radius: 14px; background: #dfe9e6; overflow: hidden; }
.dashboard-map .leaflet-popup-content { color: #17251b; }
.dashboard-map .leaflet-control-attribution { font-size: 10px; }
.map-popup-status { margin: 5px 0; font-weight: 800; }
.map-popup-select { margin-top: 6px; padding: 6px 9px; border: 1px solid #d7b878; border-radius: 7px; background: #274d67; color: #fff2d4; font: inherit; font-size: 12px; cursor: pointer; }
@media (max-width: 830px) { .dashboard-layout { grid-template-columns: 1fr; } .business-page-list { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .business-page-list { grid-template-columns: 1fr; } .business-page-item { gap: 9px; } .dashboard-map-head { display: block; } .dashboard-map { height: 360px; } .dashboard-intro, .dashboard-pages, .dashboard-editor, .dashboard-map-card { padding: 18px; } }
