:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --bg: #f3f6fb;
  --white: #fff;
  --blue: #245eea;
  --blue-dark: #173eb1;
  --blue-soft: #edf4ff;
  --green: #07865f;
  --green-soft: #e9fbf4;
  --amber: #c46a05;
  --amber-soft: #fff7e6;
  --red: #c9363e;
  --red-soft: #fff0f1;
  --violet: #6d4ee8;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(36, 94, 234, .3); outline-offset: 2px; }
.skip-link { position: fixed; left: 16px; top: -60px; background: var(--ink); color: white; padding: 10px 14px; z-index: 99; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(219, 228, 240, .8); background: rgba(255,255,255,.9); backdrop-filter: blur(14px); }
.header-inner { width: min(1240px, calc(100% - 40px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; overflow: hidden; background: white; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 8px 18px rgba(36,94,234,.13); }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.top-nav, .top-nav form { display: flex; align-items: center; gap: 10px; }
.user-chip { color: #344256; font-size: 13px; font-weight: 750; }
.page { width: min(1240px, calc(100% - 40px)); min-height: calc(100vh - 145px); margin: 24px auto 48px; }
.footer { padding: 22px; text-align: center; color: var(--muted); font-size: 12px; }
.hero { overflow: hidden; line-height: 0; border-radius: 34px; background: #073d7b; box-shadow: 0 28px 65px rgba(17, 43, 111, .25); }
.hero-banner { display: block; width: 100%; height: auto; }
.eyebrow { display: inline-flex; width: fit-content; color: #d8e6ff; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.green { color: var(--green); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 64px 6px 24px; }
.section-head h2, .workspace-head h1, .detail-head h1 { margin: 8px 0 0; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.section-head p, .workspace-head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.55; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card, .management-card { min-height: 300px; padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-5px); border-color: #a8c5ff; box-shadow: var(--shadow); }
.product-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 35px; color: white; background: linear-gradient(145deg, var(--blue), var(--blue-dark)); border-radius: 17px; font-weight: 900; }
.product-card .badge { float: right; margin-top: -84px; }
.product-card h3 { margin: 0 0 10px; font-size: 26px; }
.product-card p { min-height: 70px; color: var(--muted); line-height: 1.55; }
.product-link { display: flex; justify-content: space-between; margin-top: 25px; color: var(--blue); font-weight: 800; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; border: 1px solid transparent; border-radius: 13px; cursor: pointer; font-weight: 780; transition: transform .16s, background .16s, box-shadow .16s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 8px 18px rgba(36,94,234,.2); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: #334155; background: white; border-color: var(--line); }
.button.ghost { color: #334155; background: #f8fafc; border-color: #e2e8f0; }
.button.success { color: white; background: var(--green); }
.button.danger { color: white; background: var(--red); }
.button.full { width: 100%; }
.flash-stack { position: fixed; top: 90px; right: 20px; z-index: 30; width: min(390px, calc(100% - 40px)); display: grid; gap: 8px; }
.flash { padding: 13px 16px; background: white; border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: var(--shadow); font-weight: 700; }
.flash.success { border-color: var(--green); }.flash.error { border-color: var(--red); }.flash.warning { border-color: var(--amber); }
.wizard-shell { width: min(960px, 100%); margin: 30px auto; }
.wizard-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 30px 34px; color: white; border-radius: 28px 28px 0 0; background: linear-gradient(135deg, var(--blue), #142b6e); }
.wizard-header h1 { margin: 9px 0 5px; font-size: 34px; letter-spacing: -.035em; }.wizard-header p { margin: 0; color: #d8e6ff; }
.step-count { display: flex; align-items: baseline; }.step-count strong { font-size: 42px; }.step-count span { color: #a8c5ff; font-weight: 800; }
.steps { margin: 0; padding: 20px 30px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit,minmax(90px,1fr)); gap: 10px; background: #f9fbff; border-inline: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 12px; }
.steps li span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); background: white; border-radius: 9px; font-weight: 800; }
.steps li.active { color: var(--blue); }.steps li.active span { color: white; background: var(--blue); border-color: var(--blue); }.steps li.done { color: var(--green); }.steps li.done span { color: white; background: var(--green); border-color: var(--green); }
.form-card, .auth-card { padding: clamp(26px, 5vw, 48px); background: white; border: 1px solid var(--line); border-radius: 0 0 28px 28px; box-shadow: var(--shadow); }
.form-intro { display: flex; align-items: center; gap: 15px; margin-bottom: 32px; }.form-intro > span { width: 45px; height: 45px; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 14px; font-size: 20px; font-weight: 900; }.form-intro h2 { margin: 0; font-size: 26px; }.form-intro p { margin: 4px 0 0; color: var(--muted); }
fieldset { margin: 0 0 28px; padding: 0; border: 0; } legend, .subhead { margin: 0 0 14px; font-size: 16px; font-weight: 850; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.choice-grid.two { grid-template-columns: repeat(2,1fr); }
.choice { position: relative; display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 13px 15px; cursor: pointer; border: 1px solid var(--line); border-radius: 16px; background: white; }
.choice:has(input:checked) { color: #173eb1; border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(36,94,234,.08); }.choice input { accent-color: var(--blue); }
.grid { display: grid; gap: 16px; }.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }.grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }.wide { grid-column: 1 / -1; }
.field { margin-bottom: 16px; }.label { display: block; margin-bottom: 7px; color: #334155; font-size: 13px; font-weight: 800; }
.input, input[type=file], select, textarea { width: 100%; min-height: 45px; padding: 10px 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 13px; }
textarea.input, textarea { min-height: 100px; resize: vertical; }.input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36,94,234,.09); }
.field-errors { margin: 6px 0 0; padding-left: 18px; color: var(--red); font-size: 12px; }.field-errors li { margin: 2px 0; }
.checkline { display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer; border: 1px solid var(--line); border-radius: 15px; background: #fbfdff; }.checkline input { width: 18px; height: 18px; accent-color: var(--blue); }.checkline span { display: grid; gap: 3px; }.checkline small { color: var(--muted); font-weight: 450; }
.conditional { margin-top: 18px; }.conditional[hidden] { display: none !important; }
.upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }.upload-box { padding: 15px; border: 1px dashed #b9c8db; border-radius: 16px; background: #f9fbff; }.upload-box input[type=file] { padding: 8px; background: white; }.uploaded { display: block; margin: -2px 0 8px; color: var(--green); font-size: 12px; font-weight: 750; }
.notice { padding: 13px 15px; margin-bottom: 20px; border-radius: 14px; line-height: 1.45; }.notice.info { color: #17316f; border: 1px solid #c8dcff; background: var(--blue-soft); }.notice.warning { color: #6d4300; border: 1px solid #f3d7a5; background: var(--amber-soft); }.notice.error { color: #8b1d25; border: 1px solid #ffc8cc; background: var(--red-soft); }
.included { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 15px; margin: 8px 0 24px; border: 1px solid #bcecd8; border-radius: 16px; background: var(--green-soft); }.included span { color: var(--green); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }.included b { padding: 7px 10px; color: #075c43; border-radius: 9px; background: rgba(255,255,255,.75); font-size: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }.check-grid .checkline { margin: 0; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); }.form-actions .primary { margin-left: auto; }
.operator-search { margin: 18px 0; }.suggestions { margin-top: 6px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }.suggestion { width: 100%; padding: 11px 13px; display: flex; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; background: white; text-align: left; }.suggestion:hover { background: var(--blue-soft); }.suggestion:last-child { border: 0; }
.summary-grid, .data-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.summary-grid > div, .data-grid > div { padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; }.summary-grid small, .data-grid dt { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }.data-grid { margin: 0; grid-template-columns: repeat(2,minmax(0,1fr)); }.data-grid dd { margin: 0; font-weight: 700; word-break: break-word; }
.consents { margin-top: 22px; }
.confirmation-card, .error-page { width: min(700px,100%); margin: 70px auto; padding: clamp(35px,7vw,70px); text-align: center; background: white; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }.success-mark { width: 76px; height: 76px; display: grid; place-items: center; margin: 0 auto 20px; color: white; background: var(--green); border-radius: 50%; font-size: 36px; }.confirmation-card h1, .error-page h1 { margin: 12px 0; font-size: clamp(32px,6vw,50px); letter-spacing: -.04em; }.confirmation-card p, .error-page p { color: var(--muted); line-height: 1.6; }.reference { display: grid; gap: 7px; margin: 28px 0; padding: 19px; border: 1px dashed #9ebcff; border-radius: 16px; background: var(--blue-soft); }.reference small { color: var(--blue-dark); text-transform: uppercase; letter-spacing: .08em; }.reference strong { color: var(--blue-dark); font-family: ui-monospace, monospace; font-size: clamp(16px,4vw,23px); overflow-wrap: anywhere; }
.auth-shell { min-height: 650px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }.auth-story { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px,8vw,90px); color: white; background: radial-gradient(circle at 90% 0, #3b82f6, transparent 38%), linear-gradient(145deg,#1d4ed8,#111d43); }.auth-story h1 { margin: 16px 0; font-size: clamp(42px,6vw,68px); line-height: 1; letter-spacing: -.055em; }.auth-story p { color: #d9e6ff; font-size: 17px; line-height: 1.6; }.auth-points { display: grid; gap: 13px; margin-top: 30px; color: #d9e6ff; font-weight: 700; }.auth-points span::before { content: "✓"; margin-right: 9px; }.auth-card { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }.auth-card h2 { margin: 9px 0 6px; font-size: 34px; }.auth-card > p { margin: 0 0 25px; color: var(--muted); }
.error-page > strong { color: var(--blue); font-size: 82px; line-height: 1; }
.workspace { width: min(1500px, calc(100% - 32px)); min-height: calc(100vh - 110px); display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 22px; margin: 22px auto; }
.sidebar { align-self: start; position: sticky; top: 22px; padding: 18px; color: white; background: linear-gradient(165deg,#173eb1,#111b3e 70%); border-radius: 25px; box-shadow: 0 18px 40px rgba(17,27,62,.18); }.sidebar.operator { background: linear-gradient(165deg,#075f48,#102d2a 70%); }
.sidebar-title { display: flex; align-items: center; gap: 11px; padding: 7px 7px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }.sidebar-title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.13); font-weight: 900; }.sidebar-title strong,.sidebar-title small { display: block; }.sidebar-title small { margin-top: 4px; color: #bcd0ff; font-size: 11px; }
.sidebar-avatar { width: 42px; height: 42px; object-fit: cover; border-radius: 13px; }.profile-avatar { width: 96px; height: 96px; margin: 0 0 20px; object-fit: cover; border-radius: 24px; }.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }.code-box { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre; overflow: auto; }.field-error { display: block; margin-top: 6px; color: var(--red); font-size: 12px; font-weight: 700; } details > summary { margin: 12px 0; cursor: pointer; list-style: none; }
.sidebar nav { display: grid; gap: 5px; padding-top: 15px; }.sidebar nav a { display: flex; justify-content: space-between; padding: 11px 12px; color: #d9e6ff; border-radius: 11px; font-size: 13px; font-weight: 700; }.sidebar nav a:hover,.sidebar nav a.active { color: white; background: rgba(255,255,255,.14); }.sidebar nav b { min-width: 22px; padding: 1px 5px; text-align: center; background: rgba(255,255,255,.13); border-radius: 7px; }
.workspace-main { min-width: 0; }.workspace-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; padding: 13px 5px 0; }
.kpi-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }.kpi { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 18px; }.kpi small { color: var(--muted); font-weight: 700; }.kpi strong { font-size: 32px; }.kpi.blue { border-top: 4px solid var(--blue); }.kpi.green { border-top: 4px solid var(--green); }.kpi.amber { border-top: 4px solid var(--amber); }.kpi.red { border-top: 4px solid var(--red); }.kpi.violet { border-top: 4px solid var(--violet); }.kpi.slate { border-top: 4px solid #64748b; }
.panel { padding: 22px; margin-bottom: 18px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 2px 8px rgba(15,23,42,.035); }.panel h2 { margin: 0 0 15px; font-size: 20px; }.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 16px; }.panel-head h2 { margin-bottom: 4px; }.panel-head p, .panel p { margin: 0; color: var(--muted); line-height: 1.5; }.search-form { display: flex; gap: 8px; width: min(560px,100%); }.practice-list { display: grid; gap: 8px; }
.practice-row { display: grid; grid-template-columns: minmax(180px,1fr) 210px 250px 24px; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: background .15s,border .15s,transform .15s; }.practice-row:hover { background: #f8fbff; border-color: #b9d0ff; transform: translateX(2px); }.practice-customer { display: grid; gap: 4px; }.practice-customer small { color: var(--muted); }.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }.arrow { color: var(--blue); font-size: 19px; }
.badge { width: fit-content; display: inline-flex; align-items: center; padding: 5px 9px; color: #334155; background: #eef2f7; border-radius: 999px; font-size: 11px; font-weight: 800; }.badge.blue { color: #1d4ed8; background: var(--blue-soft); }.badge.green { color: #076047; background: var(--green-soft); }.badge.amber { color: #8b4c05; background: var(--amber-soft); }.badge.red { color: #9d242c; background: var(--red-soft); }
.detail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 8px 5px 22px; }.detail-head p { margin: 7px 0 0; color: var(--muted); }.back-link { display: inline-flex; margin: 6px 4px 10px; color: var(--blue); font-size: 13px; font-weight: 800; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); gap: 18px; }.action-panel form { display: grid; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); }.action-panel form:last-child { border-bottom: 0; }
.document-list { display: grid; gap: 9px; }.document-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; color: inherit; border: 1px solid var(--line); border-radius: 13px; }.document-row > span:first-child,.document-row > a { min-width: 0; display: grid; gap: 4px; }.document-row small { color: var(--muted); }.inline-decision { display: flex; gap: 5px; }.mini { padding: 6px 8px; border: 0; cursor: pointer; border-radius: 8px; color: white; font-size: 11px; font-weight: 800; }.mini.success { background: var(--green); }.mini.danger { background: var(--red); }
.timeline { margin: 0; padding: 0; list-style: none; }.timeline li { display: grid; grid-template-columns: 12px 1fr; gap: 12px; padding-bottom: 16px; }.timeline li > span { width: 10px; height: 10px; margin-top: 5px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 4px var(--blue-soft); }.timeline p { margin: 4px 0 !important; }.timeline small { color: var(--muted); }
.mail-card { padding: 14px; margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; }.mail-card.late { border-color: #ffc7cc; background: #fff7f8; }.mail-card > div { display: flex; justify-content: space-between; gap: 15px; }.mail-card div span { color: var(--muted); font-size: 12px; }.mail-card h3 { margin: 10px 0 5px; font-size: 14px; }.mail-card p { white-space: pre-wrap; }
.management-card > div:first-child { display: flex; justify-content: space-between; }.management-card .product-icon { margin-bottom: 20px; }.management-card h2 { margin: 0; }.management-card dl { display: grid; gap: 7px; }.management-card dl div { display: flex; justify-content: space-between; gap: 10px; }.management-card dt { color: var(--muted); }.management-card dd { margin: 0; font-weight: 700; }
.management-actions { display: grid; gap: 7px; margin-top: 10px; }.management-actions form { margin: 0; }
.transaction-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px; color: inherit; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.transaction-card:hover { border-color: #9fbcff; background: var(--blue-soft); }.transaction-card h3 { margin: 6px 0; font-size: 15px; }.transaction-card p { margin: 0; color: var(--muted); }.transaction-pdf-frame { width: 100%; height: 72vh; min-height: 620px; border: 1px solid var(--line); border-radius: 14px; background: #eef2f7; }.email-attachment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 12px; }.email-attachment-grid a { min-width: 0; display: grid; justify-items: center; gap: 6px; padding: 9px; color: inherit; border: 1px solid var(--line); border-radius: 11px; background: #f9fbff; }.email-attachment-grid img,.email-attachment-grid .document-thumb { width: 100%; height: 84px; object-fit: cover; }.email-attachment-grid b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.mailbox-status { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.mailbox-status > div { display: grid; gap: 4px; }.mailbox-status span { color: var(--muted); overflow-wrap: anywhere; }.transaction-companies { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.document-preview-link object { pointer-events: none; }
.product-logo { width: 68px; height: 68px; margin-bottom: 18px; object-fit: contain; border-radius: 16px; }
.split-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(320px,.6fr); gap: 18px; align-items: start; }.sticky-form { position: sticky; top: 22px; }.stack { display: grid; gap: 10px; }.list-card { padding: 15px; border: 1px solid var(--line); border-radius: 15px; }.list-card-head { display: flex; justify-content: space-between; gap: 12px; }.list-card-head > div { display: grid; gap: 3px; }.list-card small { color: var(--muted); }.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }.tag-row span { padding: 5px 8px; color: #294056; background: #eff4f8; border-radius: 8px; font-size: 11px; font-weight: 750; }.tag-row.guarantees span { color: #075c43; background: var(--green-soft); }.row-actions { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }.form-narrow { max-width: 900px; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th,td { padding: 11px; text-align: left; border-bottom: 1px solid var(--line); font-size: 12px; } th { color: #475569; background: #f8fafc; }
.decision-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; margin-bottom: 18px; color: #4b3003; border: 1px solid #f3d7a5; background: var(--amber-soft); border-radius: 20px; }.decision-banner.green { color: #074c39; border-color: #bcecd8; background: var(--green-soft); }.decision-banner h2 { margin: 0 0 5px; }.decision-banner p { margin: 0; }.hidden { display: none !important; }.send-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px; margin-top: 18px; color: #17316f; background: var(--blue-soft); border-radius: 16px; }.send-strip p { margin: 4px 0 0; }.empty-state { padding: 40px 20px; text-align: center; color: var(--muted); border: 1px dashed #c8d3e1; border-radius: 16px; }
.detail-head-actions { display: grid; justify-items: end; gap: 10px; }.document-preview-link { flex: 1; min-width: 0; display: flex !important; grid-template-columns: none !important; align-items: center; gap: 11px !important; color: inherit; }.document-thumb { flex: 0 0 66px; width: 66px; height: 54px; object-fit: cover; border: 1px solid var(--line); border-radius: 9px; background: #f4f7fb; }.pdf-thumb { display: grid; place-items: center; color: #a51e2d; font-size: 14px; font-weight: 900; }.document-meta { min-width: 0; display: grid; gap: 3px; }.document-meta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.document-links { display: flex; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 800; }.company-send-form { align-items: end; }.company-send-form > div { flex: 1; }.company-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 13px; }.company-choice { display: flex; align-items: center; gap: 8px; padding: 9px 10px; color: var(--ink); border: 1px solid #c8dcff; border-radius: 10px; background: white; font-size: 12px; font-weight: 750; }.company-choice input { accent-color: var(--blue); }.upload-preview { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: white; }.upload-preview img, .upload-preview object { width: 74px; height: 58px; object-fit: cover; border: 0; border-radius: 7px; background: #eef2f7; }.upload-preview span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 11px; font-weight: 750; }
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(3,1fr); }
  .practice-row { grid-template-columns: minmax(160px,1fr) 180px 200px 20px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .summary-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 850px) {
  .page { width: min(100% - 24px,1240px); margin-top: 12px; }
  .hero { border-radius: 26px; }
  .workspace { grid-template-columns: 1fr; }.sidebar { position: static; }.sidebar nav { grid-template-columns: repeat(2,1fr); }
  .detail-grid,.split-layout { grid-template-columns: 1fr; }.sticky-form { position: static; }
  .practice-row { grid-template-columns: 1fr auto; }.practice-row .mono { grid-column: 1 / -1; }.practice-row .arrow { display: none; }
  .auth-shell { grid-template-columns: 1fr; }.auth-story { min-height: 360px; }.auth-card { border-radius: 0; }
  .steps li b { display: none; }.steps li { justify-content: center; }
  .panel-head,.workspace-head,.section-head,.decision-banner,.send-strip { align-items: stretch; flex-direction: column; }.detail-head-actions { justify-items: end; }.company-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.mailbox-status { grid-template-columns: 1fr; }.transaction-pdf-frame { min-height: 520px; }.transaction-companies { grid-template-columns: 1fr; }
  .search-form { width: 100%; }
}
@media (max-width: 600px) {
  .header-inner { width: calc(100% - 24px); min-height: 68px; }.user-chip { display: none; }.brand small { display: none; }
  .hero { border-radius: 22px; }
  .card-grid,.grid.two,.grid.three,.choice-grid,.choice-grid.two,.upload-grid,.check-grid,.summary-grid,.data-grid,.kpi-grid { grid-template-columns: 1fr; }.wide { grid-column: auto; }
  .wizard-header { padding: 23px; }.step-count { display: none; }.steps { padding: 14px; }
  .form-card { padding: 22px 17px; }.form-actions { flex-direction: column-reverse; }.form-actions .button { width: 100%; }
  .sidebar nav { grid-template-columns: 1fr; }.workspace { width: calc(100% - 20px); margin: 10px auto; }.panel { padding: 17px; }
  .search-form { flex-direction: column; }.practice-row { grid-template-columns: 1fr; }.document-row { align-items: flex-start; flex-wrap: wrap; }.detail-head { align-items: flex-start; flex-direction: column; }.detail-head-actions { width: 100%; justify-items: start; }.company-choice-grid { grid-template-columns: 1fr; }.email-attachment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.transaction-pdf-frame { height: 65vh; min-height: 420px; }
  .auth-story { padding: 35px 24px; }.auth-story h1 { font-size: 43px; }.auth-card { padding: 32px 22px; }
}
