/* ============================================================
   V3 /book — service panels (R9)

   ONE set of panels, TWO wrappers, switched at the EXISTING 767.98px
   breakpoint. No second breakpoint is introduced anywhere in this file.

     • Desktop (default rules below): each `.v3-panel-sheet` is an in-flow
       collapsible region sitting under its header — V2's expand/collapse
       card (public/css/v2/home.css:1270-1300, :1616-1650).
     • Mobile (@media max-width:767.98px at the foot of this file): the very
       same `.v3-panel-sheet` element becomes a bottom sheet over a backdrop.

   Panel contents are authored once in resources/views/book/partials/panel-*.blade.php.
   ============================================================ */

.v3-panels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

/* ---------- the section shell — V2's card ---------- */
.v3-panel {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-width: 0;
}

.v3-panel.v2-field-invalid {
    border-color: #dc3545;
}

/* ---------- header ---------- */
.v3-panel-head {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 0;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.v3-panel-head:hover {
    background: #f8f9fb;
}

.v3-panel-head .v2-vs-title {
    flex: 0 0 auto;
    white-space: nowrap;
}

.v3-panel-head-summary {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    color: #6b7684;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-panel-chevron,
.v3-panel-chevron-sheet {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 11px;
    color: #888;
}

/* No adjacent-sibling reset here: `x-show` leaves the summary in the DOM, so a
   `margin-left: 0` on the chevron still matched once the summary was hidden and
   parked the icon beside the title. The summary's own `flex: 1 1 auto` already
   eats the free space when it is visible, so `margin-left: auto` is 0 then and
   pushes the chevron flush right when it is not — V2's corner chevron
   (public/css/v2/home.css:1278-1285, justify-content: space-between). */

/* Desktop uses the up/down chevron; the right-chevron is the sheet affordance. */
.v3-panel-chevron-sheet {
    display: none;
}

/* ---------- closed-panel read-back ----------
   Only the pallet read-back needs a separator. The chosen-truck preview is
   V2's own card and carries a complete 2px blue border on all four sides
   (public/css/v2/home.css:1296-1308); a `.v3-panel-preview` border-top here
   outranked it and repainted the card's top edge 1px #f0f0f0. */
.v3-pallet-preview {
    border-top: 1px solid #f0f0f0;
}

/* ---------- the switching element ---------- */
.v3-panel-sheet {
    border-top: 1px solid #f0f0f0;
}

/* Expand/collapse — V2 puts a bare `x-transition` on the truck list
   (resources/views/v2/partials/booking-form.blade.php:490), i.e. Alpine's
   defaults: opacity + scale(.95), 150ms ease-out in, 75ms ease-in out.
   Neutralised in the mobile block so the bottom sheet keeps its own behaviour. */
.v3-panel-reveal-enter {
    transition: opacity 150ms ease-out, transform 150ms ease-out;
}

.v3-panel-reveal-leave {
    transition: opacity 75ms ease-in, transform 75ms ease-in;
}

.v3-panel-reveal-hidden {
    opacity: 0;
    transform: scale(0.95);
}

.v3-panel-reveal-shown {
    opacity: 1;
    transform: scale(1);
}

.v3-panel-sheet-head {
    display: none; /* desktop: the section header is the title */
}

.v3-panel-body {
    padding: 8px 10px;
}

.v3-panel-body--flush {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.v3-panel-body .v2-vs-list {
    max-height: 320px;
    overflow-y: auto;
}

.v3-note-panel-body textarea {
    resize: vertical;
}

/* Backdrop only exists in the sheet wrapper, so desktop hides it at every
   panel state. No `!important` here: x-show drives this element, and Alpine
   only ever writes an inline `display: none` (it REMOVES the inline property
   when the panel opens, it never writes `display: block`). A normal
   declaration therefore wins whenever the panel is closed-or-open on desktop,
   and loses to the inline `none` on mobile — which is exactly what x-show
   needs. Marking it `!important` is what forced the mobile override to be
   `!important` too, and that pinned all three backdrops permanently open. */
.v3-panel-backdrop {
    display: none;
}

/* ---------- add-on rows: name on line 1, parameter + cost on line 2 ---------- */

.v2-addl-option.v3-addl-option {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.v3-addl-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-addl-option .v2-addl-checked-group.v3-addl-params {
    margin-left: 24px;
    gap: 8px;
    flex-wrap: nowrap;
}

.v3-addl-params .v2-addl-cost-display {
    margin-left: auto;
    width: auto;
}

.v3-addl-input {
    width: 96px !important;
    -moz-appearance: number-input;
}

.v3-addl-input::-webkit-outer-spin-button,
.v3-addl-input::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
}

.v3-addl-option .v2-insurance-fields {
    align-items: stretch;
    margin-left: 0;
    min-width: 0;
}

/* ---------- cargo insurance proof (item 4.1) ----------
   One icon on the Cargo Value row, shown only above the server's threshold. */

.v3-proof-slot {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
}

.v3-proof-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 7px;
    border: 1px dashed #b8bfc7;
    background: #ffffff;
    color: #5f6368;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.v3-proof-icon:hover {
    border-color: #9aa0a6;
}

.v3-proof-icon.is-wanted {
    border-color: #f4c531;
    background: #fff8e5;
    color: #a8760a;
}

.v3-proof-icon.is-attached {
    border-color: #1e8e3e;
    background: #eaf6ec;
    color: #1e8e3e;
}

.v3-proof-icon--busy {
    cursor: default;
}

.v3-proof-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #9aa0a6;
    font-size: 11px;
    cursor: pointer;
}

.v3-proof-clear:hover {
    color: #b42318;
}

.v2-additional-services .v3-proof-hint {
    margin: 4px 0 0;
    font-size: 11px;
    color: #5f6368;
    text-align: right;
}

.v2-additional-services .v2-proof-error {
    margin: 4px 0 0;
    flex-basis: 100%;
}

/* ============================================================
   Pallet editor (LTL) — collapsed cards and the closed-panel read-back.

   Ported from V2's collapsible pallet cards (public/css/v2/home.css:3784-3938):
   the 6px/10px collapsed padding, the 11px grey dimension line, and the
   fit-content(45%) 1fr fit-content(45%) mini timeline with its 8px #1a73e8 /
   #EA4335 dots, dashed repeating-gradient connector and 6px CSS arrowhead.
   ============================================================ */

.v3-panel-body--pallets .v3-modal-hint {
    margin-top: 0;
}

.v3-panel-body--pallets .v2-pallet-card {
    margin: 0 0 8px;
}

.v2-pallet-card.is-collapsed {
    padding: 6px 10px;
}

.v3-pallet-collapsed {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v3-pallet-collapsed-body {
    flex: 1 1 auto;
    min-width: 0;
}

.v3-pallet-collapsed-main {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.v3-pallet-collapsed-row1 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    min-height: 24px;
}

.v3-pallet-collapsed-row1 .fa-box {
    font-size: 11px;
    color: #9aa0a6;
}

.v3-pallet-collapsed-title {
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.v3-pallet-collapsed-dims {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 11px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-pallet-collapsed-chevron {
    flex: 0 0 auto;
    font-size: 10px;
    color: #b0b4b8;
}

.v3-pallet-collapsed-remove,
.v3-pallet-collapse-btn,
.v3-pallet-collapsed-edit {
    flex: 0 0 auto;
    padding: 4px;
    border: 0;
    border-radius: 4px;
    background: none;
    color: #b0b4b8;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.v3-pallet-collapsed-remove {
    font-size: 16px;
}

.v3-pallet-collapse-btn,
.v3-pallet-collapsed-edit {
    font-size: 12px;
}

.v3-pallet-collapsed-edit {
    display: flex;
    align-items: center;
    gap: 3px;
}

.v3-pallet-collapsed-remove:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
}

.v3-pallet-collapse-btn:hover,
.v3-pallet-collapsed-edit:hover {
    color: var(--blue-color, #1a73e8);
    background: rgba(26, 115, 232, 0.08);
}

/* The pencil and remove are siblings of the highlight body now, not its
   children (Task 1: whole collapsed row highlights, decoy button removed). */
.v3-pallet-collapsed-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
}

/* Active-pallet highlight — V2 parity (home.css:3791-3795) */
.v2-pallet-card.is-active {
    border-color: var(--blue-color, #1a73e8);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.18), 0 2px 8px rgba(26, 115, 232, 0.10);
    background: #f5f8ff;
}

.v3-pallet-mini-timeline {
    display: grid;
    grid-template-columns: fit-content(45%) 1fr fit-content(45%);
    align-items: center;
    column-gap: 0;
    width: 100%;
    min-width: 0;
    margin-top: 5px;
}

.v3-pmt-col {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.v3-pmt-origin {
    padding-right: 6px;
}

.v3-pmt-dest {
    gap: 4px;
    justify-content: flex-start;
}

.v3-pallet-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.v3-pallet-mini-dot.pickup {
    background: #fff;
    border: 2px solid #1a73e8;
}

.v3-pallet-mini-dot.dropoff {
    background: #ea4335;
}

.v3-pmt-name {
    min-width: 0;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-pmt-connector {
    width: 100%;
}

.v3-pmt-line {
    display: block;
    flex: 1 1 auto;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #aaa 0,
        #aaa 4px,
        transparent 4px,
        transparent 7px
    );
}

.v3-pmt-arrow {
    display: block;
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-right: 2px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #aaa;
}

.v3-pallet-preview {
    padding: 8px 14px;
    cursor: pointer;
}

.v3-pallet-preview-item + .v3-pallet-preview-item {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #eef0f2;
}

/* V2 parity for the add-pallet buttons. V2 renders ONE full-width dashed
   button — `width: calc(100% - 20px)` (home.css:3570-3586) — measured 416.8 ×
   31.5 at 1440, label "Add Pallet (1/4)" on a single line at 13px with the
   counter in an 11.4px <small>. V3's two-up row gives each button 184.4px, so
   only ~141px of label width: "Add Standard Pallet (2/4)" needs ~158px and
   wrapped to two lines while "Add Custom Pallet" stayed on one, reading as
   uneven. Stacking restores V2's full-width geometry and single line without
   touching the type scale, the wording or the counter. The phone keeps the
   two-up row, where both labels wrap to two balanced lines. */
@media (min-width: 768px) {
    .v3-panel-body--pallets .v3-pallet-actions {
        flex-direction: column;
    }
}

/* Touch has no hover, so V2's hover-revealed remove control would be invisible. */
@media (hover: none) {
    .v3-panel-body--pallets .v2-pallet-remove {
        opacity: 1;
    }
}

/* ============================================================
   Mobile — same elements, sheet presentation.
   ============================================================ */
@media (max-width: 767.98px) {

    .v3-panel {
        overflow: visible;
    }

    .v3-panel-chevron {
        display: none;
    }

    .v3-panel-chevron-sheet {
        display: inline-block;
    }

    /* Visible only while the sheet is open. `x-show` supplies the inline
       `display: none` that beats this declaration when the panel is closed;
       when it opens, Alpine removes that inline property and this rule shows
       the scrim. Never add `!important` — it would outrank the inline style
       and leave a fixed, full-viewport, pointer-eating scrim over the whole
       form at all times. */
    .v3-panel-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1054;
        background: rgba(0, 0, 0, 0.45);
    }

    .v3-panel-sheet {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1055;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 0;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
    }

    .v3-panel-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        flex: 0 0 auto;
        padding: 12px 14px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 14px;
        font-weight: 700;
        color: #1f2937;
    }

    /* The head is the sheet's trigger — three of them, the most-tapped
       controls on the page. 10px padding + an 11px uppercase title lands at
       ~40px; hold the same padding rhythm and grow the box to 44px. */
    .v3-panel-head {
        min-height: 44px;
    }

    .v3-panel-sheet {
        overscroll-behavior: contain;
    }

    /* The sheet is `position: fixed`; a scale() would give it a new containing
       block. V2's inline collapse animation does not belong here. */
    .v3-panel-reveal-enter,
    .v3-panel-reveal-leave {
        transition: none;
    }

    .v3-panel-reveal-hidden,
    .v3-panel-reveal-shown {
        opacity: 1;
        transform: none;
    }

    .v3-panel-body {
        flex: 1 1 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 8px 10px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .v3-panel-body--flush {
        padding: 0 0 env(safe-area-inset-bottom, 0px);
    }

    /* The list scrolls with the sheet, not inside a nested scroller. */
    .v3-panel-body .v2-vs-list {
        max-height: none;
        overflow-y: visible;
    }

    /* ---------- truck cards: undo V2's compaction inside the sheet ----------
       V2's mobile block (public/css/v2/home.css:5145-5164) shrinks the truck
       card because on /home it lives in a ~192px form panel. Inside this sheet
       (85vh) there is no cramping, so restore V2's own BASE proportions
       (home.css:1385, :1410, :1419, :1428-1431). Scoped to `.v3-panel-body`,
       so the in-flow collapsed preview and every V2 page are untouched. */
    body.v3-book-page .v3-panel-body .v2-vs-card {
        padding: 10px 12px;
    }

    body.v3-book-page .v3-panel-body .v2-vs-card-img {
        width: 45%;
    }

    body.v3-book-page .v3-panel-body .v2-vs-card-img img {
        max-height: 80px;
    }

    body.v3-book-page .v3-panel-body .v2-vs-card-name {
        font-size: 12px;
        line-height: 1.3;
        white-space: normal;
    }

    /* Same 44px rule the panel heads follow: a collapsed pallet is a tap target.
       Kept on both the wrapper and the actual tap target (.v3-pallet-collapsed-main)
       so the floor guards the interactive element, not just its wrapper. */
    .v3-pallet-collapsed-body {
        min-height: 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .v3-pallet-collapsed-main {
        min-height: 44px;
    }

    .v3-pallet-collapse-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }

    /* Pencil and remove now sit side by side in the collapsed row (Task 1).
       Growing their visible boxes to 44px would collide, so each gets the
       ::after hit-area already used elsewhere in book.css (e.g. the swap
       button, the LTL mode selector), reaching away from its sibling so the
       two invisible hit areas never overlap. */
    .v3-pallet-collapsed-edit,
    .v3-pallet-collapsed-remove {
        position: relative;
    }

    .v3-pallet-collapsed-edit::after,
    .v3-pallet-collapsed-remove::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 44px;
        height: 44px;
        transform: translateY(-50%);
    }

    .v3-pallet-collapsed-edit::after {
        right: 1px;
        left: -22px;
    }

    .v3-pallet-collapsed-remove::after {
        left: 1px;
        right: -22px;
    }

    .v3-panel-body--pallets .v2-pallet-remove,
    .v3-panel-body--pallets .v2-pallet-add-btn {
        min-height: 44px;
    }

    /* Bottom-of-sheet close: the negative bottom margin absorbs the scroller's
       own bottom padding so the bar ends flush with the sheet. */
    .v3-pallet-done {
        position: sticky;
        bottom: 0;
        z-index: 2;
        margin: 10px -10px calc(-12px - env(safe-area-inset-bottom, 0px));
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
        background: #ffffff;
        border-top: 1px solid #eef0f2;
    }

    .v3-pallet-done-btn {
        min-height: 46px;
        font-weight: 600;
    }

    /* One inline label per dashed button: the text used to be an anonymous flex
       item, so it collapsed towards min-content and stranded the counter on the
       middle line. As a single item it wraps as a centred two-line block. */
    .v3-panel-body--pallets .v3-pallet-add-label {
        text-align: center;
        line-height: 1.25;
    }

    .v3-panel-body--pallets .v3-standard-pallet-link-text {
        line-height: 1.3;
    }

    /* The 10px label (book.css:599) is sized for the 30dvh form panel; four
       dimension columns inside the sheet can carry 11px (book.css:794-800). */
    body.v3-book-page.v2-home-page .v2-booking-shell .v3-panel-body--pallets .v2-dir-field-label {
        font-size: 11px;
    }
}

/* B2: the strip between the card's right edge and the map is
   `.booking-form-container`'s own 24px side padding (book.css) — symmetric
   with the identical padding on the left, showing `.form-content`'s existing
   ambient gradient background (book.css) through it. Confirmed by sampling
   actual rendered pixels: cream (~244,242,226) near the top fading to
   blue-grey (~231,235,242) lower, matching that gradient exactly — not a
   stray background. It only reads as an accidental seam here because the
   map sits flush against it on this one side. A hairline turns that seam
   into a deliberate boundary without recolouring the (correct, pre-existing)
   gradient underneath. */
@media (min-width: 768px) {
    body.v3-book-page.v2-home-page .v2-booking-shell .booking-form-container {
        border-right: 1px solid rgba(15, 23, 42, 0.08);
    }

    /* The container's own top padding was 0 (book.css:613), so the summary
       and success cards — siblings sharing this one scroll container — sat
       flush against the sticky header with no breathing room. Padding on
       the shared container (not a margin on either card) keeps both cards'
       boxes identical, and matches the existing 24px side padding rather
       than reintroducing the `mt-3` this page deliberately dropped. */
    body.v3-book-page.v2-home-page .v2-booking-shell .booking-form-container {
        padding-top: 20px;
    }
}

/* B4: the truck-type/shipment values are right-aligned flush against the
   card's own inner padding (measured 0.8px from the padding edge with
   "18 Footer | 2,500kg | Box Corrugated") — no breathing room and no
   allowance to wrap before it would touch the edge. */
body.v3-book-page .v2-order-summary .v2-summary-info-text {
    padding-right: 6px;
    overflow-wrap: break-word;
}

/* ── R9 NOTICE LAYER ──────────────────────────────────────────────────────
   `11-ui-rulings.md` R9: no toast, banner or notice may sit in the booking
   form's layout flow or change its height. The markup lives outside
   .booking-form-container (book/index.blade.php, just before the mode-switch
   modal) and this layer anchors it to the viewport, so showing or hiding a
   notice leaves the form container's measured height untouched.

   Coordinates match the toast stack's previous ones (book.css:1-6) so nothing
   moves visually: the layout's own flash toasts own top:80px, these sit under
   them. The layer itself is click-through; only the cards inside take pointer
   events, so the gap between them never swallows a tap on the form beneath. */

.v3-notice-layer {
    position: fixed;
    top: 152px;
    left: 20px;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: calc(100% - 40px);
    max-width: 520px;
    pointer-events: none;
}

.v3-notice-layer > * {
    pointer-events: auto;
}

/* The toast stack keeps its own markup and classes; inside the layer it is a
   plain flow child so the banner above it cannot be overlapped. */
body.v3-book-page .v3-notice-layer .v2-toast-container {
    position: static;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    z-index: auto;
}

/* The banner's own bottom margin was its spacing from the tabs it used to sit
   above; the layer's gap replaces it. */
.v3-notice-layer .v3-edit-banner {
    margin: 0;
    box-shadow: 0 10px 26px rgba(16, 42, 67, 0.16);
}

/* ── Desktop: the layer moves off the form column and onto the map ──
   768px is where this page actually becomes two-column: home.css:4506 and
   book.css:419 both stack the shell inside @media (max-width: 767.98px), so
   min-width:768px is the exact complement — no gap between the two blocks and
   no width where both apply.

   Above it the form column is a fixed 520px (.booking-form-container,
   home.css:604) starting at x0, and the map fills everything to its right.
   Anchoring at 540px clears the form by 20px, so a persistent banner overlays
   empty map instead of burying the schedule row for the whole edit session.
   `right` keeps it inside the map at narrow desktop widths; max-width stops it
   reaching Google's fullscreen control at the map's top-right, and the layer
   is top-anchored so the attribution strip along the map's bottom stays clear. */

@media (min-width: 768px) {
    .v3-notice-layer {
        left: 540px;
        right: 20px;
        width: auto;
    }

    /* V2's own toast coordinates (css/v2/app.css:823-833): the stack floats at
       the upper-left, in the band under the navbar, hovering over the top of
       the form rather than dodging it sideways. It is still pinned to the
       viewport (R9) — it overlays the form in the z-axis, so showing or hiding
       it never changes the form's height. Pulled out of the layer's flex flow
       so the edit banner's 520px cap does not reposition it. */
    body.v3-book-page .v3-notice-layer .v2-toast-container {
        position: fixed;
        top: 80px;
        left: 20px;
        right: auto;
        bottom: auto;
        width: calc(100% - 40px);
        max-width: 520px;
    }
}

@media (max-width: 767.98px) {
    /* Same offset the toasts already used at this width (book.css:506-519):
       navbar height plus a gap, so the layer floats over the map and clear of
       the sticky CTA at the bottom of the screen. */
    .v3-notice-layer {
        top: calc(65px + 12px);
        left: 10px;
        width: calc(100% - 20px);
        gap: 8px;
    }

    .v3-notice-layer .v3-edit-banner {
        gap: 8px;
        padding: 8px 10px;
        border-radius: 9px;
    }

    .v3-notice-layer .v3-edit-banner-title {
        font-size: 12.5px;
    }

    .v3-notice-layer .v3-edit-banner-text {
        font-size: 11px;
    }
}
