@import url('../../../assets/css/style.css');
.image-preview {
	margin-top: 12px;
	width: 160px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: #eef0ed;
}

.image-preview img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.navigation-dots{position:fixed;bottom:20px;right:20px;z-index:15;display:flex;gap:8px;flex-direction:column}.navigation-dots button{width:40px;height:40px;border-radius:50%;background:var(--admin-gold);border:none;cursor:pointer;box-shadow:0 4px 12px rgba(20,35,41,.2);transition:all .2s ease;display:flex;align-items:center;justify-content:center;color:var(--admin-navy);font-weight:700;font-size:1.2rem}.navigation-dots button:hover{transform:scale(1.1);box-shadow:0 6px 16px rgba(20,35,41,.3)}.navigation-dots button:focus-visible{outline:3px solid rgba(233,164,58,.45);outline-offset:3px}.navigation-dots button i{font-size:1.15rem;line-height:1}.quick-menu-modal{position:fixed;inset:0;z-index:25;display:grid;place-items:center;padding:20px;background:rgba(20,35,41,.48);opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease}.quick-menu-modal.active{opacity:1;visibility:visible}.quick-menu-panel{position:relative;width:min(100%,320px);background:#fff;border-radius:12px;padding:24px;box-shadow:0 20px 50px rgba(20,35,41,.3);display:flex;flex-direction:column;gap:16px}.quick-menu-panel h3{margin:0 0 8px 0;font:700 1.1rem Manrope,sans-serif;color:var(--admin-ink)}.quick-menu-actions{display:flex;flex-direction:column;gap:10px}.quick-menu-close{position:absolute;top:12px;right:12px;background:none;border:none;color:var(--admin-muted);font-size:1.3rem;cursor:pointer;padding:4px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px}.quick-menu-close:hover{color:var(--admin-ink);background:rgba(20,35,41,.08)}
:root{--admin-ink:#142329;--admin-navy:#19343b;--admin-paper:#f8f8f4;--admin-white:#fff;--admin-line:#e2e6e0;--admin-muted:#71807d;--admin-gold:#e9a43a;--admin-green:#3d8068;--admin-red:#b6584c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--admin-paper);color:var(--admin-ink);font:14px 'DM Sans',sans-serif;line-height:1.5}button,input,select{font:inherit}button,a,input,select{transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(233,164,58,.45);outline-offset:3px}.admin-shell{min-height:100vh;display:flex}.admin-sidebar{width:250px;flex:none;display:flex;flex-direction:column;min-height:100vh;padding:30px 18px 18px;background:var(--admin-navy);color:#d8e2dd}.sidebar-top{display:flex;align-items:center;justify-content:space-between;padding:0 13px 46px}.admin-logo{display:flex;align-items:center;justify-content:center;max-width:180px;flex-shrink:0;color:#fff;font:800 1.3rem Manrope,sans-serif;letter-spacing:-.04em}.admin-logo img{display:block;width:auto;max-width:170px;height:72px;object-fit:contain;border-radius:16px;flex-shrink:0}.admin-logo span{display:none}.sidebar-close{display:none}.sidebar-label{margin:0 13px 10px;color:#8da19b;text-transform:uppercase;letter-spacing:.15em;font-size:.64rem;font-weight:700}.admin-nav{display:grid;gap:3px;margin-bottom:29px}.admin-nav a{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:4px;color:#aebdb8;font-size:.88rem}.admin-nav a i{width:17px;text-align:center;color:#819791}.admin-nav a:hover,.admin-nav a.active{background:#2e5052;color:#fff}.admin-nav a.active i{color:var(--admin-gold)}.admin-nav b{margin-left:auto;min-width:22px;padding:1px 6px;border-radius:10px;background:#d9a346;color:#223d3e;text-align:center;font-size:.68rem}.sidebar-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:16px 11px 0;border-top:1px solid rgba(255,255,255,.12);font-size:.78rem}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#d8e2dd;color:var(--admin-navy);font-weight:700;font-size:.68rem}.sidebar-footer strong,.sidebar-footer small{display:block}.sidebar-footer small{color:#90a49e;font-size:.7rem}.sidebar-footer button{margin-left:auto;border:0;background:transparent;color:#9cafaa}.admin-main{min-width:0;flex:1}.admin-header{display:flex;align-items:center;gap:22px;padding:34px 5vw 28px;border-bottom:1px solid var(--admin-line);background:var(--admin-paper)}.admin-header .eyebrow{margin:0 0 5px}.eyebrow{margin:0 0 9px;color:#82908d;text-transform:uppercase;letter-spacing:.15em;font-size:.65rem;font-weight:700}.admin-header h1,.welcome-row h2,.section-heading h2{margin:0;font-family:Manrope,sans-serif;line-height:1.08;letter-spacing:0}.admin-header h1{font-size:1.7rem}.header-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.status{display:flex;align-items:center;gap:7px;color:var(--admin-muted);font-size:.78rem}.status i{width:7px;height:7px;border-radius:50%;background:#cb9231}.header-site-link,.text-link{color:var(--admin-navy);font-weight:700;font-size:.8rem}.header-site-link i,.text-link i{margin-left:5px;font-size:.7rem}.menu-toggle{display:none;border:0;background:transparent;color:var(--admin-navy);font-size:1.2rem}.admin-content{max-width:1440px;padding:42px 5vw 70px}.admin-section{display:none}.admin-section.active{display:block;animation:rise .3s ease both}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.welcome-row,.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:29px}.welcome-row h2{font-size:2.25rem}.subtle{margin:8px 0 0;color:var(--admin-muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:11px 16px;font-weight:700;font-size:.8rem}.button i{font-size:.75rem}.button-dark{background:var(--admin-navy);color:#fff}.button-dark:hover{background:#2e5052;transform:translateY(-2px);box-shadow:0 7px 15px rgba(25,52,59,.16)}.button-light{background:#fff;border-color:var(--admin-line);color:var(--admin-navy)}.button-light:hover{border-color:#b9c6c0;transform:translateY(-2px)}.social-links-header{display:flex;justify-content:flex-end}.social-links-list{display:grid;gap:14px}.social-link-item{padding:16px;border-radius:12px;border:1px solid var(--admin-line);background:#fbfaf7}.social-link-row{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr) auto;gap:12px;align-items:end}.social-link-row label{display:grid;gap:8px;color:var(--admin-muted);font-size:.72rem;font-weight:700}.social-link-row select,.social-link-row input{width:100%;padding:12px 13px;border:1px solid var(--admin-line);border-radius:10px;background:#fff;color:var(--admin-ink);font:inherit}.social-link-actions{display:flex;justify-content:flex-end}.remove-social{border-color:var(--admin-red);color:var(--admin-red);background:#fff5f3}.remove-social:hover{background:#feefec}.social-link-empty{padding:18px;border:1px dashed var(--admin-line);border-radius:12px;background:#fafaf7;color:var(--admin-muted);text-align:center}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:28px}#section-overview .stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px;margin-bottom:0;align-items:stretch}.stat-card{padding:20px;background:var(--admin-white);border:1px solid var(--admin-line);border-top:3px solid transparent}#section-overview .stat-card{padding:22px 22px 18px;background:linear-gradient(180deg,#fff 0%,#f7f5f2 100%);border:1px solid var(--admin-line);border-top:none;border-radius:18px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:176px;position:relative;box-shadow:0 12px 30px rgba(20,35,41,.04)}.stat-card.accent{border-top-color:var(--admin-gold)}.stat-card span,.stat-card small{display:block;color:var(--admin-muted);font-size:.75rem}.stat-card strong{display:block;margin:12px 0 7px;font:800 2.25rem Manrope,sans-serif}.stat-card small i{margin-right:4px;color:var(--admin-green)}.content-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:18px}.panel{background:#fff;border:1px solid var(--admin-line)}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 14px}.panel h3{margin:0;font:700 1.05rem Manrope,sans-serif}.activity-list{padding:0 23px 12px}.activity-item{display:grid;grid-template-columns:36px 1fr auto;gap:12px;align-items:center;padding:15px 0;border-top:1px solid var(--admin-line)}.activity-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f0e5d1;color:#a36c19;font-weight:700;font-size:.7rem}.activity-item strong,.activity-item small{display:block}.activity-item strong{font-size:.82rem}.activity-item small{color:var(--admin-muted);font-size:.73rem}.activity-item time{color:var(--admin-muted);font-size:.7rem}.attention-panel{padding:25px}.attention-panel h3{max-width:240px;font-size:1.4rem}.attention-panel .subtle{max-width:290px;font-size:.85rem}.progress-line{height:5px;margin:30px 0 9px;background:#edf0eb}.progress-line span{display:block;height:100%;background:var(--admin-gold)}.progress-copy{display:flex;justify-content:space-between;margin-bottom:25px;color:var(--admin-muted);font-size:.72rem}.progress-copy strong{color:var(--admin-ink)}.section-heading h2{font-size:2.3rem}.toolbar{display:flex;gap:10px;margin-bottom:15px}.search-box{display:flex;align-items:center;gap:9px;flex:1;max-width:370px;padding:0 13px;background:#fff;border:1px solid var(--admin-line);color:#91a09c}.search-box input{width:100%;padding:11px 0;border:0;outline:0;background:transparent;color:var(--admin-ink)}.toolbar select{padding:0 12px;border:1px solid var(--admin-line);background:#fff;color:var(--admin-muted)}.table-panel{overflow:hidden}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;min-width:650px}.data-table th{padding:13px 20px;text-align:left;background:#fafbf8;color:#899691;text-transform:uppercase;letter-spacing:.1em;font-size:.63rem}.data-table td{padding:16px 20px;border-top:1px solid var(--admin-line);font-size:.8rem}.data-table td:last-child{text-align:right}.vehicle-cell{display:flex;align-items:center;gap:11px;font-weight:700}.vehicle-thumb{width:42px;height:32px;object-fit:cover;background:#eef0eb}.muted-cell{color:var(--admin-muted)}.pill{display:inline-block;padding:4px 8px;border-radius:12px;background:#edf4ee;color:var(--admin-green);font-size:.68rem;font-weight:700}.pill.new{background:#fff1d9;color:#a36c19}.pill.service{background:#fbe8e4;color:var(--admin-red)}.row-action{border:0;background:transparent;color:#879590}.message-grid,.service-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.message-card,.service-card,.post-card{padding:21px;background:#fff;border:1px solid var(--admin-line)}.message-card.unread{border-left:3px solid var(--admin-gold)}.message-card header,.service-card header,.post-card header{display:flex;justify-content:space-between;gap:10px}.message-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1}.message-head h3{margin:0;font:700 1rem Manrope,sans-serif;letter-spacing:-.02em}.message-head p{margin:4px 0 0;color:var(--admin-muted);font-size:.76rem}.message-meta{display:flex;flex-wrap:wrap;gap:8px 12px;padding:10px 12px;margin:12px 0;border:1px solid var(--admin-line);border-radius:10px;background:#fafaf7;color:var(--admin-muted);font-size:.72rem}.message-preview{margin:12px 0 0;color:var(--admin-ink)!important;line-height:1.7}.message-actions{display:flex;align-items:center;gap:10px}.message-link{border:0;background:transparent;color:var(--admin-navy);font-weight:700;padding:0}.message-card h3,.service-card h3,.post-card h3{margin:4px 0 10px;font:700 1rem Manrope,sans-serif}.message-card p,.service-card p,.post-card p{margin:0;color:var(--admin-muted);font-size:.8rem}.card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:21px;padding-top:14px;border-top:1px solid var(--admin-line);color:var(--admin-muted);font-size:.7rem}.card-footer button{border:0;background:transparent;color:var(--admin-navy);font-weight:700}.service-icon{display:grid;place-items:center;width:35px;height:35px;background:#f4ead8;color:#b5771f}.post-card{min-height:190px}.post-card .eyebrow{margin-top:13px}.message-detail-modal{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:rgba(20,35,41,.46);z-index:30}.message-detail-panel{position:relative;width:min(100%,700px);padding:24px 24px 18px;border-radius:18px;background:#fff;box-shadow:0 26px 70px rgba(20,35,41,.18)}.close-detail{position:absolute;top:14px;right:14px}.message-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#edf6f2;color:var(--admin-green);font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.message-detail-header h3{margin:14px 0 0;font-size:1.6rem;letter-spacing:-.03em}.message-detail-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.message-detail-meta div{padding:12px;border:1px solid var(--admin-line);border-radius:10px;background:#fafaf7}.message-detail-meta span{display:block;margin-bottom:6px;font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--admin-muted)}.message-detail-meta strong{display:block;word-break:break-word;overflow-wrap:break-word;hyphens:auto;font-weight:600;color:var(--admin-ink)}.message-detail-body{margin-top:18px;padding:14px 16px;border:1px solid var(--admin-line);border-radius:12px;background:#fff}.message-detail-body span{display:block;margin-bottom:8px;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--admin-muted)}.message-detail-body p{white-space:pre-wrap;line-height:1.8;color:var(--admin-ink);word-break:break-word;overflow-wrap:break-word;hyphens:auto}.message-detail-actions{display:flex;justify-content:flex-end;margin-top:18px}.settings-form{max-width:780px;padding:28px}.form-section+.form-section{margin-top:32px;padding-top:27px;border-top:1px solid var(--admin-line)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:grid;gap:6px;color:var(--admin-muted);font-size:.75rem;font-weight:700}.form-grid input{width:100%;padding:11px 12px;border:1px solid var(--admin-line);background:#fff;color:var(--admin-ink);outline:0}.form-grid input:focus{border-color:var(--admin-gold)}.toast{position:fixed;right:25px;bottom:25px;padding:13px 18px;background:var(--admin-navy);color:#fff;box-shadow:0 10px 25px rgba(20,35,41,.2);opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s;font-size:.8rem}.toast.show{opacity:1;transform:none}#section-overview .welcome-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-bottom:12px}#section-overview .welcome-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px;padding:20px;background:linear-gradient(135deg,#ffffff 0%,#f8f8f6 100%);border:1px solid var(--admin-line);border-radius:18px}#section-overview .welcome-content{flex:1}#section-overview .welcome-content p{margin:0}#section-overview .welcome-content h2{margin:6px 0 4px;font-size:clamp(1.6rem,2.5vw,2.2rem)}#section-overview .quick-actions{display:flex;gap:10px;flex-wrap:wrap}#section-overview .quick-actions .button{font-size:.85rem;padding:10px 14px;white-space:nowrap}#section-overview .quick-actions .button i{margin-right:6px}#section-overview .overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}#section-overview .insights-panel{padding:24px 24px 18px;border:1px solid var(--admin-line);border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8f8f6 100%);box-shadow:0 14px 38px rgba(20,35,41,.05)}#section-overview .insights-panel h3{margin:0 0 12px;font-size:1.5rem;letter-spacing:-.04em}#section-overview .insights-list{display:flex;flex-direction:column;gap:10px}#section-overview .insight-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:#fff;border:1px solid var(--admin-line);border-radius:10px}#section-overview .insight-row span{color:var(--admin-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;flex:1}#section-overview .health-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}#section-overview .health-badge.success{background:linear-gradient(135deg,#e8f5e9 0%,#f1f8f5 100%);color:#2e7d32;border:1px solid rgba(46,125,50,.2)}#section-overview .health-badge.success:before{content:'✓';margin-right:2px}@media(max-width:1200px){#section-overview .welcome-header{flex-direction:column;align-items:flex-start;gap:12px;padding:18px}#section-overview .quick-actions{gap:8px;margin-top:8px}#section-overview .overview-grid{gap:18px}#section-overview .welcome-row{flex-direction:column;align-items:flex-start;gap:8px}#section-overview .stat-grid{gap:18px;margin-top:20px}}@media(max-width:1024px){#section-overview .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#section-overview .stat-card{min-height:160px;padding:20px}#section-overview .status-list{gap:12px}}@media(max-width:900px){#section-overview .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#section-overview .status-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#section-overview .stat-card{min-height:160px;padding:18px 18px 16px}#section-overview .attention-panel{padding:20px 20px 16px}#section-overview .attention-panel h3{font-size:1.5rem}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){#section-overview .stat-grid{grid-template-columns:1fr;gap:14px}#section-overview .status-list{grid-template-columns:1fr;gap:10px}#section-overview .welcome-row h2{font-size:1.8rem}#section-overview .stat-card{min-height:140px;padding:16px}#section-overview .stat-card strong{font-size:clamp(1.8rem,2.5vw,2.4rem)}#section-overview .attention-panel h3{font-size:1.3rem}#section-overview .status-item{min-height:48px;padding:10px}}@media(max-width:640px){#section-overview .stat-grid{grid-template-columns:1fr;gap:12px;margin-top:16px}#section-overview .stat-card{min-height:130px;padding:15px;gap:10px}#section-overview .stat-card span{font-size:.7rem}#section-overview .stat-card strong{font-size:1.8rem}#section-overview .stat-card small{font-size:.75rem}}@media(max-width:480px){#section-overview .welcome-row{padding-bottom:8px}#section-overview .stat-grid{gap:12px;margin-top:16px}#section-overview .stat-card{min-height:120px;padding:14px 12px;gap:8px;border-radius:14px}#section-overview .stat-card span{font-size:.68rem}#section-overview .stat-card strong{font-size:1.6rem}#section-overview .stat-card small{font-size:.72rem}#section-overview .content-grid{margin-top:20px}#section-overview .attention-panel{padding:16px 14px;border-radius:14px}#section-overview .attention-panel h3{font-size:1.2rem;margin:0 0 6px}#section-overview .attention-panel .eyebrow{font-size:.68rem}#section-overview .status-list{gap:8px;margin:12px 0 10px}#section-overview .status-item{min-height:44px;padding:8px 10px;gap:8px;border-radius:10px}#section-overview .status-item span{font-size:.7rem}#section-overview .status-item strong{font-size:.8rem}#section-overview .progress-line{height:10px}#section-overview .progress-copy{gap:8px;margin-top:10px;font-size:.7rem}#section-overview .progress-copy strong{font-size:.8rem}}@media(max-width:360px){#section-overview .stat-card{min-height:110px;padding:12px 10px;font-size:.65rem}#section-overview .stat-card strong{font-size:1.4rem}#section-overview .attention-panel{padding:14px 12px}#section-overview .attention-panel h3{font-size:1.1rem}}
@media(max-width:900px){.admin-sidebar{width:220px}.stat-grid{grid-template-columns:repeat(2,1fr)}.content-grid,.message-grid,.service-grid,.post-grid{grid-template-columns:1fr}.attention-panel{min-height:240px}#section-overview .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.overview-grid{display:block!important;grid-template-columns:none!important;gap:0!important}.overview-grid>.panel{margin-bottom:18px}}

.stat-card,.panel,.message-card,.service-card,.post-card,.vehicle-cell,.table-panel,.login-card,.quick-menu-panel{transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease}
.stat-card:hover,.panel:hover,.message-card:hover,.service-card:hover,.post-card:hover,.vehicle-cell:hover,.table-panel:hover,.login-card:hover,.quick-menu-panel:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(20,35,41,.08)}
.button,.row-action,.header-site-link,.status,.admin-nav a,.sidebar-footer button,.quick-menu-close{transition:transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease}
.button:hover,.row-action:hover,.header-site-link:hover,.admin-nav a:hover,.sidebar-footer button:hover,.quick-menu-close:hover{transform:translateY(-1px)}
@media(max-width:700px){.admin-sidebar{position:fixed;inset:0 auto 0 0;z-index:10;width:min(82vw,300px);transform:translateX(-100%);transition:transform .25s ease}.admin-sidebar.open{transform:none}.sidebar-close{display:block;border:0;background:transparent;color:#d8e2dd;font-size:1.1rem}.sidebar-scrim{display:block;position:fixed;inset:0;z-index:9;background:rgba(20,35,41,.4);opacity:0;pointer-events:none;transition:opacity .25s}.sidebar-scrim.open{opacity:1;pointer-events:auto}.admin-header{padding:23px 5vw;gap:13px}.menu-toggle{display:block}.admin-header h1{font-size:1.35rem}.header-actions{gap:10px}.header-site-link{font-size:0}.header-site-link i{margin:0;font-size:.9rem}.status{font-size:0}.status i{font-size:initial}.admin-content{padding:30px 5vw 50px}.welcome-row,.section-heading{align-items:flex-start;flex-direction:column}.welcome-row h2{font-size:1.8rem}.section-heading h2{font-size:2rem}.welcome-row .button,.section-heading .button{align-self:stretch}.stat-card{padding:16px}.stat-card strong{font-size:1.8rem}#section-overview .overview-grid{display:block;grid-template-columns:none;gap:0;margin-top:18px}.overview-grid>.panel{padding:18px 16px}.attention-panel,.insights-panel{padding:18px 16px;min-height:unset}.attention-panel h3,.insights-panel h3{font-size:1.12rem;line-height:1.3;max-width:none}.attention-panel .subtle,.insights-panel .subtle{font-size:.7rem;line-height:1.5}.status-list,.insights-list{gap:10px}.status-item,.insight-row{padding:8px 0;gap:8px}.status-item span,.status-item strong,.insight-row span,.health-badge{font-size:.72rem}.health-badge{padding:5px 8px}.progress-copy{font-size:.68rem}.overview-grid .panel>p.eyebrow{margin-bottom:8px}.toolbar{flex-direction:column}.search-box{max-width:none;min-height:43px}.toolbar select{min-height:43px}.form-grid{grid-template-columns:1fr}.data-table td,.data-table th{padding:13px 14px}}
.modal[hidden]{display:none}.modal{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:rgba(20,35,41,.48);backdrop-filter:blur(3px)}.modal-card{width:min(100%,1400px);max-height:min(92vh,940px);overflow:auto;padding:26px 26px 20px;border:1px solid rgba(24,52,59,.08);border-radius:22px;background:linear-gradient(180deg,#fff 0%,#f7f6f3 100%);box-shadow:0 24px 60px rgba(20,35,41,.26)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--admin-line)}.modal-heading h2{margin:0;font:700 1.5rem Manrope,sans-serif;color:var(--admin-ink)}.modal-heading .eyebrow{margin:0 0 4px;color:var(--admin-muted);text-transform:uppercase;letter-spacing:.12em;font-size:.7rem;font-weight:700}.modal-card form{display:grid;gap:18px}.editor-field{display:grid;gap:8px;color:var(--admin-muted);font-size:.74rem;font-weight:700}.editor-field span,.editor-check span{color:var(--admin-muted)}.editor-field--full{grid-column:1 / -1}.editor-check{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--admin-line);border-radius:12px;background:#fff;color:var(--admin-ink);font-size:.8rem}.editor-check span{flex:1}.editor-check .switch{position:relative;display:inline-block;width:46px;height:26px;flex:none}.editor-check .switch input{position:absolute;opacity:0;width:0;height:0}.editor-check .slider{position:absolute;inset:0;border-radius:999px;background:#dfe4df;transition:all .2s ease}.editor-check .slider:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 2px 6px rgba(20,35,41,.18);transition:all .2s ease}.editor-check input:checked + .slider{background:var(--admin-gold)}.editor-check input:checked + .slider:before{transform:translateX(20px)}.editor-check input:focus-visible + .slider{box-shadow:0 0 0 3px rgba(233,164,58,.18)}.modal-card input,.modal-card textarea{width:100%;padding:12px 13px;border:1px solid var(--admin-line);border-radius:10px;background:#fff;color:var(--admin-ink);resize:vertical;outline:0;box-shadow:inset 0 1px 2px rgba(20,35,41,.02)}.modal-card input:focus,.modal-card textarea:focus{border-color:var(--admin-gold);box-shadow:0 0 0 3px rgba(233,164,58,.12)}.editor-gallery-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.editor-gallery-tools input[type="file"]{padding:10px 12px;border:1px dashed var(--admin-line);border-radius:10px;background:rgba(255,255,255,.6)}.editor-hint{display:block;color:var(--admin-muted);font-size:.7rem;line-height:1.5}.gallery-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.gallery-thumb{display:inline-flex;align-items:center;justify-content:center;width:72px;height:72px;padding:0;border:1px solid var(--admin-line);border-radius:10px;background:#fff;overflow:hidden;cursor:pointer}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.post-editor{display:grid;gap:12px;padding:8px 0}.post-editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;padding:8px 10px;border:1px solid var(--admin-line);border-radius:10px;background:#f7f6f3}.post-editor-toolbar button,.post-editor-actions button,.post-editor-image-tools button{padding:7px 10px;border:1px solid var(--admin-line);border-radius:8px;background:#fff;color:var(--admin-ink);font-weight:600;font-size:.95rem}.post-editor-toolbar button:hover,.post-editor-actions button:hover,.post-editor-image-tools button:hover{border-color:var(--admin-gold);box-shadow:0 0 0 3px rgba(233,164,58,.12)}.post-editor-toolbar button{position:relative}.post-editor-toolbar button:hover::after{content:attr(title);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);padding:7px 9px;border-radius:8px;background:rgba(20,35,41,.96);color:#fff;font-size:.68rem;white-space:nowrap;z-index:30;pointer-events:none}.post-editor-list{display:grid;gap:12px}.post-editor-block{display:grid;gap:8px;padding:12px;border:1px solid var(--admin-line);border-radius:12px;background:#fff}.post-editor-actions{display:flex;justify-content:flex-end;gap:6px}.post-editor-content{min-height:160px;padding:14px 16px;border:1px solid var(--admin-line);border-radius:10px;background:#fff;line-height:1.8;font-size:1.02rem;color:#000}.post-editor-content:focus{border-color:var(--admin-gold);box-shadow:0 0 0 3px rgba(233,164,58,.12);outline:none}.post-editor-content[contenteditable='true'],.post-editor-content[contenteditable='true'] *{color:#000!important}.post-editor-image-wrap{display:grid;gap:10px}.post-editor-image-preview{min-height:220px;border:1px dashed var(--admin-line);border-radius:10px;background:#f8f8f4;display:grid;place-items:center;overflow:hidden}.post-editor-image-preview img{display:block;width:100%;height:220px;object-fit:cover}.post-editor-image-preview span{color:var(--admin-muted);font-weight:600}.post-editor-image-tools{display:flex;gap:8px;flex-wrap:wrap}.gallery-upload-block{display:grid;gap:10px;padding:12px;border:1px solid var(--admin-line);border-radius:12px;background:rgba(255,255,255,.75)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--admin-line)}

/* ============================================
   PROFESSIONAL MODAL EDITOR — responsive rebuild
   Overrides earlier .modal / .modal-card rules.
   Applies to every editor: vehicles, services,
   journal posts, and page content (homepage,
   about, contact, footer).
   ============================================ */

.modal{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:0;
    background:rgba(15,26,30,.55);
    backdrop-filter:blur(4px);
    animation:modal-fade .18s ease both;
}
@keyframes modal-fade{from{opacity:0}to{opacity:1}}

.modal-card{
    width:100%;
    max-width:640px;
    max-height:92vh;
    margin:0 auto;
    padding:0;
    border-radius:20px 20px 0 0;
    border:1px solid rgba(20,35,41,.08);
    background:#fff;
    box-shadow:0 -10px 40px rgba(20,35,41,.28);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    animation:modal-sheet-up .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes modal-sheet-up{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}

/* wider cards for content-heavy editors */
.modal-card--posts{max-width:900px}
.modal-card--homepage,
.modal-card--about,
.modal-card--contact{max-width:720px}

/* desktop: centered card, not a bottom sheet */
@media(min-width:701px){
    .modal{align-items:center;padding:24px}
    .modal-card{border-radius:20px;max-height:88vh}
}

/* ---- header ---- */
.modal-heading{
    flex:none;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    margin:0;
    padding:22px 24px;
    background:linear-gradient(180deg,#fff 0%,#fafaf8 100%);
    border-bottom:1px solid var(--admin-line);
}
.modal-heading-copy{min-width:0}
.modal-card-badge{
    display:inline-block;
    margin-bottom:6px;
    padding:3px 10px;
    border-radius:999px;
    background:#fff1d9;
    color:#a36c19;
    font-size:.66rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.modal-heading .eyebrow{margin:0 0 2px}
.modal-heading h2{
    font-size:1.35rem;
    letter-spacing:-.02em;
    word-break:break-word;
}
.modal-heading [data-close]{
    flex:none;
    width:36px;height:36px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#f2f2ee;
    color:var(--admin-muted);
}
.modal-heading [data-close]:hover{background:#e8e6e0;color:var(--admin-ink)}

/* ---- scrollable body ---- */
.modal-card form{
    display:flex;
    flex-direction:column;
    min-height:0;
    flex:1;
    gap:0;
}
.modal-card [data-fields]{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    padding:22px 24px;
    overflow-y:auto;
    flex:1;
}
@media(max-width:700px){
    .modal-card [data-fields]{grid-template-columns:1fr;padding:18px}
}

/* fields that should always take the full row */
.editor-field:has(textarea),
.editor-field--full,
.editor-field--post,
.editor-check,
.editor-field:has(.image-preview),
.editor-field:has(.input-group){
    grid-column:1 / -1;
}

.editor-field span{font-weight:700;color:var(--admin-muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.06em}
.modal-card input,
.modal-card select,
.modal-card textarea{
    padding:11px 13px;
    border-radius:10px;
    font-size:.88rem;
}
.modal-card textarea{min-height:110px;line-height:1.6}
.editor-field--post textarea,
.editor-field--post .post-editor{min-height:0}

.login-error[data-error]{
    grid-column:1 / -1;
    margin:0;
    color:var(--admin-red);
    font-size:.78rem;
    font-weight:600;
}
.login-error[data-error]:empty{display:none}

/* ---- sticky footer ---- */
.modal-actions{
    flex:none;
    margin:0;
    padding:16px 24px;
    border-top:1px solid var(--admin-line);
    background:#fff;
    position:sticky;
    bottom:0;
}
@media(max-width:700px){
    .modal-actions{padding:14px 18px;padding-bottom:calc(14px + env(safe-area-inset-bottom))}
    .modal-actions .button{flex:1}
}

/* ---- image upload fields ---- */
.editor-field .input-group{display:grid;gap:10px}
.editor-field .image-preview{
    min-height:170px;
    border-radius:14px;
    border:1px solid var(--admin-line);
    background:#f5f3ed;
}
.editor-field .image-preview img{border-radius:14px}

/* ---- rich post editor polish ---- */
.post-editor{border:1px solid var(--admin-line);border-radius:14px;padding:14px;background:#fbfaf7}
.post-editor-toolbar{position:sticky;top:0;z-index:2;flex-wrap:wrap}
.post-editor-list{max-height:none}
.post-editor-block{border-radius:12px}
.post-editor-content{font-size:.95rem}
@media(max-width:480px){
    .post-editor-toolbar button,
    .post-editor-actions button,
    .post-editor-image-tools button{padding:8px 10px;font-size:.85rem}
}

/* ---- select-field readability ---- */
.modal-card select{
    appearance:none;
    background-image:linear-gradient(45deg,transparent 50%,var(--admin-muted) 50%),linear-gradient(135deg,var(--admin-muted) 50%,transparent 50%);
    background-position:calc(100% - 18px) center,calc(100% - 13px) center;
    background-size:5px 5px,5px 5px;
    background-repeat:no-repeat;
    padding-right:34px;
}

/* ---- very small phones ---- */
@media(max-width:380px){
    .modal-heading{padding:16px}
    .modal-heading h2{font-size:1.15rem}
    .modal-card [data-fields]{padding:14px}
}