:root {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #132039;
  background: #f5f7f8;
  --navy: #10223e;
  --blue: #086c62;
  --blue-dark: #05534b;
  --muted: #4d607a;
  --line: #dbe3e6;
  --white: #fff;
  --radius: 14px;
  font-synthesis: none;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea, summary { outline-offset: 3px; }
:focus-visible { outline: 3px solid #268f84; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.85rem, 3vw, 2.52rem); line-height: 1.13; letter-spacing: -.045em; }
h2 { font-size: 1.13rem; line-height: 1.25; letter-spacing: -.019em; }
p { overflow-wrap: anywhere; }
code { font-family: 'SFMono-Regular', Consolas, monospace; font-size: .87em; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 29px 17px 18px; color: #ebf3f3; background: #152a30; }
.sidebar nav { display: grid; gap: 4px; }
.nav-caption { margin: 4px 10px 8px; text-transform: uppercase; font-size: .65rem; font-weight: 750; letter-spacing: .12em; color: #adc3c5; }
.sidebar nav a { display: flex; min-height: 43px; align-items: center; gap: 12px; padding: 5px 10px; border-radius: 8px; color: #cfdfdf; font-size: .87rem; font-weight: 630; }
.sidebar nav a:hover { background: #243e45; }
.sidebar nav a[aria-current='page'] { color: #e3fff9; background: #275650; }
.sidebar-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 15px 4px 1px; border-top: 1px solid #365056; overflow-wrap: anywhere; font-size: .86rem; }
.sidebar-foot small { display: block; color: #acbfc2; font-size: .73rem; }
.avatar { flex: none; width: 33px; height: 33px; display: grid; place-items: center; background: #28504e; color: #e5f4ee; border-radius: 50%; font-weight: 740; }
.workspace { min-width: 0; }
.topbar { display: flex; gap: 15px; justify-content: space-between; align-items: center; min-height: 64px; padding: 9px clamp(18px, 3.4vw, 48px); background: white; border-bottom: 1px solid var(--line); font-size: .84rem; }
.breadcrumb { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumb strong { color: #283b57; }
.sep { margin: 0 .42rem; color: #7285a0; }
.text-button { border: 0; background: transparent; border-radius: 6px; padding: 7px; color: #304865; font-weight: 660; white-space: nowrap; }
.text-button:hover { background: #eef3fa; }
.text-button span { margin-left: 5px; }
.content { max-width: 1510px; margin-inline: auto; padding: clamp(26px, 3.4vw, 55px) clamp(18px, 3.4vw, 48px) 52px; }
.page-head { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.page-head > div { min-width: 0; }
.page-head h1 { overflow-wrap: anywhere; }
.lead { color: var(--muted); margin-top: 8px; font-size: .94rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; min-height: 42px; padding: 8px 15px; border: 1px solid transparent; border-radius: 8px; font-weight: 690; font-size: .86rem; line-height: 1.2; text-align: center; }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover, .button.primary:active { background: var(--blue-dark); }
.button.secondary { color: #263d62; border-color: #cbd8e8; background: white; }
.button.secondary:hover { background: #edf5f3; }
.button.danger { color: #932b33; border-color: #edc9cd; background: #fff7f6; }
.button.danger:hover { background: #fbe5e8; }
.button:disabled { opacity: .55; cursor: wait; }
.button.full { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 20px; }
.stat { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 19px 14px; border: 1px solid var(--line); border-radius: 11px; background: white; }
.stat:hover { border-color: #a8bee0; }
.stat small { display: block; line-height: 1.28; font-size: .74rem; color: var(--muted); }
.stat strong { display: block; margin-top: 3px; font-size: 1.9rem; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.icon { display: inline-grid; flex: none; place-items: center; width: 1.22rem; height: 1.22rem; line-height: 1; font-style: normal; font-size: 1.1rem; font-family: 'DejaVu Sans', 'Segoe UI Symbol', sans-serif; }
.i-grid::before { content: '⊞'; }
.i-box::before { content: '◇'; font-weight: 750; }
.i-user { position: relative; }
.i-user::before, .i-user::after { content: ''; position: absolute; border: 1.5px solid currentColor; }
.i-user::before { width: 6px; height: 6px; border-radius: 50%; transform: translateY(-4px); }
.i-user::after { width: 13px; height: 6px; border-radius: 8px 8px 2px 2px; transform: translateY(4px); }
.i-log::before { content: '≡'; }
.i-file::before { content: '▤'; }
.i-download::before { content: '↓'; font-weight: 800; }
.i-key::before { content: ''; width: 13px; height: 11px; border: 1.5px solid currentColor; border-radius: 4px; box-shadow: inset 0 -3px 0 currentColor; }
.i-channel::before { content: ''; width: 14px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(90deg,transparent 42%,currentColor 42% 53%,transparent 53%); }
.stat .icon, .tile-icon { width: 37px; height: 37px; border-radius: 9px; }
.tone-green { color: #16694e; background: #e4f6ee; }
.tone-amber { color: #8b5613; background: #fff2db; }
.tone-blue, .tile-icon { color: #126c64; background: #e7f2ef; }
.tone-purple { color: #623ca1; background: #f0eafd; }
.dashboard-grid, .detail-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.detail-grid { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); }
.panel { min-width: 0; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; min-height: 63px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.quiet-link, .back { color: #096a62; font-size: .83rem; font-weight: 690; }
.quiet-link:hover, .back:hover { text-decoration: underline; }
.back { display: inline-block; margin-bottom: 12px; }
.release-list, .activity-list { padding: 0; margin: 0; list-style: none; }
.release-list li + li, .activity-list li + li { border-top: 1px solid #eef2f7; }
.release-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 13px 17px; }
.release-list a:hover { background: #f7faff; }
.release-list strong, .activity-list strong { display: block; font-size: .85rem; overflow-wrap: anywhere; }
.release-list small, .activity-list small, .activity-list time { display: block; font-size: .75rem; color: var(--muted); overflow-wrap: anywhere; }
.activity-list li { display: flex; gap: 10px; padding: 11px 17px; }
.activity-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; margin-top: 6px; background: #7298dc; }
.pill { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; border-radius: 30px; padding: 4px 8px; font-size: .72rem; font-weight: 750; }
.pill span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.published { color: #166345; background: #e1f5e9; }
.pill.draft { color: #815310; background: #fff1d9; }
.pill.withdrawn { color: #7e4150; background: #f9e9ed; }
.empty { display: grid; place-items: center; align-content: center; gap: 6px; text-align: center; min-height: 172px; padding: 21px 13px; }
.empty .icon { width: 36px; height: 36px; border-radius: 9px; background: #eef3fc; color: #436cab; }
.empty strong { font-size: .88rem; }
.empty p, .help { color: var(--muted); font-size: .82rem; }
.filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 15px 17px; }
.filters label:first-child { flex: 1 1 200px; }
.filters .quiet-link { padding-bottom: 9px; }
label { display: block; font-weight: 690; font-size: .86rem; color: #26374f; }
input:not([type='checkbox']), select, textarea { display: block; width: 100%; min-height: 42px; max-width: 100%; margin-top: 5px; padding: 8px 10px; border: 1px solid #c8d4e3; border-radius: 8px; color: #172843; background: white; }
input::placeholder, textarea::placeholder { color: #62748b; }
textarea { resize: vertical; }
input[type='file'] { padding: 7px; }
input[type='file']::file-selector-button { padding: 6px 10px; margin-right: 9px; border: 0; border-radius: 5px; background: #eaf0ff; color: #194899; cursor: pointer; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; text-align: left; }
tr:not(:last-child) td { border-bottom: 1px solid #e9eef5; }
th, td { padding: 12px 15px; }
th { color: #415671; background: #f7f9fc; line-height: 1.3; font-size: .72rem; border-bottom: 1px solid var(--line); }
td { overflow-wrap: anywhere; }
td small { display: block; color: var(--muted); }
td .quiet-link { white-space: nowrap; }
.form-panel { max-width: 740px; padding: 22px; }
.form-stack { display: grid; gap: 15px; }
.form-stack .help { margin-top: -5px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.optional { color: var(--muted); font-weight: 480; margin-left: 4px; }
.notice { padding: 10px 13px; border-radius: 8px; font-size: .86rem; border: 1px solid; overflow-wrap: anywhere; }
.content > .notice { margin-bottom: 14px; }
.notice.success { border-color: #bee5cf; background: #eaf8ef; color: #145637; }
.notice.error, .upload-failed { border-color: #f0c7cb; background: #fff0f0; color: #8c2433; }
.notice.info { border-color: #cbdbf7; background: #ecf3ff; color: #1e487d; }
.recipients { min-width: 0; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.recipients legend { padding: 0 5px; color: #26374f; font-size: .86rem; font-weight: 710; }
.recipients .help { margin: 0 0 7px; }
.recipient-list { max-height: 220px; overflow-y: auto; margin-top: 7px; }
.check-row { min-height: 43px; display: flex; gap: 9px; align-items: center; padding: 6px 3px; }
.check-row input { flex: none; min-height: 20px; width: 18px; accent-color: var(--blue); }
.check-row small { display: block; color: var(--muted); font-weight: 480; overflow-wrap: anywhere; }
.legacy-check { border-top: 1px solid var(--line); }
.package-card h2 { margin-top: 12px; }
dl { margin: 13px 0 20px; }
dt { margin-top: 10px; color: var(--muted); font-size: .76rem; font-weight: 690; }
dd { margin: 1px 0 0; font-size: .87rem; overflow-wrap: anywhere; }
.checksum { display: inline-block; color: #36567e; background: #f0f4fa; padding: 3px 5px; border-radius: 4px; max-width: 100%; }
.pager { padding: 11px 15px; border-top: 1px solid var(--line); }
.download-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 17px; align-items: start; }
.download-card { display: grid; gap: 10px; padding: 18px; }
.download-card h2 { overflow-wrap: anywhere; }
.download-top { display: flex; justify-content: space-between; align-items: center; }
.download-meta, .download-card details { color: var(--muted); font-size: .83rem; }
.release-notes { white-space: pre-wrap; font-size: .9rem; }
.download-card summary { width: max-content; max-width: 100%; cursor: pointer; min-height: 30px; }
.download-card details p { margin-bottom: 6px; overflow-wrap: anywhere; }
.upload-status progress { display: block; width: 100%; accent-color: var(--blue); }
.upload-status p { margin-top: 5px; font-size: .83rem; }
.error-layout { max-width: 615px; margin: 60px auto 0; padding: 0 15px; }
.error-layout p, .error-layout .button, .content > .panel > p { margin-top: 12px; }
.content > .panel > p + .button { margin-top: 12px; }

.product-name { display: grid; width: fit-content; gap: 9px; margin: 0 10px 38px; font-weight: 680; font-size: 1.36rem; line-height: 1.3; letter-spacing: -.045em; }
.custom-logo { max-height: 45px; max-width: 155px; width: auto; height: auto; object-fit: contain; }
.channel-strip { margin-bottom: 20px; }
.channel-shortcuts { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px; }
.channel-shortcuts a { display: grid; gap: 2px; padding: 9px 13px; background: #f1f6f4; border: 1px solid #d7e5df; border-radius: 8px; color: #245b52; font-size: .85rem; }
.channel-shortcuts a:hover { background: #e3efea; }
.portal-shortcuts { padding: 0; margin-bottom: 17px; }
.inline-empty { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 18px; }
.inline-empty p, .channel-metrics { color: var(--muted); font-size: .85rem; }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); gap: 16px; }
.channel-card { display: grid; align-content: start; gap: 13px; padding: 20px; }
.channel-card-top { display: flex; align-items: center; justify-content: space-between; }
.channel-card h2 { font-size: 1.32rem; overflow-wrap: anywhere; }
.channel-card footer { padding-top: 13px; border-top: 1px solid var(--line); }
.url-path, .saved-address code { display: block; padding: 9px 10px; background: #f2f5f5; border-radius: 6px; }
.channel-metrics { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.path-input { display: flex; align-items: center; border: 1px solid #c8d4e3; border-radius: 8px; margin-top: 5px; background: #f3f6f6; overflow: hidden; }
.path-input span { flex: none; padding-left: 10px; color: var(--muted); font-family: monospace; font-weight: normal; }
.path-input input { margin: 0; border: 0; border-radius: 0; }
.path-input:focus-within { outline: 3px solid #268f84; outline-offset: 2px; }
.channel-editor .form-panel { max-width: none; }
.release-picker { max-height: 375px; }
.release-picker .check-row { gap: 8px; border-bottom: 1px solid var(--line); }
.release-picker .check-row > span:nth-child(2) { flex: 1; min-width: 0; }
.release-picker strong { overflow-wrap: anywhere; }
.saved-address small { display: block; color: var(--muted); margin-bottom: 5px; }
.signin { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 20% 6%,#e1eeea,transparent 55%), #f3f6f5; }
.signin-panel { width: min(100%,424px); padding: clamp(24px,5vw,42px); background: #fff; border: 1px solid #d1dfda; border-radius: 18px; box-shadow: 0 14px 45px #173c3210; }
.signin-product { color: #24675f; font-weight: 680; font-size: .9rem; margin-bottom: 22px; }
.signin-panel h1 { font-size: 2.25rem; }
.signin-panel .lead { margin-bottom: 22px; }
.signin-panel .notice { margin-bottom: 14px; }
.signin-panel .custom-logo { display: block; margin-bottom: 10px; }
@media (max-width: 1090px) {
  .shell { grid-template-columns: 205px minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .dashboard-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; padding: 13px 13px 8px; border: 0; border-bottom: 1px solid var(--line); }
  .product-name { margin: 0 5px 8px; font-size: 1.18rem; }
  .sidebar nav { display: flex; flex-wrap: wrap; gap: 3px; }
  .sidebar nav a { gap: 5px; font-size: .77rem; min-height: 38px; padding-inline: 7px; }
  .sidebar nav .icon { font-size: .93rem; width: .93rem; }
  .nav-caption, .sidebar-foot { display: none; }
  .topbar { min-height: 44px; padding-block: 4px; }
  .content { padding-top: 21px; }
  .page-head { align-items: flex-start; flex-direction: column; }
  .stats { gap: 8px; }
  .stat { padding: 9px 8px; gap: 7px; }
  .stat .icon { width: 29px; height: 29px; }
  .stat small { font-size: .68rem; }
  .stat strong { font-size: 1.3rem; }
  .form-panel { padding: 15px; }
  input:not([type='checkbox']), textarea, select { font-size: 16px; }
}
.i-frame::before { content: ''; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; background: linear-gradient(90deg,currentColor 48%,transparent 48%); }
.release-channels { display: grid; gap: 8px; margin-top: 18px; border-top: 1px solid var(--line); }
