:root {
  --iv-forest: #123c37;
  --iv-forest-2: #1c554c;
  --iv-coral: #ed6a4a;
  --iv-coral-dark: #c94b30;
  --iv-mint: #d9eee8;
  --iv-paper: #f4f1e9;
  --iv-white: #fffefd;
  --iv-ink: #172522;
  --iv-muted: #65736f;
  --iv-line: #dce3df;
  --iv-success: #168265;
  --iv-warning: #a56a16;
  --iv-danger: #b63f39;
  --iv-shadow: 0 22px 60px rgba(18, 60, 55, .12);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--iv-ink); background-color: var(--iv-paper); background-image: radial-gradient(#b9c9c3 0.7px, transparent 0.7px); background-size: 22px 22px; font-family: 'Manrope', sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
a { color: inherit; }

.iv-nav { position: sticky; z-index: 20; top: 0; min-height: 70px; padding: 0 max(22px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(18, 60, 55, .1); background: rgba(255, 254, 253, .92); backdrop-filter: blur(16px); }
.iv-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.iv-brand img { width: 38px; height: 38px; object-fit: contain; }
.iv-brand span { display: grid; line-height: 1.05; }
.iv-brand strong { font-family: 'DM Serif Display', serif; font-size: 20px; font-weight: 400; }
.iv-brand small { margin-top: 4px; color: var(--iv-muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.iv-nav-actions { display: flex; align-items: center; gap: 9px; }

.iv-btn { min-height: 43px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; text-decoration: none; font-size: 12px; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.iv-btn:hover:not(:disabled) { transform: translateY(-1px); }
.iv-btn-primary { color: white; background: var(--iv-coral); box-shadow: 0 10px 22px rgba(201, 75, 48, .2); }
.iv-btn-primary:hover:not(:disabled) { background: var(--iv-coral-dark); box-shadow: 0 13px 26px rgba(201, 75, 48, .28); }
.iv-btn-secondary { color: var(--iv-forest); border-color: #cdd9d5; background: var(--iv-white); }
.iv-btn-dark { color: white; background: var(--iv-forest); }
.iv-btn-block { width: 100%; }
.iv-btn:disabled { cursor: wait; opacity: .65; }

.iv-hero { min-height: 610px; padding: 74px max(24px, calc((100vw - 1180px) / 2)) 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: center; gap: 68px; overflow: hidden; background: var(--iv-white); }
.iv-kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--iv-coral-dark); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.iv-hero h1 { max-width: 650px; margin: 14px 0 18px; font-family: 'DM Serif Display', serif; font-size: clamp(43px, 5.2vw, 70px); font-weight: 400; line-height: 1.02; letter-spacing: 0; }
.iv-hero h1 em { color: var(--iv-forest-2); font-style: normal; }
.iv-hero-copy > p { max-width: 590px; margin: 0; color: var(--iv-muted); font-size: 17px; line-height: 1.75; }
.iv-hero-actions { margin-top: 29px; display: flex; gap: 10px; flex-wrap: wrap; }
.iv-trust-row { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 17px; color: var(--iv-muted); font-size: 11px; font-weight: 700; }
.iv-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.iv-trust-row i { color: var(--iv-success); font-size: 16px; }

.iv-product-scene { position: relative; min-height: 440px; display: grid; place-items: center; }
.iv-product-scene::before { content: ''; position: absolute; inset: 8% -18% 2% 6%; border-radius: 42% 58% 49% 51% / 52% 39% 61% 48%; background: var(--iv-mint); transform: rotate(-5deg); }
.iv-browser { position: relative; width: min(100%, 520px); overflow: hidden; border: 1px solid #cbd9d4; border-radius: 10px; background: white; box-shadow: 0 30px 70px rgba(18, 60, 55, .22); transform: rotate(1.5deg); }
.iv-browser-top { height: 34px; padding: 0 12px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid var(--iv-line); background: #f6f7f4; }
.iv-browser-top i { width: 7px; height: 7px; border-radius: 50%; background: #c7d0cc; }
.iv-browser-top span { width: 58%; height: 17px; margin-left: 8px; border-radius: 4px; background: white; color: #8a9793; font-size: 7px; line-height: 17px; text-align: center; }
.iv-demo-shell { min-height: 330px; display: grid; grid-template-columns: 112px 1fr; }
.iv-demo-side { padding: 19px 12px; color: white; background: var(--iv-forest); }
.iv-demo-logo { width: 35px; height: 35px; margin-bottom: 25px; display: grid; place-items: center; border-radius: 7px; background: white; color: var(--iv-forest); font-size: 18px; }
.iv-demo-side b { display: block; margin: 13px 0; color: rgba(255,255,255,.86); font-size: 8px; }
.iv-demo-side b:first-of-type { color: white; }
.iv-demo-main { padding: 23px; background: #f7f8f5; }
.iv-demo-main > small { color: var(--iv-muted); font-size: 8px; }
.iv-demo-main h3 { margin: 4px 0 18px; font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; }
.iv-demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.iv-demo-stat { padding: 12px; border: 1px solid var(--iv-line); border-radius: 7px; background: white; }
.iv-demo-stat i { color: var(--iv-coral); font-size: 15px; }
.iv-demo-stat strong { display: block; margin-top: 13px; font-size: 17px; }
.iv-demo-stat span { color: var(--iv-muted); font-size: 7px; }
.iv-demo-list { margin-top: 10px; padding: 13px; border: 1px solid var(--iv-line); border-radius: 7px; background: white; }
.iv-demo-line { height: 25px; display: grid; grid-template-columns: 1fr 1fr 45px; align-items: center; border-bottom: 1px solid #edf0ee; color: #65736f; font-size: 7px; }
.iv-demo-line:last-child { border: 0; }
.iv-demo-line b { color: var(--iv-ink); }
.iv-identity-tag { position: absolute; right: -14px; bottom: 24px; padding: 14px 16px; display: flex; align-items: center; gap: 10px; border-radius: 8px; background: var(--iv-coral); color: white; box-shadow: 0 16px 30px rgba(185, 70, 44, .26); }
.iv-identity-tag i { font-size: 25px; }
.iv-identity-tag span { display: grid; font-size: 8px; }
.iv-identity-tag strong { margin-top: 2px; font-size: 11px; }

.iv-band { padding: 64px max(24px, calc((100vw - 1180px) / 2)); }
.iv-band-dark { color: white; background: var(--iv-forest); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; }
.iv-section-head { max-width: 650px; margin-bottom: 34px; }
.iv-section-head h2 { margin: 8px 0 10px; font-family: 'DM Serif Display', serif; font-size: clamp(30px, 4vw, 44px); font-weight: 400; line-height: 1.1; }
.iv-section-head p { margin: 0; color: var(--iv-muted); line-height: 1.7; }
.iv-band-dark .iv-section-head p { color: rgba(255,255,255,.66); }
.iv-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.13); }
.iv-feature { min-height: 210px; padding: 25px; background: var(--iv-forest); }
.iv-feature i { color: #f3a28e; font-size: 27px; }
.iv-feature h3 { margin: 35px 0 8px; font-size: 14px; }
.iv-feature p { margin: 0; color: rgba(255,255,255,.63); font-size: 11px; line-height: 1.65; }
.iv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.iv-step { position: relative; min-height: 210px; padding: 24px; border-top: 3px solid var(--iv-forest); background: rgba(255,254,253,.8); }
.iv-step > span { color: var(--iv-coral); font-family: 'DM Serif Display', serif; font-size: 32px; }
.iv-step h3 { margin: 32px 0 8px; font-size: 15px; }
.iv-step p { margin: 0; color: var(--iv-muted); font-size: 11px; line-height: 1.65; }
.iv-cta { padding: 48px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; background: var(--iv-coral); }
.iv-cta h2 { margin: 0 0 6px; font-family: 'DM Serif Display', serif; font-size: clamp(28px, 4vw, 43px); font-weight: 400; }
.iv-cta p { margin: 0; color: rgba(255,255,255,.78); }
.iv-cta .iv-btn { background: var(--iv-white); color: var(--iv-coral-dark); }
.iv-footer { padding: 25px max(24px, calc((100vw - 1180px) / 2)); display: flex; justify-content: space-between; gap: 20px; background: #0c2c29; color: rgba(255,255,255,.58); font-size: 10px; }

.iv-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .82fr) minmax(480px, 1.18fr); background: var(--iv-white); }
.iv-auth-aside { position: relative; min-height: 100%; padding: 50px clamp(30px, 5vw, 70px); overflow: hidden; display: flex; flex-direction: column; color: white; background: var(--iv-forest); }
.iv-auth-aside::after { content: ''; position: absolute; width: 420px; height: 420px; right: -240px; bottom: -180px; border: 65px solid rgba(255,255,255,.055); border-radius: 50%; }
.iv-auth-aside .iv-brand { color: white; }
.iv-auth-aside .iv-brand small { color: rgba(255,255,255,.58); }
.iv-auth-copy { position: relative; z-index: 1; margin: auto 0; }
.iv-auth-copy h1 { max-width: 530px; margin: 13px 0 17px; font-family: 'DM Serif Display', serif; font-size: clamp(38px, 5vw, 60px); font-weight: 400; line-height: 1.03; }
.iv-auth-copy > p { max-width: 480px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.iv-auth-points { margin-top: 30px; display: grid; gap: 12px; }
.iv-auth-point { display: flex; align-items: center; gap: 11px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; }
.iv-auth-point i { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; color: #f4a38f; font-size: 16px; }
.iv-auth-note { position: relative; z-index: 1; color: rgba(255,255,255,.48); font-size: 9px; }
.iv-auth-main { padding: 45px clamp(24px, 7vw, 95px); display: grid; place-items: center; background-color: var(--iv-paper); background-image: radial-gradient(#bccbc6 .7px, transparent .7px); background-size: 22px 22px; }
.iv-auth-card { width: min(100%, 600px); padding: clamp(26px, 5vw, 45px); border: 1px solid var(--iv-line); border-radius: 10px; background: rgba(255,254,253,.96); box-shadow: var(--iv-shadow); }
.iv-auth-card h2 { margin: 8px 0 6px; font-family: 'DM Serif Display', serif; font-size: 33px; font-weight: 400; }
.iv-auth-card > p { margin: 0 0 25px; color: var(--iv-muted); font-size: 11px; }
.iv-form { display: grid; gap: 15px; }
.iv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.iv-field { min-width: 0; display: grid; gap: 6px; }
.iv-field label { color: #42514d; font-size: 10px; font-weight: 800; }
.iv-input { position: relative; display: flex; align-items: center; }
.iv-input > i { position: absolute; left: 13px; color: #899692; font-size: 16px; pointer-events: none; }
.iv-input input, .iv-input select { width: 100%; height: 47px; min-width: 0; padding: 0 13px 0 40px; border: 1px solid #ccd7d3; border-radius: 7px; outline: 0; background: white; color: var(--iv-ink); font-size: 12px; }
.iv-input input:focus, .iv-input select:focus { border-color: var(--iv-forest-2); box-shadow: 0 0 0 3px rgba(28,85,76,.1); }
.iv-phone-prefix { position: absolute; z-index: 1; left: 39px; padding-right: 9px; border-right: 1px solid var(--iv-line); color: var(--iv-forest); font-size: 11px; font-weight: 800; }
.iv-input .iv-phone-number { padding-left: 83px; }
.iv-input .phone-country-autocomplete { width: 100%; min-width: 0; flex: 1 1 auto; }
.iv-input .phone-country-autocomplete > input { width: 100%; height: 47px; padding: 0 13px 0 40px; border: 1px solid #ccd7d3; border-radius: 7px; outline: 0; background: white; color: var(--iv-ink); font-size: 12px; }
.iv-input .phone-country-autocomplete > input:focus { border-color: var(--iv-forest-2); box-shadow: 0 0 0 3px rgba(28,85,76,.1); }
.phone-country-autocomplete { position: relative; }
.phone-country-suggestions { position: absolute; z-index: 30; top: calc(100% + 5px); left: 0; right: 0; max-height: 230px; overflow-y: auto; padding: 5px; border: 1px solid var(--iv-line); border-radius: 7px; background: white; box-shadow: 0 15px 35px rgba(18,60,55,.16); }
.phone-country-suggestions button { width: 100%; min-height: 42px; padding: 7px 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-radius: 5px; cursor: pointer; color: var(--iv-ink); background: transparent; text-align: left; }
.phone-country-suggestions button:hover, .phone-country-suggestions button.active { background: #eef6f3; }
.phone-country-suggestions button span { display: grid; gap: 2px; }
.phone-country-suggestions button b { font-size: 10px; }
.phone-country-suggestions button small { color: var(--iv-muted); font-size: 8px; }
.phone-country-suggestions button strong { color: var(--iv-forest-2); font-size: 10px; }
.phone-country-empty { padding: 12px; color: var(--iv-muted); font-size: 9px; text-align: center; }
.iv-input > .hint { display: none; }
.iv-hint { color: var(--iv-muted); font-size: 8px; line-height: 1.5; }
.iv-alert { padding: 11px 13px; display: flex; gap: 8px; border: 1px solid #ecc5c0; border-radius: 6px; background: #fff5f3; color: var(--iv-danger); font-size: 10px; line-height: 1.5; }
.iv-auth-alt { margin-top: 18px; color: var(--iv-muted); text-align: center; font-size: 10px; }
.iv-auth-alt a { color: var(--iv-forest-2); font-weight: 800; }

.iv-app { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); background: #f3f5f2; }
.iv-sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 16px; display: flex; flex-direction: column; color: white; background: var(--iv-forest); }
.iv-sidebar .iv-brand { padding: 0 8px 23px; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.iv-sidebar .iv-brand small { color: rgba(255,255,255,.5); }
.iv-menu { margin-top: 20px; display: grid; gap: 5px; }
.iv-menu button { min-height: 43px; padding: 0 12px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 7px; cursor: pointer; color: rgba(255,255,255,.67); background: transparent; font-size: 11px; font-weight: 700; text-align: left; }
.iv-menu button i { font-size: 18px; }
.iv-menu button.active { color: white; background: rgba(255,255,255,.12); }
.iv-account { margin-top: auto; padding: 13px; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; background: rgba(0,0,0,.09); }
.iv-account strong, .iv-account span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-account strong { font-size: 10px; }
.iv-account span { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 8px; }
.iv-account button { margin-top: 10px; padding: 0; border: 0; cursor: pointer; color: #f3a28e; background: transparent; font-size: 9px; font-weight: 800; }
.iv-app-main { min-width: 0; padding: 29px clamp(18px, 4vw, 45px) 45px; }
.iv-app-top { margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.iv-app-top h1 { margin: 0; font-family: 'DM Serif Display', serif; font-size: 31px; font-weight: 400; }
.iv-app-top p { margin: 4px 0 0; color: var(--iv-muted); font-size: 10px; }
.iv-status { padding: 8px 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #c9dfd7; border-radius: 99px; background: #eff9f5; color: var(--iv-success); font-size: 9px; font-weight: 800; }
.iv-status.warning { border-color: #ead6b6; background: #fff8ec; color: var(--iv-warning); }
.iv-mobile-menu { display: none; }
.iv-view { display: none; }
.iv-view.active { display: block; animation: iv-enter .25s ease both; }
@keyframes iv-enter { from { opacity: 0; transform: translateY(5px); } }
.iv-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.iv-metric { min-height: 127px; padding: 18px; border: 1px solid var(--iv-line); border-radius: 8px; background: var(--iv-white); }
.iv-metric-head { display: flex; align-items: center; justify-content: space-between; color: var(--iv-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.iv-metric-head i { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; background: var(--iv-mint); color: var(--iv-forest); font-size: 17px; }
.iv-metric strong { display: block; margin-top: 20px; font-family: 'DM Serif Display', serif; font-size: 29px; font-weight: 400; }
.iv-grid-main { margin-top: 13px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(270px, .55fr); gap: 13px; }
.iv-panel { padding: 20px; border: 1px solid var(--iv-line); border-radius: 8px; background: var(--iv-white); }
.iv-panel-head { margin-bottom: 17px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.iv-panel h2, .iv-panel h3 { margin: 0; font-size: 14px; }
.iv-panel-head p { margin: 4px 0 0; color: var(--iv-muted); font-size: 9px; }
.iv-checklist { display: grid; gap: 1px; background: var(--iv-line); border: 1px solid var(--iv-line); }
.iv-check { padding: 13px; display: flex; align-items: center; gap: 11px; background: white; }
.iv-check > i { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #eff2f0; color: #9aa5a1; font-size: 16px; }
.iv-check.done > i { color: white; background: var(--iv-success); }
.iv-check div { min-width: 0; display: grid; gap: 2px; }
.iv-check strong { font-size: 10px; }
.iv-check span { color: var(--iv-muted); font-size: 8px; }
.iv-portal-preview { overflow: hidden; border-radius: 8px; color: white; background: var(--iv-forest); }
.iv-portal-brand { min-height: 150px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; background: var(--tenant-color, var(--iv-forest)); }
.iv-portal-brand img { width: 48px; height: 48px; padding: 5px; object-fit: contain; border-radius: 7px; background: white; }
.iv-portal-brand h3 { max-width: 220px; font-family: 'DM Serif Display', serif; font-size: 21px; font-weight: 400; overflow-wrap: anywhere; }
.iv-portal-link { padding: 12px; display: flex; align-items: center; gap: 8px; background: #0d302c; }
.iv-portal-link span { min-width: 0; flex: 1; overflow: hidden; color: rgba(255,255,255,.7); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.iv-table-wrap { overflow-x: auto; }
.iv-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.iv-table th { padding: 10px 12px; color: var(--iv-muted); border-bottom: 1px solid var(--iv-line); font-size: 8px; text-align: left; text-transform: uppercase; }
.iv-table td { padding: 13px 12px; border-bottom: 1px solid #edf0ee; white-space: nowrap; }
.iv-empty { padding: 38px 20px; color: var(--iv-muted); text-align: center; }
.iv-empty i { display: block; margin-bottom: 10px; color: #9eb0aa; font-size: 33px; }
.iv-config-form { max-width: 820px; }
.iv-form-section { margin-bottom: 13px; padding: 21px; border: 1px solid var(--iv-line); border-radius: 8px; background: var(--iv-white); }
.iv-form-section h2 { margin: 0 0 4px; font-size: 14px; }
.iv-form-section > p { margin: 0 0 18px; color: var(--iv-muted); font-size: 9px; }
.iv-file { padding: 16px; border: 1px dashed #a9bbb5; border-radius: 7px; background: #f7faf8; }
.iv-file input { width: 100%; font-size: 10px; }
.iv-loading { min-height: 55vh; display: grid; place-items: center; color: var(--iv-muted); }
.iv-loading i { margin-right: 7px; animation: iv-spin .8s linear infinite; }
@keyframes iv-spin { to { transform: rotate(360deg); } }
.iv-toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; max-width: 360px; padding: 13px 16px; display: flex; gap: 8px; border-radius: 7px; background: var(--iv-forest); color: white; box-shadow: var(--iv-shadow); font-size: 10px; }
.iv-toast.error { background: var(--iv-danger); }

.iv-invoice-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 16px; align-items: start; }
.iv-direct-form { overflow: hidden; border: 1px solid var(--iv-line); border-radius: 8px; background: var(--iv-white); box-shadow: 0 18px 45px rgba(18,60,55,.08); }
.iv-workspace-head { padding: 24px 26px; display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--iv-line); background: linear-gradient(115deg,#fffefd 60%,#eef7f3); }
.iv-workspace-head > div > span { color: var(--iv-coral-dark); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.iv-workspace-head h2 { margin: 6px 0 5px; font-family: 'DM Serif Display',serif; font-size: 27px; font-weight: 400; }
.iv-workspace-head p { max-width: 570px; margin: 0; color: var(--iv-muted); font-size: 10px; line-height: 1.6; }
.iv-stamp-pill { min-width: 145px; height: 50px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid #c8ddd5; border-radius: 7px; background: white; color: var(--iv-forest); }
.iv-stamp-pill i { font-size: 22px; }.iv-stamp-pill span { display: grid; font-size: 8px; }.iv-stamp-pill b { font-size: 15px; }
.iv-form-block { padding: 22px 26px; border-bottom: 1px solid var(--iv-line); }
.iv-block-title { margin-bottom: 17px; display: flex; align-items: center; gap: 10px; }.iv-block-title > i { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 7px; background: var(--iv-mint); color: var(--iv-forest); font-size: 18px; }.iv-block-title div { display: grid; gap: 2px; }.iv-block-title b { font-size: 11px; }.iv-block-title span { color: var(--iv-muted); font-size: 8px; }
.iv-span-2 { grid-column: 1/-1; }
.iv-segmented { margin-bottom: 17px; padding: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border: 1px solid var(--iv-line); border-radius: 8px; background: #f2f5f3; }.iv-segmented label { cursor: pointer; }.iv-segmented input { position: absolute; opacity: 0; pointer-events: none; }.iv-segmented span { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; color: var(--iv-muted); font-size: 10px; font-weight: 800; }.iv-segmented input:checked + span { background: white; color: var(--iv-forest); box-shadow: 0 3px 11px rgba(18,60,55,.1); }
.iv-public-summary { min-height: 84px; padding: 17px; display: flex; align-items: center; gap: 13px; border: 1px solid #bcded1; border-radius: 7px; background: #f0faf6; }.iv-public-summary > i { color: var(--iv-success); font-size: 27px; }.iv-public-summary div { display: grid; gap: 4px; }.iv-public-summary b { font-size: 11px; }.iv-public-summary span { color: var(--iv-muted); font-size: 9px; }
.iv-issue-bar { padding: 17px 26px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #f7f9f7; }.iv-issue-bar > div { display: flex; align-items: center; gap: 10px; }.iv-issue-bar > div > i { color: var(--iv-success); font-size: 22px; }.iv-issue-bar span { display: grid; gap: 2px; }.iv-issue-bar b { font-size: 10px; }.iv-issue-bar small { color: var(--iv-muted); font-size: 8px; }
.iv-workspace-aside { position: sticky; top: 24px; overflow: hidden; border-radius: 8px; color: white; background: #0d302c; box-shadow: var(--iv-shadow); }.iv-aside-visual { min-height: 330px; padding: 27px; display: flex; flex-direction: column; background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size: 25px 25px; }.iv-aside-visual > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: var(--iv-coral); font-size: 24px; }.iv-aside-visual > span { margin-top: auto; color: #f2a690; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.iv-aside-visual strong { margin-top: 8px; font-family: 'DM Serif Display',serif; font-size: 35px; font-weight: 400; line-height: 1.02; }.iv-aside-visual p { margin: 14px 0 0; color: rgba(255,255,255,.62); font-size: 9px; line-height: 1.7; }.iv-aside-steps { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.12); }.iv-aside-steps div { min-height: 75px; padding: 12px 8px; display: grid; align-content: center; gap: 5px; border-right: 1px solid rgba(255,255,255,.1); }.iv-aside-steps div:last-child { border: 0; }.iv-aside-steps b { color: #f2a690; font-size: 9px; }.iv-aside-steps span { color: rgba(255,255,255,.7); font-size: 7px; line-height: 1.3; }
.iv-doc-type { margin-bottom: 4px; display: block; color: var(--iv-coral-dark); font-size: 7px; font-weight: 800; text-transform: uppercase; }.iv-doc-status { padding: 5px 7px; border-radius: 5px; background: #eef2f0; }.iv-doc-status.active { color: var(--iv-success); background: #e9f7f1; }.iv-doc-status.failed { color: var(--iv-danger); background: #fff0ee; }.iv-doc-actions { display: flex; gap: 5px; }.iv-doc-actions .iv-btn { min-height: 31px; padding: 0 8px; font-size: 8px; }
.iv-modal-backdrop { position: fixed; z-index: 80; inset: 0; padding: 20px; display: grid; place-items: center; background: rgba(10,35,32,.62); backdrop-filter: blur(5px); }.iv-success-modal { position: relative; width: min(470px,100%); padding: 34px; border-radius: 8px; background: var(--iv-white); box-shadow: 0 30px 90px rgba(5,25,22,.34); text-align: center; }.iv-modal-close { position: absolute; top: 13px; right: 13px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--iv-line); border-radius: 6px; cursor: pointer; background: white; color: var(--iv-muted); }.iv-success-seal { width: 64px; height: 64px; margin: 0 auto 17px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--iv-success); box-shadow: 0 12px 28px rgba(22,130,101,.24); font-size: 30px; }.iv-success-modal > span { color: var(--iv-success); font-size: 8px; font-weight: 800; letter-spacing: .12em; }.iv-success-modal h2 { margin: 7px 0 7px; font-family: 'DM Serif Display',serif; font-size: 29px; font-weight: 400; }.iv-success-modal > p { margin: 0; color: var(--iv-muted); font-size: 10px; line-height: 1.6; }.iv-success-identity { margin: 22px 0; padding: 13px; display: grid; gap: 5px; border: 1px dashed #b4c8c1; border-radius: 7px; background: #f4f8f6; }.iv-success-identity small { color: var(--iv-muted); font-size: 8px; text-transform: uppercase; }.iv-success-identity b { overflow-wrap: anywhere; color: var(--iv-forest); font-size: 11px; }.iv-success-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (max-width: 980px) {
  .iv-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 54px; }
  .iv-product-scene { min-height: 390px; }
  .iv-feature-grid { grid-template-columns: 1fr 1fr; }
  .iv-auth { grid-template-columns: 1fr; }
  .iv-auth-aside { min-height: auto; padding-block: 32px; }
  .iv-auth-copy { margin: 50px 0; }
  .iv-auth-note { display: none; }
  .iv-app { grid-template-columns: 1fr; }
  .iv-sidebar { position: fixed; z-index: 40; left: 0; width: 238px; transform: translateX(-100%); transition: transform .22s ease; }
  .iv-sidebar.open { transform: translateX(0); }
  .iv-mobile-menu { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--iv-line); border-radius: 7px; background: white; font-size: 20px; }
  .iv-metrics { grid-template-columns: 1fr 1fr; }
  .iv-invoice-workspace { grid-template-columns: 1fr; }.iv-workspace-aside { position: static; }.iv-aside-visual { min-height: 245px; }
}

@media (max-width: 640px) {
  .iv-nav { min-height: 63px; }
  .iv-nav-actions .iv-btn-secondary { display: none; }
  .iv-brand strong { font-size: 17px; }
  .iv-hero { min-height: auto; padding: 45px 20px 40px; }
  .iv-hero h1 { font-size: 42px; }
  .iv-hero-copy > p { font-size: 14px; }
  .iv-product-scene { min-height: 315px; }
  .iv-browser { width: 108%; transform: scale(.88) rotate(1deg); }
  .iv-identity-tag { right: 0; bottom: 6px; }
  .iv-band { padding: 45px 20px; }
  .iv-feature-grid, .iv-steps { grid-template-columns: 1fr; }
  .iv-feature { min-height: 175px; }
  .iv-cta { padding: 38px 20px; align-items: flex-start; flex-direction: column; }
  .iv-footer { flex-direction: column; }
  .iv-auth-aside { padding: 25px 20px; }
  .iv-auth-copy { margin: 38px 0 15px; }
  .iv-auth-copy h1 { font-size: 38px; }
  .iv-auth-points { display: none; }
  .iv-auth-main { padding: 24px 14px; }
  .iv-auth-card { padding: 25px 19px; }
  .iv-form-grid { grid-template-columns: 1fr; }
  .iv-app-main { padding: 20px 13px 35px; }
  .iv-app-top { align-items: flex-start; }
  .iv-app-top h1 { font-size: 26px; }
  .iv-status { display: none; }
  .iv-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .iv-metric { min-height: 110px; padding: 13px; }
  .iv-metric strong { margin-top: 14px; font-size: 24px; }
  .iv-grid-main { grid-template-columns: 1fr; }
  .iv-panel, .iv-form-section { padding: 16px; }
  .iv-workspace-head,.iv-form-block,.iv-issue-bar { padding: 18px 16px; }.iv-workspace-head { align-items: flex-start; flex-direction: column; }.iv-workspace-head h2 { font-size: 24px; }.iv-stamp-pill { width: 100%; }.iv-segmented { grid-template-columns: 1fr; }.iv-span-2 { grid-column: auto; }.iv-issue-bar { align-items: stretch; flex-direction: column; }.iv-issue-bar .iv-btn { width: 100%; }.iv-doc-actions { min-width: 120px; }
  .iv-success-modal { padding: 30px 18px 20px; }.iv-success-actions { grid-template-columns: 1fr; }
}