/*************************
**  Our Tasmania Website
**  Site Information pages styles sheet
**  Build V. 0.2
**  Build Notes: the elements that relate to the information pages & components of the site dark build
**
**********************/



/* build version pill in hero */
.hero-build-pill {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em;
    color: var(--emerald-lt);
    background: rgba(90,158,58,.12);
    padding: .4rem 1rem; border-radius: 100px;
    margin-top: 1.5rem;
}
.hero-build-pill i { font-size: .75rem; }


/* ═══════════════════════════════════════════════════
   INTRO BLOCK
═══════════════════════════════════════════════════ */
.intro-block {
    background: var(--bg-card);
    border-radius: var(--radius-lg); padding: 3.5rem;
    position: relative; overflow: hidden;
}
.intro-block::after {
    content: ''; position: absolute; bottom: -60px; right: -60px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,158,58,.06) 0%, transparent 70%);
    pointer-events: none;
}
.intro-block__overline {
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--emerald); margin-bottom: 1rem; display: block;
}
.intro-block__title {
    font-family: var(--font-display); font-size: 2rem; font-weight: 700;
    color: var(--ink); margin-bottom: 1rem; line-height: 1.2;
}
.intro-block__body { color: var(--ink-2); font-size: .925rem; line-height: 1.85; max-width: 700px; }

/* ═══════════════════════════════════════════════════
   MISSING FEATURES LIST
═══════════════════════════════════════════════════ */
.section-head { margin-bottom: 2rem; }
.section-head__over {
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--emerald); margin-bottom: .75rem; display: block;
}
.section-head__title {
    font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900; color: var(--ink); line-height: 1.1;
}

.feature-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: .6rem;
}
.feature-list li {
    display: flex; align-items: center; gap: .85rem;
    background: var(--bg-card);
    border-radius: var(--radius); padding: .85rem 1.1rem;
    font-size: .88rem; color: var(--ink-2);
    transition: background .2s;
}
.feature-list li:hover { background: var(--bg-2); }
/* A filled marker: the ring around it was an outline on a 7px dot. */
.feature-list li::before {
    content: ''; flex-shrink: 0; width: 7px; height: 7px;
    border-radius: 50%; background: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
    SIDEBAR WIDGETS
═══════════════════════════════════════════════════ */
.sidebar-widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg); padding: 1.75rem;
    position: relative; overflow: hidden;
}
.sidebar-widget::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--emerald), transparent);
}
.sidebar-widget__title {
    font-family: var(--font-mono); font-size: .62rem;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--emerald); margin-bottom: 1rem; display: block;
}

/* Build version display */
.build-label {
    font-family: var(--font-mono); font-size: .68rem;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--ink-4); text-align: center; display: block; margin-bottom: .4rem;
}
.build-number {
    font-family: var(--font-display); font-size: 3rem; font-weight: 900;
    color: var(--emerald); text-align: center; display: block;
    line-height: 1; letter-spacing: -.03em; margin-bottom: 1.25rem;
}
.btn-sidebar-link {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; padding: .65rem 1rem;
    background: rgba(90,158,58,.1);
    border-radius: var(--radius); color: var(--emerald);
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
    text-decoration: none; transition: all .2s;
}
.btn-sidebar-link:hover { background: var(--emerald); color: #0e100f; }

/* Progress bar */
.ot-progress-label {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: .65rem;
}
.ot-progress-label span:first-child {
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-3);
}
.ot-progress-label span:last-child {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 800;
    color: var(--emerald); line-height: 1;
}
.ot-progress-track {
    height: 6px; background: rgba(255,255,255,.06);
    border-radius: 100px; overflow: hidden;
   
}
.ot-progress-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, var(--emerald), var(--emerald-lt));
    width: 0; /* animated by JS */
    transition: width 1.6s cubic-bezier(.25,.46,.45,.94);
    box-shadow: 0 0 8px var(--emerald-dim);
}
.ot-progress-note {
    font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em;
    color: var(--ink-4); margin-top: .6rem; display: block;
}

/* ═══════════════════════════════════════════════════
    TODO TABLE
═══════════════════════════════════════════════════ */
.ot-table-wrap {
    background: var(--bg-card); 
    border-radius: var(--radius-lg); overflow: hidden;
    position: relative;
}
.ot-table-wrap::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}
.ot-table-header {
    padding: 1.5rem 2rem 1.25rem;
    border-bottom: 1px solid var(--rule);
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.ot-table-header__title {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
    color: var(--ink); margin: 0;
}
.ot-table-header__count {
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--ink-4);
}

