:root {
    color-scheme: light;
    --background: #9acbd3; --surface: rgb(239 251 250 / 42%); --surface-strong: rgb(247 253 252 / 72%); --surface-muted: rgb(206 234 234 / 48%);
    --text: #102f42; --muted: #46697b; --border: rgb(255 255 255 / 76%); --edge: rgb(27 91 111 / 34%);
    --primary: #087da1; --primary-dark: #075a79; --accent: #4ba66a; --danger: #a83d49; --danger-dark: #812c37; --success: #23744a; --focus: #f4ad3d;
    --shadow: 0 22px 45px rgb(18 57 70 / 19%), 0 4px 9px rgb(18 54 67 / 13%); --shadow-hover: 0 29px 58px rgb(12 47 61 / 27%), 0 7px 16px rgb(18 54 67 / 15%);
}
:root[data-theme="dark"] {
    color-scheme: dark; --background: #020507; --surface: rgb(12 17 20 / 76%); --surface-strong: rgb(21 27 31 / 90%); --surface-muted: rgb(37 46 49 / 65%);
    --text: #eef6f5; --muted: #a9b9b9; --border: rgb(221 247 245 / 14%); --edge: rgb(64 170 178 / 27%);
    --primary: #6adbe5; --primary-dark: #a3f1ed; --accent: #75d89b; --danger: #ff8c97; --danger-dark: #ffb0b8; --success: #78dba0; --focus: #ffc86b;
    --shadow: 0 22px 55px rgb(0 6 14 / 38%), 0 2px 8px rgb(0 0 0 / 22%); --shadow-hover: 0 28px 65px rgb(0 3 10 / 48%), 0 0 28px rgb(50 190 202 / 8%);
}
* { box-sizing: border-box; }
html { min-height: 100%; font-family: "Segoe UI Variable", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.55; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: radial-gradient(ellipse at 21% 18%, #d9f7ef 0%, transparent 40%), linear-gradient(148deg, #579db4, #b4d8d2 44%, #377e98); color: var(--text); transition: background-color 450ms ease, color 300ms ease; }
body::before { content: ""; position: fixed; inset: 0; z-index: -3; opacity: .54; background: linear-gradient(180deg, rgb(18 86 119 / 12%), rgb(224 246 239 / 8%) 48%, rgb(18 66 80 / 24%)), url("../img/background.png") center bottom / cover no-repeat; filter: saturate(.88) contrast(.96); }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] body { background: radial-gradient(circle at 76% -12%, #273d46 0%, transparent 38%), radial-gradient(circle at 4% 78%, #0d3333 0%, transparent 34%), linear-gradient(148deg, #010203 0%, #0b1114 47%, #12191e 72%, #05080b 100%); }
:root[data-theme="dark"] body::before { opacity: .28; background: linear-gradient(180deg, rgb(0 2 4 / 30%), rgb(1 5 7 / 47%) 58%, rgb(0 0 0 / 72%)), url("../img/background.png") center bottom / cover no-repeat; filter: saturate(.55) brightness(.58) contrast(1.12); }
.atmosphere { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .62; animation: drift 18s ease-in-out infinite alternate; }
.orb-sun { width: 28rem; height: 28rem; right: -7rem; top: -12rem; background: radial-gradient(circle at 40% 50%, rgb(255 248 195 / 88%), rgb(251 190 83 / 25%) 45%, transparent 70%); }
.orb-water { width: 42rem; height: 18rem; left: -12rem; bottom: -7rem; border-radius: 45% 60% 38% 62%; background: linear-gradient(125deg, rgb(37 162 199 / 42%), rgb(41 186 171 / 12%)); animation-delay: -7s; }
.orb-leaf { width: 21rem; height: 36rem; right: 8%; bottom: -19rem; border-radius: 80% 12% 76% 20%; background: linear-gradient(145deg, rgb(107 190 104 / 28%), rgb(36 153 147 / 8%)); transform: rotate(28deg); animation-delay: -12s; }
:root[data-theme="dark"] .orb { opacity: .32; filter: blur(8px); }
:root[data-theme="dark"] .orb-sun { background: radial-gradient(circle, rgb(93 129 218 / 50%), transparent 67%); }
a { color: var(--primary); text-underline-offset: .2em; transition: color 180ms ease; } a:hover { color: var(--primary-dark); }
h1, h2 { line-height: 1.16; margin-top: 0; letter-spacing: -.025em; } h1 { margin-bottom: .55rem; font-size: clamp(2rem, 5vw, 3.15rem); font-weight: 720; text-shadow: 0 1px 0 rgb(255 255 255 / 48%); } h2 { margin-bottom: .45rem; font-size: 1.2rem; } p { margin: .35rem 0 0; }
.container { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.page { padding-block: clamp(2.5rem, 6vw, 5.5rem) 5rem; animation: window-open 620ms cubic-bezier(.2,.75,.2,1) both; }
.site-header { position: sticky; top: .7rem; z-index: 20; width: min(1200px, calc(100% - 1rem)); margin: .7rem auto 0; color: #eef8f8; background: linear-gradient(180deg, rgb(70 82 87 / 88%) 0%, rgb(29 38 43 / 91%) 48%, rgb(12 21 26 / 92%) 100%); border: 1px solid rgb(255 255 255 / 34%); border-bottom-color: rgb(0 9 13 / 72%); border-radius: 1.35rem; box-shadow: 0 14px 38px rgb(8 32 42 / 31%), inset 0 1px 0 rgb(255 255 255 / 58%), inset 0 -1px 0 rgb(0 0 0 / 55%); backdrop-filter: blur(26px) saturate(125%); -webkit-backdrop-filter: blur(26px) saturate(125%); }
.nav { min-height: 4.45rem; display: flex; align-items: center; gap: 1.15rem; padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #f2fbfb; font-size: 1.07rem; font-weight: 760; letter-spacing: -.02em; text-decoration: none; text-shadow: 0 1px 2px rgb(0 0 0 / 65%); white-space: nowrap; } .brand:hover { color: #8de9ec; }
.brand-mark { position: relative; display: grid; width: 2rem; height: 2rem; place-items: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 75%); border-radius: 42% 58% 55% 45%; background: linear-gradient(145deg, #8ae5ed, #168eb4 55%, #176485); box-shadow: inset 0 2px 4px rgb(255 255 255 / 70%), 0 5px 12px rgb(8 111 142 / 28%); transform: rotate(-7deg); }
.brand-mark::before, .brand-mark span { content: ""; position: absolute; width: 1.2rem; height: .66rem; border-radius: 100% 0 100% 0; background: linear-gradient(145deg, #d9ffc8, #54bd69); transform: rotate(-24deg) translate(-.14rem, .12rem); box-shadow: inset 0 1px 1px rgb(255 255 255 / 70%); }
.brand-mark span { width: .85rem; height: .45rem; background: rgb(255 255 255 / 78%); transform: rotate(32deg) translate(.42rem, -.43rem); }
.nav-links { display: flex; align-items: center; gap: .15rem; flex: 1; }
.nav-links a { position: relative; color: #b9cccf; padding: .55rem .75rem; border-radius: .8rem; font-size: .93rem; font-weight: 650; text-decoration: none; text-shadow: 0 1px 1px rgb(0 0 0 / 55%); }
.nav-links a:hover, .nav-links a.active { color: #fff; background: linear-gradient(180deg, rgb(255 255 255 / 19%), rgb(255 255 255 / 7%)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 1px 3px rgb(0 0 0 / 24%); }
.nav-links a.active::after { content: ""; position: absolute; height: 3px; right: .72rem; bottom: .18rem; left: .72rem; border-radius: 99px; background: linear-gradient(90deg, var(--primary), var(--accent)); box-shadow: 0 0 8px color-mix(in srgb, var(--primary) 45%, transparent); }
.nav-actions, .locale-form { display: flex; align-items: center; gap: .55rem; } .locale-form { gap: .4rem; } .locale-form select { width: auto; min-height: 2.35rem; padding: .38rem 1.8rem .38rem .65rem; }
.site-header .locale-form select { color-scheme: dark; color: #eef8f8; border-color: rgb(255 255 255 / 25%); background-color: rgb(10 19 23 / 58%); box-shadow: inset 0 1px 3px rgb(0 0 0 / 45%), 0 1px 0 rgb(255 255 255 / 13%); }
.user-name { max-width: 9rem; overflow: hidden; color: #b9cccf; font-size: .88rem; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-grid; min-width: 1.35rem; min-height: 1.35rem; place-items: center; padding: .05rem .35rem; border-radius: 999px; background: linear-gradient(#fff0a9, #f4bd4c); color: #334019; box-shadow: inset 0 1px #fff9d5, 0 2px 5px rgb(119 90 20 / 22%); font-size: .72rem; }
.theme-toggle { position: relative; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; cursor: pointer; background: linear-gradient(#4c5b60, #1d292e); box-shadow: inset 0 1px 0 rgb(255 255 255 / 36%), 0 2px 5px rgb(0 0 0 / 35%); }
.theme-icon, .theme-icon::after { position: absolute; content: ""; inset: 50% auto auto 50%; width: .88rem; height: .88rem; border-radius: 50%; background: #edae3d; box-shadow: 0 0 9px rgb(237 174 61 / 55%); transform: translate(-50%, -50%); }
:root[data-theme="dark"] .theme-icon { background: #bbdcf0; box-shadow: 0 0 9px rgb(166 220 244 / 45%); } :root[data-theme="dark"] .theme-icon::after { width: .78rem; height: .78rem; background: #173949; transform: translate(-25%, -65%); }
:root[data-theme="dark"] .button.primary { color: #052a35; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; } .page-heading > div { max-width: 48rem; }
.eyebrow { margin-bottom: .55rem; color: var(--primary); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted, .hint { color: var(--muted); } .hint { font-size: .86rem; } .section-gap { margin-top: 1.5rem; } .section-gap-small { margin-top: .8rem; } .break-word { overflow-wrap: anywhere; }
.card { position: relative; overflow: hidden; padding: 1.4rem; border: 1px solid var(--border); border-right-color: rgb(77 128 138 / 22%); border-bottom-color: rgb(28 75 87 / 38%); border-radius: 1.35rem; background: radial-gradient(ellipse at 18% -15%, rgb(255 255 255 / 78%) 0%, transparent 42%), linear-gradient(155deg, rgb(255 255 255 / 37%) 0%, rgb(232 247 246 / 18%) 52%, rgb(135 194 204 / 20%) 100%), var(--surface); box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 88%), inset 1px 0 0 rgb(255 255 255 / 34%), inset 0 -1px 0 rgb(21 75 89 / 16%); backdrop-filter: blur(22px) saturate(155%) contrast(103%); -webkit-backdrop-filter: blur(22px) saturate(155%) contrast(103%); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(112deg, rgb(255 255 255 / 38%) 0%, transparent 17%, transparent 73%, rgb(63 155 169 / 8%) 100%); border-radius: inherit; opacity: .9; }
:root[data-theme="dark"] .card { border-color: rgb(209 237 237 / 16%); border-right-color: rgb(0 0 0 / 72%); border-bottom-color: rgb(0 0 0 / 88%); background: radial-gradient(ellipse at 16% -18%, rgb(180 210 211 / 20%) 0%, transparent 38%), linear-gradient(155deg, rgb(60 70 73 / 40%) 0%, rgb(14 19 22 / 68%) 48%, rgb(2 5 7 / 80%) 100%), var(--surface); box-shadow: var(--shadow), inset 0 1px 0 rgb(255 255 255 / 22%), inset 1px 0 0 rgb(255 255 255 / 8%), inset 0 -1px 0 #000; }
:root[data-theme="dark"] .card::before { background: linear-gradient(112deg, rgb(255 255 255 / 13%) 0%, transparent 21%, transparent 76%, rgb(43 189 198 / 6%) 100%); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 1rem; }
.card-link { min-height: 9.5rem; color: inherit; text-decoration: none; transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease, border-color 260ms ease; }
.card-link::after { content: "→"; position: absolute; right: 1.25rem; bottom: 1rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--surface-muted); box-shadow: inset 0 1px rgb(255 255 255 / 60%); transition: transform 240ms ease, background 240ms ease; }
.card-link:hover { color: inherit; border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); box-shadow: var(--shadow-hover), inset 0 1px 0 rgb(255 255 255 / 70%); transform: translateY(-5px); } .card-link:hover::after { background: color-mix(in srgb, var(--primary) 18%, var(--surface-muted)); transform: translateX(3px); }
.auth-card { max-width: 460px; margin: 5vh auto 0; padding: clamp(1.7rem, 5vw, 2.6rem); } .auth-card::after { content: ""; position: absolute; width: 10rem; height: 10rem; top: -6rem; right: -4rem; border-radius: 50%; background: radial-gradient(circle, rgb(92 202 188 / 25%), transparent 70%); } .auth-card form { margin-top: 1.65rem; }
.form-card { max-width: 840px; } .stack { display: grid; gap: .85rem; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } .inline-fields { display: flex; gap: .65rem; } .inline-fields input { flex: 1; } .search-form { margin-bottom: 1rem; }
.file-drop-zone { display: grid; min-height: 9rem; place-content: center; gap: .55rem; margin-top: .4rem; padding: 1rem; border: 2px dashed var(--edge); border-radius: 1rem; color: var(--muted); cursor: pointer; text-align: center; transition: border-color 180ms ease, background 180ms ease, color 180ms ease; } .file-drop-zone i { color: var(--primary); font-size: 1.6rem; } .file-drop-zone:hover, .file-drop-zone:focus-visible, .file-drop-zone.is-dragging { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 11%, var(--surface-muted)); color: var(--text); outline: 0; }
label, legend { font-weight: 680; } fieldset { border: 0; padding: 0; margin: .7rem 0; } legend { margin-bottom: .25rem; font-size: 1.05rem; }
input, select, textarea { width: 100%; min-height: 2.75rem; border: 1px solid var(--edge); border-top-color: color-mix(in srgb, var(--edge) 65%, var(--border)); border-radius: .75rem; outline: 0; background: color-mix(in srgb, var(--surface-strong) 86%, transparent); box-shadow: inset 0 2px 5px rgb(28 75 88 / 8%), 0 1px 0 rgb(255 255 255 / 52%); color: var(--text); font: inherit; padding: .65rem .8rem; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
input:focus, select:focus, textarea:focus { border-color: color-mix(in srgb, var(--primary) 65%, transparent); background: var(--surface-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent), inset 0 1px 3px rgb(24 74 90 / 8%); }
button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 65%, transparent); outline-offset: 3px; } input[aria-invalid="true"] { border-color: var(--danger); }
.check-row { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; } .check-row input, .check-card input { width: auto; min-height: auto; margin-top: .25rem; accent-color: var(--primary); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: .65rem; margin-top: .75rem; } .check-card { display: flex; gap: .65rem; padding: .85rem; border: 1px solid var(--edge); border-radius: .9rem; background: var(--surface-muted); font-weight: 500; } .check-card small { display: block; margin-top: .18rem; color: var(--muted); }
.button { display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: .85rem; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; padding: .66rem 1rem; text-decoration: none; transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease; } .button:hover { transform: translateY(-1px); }
.button.primary { border-color: rgb(255 255 255 / 32%); background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 78%, white), var(--primary)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 48%), 0 5px 13px color-mix(in srgb, var(--primary) 27%, transparent); } .button.primary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 68%, white), var(--primary-dark)); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%), 0 8px 18px color-mix(in srgb, var(--primary) 33%, transparent); }
.button.secondary { border-color: var(--edge); background: var(--surface-muted); color: var(--text); box-shadow: inset 0 1px 0 rgb(255 255 255 / 55%); } .button.secondary:hover { background: var(--surface-strong); color: var(--text); }
.button.danger { background: linear-gradient(#c95c68, var(--danger)); color: #fff; box-shadow: inset 0 1px rgb(255 255 255 / 35%); } .button.danger:hover { background: var(--danger-dark); color: #fff; }
.button.ghost { min-height: 2.35rem; border-color: var(--edge); background: rgb(255 255 255 / 14%); color: var(--text); } .button.ghost:hover { background: var(--surface-muted); }
.site-header .button.ghost { border-color: rgb(255 255 255 / 25%); background: linear-gradient(rgb(255 255 255 / 12%), rgb(255 255 255 / 4%)); color: #eef8f8; box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 2px 4px rgb(0 0 0 / 25%); } .site-header .button.ghost:hover { background: rgb(255 255 255 / 17%); color: #fff; }
.alert { padding: .95rem 1.1rem; margin-bottom: 1rem; border: 1px solid; border-radius: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(16px); } .alert ul { margin-bottom: 0; }
.alert.success { border-color: rgb(72 157 103 / 35%); background: color-mix(in srgb, #dff6e7 72%, var(--surface)); color: #174f32; } .alert.error { border-color: rgb(186 82 90 / 35%); background: color-mix(in srgb, #fae3e5 72%, var(--surface)); color: #76232d; }
:root[data-theme="dark"] .alert.success { color: #b9f2cf; background: rgb(22 77 52 / 75%); } :root[data-theme="dark"] .alert.error { color: #ffc4c9; background: rgb(91 34 44 / 75%); }
.danger-zone { border-color: color-mix(in srgb, var(--danger) 38%, var(--border)); } .status-pill { align-self: start; padding: .32rem .68rem; border-radius: 999px; background: var(--surface-muted); color: var(--muted); font-size: .78rem; font-weight: 750; white-space: nowrap; } .status-pill.failed { background: color-mix(in srgb, var(--danger) 14%, var(--surface)); color: var(--danger); }
.metric .metric-text { font-size: 1.1rem; overflow-wrap: anywhere; } .text-danger { color: var(--danger); }
pre { max-height: 28rem; overflow: auto; padding: 1rem; border: 1px solid rgb(103 211 220 / 15%); border-radius: 1rem; background: rgb(4 20 29 / 92%); color: #dff5f4; box-shadow: inset 0 2px 10px rgb(0 0 0 / 35%); white-space: pre-wrap; }
details summary { cursor: pointer; font-weight: 700; margin-block: .6rem; } .log-tree { max-height: 42rem; overflow: auto; padding: .9rem; border-radius: .9rem; background: var(--surface-muted); font-family: ui-monospace, monospace; font-size: .87rem; } .button i, a i { margin-right: .2rem; }
.session-row, .notification { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .notification.unread { border-left: 4px solid var(--primary); } .empty-state { color: var(--muted); text-align: center; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .metric span { display: block; color: var(--muted); } .metric strong { display: block; margin-top: .15rem; font-size: 2.25rem; letter-spacing: -.04em; }
.table-wrap { overflow-x: auto; padding: 0; } table { width: 100%; border-collapse: collapse; } th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--edge); text-align: left; vertical-align: middle; } th { background: var(--surface-muted); color: var(--muted); font-size: .76rem; letter-spacing: .075em; text-transform: uppercase; } tbody tr { transition: background 160ms ease; } tbody tr:hover { background: rgb(255 255 255 / 18%); } tbody tr:last-child td { border-bottom: 0; } .align-right { text-align: right; } .pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; } .pagination-summary { margin: 0; color: var(--muted); } .pagination-actions { display: flex; gap: .6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes window-open { from { opacity: 0; transform: translateY(14px) scale(.992); } to { opacity: 1; transform: none; } }
@keyframes drift { from { translate: -1% -1%; rotate: -5deg; } to { translate: 3% 2%; rotate: 4deg; } }
@media (max-width: 820px) { .site-header { top: .4rem; } .nav { gap: .55rem; } .brand { flex: 1; } .nav-links { order: 3; width: 100%; flex-basis: 100%; overflow-x: auto; padding-top: .25rem; scrollbar-width: none; } .nav-links::-webkit-scrollbar { display: none; } .nav-links a { flex: 0 0 auto; } .user-name { display: none; } }
@media (max-width: 620px) { .container { width: min(100% - 1.25rem, 1160px); } .site-header { width: calc(100% - .65rem); border-radius: 1.05rem; } .nav { align-items: center; } .brand > span:last-child { max-width: 7rem; overflow: hidden; text-overflow: ellipsis; } .locale-form select { width: 3.35rem; } .page { padding-top: 2.8rem; } .page-heading, .session-row, .notification, .pagination { align-items: stretch; flex-direction: column; } .form-grid, .metrics { grid-template-columns: 1fr; } .inline-fields { flex-direction: column; } .pagination-actions { justify-content: space-between; } .card { border-radius: 1.1rem; } .auth-card { margin-top: 1vh; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
@supports not (backdrop-filter: blur(1px)) { .site-header, .card, .alert { background: var(--surface-strong); } }
