/* ---------------------------------------------------------------------------
   A6-CJE crew portal theme
   Layered on top of UIkit 3: UIkit keeps doing the behaviour (accordion,
   tooltip, form-custom, icons), this file does the looks.
   Palette + spacing modelled on murrayuae.com/portal.
   --------------------------------------------------------------------------- */

:root {
    --brand-50:  #fdecef;
    --brand-100: #fbd9df;
    --brand-200: #f4a9b6;
    --brand-600: #c8102e;
    --brand-700: #a50d26;

    --navy-50:  #f0f4fa;
    --navy-100: #dce6f2;
    --navy-200: #b9cce4;
    --navy-400: #5f86b8;
    --navy-500: #3d669c;
    --navy-600: #2c4e7e;
    --navy-700: #1f3a62;
    --navy-800: #142b4c;
    --navy-900: #0b1f3a;

    --band: #f1f3f5;

    --ok:     #0e7c58;
    --ok-bg:  #e4f5ee;
    --warn:   #b4690e;
    --warn-bg:#fdf0df;
    --bad:    #c8102e;
    --bad-bg: #fdecef;

    --shadow-card: 0 1px 2px 0 rgba(11,31,58,.05), 0 1px 3px 0 rgba(11,31,58,.06);
    --shadow-lift: 0 14px 28px -16px rgba(11,31,58,.28), 0 2px 8px -3px rgba(11,31,58,.08);

    --r-card: 1rem;
    --r-tile: .75rem;
    --r-btn:  .375rem;
}

/* --- base ---------------------------------------------------------------- */

html { -webkit-text-size-adjust: 100%; }

body.pt {
    margin: 0;
    background: #fff;
    color: var(--navy-900);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.pt-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- header -------------------------------------------------------------- */

.pt-header { background: #fff; }

.pt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.pt-brand {
    display: flex;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
}
.pt-brand:hover { text-decoration: none; }

/* The Emirates lockup was removed from the header on request — the wordmark
   carries it. The logo still appears on the login page. */

.pt-brand-name {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.15;
    color: var(--navy-900);
}
.pt-brand-sub {
    display: block;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--navy-400);
}

.pt-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.pt-nav a {
    border-radius: var(--r-tile);
    padding: .5rem .9rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--navy-700);
    text-decoration: none;
    white-space: nowrap;
}
.pt-nav a:hover { background: var(--navy-50); color: var(--navy-900); text-decoration: none; }
.pt-nav a.is-active { background: var(--navy-50); color: var(--navy-900); }

.pt-nav a.pt-nav-cta {
    border-radius: var(--r-btn);
    background: var(--brand-600);
    color: #fff;
}
.pt-nav a.pt-nav-cta:hover { background: var(--brand-700); color: #fff; }

/* --- hero ---------------------------------------------------------------- */

/* The pill / headline / lede were removed on request — the hero is now just
   the three status tiles, so it carries much less vertical padding. */
.pt-hero {
    padding: 2rem 0 2.5rem;
    text-align: center;
}

/* --- stat tiles ---------------------------------------------------------- */

.pt-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.pt-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 11rem;
    border: 1px solid var(--navy-100);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: .875rem 1.25rem;
    text-align: left;
}

.pt-stat > span + span { display: block; }

.pt-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.1;
}
.pt-stat-label {
    display: block;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy-400);
}

.pt-stat--ok   .pt-stat-num { color: var(--ok); }
.pt-stat--warn .pt-stat-num { color: var(--warn); }
.pt-stat--bad  .pt-stat-num { color: var(--bad); }

.pt-stat-dot {
    width: .625rem;
    height: .625rem;
    flex: none;
    border-radius: 9999px;
}
.pt-stat--ok   .pt-stat-dot { background: var(--ok); }
.pt-stat--warn .pt-stat-dot { background: var(--warn); }
.pt-stat--bad  .pt-stat-dot { background: var(--bad); }

/* --- band ---------------------------------------------------------------- */

.pt-band {
    border-top: 1px solid #e2e8f0;
    background: var(--band);
    padding: 3.5rem 0;
}

/* The band heading and sub-line were removed on request — the grid is the
   whole band now, so it needs no top margin. */
