/* Minification failed. Returning unminified contents.
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(10,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(11,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(19,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(20,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(21,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(22,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(31,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(32,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(33,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(34,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(43,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(44,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(45,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(46,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(55,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(56,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(57,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(58,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(67,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(68,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(69,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(70,9): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(100,22): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(101,21): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(119,21): run-time error CSS1039: Token not allowed after unary operator: '-of-page-max-width'
(121,19): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(133,40): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-columns'
(134,15): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-gap'
(192,40): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-columns'
(194,15): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-gap'
(197,35): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(197,68): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(219,35): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(219,68): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(411,35): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(411,68): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(424,35): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(424,68): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(513,16): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(514,18): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(517,35): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(528,42): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
(568,44): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-columns'
(584,39): run-time error CSS1039: Token not allowed after unary operator: '-of-header-height'
(584,72): run-time error CSS1039: Token not allowed after unary operator: '-of-layout-margin'
 */
/* Shared layout foundation. */
/* Defines global spacing, shell layout, error page and the reusable Ayvens/Velocity responsive grid. */

/* Extra-small: 0 - 479px | 4 columns | 16px margin | 16px gutter. */

:root {
    --of-header-height: 64px;
    --of-layout-margin: 16px;
    --of-layout-gap: 16px;
    --of-layout-columns: 4;
    --of-page-max-width: none;
}


/* Small: 480 - 739px | 6 columns | 24px margin | 16px gutter. */

@media (min-width: 480px) {
    :root {
        --of-layout-margin: 24px;
        --of-layout-gap: 16px;
        --of-layout-columns: 6;
        --of-page-max-width: none;
    }
}


/* Medium: 740 - 959px | 6 columns | 32px margin | 24px gutter. */

@media (min-width: 740px) {
    :root {
        --of-layout-margin: 32px;
        --of-layout-gap: 24px;
        --of-layout-columns: 6;
        --of-page-max-width: none;
    }
}


/* Large: 960 - 1279px | 12 columns | 32px margin | 24px gutter. */

@media (min-width: 960px) {
    :root {
        --of-layout-margin: 32px;
        --of-layout-gap: 24px;
        --of-layout-columns: 12;
        --of-page-max-width: none;
    }
}


/* Extra-large: 1280 - 1599px | 12 columns | 48px margin | 24px gutter. */

@media (min-width: 1280px) {
    :root {
        --of-layout-margin: 48px;
        --of-layout-gap: 24px;
        --of-layout-columns: 12;
        --of-page-max-width: none;
    }
}


/* Extra-extra-large: 1600px and above | 12 columns | 64px margin | 24px gutter. */

@media (min-width: 1600px) {
    :root {
        --of-layout-margin: 64px;
        --of-layout-gap: 24px;
        --of-layout-columns: 12;
        --of-page-max-width: none;
    }
}


/* Base: shared defaults for all current layouts. */

html,
body {
    min-height: 100%;
    margin: 0;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #16212f;
}


/* Header: visible in the default WEB layout only. */

.of-header {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--of-header-height);
    padding: 0 var(--of-layout-margin);
    background: #ffffff;
    border-bottom: 1px solid #dce3ea;
}
.of-header__brand {
    font-size: 24px;
    font-weight: 700;
}
.of-header__title {
    font-size: 18px;
    font-weight: 700;
}


/* Main: base content spacing for WEB and APP-DRIVER shells. */

.of-main {
    width: 100%;
    max-width: var(--of-page-max-width);
    margin: 0 auto;
    padding: var(--of-layout-margin);
}
.of-main--app-driver {
    max-width: none;
}


/* Page grid: reusable responsive column layout. */
/* Feature pages should use this class instead of creating isolated grid systems. */

.of-page-grid {
    display: grid;
    grid-template-columns: repeat(var(--of-layout-columns), minmax(0, 1fr));
    gap: var(--of-layout-gap);
    width: 100%;
}


/* Error page: controlled fallback for unexpected errors and critical integration failures. */

.of-error {
    max-width: 720px;
    margin: 0 auto;
}
.of-error-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dce3ea;
    border-radius: 16px;
    text-align: center;
}
.of-error-code {
    margin-bottom: 16px;
    font-size: 48px;
    font-weight: 700;
}
.of-error-card h1 {
    margin: 0 0 12px;
    font-size: 28px;
}
.of-error-card p {
    margin: 0 0 24px;
}
.of-error-link {
    display: inline-block;
    font-weight: 700;
    color: inherit;
}


