:root {
    --navy-950: #071a33;
    --navy-900: #0a2444;
    --navy-800: #0d315d;
    --blue-700: #0d5ea6;
    --blue-600: #0875cf;
    --blue-100: #dceeff;
    --green-700: #08783d;
    --green-600: #0a9d51;
    --green-100: #dff7e9;
    --yellow-500: #f4c430;
    --yellow-100: #fff5cb;
    --red-600: #c93a43;
    --red-100: #ffe6e8;
    --ink: #142033;
    --muted: #647086;
    --soft: #8993a4;
    --line: #dfe5ec;
    --line-light: #edf1f5;
    --surface: #ffffff;
    --canvas: #f4f7fa;
    --radius-sm: 9px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(7, 26, 51, .05);
    --shadow: 0 18px 46px rgba(7, 26, 51, .11);
    --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-display: "Lora", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, strong { font-family: var(--font-display); }
.container-wide { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.container-narrow { width: min(780px, calc(100% - 48px)); margin-inline: auto; }
.muted { color: var(--muted); }

.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.button--small { min-height: 38px; padding: 0 14px; font-size: 12px; }
.button--block { width: 100%; }
.button--primary { color: white; background: var(--blue-700); box-shadow: 0 8px 18px rgba(13, 94, 166, .16); }
.button--primary:hover { background: var(--navy-800); }
.button--accent { color: var(--navy-950); background: var(--yellow-500); }
.button--accent:hover { background: #ffd84d; }
.button--light { color: var(--navy-950); background: white; }
.button--light:hover { background: var(--blue-100); }
.button--ghost-light { color: white; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.button--ghost-light:hover { background: rgba(255,255,255,.13); }
.button--subtle { color: var(--ink); border-color: var(--line); background: white; box-shadow: var(--shadow-sm); }
.button--subtle:hover { border-color: #b8c3d0; background: #f9fbfd; }
.button--danger { color: white; background: var(--red-600); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-700); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--navy-900); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--blue-700); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.kicker.light { color: #a9d7ff; }
.kicker i, .live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #38d980; box-shadow: 0 0 0 5px rgba(56, 217, 128, .14); }
.eyebrow { margin-bottom: 8px; color: var(--blue-700); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.back-link { display: block; margin-bottom: 28px; font-size: 13px; text-decoration: none; }
.back-link.light { color: #b9d5ef; }

/* Public shell */
.public-body { background: white; }
.public-header { position: sticky; z-index: 50; top: 0; height: 76px; border-bottom: 1px solid rgba(223, 229, 236, .9); background: rgba(255,255,255,.95); backdrop-filter: blur(18px); }
.public-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.public-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.public-brand img { width: 43px; height: 49px; object-fit: contain; }
.public-brand span { display: grid; line-height: 1.1; }
.public-brand strong { color: var(--navy-900); font-size: 17px; letter-spacing: .08em; }
.public-brand small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.public-nav { display: flex; align-items: center; gap: 25px; }
.public-nav > a:not(.button) { position: relative; color: #49566a; font-size: 13px; font-weight: 600; text-decoration: none; }
.public-nav > a:not(.button)::after { content: ""; position: absolute; right: 50%; bottom: -9px; left: 50%; height: 2px; background: var(--blue-600); transition: inset .18s ease; }
.public-nav > a:hover, .public-nav > a.active { color: var(--navy-900); }
.public-nav > a:hover::after, .public-nav > a.active::after { right: 0; left: 0; }
.public-menu-button { display: none; width: 42px; height: 42px; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.public-menu-button span, .menu-toggle span { width: 18px; height: 2px; display: block; border-radius: 4px; background: currentColor; }

.hero { position: relative; overflow: hidden; min-height: 630px; display: grid; align-items: center; color: white; background: var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(120,185,238,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(120,185,238,.055) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, black, transparent 70%); }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -160px; border: 1px solid rgba(126,190,242,.18); border-radius: 50%; box-shadow: 0 0 0 80px rgba(126,190,242,.035), 0 0 0 160px rgba(126,190,242,.025); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(390px, .93fr); align-items: center; gap: 70px; padding: 80px 0; }
.hero h1 { max-width: 720px; margin-bottom: 24px; font-size: clamp(42px, 5vw, 68px); line-height: 1.06; letter-spacing: -.055em; }
.hero h1 em { color: #66bdf6; font-style: normal; }
.hero__content > p { max-width: 640px; margin-bottom: 32px; color: #b9cce0; font-size: 17px; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #8297ad; font-size: 11px; }
.hero__trust strong { color: white; font-size: 11px; }
.hero__visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero__visual::before { content: ""; position: absolute; width: 390px; height: 390px; border: 1px dashed rgba(137,195,241,.3); border-radius: 50%; }
.hero__visual::after { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(137,195,241,.17); border-radius: 50%; }
.hero__seal { position: relative; z-index: 1; width: 230px; height: 230px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero__seal img { width: 175px; height: 190px; object-fit: contain; }
.orbit-card { position: absolute; z-index: 3; min-width: 165px; padding: 13px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(12,42,76,.88); box-shadow: 0 18px 36px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
.orbit-card--one { top: 36px; left: 10px; }
.orbit-card--two { right: -5px; bottom: 68px; }
.orbit-card--three { left: 42px; bottom: 6px; }
.orbit-card div { display: grid; }
.orbit-card small { color: #94aac0; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.orbit-card strong { margin-top: 3px; font-size: 12px; }
.orbit-icon { width: 33px; height: 33px; display: grid; place-items: center; color: var(--yellow-500); border-radius: 8px; background: rgba(244,196,48,.12); }

.public-stats { position: relative; z-index: 4; border-bottom: 1px solid var(--line); background: white; }
.public-stats__grid { min-height: 120px; display: grid; grid-template-columns: repeat(5, 1fr); }
.public-stat { padding: 28px 24px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.public-stat:last-child { border-right: 1px solid var(--line); }
.public-stat > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.public-stat strong { margin: 6px 0 4px; color: var(--navy-900); font-size: 31px; letter-spacing: -.04em; }
.public-stat small { color: var(--soft); font-size: 10px; }
.public-stat--meta strong { font-size: 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--canvas); }
.section--navy { color: white; background: var(--navy-950); }
.split-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.split-intro h2, .section-heading h2, .system-story h2, .public-cta h2 { margin-bottom: 0; color: var(--navy-950); font-size: clamp(30px, 4vw, 46px); line-height: 1.16; letter-spacing: -.045em; }
.split-intro > div:last-child > p { margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.vision-card { margin-top: 64px; padding: 38px 44px; display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 44px; color: white; border-radius: var(--radius-lg); background: var(--blue-700); box-shadow: 0 24px 60px rgba(13,94,166,.2); }
.vision-card__number { padding-right: 44px; color: #bfe3ff; border-right: 1px solid rgba(255,255,255,.23); font-family: var(--font-display); font-size: 58px; font-weight: 800; }
.vision-card span { color: #bfe3ff; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.vision-card blockquote { margin: 10px 0 0; font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.55; }
.section-heading { margin-bottom: 42px; display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.section-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.section-heading.compact { margin-bottom: 28px; align-items: start; }
.section-heading.compact h2 { font-size: 30px; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.program-card { position: relative; min-height: 280px; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.program-card:hover { z-index: 2; transform: translateY(-5px); border-color: #b8cee2; box-shadow: var(--shadow); }
.program-no { position: absolute; top: 20px; right: 20px; color: #aab4c1; font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.program-icon { width: 56px; height: 56px; margin: 45px 0 28px; display: grid; place-items: center; color: var(--blue-700); border-radius: 50%; background: var(--blue-100); font-size: 24px; }
.program-card h3 { margin-bottom: 11px; font-size: 18px; }
.program-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.system-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.system-story h2 { color: white; }
.system-story__copy > p { margin: 22px 0 30px; color: #9eb3c9; line-height: 1.75; }
.process-list { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.process-list li { padding: 22px 0; display: grid; grid-template-columns: 52px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.process-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.process-list li > span { width: 42px; height: 42px; display: grid; place-items: center; color: #8fcdf8; border: 1px solid rgba(143,205,248,.25); border-radius: 50%; font-family: var(--font-display); font-size: 11px; }
.process-list strong { font-size: 15px; }
.process-list p { margin: 6px 0 0; color: #8ea4ba; font-size: 12px; line-height: 1.55; }
.inventory-preview { min-height: 380px; }
.category-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; }
.category-bar > div:first-child { margin-bottom: 9px; display: flex; justify-content: space-between; gap: 20px; }
.category-bar strong { font-size: 13px; }
.category-bar span { color: var(--muted); font-size: 11px; }
.bar-track { height: 8px; overflow: hidden; border-radius: 10px; background: #e9eef3; }
.bar-track i { height: 100%; display: block; border-radius: inherit; background: var(--blue-600); }
.public-cta { color: white; background: var(--blue-700); }
.public-cta__inner { min-height: 260px; display: grid; grid-template-columns: 1fr .9fr; gap: 80px; align-items: center; }
.public-cta h2 { color: white; font-size: 34px; }
.track-inline { padding: 8px; display: flex; border-radius: 12px; background: white; }
.track-inline input { min-width: 0; flex: 1; padding: 0 14px; border: 0; outline: 0; }
.public-footer { padding: 58px 0 20px; color: #b3c2d2; background: var(--navy-950); }
.public-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 70px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: white; }
.footer-brand img { width: 68px; height: 76px; padding: 5px; object-fit: contain; border-radius: 10px; background: white; }
.footer-brand div { display: grid; }
.footer-brand strong { font-size: 16px; }
.footer-brand span { margin-top: 5px; color: #8da4bb; font-size: 11px; }
.footer-label { color: white; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.public-footer p, .public-footer a { color: #8da4bb; font-size: 12px; line-height: 1.8; text-decoration: none; }
.public-footer__grid > div:last-child { display: flex; flex-direction: column; }
.public-footer__bottom { margin-top: 44px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #61778e; font-size: 10px; }

/* Public utility pages */
.public-page-hero, .asset-detail-hero { color: white; background: var(--navy-950); }
.public-page-hero .container-wide { padding: 76px 0 70px; }
.public-page-hero h1, .asset-detail-hero h1, .track-hero h1 { margin-bottom: 14px; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.05em; }
.public-page-hero p, .track-hero p { max-width: 650px; margin: 0; color: #9fb2c6; line-height: 1.65; }
.public-filter, .filter-form { display: flex; align-items: center; gap: 10px; }
.public-filter { margin-bottom: 32px; }
.public-filter select, .filter-form select { min-height: 46px; padding: 0 36px 0 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: white; outline: 0; }
.search-control { min-height: 46px; display: flex; flex: 1; align-items: center; gap: 9px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
.search-control span { color: var(--soft); font-size: 20px; }
.search-control input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; }
.result-heading { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.result-heading > div { display: flex; align-items: baseline; gap: 8px; }
.result-heading strong { color: var(--navy-900); font-size: 26px; }
.result-heading span, .result-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.asset-public-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.asset-public-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-sm); }
.asset-public-card__image { position: relative; height: 210px; overflow: hidden; background: #eaf0f5; }
.asset-public-card__image > img { width: 100%; height: 100%; object-fit: cover; }
.asset-public-card__image .status-badge { position: absolute; top: 14px; right: 14px; }
.asset-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #6c8aa5; background: radial-gradient(circle at 70% 20%, #d7ecfa, #eaf0f5 55%); }
.asset-placeholder span { font-family: var(--font-display); font-size: 48px; font-weight: 800; letter-spacing: -.05em; opacity: .68; }
.asset-placeholder--large { min-height: 270px; border-radius: var(--radius); }
.asset-public-card__body { padding: 21px; }
.asset-code { color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.asset-public-card h2 { margin: 7px 0 4px; font-size: 18px; }
.asset-public-card h2 + p { margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.asset-public-card dl { margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.asset-public-card dl div { display: grid; gap: 3px; }
.asset-public-card dt { color: var(--soft); font-size: 9px; text-transform: uppercase; }
.asset-public-card dd { margin: 0; font-size: 11px; font-weight: 700; }
.asset-public-card a { color: var(--blue-700); font-size: 12px; font-weight: 700; text-decoration: none; }
.status-badge { display: inline-flex; align-items: center; padding: 6px 9px; border-radius: 999px; font-size: 9px; font-weight: 800; white-space: nowrap; }
.status-available, .loan-status-returned { color: var(--green-700); background: var(--green-100); }
.status-borrowed, .status-partially_borrowed, .loan-status-active { color: #865f00; background: var(--yellow-100); }
.status-maintenance, .status-relocated { color: var(--blue-700); background: var(--blue-100); }
.status-written_off, .loan-status-cancelled { color: #687386; background: #e9edf1; }
.loan-status-overdue { color: var(--red-600); background: var(--red-100); }
.status-text { display: inline-flex; }
.status-text--available { color: var(--green-700); }
.status-text--borrowed, .status-text--partially_borrowed { color: #936800; }
.status-text--maintenance, .status-text--relocated { color: var(--blue-700); }
.status-text--written_off { color: var(--muted); }
.pagination { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.pagination a, .pagination .disabled { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; text-decoration: none; }
.pagination .disabled { opacity: .45; }
.track-hero { padding: 88px 0 96px; text-align: center; color: white; background: var(--navy-950); }
.track-hero p { margin-inline: auto; }
.track-search { margin: 34px auto 0; max-width: 660px; padding: 8px; display: flex; border-radius: 13px; background: white; box-shadow: 0 25px 60px rgba(0,0,0,.25); }
.track-search input { min-width: 0; flex: 1; padding: 0 16px; border: 0; outline: 0; }
.track-search button { min-height: 48px; padding: 0 22px; color: white; border: 0; border-radius: 9px; background: var(--blue-700); font-weight: 700; cursor: pointer; }
.track-scan-action { max-width: 660px; margin: 20px auto 0; display: flex; align-items: center; justify-content: center; gap: 14px; color: #71869b; }
.track-scan-action > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.track-scan-action small { max-width: 170px; text-align: left; color: #8297ad; font-size: 10px; line-height: 1.45; }
.button--scan { color: var(--navy-950); background: var(--yellow-500); box-shadow: 0 10px 24px rgba(244,196,48,.16); }
.button--scan:hover { background: #ffd84d; }
.scan-icon { position: relative; width: 18px; height: 18px; display: inline-block; border: 2px solid currentColor; border-radius: 4px; }
.scan-icon::before, .scan-icon::after { content: ""; position: absolute; background: var(--yellow-500); }
.scan-icon::before { width: 8px; height: 22px; top: -4px; left: 3px; }
.scan-icon::after { width: 22px; height: 8px; top: 3px; left: -4px; }
.qr-scanner-wrap { padding: 46px 0; border-bottom: 1px solid var(--line); background: #eaf2f9; }
.qr-scanner-card { padding: 30px; border: 1px solid #c9d8e6; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.qr-scanner-card__head { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.qr-scanner-card__head .kicker { margin-bottom: 8px; }
.qr-scanner-card__head h2 { margin-bottom: 7px; font-size: 25px; }
.qr-scanner-card__head p { max-width: 560px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.qr-scanner-close { width: 40px; height: 40px; flex: 0 0 auto; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 25px; line-height: 1; cursor: pointer; }
.qr-reader { max-width: 480px; min-height: 280px; margin-inline: auto; overflow: hidden; border: 1px solid var(--line) !important; border-radius: 16px; background: var(--navy-950); }
.qr-reader video { display: block; border-radius: 15px; }
.qr-reader img { display: inline-block; }
.qr-scanner-status { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 11px; font-weight: 600; }
.qr-scanner-status--success { color: var(--green-700); }
.qr-scanner-status--error { color: var(--red-600); }
.qr-scanner-actions { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.qr-scanner-actions input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.track-result, .track-guide { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.track-result__top, .track-guide, .track-result--empty { display: flex; align-items: flex-start; gap: 22px; }
.result-symbol { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; color: var(--blue-700); border-radius: 50%; background: var(--blue-100); font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.result-symbol--ok { color: var(--green-700); background: var(--green-100); }
.track-result h2, .track-guide h2 { margin: 4px 0 6px; font-size: 28px; }
.track-result p, .track-guide p { margin: 0; color: var(--muted); line-height: 1.65; }
.track-facts { margin: 28px 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border-block: 1px solid var(--line); }
.track-facts div { display: grid; gap: 6px; }
.track-facts span { color: var(--soft); font-size: 10px; text-transform: uppercase; }
.track-facts strong { font-size: 14px; }
.asset-detail-hero__grid { padding: 62px 0; display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: end; }
.asset-detail-hero h1 { margin: 6px 0 12px; }
.asset-detail-hero p { margin: 0; color: #9bb0c5; }
.public-status-card { padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.06); }
.public-status-card > span { color: #92a8bd; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.public-status-card > strong { margin: 7px 0 18px; display: block; color: #82dcab; font-size: 20px; }
.public-status-card dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.public-status-card dt { color: #7f95ab; font-size: 8px; text-transform: uppercase; }
.public-status-card dd { margin: 4px 0 0; color: white; font-size: 10px; }
.public-asset-layout { display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: start; }
.public-asset-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.public-asset-card > img { width: 100%; height: 270px; object-fit: cover; }
.public-asset-card dl { margin: 0; padding: 22px; }
.public-asset-card dl div { padding: 11px 0; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; border-bottom: 1px solid var(--line-light); }
.public-asset-card dt { color: var(--muted); font-size: 10px; }
.public-asset-card dd { margin: 0; text-align: right; font-size: 11px; font-weight: 700; }
.timeline-entry { position: relative; display: grid; grid-template-columns: 105px 1fr; gap: 28px; padding: 0 0 34px 34px; }
.timeline-entry::before { content: ""; position: absolute; top: 12px; bottom: -8px; left: 8px; width: 1px; background: #ccd6e0; }
.timeline-entry:last-child::before { display: none; }
.timeline-entry__marker { position: absolute; z-index: 1; top: 4px; left: 2px; width: 13px; height: 13px; border: 3px solid var(--canvas); border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 2px var(--blue-600); }
.timeline-entry__meta { display: grid; align-content: start; gap: 3px; padding-top: 1px; }
.timeline-entry__meta span { color: var(--ink); font-size: 11px; font-weight: 700; }
.timeline-entry__meta small { color: var(--soft); font-size: 9px; }
.timeline-entry__content { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.timeline-entry__content h3 { margin: 9px 0 5px; font-size: 14px; }
.timeline-entry__content > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.timeline-note { margin-top: 9px !important; padding-top: 9px; border-top: 1px solid var(--line-light); }
.event-type { display: inline-flex; padding: 4px 7px; color: var(--blue-700); border-radius: 5px; background: var(--blue-100); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.event-loaned, .event-maintenance { color: #805d00; background: var(--yellow-100); }
.event-returned, .event-maintenance_completed { color: var(--green-700); background: var(--green-100); }
.event-written_off { color: var(--red-600); background: var(--red-100); }
.timeline-photos { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.timeline-photos img { width: 88px; height: 70px; object-fit: cover; border-radius: 8px; }
.empty-state { min-height: 260px; padding: 40px 20px; display: grid; place-items: center; align-content: center; text-align: center; }
.empty-state > span { width: 54px; height: 54px; margin-bottom: 14px; display: grid; place-items: center; color: var(--blue-700); border-radius: 50%; background: var(--blue-100); font-size: 22px; }
.empty-state h3 { margin-bottom: 7px; font-size: 18px; }
.empty-state p { max-width: 420px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty-state--compact { min-height: 250px; }

/* Login */
.login-section { min-height: calc(100vh - 76px); padding: 52px 24px; display: grid; place-items: center; background: var(--canvas); }
.login-shell { width: min(1040px, 100%); min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.login-story { position: relative; overflow: hidden; padding: 64px; color: white; background: var(--navy-950); }
.login-story::after { content: ""; position: absolute; right: -170px; bottom: -170px; width: 450px; height: 450px; border: 1px solid rgba(138,198,244,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(138,198,244,.035), 0 0 0 140px rgba(138,198,244,.025); }
.login-story h1 { position: relative; z-index: 1; margin: 60px 0 20px; font-size: 44px; line-height: 1.13; letter-spacing: -.05em; }
.login-story > p { position: relative; z-index: 1; color: #9eb2c7; line-height: 1.75; }
.login-points { position: absolute; z-index: 1; right: 64px; bottom: 60px; left: 64px; display: grid; gap: 12px; }
.login-points span { padding-top: 12px; display: flex; align-items: center; gap: 13px; color: #b9c8d7; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.login-points b { color: #6abdf5; font-size: 10px; }
.login-card { padding: 58px 64px; }
.login-logo img { width: 75px; height: 85px; margin-bottom: 35px; object-fit: contain; }
.login-card h2 { margin-bottom: 8px; font-size: 30px; letter-spacing: -.04em; }
.login-card > p { font-size: 12px; }
.login-card .stack-form { margin-top: 30px; }
.login-help { margin: 24px 0 0; text-align: center; color: var(--soft); font-size: 10px !important; }

/* Application shell */
.app-body { min-height: 100vh; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 252px minmax(0, 1fr); }
.sidebar { position: sticky; z-index: 40; top: 0; height: 100vh; padding: 22px 16px 16px; display: flex; flex-direction: column; color: #d8e3ee; background: var(--navy-950); }
.sidebar__brand { height: 60px; padding: 0 9px 18px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255,255,255,.09); text-decoration: none; }
.sidebar__brand img { width: 42px; height: 48px; padding: 2px; object-fit: contain; border-radius: 7px; background: white; }
.sidebar__brand span { display: grid; }
.sidebar__brand strong { color: white; font-size: 16px; letter-spacing: .08em; }
.sidebar__brand small { margin-top: 3px; color: #8096ad; font-size: 9px; }
.sidebar__nav { margin-top: 24px; display: grid; gap: 4px; }
.sidebar__label { margin: 17px 10px 6px; color: #526b84; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sidebar__nav a { min-height: 42px; padding: 0 11px; display: flex; align-items: center; gap: 11px; color: #9db0c3; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; }
.sidebar__nav a:hover { color: white; background: rgba(255,255,255,.05); }
.sidebar__nav a.active { color: white; background: var(--blue-700); box-shadow: 0 9px 20px rgba(0,0,0,.16); }
.nav-dot { width: 25px; height: 25px; display: grid; place-items: center; color: #69819a; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; font-family: var(--font-display); font-size: 8px; }
.sidebar__nav a.active .nav-dot { color: white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.1); }
.nav-count { min-width: 20px; height: 20px; margin-left: auto; display: grid; place-items: center; color: white; border-radius: 10px; background: var(--red-600); font-size: 9px; font-style: normal; }
.external-mark { margin-left: auto; color: #627991; }
.sidebar__support { margin-top: auto; padding: 13px; display: flex; gap: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.035); }
.support-icon { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; color: #7cc9fb; border-radius: 50%; background: rgba(124,201,251,.1); font-family: serif; }
.sidebar__support div { display: grid; }
.sidebar__support strong { color: #dce7f1; font-size: 10px; }
.sidebar__support small { margin-top: 4px; color: #6f859a; font-size: 8px; line-height: 1.45; }
.sidebar__user { margin-top: 12px; padding: 13px 8px 0; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--blue-700); font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.avatar--large { width: 48px; height: 48px; font-size: 15px; }
.sidebar__user > div { min-width: 0; display: grid; }
.sidebar__user strong { overflow: hidden; color: white; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar__user small { margin-top: 2px; color: #667d94; font-size: 8px; }
.sidebar__user button { color: #71879c; border: 0; background: none; cursor: pointer; }
.workspace { min-width: 0; display: flex; flex-direction: column; }
.workbar { position: sticky; z-index: 30; top: 0; height: 76px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.workbar__context { display: flex; align-items: center; gap: 14px; }
.workbar__context > div { display: grid; }
.workbar__context small { color: var(--soft); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.workbar__context strong { margin-top: 2px; font-size: 15px; }
.workbar__actions { display: flex; align-items: center; gap: 12px; }
.workbar__date { color: var(--muted); font-size: 11px; }
.menu-toggle { width: 40px; height: 40px; display: none; place-content: center; gap: 4px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: white; }
.sidebar-overlay { display: none; }
.workspace__main { width: min(100% - 52px, 1420px); min-height: calc(100vh - 140px); margin: 0 auto; padding: 32px 0 46px; }
.app-footer { width: min(100% - 52px, 1420px); margin: auto auto 0; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 20px; color: var(--soft); border-top: 1px solid var(--line); font-size: 9px; }
.page-header { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.page-header h1 { margin-bottom: 6px; color: var(--navy-950); font-size: 31px; letter-spacing: -.045em; }
.page-header p:last-child { margin: 0; color: var(--muted); font-size: 12px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.alert { margin-bottom: 18px; padding: 14px 15px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid; border-radius: 10px; font-size: 11px; }
.alert > span { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.alert > div { flex: 1; line-height: 1.6; }
.alert ul { margin: 5px 0 0; padding-left: 18px; }
.alert button { color: inherit; border: 0; background: none; cursor: pointer; }
.alert--success { color: var(--green-700); border-color: #bce7cf; background: var(--green-100); }
.alert--success > span { color: white; background: var(--green-600); }
.alert--danger { color: #a52a34; border-color: #f4c4c8; background: var(--red-100); }
.alert--danger > span { color: white; background: var(--red-600); }

/* Dashboard */
.dashboard-welcome { position: relative; overflow: hidden; margin-bottom: 22px; padding: 32px 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; border-radius: var(--radius); background: var(--navy-950); }
.dashboard-welcome::after { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; top: -150px; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.025); }
.dashboard-welcome > div { position: relative; z-index: 1; }
.dashboard-welcome h1 { margin-bottom: 7px; font-size: 30px; letter-spacing: -.045em; }
.dashboard-welcome p { margin: 0; color: #9cb0c4; font-size: 12px; }
.dashboard-welcome__actions { display: flex; gap: 9px; flex: 0 0 auto; }
.metric-grid { margin-bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.metric-card { position: relative; min-height: 148px; padding: 19px; overflow: hidden; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: white; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.metric-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(7,26,51,.09); }
.metric-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-card__top span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.metric-card__top i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--metric-soft); font-style: normal; font-size: 11px; }
.metric-card > strong { margin-top: 18px; display: block; color: var(--navy-950); font-size: 34px; letter-spacing: -.05em; }
.metric-card > small { color: var(--soft); font-size: 9px; }
.metric-line { position: absolute; right: 19px; bottom: 14px; left: 19px; height: 3px; overflow: hidden; border-radius: 5px; background: #edf1f4; }
.metric-line i { max-width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--metric); }
.metric-card--blue { --metric: var(--blue-600); --metric-soft: var(--blue-100); }
.metric-card--green { --metric: var(--green-600); --metric-soft: var(--green-100); }
.metric-card--amber { --metric: #d59a00; --metric-soft: var(--yellow-100); }
.metric-card--red { --metric: var(--red-600); --metric-soft: var(--red-100); }
.dashboard-grid { margin-bottom: 20px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.content-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.content-card__head { margin-bottom: 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.content-card__head .kicker { margin-bottom: 6px; font-size: 8px; }
.content-card__head h2 { margin: 0; font-size: 17px; letter-spacing: -.025em; }
.content-card__head h2 + p { margin: 5px 0 0; color: var(--muted); font-size: 9px; }
.condition-visual { display: grid; grid-template-columns: 190px 1fr; gap: 28px; align-items: center; }
.donut { width: 172px; height: 172px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green-600) 0 calc(var(--good) * 1%), #e4ae16 calc(var(--good) * 1%) calc((var(--good) + var(--fair)) * 1%), var(--red-600) calc((var(--good) + var(--fair)) * 1%) 100%); }
.donut::before { content: ""; position: absolute; width: 116px; height: 116px; border-radius: 50%; background: white; }
.donut div { position: relative; z-index: 1; display: grid; text-align: center; }
.donut strong { font-size: 28px; }
.donut span { color: var(--soft); font-size: 8px; text-transform: uppercase; }
.condition-legend { display: grid; }
.condition-legend a { padding: 10px 0; display: grid; grid-template-columns: 10px 1fr auto 34px; align-items: center; gap: 9px; border-bottom: 1px solid var(--line-light); text-decoration: none; }
.condition-legend span { font-size: 10px; }
.condition-legend strong { font-size: 12px; }
.condition-legend small { color: var(--soft); font-size: 8px; text-align: right; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.legend-dot--green { color: var(--green-600); }
.legend-dot--amber { color: #dda300; }
.legend-dot--red { color: var(--red-600); }
.legend-dot--blue { color: var(--blue-600); }
.panel-callout { margin-top: 18px; padding: 13px; display: grid; grid-template-columns: 31px 1fr auto; align-items: center; gap: 11px; border-radius: 9px; background: var(--yellow-100); }
.panel-callout > span { width: 31px; height: 31px; display: grid; place-items: center; color: #785600; border-radius: 50%; background: rgba(244,196,48,.35); font-weight: 800; }
.panel-callout strong { color: #765700; font-size: 10px; }
.panel-callout p { margin: 3px 0 0; color: #96751b; font-size: 8px; }
.panel-callout a { color: #785600; font-size: 9px; font-weight: 800; text-decoration: none; }
.active-loan-list { display: grid; }
.active-loan-row { padding: 12px 0; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line-light); text-decoration: none; }
.active-loan-row:last-child { border-bottom: 0; }
.date-tile { width: 42px; height: 43px; display: grid; place-items: center; align-content: center; color: var(--blue-700); border-radius: 8px; background: var(--blue-100); }
.date-tile--late { color: var(--red-600); background: var(--red-100); }
.date-tile strong { line-height: 1; font-size: 15px; }
.date-tile small { margin-top: 3px; font-size: 7px; font-weight: 800; }
.active-loan-row > div { min-width: 0; display: grid; }
.active-loan-row > div strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.active-loan-row > div span { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.active-loan-row em { padding: 5px 7px; border-radius: 999px; font-size: 7px; font-weight: 800; font-style: normal; }
.recent-panel { padding-bottom: 6px; }
.activity-list { display: grid; }
.activity-row { padding: 13px 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) minmax(120px, .4fr) 24px; align-items: center; gap: 12px; border-top: 1px solid var(--line-light); text-decoration: none; }
.activity-row:first-child { border-top: 0; }
.activity-mark { width: 36px; height: 36px; display: grid; place-items: center; color: var(--blue-700); border-radius: 9px; background: var(--blue-100); font-family: var(--font-display); font-size: 10px; font-weight: 800; }
.activity-row__main { min-width: 0; }
.activity-row__main strong { display: block; font-size: 11px; }
.activity-row__main p { margin: 3px 0 0; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.activity-row__meta { display: grid; text-align: right; }
.activity-row__meta strong { font-size: 9px; }
.activity-row__meta span { margin-top: 4px; color: var(--soft); font-size: 8px; }
.activity-arrow { color: var(--soft); text-align: right; }

/* Forms and data tables */
.form-card, .data-card, .toolbar-card { border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.toolbar-card { margin-bottom: 14px; padding: 14px; }
.filter-form .search-control { min-width: 220px; min-height: 40px; }
.filter-form select { min-height: 40px; max-width: 180px; font-size: 10px; }
.filter-form .button { min-height: 40px; padding-inline: 14px; font-size: 10px; }
.filter-form--loans .search-control { max-width: 600px; }
.form-grid { display: grid; }
.form-section { padding: 27px 28px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section__head { margin-bottom: 25px; display: grid; grid-template-columns: 38px 1fr; gap: 13px; align-items: start; }
.form-section__head > span { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue-700); border-radius: 9px; background: var(--blue-100); font-family: var(--font-display); font-size: 9px; font-weight: 800; }
.form-section__head h2 { margin: 0; font-size: 15px; }
.form-section__head p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }
.form-section__head--action { grid-template-columns: 38px 1fr auto; align-items: center; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { min-width: 0; display: grid; align-content: start; gap: 7px; }
.field--span-2 { grid-column: span 2; }
.field > span { color: #48566a; font-size: 9px; font-weight: 800; letter-spacing: .025em; }
.field > span b { color: var(--red-600); }
.field input, .field select, .field textarea, .prefix-input { width: 100%; min-height: 43px; padding: 10px 12px; color: var(--ink); border: 1px solid #ccd5df; border-radius: 8px; outline: 0; background: white; font-size: 11px; transition: border-color .16s ease, box-shadow .16s ease; }
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(8,117,207,.1); }
.field input::placeholder, .field textarea::placeholder { color: #a4adba; }
.prefix-input { padding: 0; display: flex; align-items: center; overflow: hidden; }
.prefix-input span { height: 41px; padding: 0 12px; display: grid; place-items: center; color: var(--muted); border-right: 1px solid var(--line); background: #f7f9fb; font-size: 10px; }
.prefix-input input { border: 0; box-shadow: none !important; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-field { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }
.stack-form { display: grid; gap: 15px; }
.file-control { padding: 8px !important; }
.file-control::file-selector-button { height: 27px; margin-right: 9px; padding: 0 10px; color: var(--blue-700); border: 0; border-radius: 5px; background: var(--blue-100); font-size: 9px; font-weight: 700; }
.upload-zone { min-height: 170px; padding: 24px; display: grid; place-items: center; align-content: center; text-align: center; border: 1.5px dashed #9cb4ca; border-radius: 11px; background: #f7fbfe; cursor: pointer; }
.upload-zone.dragover { border-color: var(--blue-600); background: var(--blue-100); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-symbol { width: 38px; height: 38px; margin-bottom: 9px; display: grid; place-items: center; color: var(--blue-700); border-radius: 50%; background: var(--blue-100); font-size: 18px; }
.upload-zone strong { font-size: 11px; }
.upload-zone small { margin-top: 5px; color: var(--muted); font-size: 8px; }
.upload-zone--compact { min-height: 120px; padding: 15px; }
.upload-preview { width: 100%; margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.upload-preview img { width: 54px; height: 45px; object-fit: cover; border-radius: 6px; }
.form-actions { padding: 18px 28px; display: flex; justify-content: flex-end; gap: 9px; background: #f9fbfc; }
.data-card__head { min-height: 63px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.data-card__head > div:first-child { display: grid; }
.data-card__head strong { font-size: 12px; }
.data-card__head span { margin-top: 3px; color: var(--muted); font-size: 8px; }
.segmented { padding: 3px; display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 8px; background: #f3f6f8; }
.segmented a { padding: 6px 10px; color: var(--muted); border-radius: 5px; font-size: 8px; font-weight: 700; text-decoration: none; }
.segmented a.active { color: var(--ink); background: white; box-shadow: var(--shadow-sm); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 12px 14px; color: #798697; border-bottom: 1px solid var(--line); background: #f7f9fb; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 13px 14px; color: #2a3748; border-bottom: 1px solid var(--line-light); font-size: 9px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcfd; }
.data-table td > strong, .strong-link { display: block; color: var(--ink); font-family: var(--font-display); font-size: 9px; font-weight: 700; text-decoration: none; }
.table-sub { margin-top: 4px; display: block; color: var(--soft); font-size: 8px; }
.asset-cell { min-width: 210px; display: flex; align-items: center; gap: 10px; }
.table-thumb { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: var(--blue-700); border-radius: 8px; background: var(--blue-100); font-family: var(--font-display); font-size: 9px; font-weight: 800; }
.table-thumb img { width: 100%; height: 100%; object-fit: cover; }
.asset-cell > div:last-child { min-width: 0; display: grid; }
.asset-cell a { overflow: hidden; color: var(--ink); font-family: var(--font-display); font-size: 10px; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.asset-cell small { margin-top: 4px; color: var(--soft); font-size: 8px; }
.category-chip { display: inline-flex; padding: 5px 7px; color: #526174; border: 1px solid var(--line); border-radius: 6px; background: #f9fbfc; font-size: 8px; font-weight: 700; white-space: nowrap; }
.condition-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 999px; font-size: 8px; font-weight: 700; white-space: nowrap; }
.condition-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.condition-good { color: var(--green-700); background: var(--green-100); }
.condition-fair { color: #8e6600; background: var(--yellow-100); }
.condition-damaged { color: var(--red-600); background: var(--red-100); }
.table-action { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue-700); border: 1px solid var(--line); border-radius: 7px; text-decoration: none; }
.data-card > .pagination { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }

/* Asset details */
.detail-layout, .loan-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 355px; gap: 20px; align-items: start; }
.detail-main { min-width: 0; display: grid; gap: 20px; }
.detail-aside { min-width: 0; display: grid; gap: 15px; }
.sticky-card { position: sticky; top: 94px; }
.asset-identity-card { padding: 20px; display: grid; grid-template-columns: 240px 1fr; gap: 25px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow-sm); }
.asset-identity-card__media { height: 210px; overflow: hidden; border-radius: 10px; background: var(--canvas); }
.asset-identity-card__media > img { width: 100%; height: 100%; object-fit: cover; }
.asset-identity-card__media .asset-placeholder { min-height: 100%; }
.asset-identity-card__body { min-width: 0; }
.identity-top { display: flex; justify-content: space-between; gap: 15px; }
.asset-identity-card h2 { margin: 22px 0 5px; font-size: 24px; letter-spacing: -.035em; }
.asset-identity-card h2 + p { margin: 0; color: var(--muted); font-size: 10px; }
.identity-facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.identity-facts div { display: grid; gap: 4px; }
.identity-facts dt { color: var(--soft); font-size: 8px; text-transform: uppercase; }
.identity-facts dd { margin: 0; font-size: 11px; font-weight: 700; }
.count-label { padding: 5px 8px; color: var(--muted); border-radius: 6px; background: var(--canvas); font-size: 8px; }
.timeline--admin .timeline-entry { grid-template-columns: 92px 1fr; }
.timeline--admin .timeline-entry__marker { border-color: white; }
.change-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.change-chips span { padding: 5px 7px; color: var(--muted); border-radius: 5px; background: var(--canvas); font-size: 8px; }
.change-chips b { color: var(--ink); }
.data-list { margin: 0; display: grid; }
.data-list div { padding: 10px 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 10px; border-bottom: 1px solid var(--line-light); }
.data-list div:last-child { border-bottom: 0; }
.data-list dt { color: var(--muted); font-size: 8px; }
.data-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; font-size: 9px; font-weight: 600; line-height: 1.5; }
.danger-zone { border: 1px solid #efc9cc; border-radius: 10px; background: #fff8f8; }
.danger-zone summary { padding: 13px; color: var(--red-600); font-size: 9px; font-weight: 800; cursor: pointer; }
.danger-zone form { padding: 0 13px 13px; display: grid; gap: 11px; }
.danger-zone p { margin: 0; color: #9d666a; font-size: 8px; line-height: 1.5; }

/* Loan and team */
.loan-items { display: grid; gap: 13px; }
.loan-item-row, .return-item { padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfd; }
.loan-item-row__head { margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; }
.loan-item-row__head strong { font-size: 11px; }
.loan-item-row__head button { color: var(--red-600); border: 0; background: none; font-size: 8px; font-weight: 700; cursor: pointer; }
.inline-notice { padding: 13px; color: #765700; border-radius: 8px; background: var(--yellow-100); font-size: 10px; }
.loan-hero-card { min-height: 170px; padding: 26px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: white; border-radius: 12px; background: var(--navy-950); }
.loan-hero-card--overdue { background: #6d2028; }
.loan-hero-card--returned { background: #075b37; }
.loan-hero-card .kicker { margin-bottom: 7px; color: #9bcff3; }
.loan-hero-card h2 { margin-bottom: 7px; font-size: 26px; }
.loan-hero-card p { max-width: 500px; margin: 0; color: rgba(255,255,255,.65); font-size: 10px; }
.loan-code-mark { padding-left: 30px; display: grid; border-left: 1px solid rgba(255,255,255,.15); text-align: right; }
.loan-code-mark span { font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .05em; }
.loan-code-mark small { margin-top: 4px; color: rgba(255,255,255,.55); font-size: 8px; }
.loan-asset-list { display: grid; }
.loan-asset-item { padding: 13px 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) 110px 110px; align-items: center; gap: 13px; border-top: 1px solid var(--line-light); }
.loan-asset-item:first-child { border-top: 0; }
.loan-asset-item > div:nth-child(2) { display: grid; }
.loan-asset-item a { color: var(--ink); font-family: var(--font-display); font-size: 10px; font-weight: 700; text-decoration: none; }
.loan-asset-item small { margin-top: 4px; color: var(--soft); font-size: 8px; }
.loan-asset-item > div:nth-last-child(-n+2) { display: grid; gap: 4px; }
.loan-asset-item > div:nth-last-child(-n+2) span { color: var(--soft); font-size: 7px; text-transform: uppercase; }
.loan-asset-item > div:nth-last-child(-n+2) strong { font-size: 9px; }
.return-date { max-width: 330px; }
.return-item__head { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.return-item__head > span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--blue-700); border-radius: 7px; background: var(--blue-100); font-size: 9px; font-weight: 800; }
.return-item__head div { display: grid; }
.return-item__head strong { font-size: 10px; }
.return-item__head small { margin-top: 3px; color: var(--soft); font-size: 8px; }
.team-layout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.member-list { display: grid; }
.member-card { padding: 15px 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 120px auto; align-items: center; gap: 13px; border-top: 1px solid var(--line-light); }
.member-card:first-child { border-top: 0; }
.member-card--inactive { opacity: .55; }
.member-card__identity, .member-card__role { min-width: 0; display: grid; }
.member-card__identity strong { font-size: 11px; }
.member-card__identity span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.member-card__identity small { margin-top: 3px; color: var(--soft); font-size: 8px; }
.role-chip { width: max-content; padding: 5px 7px; color: var(--blue-700); border-radius: 5px; background: var(--blue-100); font-size: 8px; font-weight: 700; }
.member-card__role small { margin-top: 4px; color: var(--soft); font-size: 7px; }

/* Visual alignment with the STIKES LPM design system */
:root {
    --navy-950: #07345c;
    --navy-900: #07345c;
    --navy-800: #064777;
    --blue-700: #0969ad;
    --blue-600: #147bc0;
    --blue-100: #eaf4fb;
    --green-700: #0b783d;
    --green-600: #13934d;
    --green-100: #e5f6ed;
    --yellow-500: #f4d21f;
    --yellow-100: #fff8cf;
    --ink: #202b3c;
    --muted: #64748b;
    --soft: #94a3b8;
    --line: #e2e8f0;
    --line-light: #eef2f6;
    --canvas: #f6f7fb;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 8px 24px rgba(27, 35, 61, .035);
    --shadow: 0 28px 72px rgba(7, 52, 92, .12);
}

h1, h2, h3, strong { letter-spacing: -.025em; }
.button { min-height: 44px; border-radius: 12px; }
.button--primary { background: var(--blue-700); box-shadow: none; }
.button--primary:hover { background: var(--navy-900); }
.button--accent { background: var(--yellow-500); }
.kicker { color: var(--blue-700); }

/* Public shell and landing */
.public-topbar { color: rgba(255,255,255,.76); background: var(--navy-900); }
.public-topbar > div { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-topbar p { margin: 0; font-size: 10px; }
.public-topbar a { color: inherit; font-size: 10px; text-decoration: none; }
.public-header { height: 80px; border-color: rgba(226,232,240,.78); background: rgba(255,255,255,.96); }
.public-brand { gap: 13px; }
.public-brand img { width: 47px; height: 56px; }
.public-brand strong { font-family: var(--font-display); font-size: 18px; letter-spacing: -.015em; }
.public-brand small { font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.public-nav { gap: 24px; }
.public-nav > a:not(.button) { color: var(--navy-900); font-size: 12px; font-weight: 700; }
.public-nav .button { border-radius: 999px; }

.hero { min-height: 650px; color: var(--ink); background-color: #f4f8f7; }
.hero::before { background-image: linear-gradient(rgba(7,52,92,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7,52,92,.045) 1px, transparent 1px); background-size: 32px 32px; mask-image: none; }
.hero::after { width: 440px; height: 440px; right: 0; top: 80px; border: 0; background: rgba(244,210,31,.2); filter: blur(80px); box-shadow: none; }
.hero__grid { gap: 70px; padding: 82px 0 112px; }
.hero h1 { color: var(--navy-900); font-size: clamp(46px, 5.2vw, 70px); font-weight: 700; }
.hero h1 em { color: var(--blue-700); }
.hero__content > p { color: #5f6e7f; line-height: 1.85; }
.hero .kicker.light { color: var(--blue-700); }
.hero .button--light { color: white; border-radius: 999px; background: var(--blue-700); }
.hero .button--light:hover { background: var(--navy-900); }
.hero .button--ghost-light { color: var(--navy-900); border-color: rgba(7,52,92,.16); border-radius: 999px; background: white; }
.hero .button--ghost-light:hover { background: white; border-color: var(--blue-700); }
.hero__trust { color: #7c8997; }
.hero__trust strong { color: var(--navy-900); }
.hero__visual { min-height: 470px; padding: 36px; border: 1px solid rgba(255,255,255,.88); border-radius: 32px; background: rgba(255,255,255,.78); box-shadow: 0 30px 80px rgba(7,52,92,.13); backdrop-filter: blur(14px); }
.hero__visual::before { width: 350px; height: 350px; border-color: rgba(9,105,173,.2); }
.hero__visual::after { width: 255px; height: 255px; border-color: rgba(9,105,173,.13); }
.hero__seal { width: 215px; height: 215px; border: 0; box-shadow: 0 18px 48px rgba(7,52,92,.15); }
.hero__seal img { width: 164px; height: 180px; }
.orbit-card { color: var(--ink); border-color: var(--line); border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 14px 34px rgba(7,52,92,.1); }
.orbit-card small { color: var(--muted); }
.orbit-card strong { color: var(--navy-900); }
.orbit-icon { color: var(--blue-700); background: var(--blue-100); }

.public-stats { margin-top: -52px; border: 0; background: transparent; }
.public-stats__grid { position: relative; z-index: 5; min-height: 132px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 22px 55px rgba(7,52,92,.1); }
.public-stat { padding: 28px 22px; border-color: var(--line); }
.public-stat strong { color: var(--navy-900); }
.section { padding: 88px 0; }
.section--soft { background: #f4f8f7; }
.split-intro h2, .section-heading h2, .system-story h2, .public-cta h2 { color: var(--navy-900); font-weight: 700; }
.vision-card { border-radius: 30px; background: var(--blue-700); box-shadow: 0 24px 60px rgba(9,105,173,.2); }
.program-card { min-height: 275px; border-radius: 24px; box-shadow: 0 8px 28px rgba(7,52,92,.04); }
.program-card:hover { border-color: rgba(9,105,173,.28); box-shadow: 0 24px 55px rgba(7,52,92,.1); }
.program-icon { border-radius: 18px; }
.section--navy { background: var(--navy-900); }
.public-cta { background: var(--blue-700); }
.public-cta__inner { min-height: 280px; }
.public-cta h2 { color: white; }
.track-inline { border-radius: 16px; box-shadow: 0 16px 36px rgba(7,52,92,.12); }
.public-footer { background: var(--navy-900); }

.public-page-hero, .asset-detail-hero, .track-hero { color: var(--ink); background-color: #f4f8f7; background-image: linear-gradient(rgba(7,52,92,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(7,52,92,.045) 1px, transparent 1px); background-size: 32px 32px; }
.public-page-hero h1, .asset-detail-hero h1, .track-hero h1 { color: var(--navy-900); }
.public-page-hero p, .track-hero p, .asset-detail-hero p { color: var(--muted); }
.track-hero .kicker.light, .asset-detail-hero .back-link.light { color: var(--blue-700); }
.track-search { box-shadow: 0 22px 55px rgba(7,52,92,.12); }
.asset-public-card, .public-asset-card, .timeline-entry__content, .track-result, .track-guide { border-radius: 20px; box-shadow: var(--shadow-sm); }
.public-status-card { color: var(--ink); border-color: var(--line); background: white; box-shadow: var(--shadow-sm); }
.public-status-card > span, .public-status-card dt { color: var(--soft); }
.public-status-card > strong { color: var(--green-700); }
.public-status-card dd { color: var(--ink); }
.qr-scanner-wrap { background: #eef6f8; }
.qr-scanner-card { border-radius: 28px; }

/* Dashboard shell */
.app-body { background: #f6f7fb; }
.sidebar { color: white; background: #171b30; }
.sidebar__brand { border-color: rgba(255,255,255,.08); }
.sidebar__brand img { border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.sidebar__brand strong { font-family: var(--font-display); font-size: 14px; letter-spacing: -.01em; }
.sidebar__brand small { color: rgba(255,255,255,.45); font-weight: 700; letter-spacing: .12em; }
.sidebar__label { color: rgba(255,255,255,.35); }
.sidebar__nav a { min-height: 44px; color: rgba(255,255,255,.65); border-radius: 12px; }
.sidebar__nav a:hover { color: white; background: rgba(255,255,255,.08); }
.sidebar__nav a.active { color: #171b30; background: #d9fb68; box-shadow: 0 10px 24px rgba(217,251,104,.1); }
.nav-dot { color: currentColor; border-color: rgba(255,255,255,.1); border-radius: 9px; font-family: var(--font-body); }
.sidebar__nav a.active .nav-dot { color: #171b30; border-color: rgba(23,27,48,.13); background: rgba(255,255,255,.3); }
.sidebar__support { border-color: rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.045); }
.sidebar__support strong { color: white; }
.sidebar__user { border-color: rgba(255,255,255,.08); }
.avatar { color: #171b30; background: #d9fb68; }
.workspace { background: #f6f7fb; }
.workbar { border-color: #e7e9f0; background: rgba(246,247,251,.94); }
.workbar__context strong { color: #171b30; font-family: var(--font-display); }
.workspace__main { padding-top: 36px; }
.page-header h1 { color: #171b30; }
.dashboard-welcome { padding: 10px 0 26px; color: #171b30; border-radius: 0; background: transparent; }
.dashboard-welcome::after { display: none; }
.dashboard-welcome .kicker.light { color: var(--blue-700); }
.dashboard-welcome h1 { color: #171b30; font-size: 31px; }
.dashboard-welcome p { color: var(--muted); }
.dashboard-welcome .button--light { color: white; background: #171b30; }
.dashboard-welcome .button--ghost-light { color: #171b30; border-color: var(--line); background: white; }
.metric-grid { gap: 14px; }
.metric-card { min-height: 154px; padding: 20px; border-color: #e7e9f0; border-radius: 18px; box-shadow: 0 8px 24px rgba(27,35,61,.035); }
.metric-card > strong { color: #171b30; font-family: var(--font-body); font-weight: 800; }
.metric-card__top i { border-radius: 12px; }
.content-card, .form-card, .data-card, .toolbar-card, .asset-identity-card { border-color: #e7e9f0; border-radius: 22px; box-shadow: 0 8px 24px rgba(27,35,61,.035); }
.content-card { padding: 24px; }
.content-card__head h2, .data-card__head strong { color: #171b30; }
.form-section__head > span, .table-thumb, .activity-mark { border-radius: 12px; }
.field input, .field select, .field textarea, .prefix-input { border-color: #dce2ea; border-radius: 11px; }
.upload-zone { border-radius: 16px; background: #f8fbfc; }
.data-table th { background: #f7f8fb; }
.data-table tbody tr:hover { background: #fafcff; }
.loan-hero-card { border-radius: 22px; background: #171b30; }
.login-section { background: #f4f8f7; }
.login-shell { border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 30px 80px rgba(7,52,92,.13); }
.login-story { background: #171b30; }

@media (max-width: 1180px) {
    .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-form { flex-wrap: wrap; }
    .filter-form .search-control { flex-basis: 100%; }
    .fields-grid--3 { grid-template-columns: 1fr 1fr; }
    .detail-layout, .loan-detail-grid { grid-template-columns: minmax(0, 1fr) 315px; }
}

@media (max-width: 960px) {
    .container-wide { width: min(100% - 34px, 1180px); }
    .public-menu-button { display: grid; }
    .public-nav { position: absolute; top: 80px; right: 0; left: 0; padding: 18px; display: none; flex-direction: column; align-items: stretch; gap: 8px; border-bottom: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
    .public-nav.open { display: flex; }
    .public-nav > a:not(.button) { padding: 11px; }
    .public-nav > a:not(.button)::after { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .public-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .public-stat:nth-child(even) { border-right: 1px solid var(--line); }
    .public-stat:last-child { grid-column: span 2; }
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .system-story, .split-intro, .public-cta__inner { grid-template-columns: 1fr; gap: 48px; }
    .public-cta__inner { padding: 55px 0; }
    .asset-public-grid { grid-template-columns: repeat(2, 1fr); }
    .asset-detail-hero__grid { grid-template-columns: 1fr; gap: 30px; }
    .public-asset-layout { grid-template-columns: 280px 1fr; gap: 30px; }
    .login-shell { grid-template-columns: 1fr; }
    .login-story { display: none; }
    .login-card { max-width: 520px; width: 100%; margin: auto; }

    .app-shell { display: block; }
    .sidebar { position: fixed; z-index: 80; left: 0; width: 252px; transform: translateX(-100%); transition: transform .22s ease; }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .sidebar-overlay { position: fixed; z-index: 70; inset: 0; border: 0; background: rgba(4,17,33,.52); backdrop-filter: blur(2px); }
    body.sidebar-open .sidebar-overlay { display: block; }
    .menu-toggle { display: grid; }
    .workbar { padding-inline: 18px; }
    .workspace__main, .app-footer { width: min(100% - 32px, 1420px); }
    .detail-layout, .loan-detail-grid, .team-layout { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    .team-form { display: none; }
    .team-form.open { display: block; }
}

@media (max-width: 720px) {
    .section { padding: 70px 0; }
    .hero { min-height: 600px; }
    .hero__grid { padding: 65px 0; }
    .hero h1 { font-size: 42px; }
    .hero__content > p { font-size: 14px; }
    .section-heading { align-items: start; flex-direction: column; gap: 16px; }
    .vision-card { padding: 28px; grid-template-columns: 1fr; gap: 22px; }
    .vision-card__number { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.23); }
    .category-bars { grid-template-columns: 1fr; }
    .public-footer__grid { grid-template-columns: 1fr; gap: 34px; }
    .public-footer__bottom { flex-direction: column; }
    .public-filter { align-items: stretch; flex-direction: column; }
    .asset-public-grid { grid-template-columns: 1fr; }
    .result-heading { align-items: start; flex-direction: column; }
    .track-facts { grid-template-columns: 1fr; }
    .public-asset-layout { grid-template-columns: 1fr; }
    .public-asset-card { max-width: 420px; width: 100%; }
    .timeline-entry { grid-template-columns: 1fr; gap: 10px; }
    .timeline-entry__meta { display: flex; gap: 7px; }
    .login-section { padding: 24px 14px; }
    .login-card { padding: 38px 26px; }
    .login-logo img { margin-bottom: 20px; }

    .workbar__date { display: none; }
    .workbar__actions .button { padding: 0 10px; }
    .page-header { align-items: start; flex-direction: column; }
    .page-actions { width: 100%; }
    .dashboard-welcome { padding: 25px; align-items: start; flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .condition-visual { grid-template-columns: 1fr; justify-items: center; }
    .condition-legend { width: 100%; }
    .activity-row { grid-template-columns: 38px minmax(0, 1fr) 22px; }
    .activity-row__meta { display: none; }
    .fields-grid, .fields-grid--3 { grid-template-columns: 1fr; }
    .field--span-2 { grid-column: span 1; }
    .form-section { padding: 22px 18px; }
    .form-section__head--action { grid-template-columns: 38px 1fr; }
    .form-section__head--action .button { grid-column: 1 / -1; }
    .form-actions { padding: 15px 18px; }
    .asset-identity-card { grid-template-columns: 1fr; }
    .asset-identity-card__media { height: 240px; }
    .timeline--admin .timeline-entry { grid-template-columns: 1fr; }
    .loan-hero-card { align-items: start; flex-direction: column; }
    .loan-code-mark { padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.15); border-left: 0; text-align: left; }
    .loan-asset-item { grid-template-columns: 40px 1fr; }
    .loan-asset-item > div:nth-last-child(-n+2) { grid-column: span 1; }
    .member-card { grid-template-columns: 48px 1fr auto; }
    .member-card__role { display: none; }
}

@media (max-width: 500px) {
    .public-topbar a { display: none; }
    .public-topbar > div { justify-content: center; text-align: center; }
    .container-wide, .container-narrow { width: min(100% - 28px, 1180px); }
    .hero h1 { font-size: 36px; }
    .hero__actions { flex-direction: column; }
    .public-stats__grid { grid-template-columns: 1fr 1fr; }
    .public-stat { padding: 22px 15px; }
    .public-stat strong { font-size: 27px; }
    .program-grid { grid-template-columns: 1fr; }
    .track-inline, .track-search { flex-direction: column; }
    .track-inline input, .track-search input { min-height: 46px; }
    .track-scan-action { flex-wrap: wrap; }
    .track-scan-action > span { width: 100%; }
    .track-scan-action small { max-width: 240px; width: 100%; text-align: center; }
    .qr-scanner-card { padding: 20px 16px; }
    .qr-scanner-card__head h2 { font-size: 21px; }
    .qr-reader { min-height: 240px; }
    .qr-scanner-actions { flex-direction: column; }
    .qr-scanner-actions .button { width: 100%; }
    .track-result, .track-guide { padding: 25px; }
    .public-status-card dl { grid-template-columns: 1fr; }
    .workbar__context small { display: none; }
    .workbar__context strong { font-size: 12px; }
    .metric-grid { grid-template-columns: 1fr; }
    .dashboard-welcome__actions { width: 100%; flex-direction: column; }
    .dashboard-welcome__actions .button { width: 100%; }
    .panel-callout { grid-template-columns: 31px 1fr; }
    .panel-callout a { grid-column: 2; }
    .two-fields { grid-template-columns: 1fr; }
    .filter-form { align-items: stretch; flex-direction: column; }
    .filter-form select { max-width: none; width: 100%; }
    .asset-identity-card { padding: 14px; }
}

@media print {
    .sidebar, .workbar, .app-footer, .page-actions, .button, .detail-aside { display: none !important; }
    .app-shell, .detail-layout, .loan-detail-grid { display: block; }
    .workspace__main { width: 100%; padding: 0; }
    .content-card, .data-card { break-inside: avoid; box-shadow: none; }
}
