/* =============================================================================
   SeaPlus Owners - the phone app (vendors.seaplus.qa/m).
   ONE stylesheet for every app screen: tokens first, then components. A change here
   restyles the whole app. Served behind Cloudflare (7-day cache): bump ?v= in
   boat-owner/app/layout.blade.php whenever this file changes, or nothing ships.

   6 Oct 2026 - the WEBSITE's look (owner: "build it", from the mock-ups of 4 Oct): a deep
   navy ground; every section is a panel that rides up over the one before it (rounded top,
   40px lift, upward shadow) in its own colour; a seafoam eyebrow with a hairline, a calm
   headline, big thin figures; the website's dark-glass tab bar. Same components and class
   names as before, so every screen took the look from this file.

   Each panel colour sets its own text colours (--t-*), so a component reads right on the
   light and on the dark panels without a second rule. Every text colour is checked against
   its ground (>= 4.5:1; >= 3:1 only for the 26px+ display type).
   ============================================================================= */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/site/assets/montserrat-var.woff2) format('woff2'); }
@font-face { font-family: 'Bahij'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/Bahij_TheSansArabic-Plain.woff2) format("woff2"), url(/fonts/Bahij_TheSansArabic-Plain.ttf) format("truetype"); /* woff2: 60 KB instead of 306 KB (7 Oct 2026) */ }

