/* ================================================================
   GPPUMUM — Bespoke Component Design System
   Theme-aware via CSS custom properties (see base.html)
   ================================================================ */

/* ===== FOUNDATION ===== */
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
footer { margin-top: auto; }

/* ===== ANIMATIONS ===== */
@keyframes gppFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes gppSlideIn {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===================================================
   GPP-HERO — Full-width hero / header panel
   =================================================== */
.gpp-hero {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    animation: gppFadeUp 0.5s ease both;
}
.gpp-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--purple), var(--cyan));
}
.gpp-hero__icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    background: var(--accent-glow);
    color: var(--accent);
    margin: 0 auto 16px;
}
.gpp-hero__tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 12px;
}
.gpp-hero__title {
    font-size: 28px; font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.2;
}
.gpp-hero__subtitle {
    font-size: 15px; font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.gpp-hero__desc {
    font-size: 14px; line-height: 1.7;
    color: var(--text-muted);
    max-width: 720px;
}
.gpp-hero--center { text-align: center; }
.gpp-hero--center .gpp-hero__desc { margin: 0 auto; }
.gpp-hero__actions { margin-top: 20px; }

/* ===================================================
   GPP-STATS — Stat card row
   =================================================== */
.gpp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.gpp-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
    animation: gppFadeUp 0.4s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gpp-stat:nth-child(2) { animation-delay: 0.06s; }
.gpp-stat:nth-child(3) { animation-delay: 0.12s; }
.gpp-stat:nth-child(4) { animation-delay: 0.18s; }
.gpp-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.gpp-stat::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
}
.gpp-stat--accent::after { background: var(--accent); }
.gpp-stat--green::after  { background: var(--green); }
.gpp-stat--cyan::after   { background: var(--cyan); }
.gpp-stat--amber::after  { background: var(--amber); }
.gpp-stat--purple::after { background: var(--purple); }
.gpp-stat--red::after    { background: var(--red); }

.gpp-stat__label {
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.gpp-stat__value {
    font-family: 'Space Mono', monospace;
    font-size: 34px; font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
}
.gpp-stat--accent .gpp-stat__value { color: var(--accent); }
.gpp-stat--green  .gpp-stat__value { color: var(--green); }
.gpp-stat--cyan   .gpp-stat__value { color: var(--cyan); }
.gpp-stat--amber  .gpp-stat__value { color: var(--amber); }
.gpp-stat--purple .gpp-stat__value { color: var(--purple); }
.gpp-stat--red    .gpp-stat__value { color: var(--red); }

.gpp-stat__icon {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 22px;
    opacity: 0.25;
    color: var(--text-muted);
}

/* ===================================================
   GPP-SECTION — Section header with optional actions
   =================================================== */
.gpp-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.gpp-section__title {
    font-size: 18px; font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text);
}
.gpp-section__subtitle {
    font-size: 13px; color: var(--text-muted);
    margin-top: 2px;
}
.gpp-section__lead {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ===================================================
   GPP-GRID — Card grid layouts
   =================================================== */
.gpp-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}
.gpp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.gpp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.gpp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.gpp-grid--1 { grid-template-columns: 1fr; }

/* ===================================================
   GPP-CARD — Bespoke content card
   =================================================== */
.gpp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: gppFadeUp 0.4s ease both;
    display: flex;
    flex-direction: column;
}
.gpp-card:nth-child(2) { animation-delay: 0.06s; }
.gpp-card:nth-child(3) { animation-delay: 0.06s; }
.gpp-card:nth-child(4) { animation-delay: 0.12s; }
.gpp-card:nth-child(5) { animation-delay: 0.18s; }
.gpp-card:nth-child(6) { animation-delay: 0.24s; }
.gpp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}
.gpp-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gpp-card__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}
.gpp-card__icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin: 0 auto 14px;
    background: var(--accent-glow);
    color: var(--accent);
}
.gpp-card__icon--green  { background: var(--green-bg); color: var(--green); }
.gpp-card__icon--cyan   { background: var(--cyan-bg); color: var(--cyan); }
.gpp-card__icon--amber  { background: var(--amber-bg); color: var(--amber); }
.gpp-card__icon--purple { background: var(--purple-bg); color: var(--purple); }

