/* ═══════════════════════════════════════════════════════════════════════════
   MCST — Applicant interface
   Mandaluyong College of Science and Technology

   One stylesheet for every page an applicant sees. Each of those pages used to
   carry its own copy of near-identical CSS, which is how the eight different
   button styles elsewhere in this system came about.

   Direction: institutional rather than fashionable. A government college's
   admission portal should read as considered and permanent — the applicant is
   handing over a PSA birth certificate and trusting the result. Flat surfaces,
   restrained colour, generous spacing, and typography doing the work.

   MOBILE: form controls are 16px. Below that, iOS Safari zooms the viewport on
   focus and the page lurches on every tap — unbearable on a hundred-field form.
   ═══════════════════════════════════════════════════════════════════════════ */

:root{
    /* Institutional palette, carried over from the existing redesign */
    --navy:        #06243b;
    --blue:        #0b3c5d;
    --blue-soft:   #e8f0f7;
    --blue-line:   #c3d7e8;

    --ink:         #10202e;
    --ink-2:       #3d5266;
    --muted:       #6b7f92;
    --faint:       #9aabb9;

    /* Warm neutrals: a cold grey page reads as unfinished software,
       a warm one reads as paper */
    --bg:          #f4f6f8;
    --surface:     #ffffff;
    --line:        #dfe6ec;
    --line-soft:   #eef2f5;

    --ok:          #15803d;
    --ok-bg:       #eef8f1;
    --ok-line:     #bfe3cb;
    --warn:        #92600e;
    --warn-bg:     #fdf7e9;
    --warn-line:   #f0dcae;
    --bad:         #a52626;
    --bad-bg:      #fdf0f0;
    --bad-line:    #f0c4c4;

    --r-sm: 8px;
    --r:    12px;
    --r-lg: 16px;

    --shadow:    0 1px 2px rgba(16,32,46,.05);
    --shadow-lg: 0 4px 18px rgba(16,32,46,.08);

    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body{
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── shell ──────────────────────────────────────────────────────────────── */
.a-top{
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0 var(--sp-5);
    min-height: 62px;
    display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
    position: sticky; top: 0; z-index: 50;
}
.a-brand{ display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.a-brand img{ width: 34px; height: 34px; object-fit: contain; flex: 0 0 34px; }
.a-brand .mk{ font-weight: 800; letter-spacing: .14em; color: var(--blue); font-size: 15px; }
.a-brand .sep{ color: var(--line); }
.a-brand .ctx{ color: var(--muted); font-size: 14px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; }

.a-who{ display: flex; align-items: center; gap: var(--sp-3); }
.a-who .nm{ font-size: 14px; font-weight: 650; }
.a-who .out{ font-size: 13px; color: var(--bad); text-decoration: none; font-weight: 600;
    padding: 8px 12px; border-radius: var(--r-sm); }
.a-who .out:hover{ background: var(--bad-bg); }

.a-wrap{ max-width: 860px; margin: 0 auto; padding: var(--sp-5) var(--sp-4) var(--sp-7); }
.a-wrap.narrow{ max-width: 520px; }
.a-wrap.wide{ max-width: 1000px; }

/* ── masthead for signed-out pages ──────────────────────────────────────── */
.a-head{ text-align: center; margin-bottom: var(--sp-5); }
.a-head img{ width: 62px; height: 62px; object-fit: contain; margin-bottom: var(--sp-2); }
.a-head .mk{ font-weight: 800; letter-spacing: .18em; color: var(--blue); font-size: 16px; }
.a-head .nm{ font-size: 15px; font-weight: 650; margin-top: var(--sp-1); }
.a-head .sub{ color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* ── surfaces ───────────────────────────────────────────────────────────── */
.a-card{
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    margin-bottom: var(--sp-4);
    box-shadow: var(--shadow);
}
.a-card.flush{ padding: 0; overflow: hidden; }

.a-h1{ font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 var(--sp-2); line-height: 1.25; }
.a-h2{ font-size: 17px; font-weight: 700; margin: 0 0 var(--sp-2); }
.a-h3{ font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 var(--sp-3); padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--line-soft); }
.a-lead{ color: var(--ink-2); margin: 0 0 var(--sp-4); font-size: 14.5px; }
.a-note{ color: var(--muted); font-size: 13px; }

/* ── forms ──────────────────────────────────────────────────────────────── */
.a-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--sp-4); }
.a-grid.two{ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.a-f{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.a-f.full{ grid-column: 1 / -1; }
.a-f label{ font-size: 13px; font-weight: 650; color: var(--ink-2); }
.a-f .req{ color: var(--bad); }
.a-f .hint{ font-size: 12.5px; color: var(--faint); }

.a-f input, .a-f select, .a-f textarea,
input[type=text], input[type=email], input[type=password],
input[type=date], input[type=number], input[type=datetime-local], select, textarea{
    /* 16px, deliberately: anything smaller makes iOS zoom on focus */
    font-size: 16px;
    font-family: inherit;
    line-height: 1.4;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink);
    width: 100%;
    transition: border-color .14s ease, box-shadow .14s ease;
}
.a-f textarea{ resize: vertical; min-height: 76px; }
.a-f input:focus, .a-f select:focus, .a-f textarea:focus,
input:focus, select:focus, textarea:focus{
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-soft);
}
.a-f input[type=file]{ padding: 9px; font-size: 14px; background: var(--bg); }

.a-ticks{ display: flex; flex-wrap: wrap; gap: var(--sp-4); padding-top: 6px; }
.a-tick{ display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
    cursor: pointer; min-height: 32px; }
.a-tick input{ width: auto; margin: 0; min-width: 18px; min-height: 18px; accent-color: var(--blue); }

/* ── buttons: 44px min, the smallest reliable touch target ──────────────── */
.a-btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 12px 22px;
    border: 1px solid var(--blue); border-radius: var(--r-sm);
    background: var(--blue); color: #fff;
    font-family: inherit; font-size: 15px; font-weight: 650;
    text-decoration: none; cursor: pointer;
    transition: background .14s ease, border-color .14s ease;
}
.a-btn:hover{ background: var(--navy); border-color: var(--navy); }
.a-btn.ghost{ background: var(--surface); color: var(--blue); }
.a-btn.ghost:hover{ background: var(--blue-soft); }
.a-btn.wide{ width: 100%; }
.a-btn.disabled, .a-btn:disabled{
    background: var(--line-soft); border-color: var(--line); color: var(--faint);
    cursor: not-allowed; pointer-events: none;
}
.a-btns{ display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ── messages ───────────────────────────────────────────────────────────── */
.a-msg{ border-radius: var(--r); padding: 14px 16px; margin-bottom: var(--sp-4);
    font-size: 14px; border: 1px solid; }
.a-msg.ok  { background: var(--ok-bg);   border-color: var(--ok-line);   color: var(--ok); }
.a-msg.warn{ background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.a-msg.bad { background: var(--bad-bg);  border-color: var(--bad-line);  color: var(--bad); }
.a-msg ul{ margin: 6px 0 0; padding-left: 20px; }
.a-msg strong{ display: block; margin-bottom: 2px; }

.a-pill{ display: inline-block; padding: 4px 12px; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; }
.a-pill.ok  { background: var(--ok-bg);   color: var(--ok); }
.a-pill.warn{ background: var(--warn-bg); color: var(--warn); }
.a-pill.bad { background: var(--bad-bg);  color: var(--bad); }
.a-pill.mute{ background: var(--line-soft); color: var(--muted); }

/* ── rows ───────────────────────────────────────────────────────────────── */
.a-row{ display: flex; justify-content: space-between; gap: var(--sp-4);
    padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.a-row:last-child{ border-bottom: 0; }
.a-row .k{ color: var(--muted); font-size: 13.5px; }
.a-row .v{ font-weight: 650; text-align: right; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.a-foot{ text-align: center; margin-top: var(--sp-5); color: var(--faint); font-size: 13px; }
.a-foot a{ color: var(--blue); font-weight: 650; text-decoration: none; }
.a-foot a:hover{ text-decoration: underline; }

/* ═══ mobile ═══════════════════════════════════════════════════════════════
   Not a shrunken desktop. Full-width buttons, single-column grids, and a
   header that gives up its subtitle rather than truncating the name.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px){
    body{ font-size: 15px; }
    .a-top{ padding: 0 var(--sp-4); min-height: 56px; }
    .a-brand .ctx, .a-brand .sep{ display: none; }
    .a-who .nm{ display: none; }
    .a-wrap{ padding: var(--sp-4) var(--sp-3) var(--sp-6); }
    .a-card{ padding: var(--sp-4); border-radius: var(--r); }
    .a-h1{ font-size: 20px; }
    .a-grid, .a-grid.two{ grid-template-columns: 1fr; gap: var(--sp-3); }
    .a-btn{ width: 100%; }
    .a-btns .a-btn{ width: 100%; }
    .a-row{ flex-direction: column; gap: 2px; }
    .a-row .v{ text-align: left; }
    .a-head img{ width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce){
    *{ transition: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PORTAL
   The applicant's own page: where they are, what to do, and what they sent.
   ═══════════════════════════════════════════════════════════════════════════ */

.card{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: var(--sp-5); margin-bottom: var(--sp-4); box-shadow: var(--shadow); }
.card h1{ font-size: 20px; font-weight: 700; margin: 0 0 var(--sp-2); letter-spacing: -.01em; }
.lead{ color: var(--ink-2); margin: 0 0 var(--sp-4); font-size: 14.5px; }

.btn{ display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
    padding: 12px 22px; border: 1px solid var(--blue); border-radius: var(--r-sm);
    background: var(--blue); color: #fff; font-family: inherit; font-size: 15px;
    font-weight: 650; text-decoration: none; cursor: pointer; transition: background .14s ease; }
.btn:hover{ background: var(--navy); }
.btn.ghost{ background: var(--surface); color: var(--blue); }
.btn.ghost:hover{ background: var(--blue-soft); }
.btn.disabled{ background: var(--line-soft); border-color: var(--line); color: var(--faint);
    cursor: not-allowed; pointer-events: none; }

.pill{ display: inline-block; padding: 4px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.pill.ok{ background: var(--ok-bg); color: var(--ok); }
.pill.danger{ background: var(--bad-bg); color: var(--bad); }
.pill.warn{ background: var(--warn-bg); color: var(--warn); }
.pill.muted{ background: var(--line-soft); color: var(--muted); }

.row{ display: flex; justify-content: space-between; gap: var(--sp-4);
    padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.row:last-child{ border-bottom: 0; }
.row .k{ color: var(--muted); font-size: 13.5px; }
.row .v{ font-weight: 650; text-align: right; }

/* ── the journey ────────────────────────────────────────────────────────── */
.track{ background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: var(--sp-2) var(--sp-5) var(--sp-4); margin-bottom: var(--sp-4); box-shadow: var(--shadow); }
.tstep{ display: flex; gap: var(--sp-4); padding: 13px 0; position: relative; }
.tstep::before{ content: ''; position: absolute; left: 16px; top: 40px; bottom: -13px;
    width: 2px; background: var(--line); }
.tstep:last-child::before{ display: none; }
.tmark{ flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13.5px; font-weight: 800; position: relative; z-index: 1;
    background: var(--bg); color: var(--faint); border: 2px solid var(--line); }
.tbody{ padding-top: 5px; min-width: 0; }
.ttitle{ font-size: 15px; font-weight: 700; color: var(--faint); }
.tdetail{ font-size: 13.5px; color: var(--faint); margin-top: 2px; }

.tstep.done .tmark{ background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.tstep.done .ttitle{ color: var(--ink-2); }
.tstep.done .tdetail{ color: var(--muted); }
.tstep.done::before{ background: var(--ok-line); }

.tstep.current .tmark{ background: var(--blue); border-color: var(--blue); color: #fff; }
.tstep.current .ttitle{ color: var(--navy); font-size: 16px; }
.tstep.current .tdetail{ color: var(--ink-2); }

.tstep.stopped .tmark{ background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.tstep.stopped .ttitle, .tstep.stopped .tdetail{ color: var(--bad); }
.tstep.halted{ opacity: .38; }

/* ── announcements ──────────────────────────────────────────────────────── */
.ann{ border-radius: var(--r-lg); padding: var(--sp-5); margin-bottom: var(--sp-4); border: 1px solid; }
.ann h2{ margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ann p{ margin: 0; font-size: 14.5px; }
.ann .tag{ display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .11em;
    text-transform: uppercase; margin-bottom: 9px; opacity: .7; }
.ann.good{ background: var(--ok-bg);   border-color: var(--ok-line);   color: #14532d; }
.ann.info{ background: var(--blue-soft); border-color: var(--blue-line); color: #123a5c; }
.ann.warn{ background: var(--warn-bg); border-color: var(--warn-line); color: #6b4708; }
.ann.bad { background: var(--bad-bg);  border-color: var(--bad-line);  color: #7c1d1d; }

/* ── what to do now ─────────────────────────────────────────────────────── */
.todo{ border-color: var(--blue-line); }
.cl{ list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.cl li{ display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
    font-size: 14.5px; color: var(--ink-2); }
.cl li.ok{ color: var(--faint); text-decoration: line-through; }
.cl .bx{ flex: 0 0 20px; width: 20px; height: 20px; border: 2px solid var(--line);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--ok); margin-top: 1px; }
.cl li.ok .bx{ background: var(--ok-bg); border-color: var(--ok-line); }

/* ── exam block ─────────────────────────────────────────────────────────── */
.exam{ background: var(--blue-soft); border: 1px solid var(--blue-line);
    border-radius: var(--r); padding: var(--sp-4); margin-top: var(--sp-4); }
.exam h3{ margin: 0 0 10px; font-size: 12px; text-transform: uppercase;
    letter-spacing: .09em; color: var(--blue); font-weight: 700; }
.reply{ background: var(--surface); border: 1px solid var(--blue-line);
    border-radius: var(--r); padding: var(--sp-4); margin-top: var(--sp-4); }
.reply strong{ font-size: 15px; }
.reply p{ margin: 4px 0 12px; font-size: 13.5px; color: var(--muted); }
.reply .why{ width: 100%; padding: 11px 13px; border: 1px solid var(--line);
    border-radius: var(--r-sm); font-size: 16px; font-family: inherit; margin-bottom: 12px; }
.rbtns{ display: flex; gap: 10px; flex-wrap: wrap; }
.replied{ border-radius: var(--r-sm); padding: 12px 15px; margin-top: var(--sp-4);
    font-size: 14px; font-weight: 650; border: 1px solid; }
.replied.ok{ background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.replied.no{ background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.replied .w{ font-weight: 400; margin-top: 5px; font-size: 13.5px; }

/* ── remarks, deadline ──────────────────────────────────────────────────── */
.remarks{ background: var(--warn-bg); border: 1px solid var(--warn-line);
    border-radius: var(--r); padding: var(--sp-4); margin-top: var(--sp-4); }
.remarks h3{ margin: 0 0 7px; font-size: 12px; text-transform: uppercase;
    letter-spacing: .09em; color: var(--warn); font-weight: 700; }
.remarks p{ margin: 0; color: #4a3206; white-space: pre-wrap; font-size: 14.5px; }
.deadline{ background: var(--blue-soft); border: 1px solid var(--blue-line);
    border-radius: var(--r); padding: 12px 16px; font-size: 14px;
    color: #123a5c; font-weight: 650; margin-bottom: var(--sp-4); }
.closed-why{ color: var(--warn); background: var(--warn-bg); border: 1px solid var(--warn-line);
    border-radius: var(--r-sm); padding: 11px 14px; font-size: 13.5px; margin: 12px 0 0; }

/* ── requirements & re-upload ───────────────────────────────────────────── */
.docs{ display: flex; flex-direction: column; gap: 7px; margin-top: var(--sp-3); }
.d{ font-size: 14px; padding: 10px 13px; border-radius: var(--r-sm); border: 1px solid; }
.d.ok { background: var(--ok-bg);  color: var(--ok);  border-color: var(--ok-line); }
.d.no { background: var(--bad-bg); color: var(--bad); border-color: var(--bad-line); }
.d.opt{ background: var(--bg);     color: var(--faint); border-color: var(--line-soft); }

.rej{ border: 1px solid var(--bad-line); background: var(--bad-bg);
    border-radius: var(--r); padding: var(--sp-4); margin-bottom: var(--sp-3); }
.rej-t{ font-size: 15px; font-weight: 700; color: #7c1d1d; margin-bottom: 6px; }
.rej-why{ font-size: 13.5px; color: var(--bad); background: #fbe3e3;
    border-radius: var(--r-sm); padding: 10px 13px; margin-bottom: 12px; }
.rej-f{ display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.rej-f input[type=file]{ font-size: 14px; padding: 9px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-sm); flex: 1; min-width: 190px; }

/* ── my details ─────────────────────────────────────────────────────────── */
.kv{ display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--sp-4); }
.kv .i{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv .i.wide{ grid-column: 1 / -1; }
.kv .i .k{ font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--faint); font-weight: 700; }
.kv .i .v{ font-size: 14.5px; word-break: break-word; }
.sechead{ margin: var(--sp-5) 0 var(--sp-2); font-size: 11.5px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
    padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }

@media (max-width: 640px){
    .card{ padding: var(--sp-4); border-radius: var(--r); }
    .track{ padding: var(--sp-1) var(--sp-4) var(--sp-3); }
    .tstep{ gap: var(--sp-3); padding: 11px 0; }
    .ttitle{ font-size: 14.5px; }
    .tstep.current .ttitle{ font-size: 15px; }
    .ann{ padding: var(--sp-4); }
    .btn{ width: 100%; }
    .rbtns .btn{ width: 100%; }
    .kv{ grid-template-columns: 1fr; }
    .rej-f{ flex-direction: column; align-items: stretch; }
    .rej-f input[type=file]{ width: 100%; }
}

/* ── the released-result view ───────────────────────────────────────────── */
.bringlist{ margin: var(--sp-3) 0 0; padding-left: 22px; }
.bringlist li{ margin-bottom: 9px; font-size: 14.5px; color: var(--ink-2); }
.bringlist li::marker{ font-weight: 700; color: var(--blue); }

/* ── SPDF: rows that read like the paper form ───────────────────────────── */
.eqrow{ display: grid; grid-template-columns: 1fr auto 1.2fr; gap: var(--sp-3);
    align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.eqrow:last-child{ border-bottom: 0; }
.eqlab{ font-size: 14px; color: var(--ink-2); }
.eqrow .a-ticks{ padding-top: 0; gap: var(--sp-3); }

.edurow{ display: grid; grid-template-columns: 118px 1.5fr 1fr 1.2fr; gap: var(--sp-3);
    align-items: center; margin-bottom: 10px; }
.edulab{ font-size: 14px; font-weight: 650; color: var(--ink-2); }

.pledge{ background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
    padding: 16px 18px; font-size: 14px; font-style: italic; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 760px){
    .eqrow{ grid-template-columns: 1fr; gap: 7px; padding: 13px 0; }
    .eqlab{ font-weight: 650; }
    .edurow{ grid-template-columns: 1fr; gap: 7px; margin-bottom: 18px;
        padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
    .edulab{ font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
}

/* ── enrolment: what is done and what is waiting ────────────────────────── */
.secs{ display: flex; flex-direction: column; gap: 2px; margin-top: var(--sp-3); }
.sec{ display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px;
    border-radius: var(--r-sm); }
.sec.ok{ background: var(--ok-bg); }
.sec.todo{ background: var(--warn-bg); border: 1px solid var(--warn-line); }
.sec .mk{ flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; margin-top: 1px; }
.sec.ok .mk{ background: var(--ok); color: #fff; }
.sec.todo .mk{ background: var(--surface); border: 2px solid var(--warn-line); }
.sec .bd{ min-width: 0; }
.sec .nm{ display: block; font-size: 14.5px; font-weight: 650; }
.sec.ok .nm{ color: var(--ink-2); }
.sec.todo .nm{ color: var(--warn); }
.sec .nt{ display: block; font-size: 12.5px; margin-top: 2px; }
.sec.ok .nt{ color: var(--muted); }
.sec.todo .nt{ color: #8a5c0d; }
.tagx{ display: inline-block; font-size: 10.5px; font-weight: 600; text-transform: none;
    letter-spacing: 0; color: var(--ok); background: var(--surface);
    border: 1px solid var(--ok-line); border-radius: 999px; padding: 1px 8px;
    margin-left: 6px; vertical-align: 1px; }
@media (max-width: 640px){
    .sec{ padding: 10px; gap: 10px; }
    .sec .nm{ font-size: 14px; }
    .tagx{ display: block; margin: 4px 0 0; width: fit-content; }
}
