/* Portal SEASI · Swiss Midnight. Official identity remains in the unmodified PNGs. */
:root { color-scheme: light; }
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; background: var(--seasi-bg); color: var(--seasi-fg); font: 400 15px/1.6 var(--seasi-font-sans); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .68; }
:focus-visible { outline: 3px solid #557a9b; outline-offset: 3px; }
.shell { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.site-header { background: var(--seasi-surface-dark); color: var(--seasi-blanco); border-bottom: 1px solid #253143; }
.header-inner { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; flex: none; }
.brand-link img { width: clamp(230px, 24vw, 300px); max-width: 100%; height: auto; display: block; }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 36px); }
.header-actions form { margin: 0; }
.nav-link { background: none; border: 0; padding: 8px 0; color: #c3cfdb; text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current] { color: white; }
.nav-link[aria-current] { border-bottom: 1px solid var(--seasi-platino-luminoso); }
.page-main { min-height: calc(100vh - 175px); padding: 36px 0 90px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; color: #596b79; font-size: 13px; }
.breadcrumbs a { text-decoration: none; border-bottom: 1px solid #9facb6; }
.breadcrumbs a:hover { color: #081326; border-color: #081326; }
.eyebrow { color: #647989; font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 28px 0 48px; }
.page-heading .eyebrow { margin: 0 0 13px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font: 500 clamp(32px, 4vw, 54px)/1.14 var(--seasi-font-display); letter-spacing: -.025em; overflow-wrap: anywhere; margin-bottom: 17px; }
h2 { font: 500 clamp(23px, 2.4vw, 31px)/1.25 var(--seasi-font-display); margin-bottom: 13px; }
h3 { font-size: 19px; margin-bottom: 8px; }
.intro { max-width: 610px; color: #516577; line-height: 1.7; margin-bottom: 0; }
.heading-mark { font: 500 36px var(--seasi-font-display); color: #8e9ca8; border-top: 1px solid #8e9ca8; padding-top: 14px; white-space: nowrap; }
.heading-mark span { font: 500 13px var(--seasi-font-sans); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #dce3e9; padding-bottom: 16px; margin-bottom: 22px; }
.section-heading h2 { font-size: 20px; margin: 0; }
.count { font-size: 12px; color: #41576b; background: #e5ebef; border: 1px solid #ced8df; border-radius: 40px; padding: 7px 14px; white-space: nowrap; }
.count-large { align-self: center; }
.tenant-grid, .envelope-list { list-style: none; padding: 0; margin: 0; }
.tenant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 325px), 1fr)); gap: 18px; }
.tenant-card { min-height: 245px; padding: 26px; display: flex; flex-direction: column; align-items: start; text-decoration: none; background: white; border: 1px solid #dbe3e9; box-shadow: 0 12px 32px #08132608; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tenant-card:hover, .tenant-card:focus-visible { border-color: #8e9ca8; transform: translateY(-2px); box-shadow: 0 18px 38px #08132612; }
.card-number { color: #647989; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.tenant-name { font: 500 25px/1.25 var(--seasi-font-display); overflow-wrap: anywhere; margin: 27px 0 24px; }
.card-footer { width: 100%; margin-top: auto; border-top: 1px solid #dfe6eb; padding-top: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.role-tag { color: #42576a; font-size: 12px; }
.card-arrow, .row-arrow { font-size: 22px; line-height: 1; }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 30px; border-top: 1px solid #d9e0e6; padding-block: 20px 32px; color: #576a7a; font-size: 12px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(310px, 410px) minmax(0, 1fr); align-items: start; gap: 22px; }
.panel { background: white; border: 1px solid #dce4ea; padding: clamp(24px, 3vw, 38px); box-shadow: 0 12px 36px #08132608; min-width: 0; }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid #e0e7ec; }
.panel-top .eyebrow { margin: 0; }
.panel-icon { font-size: 23px; color: #647989; line-height: 1; }
.panel-description { color: #516577; font-size: 14px; margin-bottom: 30px; }
.form-field { margin-bottom: 19px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.required { color: #a14035; }
.form-field input:not([type=file]), .form-field select, .form-field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #b9c6d0; border-radius: 2px; padding: 11px 13px; background: white; color: #081326; font: inherit; }
.form-field textarea { resize: vertical; line-height: 1.5; }
.engagement-addon { border: 1px solid #c4d0da; margin: 22px 0; padding: 18px; min-width: 0; }
.engagement-addon legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.form-field select[multiple] { min-height: 140px; }
.list-panel h3 { margin: 24px 0 10px; }
.list-panel ul:not(.envelope-list) { padding-left: 21px; line-height: 1.65; font-size: 14px; color: #31445a; }
.form-field input::placeholder { color: #657989; opacity: 1; }
.form-field input[type=file] { display: block; width: 100%; border: 1px dashed #9eafbd; background: #f6f8fb; padding: 14px; color: #182b3d; font-size: 13px; }
.form-field input[type=file]::file-selector-button { border: 1px solid #8e9ca8; padding: 6px 10px; background: white; color: #081326; font: inherit; margin-right: 12px; cursor: pointer; }
.form-field small { display: block; margin-top: 7px; color: #516577; font-size: 12px; }
.draft-note { display: flex; gap: 14px; background: #edf2f5; border-left: 3px solid #8e9ca8; padding: 14px; margin: 28px 0 22px; }
.draft-note p { font-size: 13px; line-height: 1.55; margin: 0; }
.note-symbol { font-size: 20px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 11px 21px; border: 1px solid transparent; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.4; text-align: center; transition: background .15s, border-color .15s; }
.button-full { width: 100%; justify-content: space-between; }
.button-primary { background: #081326; color: white; }
.button-primary:hover { background: #233c59; }
.button-outline { border-color: #8195a5; color: #081326; background: transparent; }
.button-outline:hover { background: #e8eef2; }
.button-danger { background: #74382f; color: white; }
.button-danger:hover { background: #58291f; }
.form-hint { min-height: 1px; margin: 8px 0 0; color: #41576b; font-size: 13px; }
.envelope-list { border-top: 1px solid #e0e7ec; }
.envelope-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 19px 2px; border-bottom: 1px solid #e0e7ec; text-decoration: none; }
.envelope-row:hover { background: #f6f8fb; }
.row-main { min-width: 0; }
.row-main strong { display: block; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.row-main small { display: block; color: #516577; font-size: 12px; overflow-wrap: anywhere; }
.row-side { display: flex; align-items: center; flex: none; gap: 16px; }
.row-arrow { color: #647989; }
.status-chip { display: inline-block; max-width: 100%; padding: 5px 10px; color: #31485e; background: #e7eef3; border: 1px solid #cedce5; font-size: 11px; font-weight: 700; letter-spacing: .02em; overflow-wrap: anywhere; }
.status-draft { color: #31485e; background: #e6edf2; }
.status-warning { color: #713a25; background: #f8ede5; border-color: #e2c5b2; }
.empty-state { padding: 60px 30px; background: white; border: 1px solid #dce4ea; text-align: center; }
.empty-compact { border: 0; padding: 32px 10px; }
.empty-number { display: block; color: #9caeba; font: 500 60px var(--seasi-font-display); }
.empty-state p { margin: 0 auto; max-width: 400px; color: #516577; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); align-items: start; gap: 22px; }
.details { margin: 12px 0 30px; }
.details > div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; border-bottom: 1px solid #e1e8ed; padding: 17px 0; }
.details dt { font-size: 12px; font-weight: 700; color: #516577; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.fine-print { font-size: 12px; color: #516577; line-height: 1.6; margin-bottom: 25px; }
.action-panel > p { color: #516577; }
.warning-box { background: #fbf3ed; border-left: 3px solid #9b5943; padding: 17px 19px; color: #512b22; margin: 22px 0; font-size: 14px; }
.warning-box p { margin: 8px 0 0; }
.confirm-check { display: flex; gap: 11px; align-items: start; color: #23374a; font-size: 13px; font-weight: 600; margin-bottom: 23px; cursor: pointer; }
.confirm-check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #081326; }
.login-page { background: white; }
.login-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.login-story { color: white; background: radial-gradient(circle at 90% 85%, #1d3248 0%, transparent 42%), #060b17; }
.login-story-inner { min-height: 100vh; max-width: 780px; margin-left: auto; padding: clamp(32px, 5vw, 78px); display: flex; flex-direction: column; justify-content: space-between; }
.story-logo { width: clamp(210px, 27vw, 330px); height: auto; }
.story-copy { max-width: 580px; margin-block: 80px; }
.eyebrow-light { color: #b8cad8; }
.story-copy h1 { font-size: clamp(42px, 5vw, 76px); line-height: 1.13; margin: 28px 0; }
.story-copy h1 em { font-style: normal; color: #a3b4c4; }
.story-copy > p:last-child { color: #c9d5df; font-size: 16px; max-width: 440px; }
.story-foot { color: #a3b4c4; letter-spacing: .17em; font-size: 11px; margin: 0; }
.login-panel { display: grid; place-items: center; padding: 40px clamp(24px, 5vw, 80px); }
.login-card { width: min(100%, 420px); }
.login-card h2 { font-size: clamp(30px, 3vw, 42px); margin: 16px 0; }
.login-card .intro { margin-bottom: 38px; }
.login-card .form-field { margin-bottom: 23px; }
.login-card .button { margin-top: 13px; }
.login-disclaimer { border-top: 1px solid #dce4ea; padding-top: 25px; margin-top: 36px; font-size: 12px; color: #516577; }
.error-main { min-height: calc(100vh - 94px); display: grid; place-items: center; padding-block: 50px; }
.error-card { background: white; border: 1px solid #dce4ea; padding: clamp(28px, 6vw, 70px); max-width: 680px; width: 100%; }
.error-number { font: 500 90px var(--seasi-font-display); color: #9badba; line-height: 1; }
.error-card > p { color: #42576a; }
.error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
@media (max-width: 850px) { .dashboard-grid, .detail-grid { grid-template-columns: 1fr; } .login-layout { grid-template-columns: 1fr; } .login-story-inner { min-height: 280px; max-width: none; padding: 28px 36px; } .story-copy { margin: 30px 0; } .story-copy h1 { font-size: 36px; margin: 10px 0; } .story-copy > p:last-child, .story-foot { display: none; } .login-panel { min-height: 520px; } }
@media (max-width: 600px) { .shell { width: min(100% - 32px, 1200px); } .header-inner { min-height: 80px; flex-wrap: wrap; padding-block: 12px; } .brand-link img { width: 160px; } .header-actions { gap: 14px; flex-wrap: wrap; } .nav-link { font-size: 12px; } .page-main { padding: 22px 0 55px; } .page-heading { align-items: start; flex-direction: column; margin: 25px 0 32px; } .heading-mark { display: none; } .panel { padding: 22px; } .envelope-row { align-items: start; flex-direction: column; } .row-side { justify-content: space-between; width: 100%; } .details > div { grid-template-columns: 1fr; gap: 2px; } .login-story-inner { padding: 20px 24px; } .story-copy h1 { font-size: 30px; } .login-panel { padding: 40px 24px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.tag-origin{display:block;font-size:0.72rem;letter-spacing:0.05em;text-transform:uppercase;color:#5a6874}