/* Responsive: Extra-small error spacing. */

@media (max-width: 479px) {
    .of-error-card {
        padding: 24px;
    }
    .of-error-code {
        font-size: 40px;
    }
    .of-error-card h1 {
        font-size: 24px;
    }
}
/* Home responsive wireframe. */
/* Uses the shared Ayvens/Velocity grid logic to validate Search and Results behavior. */
/* Results contain the map and partner result areas. */
/* This is not final UI styling yet. */
/* IMPORTANT: this CSS matches the current Home partial classes. Do not rename classes here without changing the partials. */

.of-home {
    display: grid;
    grid-template-columns: repeat(var(--of-layout-columns, 4), minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: var(--of-layout-gap, 16px);
    align-items: stretch;
    width: 100%;
    min-height: calc(100vh - var(--of-header-height, 64px) - (var(--of-layout-margin, 16px) * 2));
}


/* Home grid placement: default Extra-small and Small structure. */
/* Until 739px, the Home starts with only the Search step visible. */

.of-home__search {
    grid-column: 1 / -1;
}
.of-home__results {
    grid-column: 1 / -1;
}


/* Search panel: grey area. */
/* Small screens show only this first step. Medium and above keep it visible on the left. */

.of-home__search {
    display: grid;
    align-content: start;
    gap: 16px;
    min-height: calc(100vh - var(--of-header-height, 64px) - (var(--of-layout-margin, 16px) * 2));
    padding: 18px;
    overflow: auto;
    background: #e9e9e9;
    border: 1px solid #bcc5cf;
    border-radius: 12px;
    box-sizing: border-box;
}


/* Search flow placeholders. */
/* The active step is controlled by data-current-step on #of-home-ctn. */

.of-search-flow {
    display: grid;
    gap: 14px;
}
.of-search-step {
    display: none;
    gap: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #cdd4db;
    border-radius: 10px;
    box-sizing: border-box;
    animation: of-search-step-enter 160ms ease-out both;
}
#of-home-ctn[data-current-step="plate"] #of-search-plate-step {
    display: grid;
}
#of-home-ctn[data-current-step="service"] #of-search-service-step {
    display: grid;
}
#of-home-ctn[data-current-step="brand"] #of-search-brand-step {
    display: grid;
}
#of-home-ctn[data-current-step="location"] #of-search-location-step {
    display: grid;
}
.of-search-section__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #364152;
}
.of-search-field {
    display: grid;
    gap: 6px;
}
.of-search-field__label {
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}
.of-search-field__value {
    font-size: 15px;
    color: #16212f;
    overflow-wrap: anywhere;
}
.of-search-field__message {
    display: none;
    font-size: 12px;
    color: #6b7280;
}
.of-search-field--invalid .of-search-field__message {
    display: block;
    color: #8a1f11;
}
.of-search-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    color: #16212f;
    background: #ffffff;
    border: 1px solid #b8c3cf;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(22, 33, 47, 0.06);
}
.of-search-input::placeholder {
    font-weight: 400;
    color: #8a96a3;
}
.of-search-input:focus {
    border-color: #00505c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 80, 92, 0.14);
}
.of-search-field--invalid .of-search-input {
    border-color: #8a1f11;
    box-shadow: 0 0 0 3px rgba(138, 31, 17, 0.12);
}
.of-search-vehicle-summary {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid #d7dde4;
    border-radius: 8px;
}
.of-search-actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}
.of-search-action {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
}
.of-search-action--primary {
    color: #ffffff;
    background: #00505c;
    border: 1px solid #00505c;
}
.of-search-action--secondary {
    color: #00505c;
    background: #ffffff;
    border: 1px solid #00505c;
}
.of-search-services {
    display: grid;
    gap: 14px;
}
.of-search-service-group {
    display: grid;
    gap: 8px;
}
.of-search-service-group__title {
    font-size: 14px;
    font-weight: 700;
    color: #00505c;
}
.of-search-service-group__items {
    display: grid;
    gap: 8px;
}
.of-search-service {
    display: grid;
    gap: 4px;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    text-align: left;
    background: #ffffff;
    border: 1px solid #cdd4db;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
}
.of-search-service:hover {
    border-color: #8aa0b5;
}
.of-search-service--selected {
    border-color: #00505c;
    box-shadow: 0 0 0 2px rgba(0, 80, 92, 0.12);
}
.of-search-service--disabled {
    color: #6b7280;
    background: #f1f3f5;
    border-color: #d6dbe1;
    cursor: not-allowed;
    opacity: 0.72;
}
.of-search-service__name {
    font-size: 15px;
    font-weight: 700;
    color: inherit;
}
.of-search-service__disabled-reason {
    font-size: 12px;
    color: #6b7280;
}