.pt-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
/* keep a wide child (UIkit's fixed-width form controls) from stretching the track */
.pt-grid > * { min-width: 0; }

/* --- crew card ----------------------------------------------------------- */

.pt-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--navy-100);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    transition: box-shadow .18s ease, transform .18s ease;
}
.pt-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }

.pt-card--me { border-color: var(--brand-200); }

.pt-card-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--navy-100);
}

.pt-avatar {
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--navy-50);
}

.pt-card-id { flex: 1 1 auto; min-width: 0; }

.pt-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--navy-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-tag {
    display: inline-block;
    margin-left: .375rem;
    border-radius: 9999px;
    background: var(--brand-50);
    padding: .0625rem .5rem;
    font-size: .625rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand-700);
    vertical-align: middle;
}

.pt-staff {
    margin: .125rem 0 0;
    font-size: .8125rem;
    color: var(--navy-400);
}

.pt-flag {
    width: .625rem;
    height: .625rem;
    flex: none;
    border-radius: 9999px;
    background: var(--ok);
}
.pt-flag--warn { background: var(--warn); }
.pt-flag--bad  { background: var(--bad); }

/* --- accordion rows ------------------------------------------------------ */

.pt-acc { list-style: none; margin: 0; padding: 0; }
.pt-acc > li { margin: 0; border-bottom: 1px solid var(--navy-100); }
.pt-acc > li:last-child { border-bottom: 0; }

/* kill UIkit's default accordion chrome, draw our own */
.pt-acc > li > .uk-accordion-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 0;
    font-size: .8125rem;
    line-height: 1.4;
    color: var(--navy-500);
    text-decoration: none;
}
.pt-acc > li > .uk-accordion-title::before { content: none; }
.pt-acc > li > .uk-accordion-title:hover { color: var(--navy-900); text-decoration: none; }

.pt-row-label {
    flex: 0 1 auto;
    font-weight: 500;
}
.pt-row-label::after {
    content: "";
    display: inline-block;
    width: .5rem;
    height: .5rem;
    margin-left: .4rem;
    border-right: 1.5px solid var(--navy-200);
    border-bottom: 1.5px solid var(--navy-200);
    transform: rotate(45deg) translateY(-.1rem);
    transition: transform .18s ease;
}
.uk-open > .uk-accordion-title .pt-row-label::after {
    transform: rotate(-135deg) translateY(-.1rem);
}

.pt-row-value {
    flex: 0 0 auto;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--navy-900);
    text-align: right;
}
.pt-row-value:empty::before { content: "—"; color: var(--navy-200); }

.pt-row-value .is-warn { color: var(--warn); }
.pt-row-value .is-bad  { color: var(--bad); }
.pt-row-value small { font-weight: 500; opacity: .8; }

.pt-acc .uk-accordion-content {
    margin: 0 0 1rem;
    border-radius: var(--r-tile);
    background: var(--navy-50);
    padding: 1rem;
    font-size: .8125rem;
}
.pt-acc .uk-accordion-content:empty { display: none; }

.pt-detail { margin: 0 0 .625rem; color: var(--navy-600); }
.pt-detail:last-child { margin-bottom: 0; }
.pt-detail b {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--navy-900);
}

/* --- document list ------------------------------------------------------- */

.pt-docs { list-style: none; margin: 0; padding: 0; }
.pt-docs li {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem 0;
    border-bottom: 1px solid var(--navy-100);
}
.pt-docs li:last-child { border-bottom: 0; }

.pt-doc-name { flex: 1 1 auto; color: var(--navy-700); }
.pt-doc-date {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--navy-900);
}
.pt-doc-date.is-warn { color: var(--warn); }
.pt-doc-date.is-bad  { color: var(--bad); }
.pt-doc-missing { font-weight: 600; color: var(--warn); }

.pt-doc-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex: none;
    border-radius: .5rem;
    color: var(--navy-400);
}
.pt-doc-dl:hover { background: var(--navy-100); color: var(--brand-600); }

/* --- forms inside the accordion ------------------------------------------ */

.pt-form {
    margin: .875rem 0 0;
    border-top: 1px solid var(--navy-100);
    padding-top: .875rem;
}
.pt-form:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

.pt-field {
    display: block;
    margin-bottom: .625rem;
}
.pt-field > span {
    display: block;
    margin-bottom: .25rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy-400);
}

