[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0f8d88; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
button, .theme-option { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); }
.setup, .admin, .book, .designer { height: auto; min-height: 100vh; }
.setup { padding-bottom: 40px; }
.setup .hint { line-height: 1.5; }
.wizard form { display: flex; flex-direction: column; min-height: 100%; }
.wizard form > [data-stage] { flex: 1; }
.wizard form h1 + p { line-height: 1.5; color: #3c5d68; }
.wizard-actions { justify-content: flex-end; gap: 10px; }
.wizard-actions [data-back] { margin-right: auto; }
.theme-option input { width: 19px; height: 19px; margin: 0; position: absolute; inset: 6px 6px auto auto; accent-color: #087469; }
.theme-option:has(:checked) { outline: 2px solid #078275; outline-offset: 1px; }
.field.real input, .field.real select, .field.real textarea,
.inline-form input, .inline-form select, .status-form select {
    width: 100%; border: 1px solid #bfd5d8; background: #fff; color: #17343f;
    border-radius: 9px; padding: 10px; min-height: 42px; font: inherit;
}
.field.real input { text-overflow: ellipsis; }
.check { display: flex; align-items: center; gap: 7px; margin-block: 12px; }
.check input { width: 17px; height: 17px; accent-color: #0c756c; }
.login-card { background: #ffffff9b; border: 1px solid #fff; border-radius: 25px; padding: 28px; max-width: 520px; margin: 35px auto; }
.login-card h1 { letter-spacing: -.05em; margin-bottom: 20px; font-size: 39px; }
.login-card p { margin: 11px 0; line-height: 1.5; }
.message { margin: 14px 0; padding: 12px 14px; border-radius: 10px; border: 1px solid #a9d5cf; background: #e5f8f2; color: #12443e; }
.message.error { border-color: #e9b2b6; background: #fff1f1; color: #6e2e34; }
.languages { display: flex; gap: 3px; flex-wrap: wrap; font-size: 12px; }
.languages a { padding: 5px; }
.languages a[aria-current="true"] { outline: 1px solid currentColor; border-radius: 6px; }
.modern .finder { margin: 14px 0 0; grid-template-columns: 1fr 1fr .9fr auto; }
.modern .finder.over-photo { width: calc(100% - 66px); margin: -26px auto 0; box-shadow: 0 14px 28px #172f3520; }
.modern .finder label, .app-admin .finder label { display: flex; flex-direction: column; font-size: 13px; gap: 4px; min-width: 0; }
.finder input, .finder select { width: 100%; min-width: 0; font: inherit; background: var(--panel, #fff); color: var(--ink, #153036); border: 1px solid var(--line, #d0e0e2); border-radius: 7px; min-height: 34px; padding: 5px; }
.modern.lagoon { --hero: #ccefe8; --base: #ebfaf6; --panel: #effff9ed; --line: #cae4e0; --button: #086e63; --btn-radius: 999px; }
.modern.lagoon .surface { display: block; min-height: 485px; }
.modern.lagoon .art-frame { position: absolute; inset: 0; z-index: -2; }
.modern.lagoon .art { object-position: 70% 61%; }
.modern.lagoon .feature { margin: 31px; width: 420px; padding: 32px; border: 1px solid #fff9; border-radius: 21px; background: #effff6a6; backdrop-filter: blur(16px); }
.modern.lagoon .feature h1 { font-size: 73px; }
.modern .search-section + .surface, .modern .plain-section + .surface, .modern .offer-section + .surface { margin-top: 22px; }
.modern .plain-section { margin: 34px 0; padding: 23px; border: 1px solid var(--line); background: var(--panel); border-radius: 17px; }
.modern .plain-section p, .modern .block-copy { white-space: pre-line; line-height: 1.55; margin: 9px 0; }
.search-section > h2 { margin: 22px 0 8px; }
.search-section > h2 + .finder.over-photo { margin: 0; width: 100%; }
.public-footer { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 24px 0; opacity: .82; font-size: 14px; overflow-wrap: anywhere; }
.public-footer a { text-decoration: underline; }
.public-book { padding-bottom: 48px; }
.public-book h1, .quote h2 { margin-block: 16px; letter-spacing: -.04em; }
.rental-grid, .quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 21px; }
.quote-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.rental-card { border: 1px solid var(--line,#d0e4e4); background: var(--panel,#fff); color: var(--ink,#17343f); border-radius: 17px; overflow: hidden; }
.rental-card img { display: block; width: 100%; height: 170px; object-fit: cover; }
.rental-card > div, .quote-form { padding: 18px; }
.rental-card h2 { font-size: 22px; margin: 3px 0 9px; }
.rental-card p { margin: 8px 0; line-height: 1.4; }
.rental-card strong { display: block; margin: 10px 0; }
.admin.app-admin { align-items: stretch; }
.admin-actions { display: grid; margin: 24px 12px; gap: 8px; }
.admin-actions a { text-decoration: underline; color: #cceee4; }
.logout { padding: 4px 0; color: #d4eae9; border: 0; background: transparent; text-decoration: underline; }
.quiet { padding-block: 12px; }
.table-scroll { overflow-x: auto; }
.table-scroll td { line-height: 1.45; }
.table-scroll a { text-decoration: underline; }
.inline-form, .status-form { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 8px 0; }
.inline-form select, .inline-form input, .status-form select { width: auto; max-width: 100%; }
.status-form .btn, .inline-form .btn { min-height: 38px; padding: 7px 12px; }
.schedule-link { background: #a1e8d835; padding: 3px 5px; display: inline-block; border-radius: 5px; }
.office-grid { display: grid; grid-template-columns: minmax(265px, .8fr) minmax(0,1.2fr); gap: 16px; }
.office-grid h2, .settings-form { margin-bottom: 12px; }
.settings-form { max-width: 480px; }
.pager { display: flex; gap: 15px; padding-top: 12px; }
.app-admin .finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-top: 14px; }
.app-admin .quote-form .btn, .app-admin .rental-card .btn { background: #115f56; color: #fff; }
.designer { --button: #116e65; }
.designer .middle { padding: 14px; }
.designer .editor-frame { width: 100%; height: 620px; display: block; }
.designer .editor-frame.preview-mobile { width: min(100%, 390px); }
.designer .right-top { gap: 8px; }
.designer .block { grid-template-columns: 17px 1fr auto; }
.designer .select-block, .designer .toggle-block { background: none; text-align: left; padding: 0; font: inherit; border: 0; color: inherit; }
.designer .toggle-block { border: 1px solid #b2d4cd; border-radius: 5px; padding: 2px 3px; font-size: 11px; }
.designer .move button { border: 1px solid #c7dbd7; border-radius: 7px; background: #fff; color: #234b4d; padding: 6px; font-size: 12px; }
.designer .editor label { margin-bottom: 13px; }
.designer .editor .edit-field { display: block; width: 100%; color: #15343a; resize: vertical; font: inherit; }
.designer .tabs button, .designer .device-toggle button { border: 0; background: #fff; color: #405d64; font-weight: bold; border-radius: 5px; padding: 6px 8px; font-size: 12px; }
.designer .tabs button[aria-pressed="true"], .designer .device-toggle button[aria-pressed="true"] { background: #d9f3eb; color: #105c53; }
.designer .secondary { background: #e2f1ec; color: #225953; }
[data-preview-selected] { outline: 2px solid #0c8d81; outline-offset: -2px; }
@media (max-width: 1000px) {
    .modern .feature h1 { font-size: 57px; }
    .modern .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .designer .workbench { grid-template-columns: 183px minmax(0,1fr) 225px; }
    .admin.app-admin { grid-template-columns: 173px minmax(0,1fr); }
    .admin.app-admin main { padding: 16px; }
    .office-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .wrap { width: calc(100% - 28px); }
    .bar, .modern .bar, .setup > .wrap > .bar { height: auto; min-height: 66px; gap: 8px; flex-wrap: wrap; padding: 9px 0; }
    .modern .nav, .nav { gap: 8px; flex-wrap: wrap; }
    .modern .btn { white-space: normal; }
    .modern .surface { display: flex; flex-direction: column; min-height: 0; gap: 0; position: relative; }
    .modern .feature, .modern.lagoon .feature, .modern.palm .feature, .modern.crystal .feature {
        align-self: stretch; padding: 18px 17px; margin: 0; width: 100%; min-height: 0; background: var(--panel); display: block;
        border: 0; border-radius: 10px;
    }
    .modern .feature h1, .modern.lagoon .feature h1 { font-size: clamp(36px, 10vw, 58px); }
    .modern .feature p { font-size: 15px; }
    .modern .art-frame, .modern.lagoon .art-frame, .modern.palm .art-frame, .modern.crystal .art-frame {
        inset: auto; display: block; position: relative; min-height: 215px; margin: 0; width: 100%; border-radius: 10px;
    }
    .modern .art-group, .modern .art-stack { margin: 7px 0 0; }
    .modern.violet .art-stack .art-frame:first-child { display: none; }
    .modern .finder.over-photo, .modern .finder { width: 100%; margin: 9px 0 0; }
    .modern .finder, .app-admin .finder { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .modern .finder .btn, .app-admin .finder .btn { align-self: end; }
    .rental-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .quote-grid, .glass-frame, .setup .two, .admin.app-admin { grid-template-columns: 1fr; }
    .glass-frame { border-radius: 17px; }
    .steps { padding: 9px; border-right: none; }
    .steps small, .steps .label { display: none; }
    .steps ol { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; }
    .step { padding: 5px; font-size: 12px; }
    .wizard { padding: 17px; }
    .wizard h1, .admin header h1 { font-size: 33px; }
    .theme-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .admin aside { padding: 12px; }
    .admin aside .brand { margin: 0 0 7px; }
    .admin-nav { display: flex; flex-wrap: wrap; gap: 2px; }
    .admin-nav .mark { padding: 5px 7px; }
    .admin-actions { display: flex; margin: 8px; }
    .admin header { flex-wrap: wrap; }
    .admin-cards { grid-template-columns: repeat(2,1fr); }
    .designer-top { height: auto; align-items: flex-start; flex-wrap: wrap; gap: 9px; padding: 9px; }
    .designer-top .left-top, .designer-top .right-top { flex-wrap: wrap; }
    .designer .workbench { grid-template-columns: 1fr; }
    .designer .middle { grid-row: 3; }
    .designer .editor-frame { height: 500px; }
}
@media (max-width: 420px) {
    .modern .categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .rental-grid { grid-template-columns: 1fr; }
    .modern .finder { grid-template-columns: 1fr; }
    .modern .art-frame .art { object-position: center; }
}
@media (max-width: 720px) {
    .modern.lagoon .surface { min-height: 338px; justify-content: center; }
    .modern.lagoon .art-frame { position: absolute; inset: 0; height: 100%; z-index: -1; }
    .modern.lagoon .art-frame .art { object-position: 66% center; }
    .modern.lagoon .feature {
        max-width: 305px; width: calc(100% - 26px); margin: 13px;
        background: #edfff2b5; border: 1px solid #fff9; backdrop-filter: blur(13px);
    }
}
