:root { --admin-primary:#174d69; --admin-primary-light:#246984; --admin-bg:#f3f6f8; }
.admin-content { max-width:1600px; margin:auto; }
.admin-card-header h3 { font-size:1rem; }
.property-toolbar { display:flex; gap:12px; padding:16px 22px; align-items:end; flex-wrap:wrap; background:#f8fafb; border-bottom:1px solid #e3e9ec; }
.property-toolbar label { display:flex; flex-direction:column; gap:7px; font-size:.73rem; color:#526779; font-weight:600; }
.property-toolbar label:first-child { flex:1; min-width:180px; }
.property-toolbar input,.property-toolbar select { width:100%; min-height:43px; padding:10px 12px; border:1px solid #ccd8df; border-radius:8px; color:#213d51; background:white; font:inherit; }
.sort-caption { font-size:.73rem; color:#587186; padding-bottom:12px; }
.table-action-btn { width:auto; min-width:44px; height:auto; min-height:40px; padding:8px 10px; gap:6px; }
.editor-section { border:1px solid #dde6eb; border-radius:12px; margin-bottom:16px; padding:0 18px 12px; }
.editor-section summary { padding:17px 0; color:#21475e; font-size:.9rem; font-weight:700; cursor:pointer; }
.editor-section:not([open]) { padding-bottom:0; }
.editor-section .form-row { margin-top:10px; }
.form-save-error { background:#fff0f0; border:1px solid #edb5bd; color:#9b2334; padding:15px; margin:12px 24px; line-height:1.6; font-size:.85rem; }
.form-save-error[hidden] { display:none; }
.admin-modal { max-height:calc(100dvh - 48px); overflow-y:auto; }
.admin-modal > .modal-header { position:sticky;top:0;background:white;z-index:3; }
.modal-footer { position:sticky;bottom:0;z-index:3;box-shadow:0 -4px 18px #1b344b0c; }
.admin-modal .modal-body { padding:18px; }
.image-preview-item .remove-img { width:32px;height:32px; }
.admin-table .prop-cell { min-width:0; }
@media(min-width:1201px) {
 .admin-table th,.admin-table td { padding:12px 10px; }
 .admin-table th:nth-child(4),.admin-table td:nth-child(4),.admin-table th:nth-child(5),.admin-table td:nth-child(5) { display:none; }
 .admin-table { min-width:0; }
 .admin-table td:last-child { min-width:170px; }
}
@media(max-width:1200px) {
 .admin-card { overflow:visible; }
 .admin-table { display:block;min-width:0;width:100%; }
 .admin-table thead { display:none; }
 .admin-table tbody { display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:14px; }
 .admin-table tr { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce5eb;border-radius:12px;overflow:hidden;background:white;padding:12px; }
 .admin-table td { display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:8px!important;min-width:0!important;border:0;white-space:normal!important; }
 .admin-table td::before { content:attr(data-label);font-size:.65rem;text-transform:uppercase;letter-spacing:.05em;color:#6d7f8d; }
 .admin-table td:first-child,.admin-table td:last-child,.admin-table td[colspan] { grid-column:1/-1; }
 .admin-table td:first-child::before,.admin-table td:last-child::before { display:none; }
 .admin-table .prop-name { max-width:none;font-size:.9rem; }
 .admin-table .prop-thumb { width:76px;height:60px;flex-shrink:0;border-radius:8px; }
 .table-actions { width:100%; }
 .table-action-btn { flex:1;justify-content:center; }
 .property-toolbar { padding:14px;gap:10px; }
 .property-toolbar label:first-child { flex-basis:100%; }
 .property-toolbar label { flex:1;min-width:0; }
 .sort-caption { width:100%;padding:0; }
}
@media(max-width:600px) {
 .admin-modal-overlay { padding:8px; }
 .admin-modal { max-height:calc(100dvh - 16px);border-radius:12px; }
 .admin-modal .modal-header { padding:15px; }
 .admin-modal .modal-body { padding:10px; }
 .editor-section { padding-left:12px;padding-right:12px; }
 .modal-footer { padding:12px;gap:8px; }
 .modal-footer button { flex:1;padding:12px;justify-content:center; }
 .modal-header h3 { font-size:1rem; }
}