/* UIkit's uk-form-width-* are fixed pixel widths and blow out a narrow card */
.pt-acc .uk-form-width-small,
.pt-acc .uk-form-width-medium { max-width: 100%; }
.pt-acc [uk-form-custom] { display: block; max-width: 100%; }
.pt-acc [uk-form-custom] > .uk-input { width: 100%; }

.pt-acc .uk-input,
.pt-acc .uk-select {
    height: 2.25rem;
    border: 1px solid var(--navy-200);
    border-radius: var(--r-btn);
    background: #fff;
    padding: 0 .625rem;
    font-size: .8125rem;
    color: var(--navy-900);
    box-shadow: none;
}
.pt-acc .uk-input:focus,
.pt-acc .uk-select:focus {
    border-color: var(--navy-500);
    outline: 2px solid var(--navy-100);
    outline-offset: 0;
}

.pt-acc .uk-button {
    height: 2.25rem;
    line-height: 2.25rem;
    border-radius: var(--r-btn);
    padding: 0 1rem;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}
.pt-acc .uk-button-primary {
    background: var(--brand-600);
    color: #fff;
    border: 0;
}
.pt-acc .uk-button-primary:hover,
.pt-acc .uk-button-primary:focus { background: var(--brand-700); color: #fff; }

.pt-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .5rem;
}

/* --- card footer --------------------------------------------------------- */

.pt-card-foot {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--navy-100);
    font-size: .75rem;
    color: var(--navy-400);
}

/* --- Briefing (upload page only — the dashboard keeps its own look) ------- */

.pt-briefing { padding: 2.5rem 0 3.5rem; }

.pt-drop {
    border: 2px dashed var(--navy-200);
    border-radius: var(--r-card);
    background: #fff;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--navy-400);
    transition: border-color .18s ease, background .18s ease;
}
.pt-drop.is-over   { border-color: var(--brand-600); background: var(--brand-50); }
.pt-drop.has-file  { border-style: solid; border-color: var(--ok); }

.pt-drop-main {
    margin: .75rem 0 0;
    font-size: .9375rem;
    color: var(--navy-700);
}
.pt-drop-link {
    color: var(--brand-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.pt-drop-hint {
    margin: .375rem 0 0;
    font-size: .8125rem;
    color: var(--navy-400);
    word-break: break-all;
}
.pt-drop.has-file .pt-drop-hint { color: var(--ok); font-weight: 600; }

.pt-briefing-note { margin-top: 1.25rem; line-height: 1.5; }
.pt-briefing-note a { color: var(--navy-500); }

/* --- GenDec -------------------------------------------------------------- */

.pt-gendec { padding: 2.5rem 0 3.5rem; }
.pt-container--narrow { max-width: 34rem; }

/* Everything after the shared page header gets the same breathing room. */
.pt-pagehead + * { margin-top: 2rem; }

/* The three entry points on the GenDec home. */
.pt-gd-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 34rem;
}

.pt-gd-action {
    display: block;
    border: 1px solid var(--navy-100);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.pt-gd-action:hover {
    text-decoration: none;
    border-color: var(--navy-200);
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}
.pt-gd-action.is-disabled { opacity: .55; box-shadow: none; }
.pt-gd-action.is-disabled:hover { transform: none; box-shadow: none; border-color: var(--navy-100); }

.pt-gd-action--primary { border-color: var(--brand-200); background: var(--brand-50); }
.pt-gd-action--primary .pt-gd-action-title { color: var(--brand-700); }

.pt-gd-action-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--navy-900);
}
.pt-gd-action-sub {
    display: block;
    margin-top: .25rem;
    font-size: .8125rem;
    line-height: 1.45;
    color: var(--navy-500);
}

/* Form chrome: UIkit still owns the grid, portal owns the look. */
.pt-gd-label {
    display: block;
    margin-bottom: .25rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--navy-400);
}
.pt-gd-hint { margin-top: .25rem; font-size: .75rem; color: var(--navy-400); }
.pt-gd-hint .airport-preview { color: var(--navy-700); font-weight: 600; }