/* Scrollable table */
.ot-table-scroll { overflow-x: auto; }
.ot-table {
    width: 100%; border-collapse: collapse;
    font-size: .85rem;
}
.ot-table thead tr {
    border-bottom: 1px solid var(--rule);
}
.ot-table thead th {
    padding: .85rem 1.2rem;
    font-family: var(--font-mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--ink-4); font-weight: 500;
    white-space: nowrap; text-align: left;
}
.ot-table thead th.col-center { text-align: center; }
.ot-table tbody tr {
    border-bottom: 1px solid var(--rule);
    transition: background .15s;
}
.ot-table tbody tr:last-child { border-bottom: none; }
.ot-table tbody tr:hover { background: rgba(255,255,255,.025); }
.ot-table td {
    padding: 1rem 1.2rem; vertical-align: middle; color: var(--ink-2);
    white-space: nowrap;
}
.ot-table td.col-detail { white-space: normal; min-width: 220px; }
.ot-table td.col-center { text-align: center; }

.td-name {
    font-family: var(--font-display); font-size: .92rem; font-weight: 700;
    color: var(--ink); display: block; margin-bottom: .2rem;
}
.td-desc {
    font-size: .78rem; color: var(--ink-3); line-height: 1.5;
}
.td-tasks {
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
    color: var(--ink); line-height: 1; display: block;
}
.td-tasks-label {
    font-family: var(--font-mono); font-size: .58rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-4);
}
.td-date {
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-3);
}

/* status & priority badges — bespoke dark tokens */
.ot-badge {
    display: inline-flex; align-items: center; gap: .3rem;
    font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
    /* Uppercase mono: the line box reserves descender space the caps never
       use, so even padding prints them high. Top padding carries the
       difference, as on .tag-chip. */
    padding: .32rem .75rem .24rem; border-radius: 100px; font-weight: 500;
    white-space: nowrap; 
}
.ot-badge--priority  { background: var(--mustard-dim);  border-color: var(--mustard-rule);   color: var(--mustard); }
.ot-badge--urgent    { background: var(--red-dim);  border-color: var(--red-rule);   color: var(--red); }
.ot-badge--low       { background: var(--survey-dim);  border-color: var(--survey-rule);   color: var(--survey); }
.ot-badge--inprogress{ background: var(--sky-dim);  border-color: var(--sky-rule);   color: var(--sky); }
.ot-badge--testing   { background: var(--coral-dim);  border-color: var(--coral-rule);   color: var(--coral); }
.ot-badge--planning  { background: var(--teal-dim);  border-color: var(--teal-rule);   color: var(--teal); }
.ot-badge--done      { background: var(--emerald-dim); border-color: var(--emerald-rule);    color: var(--emerald-lt); }
.ot-badge--suspend { background: var(--amber-dim); border-color: var(--amber-rule); color: var(--amber);}

/* view action button */
.td-action {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius); color: var(--ink-3);
    text-decoration: none; transition: all .2s;
}
.td-action:hover { background: var(--emerald-dim); color: var(--emerald); }

/* table footer */
.ot-table tfoot td {
    padding: .85rem 1.2rem;
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .08em;
    color: var(--ink-3); border-top: 1px solid var(--rule);
    background: rgba(255,255,255,.015);
}
.ot-table tfoot .total-count { color: var(--emerald); font-weight: 600; }

/* ═══════════════════════════════════════════════════
    SCRIPTS SECTION
═══════════════════════════════════════════════════ */
.script-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
@media (max-width: 991px) { .script-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .script-grid { grid-template-columns: 1fr; } }

.script-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg); padding: 1.5rem 1.6rem;
    text-decoration: none; display: block;
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.script-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--emerald);
    transform: scaleY(0); transform-origin: bottom;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.script-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.script-card:hover::before { transform: scaleY(1); }
.script-card__icon {
    font-size: 1.4rem; color: var(--emerald); margin-bottom: .9rem; display: block;
}
.script-card__name {
    font-family: var(--font-display); font-size: .95rem; font-weight: 700;
    color: var(--ink); margin-bottom: .4rem;
}
.script-card__desc { font-size: .8rem; color: var(--ink-3); line-height: 1.6; }
.script-card__link {
    display: inline-flex; align-items: center; gap: .3rem;
    font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--emerald); margin-top: .9rem;
}

/* Light theme: site-information surfaces use the shared ivory field-guide treatment. */
html[data-theme="light"] .intro-block,
html[data-theme="light"] .script-card,
html[data-theme="light"] .sidebar-widget {
    background: var(--bg-card);

    color: var(--ink);
    box-shadow: 0 8px 24px rgba(55,45,28,.06);
}

