/* Library layout using campus theme tokens. */
.arq-library-compact{color:var(--ink);background:var(--bg);padding:16px;border-radius:12px;min-width:0}
.arq-library-compact .library-overview-hero{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:start;padding:0;margin:0 0 16px;background:transparent;border:0}
.app-shell.campus-refined .arq-library-compact .library-overview-hero>img,.arq-library-compact .library-overview-hero>img{width:96px;height:72px;max-height:72px;object-fit:contain;object-position:center;background:transparent;border-radius:8px}
.arq-library-compact .library-overview-hero h1{font-size:22px;line-height:1.25;margin:0 0 6px;color:var(--ink)}
.arq-library-compact .library-overview-hero p{font-size:13px;line-height:1.5;margin:0 0 8px;color:var(--muted);max-width:78ch}
.arq-library-compact .library-specs{display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0}
.arq-library-compact .library-specs>div{padding:0;border:0}
.arq-library-compact .library-specs dt{font-size:11px;color:var(--muted)}
.arq-library-compact .library-specs dd{font-size:13px;margin:2px 0 0;color:var(--ink)}
.library-delivery-compact{display:flex;flex-direction:column;gap:16px;align-items:stretch;margin:0}
.library-delivery-compact>.product-delivery-notice,.library-delivery-compact>.commerce-actions{grid-column:1/-1;margin:0}
.library-archive-column,.library-installation-column{min-width:0;width:100%}.library-installation-column{max-width:640px}
.library-archive-column{container-type:inline-size;container-name:library-archives}
.library-delivery-compact h2{font-size:16px;line-height:1.4;color:var(--ink);margin:0 0 10px}
.library-delivery-compact .app-section-title{margin:0 0 10px;gap:8px}
.library-delivery-compact .app-section-title h2{margin:0}
.library-delivery-compact input{background:var(--surface-2);border:1px solid var(--line);color:var(--ink);min-height:40px;max-width:100%}
.library-delivery-compact input::placeholder{color:var(--muted);opacity:1}
.library-delivery-compact .product-file-list{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:10px 0 0}
.library-delivery-compact .product-file-list>div{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:8px;min-width:0}
.library-delivery-compact .product-file-list>div>span{min-width:0}
.library-delivery-compact .product-file-list strong{display:block;color:var(--ink);font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
.library-delivery-compact .product-file-list small{display:block;font-size:11px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.library-delivery-compact .product-file-list .text-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 10px;background:var(--accent);color:var(--accent-ink);border:1px solid transparent;border-radius:6px;font:inherit;font-size:12px;font-weight:700;line-height:1.3;text-decoration:none;cursor:pointer;white-space:nowrap}
.library-delivery-compact .product-file-list .text-link:hover{background:color-mix(in srgb,var(--accent) 84%,var(--accent-ink));color:var(--accent-ink)}
.library-delivery-compact .product-file-list .text-link:disabled{background:var(--surface);color:var(--muted);cursor:wait;opacity:1}
.library-delivery-compact :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.library-delivery-compact .file-requirement{font-size:11px;line-height:1.4;color:var(--muted);white-space:normal}
.library-delivery-compact .library-split-hint{font-size:12px;line-height:1.5;color:var(--muted);margin:8px 0}
.library-installation-column h2{margin-bottom:10px}
.library-installation-empty{display:block;padding:12px 14px;margin:0;background:var(--surface-2);border:1px dashed var(--line);border-radius:8px;font-size:13px;line-height:1.6;color:var(--muted);text-align:left}
.library-installation-column video,.library-installation-column iframe{width:100%;max-width:100%;aspect-ratio:16/9;height:auto}
.library-installation-notes{margin-top:12px;border-top:1px solid var(--line);padding-top:10px;font-size:13px;line-height:1.6}
.library-installation-notes summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;min-height:40px;color:var(--ink)}
.library-installation-notes p{color:var(--muted)}
.library-delivery-compact .file-list-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.library-delivery-compact .file-list-heading h3{font-size:15px;line-height:1.4;margin:0}
.library-delivery-compact .file-list-heading input{width:190px;max-width:100%}
.library-installation-picker{max-width:100%;min-height:40px;white-space:normal}
.library-installation-editor-help{margin:0 0 12px;font-size:12px;line-height:1.5;color:var(--muted)}
@container library-archives (min-width:680px){.library-delivery-compact .product-file-list{grid-template-columns:repeat(2,minmax(0,1fr))}.library-delivery-compact .product-file-list>div{grid-template-columns:minmax(0,1fr) auto;gap:8px}.library-delivery-compact .product-file-list>div>svg{display:none}}
@media(max-width:600px){.library-installation-picker,.library-delivery-compact input{min-height:44px}}
[data-theme="dark"] .home-resume{color:#fff}
[data-theme="dark"] .home-resume-button{background:#222224;color:#fff;border:1px solid #414145;transition:background-color 160ms ease;transform:none}
[data-theme="dark"] .home-resume-button strong{color:#fff}
[data-theme="dark"] .home-resume-button small{color:#d0d0d3}
[data-theme="dark"] .home-resume-button:hover{background:#2c2c2e}
[data-theme="dark"] .home-resume-button:focus-visible{outline-color:#26bbff}


@media(max-width:600px){.arq-library-compact{padding:12px}.arq-library-compact .library-overview-hero{grid-template-columns:64px minmax(0,1fr);gap:12px}.app-shell.campus-refined .arq-library-compact .library-overview-hero>img,.arq-library-compact .library-overview-hero>img{width:64px;height:64px}.arq-library-compact .library-overview-hero h1{font-size:20px}.library-delivery-compact .product-file-list>div{grid-template-columns:minmax(0,1fr) auto;gap:8px}.library-delivery-compact .product-file-list>div>svg{display:none}.library-delivery-compact .product-file-list .text-link{min-height:44px;padding:8px}.library-delivery-compact input{font-size:16px}.arq-library-compact .library-specs{gap:8px 16px}}
@media(prefers-reduced-motion:reduce){[data-theme="dark"] .home-resume-button{transition:none}}