.pt-gendec .uk-input,
.pt-gendec .uk-select {
    height: 2.25rem;
    width: 100%;
    border: 1px solid var(--navy-200);
    border-radius: var(--r-btn);
    background: #fff;
    padding: 0 .625rem;
    font-size: .875rem;
    color: var(--navy-900);
    box-shadow: none;
    box-sizing: border-box;
}
.pt-gendec .uk-input:focus,
.pt-gendec .uk-select:focus {
    border-color: var(--navy-500);
    outline: 2px solid var(--navy-100);
    outline-offset: 0;
}
.pt-gendec .uk-input.is-locked {
    background: var(--navy-50);
    color: var(--navy-400);
    cursor: not-allowed;
}

.pt-gd-prefixed { display: flex; align-items: center; gap: .5rem; }
.pt-gd-prefixed > span {
    font-weight: 700;
    font-size: .9375rem;
    color: var(--navy-900);
}

.pt-gendec .pt-panel { margin-bottom: 1.5rem; }

.crew-row {
    padding: .75rem 0;
    border-bottom: 1px solid var(--navy-100);
}
.crew-row:last-of-type { border-bottom: 0; }
.crew-row .sno {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: .8125rem;
    color: var(--navy-400);
}
.crew-row .details { margin-top: .5rem; }

.pt-btn-ghost {
    display: inline-block;
    border: 1px solid var(--navy-200);
    border-radius: var(--r-btn);
    background: #fff;
    padding: .4375rem .875rem;
    font: inherit;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--navy-700);
    text-decoration: none;
    cursor: pointer;
}
.pt-btn-ghost:hover { background: var(--navy-50); color: var(--navy-900); text-decoration: none; }

.pt-btn--inline { display: inline-block; width: auto; margin-top: 0; }

.pt-gd-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

@media (min-width: 640px) {
    .pt-gd-actions { gap: 1.25rem; }
}

/* --- My details ---------------------------------------------------------- */

.pt-details { padding: 2.5rem 0 3.5rem; }

/* --- shared page header --------------------------------------------------- */
/* Title, optional sub-line, ruled off from the content. My Details adds an
   avatar; Links and GenDec use the same block without one. */

/* No rule under the title — spacing alone separates it from the content. */
.pt-pagehead {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pt-pagehead-avatar {
    width: 4rem;
    height: 4rem;
    flex: none;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--navy-50);
}

.pt-pagehead-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -.025em;
    color: var(--navy-900);
}
.pt-pagehead-sub {
    margin: .125rem 0 0;
    font-size: .875rem;
    color: var(--navy-400);
}

.pt-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: start;
}

.pt-panel {
    border: 1px solid var(--navy-100);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
}

.pt-panel-title {
    margin: 0 0 1rem;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy-400);
}
.pt-panel-title small {
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: none;
}

.pt-dl { margin: 0; }
.pt-dl-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--navy-100);
}
.pt-dl-row:last-child { border-bottom: 0; }
.pt-dl dt { font-size: .875rem; color: var(--navy-500); }
.pt-dl dd {
    margin: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--navy-900);
    text-align: right;
}

.pt-landings {
    list-style: none;
    counter-reset: landing;
    margin: 0 0 1rem;
    padding: 0;
}
.pt-landings li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    counter-increment: landing;
    padding: .4375rem 0;
    border-bottom: 1px solid var(--navy-100);
    font-variant-numeric: tabular-nums;
    color: var(--navy-400);
}
.pt-landings li:last-child { border-bottom: 0; }
.pt-landings li::before {
    content: counter(landing) ".";
    width: 1.5rem;
    flex: none;
    color: var(--navy-200);
}
.pt-landings li span { flex: 1 1 auto; }
/* The three that actually decide currency. */
.pt-landings li.counts { color: var(--navy-900); font-weight: 600; }
.pt-landings li.counts::before { color: var(--navy-400); }
.pt-landings li em {
    font-style: normal;
    font-size: .6875rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ok);
}

.pt-landings li form { display: flex; margin: 0; flex: none; }

.pt-landing-del {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: .5rem;
    background: none;
    padding: 0;
    color: var(--navy-200);
    cursor: pointer;
}
.pt-landings li:hover .pt-landing-del { color: var(--navy-400); }
.pt-landing-del:hover { background: var(--bad-bg); color: var(--bad); }