html[data-theme="light"] .intro-block__body,
html[data-theme="light"] .ot-progress-note,
html[data-theme="light"] .script-card__desc {
    color: var(--ink-2);
}

html[data-theme="light"] .ot-badge--priority {
    background: var(--status-priority-bg);
    border-color: var(--status-priority-border);
    color: var(--status-priority-fg);
}
html[data-theme="light"] .ot-badge--urgent {
    background: var(--status-urgent-bg);
    border-color: var(--status-urgent-border);
    color: var(--status-urgent-fg);
}
html[data-theme="light"] .ot-badge--low {
    background: var(--status-low-bg);
    border-color: var(--status-low-border);
    color: var(--status-low-fg);
}
html[data-theme="light"] .ot-badge--inprogress {
    background: var(--status-progress-bg);
    border-color: var(--status-progress-border);
    color: var(--status-progress-fg);
}
html[data-theme="light"] .ot-badge--testing {
    background: var(--status-testing-bg);
    border-color: var(--status-testing-border);
    color: var(--status-testing-fg);
}
html[data-theme="light"] .ot-badge--planning {
    background: var(--status-planning-bg);
    border-color: var(--status-planning-border);
    color: var(--status-planning-fg);
}
html[data-theme="light"] .ot-badge--done {
    background: var(--status-done-bg);
    border-color: var(--status-done-border);
    color: var(--status-done-fg);
}
html[data-theme="light"] .ot-badge--suspend {
    background: var(--status-suspend-bg);
    border-color: var(--status-suspend-border);
    color: var(--status-suspend-fg);
}


/* ═══════════════════════════════════════════════════
   CHANGELOG  (changelog.php)
   Moved out of the page's <style> block 2026-09-16, which had been marked
   "temporary". Outline borders removed at the same time: the pills, tags, TOC
   card and timeline dot are fills now. The row dividers inside a change list
   and the 3px accent edge on an entry head are kept.
═══════════════════════════════════════════════════ */
/* ════════════════════════════════════
       CHANGELOG-SPECIFIC STYLES
       ════════════════════════════════════ */

/* ── Layout: sidebar TOC + main entries ── */
.cl-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ── Sticky TOC sidebar ── */
.cl-toc {
    position: sticky;
    top: 5rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.cl-toc__title {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cl-toc__title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--rule);
}

.cl-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.cl-toc__item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    text-decoration: none;
    padding: 0.45rem 0.6rem;
    border-radius: calc(var(--radius) - 2px);
    transition: background 0.15s, color 0.15s;
}

.cl-toc__item a:hover {
    background: var(--emerald-xdim);
    color: var(--ink);
}

.cl-toc__item--current a {
    background: var(--emerald-xdim);
    color: var(--emerald-lt);
}

.cl-toc__badge {
    /* Sits on .ot-badge; only the tighter TOC sizing differs. */
    font-size: 0.58rem;
    padding: 0.24rem 0.45rem 0.06rem;
}

/* ── Version entries ── */
.cl-entries {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cl-entry {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 3rem;
}

/* Vertical timeline line */
.cl-entry::before {
    content: '';
    position: absolute;
    left: 0.45rem;
    top: 0.6rem;
    bottom: 0;
    width: 1px;
    background: var(--rule);
}

.cl-entry:last-child::before {
    display: none;
}

/* Timeline dot */
.cl-entry::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--emerald-rule);
    transition: background 0.2s;
}

.cl-entry--latest::after {
    background: var(--emerald);
    box-shadow: 0 0 0 4px var(--emerald-xdim);
}

/* ── Entry header ── */
.cl-entry__head {
    background: var(--bg-card);
    border-left: 3px solid var(--emerald-rule);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cl-entry--latest .cl-entry__head {
    border-left-color: var(--emerald);
    background: var(--bg-2);
}

.cl-entry__version {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.cl-entry__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cl-entry__date {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cl-entry__summary {
    font-size: 0.85rem;
    color: var(--ink-2);
    line-height: 1.7;
    margin-top: 0.5rem;
}

/* ── Change-type tags on list items ── */
.cl-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.19rem 0.45rem 0.05rem;
    border-radius: 3px;
    margin-right: 0.4rem;
    vertical-align: middle;
    white-space: nowrap;
}

.cl-tag--added {
    background: var(--emerald-xdim);
    color: var(--emerald-lt);
}

.cl-tag--fixed {
    background: var(--amber-dim);
    color: var(--amber-lt);
}

.cl-tag--changed {
    background: var(--teal-dim);
    color: var(--teal);
}

.cl-tag--removed {
    background: var(--red-dim);
    color: var(--red);
}

/* ── Change list ── */
.cl-list {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.cl-list__section {
    border-bottom: 1px solid var(--rule);
}

.cl-list__section:last-child {
    border-bottom: none;
}

.cl-list__section-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--rule);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-4);
}