.oa {
    --oa-deep:      #061826;   /* the ground everything sits on */
    --oa-navy:      #032945;
    --oa-faq:       #002448;   /* the website's FAQ navy */
    --oa-blue:      #0583B9;
    --oa-action:    #0571A0;   /* the brand blue for text on light (4.7:1 on --oa-light) */
    --oa-sea:       #8CF6F9;
    --oa-mist:      #EAF2F8;
    --oa-light:     #EAF6FC;   /* the website's light panel */
    --oa-surface:   #FFFFFF;
    --oa-ink:       #0B2236;
    --oa-ink-2:     #3F5568;   /* 7.2:1 on --oa-light */
    --oa-muted:     #53687A;   /* 5.3:1 on --oa-light */
    --oa-line:      rgba(11, 34, 54, .1);
    --oa-field:     #C3D0DB;
    --oa-press:     rgba(5, 113, 160, .07);
    --oa-beyond:    linear-gradient(160deg, #001E46 0%, #0754A0 100%);
    --oa-bluegrad:  linear-gradient(160deg, #005BAF 0%, #1067AB 100%);
    --oa-tide:      linear-gradient(110deg, #8CF6F9, #0583B9);

    --oa-ok:   #1C7A4C;  --oa-ok-bg:   #E7F5EE;
    --oa-wait: #8A5300;  --oa-wait-bg: #FFF3DD;
    --oa-up:   #0B5F86;  --oa-up-bg:   #E5F2F9;
    --oa-off:  #5E6973;  --oa-off-bg:  #EEF1F4;
    --oa-bad:  #A3261F;  --oa-bad-bg:  #FDECEA;

    --oa-lift:  40px;   /* how far a panel rides over the one before it */
    --oa-pr:    28px;   /* panel radius */
    --oa-r:     16px;
    --oa-r-sm:  12px;
    --oa-tab-h: 64px;
    --oa-gut:   22px;
    --oa-ease:  cubic-bezier(.22, 1, .36, 1);
    --oa-font:  'Montserrat', 'Bahij', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* z-index scale: cover < panels < top bar < tab bar < loading line < toast */
    --oa-z-panel: 1; --oa-z-bar: 20; --oa-z-tab: 30; --oa-z-load: 40; --oa-z-toast: 50;

    /* text on the dark ground (cover, page heads) */
    --t-ink: #FFFFFF; --t-ink2: rgba(234, 242, 248, .9); --t-line: rgba(174, 231, 255, .16);
    --t-accent: var(--oa-sea); --t-em: var(--oa-sea);

    color-scheme: dark;
    margin: 0;
    min-height: 100dvh;
    /* the website's inner-page head: a lit corner over the deep navy, behind the bar and the title */
    background: radial-gradient(130% 400px at 88% 0%, #0B4A73 0%, #032945 46%, transparent 100%) no-repeat, var(--oa-deep);
    color: var(--oa-mist);
    font-family: var(--oa-font);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}
.oa *, .oa *::before, .oa *::after { box-sizing: border-box; }
/* Base resets carry ZERO specificity (:where), so every component's own colour wins. */
:where(.oa) a { color: inherit; text-decoration: none; }
:where(.oa) button { font: inherit; color: inherit; }
.oa .num { font-variant-numeric: tabular-nums; }
/* "QAR" before an amount. The two always form one left-to-right run (Latin letters + digits), in
   Arabic too, so the gap is a physical right margin - margin-inline-end put it on the wrong side in RTL. */
.oa .cur { font-size: .62em; font-weight: 600; color: var(--t-accent); margin-right: .35em; letter-spacing: .12em; }
.oa :focus-visible { outline: 2px solid var(--t-accent); outline-offset: 2px; border-radius: 6px; }
.oa [hidden] { display: none !important; }
.oa .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Screen shell ─────────────────────────────────────────────────────────── */
.oa-main {
    padding: 0 0 calc(var(--oa-tab-h) + 28px + env(safe-area-inset-bottom));
    max-width: 640px;
    margin: 0 auto;
    animation: oa-in .22s var(--oa-ease) both;
}
@keyframes oa-in { from { opacity: 0; } to { opacity: 1; } }

/* Top bar: clear over the dark head, frosted deep navy once content scrolls under it; its small
   title shows once the large one has gone (.is-titled, set by the layout's observer). */
.oa-bar {
    position: sticky; top: 0; z-index: var(--oa-z-bar);
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    min-height: calc(48px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 8px 0;
    color: #fff; background: transparent;
    transition: background .2s var(--oa-ease), box-shadow .2s var(--oa-ease);
}
.oa-bar.is-stuck {
    background: rgba(6, 24, 38, .84);
    -webkit-backdrop-filter: saturate(1.5) blur(18px);
    backdrop-filter: saturate(1.5) blur(18px);
    box-shadow: 0 1px 0 rgba(174, 231, 255, .12);
}
.oa-bar-title {
    grid-column: 2; font-size: 16px; font-weight: 600; text-align: center;
    max-width: 60vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transform: translateY(4px); transition: opacity .18s var(--oa-ease), transform .18s var(--oa-ease);
}
.oa-bar.is-titled .oa-bar-title { opacity: 1; transform: none; }
.oa-bar-start { grid-column: 1; justify-self: start; }
.oa-bar-end   { grid-column: 3; justify-self: end; }
.oa-back {
    display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 8px;
    color: rgba(234, 242, 248, .94); font-size: 15px; font-weight: 500; background: none; border: 0; cursor: pointer;
}
.oa-back svg { width: 22px; height: 22px; }
.oa[dir="rtl"] .oa-back svg, .oa[dir="rtl"] .oa-chev { transform: scaleX(-1); }

/* Page head (every screen but Home): on the dark ground, the first panel rides up over its foot. */
.oa-head { position: relative; padding: 6px var(--oa-gut) calc(var(--oa-lift) + 30px); color: #fff; }
.oa-title { margin: 6px 0 0; font-size: 31px; line-height: 1.25; font-weight: 400; color: #fff; text-wrap: balance; }
.oa-sub { margin: 6px 0 0; color: var(--t-ink2); font-size: 14.5px; line-height: 1.6; }
/* A head with the boat's photo (one trip): it reaches up under the clear top bar. */
.oa-head.is-photo {
    margin-top: calc(-48px - env(safe-area-inset-top));
    min-height: calc(258px + env(safe-area-inset-top));
    padding-top: calc(56px + env(safe-area-inset-top));
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(180deg, rgba(3, 41, 69, .55) 0%, rgba(3, 41, 69, .15) 30%, rgba(3, 41, 69, .72) 62%, rgba(3, 41, 69, .97) 100%),
                var(--oa-cover, none) center 38% / cover no-repeat, var(--oa-navy);
}
.oa-head.is-photo .oa-title, .oa-head.is-photo .oa-sub { text-shadow: 0 1px 10px rgba(3, 41, 69, .45); }

/* ── The panel: the website's section. Light by default; a page alternates light / white; the
   money and the closing word take the deep colours. ─────────────────────────────────────── */
.oa-sec {
    position: relative; z-index: var(--oa-z-panel);
    margin-top: calc(-1 * var(--oa-lift));
    padding: 30px var(--oa-gut) calc(var(--oa-lift) + 30px);
    border-radius: var(--oa-pr) var(--oa-pr) 0 0;
    background: var(--oa-light);
    box-shadow: 0 -14px 34px rgba(1, 12, 20, .35);
    color: var(--t-ink);
    --t-ink: var(--oa-ink); --t-ink2: var(--oa-ink-2); --t-line: var(--oa-line);
    --t-accent: var(--oa-action); --t-em: var(--oa-blue);
    --t-ico-bg: #DCEBF5; --t-ico: #0B5F86;
    --t-bar: var(--oa-blue); --t-bar-on: var(--oa-navy); --t-band: rgba(5, 131, 185, .08);
    --t-quiet: rgba(5, 113, 160, .4);
}
.oa-sec:where(:nth-of-type(even)) { background: var(--oa-surface); }
.oa-sec.is-light { background: var(--oa-light); }
.oa-sec.is-white { background: var(--oa-surface); }
.oa-sec.is-deep  { background: var(--oa-beyond); }
.oa-sec.is-navy  { background: var(--oa-faq); }
.oa-sec.is-blue  { background: var(--oa-bluegrad); }
.oa-sec:is(.is-deep, .is-navy, .is-blue) {
    --t-ink: #FFFFFF; --t-ink2: rgba(234, 242, 248, .9); --t-line: rgba(174, 231, 255, .16);
    --t-accent: var(--oa-sea); --t-em: var(--oa-sea);
    --t-ico-bg: rgba(140, 246, 249, .12); --t-ico: var(--oa-sea);
    --t-bar: rgba(140, 246, 249, .38); --t-bar-on: var(--oa-sea); --t-band: rgba(140, 246, 249, .08);
    --t-quiet: rgba(174, 231, 255, .34);
}

/* Eyebrow: one short locator per panel, a hairline before it (Latin and Arabic alike: no tracking). */
.oa-eyebrow, .oa-sec-h h2, .oa-balance-l {
    display: flex; align-items: center; gap: 10px; margin: 0;
    font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--t-accent);
}
.oa-eyebrow::before, .oa-sec-h h2::before, .oa-balance-l::before {
    content: ""; flex: none; width: 26px; height: 1px; background: currentColor; opacity: .8;
}
.oa-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; }
.oa-sec-h a { color: var(--t-accent); font-size: 13.5px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
/* Headline: what the panel says, in plain words, with one phrase in the accent colour. */
.oa-h2 { margin: 10px 0 0; font-size: 26px; line-height: 1.3; font-weight: 400; color: var(--t-ink); text-wrap: balance; }
.oa-h2 em { font-style: normal; color: var(--t-em); }
.oa-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 4px;
    font-size: 14px; font-weight: 600; color: var(--t-ink); border-bottom: 1px solid var(--t-accent);
}
.oa-link svg { width: 15px; height: 15px; }
.oa-foot { margin: 14px 0 0; color: var(--t-ink2); font-size: 13px; line-height: 1.7; }

/* ── Lists: rows straight on the panel, hairlines between ─────────────────── */
.oa-list { background: none; border-radius: 0; overflow: visible; }
.oa-row {
    position: relative; display: flex; align-items: center; gap: 14px;
    min-height: 56px; padding: 15px 0; color: var(--t-ink);
    transition: opacity .12s;
}
a.oa-row:active, button.oa-row:active { opacity: .62; }
button.oa-row { width: 100%; border: 0; background: none; text-align: start; cursor: pointer; }
.oa-row + .oa-row::before, .oa-list > form:not(:first-child) > .oa-row::before {
    content: ""; position: absolute; top: 0; inset-inline: 0; height: 1px; background: var(--t-line);
}
.oa-row-main { flex: 1; min-width: 0; }
.oa-row-t { font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--t-ink); }
.oa-row-s { margin-top: 2px; color: var(--t-ink2); font-size: 13px; line-height: 1.5; }
.oa-nw { white-space: nowrap; }
.oa-ln { display: block; }
/* The bill the office attached to a boat expense: a mark on the list, the photo on its own page. */
.oa-bill { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--t-accent); text-decoration: none; }
.oa-bill-photo { display: block; overflow: hidden; border-radius: var(--oa-r); border: 1px solid var(--t-line); background: var(--oa-surface); }
.oa-bill-photo img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #fff; }
.oa-row-end { text-align: end; flex-shrink: 0; }
.oa-row-amt { font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 300; color: var(--t-ink); }
.oa-chev { width: 16px; height: 16px; color: var(--t-ink2); opacity: .55; flex-shrink: 0; }
.oa-ico {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
    display: grid; place-items: center; background: var(--t-ico-bg); color: var(--t-ico);
}
.oa-ico svg { width: 21px; height: 21px; }
.oa-ico.is-ok   { background: var(--oa-ok-bg);   color: var(--oa-ok); }
.oa-ico.is-wait { background: var(--oa-wait-bg); color: var(--oa-wait); }
.oa-ico.is-off  { background: var(--oa-off-bg);  color: var(--oa-off); }
.oa-ico.is-wa   { background: #E6F6EC; color: #157A3E; }
.oa-sec:is(.is-deep, .is-navy, .is-blue) .oa-ico { background: var(--t-ico-bg); color: var(--t-ico); }
.oa-row-badge {
    min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
    display: inline-grid; place-items: center; background: var(--oa-bad); color: #fff; font-size: 12px; font-weight: 700;
}

/* Trip date: the day big and thin, the month under it (the website's fleet-card voice) */
.oa-date { width: 56px; flex-shrink: 0; text-align: center; line-height: 1; }
.oa-date b { display: block; font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 200; color: var(--t-em); }
.oa-date span { display: block; margin-top: 5px; font-size: 12px; color: var(--t-ink2); }
.oa-date.is-past b { color: var(--t-ink2); }
.oa-date.is-cancel b { color: var(--t-ink2); text-decoration: line-through; text-decoration-thickness: 1px; }

/* Status pill */
.oa-pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap;
    background: var(--oa-off-bg); color: var(--oa-off);
}
.oa-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.oa-pill.is-active, .oa-pill.is-upcoming { background: var(--oa-up-bg); color: var(--oa-up); }
.oa-pill.is-pending, .oa-pill.is-requested { background: var(--oa-wait-bg); color: var(--oa-wait); }
/* "Sailed" (share not counted yet) is neutral, not a waiting colour: it must not hint at the guest's payment. */
.oa-pill.is-awaiting { background: var(--oa-off-bg); color: var(--oa-off); }
.oa-pill.is-settled, .oa-pill.is-completed, .oa-pill.is-approved, .oa-pill.is-paid { background: var(--oa-ok-bg); color: var(--oa-ok); }
.oa-pill.is-cancelled, .oa-pill.is-declined { background: var(--oa-bad-bg); color: var(--oa-bad); }
/* on the dark ground and the dark panels: a seafoam outline */
.oa-head .oa-pill, .oa-sec:is(.is-deep, .is-navy, .is-blue) .oa-pill { background: none; color: var(--oa-sea); box-shadow: inset 0 0 0 1px rgba(140, 246, 249, .5); }

/* ── Home: the boat (stays put), then the panels ride over it ─────────────── */
.oa-hero {
    position: sticky; top: 0; z-index: 0;
    min-height: calc(268px + env(safe-area-inset-top));
    padding: calc(14px + env(safe-area-inset-top)) var(--oa-gut) calc(var(--oa-lift) + 16px);
    display: flex; flex-direction: column; justify-content: space-between;
    color: #fff; background: var(--oa-navy); overflow: hidden; isolation: isolate;
}
.oa-hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.oa-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    /* Light at the top so the boat shows; navy behind the greeting and the boat's name - over a
       white hull the name could not be read (1 Oct 2026 screenshot). */
    background: linear-gradient(180deg, rgba(3, 41, 69, .5) 0%, rgba(3, 41, 69, .1) 26%, rgba(3, 41, 69, .62) 52%, rgba(3, 41, 69, .95) 100%);
}
.oa-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.oa-logo { height: 42px; width: auto; display: block; }
.oa-logo .l, .oa-logo .t { fill: #fff; }
.oa-logo .p { fill: var(--oa-sea); }
.oa-hero-bell {
    position: relative; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: rgba(6, 24, 38, .45); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: inset 0 0 0 1px rgba(174, 231, 255, .18);
}
.oa-hero-bell svg { width: 22px; height: 22px; }
.oa-hero-bell i {
    position: absolute; top: 9px; inset-inline-end: 10px; width: 9px; height: 9px; border-radius: 50%;
    background: #FF5A4F; box-shadow: 0 0 0 2px rgba(6, 24, 38, .6);
}
.oa-hero-hi { font-size: 15px; color: rgba(234, 242, 248, .92); }
.oa-hero-hi, .oa-hero-boat { text-shadow: 0 1px 10px rgba(3, 41, 69, .45); }
.oa-hero-boat { margin: 2px 0 0; font-size: 30px; line-height: 1.2; font-weight: 400; }
.oa-hero-next {
    display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 6px 12px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
    font-size: 13px; color: #fff;
}
.oa-hero-next svg { width: 15px; height: 15px; color: var(--oa-sea); }

/* What he is owed: the big thin figure (Home, Earnings). In Arabic "QAR" sits after the figure,
   in English before it - each reads its own way. */
.oa-owed-fig { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.oa[dir="ltr"] .oa-owed-fig { flex-direction: row-reverse; justify-content: flex-end; }
.oa-owed-fig b { font-family: 'Montserrat', sans-serif; font-weight: 200; font-size: max(34px, min(68px, 17vw, calc((100vw - 94px) / (var(--n, 5) * .56)))); line-height: 1; letter-spacing: -.02em; color: var(--t-ink); }
.oa-owed-fig span { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .18em; color: var(--t-accent); }
.oa-owed-n { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: var(--t-ink2); }
.oa-owed-since { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--t-line); font-size: 13.5px; color: var(--t-ink2); }
.oa-owed-since b { font-family: 'Montserrat', sans-serif; font-size: 19px; font-weight: 300; color: var(--t-ink); }

/* This month: three figures, thin and big, hairlines between (the website's stat row) */
.oa-kpis { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border-top: 1px solid var(--t-line); }
.oa-kpi { display: flex; flex-direction: column; min-width: 0; padding: 14px 0 0; }
.oa-kpi + .oa-kpi { border-inline-start: 1px solid var(--t-line); padding-inline-start: 14px; }
.oa-kpi-v { order: 1; font-family: 'Montserrat', sans-serif; font-size: clamp(22px, 7vw, 28px); font-weight: 200; line-height: 1.15; color: var(--t-ink); white-space: nowrap; }
.oa-kpi-v .cur { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--t-accent); }
.oa-kpi-l { order: 2; margin-top: 5px; font-size: 13px; line-height: 1.35; color: var(--t-ink2); }
.oa-kpi-n { order: 3; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: var(--t-ink2); }

/* Your share by month: thin columns; on the deep panel they are seafoam. Tap a month to read it. */
.oa-chart { margin-top: 16px; }
.oa-chart-read { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 30px; }
.oa-chart-read b { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 300; color: var(--t-ink); }
.oa-chart-read span { color: var(--t-ink2); font-size: 13px; text-align: end; }
.oa-plot { position: relative; height: 160px; margin-top: 16px; }
.oa-gridline { position: absolute; inset-inline: 0; border-top: 1px solid var(--t-line); }
.oa-gridline span { position: absolute; inset-inline-start: 0; bottom: 3px; color: var(--t-ink2); font-size: 10.5px; line-height: 1; }
.oa-cols { position: absolute; inset: 0; inset-inline-start: 36px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.oa-col {
    height: 100%; padding: 0; border: 0; border-radius: 8px 8px 0 0; background: transparent; cursor: pointer;
    display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px;
    transition: background .15s;
}
.oa-col i { display: block; width: min(26px, 62%); background: var(--t-bar); border-radius: 5px 5px 0 0; }
.oa-col.is-on i { background: var(--t-bar-on); }
.oa-col b { color: var(--t-accent); font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; white-space: nowrap; line-height: 1; }
.oa-col.is-on { background: var(--t-band); }
.oa-col:focus-visible { outline: 2px solid var(--t-accent); outline-offset: -2px; }
.oa-xlab { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 8px; margin-inline-start: 36px; }
.oa-xlab span { text-align: center; color: var(--t-ink2); font-size: 11.5px; line-height: 1.3; white-space: nowrap; }
.oa-xlab span.is-on { color: var(--t-ink); font-weight: 600; }
.oa-xlab small { display: block; font-size: 10.5px; color: var(--t-ink2); }
.oa-chart-foot { margin: 10px 0 0; color: var(--t-ink2); font-size: 11.5px; }

/* Transfers (Home, Earnings): the figure thin and big, the date beside it */
.oa-tr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--t-line); color: var(--t-ink); }
.oa-tr:first-of-type { margin-top: 10px; }
.oa-tr b { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 200; white-space: nowrap; }
.oa-tr b .cur { font-size: 11px; }
.oa-tr span { font-size: 13px; color: var(--t-ink2); text-align: end; }
.oa-tr.is-agreed { opacity: .78; }
a.oa-tr:active { opacity: .62; }

/* "Needs you" call-outs: a full tinted card on the panel, never a side stripe */
.oa-call {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    border-radius: var(--oa-r); background: var(--oa-wait-bg); color: #5A3A00;
}
.oa-call + .oa-call { margin-top: 10px; }
.oa-call .oa-ico { background: #FFE3AE; color: var(--oa-wait); }
.oa-call b { display: block; font-size: 15px; color: #3F2900; }
.oa-call.is-bad { background: var(--oa-bad-bg); color: #6E1A15; }
.oa-call.is-bad .oa-ico { background: #F8CFCB; color: var(--oa-bad); }
.oa-call.is-bad b { color: #5A140F; }
.oa-call span { font-size: 13px; }
/* Information, not a warning: the notifications and phone-notifications cards. */
.oa-call.is-up { background: var(--oa-up-bg); color: #0B4566; }
.oa-call.is-up .oa-ico { background: #CDE6F3; color: var(--oa-up); }
.oa-call.is-up b { color: #073853; }
.oa-push[hidden], .oa-push [hidden] { display: none !important; }
.oa-push-btn {
    flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px;
    background: var(--oa-action); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600;
}
.oa-push-btn:active { transform: scale(.97); }
.oa-push-x { flex: none; width: 32px; height: 40px; margin-inline-start: -6px; border: 0; background: none; color: inherit; font-size: 22px; line-height: 1; opacity: .55; }

/* The office's note while the portal is new: the closing panel, in the website's FAQ navy. */
.oa-note {
    position: relative; z-index: var(--oa-z-panel);
    margin-top: calc(-1 * var(--oa-lift));
    padding: 30px var(--oa-gut) calc(var(--oa-lift) + 30px);
    border-radius: var(--oa-pr) var(--oa-pr) 0 0;
    background: var(--oa-faq); color: rgba(234, 242, 248, .9);
    box-shadow: 0 -14px 34px rgba(1, 12, 20, .35);
    font-size: 14px; line-height: 1.8;
}
.oa-note b { color: #fff; }
.oa-note-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.oa-note-acts a {
    min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 14px; font-weight: 700; font-size: 15px;
    color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(174, 231, 255, .3);
}
.oa-note-acts a:first-child { background: var(--oa-tide); color: #04222F; box-shadow: none; }
.oa-note-acts svg { width: 18px; height: 18px; }

/* Office preview: read-only, said on every screen */
.oa-office {
    margin: 12px var(--oa-gut); padding: 10px 14px; border-radius: var(--oa-r-sm);
    background: #E5F2F9; color: #0B4566; font-size: 13px; line-height: 1.5;
}

/* ── Segmented control (in the page head): dark glass, seafoam for the chosen one ── */
.oa-seg {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
    margin: 18px 0 0; padding: 4px; border-radius: 14px;
    background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(174, 231, 255, .14);
}
.oa-seg a {
    min-height: 40px; display: grid; place-items: center; padding: 0 6px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--t-ink2); text-align: center;
    transition: background .18s var(--oa-ease), color .18s var(--oa-ease);
}
.oa-seg a[aria-current="page"] { background: var(--oa-sea); color: var(--oa-deep); font-weight: 700; }

/* ── Detail screens: key facts. Rows (label, value), or a two-column grid (.is-grid). ── */
.oa-kv { margin: 14px 0 0; border-top: 1px solid var(--t-line); }   /* a <dl> has a 1em browser margin */
.oa-kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--t-line); }
.oa-kv dt { color: var(--t-ink2); font-size: 14px; }
.oa-kv dd { margin: 0; font-size: 16px; font-weight: 500; text-align: end; color: var(--t-ink); }
.oa-kv dd.num { font-family: 'Montserrat', sans-serif; font-size: 21px; font-weight: 300; }
.oa-kv .is-big dd { font-weight: 500; color: var(--t-em); }
.oa-kv.is-grid { display: grid; grid-template-columns: 1fr 1fr; }
.oa-kv.is-grid > div { display: block; padding: 14px 0; }
.oa-kv.is-grid > div:nth-child(odd) { padding-inline-end: 12px; }
.oa-kv.is-grid > div:nth-child(even) { padding-inline-start: 14px; border-inline-start: 1px solid var(--t-line); }
.oa-kv.is-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; padding-inline-end: 0; }
.oa-kv.is-grid dt { font-size: 13px; }
.oa-kv.is-grid dd { margin-top: 3px; text-align: start; font-size: 17px; font-weight: 400; }
.oa-kv.is-grid dd.num { font-size: 22px; font-weight: 300; }

.oa-figure { padding: 0; }
.oa-figure-v { margin-top: 8px; font-family: 'Montserrat', sans-serif; font-size: clamp(42px, 13vw, 56px); line-height: 1.05; font-weight: 200; letter-spacing: -.02em; color: var(--t-ink); }
.oa-figure-v .cur { font-size: 14px; letter-spacing: .18em; vertical-align: .9em; }
.oa-figure-n { margin-top: 10px; color: var(--t-ink2); font-size: 14.5px; line-height: 1.65; }

/* Month by month (Earnings): each month a row with its figure, a slim bar under it scaled to the
   best month - the numbers stay readable, the bars give the shape. */
.oa-mbar { height: 4px; margin-top: 10px; border-radius: 999px; background: var(--t-line); overflow: hidden; }
.oa-mbar span { display: block; height: 100%; border-radius: inherit; background: var(--t-bar); }
.oa-mbar span.is-now { background: var(--t-bar-on); }

/* ── The contract (2 Oct 2026) ───────────────────────────────────────────── */
.oa-art-n {
    width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
    display: grid; place-items: center; background: var(--oa-navy); color: #fff; font-size: 13px; font-weight: 700;
}
.oa-art-n.is-plain { background: var(--oa-up-bg); color: var(--oa-up); }
.oa-count {
    min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; flex-shrink: 0;
    display: inline-grid; place-items: center; background: var(--oa-wait-bg); color: var(--oa-wait); font-size: 12px; font-weight: 700;
}
/* The lawyer's text as App\Support\ContractText marks it up - the same markup as the desktop reading
   page and the PDF, in the same Cairo: larger type, ragged edge (justified narrow columns open holes). */
.oa-ct { direction: rtl; text-align: right; font-family: 'Cairo', 'Bahij', sans-serif; color: var(--oa-ink); font-size: 16.5px; line-height: 1.95; }
.oa-ct .ct-p { margin: 0 0 .7em; text-wrap: pretty; }
.oa-ct .ct-s { display: block; }
.oa-ct .ct-s + .ct-s { margin-top: .3em; }
.oa-ct .ct-list { margin: .2em 0 .8em; padding: 0 1.4em 0 0; }
.oa-ct .ct-list li { margin: 0 0 .45em; }
.oa-ct .ct-list li::marker { color: var(--oa-blue); }
.oa-ct .ct-term, .oa-ct .ct-label { color: var(--oa-navy); font-weight: 700; }
.oa-ct .ct-party { margin: 0 0 14px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--oa-line); }
.oa-ct .ct-party-role { padding: 8px 14px; background: #EEF3F7; color: var(--oa-up); font-size: 14px; font-weight: 700; }
.oa-ct .ct-party-name { padding: 10px 14px 2px; color: var(--oa-navy); font-size: 17px; font-weight: 700; line-height: 1.6; }
.oa-ct .ct-party-line { padding: 0 14px; line-height: 1.85; }
.oa-ct .ct-party-line:last-child { padding-bottom: 12px; }
.oa-ct .ct-ltr { unicode-bidi: isolate; overflow-wrap: anywhere; }
.oa-ct .sig-panel { display: grid; gap: 12px; padding-bottom: 10px; }
.oa-ct .sig-cell { padding: 12px 14px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--oa-line); }
.oa-ct .sig-party { color: var(--oa-up); font-size: 13.5px; font-weight: 700; line-height: 1.5; }
.oa-ct .sig-name { margin-top: 4px; color: var(--oa-navy); font-weight: 700; line-height: 1.6; }
.oa-ct .sig-k { color: var(--oa-muted); font-size: 13px; font-weight: 600; }
.oa-ct .sig-name .sig-k { display: block; }
.oa-ct .sig-line { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--oa-ink-2); }
.oa-ct .sig-date { margin-top: 20px; }

/* Notes on the contract: his own, the other owner's, the office's reply */
.oa-cm { padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.6; background: var(--oa-surface); color: var(--oa-ink); box-shadow: inset 0 0 0 1px var(--oa-line); }
.oa-cm + .oa-cm { margin-top: 8px; }
.oa-cm.is-me { background: #DCEBF5; color: #08324D; box-shadow: none; }
.oa-cm-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: var(--oa-muted); font-size: 12.5px; }
.oa-cm-ok { margin-top: 6px; color: var(--oa-ok); font-size: 13px; font-weight: 600; }

/* Next / previous article: in Arabic, previous sits on the right, where reading started */
.oa-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oa-pager a {
    min-width: 0; min-height: 60px; padding: 10px 14px; border-radius: var(--oa-r); background: var(--oa-surface);
    box-shadow: inset 0 0 0 1px var(--oa-line); color: var(--oa-ink);
    display: flex; flex-direction: column; justify-content: center; gap: 2px;
}
.oa-pager a:active { opacity: .7; }
.oa-pager a span { color: var(--oa-muted); font-size: 12.5px; }
.oa-pager a b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oa-pager .is-next { text-align: end; }

/* Contract annexes inside the app: a table of 4+ columns (cx-wide, from the shared annex part)
   becomes one card per row on a phone, each value under its column's name; rows left blank for
   handwriting on paper are hidden. The printed contract keeps its tables. */
@media (max-width: 640px) {
    .oa .cx-t.cx-wide thead, .oa .cx-t.cx-wide .cx-n, .oa .cx-t.cx-wide tr.cx-blank { display: none; }
    .oa .cx-t.cx-wide, .oa .cx-t.cx-wide tbody, .oa .cx-t.cx-wide tr { display: block; width: 100%; }
    .oa .cx-t.cx-wide tr { margin-bottom: 10px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--cx-line, #BFCAD3); }
    .oa .cx-t.cx-wide td {
        display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
        height: auto; border: 0; border-top: 1px solid var(--cx-line, #BFCAD3); text-align: end;
    }
    /* the row's first real cell (after a hidden # cell, when the table is numbered) heads the card */
    .oa .cx-t.cx-wide td:first-of-type:not(.cx-n), .oa .cx-t.cx-wide td.cx-n + td { border-top: 0; background: #F2F6F9; font-weight: 700; color: var(--oa-navy); }
    .oa .cx-t.cx-wide td[data-l]:not([data-l=""])::before { content: attr(data-l); color: var(--oa-muted); font-weight: 600; text-align: start; flex-shrink: 0; }
}

/* Month switcher (monthly report, in the page head) */
.oa-month {
    display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; margin-top: 18px;
    min-height: 50px; border-radius: 14px;
    background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(174, 231, 255, .14);
}
.oa-month b { text-align: center; font-size: 16px; font-weight: 600; color: #fff; }
.oa-month a { height: 50px; display: grid; place-items: center; color: var(--oa-sea); }
.oa-month a svg { width: 22px; height: 22px; }
.oa[dir="rtl"] .oa-month a svg { transform: scaleX(-1); }

/* ── Buttons and forms ────────────────────────────────────────────────────── */
/* Primary: the website's Tide gradient with dark ink; quiet: an outline in the panel's own colours. */
.oa-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    min-height: 52px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
    background: var(--oa-tide); color: #04222F; font-size: 15.5px; font-weight: 700;
    transition: transform .12s var(--oa-ease), filter .15s;
}
.oa-btn:active { transform: scale(.98); filter: brightness(.95); }
.oa-btn[disabled] { background: #9DB3C2; color: #fff; cursor: not-allowed; transform: none; filter: none; }
.oa-btn.is-quiet { background: transparent; color: var(--t-ink); box-shadow: inset 0 0 0 1px var(--t-quiet); }
.oa-sec:is(.is-deep, .is-navy, .is-blue) .oa-btn.is-quiet { background: rgba(255, 255, 255, .06); }
.oa-btn.is-wa { background: var(--oa-tide); color: #04222F; }
.oa-btn svg { width: 20px; height: 20px; }
.oa-btns { display: grid; gap: 10px; margin-top: 18px; }
.oa-btns.is-2 { grid-template-columns: 1fr 1fr; }

.oa-form { background: var(--oa-surface); border-radius: 18px; padding: 16px; display: grid; gap: 14px; box-shadow: inset 0 0 0 1px var(--oa-line); color: var(--oa-ink); }
.oa-field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--oa-ink-2); }
.oa-field input, .oa-field select, .oa-field textarea {
    width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--oa-field); border-radius: 12px;
    background: #fff; color: var(--oa-ink); font: inherit; font-size: 16px; /* 16px: iOS does not zoom */
    -webkit-appearance: none; appearance: none;
}
.oa-field textarea { min-height: 88px; resize: vertical; }
.oa-field input:focus, .oa-field select:focus, .oa-field textarea:focus { outline: none; border-color: var(--oa-action); box-shadow: 0 0 0 3px rgba(5, 113, 160, .18); }
.oa-field .hint { margin-top: 5px; color: var(--oa-muted); font-size: 12.5px; }
.oa-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oa-2col > * { min-width: 0; }

.oa-flash { position: relative; z-index: 2; margin: 12px var(--oa-gut); padding: 12px 14px; border-radius: var(--oa-r-sm); font-size: 14px; line-height: 1.5; }
.oa-sec .oa-flash { margin: 0 0 14px; }
.oa-flash.is-ok  { background: var(--oa-ok-bg);  color: #135C38; }
.oa-flash.is-bad { background: var(--oa-bad-bg); color: #7E1C17; }

/* ── Empty states teach the screen ────────────────────────────────────────── */
.oa-empty { padding: 18px 8px 6px; text-align: center; }
.oa-empty .oa-ico { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; }
.oa-empty .oa-ico svg { width: 24px; height: 24px; }
.oa-empty b { display: block; font-size: 17px; font-weight: 600; color: var(--t-ink); }
.oa-empty p { margin: 6px auto 0; max-width: 34ch; color: var(--t-ink2); font-size: 14px; line-height: 1.6; }

/* ── Pager (Load older) ───────────────────────────────────────────────────── */
.oa-more-link { display: flex; justify-content: center; gap: 18px; margin-top: 12px; }
.oa-more-link a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; color: var(--t-accent); font-weight: 600; font-size: 15px; }

/* ── Tab bar: the website's dark glass, floating; Requests is the seafoam circle ── */
.oa-tabs {
    position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 14px); z-index: var(--oa-z-tab);
    width: min(612px, calc(100% - 28px)); height: var(--oa-tab-h); transform: translateX(-50%);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; padding: 0 6px;
    border-radius: 22px;
    background: rgba(6, 24, 38, .8);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(174, 231, 255, .12);
}
.oa-tab {
    position: relative; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: rgba(214, 230, 242, .62); font-size: 11px; font-weight: 500; line-height: 1.1;
    transition: color .15s;
}
.oa-tab-ic { position: relative; display: grid; place-items: center; height: 36px; }
.oa-tab svg { width: 22px; height: 22px; transition: transform .14s var(--oa-ease); }
.oa-tab:active svg { transform: scale(.9); }
.oa-tab[aria-current="page"] { color: var(--oa-sea); }
.oa-tab.is-plus .oa-tab-ic { width: 36px; border-radius: 50%; background: var(--oa-sea); color: var(--oa-deep); }
.oa-tab.is-plus .oa-tab-ic svg { width: 18px; height: 18px; }
.oa-tab.is-plus[aria-current="page"] .oa-tab-ic { box-shadow: 0 0 0 3px rgba(140, 246, 249, .25); }
.oa-tab-dot {
    position: absolute; top: -2px; inset-inline-start: calc(50% + 4px);
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center; background: var(--oa-bad); color: #fff;
    font-size: 10.5px; font-weight: 700; box-shadow: 0 0 0 2px #0B1D2B;
}

/* Navigation feedback: a thin seafoam line while the next screen loads */
.oa-load {
    position: fixed; top: 0; inset-inline: 0; z-index: var(--oa-z-load); height: 2.5px;
    background: var(--oa-sea); transform-origin: left; transform: scaleX(0); opacity: 0;
}
.oa[dir="rtl"] .oa-load { transform-origin: right; }
.oa-load.is-on { opacity: 1; animation: oa-load 2.4s var(--oa-ease) forwards; }
@keyframes oa-load { from { transform: scaleX(0); } to { transform: scaleX(.86); } }

/* Install tip (shown in a browser, never inside the installed app) */
.oa-install { display: none; }
.oa.is-browser .oa-install { display: block; }

/* More: who is signed in, in the page head */
.oa-who { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.oa-who-av { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--oa-sea); color: var(--oa-deep); font-size: 26px; font-weight: 700; }
.oa-who-txt b { display: block; font-size: 19px; font-weight: 600; line-height: 1.4; color: #fff; }
.oa-who-txt span { display: block; font-size: 13.5px; color: var(--t-ink2); }

/* A desktop page opened from the app (contract, statements, report, spending): the installed app
   has no browser Back, so a fixed bar gives one, and the desktop header and content move down under
   it. Phones only; layout.blade.php adds .oa-from-app to <html> when the page came from the app. */
.oa-return { display: none; }
@media (max-width: 768px) {
    .oa-from-app .oa-return {
        position: fixed; top: 0; inset-inline: 0; z-index: 1000;
        display: flex; align-items: center; gap: 4px;
        height: calc(44px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0;
        background: #032945; color: #fff; text-decoration: none;
        font: 600 15px/1 'Montserrat', 'Cairo', system-ui, sans-serif;
    }
    .oa-from-app .oa-return svg { width: 20px; height: 20px; }
    [dir="rtl"].oa-from-app .oa-return svg, .oa-from-app [dir="rtl"] .oa-return svg { transform: scaleX(-1); }
    .oa-from-app .g-head { top: calc(44px + env(safe-area-inset-top)); }
    /* liquid-glass.css sets the phone header to 56px and .g-main margin-top:56px !important. */
    .oa-from-app .g-main { margin-top: calc(56px + 44px + env(safe-area-inset-top)) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .oa-main { animation: none; }
    .oa-bar, .oa-bar-title, .oa-seg a, .oa-tab svg, .oa-btn { transition: none; }
    .oa-load.is-on { animation: none; transform: scaleX(.86); }
}

/* ── The contract pop-up (4 Oct 2026): a sheet from the bottom when the app opens and the owner still has a
   step on the contract (partials/contract-prompt, App\Support\OwnerContractStep). ───────────────────────── */
.oa-cp[hidden] { display: none; }
.oa-cp-dim { position: fixed; inset: 0; z-index: 60; background: rgba(3, 41, 69, .46); opacity: 0; transition: opacity .3s var(--oa-ease);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.oa-cp-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-width: 430px; margin: 0 auto; max-height: 92vh; overflow-y: auto;
    padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); background: var(--oa-surface); color: var(--oa-ink); border-radius: 26px 26px 0 0;
    box-shadow: 0 -18px 40px rgba(3, 41, 69, .22); transform: translateY(105%); transition: transform .42s var(--oa-ease); }
.oa-cp-sheet:focus { outline: none; }
.oa-cp.is-in .oa-cp-dim { opacity: 1; }
.oa-cp.is-in .oa-cp-sheet { transform: none; }
.oa-cp-grab { width: 42px; height: 5px; margin: 0 auto 16px; border-radius: 99px; background: #D5DEE6; }
.oa-cp-head { display: flex; gap: 14px; align-items: flex-start; }
.oa-cp-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--oa-navy); color: var(--oa-sea); }
.oa-cp-ico.is-ok { background: var(--oa-ok-bg); color: var(--oa-ok); }
.oa-cp-ico svg { width: 28px; height: 28px; }
.oa-cp-tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700;
    color: var(--oa-wait); background: var(--oa-wait-bg); }
.oa-cp-tag.is-ok { color: var(--oa-ok); background: var(--oa-ok-bg); }
.oa-cp-t { margin: 0; font-size: 21px; line-height: 1.4; font-weight: 600; color: var(--oa-ink); text-wrap: balance; }
.oa-cp-p { margin: 12px 0 0; font-size: 15px; line-height: 1.85; color: var(--oa-ink-2); }
.oa-cp-doc { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--oa-line); border-radius: 14px; }
.oa-cp-doc-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--oa-up-bg); color: var(--oa-up); }
.oa-cp-doc-ico svg { width: 22px; height: 22px; }
.oa-cp-doc b { display: block; font-size: 15px; color: var(--oa-ink); }
.oa-cp-doc span { font-size: 13px; color: var(--oa-muted); }
.oa-cp-num { margin-inline-start: auto; white-space: nowrap; font-family: 'Montserrat', sans-serif; font-size: 12.5px; font-weight: 600; color: var(--oa-muted); }
.oa-cp-prog { margin-top: 16px; }
.oa-cp-bar { height: 8px; border-radius: 99px; background: var(--oa-line); overflow: hidden; }
.oa-cp-bar i { display: block; height: 100%; border-radius: 99px; background: var(--oa-action); }
.oa-cp-lab { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 13px; color: var(--oa-muted); }
.oa-cp-lab b { color: var(--oa-ink); }
.oa-cp-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; padding: 0; list-style: none; }
.oa-cp-steps::before { content: ""; position: absolute; top: 15px; inset-inline: 16.6%; height: 2px; background: var(--oa-line); }
.oa-cp-steps li { position: relative; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--oa-muted); }
.oa-cp-steps i { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%;
    background: var(--oa-surface); box-shadow: inset 0 0 0 2px var(--oa-field); font-style: normal; font-weight: 700;
    font-family: 'Montserrat', sans-serif; font-size: 13px; color: var(--oa-muted); }
.oa-cp-steps li.is-now { color: var(--oa-ink); font-weight: 700; }
.oa-cp-steps li.is-now i { background: var(--oa-action); box-shadow: 0 0 0 4px #D7EAF4; color: #fff; }
.oa-cp-steps li.is-done { color: var(--oa-ok); }
.oa-cp-steps li.is-done i { background: var(--oa-ok); box-shadow: none; color: #fff; }
.oa-cp-btns { display: grid; gap: 4px; margin-top: 20px; }
.oa-cp-later { min-height: 46px; border: 0; background: none; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--oa-muted); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .oa-cp-dim, .oa-cp-sheet { transition: none; } }