.gpp-card__title {
    font-size: 16px; font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--text);
    margin-bottom: 4px;
}
.gpp-card__subtitle {
    font-size: 13px; color: var(--text-secondary);
    margin-bottom: 8px;
}
.gpp-card__text {
    font-size: 13px; line-height: 1.6;
    color: var(--text-muted);
    flex: 1;
}
.gpp-card--center { text-align: center; }
.gpp-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* ===================================================
   GPP-TOOL — Tool/feature card (calculator, gallery etc.)
   =================================================== */
.gpp-tool {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-tool:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}
.gpp-tool__icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}
.gpp-tool__icon--accent { background: var(--accent-glow); color: var(--accent); }
.gpp-tool__icon--green  { background: var(--green-bg); color: var(--green); }
.gpp-tool__icon--cyan   { background: var(--cyan-bg); color: var(--cyan); }

.gpp-tool__title {
    font-size: 16px; font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}
.gpp-tool__desc {
    font-size: 13px; line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===================================================
   GPP-PANEL — Content panel with tagged header
   =================================================== */
.gpp-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-panel__header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px; font-weight: 600;
    color: var(--text);
}
.gpp-panel__header--accent { background: rgba(59, 130, 246, 0.06); }
.gpp-panel__header--green  { background: rgba(16, 185, 129, 0.06); }
.gpp-panel__header--cyan   { background: rgba(6, 182, 212, 0.06); }
.gpp-panel__header--amber  { background: rgba(245, 158, 11, 0.06); }
.gpp-panel__header--purple { background: rgba(139, 92, 246, 0.06); }

.gpp-panel__tag {
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 4px;
}
.gpp-panel__tag--accent { background: rgba(59, 130, 246, 0.15); color: var(--accent); }
.gpp-panel__tag--green  { background: var(--green-bg); color: var(--green); }
.gpp-panel__tag--cyan   { background: var(--cyan-bg); color: var(--cyan); }
.gpp-panel__tag--amber  { background: var(--amber-bg); color: var(--amber); }
.gpp-panel__tag--purple { background: var(--purple-bg); color: var(--purple); }

.gpp-panel__body {
    padding: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ===================================================
   GPP-TABLE — Custom data table
   =================================================== */
.gpp-table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.gpp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.gpp-table thead th {
    background: var(--surface-2);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.gpp-table thead th:last-child { text-align: center; }
.gpp-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.gpp-table tbody tr:hover { background: var(--surface-2); }
.gpp-table tbody tr:last-child { border-bottom: none; }
.gpp-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--text);
}
.gpp-table tbody td:last-child { text-align: center; }

.gpp-table--inline {
    border: none;
    border-radius: 0;
}

/* ===================================================
   GPP-BADGE — Semantic inline badge
   =================================================== */
