.admin-top { border-bottom: 1px solid var(--line); }
.admin { padding-block: 46px 70px; min-height: 78vh; }
.admin-heading h1 { font: 500 clamp(2.5rem,5vw,4.35rem)/1.07 var(--serif); letter-spacing: -.05em; }
.admin-heading p { max-width: 62ch; line-height: 1.6; margin-top: 12px; color: var(--muted); }
.auth-panel { width: min(100%, 520px); margin-top: 26px; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: 10px; background: white; }
.auth-panel h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.auth-fields { display: grid; gap: 12px; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.account-bar div, .tour-row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.show-deleted { display: flex !important; align-items: center; min-height: 42px; }
.show-deleted input { width: 18px; min-height: 18px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 26px; }
.admin-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 15px; }
.admin-section-heading h2 { font-size: clamp(1.55rem,4vw,2.4rem); }
.admin-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 15px 0; align-items: flex-end; }
.admin-filters label { display: grid; gap: 5px; font-size: .9rem; font-weight: 700; }
.admin-filters input, .admin-filters select { min-height: 42px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background-color: white; }
.ops-list { background: white; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; padding: 0; margin: 0; list-style: none; }
.ops-row { display: grid; grid-template-columns: minmax(0,2fr) minmax(112px, 1fr) max-content; align-items: center; gap: 14px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.ops-row:last-child { border-bottom: 0; }
.ops-row strong { display: block; overflow-wrap: anywhere; }
.ops-row small { color: var(--muted); display: block; margin-top: 4px; font-size: .86rem; }
.ops-row .button { min-height: 40px; }
.ops-status { display: inline-block; font-size: .87rem; color: #295749; }
.ops-muted { color: var(--muted); }
.ops-empty { padding: 17px; background: white; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
#ops-modal { width: min(810px,calc(100% - 24px)); }
#ops-modal:has(.tour-save) { scroll-padding-bottom: 90px; }
.admin-form { margin-top: 18px; }
.admin-form fieldset { border: 1px solid var(--line); margin: 12px 0; padding: 8px 13px 15px; border-radius: 7px; }
.admin-form legend { font-weight: 700; }
.admin-form p { margin-block: 8px; }
.admin-form .check-line { display: flex; align-items: center; gap: 8px; }
.admin-form input[type=checkbox] { width: 18px; height: 18px; }
.partner-actions { display: flex; align-items: center; justify-content: space-between; gap: 9px; flex-wrap: wrap; margin-top: 8px; font-size: .9rem; }
.partner-actions button { background: transparent; padding: 0; border: 0; text-decoration: underline; color: #862e22; }
.mark-price { border-radius: 6px; background: var(--soft-green); padding: 9px 13px; font-weight: 700; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.programme-language { display: grid; gap: 12px; }
.programme-hint, .programme-editor small { color: var(--muted); line-height: 1.45; }
.programme-hint { font-size: .9rem; }
.programme-editor small { font-weight: 400; }
.admin-form .partner-set { min-width: 0; border: 0; padding: 0; }
.execution-field { max-width: 360px; margin-block: 18px 12px; }
.tour-logistics { margin-bottom: 20px; }
.admin-section-heading > .button { flex: none; }
.tour-save { position: sticky; bottom: 0; z-index: 1; background: var(--paper); border-top: 1px solid var(--line); padding-block: 10px; }
.ops-summary { line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.ops-summary p { margin-block: 6px; }
.request-feedback { color: var(--green); margin-block: 8px; }
.request-feedback:empty { display: none; }
.admin-actions .button-delete { background: #882f27; color: white; }
.admin-actions .button-delete:hover { background: #6a231e; }
.tour-row-actions .button-delete { color: #862e22; border-color: #b98f89; background: white; }
.tour-row-actions .button-delete:hover { background: #f8ebe9; }
.photo-editor { margin-block: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.photo-editor h3 { margin: 0 0 12px; }
.photo-editor-body { display: grid; grid-template-columns: minmax(115px, 1fr) minmax(0, 1.5fr); align-items: start; gap: 14px; }
.photo-editor img { width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 5px; background: var(--soft-green); }
.photo-editor label { display: grid; gap: 5px; font-size: .9rem; font-weight: 700; }
.photo-editor input { width: 100%; font-size: .86rem; }
.photo-editor p { margin-block: 8px; }
.photo-browser-link { display: inline-block; font-size: .88rem; color: var(--green); text-underline-offset: 3px; }
.photo-editor .admin-actions { margin-top: 11px; }
@media (max-width: 485px) { .photo-editor-body { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .admin { padding-block: 32px 50px; }.ops-row { grid-template-columns: minmax(0,1fr) max-content; gap: 7px; padding: 10px 11px; }.ops-row > :nth-child(2) { grid-column: 1; grid-row: 2; }.ops-row > button, .tour-row-actions { grid-column: 2; grid-row: 1/3; }.tour-row-actions { flex-direction: column; } }
