/* Secretary precompiled design system v1 + app-specific plain CSS. No runtime Tailwind. */
:root { color: #172033; background: #f4f7fb; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; background: radial-gradient(circle at top left, #eef2ff 0, transparent 34rem), #f4f7fb; color: #172033; }
a { color: inherit; }
button, input { font: inherit; }
button, .button { min-height: 44px; border: 0; border-radius: 12px; padding: .72rem 1rem; background: #3155d5; color: #fff; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button-secondary { background: #eef2ff; color: #243b8f; }
.app-header { min-height: 68px; padding: 0 clamp(1rem, 4vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #dfe5ef; background: rgba(255,255,255,.9); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 2; }
.brand { font-weight: 850; text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; gap: .35rem; }
nav a { padding: .55rem .75rem; border-radius: 9px; text-decoration: none; color: #526078; }
nav a:hover { background: #eef2f8; color: #172033; }
.page-shell { width: min(1040px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem) 0 4rem; }
.hero { padding: clamp(1.2rem, 4vw, 2.2rem); border-radius: 24px; color: #fff; background: linear-gradient(135deg, #19295c, #3155d5 62%, #5679ee); box-shadow: 0 24px 64px rgba(31, 50, 105, .22); margin-bottom: 1.25rem; }
.hero h1, .panel h1, .panel h2, .login-card h1 { margin: .2rem 0 .55rem; letter-spacing: -.035em; }
.hero .eyebrow { color: #cbd8ff; }
.lede { max-width: 58ch; color: #e3e9ff; line-height: 1.6; }
.eyebrow { margin: 0 0 .25rem; color: #68758d; font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.panel, .login-card { background: #fff; border: 1px solid #dfe5ef; border-radius: 20px; box-shadow: 0 16px 44px rgba(38, 51, 77, .08); padding: clamp(1rem, 3vw, 1.5rem); margin-bottom: 1.25rem; }
.login-card { width: min(520px, 100%); margin: 10vh auto; text-align: center; }
.login-card p { color: #68758d; margin-bottom: 1.5rem; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
label { display: block; font-size: .88rem; font-weight: 750; margin-bottom: .45rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; }
input { width: 100%; min-height: 44px; border: 1px solid #cfd7e6; border-radius: 12px; padding: .72rem .85rem; color: #172033; background: #fff; }
input:focus { outline: 3px solid rgba(49, 85, 213, .18); border-color: #3155d5; }
.item-list { display: grid; gap: .7rem; }
.item-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid #e2e7f0; border-radius: 15px; padding: .9rem 1rem; }
.item-card p { margin: .2rem 0 0; color: #748096; font-size: .86rem; }
.empty-state { padding: 2rem 1rem; text-align: center; border: 1px dashed #cfd7e6; border-radius: 15px; color: #68758d; }
.empty-state h3 { color: #172033; margin: 0 0 .35rem; }
.details { display: grid; gap: .65rem; margin: 1.25rem 0; }
.details div { display: grid; grid-template-columns: 8rem minmax(0,1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #e7ebf2; }
.details dt { color: #68758d; }
.details dd { margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 620px) { .app-header { align-items: flex-start; flex-direction: column; padding-block: .85rem; } nav { width: 100%; } nav a { flex: 1; text-align: center; } .form-row { grid-template-columns: 1fr; } .item-card { align-items: stretch; flex-direction: column; } .item-card button { width: 100%; } .details div { grid-template-columns: 1fr; gap: .2rem; } }