.gpp-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2px;
}
.gpp-badge--accent { background: rgba(59, 130, 246, 0.15); color: var(--accent); }
.gpp-badge--green  { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.gpp-badge--amber  { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.gpp-badge--red    { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.gpp-badge--cyan   { background: var(--cyan-bg); color: var(--cyan); border: 1px solid var(--cyan-border); }
.gpp-badge--purple { background: var(--purple-bg); color: var(--purple); border: 1px solid var(--purple-border); }
.gpp-badge--muted  { background: var(--empty); color: var(--text-muted); }
.gpp-badge--lg {
    font-size: 14px;
    padding: 5px 14px;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
}

/* ===================================================
   GPP-BREADCRUMB — Custom breadcrumb trail
   =================================================== */
.gpp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    font-size: 13px;
    animation: gppSlideIn 0.4s ease both;
}
.gpp-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gpp-breadcrumb li + li::before {
    content: '';
    width: 4px; height: 4px;
    background: var(--border-light);
    border-radius: 50%;
    flex-shrink: 0;
}
.gpp-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
}
.gpp-breadcrumb a:hover { color: var(--accent); }
.gpp-breadcrumb__active {
    color: var(--text-muted);
    font-weight: 500;
}

/* ===================================================
   GPP-SEARCH — Search input bar
   =================================================== */
.gpp-search {
    display: flex;
    gap: 0;
    max-width: 640px;
    margin: 0 auto 28px;
}
.gpp-search__input {
    flex: 1;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    padding: 12px 18px;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gpp-search__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.gpp-search__input::placeholder { color: var(--text-muted); }
.gpp-search__btn {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.gpp-search__btn:hover { background: var(--accent-hover); }

/* ===================================================
   GPP-EMPTY — Empty state / no results
   =================================================== */
.gpp-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-empty__icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.5;
}
.gpp-empty__title {
    font-size: 16px; font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.gpp-empty__text {
    font-size: 13px; line-height: 1.6;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto;
}
.gpp-empty__list {
    list-style: none; padding: 0;
    margin: 12px auto 0;
    max-width: 300px;
    text-align: left;
}
.gpp-empty__list li {
    font-size: 13px;
    color: var(--text-muted);
    padding: 4px 0 4px 16px;
    position: relative;
}
.gpp-empty__list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ===================================================
   GPP-NOTES — Warning / notes callout
   =================================================== */
.gpp-notes {
    background: var(--amber-bg);
    border: 1px solid var(--amber-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-notes__title {
    font-size: 14px; font-weight: 600;
    color: var(--amber);
    margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px;
}
.gpp-notes__body {
    font-size: 13px; line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================================
   GPP-GALLERY — Illustration grid
   =================================================== */
.gpp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.gpp-gallery__item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-gallery__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.gpp-gallery__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gpp-gallery__item:hover .gpp-gallery__img {
    transform: scale(1.05);
}
.gpp-gallery__caption {
    padding: 14px 18px;
}
.gpp-gallery__title {
    font-size: 13px; font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.gpp-gallery__text {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===================================================
   GPP-PAGINATION — Custom pagination
   =================================================== */
.gpp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 32px;
}
.gpp-pagination__link {
    display: inline-flex;
    align-items: center; justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 12px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px; font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.gpp-pagination__link:hover {
    background: var(--surface-2);
    color: var(--accent);
    border-color: var(--border-light);
}
.gpp-pagination__link--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ===================================================
   GPP-BTN — Bespoke button variants
   =================================================== */
.gpp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: none;
    font-family: inherit;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}
.gpp-btn--accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
}
.gpp-btn--accent:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}
.gpp-btn--green {
    background: var(--green);
    color: #fff;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.3);
}
.gpp-btn--green:hover { filter: brightness(1.1); color: #fff; transform: translateY(-1px); }
.gpp-btn--cyan {
    background: var(--cyan);
    color: #fff;
    box-shadow: 0 2px 12px rgba(6, 182, 212, 0.3);
}
.gpp-btn--cyan:hover { filter: brightness(1.1); color: #fff; transform: translateY(-1px); }
.gpp-btn--ghost {
    background: var(--surface-3);
    color: var(--text);
    border: 1px solid var(--border);
}
.gpp-btn--ghost:hover {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--border-light);
}
.gpp-btn--sm {
    padding: 7px 14px;
    font-size: 12px;
}
.gpp-btn--lg {
    padding: 14px 28px;
    font-size: 15px;
}
.gpp-btn--full { width: 100%; justify-content: center; }

/* ===================================================
   GPP-RESULT — Search result card
   =================================================== */
.gpp-result {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    animation: gppFadeUp 0.4s ease both;
}
.gpp-result:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}
.gpp-result__title {
    font-size: 15px; font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.gpp-result__title a {
    color: var(--text);
    text-decoration: none;
}
.gpp-result__title a:hover { color: var(--accent); }
.gpp-result__path {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gpp-result__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ===================================================
   GPP-CALC — Calculator bespoke components
   =================================================== */
.gpp-calc-form {
    max-width: 780px;
    margin: 0 auto;
}
.gpp-calc-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 28px 0;
    opacity: 0.6;
}
.gpp-calc-results__title {
    font-size: 16px; font-weight: 600;
    letter-spacing: -0.2px;
    color: var(--text);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.gpp-calc-result {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    animation: gppFadeUp 0.4s ease both;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gpp-calc-result:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}
.gpp-calc-result:nth-child(2) { animation-delay: 0.06s; }
.gpp-calc-result:nth-child(3) { animation-delay: 0.12s; }
.gpp-calc-result:nth-child(4) { animation-delay: 0.18s; }
.gpp-calc-result--green  { border-left-color: var(--green); }
.gpp-calc-result--cyan   { border-left-color: var(--cyan); }
.gpp-calc-result--accent { border-left-color: var(--accent); }
.gpp-calc-result__label {
    font-size: 14px; font-weight: 500;
    color: var(--text);
}
.gpp-calc-result__values {
    display: flex; align-items: baseline; gap: 8px;
    flex-shrink: 0;
}
.gpp-calc-result__value {
    font-family: 'Space Mono', monospace;
    font-size: 28px; font-weight: 700;
    letter-spacing: -1px;
    color: var(--accent);
    line-height: 1;
}
.gpp-calc-result--green .gpp-calc-result__value  { color: var(--green); }
.gpp-calc-result--cyan  .gpp-calc-result__value   { color: var(--cyan); }
.gpp-calc-result__unit {
    font-size: 13px; font-weight: 500;
    color: var(--text-secondary);
}
.gpp-calc-result__note {
    font-size: 12px; line-height: 1.5;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex; align-items: center; gap: 6px;
}
.gpp-calc-result__body {
    flex: 1; min-width: 0;
}
.gpp-calc-actions {
    display: flex; gap: 10px;
    margin-top: 8px;
}

/* ===================================================
   LEGACY — Retained for calculator & gallery templates
   =================================================== */
.jumbotron { position: relative; overflow: hidden; }
.calculator-result {
    background: var(--surface-2);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1rem 0;
}
.result-value {
    font-size: 2rem; font-weight: bold;
    color: var(--accent);
    font-family: 'Space Mono', monospace;
}
.result-unit { font-size: 1.2rem; color: var(--text-secondary); }
.guideline-header {
    background: var(--surface-2);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    color: var(--text);
}
.guideline-header h1,
.guideline-header h2 { color: var(--text); }
.standard-table { margin: 1.5rem 0; }
.sector-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--accent); }
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg);
}
.gallery-item img {
    width: 100%; height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.display-1, .display-2, .display-3 {
    font-family: 'DM Sans', sans-serif;
    letter-spacing: -0.5px;
}

/* ===================================================
   RESPONSIVE — Breakpoints
   =================================================== */
@media (max-width: 900px) {
    .gpp-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .gpp-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .gpp-stats { grid-template-columns: repeat(2, 1fr); }
    .gpp-hero { padding: 28px 24px; }
    .gpp-hero__title { font-size: 22px; }
    .gpp-search { max-width: 100%; }
}
@media (max-width: 600px) {
    .gpp-grid--3, .gpp-grid--2, .gpp-grid--4 { grid-template-columns: 1fr; }
    .gpp-stats { grid-template-columns: 1fr; }
    .gpp-hero { padding: 24px 18px; }
    .gpp-hero__title { font-size: 20px; }
    .gpp-breadcrumb { font-size: 12px; flex-wrap: wrap; }
    .gpp-panel__header { flex-wrap: wrap; }
    .jumbotron { padding: 2rem 1rem; }
    .display-4 { font-size: 2rem; }
}