/* Results panel: map plus partner results area. */
/* Partners stay docked inside the map until XL because Large tablet landscape needs more map space. */

.of-home__results {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-width: 0;
    min-height: calc(100vh - var(--of-header-height, 64px) - (var(--of-layout-margin, 16px) * 2));
    opacity: 1;
    transform: translateY(0);
    transition: opacity 160ms ease-out, transform 160ms ease-out;
}


/* Results map panel: green area. */

.of-home__results-map {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 16px;
    min-height: calc(100vh - var(--of-header-height, 64px) - (var(--of-layout-margin, 16px) * 2));
    padding: 18px;
    background: #cfe5bf;
    border: 1px solid #aebfa0;
    border-radius: 12px;
    box-sizing: border-box;
}


/* Results partners panel: yellow area. */

.of-home__results-partners {
    background: #f5e39b;
    border: 1px solid #d1bc6d;
    border-radius: 12px;
    box-sizing: border-box;
}


/* Results state messages. */

.of-results-message {
    display: none;
}
#of-home-ctn[data-results-state="initial"] .of-results-message--initial {
    display: inline;
}
#of-home-ctn[data-results-state="ready"] .of-results-message--ready {
    display: inline;
}
#of-home-ctn[data-results-state="empty"] .of-results-message--empty {
    display: inline;
}


/* Generic wireframe labels and helper text. */

.of-wireframe-title {
    max-width: 100%;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}
.of-wireframe-footer {
    max-width: 100%;
    font-size: 15px;
    color: #364152;
    overflow-wrap: anywhere;
}


/* Search placeholders: legacy visual guides kept while the real dynamic search sections are introduced. */

.of-wireframe-lines {
    display: grid;
    align-content: start;
    gap: 14px;
}
.of-wireframe-line {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 86px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid #cdd4db;
    border-radius: 8px;
    box-sizing: border-box;
}
.of-wireframe-line__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #364152;
}
.of-wireframe-line__value {
    font-size: 16px;
    color: #16212f;
    overflow-wrap: anywhere;
}


/* Debug details: fixed development helper that does not affect the responsive layout height. */
/* Collapsed state stays compact so it does not cover map/results content. */

.of-debug-details {
    position: fixed;
    left: var(--of-layout-margin, 16px);
    bottom: var(--of-layout-margin, 16px);
    z-index: 20;
    width: auto;
    max-width: calc(100vw - (var(--of-layout-margin, 16px) * 2));
    max-height: 70vh;
    padding: 12px 16px;
    overflow: auto;
    background: #ffffff;
    border: 1px solid #dce3ea;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(22, 33, 47, 0.18);
    box-sizing: border-box;
}
.of-debug-details[open] {
    width: min(420px, calc(100vw - (var(--of-layout-margin, 16px) * 2)));
}
.of-debug-details summary {
    cursor: pointer;
    font-weight: 700;
}
.of-debug-details dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px 20px;
    margin: 16px 0 0;
}
.of-debug-details dt {
    font-weight: 700;
}
.of-debug-details dd {
    margin: 0;
}


/* Motion helpers. */

@keyframes of-search-step-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Extra-small and Small: 0 - 739dp. */
/* Only the Search block is visible at the beginning of the flow. */
/* Results are shown after the user confirms the location search. */

