:root { color-scheme: light; font: 16px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; color: #153b40; background: #f4faf8; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 56px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #14565c; color: white; font-weight: 800; font-size: 22px; }
h1, h2, h3 { margin: 0 0 8px; letter-spacing: -.02em; }
.eyebrow { margin: 0 0 3px; color: #3a7572; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.card { border: 1px solid #d7e8e4; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px #153b400d; padding: 22px; }
.login-card { max-width: 520px; }
.muted { color: #5e7779; }
.primary, .secondary, .nav-button { border-radius: 10px; border: 1px solid #c5ddda; font: inherit; padding: 10px 14px; cursor: pointer; }
.primary { border-color: #14565c; background: #14565c; color: #fff; font-weight: 700; }
.secondary, .nav-button { background: #fff; color: #14565c; }
.primary:hover, .nav-button.active { background: #0f474d; color: #fff; }
.primary:disabled, .secondary:disabled { cursor: not-allowed; opacity: .5; }
.message { min-height: 24px; margin: 12px 0 0; color: #8f3f3f; }
.identity-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pill { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: #e6f3f0; color: #14565c; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.layout { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: start; }
.side-nav { display: grid; gap: 8px; padding: 14px; }
.nav-button { text-align: left; }
.content { min-height: 420px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.metric { border-radius: 13px; background: #edf7f4; padding: 14px; }
.metric strong { display: block; font-size: 28px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-bottom: 1px solid #e5efed; text-align: left; vertical-align: top; }
th { color: #527071; font-size: 13px; }
.empty { padding: 28px 0; color: #5e7779; }
.danger { color: #8f3f3f; }
.inline-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; align-items: end; margin: 14px 0 22px; padding: 14px; border: 1px solid #d7e8e4; border-radius: 13px; background: #f8fcfb; }
.inline-form label { display: grid; gap: 5px; color: #527071; font-size: 13px; font-weight: 700; }
.inline-form input, .inline-form select, .inline-form textarea { width: 100%; border: 1px solid #c5ddda; border-radius: 8px; padding: 9px; color: #153b40; background: #fff; font: inherit; }
.inline-form textarea { min-height: 92px; resize: vertical; }
.inline-form .primary { width: max-content; }
.status-list { display: grid; gap: 3px; min-width: 210px; font-size: 12px; color: #527071; }
.status-list strong { color: #153b40; }
.workspace-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 16px 0; }
.room-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.room-tabs .pill { margin-left: 0; }
.sensitivity-watermark { margin: 10px 0; padding: 8px 12px; border: 1px dashed #b98635; border-radius: 8px; color: #805d1c; background: #fff8e8; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 720px) { .shell { width: min(100% - 20px, 640px); padding-top: 16px; } .layout { grid-template-columns: 1fr; } .side-nav { display: flex; overflow-x: auto; } .nav-button { white-space: nowrap; } .identity-bar { align-items: flex-start; flex-direction: column; } }

@font-face { font-family: THYSUREInter; src: url('/fonts/Inter-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: THYSUREInter; src: url('/fonts/Inter-SemiBold.ttf') format('truetype'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: THYSURESerif; src: url('/fonts/EBGaramond-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
:root { font-family: THYSUREInter, Inter, ui-sans-serif, system-ui, sans-serif; color: #173b3d; background: #f3f6f1; }
body { background: radial-gradient(circle at 10% 0%, #e5f0e8 0, transparent 35%), linear-gradient(145deg, #f7faf6, #edf3ef); }
.shell { width: min(1440px, calc(100% - 44px)); padding: 34px 0 72px; }
.brand { align-items: center; margin-bottom: 30px; }
.brand .mark { width: 48px; height: 48px; padding: 7px; border-radius: 14px; background: #0c4c4d; object-fit: contain; }
.brand h1 { font-family: THYSURESerif, Georgia, serif; font-size: clamp(30px, 4vw, 46px); font-weight: 400; letter-spacing: -.035em; }
.eyebrow { color: #7a5d3b; letter-spacing: .18em; }
.card { border: 1px solid #d8e2d8; border-radius: 22px; background: rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(22, 57, 53, .08); padding: 24px; backdrop-filter: blur(10px); }
.login-card { max-width: 560px; padding: 36px; }
.login-card h2, .content h2 { font-family: THYSURESerif, Georgia, serif; font-size: clamp(28px, 4vw, 42px); font-weight: 400; }
.muted { color: #617774; }
.primary, .secondary, .nav-button { min-height: 42px; border-radius: 12px; border-color: #c4d7cc; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.primary { background: #0c4c4d; border-color: #0c4c4d; box-shadow: 0 8px 18px rgba(12, 76, 77, .18); }
.primary:hover, .primary:focus-visible, .nav-button.active { background: #083b3c; box-shadow: 0 10px 22px rgba(12, 76, 77, .22); transform: translateY(-1px); }
.secondary:hover, .secondary:focus-visible, .nav-button:hover, .nav-button:focus-visible { background: #eef5f0; transform: translateY(-1px); }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #d5a36a; outline-offset: 2px; }
.identity-bar { background: #0c4c4d; color: #fff; border-color: #0c4c4d; }
.identity-bar .pill { background: #dcefe3; color: #0c4c4d; }
.identity-bar .secondary { border-color: rgba(255,255,255,.35); background: transparent; color: #fff; }
.layout { grid-template-columns: 230px minmax(0, 1fr); gap: 22px; }
.side-nav { position: sticky; top: 18px; background: rgba(246,250,246,.9); }
.nav-button { font-size: 14px; font-weight: 600; }
.content { min-height: 560px; }
.metric { border: 1px solid #dbe8dd; background: linear-gradient(145deg, #eff7ef, #e4f0e9); }
.metric strong { color: #0c4c4d; font-weight: 600; }
.workspace-grid { gap: 20px; }
.workspace-grid > .card, .content > .card { box-shadow: none; background: #fbfdfb; }
.inline-form { border-color: #dbe8dd; background: #f4f8f3; }
.inline-form input, .inline-form select, .inline-form textarea { border-color: #cadbd0; }
th { color: #7a5d3b; letter-spacing: .04em; text-transform: uppercase; }
.table-wrap { border: 1px solid #e1e9e1; border-radius: 14px; }
table { min-width: 680px; }
tr:hover td { background: #f4f8f3; }
.room-tabs .pill { border: 1px solid #cadbd0; background: #f3f8f3; }
@media (max-width: 720px) { .shell { width: min(100% - 24px, 680px); padding-top: 18px; } .card { border-radius: 18px; padding: 18px; } .login-card { padding: 26px 20px; } .side-nav { position: static; } .content { min-height: 420px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