.pt-muted { margin: 0; font-size: .8125rem; color: var(--navy-400); }
.pt-muted a { color: var(--navy-500); }

.pt-note {
    margin: 0 0 1.5rem;
    font-size: .9375rem;
    color: var(--navy-500);
}

.pt-ok {
    margin: 0 0 1.25rem;
    border: 1px solid #b9e3d0;
    border-radius: var(--r-tile);
    background: var(--ok-bg);
    padding: .75rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--ok);
}

/* Status colours, usable outside the dashboard rows too. */
.is-warn { color: var(--warn); }
.is-bad  { color: var(--bad); }

@media (min-width: 800px) {
    .pt-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* --- links page ---------------------------------------------------------- */

.pt-links { padding: 2.5rem 0 3.5rem; }

/* Same rounded panels as My Details and GenDec, one per category. */
/* No align-items: start — panels in a row stretch to equal height, matching the
   crew cards on the dashboard. */
.pt-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pt-linklist {
    list-style: none;
    margin: 0;
    padding: 0;
}
.pt-linklist li { margin: 0 0 .5rem; }
.pt-linklist li:last-child { margin-bottom: 0; }

.pt-linklist a {
    color: var(--navy-700);
    font-size: .9375rem;
    line-height: 1.4;
    text-decoration: none;
}
.pt-linklist a:hover {
    color: var(--brand-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- login --------------------------------------------------------------- */

/* Push the footer to the bottom and centre the form in what's left. */
body.pt-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.pt-login-wrap {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.pt-login {
    width: 100%;
    max-width: 21rem;
    text-align: center;
}

/* Kept grey — the lockup is a semi-transparent brown PNG, shown as-is. */
.pt-login-logo {
    display: block;
    width: auto;
    height: 12rem;      /* doubled from 6rem on request */
    max-width: 100%;
    margin: 0 auto 2rem;
}

/* Heading and sub-line were removed on request: logo, then straight to the form. */
.pt-login-form {
    border: 1px solid var(--navy-100);
    border-radius: var(--r-card);
    background: #fff;
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    text-align: left;
}

.pt-input {
    display: block;
    width: 100%;
    height: 2.75rem;
    border: 1px solid var(--navy-200);
    border-radius: var(--r-btn);
    background: #fff;
    padding: 0 .875rem;
    font: inherit;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .04em;
    color: var(--navy-900);
    box-sizing: border-box;
}
.pt-input::placeholder { color: var(--navy-200); letter-spacing: .08em; }
/* Focus ring is navy, not brand red: the field is autofocused, and a red outline
   sitting there on page load reads as a validation error. */
.pt-input:focus {
    border-color: var(--navy-500);
    outline: 2px solid var(--navy-100);
    outline-offset: 0;
}

.pt-btn {
    display: block;
    width: 100%;
    margin-top: 1.125rem;
    border: 0;
    border-radius: var(--r-btn);
    background: var(--brand-600);
    padding: .8125rem 1rem;
    font: inherit;
    font-size: .9375rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 20px -10px rgba(87, 7, 20, .55);
}
.pt-btn:hover  { background: var(--brand-700); }
.pt-btn:active { transform: translateY(1px); }
.pt-btn:focus-visible { outline: 2px solid var(--brand-200); outline-offset: 2px; }

.pt-alert {
    margin: 0 0 1.25rem;
    border: 1px solid var(--brand-200);
    border-radius: var(--r-tile);
    background: var(--brand-50);
    padding: .75rem 1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--brand-700);
}

/* --- page footer --------------------------------------------------------- */

.pt-footer {
    border-top: 1px solid var(--navy-100);
    padding: 2rem 0;
    text-align: center;
    font-size: .75rem;
    color: var(--navy-400);
}

/* Login and set-password: no rule above the footer — the page is just the logo
   and the form, and a divider across an otherwise empty page reads as clutter. */
.pt-page--login .pt-footer { border-top: 0; }
.pt-footer a { color: var(--navy-500); }

/* --- responsive ---------------------------------------------------------- */

@media (min-width: 640px) {
    .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pt-hero { padding: 2.75rem 0 3rem; }
}

@media (min-width: 960px) {
    .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
    .pt-header-inner { flex-wrap: wrap; }
    .pt-stat { flex: 1 1 8rem; min-width: 0; }
}
