:root {
  --bg: #f5f7fa;
  --paper: #fff;
  --ink: #17263a;
  --muted: #738095;
  --line: #e5eaf0;
  --blue: #21446a;
  --blue-dark: #173653;
  --blue-wash: #edf3f9;
  --amber: #a96912;
  --amber-wash: #fff8ec;
  --green: #287b61;
  --green-wash: #eef8f3;
  --red: #b34444;
  --red-wash: #fff2f1;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.65; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, a { touch-action: manipulation; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #9db9d6; outline-offset: 3px; }
input, textarea { width: 100%; background: #fff; border: 1px solid #dce3eb; border-radius: 9px; padding: 11px 13px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #9ca7b6; }
input:focus, textarea:focus { outline: 0; border-color: #6c8db0; box-shadow: 0 0 0 3px #edf3f9; }
textarea { min-height: 148px; resize: vertical; line-height: 1.8; }
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 8px; }
label .optional { font-weight: 400; color: #96a0af; margin-left: 5px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.45; font-weight: 650; letter-spacing: -.6px; }
h2 { font-size: 18px; line-height: 1.5; font-weight: 650; }
h3 { font-size: 15px; font-weight: 650; }
svg { flex: none; vertical-align: middle; }
.icon { width: 20px; height: 20px; }
.small-icon { width: 16px; height: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-symbol { width: 35px; height: 35px; display: grid; place-items: center; background: var(--blue); color: white; border-radius: 10px; }
.brand-name { display: block; font-weight: 700; font-size: 22px; letter-spacing: 2px; }
.brand-caption { display: block; color: var(--muted); font-size: 8px; letter-spacing: 1.2px; margin-top: 0; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 220px; display: flex; flex-direction: column; padding: 34px 22px 24px; border-right: 1px solid var(--line); background: #fff; z-index: 10; }
.sidebar .brand { padding-left: 8px; }
.nav-label { margin: 47px 0 13px 14px; font-size: 10px; letter-spacing: 1.5px; color: #9aa5b4; }
.nav { display: grid; gap: 7px; }
.nav-button { display: flex; align-items: center; gap: 12px; border: 0; border-radius: 9px; padding: 12px 14px; color: #728095; background: transparent; text-align: left; font-size: 13px; }
.nav-button:hover { background: #f6f8fa; color: var(--ink); }
.nav-button.active { background: var(--blue-wash); color: var(--blue); font-weight: 650; }
.nav-button .nav-dot { margin-left: auto; width: 7px; height: 7px; background: #678aaa; border-radius: 50%; }
.sidebar-bottom { margin-top: auto; padding: 18px 12px 0; }
.sidebar-rule { display: flex; gap: 8px; color: #7f8b9a; font-size: 11px; margin-bottom: 6px; }
.sidebar-note { font-size: 10px; color: #a1aab6; padding-left: 24px; }
.workspace { grid-column: 2; min-width: 0; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); padding: 0 42px; background: rgba(255,255,255,.7); }
.topbar-path { font-size: 12px; color: #8793a4; display: flex; align-items: center; gap: 12px; }
.topbar-path strong { font-weight: 500; color: #516075; }
.topbar-account { display: flex; align-items: center; gap: 15px; color: #66758a; font-size: 12px; }
.environment-badge { font-size: 10px; padding: 3px 8px; color: #7e8a9c; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.avatar { width: 29px; height: 29px; display: grid; place-items: center; color: var(--blue); background: #e8eef5; border-radius: 50%; font-size: 11px; font-weight: 650; }
.account-name { display: flex; align-items: center; gap: 8px; }
.text-button { background: none; border: 0; padding: 4px 0; color: #758399; font-size: 12px; }
.text-button:hover { color: var(--blue); }
.main { padding: 34px 42px 32px; max-width: 1370px; margin: 0 auto; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #91a0b2; margin-bottom: 7px; }
.subtitle { color: var(--muted); font-size: 13px; margin-top: 8px; }
.page-label { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 30px; color: #5f7188; background: white; font-size: 11px; white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 15px 19px; display: flex; gap: 14px; align-items: center; }
.stat-icon { width: 40px; height: 40px; background: #f3f6fa; border-radius: 11px; display: grid; place-items: center; color: #66819e; }
.stat-copy { display: flex; align-items: baseline; gap: 8px; }
.stat-value { font-size: 22px; font-weight: 650; line-height: 1.3; letter-spacing: -.4px; }
.stat-label { color: var(--muted); font-size: 11px; }
.stat-description { color: #a0aab8; font-size: 10px; margin-top: 1px; }
.creator-grid { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 22px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 2px 4px #17263a02; }
.card-heading { display: flex; align-items: center; gap: 11px; padding: 22px 26px; border-bottom: 1px solid #edf0f4; }
.step-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-wash); color: #50718f; font-size: 11px; font-weight: 650; }
.card-heading h2 { font-size: 15px; }
.card-heading .heading-note { margin-left: auto; color: #9ba6b4; font-size: 10px; }
.creator-fields { padding: 24px 26px 22px; }
.field { margin-bottom: 21px; }
.field:last-child { margin-bottom: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; }
.field-count { font-size: 10px; color: #98a4b4; }
.field-help { font-size: 11px; color: #96a0af; margin-top: 6px; }
.dropzone { border: 1px dashed #c7d4e1; border-radius: 11px; padding: 26px 18px; background: #f9fbfd; text-align: center; transition: background .15s, border-color .15s; cursor: pointer; }
.dropzone:hover, .dropzone.dragging { background: #edf4fa; border-color: #6f91b3; }
.dropzone.disabled { cursor: default; opacity: .55; }
.upload-symbol { width: 40px; height: 40px; border: 1px solid #e0e8f1; border-radius: 11px; background: white; color: #6481a1; display: grid; place-items: center; margin: 0 auto 10px; }
.dropzone-title { color: #5e7189; font-size: 12px; }
.dropzone-title strong { color: var(--blue); font-weight: 600; }
.dropzone-description { color: #9ba7b5; font-size: 10px; margin-top: 5px; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.selected-file { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.file-type { width: 34px; height: 37px; display: grid; place-items: center; flex: none; background: #f0f4f8; color: #6c87a2; border-radius: 6px; font-size: 9px; font-weight: 700; }
.file-copy { min-width: 0; flex: 1; }
.file-name { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.5; }
.file-meta { color: #98a3b2; font-size: 10px; margin-top: 2px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 29px; height: 29px; border: 0; color: #98a4b4; border-radius: 7px; background: transparent; flex: none; }
.icon-button:hover { background: #f0f4f8; color: var(--blue); }
.selection-summary { display: flex; justify-content: space-between; color: #8795a7; font-size: 10px; padding-top: 9px; }
.creator-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px 26px; border-top: 1px solid #edf0f4; background: #fcfdfe; border-radius: 0 0 var(--radius) var(--radius); }
.creator-bottom-note { font-size: 10px; color: #939fae; display: flex; gap: 6px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-size: 12px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.button:hover { text-decoration: none; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { background: white; border-color: #dce4ed; color: #596e86; }
.button-secondary:hover { background: #f6f9fc; }
.button-danger { background: var(--red); color: white; }
.button-danger:hover { background: #9b3636; }
.button-small { font-size: 11px; min-height: 33px; padding: 6px 11px; border-radius: 7px; }
.full-width { width: 100%; }
.rules-card { padding: 22px; }
.rules-title { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; font-size: 13px; font-weight: 650; }
.rule { display: flex; gap: 12px; margin-bottom: 22px; }
.rule > .icon { width: 18px; height: 18px; margin-top: 2px; color: #8499ae; }
.rule-title { font-size: 12px; font-weight: 600; }
.rule-description { font-size: 10px; color: #94a0af; line-height: 1.9; margin-top: 4px; }
.rule:last-child { margin-bottom: 0; }
.policy-note { display: flex; gap: 9px; padding: 14px; border: 1px solid #f2e4cc; background: var(--amber-wash); color: #97702f; border-radius: 10px; font-size: 10px; line-height: 1.9; margin-top: 16px; }
.policy-note > svg { margin-top: 2px; }
.policy-note strong { display: block; font-size: 11px; font-weight: 600; margin-bottom: 3px; }
.side-caption { font-size: 10px; color: #a0aab6; line-height: 1.8; padding: 15px 10px 0; }
.footer { display: flex; justify-content: space-between; gap: 15px; font-size: 10px; color: #a4adba; padding: 25px 2px 0; }
.footer-mark { letter-spacing: 1.5px; }
.form-error { margin-top: 14px; padding: 10px 12px; border: 1px solid #f0d6d5; background: var(--red-wash); color: var(--red); border-radius: 8px; font-size: 12px; }
.form-error:empty { display: none; }
.progress { padding: 15px 26px 18px; background: #fcfdfe; border-top: 1px solid #edf0f4; }
.progress-top { display: flex; justify-content: space-between; font-size: 11px; color: #698199; margin-bottom: 8px; }
.progress-track { height: 5px; border-radius: 5px; background: #e7edf5; overflow: hidden; }
progress { width: 100%; height: 5px; appearance: none; border: 0; border-radius: 5px; background: #e7edf5; display: block; }
progress::-webkit-progress-bar { background: #e7edf5; border-radius: 5px; }
progress::-webkit-progress-value { background: #587c9f; border-radius: 5px; }
progress::-moz-progress-bar { background: #587c9f; border-radius: 5px; }
.list-card { overflow: hidden; }
.list-toolbar { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.filter-tabs { display: flex; align-items: center; gap: 7px; }
.filter-button { font-size: 11px; background: transparent; border: 0; border-radius: 6px; padding: 7px 11px; color: #8290a3; }
.filter-button.active { background: var(--blue-wash); color: var(--blue); font-weight: 600; }
.list-tools { display: flex; align-items: center; gap: 8px; }
.search-input { max-width: 208px; padding: 8px 11px; min-height: 34px; font-size: 11px; border-radius: 7px; }
.delivery-row { display: grid; grid-template-columns: minmax(160px, 1.7fr) 100px minmax(135px, 1fr) 120px 122px; align-items: center; gap: 16px; padding: 19px 24px; border-bottom: 1px solid #edf0f4; }
.delivery-row:last-child { border-bottom: 0; }
.delivery-head { padding-top: 12px; padding-bottom: 12px; background: #fafbfd; color: #9aa6b5; font-size: 10px; }
.delivery-title-cell { display: flex; gap: 11px; min-width: 0; align-items: center; }
.delivery-title { font-weight: 550; font-size: 12px; overflow-wrap: anywhere; }
.delivery-title.destroyed { color: #939faf; font-weight: 400; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; padding: 4px 8px; border-radius: 5px; white-space: nowrap; width: fit-content; }
.status-badge::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-active { color: var(--green); background: var(--green-wash); }
.status-expired { color: #8c98a8; background: #f0f3f7; }
.status-revoked { color: #a67530; background: var(--amber-wash); }
.status-pending { color: #99702e; background: var(--amber-wash); }
.delivery-date { font-size: 11px; color: #8190a2; }
.delivery-remaining { color: #6484a4; font-size: 11px; font-variant-numeric: tabular-nums; }
.delivery-actions { display: flex; gap: 11px; font-size: 11px; align-items: center; }
.link-button { border: 0; padding: 0; color: #537594; background: none; font-size: 11px; }
.link-button:hover { color: var(--blue-dark); text-decoration: underline; }
.link-button.danger { color: #ad7c51; }
.record-note { font-size: 10px; color: #a0aab8; margin-top: 14px; display: flex; gap: 7px; align-items: flex-start; }
.empty-state { padding: 70px 24px 76px; text-align: center; }
.empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; background: #f2f6fa; border-radius: 16px; color: #94a8bd; }
.empty-state h3 { color: #65778d; }
.empty-state p { color: #9aa6b5; font-size: 12px; margin: 8px 0 21px; }
.success-card { max-width: 770px; padding: 31px; }
.success-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 26px; }
.success-icon { width: 47px; height: 47px; color: #43856d; background: var(--green-wash); border-radius: 13px; display: grid; place-items: center; }
.success-heading h2 { font-size: 19px; }
.success-heading p { font-size: 11px; color: #93a0af; margin-top: 3px; }
.success-delivery-title { font-size: 13px; color: #6c7d90; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.copy-field { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 13px; display: flex; align-items: center; min-height: 60px; padding: 12px 15px; gap: 12px; }
.copy-field-info { min-width: 0; flex: 1; }
.copy-label { font-size: 10px; color: #92a0b2; }
.copy-value { display: block; font-size: 12px; color: #587591; word-break: break-all; margin-top: 3px; }
.password-value { letter-spacing: 3px; font-size: 21px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.success-actions { display: flex; gap: 11px; margin-top: 24px; flex-wrap: wrap; }
.success-footnote { font-size: 10px; color: #98a4b4; margin-top: 16px; }
.success-notice { margin-top: 20px; }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 42%) minmax(0, 1fr); background: #fff; }
.auth-story { position: relative; background: #1d3b5b; color: white; padding: 45px 52px; display: flex; flex-direction: column; overflow: hidden; }
.auth-story .brand { color: white; }
.auth-story .brand-symbol { background: #3b5875; }
.auth-story .brand-caption { color: #9bb0c4; }
.auth-intro { margin: auto 0; padding: 75px 0 50px; max-width: 400px; position: relative; z-index: 1; }
.auth-intro .eyebrow { color: #8da8c3; }
.auth-intro h1 { font-size: 35px; line-height: 1.6; letter-spacing: 1px; }
.auth-intro p { color: #a5b9cc; font-size: 12px; line-height: 2; margin-top: 18px; }
.auth-illustration { position: relative; width: 280px; margin-top: 38px; border: 1px solid #58718b; border-radius: 13px; padding: 20px; background: #ffffff08; }
.illustration-header { display: flex; align-items: center; gap: 9px; font-size: 10px; color: #c1d0df; }
.illustration-line { height: 4px; background: #69839d; border-radius: 3px; width: 68%; margin-top: 15px; }
.illustration-line.short { width: 43%; margin-top: 8px; background: #47647f; }
.illustration-footer { border-top: 1px solid #4f6a84; margin-top: 24px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: 1px; color: #95afc8; }
.illustration-footer strong { font-size: 22px; font-weight: 500; color: #e4edf6; letter-spacing: 2px; }
.auth-story-footer { font-size: 10px; color: #819db7; letter-spacing: 1.5px; }
.auth-content { display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-form-wrap { width: 100%; max-width: 350px; }
.auth-form-wrap h2 { font-size: 26px; letter-spacing: -.5px; }
.auth-description { font-size: 12px; color: #93a0af; margin-top: 8px; margin-bottom: 30px; line-height: 1.9; }
.auth-form .field { margin-bottom: 20px; }
.auth-form .button { margin-top: 8px; min-height: 45px; }
.auth-security { display: flex; align-items: flex-start; gap: 8px; font-size: 10px; color: #9aa6b4; line-height: 1.9; margin-top: 24px; }
.auth-security .small-icon { margin-top: 2px; }
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 43px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.receiver-header { height: 88px; max-width: 1080px; padding: 0 32px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.receiver-header .brand-symbol { width: 31px; height: 31px; border-radius: 9px; }
.receiver-header .brand-name { font-size: 20px; }
.receiver-header-note { font-size: 10px; color: #93a0af; display: flex; align-items: center; gap: 7px; }
.receiver-main { width: min(760px, calc(100% - 40px)); margin: 40px auto 0; padding-bottom: 40px; }
.receiver-gate { max-width: 420px; margin: 30px auto; padding: 34px 33px 29px; text-align: center; }
.gate-icon { width: 65px; height: 65px; border-radius: 18px; background: var(--blue-wash); display: grid; place-items: center; color: #6585a5; margin: 0 auto 24px; }
.gate-icon svg { width: 28px; height: 28px; }
.receiver-gate h1 { font-size: 22px; }
.receiver-gate .subtitle { font-size: 11px; line-height: 1.9; }
.gate-form { text-align: left; margin-top: 28px; }
.gate-form input { font-size: 16px; letter-spacing: 2px; padding-top: 13px; padding-bottom: 13px; }
.gate-form .button { margin-top: 15px; min-height: 44px; }
.gate-footer { font-size: 10px; color: #a1adba; margin-top: 24px; padding-top: 18px; border-top: 1px solid #edf1f5; display: flex; align-items: center; justify-content: center; gap: 6px; }
.receiver-footer { text-align: center; font-size: 10px; line-height: 2; color: #a3aebc; margin-top: 30px; }
.receiver-footer .footer-mark { display: block; margin-bottom: 3px; color: #92a0b0; }
.receiver-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: white; border: 1px solid var(--line); border-radius: 11px; padding: 16px 20px; margin-bottom: 18px; }
.receiver-status-label { display: flex; align-items: center; gap: 9px; color: #63809e; font-size: 11px; }
.receiver-deadline { font-size: 10px; color: #95a3b3; margin-top: 2px; padding-left: 29px; }
.countdown { font-size: 23px; line-height: 1.3; letter-spacing: 1.8px; color: var(--blue); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.countdown.urgent { color: var(--amber); }
.receiver-content { padding: 30px; }
.receiver-content h1 { font-size: 25px; overflow-wrap: anywhere; }
.receiver-title-note { font-size: 10px; color: #9ba7b5; margin-top: 8px; }
.shared-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.95; color: #586b80; padding: 24px 0 4px; }
.shared-attachments { border-top: 1px solid #edf0f4; padding-top: 23px; margin-top: 24px; }
.attachment-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 13px; }
.attachment-heading h2 { font-size: 13px; }
.attachment-heading span { font-size: 10px; color: #98a5b4; }
.attachment-list { display: grid; gap: 10px; }
.attachment { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fcfdfe; }
.attachment .file-type { width: 40px; height: 43px; }
.attachment-actions { display: flex; gap: 9px; align-items: center; margin-left: 7px; }
.receiver-message { margin-top: 17px; font-size: 10px; color: #96a3b3; display: flex; align-items: flex-start; gap: 7px; line-height: 1.9; }
.receiver-message svg { margin-top: 2px; }
.receiver-sync-warning { font-size: 11px; color: var(--amber); padding: 9px 0; }
.receiver-sync-warning:empty { display: none; }
.gone-icon { color: #9aa8b8; background: #f0f3f7; }
.gone-details { font-size: 11px; line-height: 2; color: #99a6b5; padding: 20px 0 4px; }
.boot-screen { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; min-height: 65vh; color: #93a1b1; font-size: 12px; }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #dce5ef; border-right-color: #6889aa; border-radius: 50%; animation: spin .8s linear infinite; }
.button .spinner { width: 15px; height: 15px; border-color: #ffffff40; border-right-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-root { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(420px, calc(100% - 40px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 9px; color: white; background: #203b56; box-shadow: 0 7px 24px #18354c26; border-radius: 9px; padding: 13px 17px; font-size: 12px; animation: toast-in .2s ease; }
.toast.error { background: #964f4a; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.modal-overlay { position: fixed; inset: 0; padding: 25px; background: #15273f66; backdrop-filter: blur(3px); z-index: 90; display: flex; align-items: center; justify-content: center; }
.modal { width: min(430px, 100%); background: #fff; border-radius: 15px; box-shadow: 0 20px 80px #10253d30; padding: 28px; }
.modal h2 { font-size: 18px; }
.modal p { font-size: 12px; color: #8090a2; line-height: 1.9; margin-top: 12px; overflow-wrap: anywhere; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 25px; }
.preview-modal { width: min(1040px, 100%); height: min(760px, calc(100vh - 50px)); padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.preview-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 20px; border-bottom: 1px solid var(--line); }
.preview-title { font-size: 12px; overflow-wrap: anywhere; }
.preview-body { min-height: 0; flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px; background: #f3f5f8; }
.preview-body img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.preview-body iframe { width: 100%; height: 100%; border: 0; background: white; }
.preview-error { font-size: 12px; color: #8898ab; }
.preview-body.text-preview-body { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; }
.text-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; flex: none; }
.text-preview-meta { font-size: 11px; color: #7b8da2; }
.text-preview-content { flex: 1; min-height: 0; position: relative; background: #fff; overflow: auto; }
.text-preview-pre { margin: 0; padding: 23px; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; color: #51667d; font: 12px/1.9 "Cascadia Code", Consolas, "Microsoft YaHei", monospace; }
.text-preview-loading { min-height: 200px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; font-size: 12px; color: #8898ab; }
.text-preview-notice { flex: none; padding: 11px 16px; border-bottom: 1px solid #f2e4cc; color: #97702f; background: var(--amber-wash); font-size: 11px; line-height: 1.8; }
.preview-body.pdf-preview-body { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0; }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; flex: none; }
.pdf-navigation { display: flex; align-items: center; gap: 12px; }
.pdf-page-count { font-size: 11px; color: #7b8da2; min-width: 82px; text-align: center; font-variant-numeric: tabular-nums; }
.pdf-page-area { display: flex; align-items: center; justify-content: center; position: relative; flex: 1; min-height: 0; min-width: 0; overflow: hidden; padding: 16px; }
.pdf-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 12px #19355018; background: #fff; }
.pdf-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #8898ab; font-size: 12px; background: #f3f5f8e8; padding: 20px; }
.pdf-error { padding: 13px 18px; background: var(--red-wash); border-top: 1px solid #f0d6d5; color: var(--red); font-size: 11px; line-height: 1.8; overflow-wrap: anywhere; flex: none; max-height: 100px; overflow: auto; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: white; padding: 30px; }
.hidden { display: none !important; }
@media (min-width: 1500px) { .main { padding-top: 44px; } .creator-fields { padding-top: 28px; } .auth-story { padding-left: 70px; padding-right: 70px; } }
@media (max-width: 1190px) {
  .shell { grid-template-columns: 190px minmax(0,1fr); }
  .sidebar { width: 190px; padding-left: 15px; padding-right: 15px; }
  .topbar { padding: 0 28px; }
  .main { padding: 30px 28px; }
  .creator-grid { grid-template-columns: minmax(0,1fr) 240px; gap: 18px; }
  .rules-card { padding: 20px 17px; }
  .delivery-row { grid-template-columns: minmax(140px,1.5fr) 85px 125px 105px; gap: 12px; }
  .delivery-created { display: none; }
}
@media (max-width: 950px) {
  .creator-grid { grid-template-columns: minmax(0,1fr); }
  .rules-column { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
  .rules-card { padding: 20px; }
  .rules-title { margin-bottom: 18px; }
  .rules-content { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
  .rule { gap: 7px; margin-bottom: 0; }
  .rule-title { font-size: 11px; }
  .rule-description { font-size: 9px; }
  .rule > .icon { display: none; }
  .policy-note { margin-top: 0; height: fit-content; }
  .side-caption { display: none; }
  .stats { gap: 10px; }
  .stat { padding: 14px; gap: 10px; }
  .stat-icon { width: 33px; height: 33px; border-radius: 9px; }
  .stat-value { font-size: 20px; }
  .stat-copy { gap: 5px; }
  .stat-label { font-size: 10px; }
  .auth-story { padding: 35px; }
  .auth-intro h1 { font-size: 30px; }
  .auth-content { padding: 35px; }
}
@media (max-width: 760px) {
  .shell { display: block; }
  .sidebar { position: static; width: 100%; padding: 17px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { padding-left: 0; }
  .brand-symbol { width: 30px; height: 30px; border-radius: 8px; }
  .brand-name { font-size: 20px; }
  .brand-caption { display: none; }
  .nav-label, .sidebar-bottom { display: none; }
  .nav { display: flex; gap: 23px; margin-top: 19px; }
  .nav-button { border-radius: 0; padding: 10px 1px 11px; position: relative; gap: 7px; font-size: 12px; }
  .nav-button.active { background: transparent; }
  .nav-button.active::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -1px; background: var(--blue); }
  .nav-button .icon { width: 17px; height: 17px; }
  .nav-dot { display: none; }
  .topbar { min-height: 49px; padding: 0 20px; }
  .topbar-path { font-size: 10px; gap: 6px; }
  .topbar-account { gap: 10px; font-size: 10px; }
  .account-name { gap: 5px; }
  .avatar { width: 23px; height: 23px; font-size: 9px; }
  .text-button { font-size: 10px; }
  .environment-badge { display: none; }
  .main { padding: 24px 20px; }
  h1 { font-size: 25px; }
  .page-heading { margin-bottom: 20px; }
  .subtitle { font-size: 11px; }
  .page-label { font-size: 9px; padding: 5px 8px; gap: 4px; }
  .page-label svg { width: 13px; height: 13px; }
  .stats { margin-bottom: 19px; }
  .stat { padding: 12px 10px; }
  .stat-icon { display: none; }
  .stat-value { font-size: 20px; }
  .stat-description { font-size: 9px; }
  .card-heading { padding: 18px 20px; }
  .creator-fields { padding: 21px 20px; }
  .creator-bottom { padding: 16px 20px; }
  .creator-bottom-note { max-width: 150px; line-height: 1.8; }
  .rules-column { grid-template-columns: 1fr; }
  .rule > .icon { display: block; }
  .rules-content { gap: 17px; }
  .rule { flex-direction: column; }
  .rule-title { font-size: 11px; }
  .rule-description { font-size: 10px; }
  .policy-note { font-size: 10px; }
  .footer { flex-direction: column; align-items: center; gap: 5px; }
  .list-toolbar { padding: 15px 18px; }
  .filter-tabs { gap: 2px; }
  .filter-button { padding: 6px 8px; font-size: 10px; }
  .search-input { max-width: 140px; min-width: 0; }
  .list-tools { min-width: 0; }
  .delivery-head { display: none; }
  .delivery-row { grid-template-columns: minmax(0,1fr) auto; gap: 11px; padding: 18px; }
  .delivery-state { grid-column: 2; grid-row: 1; }
  .delivery-expiry { grid-column: 1; padding-left: 45px; }
  .delivery-actions { grid-column: 2; gap: 9px; }
  .delivery-expiry .delivery-date { display: none; }
  .delivery-remaining::before { content: "剩余 "; }
  .record-note { line-height: 1.9; }
  .success-card { padding: 24px 21px; }
  .success-delivery-title { flex-direction: column; gap: 7px; }
  .success-actions { gap: 8px; }
  .success-actions .button { flex: 1; }
  .auth-layout { display: block; background: var(--bg); }
  .auth-story { padding: 25px; min-height: auto; }
  .auth-story .brand-caption { display: block; }
  .auth-intro { padding: 25px 0 7px; margin: 0; max-width: 100%; }
  .auth-intro h1 { font-size: 24px; line-height: 1.5; }
  .auth-intro h1 br { display: none; }
  .auth-intro p { margin-top: 9px; font-size: 11px; }
  .auth-intro .eyebrow, .auth-illustration, .auth-story-footer { display: none; }
  .auth-content { padding: 32px 25px; }
  .auth-form-wrap { max-width: 430px; padding: 27px 24px; background: white; border-radius: 15px; border: 1px solid var(--line); }
  .auth-form-wrap h2 { font-size: 23px; }
  .receiver-header { height: 73px; padding: 0 23px; }
  .receiver-header-note { font-size: 9px; }
  .receiver-main { margin-top: 25px; }
  .receiver-gate { padding: 29px 24px; }
  .receiver-content { padding: 24px 21px; }
  .receiver-content h1 { font-size: 23px; }
  .receiver-status { padding: 14px 16px; gap: 10px; }
  .countdown { font-size: 21px; }
  .receiver-deadline { font-size: 9px; }
  .attachment { flex-wrap: wrap; padding: 13px; gap: 10px; }
  .attachment .file-copy { width: calc(100% - 50px); flex: 1 1 calc(100% - 50px); }
  .attachment-actions { width: 100%; justify-content: flex-end; margin-left: 0; padding-top: 4px; }
  .attachment .button { min-height: 30px; padding: 4px 9px; }
  .modal-overlay { padding: 16px; }
  .preview-modal { height: calc(100dvh - 32px); }
  .preview-body { padding: 8px; }
  .pdf-toolbar { padding: 10px 11px; gap: 8px; flex-wrap: wrap; }
  .pdf-navigation { gap: 7px; }
  .pdf-navigation .button { font-size: 10px; padding: 5px 8px; }
  .pdf-page-count { font-size: 10px; min-width: 75px; }
  .pdf-toolbar > .button { font-size: 10px; padding: 5px 9px; }
}
@media (max-width: 420px) {
  .main { padding-left: 15px; padding-right: 15px; }
  .page-label { display: none; }
  .stat-copy { align-items: flex-start; flex-direction: column; gap: 2px; }
  .stat-description { display: none; }
  .creator-bottom-note { display: none; }
  .creator-bottom .button { width: 100%; }
  .list-toolbar { flex-wrap: wrap; gap: 10px; }
  .list-tools { width: 100%; }
  .search-input { width: 100%; max-width: none; }
  .receiver-header-note span { display: none; }
  .receiver-status { flex-wrap: wrap; }
  .countdown { font-size: 21px; }
  .receiver-status > div:first-child { max-width: 180px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