.cl-list__items {
    padding: 0.5rem 0;
}

.cl-list__item {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.83rem;
    color: var(--ink-2);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cl-list__item:last-child {
    border-bottom: none;
}

.cl-list__item:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ── Empty entry note ── */
.cl-empty {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: var(--ink-4);
    font-style: italic;
    padding: 1rem 1.25rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .cl-layout {
        grid-template-columns: 1fr;
    }

    .cl-toc {
        position: static;
    }
}

/* Replaced style="" attributes on the page. */
.cl-toc__empty {
    display: block;
    font-size: 0.72rem; color: var(--ink-3);
    padding: 0.4rem 0.6rem;
}
.cl-entry__title {
    font-family: var(--font-body); font-weight: 400;
    font-size: 1rem; color: var(--ink-2);
}
/* How many entries a change group holds, beside its tag in the group head. */
.cl-list__count {
    margin-left: auto;
    font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.1em;
    color: var(--ink-3); text-transform: none;
}
.cl-list--empty { padding: 2rem; text-align: center; }

/* Status badges for release state. The pill itself is .ot-badge above; these
   four only add the colours, the way the task-status modifiers do. */
.ot-badge--latest { background: var(--emerald-dim);  color: var(--emerald-lt); }
.ot-badge--stable { background: var(--emerald-xdim); color: var(--ink-2); }
.ot-badge--alpha  { background: var(--amber-dim);    color: var(--amber-lt); }
.ot-badge--beta   { background: var(--teal-dim);     color: var(--teal); }

/* Light theme: the changelog surfaces above lean on white-alpha washes, which
   vanish on the ivory ground, and the dark-theme accents lose contrast. */
html[data-theme="light"] .cl-toc,
html[data-theme="light"] .cl-entry__head,
html[data-theme="light"] .cl-list {
    background: var(--bg-card);
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(55,45,28,.06);
}
html[data-theme="light"] .cl-entry::after { background: var(--emerald-drk); }
html[data-theme="light"] .cl-toc__title { color: var(--emerald-drk); }
html[data-theme="light"] .cl-toc__item a { color: var(--ink-2); }
html[data-theme="light"] .cl-toc__item--current a { color: var(--emerald-drk); }
html[data-theme="light"] .cl-toc__badge { color: var(--emerald-drk); }
html[data-theme="light"] .cl-list__count,
html[data-theme="light"] .cl-entry__date,
html[data-theme="light"] .cl-list__section-head,
html[data-theme="light"] .cl-toc__empty,
html[data-theme="light"] .cl-empty { color: var(--ink-2); }
html[data-theme="light"] .cl-list__section-head { background: var(--parchment-dim); }
html[data-theme="light"] .cl-list__item { border-bottom-color: var(--rule); }
html[data-theme="light"] .cl-list__item:hover { background: var(--parchment-dim); }
html[data-theme="light"] .ot-badge--latest { background: var(--status-done-bg);     color: var(--status-done-fg); }
html[data-theme="light"] .ot-badge--stable { background: var(--status-low-bg);      color: var(--status-low-fg); }
html[data-theme="light"] .ot-badge--alpha  { background: var(--status-suspend-bg);  color: var(--status-suspend-fg); }
html[data-theme="light"] .ot-badge--beta   { background: var(--status-planning-bg); color: var(--status-planning-fg); }
html[data-theme="light"] .cl-tag--added   { background: var(--status-done-bg);     color: var(--status-done-fg); }
html[data-theme="light"] .cl-tag--fixed   { background: var(--status-suspend-bg);  color: var(--status-suspend-fg); }
html[data-theme="light"] .cl-tag--changed { background: var(--status-planning-bg); color: var(--status-planning-fg); }
html[data-theme="light"] .cl-tag--removed { background: var(--status-urgent-bg);   color: var(--status-urgent-fg); }

/* Section lede — the same paragraph treatment was written inline twice. */
.si-lede {
    color: var(--ink-2); font-size: .88rem; line-height: 1.8;
    margin-bottom: 1.25rem;
}
.si-lede--wide { max-width: 680px; margin-bottom: 2rem; }
