/* ============================================================
   PRORATE.CSS — what is Rent Calculator: Lease Tracker's alone,
   on the app page frame (app-page.css): its matte, and the free
   prorated-rent calculator that works on the page.
   ============================================================ */

.app-page {
    --tone: #23CDFE;    /* sky: the blue of the app's icon */
}

/* --- The calculator (prorate.js fills #pw-out): ruled, not boxed --- */
.calc-widget {
    padding: clamp(22px, 3vw, 36px) 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.pw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: var(--gap);
    margin-bottom: 22px;
}

.calc-widget label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mut);
}

.calc-widget input,
.calc-widget select {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--fg);
    border-radius: 16px;
    background: transparent;
    color: var(--fg);
    font: inherit;
    font-size: 18px;
}

.calc-widget select option { color: #0C0C0C; }
.calc-widget input::placeholder { color: var(--mut); }
.calc-widget input:focus-visible,
.calc-widget select:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
[data-theme="night"] .calc-widget input { color-scheme: dark; }

.pw-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 24px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    color: var(--fg);
}

.pw-row small {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: var(--mut);
}

.pw-amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.app-page .pw-hint {
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    color: var(--mut);
}

/* The trial is the annual plan's: on the monthly plan the line is struck out. */
#pro-trial.disabled { text-decoration: line-through; }