@media (max-width: 739px) {
    .of-home {
        grid-template-columns: repeat(var(--of-layout-columns, 4), minmax(0, 1fr));
    }
    #of-home-ctn[data-results-state="initial"] .of-home__results {
        display: none;
    }
    #of-home-ctn[data-results-state="ready"] .of-home__search,
    #of-home-ctn[data-results-state="empty"] .of-home__search {
        display: none;
    }
    #of-home-ctn[data-results-state="ready"] .of-home__results,
    #of-home-ctn[data-results-state="empty"] .of-home__results {
        display: grid;
        grid-column: 1 / -1;
    }
    .of-home__search {
        grid-column: 1 / -1;
        min-height: calc(100vh - var(--of-header-height, 64px) - (var(--of-layout-margin, 16px) * 2));
    }
    .of-home__results-map {
        min-height: 56vh;
        padding-bottom: 140px;
    }
    .of-home__results-partners {
        position: absolute;
        right: 14px;
        bottom: 14px;
        left: 14px;
        display: grid;
        gap: 8px;
        min-height: 104px;
        padding: 14px;
    }
    .of-wireframe-title {
        font-size: 28px;
    }
    .of-debug-details {
        left: 16px;
        bottom: 16px;
        max-width: calc(100vw - 32px);
    }
    .of-debug-details[open] {
        width: calc(100vw - 32px);
    }
    .of-debug-details dl {
        grid-template-columns: 1fr;
        gap: 4px 0;
    }
    .of-debug-details dt {
        margin-top: 12px;
    }
}


/* Medium: 740 - 959dp. */
/* 6-column grid. Search uses 2 columns and Results uses 4 columns to preserve map space. */
/* This range represents tablet portrait, so map readability has priority over search width. */

@media (min-width: 740px) and (max-width: 959px) {
    .of-home {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .of-home__search {
        grid-column: 1 / span 2;
        padding: 14px;
        gap: 12px;
    }
    .of-home__results {
        grid-column: 3 / span 4;
        grid-template-columns: 1fr;
    }
    .of-home__results-map {
        padding-bottom: 150px;
    }
    .of-search-step {
        padding: 12px;
    }
    .of-search-section__title {
        font-size: 11px;
        letter-spacing: 0.02em;
        overflow-wrap: anywhere;
    }
    .of-search-field__value,
    .of-search-service__name,
    .of-search-action,
    .of-search-input {
        font-size: 14px;
    }
    .of-home__results-partners {
        position: absolute;
        right: 18px;
        bottom: 18px;
        left: 18px;
        display: grid;
        gap: 8px;
        min-height: 110px;
        padding: 14px;
    }
    .of-home__results-partners .of-wireframe-title {
        font-size: clamp(18px, 3vw, 22px);
    }
    .of-home__results-partners .of-wireframe-footer {
        font-size: 13px;
    }
}


/* Large: 960 - 1279dp. */
/* 12-column grid, but Home still behaves like tablet landscape to preserve map space. */
/* Search uses 3 columns and Results uses 9 columns with Partners docked inside the map. */

@media (min-width: 960px) and (max-width: 1279px) {
    .of-home {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .of-home__search {
        grid-column: 1 / span 3;
    }
    .of-home__results {
        grid-column: 4 / span 9;
        grid-template-columns: 1fr;
    }
    .of-home__results-map {
        padding-bottom: 150px;
    }
    .of-home__results-partners {
        position: absolute;
        right: 18px;
        bottom: 18px;
        left: 18px;
        display: grid;
        gap: 8px;
        min-height: 110px;
        padding: 14px;
    }
    .of-home__results-partners .of-wireframe-title {
        font-size: clamp(18px, 2vw, 24px);
    }
    .of-home__results-partners .of-wireframe-footer {
        font-size: 14px;
    }
}


/* Extra-large and above: 1280dp+. */
/* 12-column grid with desktop behavior. */
/* Search uses 3 columns and Results uses 9 columns. */
/* Partners become a vertical right-side column with normal page margin. */

@media (min-width: 1280px) {
    .of-home {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .of-home__search {
        grid-column: 1 / span 3;
        min-height: 620px;
    }
    .of-home__results {
        grid-column: 4 / span 9;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        min-height: 620px;
    }
    .of-home__results-map {
        min-height: 620px;
        padding-bottom: 18px;
    }
    .of-home__results-partners {
        display: grid;
        align-content: start;
        gap: 16px;
        min-width: 280px;
        min-height: 620px;
        padding: 18px;
        border-radius: 12px;
    }
}
/* Partner theme: Ayvens-specific visual overrides. */

/* This file is loaded after site.css so Ayvens rules can override shared styles. */
/* Keep shared layout and component structure in site.css; add only partner branding here. */
