:root {
  color-scheme: dark;
  --ink: #f5f8ff;
  --muted: #a5b3c8;
  --accent: #65e3c3;
  --surface: #0b1423;
  --panel: #111f32;
  --line: rgba(255,255,255,.11);
  --bs-body-color: #f5f8ff;
  --bs-body-bg: #0b1423;
  --bs-border-color: rgba(255,255,255,.13);
  --bs-secondary-color: #a5b3c8;
  --bs-primary-rgb: 101,227,195;
  --bs-link-color: #81e9ce;
  --bs-link-hover-color: #b7f7e5;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--surface); font-family: Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; font-size: 14px; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse 48% 55% at 84% 22%,rgba(26,112,123,.22),transparent 75%),radial-gradient(ellipse 40% 50% at 15% 85%,rgba(51,70,141,.14),transparent 75%); }
a { color: #81e9ce; text-underline-offset: 4px; }
a:hover { color: #b7f7e5; }
h1,h2,h3,h4 { color: var(--ink); font-weight: 650; letter-spacing: -.035em; line-height: 1.2; }
h1 { font-size: clamp(28px,3vw,38px); }
h2 { font-size: 23px; margin: 32px 0 18px; }
h3 { font-size: 18px; }
p { color: inherit; }
.ui-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px #65e3c344; }
.mint-text { color: var(--accent); }
.gradient-text { background: linear-gradient(100deg,#f7ffff,#73e4ca); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; text-decoration: none; }
.brand-lockup img { display: block; width: 184px; height: auto; background: #000; border-radius: 7px; padding: 6px 9px; }
.product-label { color: #c7d4e3; font-size: 9px; font-weight: 650; letter-spacing: .3em; padding-left: 10px; }
.public-wrap { width: min(1200px,calc(100% - 80px)); margin: auto; min-height: 100vh; display: flex; flex-direction: column; }
.public-header { display: flex; justify-content: space-between; align-items: center; padding: 30px 0; }
.top-note { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--line); padding: 23px 0; font-size: 11px; color: var(--muted); }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #b5c7d8; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-divider { margin: 0 10px; opacity: .4; }
.auth-layout { flex: 1; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); align-items: center; gap: 95px; padding: 55px 0 65px; min-height: 670px; }
.auth-story h2 { font-size: clamp(40px,4.5vw,62px); font-weight: 730; line-height: 1.12; letter-spacing: -.06em; margin: 25px 0 22px; }
.story-description { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.connection-visual { position: relative; width: 340px; height: 240px; display: grid; place-items: center; margin: 24px 0 6px 12px; }
.connection-orbit { position: absolute; width: 240px; height: 240px; border: 1px solid #65e3c31a; border-radius: 50%; box-shadow: 0 0 0 25px #65e3c305,0 0 0 50px #65e3c303; }
.connection-card { position: relative; width: 270px; height: 158px; border: 1px solid #71dac047; border-radius: 17px; background: linear-gradient(125deg,#16707a,#123d56 58%,#12243d); box-shadow: 0 28px 55px #020a1655,inset 0 1px #ffffff17; transform: rotate(-9deg); padding: 24px; }
.visual-chip { color: #91efda; position: absolute; right: 22px; top: 22px; }
.visual-wordmark { display: block; color: #f6ffff; font-size: 25px; font-weight: 650; letter-spacing: -.05em; margin-top: 3px; }
.visual-dot { color: var(--accent); }
.visual-card-line { display: block; width: 95px; height: 4px; border-radius: 5px; background: #d1fff04a; margin-top: 25px; }
.visual-card-line.short { width: 60px; margin-top: 8px; opacity: .6; }
.visual-qr { position: absolute; bottom: 18px; right: 20px; padding: 4px; color: #bafbea; background: #ffffff0c; border-radius: 5px; }
.visual-qr svg { width: 32px; height: 32px; }
.connection-caption { position: absolute; bottom: 7px; color: #8fabc0; font-size: 8px; letter-spacing: .22em; }
.connection-features { display: flex; flex-wrap: wrap; gap: 22px; color: #a9becf; font-size: 11px; margin-top: 25px; }
.connection-features span { display: inline-flex; align-items: center; gap: 8px; }
.connection-features svg { color: #65e3c3; width: 17px; height: 17px; }
.auth-panel { padding: 36px 36px 24px; background: linear-gradient(145deg,rgba(22,39,59,.96),rgba(15,28,46,.98)); border: 1px solid #ffffff12; border-radius: 22px; box-shadow: 0 28px 90px #020b183b,inset 0 1px #ffffff05; }
.auth-panel > .eyebrow { font-size: 9px; margin-bottom: 16px; }
.auth-panel h1 { font-size: clamp(29px,3vw,36px); line-height: 1.22; margin-bottom: 14px; font-weight: 650; letter-spacing: -.045em; }
.auth-description { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 30px; }
.auth-form-content > form.card { padding: 0; background: none; box-shadow: none; border: 0; border-radius: 0; margin-bottom: 17px!important; }
.auth-form-content > form.card > .btn { width: 100%; align-self: stretch!important; margin-top: 8px; padding: 12px 18px; }
.auth-form-content > a { display: block; text-align: center; font-size: 11px; color: #b7c8d9; text-decoration: none; }
.auth-form-content > a:hover { color: var(--accent); }
.auth-panel-footer { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 19px; display: flex; justify-content: center; align-items: center; gap: 8px; color: #8ca2b9; font-size: 10px; }
.auth-panel-footer svg { width: 14px; height: 14px; color: #65e3c3; }
.public-main { flex: 1; padding: 60px 0 80px; max-width: 920px; }
.public-main > h1 { font-size: clamp(35px,5vw,62px); letter-spacing: -.055em; max-width: 800px; margin-bottom: 32px; }
.public-main > p { color: var(--muted); }
.home-intro { max-width: 570px; font-size: 17px; line-height: 1.9; margin: 0 0 28px; }
.home-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 60px; }
.home-features .ui-icon { color: var(--accent); width: 27px; height: 27px; margin-bottom: 22px; }
.home-features h2 { font-size: 16px; margin: 0 0 12px; }
.home-features p { font-size: 12px; color: var(--muted); margin: 0; }
.application-shell { display: grid; grid-template-columns: 238px minmax(0,1fr); min-height: 100vh; }
.application-sidebar { padding: 29px 18px 22px; border-right: 1px solid var(--line); background: #0b1525; position: sticky; top: 0; height: 100dvh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #29415c transparent; display: flex; flex-direction: column; z-index: 30; }
.application-sidebar > .brand-lockup { padding: 0 8px; margin-bottom: 38px; }
.application-sidebar .brand-lockup img { width: 173px; }
.sidebar-caption { color: #71869d; font-size: 9px; font-weight: 700; letter-spacing: .16em; padding: 0 14px; margin-bottom: 14px; }
.workspace-nav { display: flex; flex-direction: column; gap: 3px; }
.workspace-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-radius: 7px; font-size: 12px; color: #a8b9cc; text-decoration: none; border: 1px solid transparent; transition: background .15s,color .15s; }
.workspace-nav a svg { width: 17px; height: 17px; opacity: .8; }
.workspace-nav a:hover { background: #ffffff05; color: #f5f8ff; }
.workspace-nav a[aria-current] { background: #65e3c310; color: #81ecd0; border-color: #65e3c31b; font-weight: 600; }
.workspace-nav a[aria-current] svg { opacity: 1; }
.sidebar-bottom { margin-top: auto; padding: 24px 12px 0; }
.utility-link { display: flex; align-items: center; gap: 10px; color: #a4b6c8; text-decoration: none; font-size: 10px; padding: 9px 0; }
.utility-link svg { width: 15px; height: 15px; }
.sidebar-note { border-top: 1px solid var(--line); color: #6f869d; font-size: 10px; line-height: 1.8; margin-top: 15px; padding-top: 18px; }
.application-body { min-width: 0; display: flex; flex-direction: column; }
.application-header { height: 82px; padding: 0 38px; border-bottom: 1px solid var(--line); background: #0c1726d9; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.header-context { color: #a5b7ca; font-size: 11px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 21px; }
.company-switcher { display: flex; align-items: center; gap: 5px; margin: 0; }
.company-switcher .form-select { width: auto; max-width: 210px; min-height: 35px; font-size: 11px; border-color: #ffffff12; background-color: #ffffff04; }
.user-identity { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #d3ddea; white-space: nowrap; }
.user-avatar { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #65e3c332; border-radius: 50%; background: #65e3c310; color: var(--accent); font-size: 12px; font-weight: 600; }
.app-main { width: 100%; max-width: 1600px; padding: 34px 38px 60px; margin: 0 auto; flex: 1; min-width: 0; }
.page-heading { margin-bottom: 26px; }
.page-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
.page-heading h1 { margin: 0; font-size: 30px; }
.page-content > .text-secondary:first-child { margin-top: -18px; margin-bottom: 27px; font-size: 12px; }
.application-body > .site-footer { margin: 0 38px; padding: 21px 0; }
.mobile-menu,.menu-backdrop { display: none; }
.card { background: #111f31; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 8px 28px #030b140d; }
.card-body { padding: 25px; }
.card h2:first-child { margin-top: 0; }
form.card { max-width: 880px; }
.form-label { color: #c8d5e4; font-size: 11px; font-weight: 550; margin-bottom: 8px; }
.form-control,.form-select { color: #eff7ff; background-color: #0c192a; border: 1px solid #ffffff1b; border-radius: 7px; min-height: 43px; font-size: 12px; line-height: 1.6; padding: 10px 13px; }
.form-control:focus,.form-select:focus { color: #fff; background-color: #0d1c2e; border-color: #65e3c380; box-shadow: 0 0 0 3px #65e3c312; }
.form-control::placeholder { color: #71879f; }
.password-control { position: relative; }
.password-control .form-control { padding-right: 45px; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 4px; background: transparent; color: #8da5bc; }
.password-toggle:hover { color: var(--accent); background: #65e3c308; }
.password-toggle .ui-icon { width: 17px; height: 17px; }
.form-control[readonly] { color: #9db5ca; background: #0b1727; }
.form-control[type=color] { width: 100%; max-width: 120px; padding: 5px; }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a5b3c8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); padding-right: 32px; }
.form-select option { color: #f5f8ff; background: #111f31; }
input[type=checkbox] { accent-color: var(--accent); width: 14px; height: 14px; margin-right: 5px; vertical-align: middle; }
label { color: #bbcbdc; font-size: 12px; }
fieldset { min-width: 0; }
legend { color: #e0eaf5; font-size: 15px; }
textarea { min-height: 100px; }
.btn { border-radius: 7px; padding: 10px 16px; font-size: 11px; font-weight: 650; line-height: 1.6; transition: background .15s,border-color .15s,box-shadow .15s; }
.btn-primary { --bs-btn-bg: #65e3c3; --bs-btn-border-color: #65e3c3; --bs-btn-color: #09211e; --bs-btn-hover-bg: #8cf5d8; --bs-btn-hover-border-color: #8cf5d8; --bs-btn-hover-color: #071b18; --bs-btn-active-bg: #4ac9a9; --bs-btn-active-color: #071b18; --bs-btn-active-border-color: #4ac9a9; --bs-btn-disabled-bg: #376c65; --bs-btn-disabled-border-color: #376c65; --bs-btn-disabled-color: #d1e8e2; }
.btn-outline-primary,.btn-outline-light { --bs-btn-color: #80dfc8; --bs-btn-border-color: #65e3c338; --bs-btn-hover-bg: #65e3c311; --bs-btn-hover-border-color: #65e3c380; --bs-btn-hover-color: #a3f7df; --bs-btn-active-bg: #65e3c322; --bs-btn-active-color: #a3f7df; }
.btn-sm { padding: 6px 10px; font-size: 10px; }
.btn-quiet { color: #9fb3c8; padding: 7px; background: none; border: 1px solid transparent; }
.btn-quiet:hover { background: #ffffff06; color: var(--accent); border-color: var(--line); }
.btn-quiet svg { width: 17px; height: 17px; }
.table-responsive { border: 1px solid var(--line); border-radius: 11px; background: #101d2e; margin: 20px 0; }
.table { --bs-table-bg: transparent; --bs-table-color: #c4d2e2; --bs-table-striped-bg: #ffffff02; --bs-table-striped-color: #c4d2e2; --bs-table-border-color: #ffffff09; margin: 0; font-size: 12px; }
.table th { background: #ffffff03; color: #8fa5bc; text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 650; padding: 15px 19px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.table td { padding: 16px 19px; vertical-align: middle; }
.table td a { text-decoration: none; font-size: 11px; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #9db1c623; border-radius: 5px; padding: 3px 8px; color: #a5b9cc; background: #9db1c609; font-size: 10px; white-space: nowrap; }
.status-badge::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.status-active,.status-published,.status-complete,.status-completed { color: #81dfba; border-color: #65e3c322; background: #65e3c309; }
.status-draft,.status-unassigned,.status-running { color: #a9c8f5; border-color: #a9c8f523; background: #a9c8f508; }
.status-pending,.status-suspended,.status-lost { color: #eac581; border-color: #eac58125; background: #eac58108; }
.status-failed,.status-revoked,.status-rejected { color: #eea5b0; border-color: #eea5b022; background: #eea5b008; }
.page-content > p > .btn + a { margin-left: 12px; }
.alert { border-radius: 10px; padding: 18px 21px; font-size: 12px; }
.alert-info { color: #b9cddd; background: #12263a; border-color: #2e4b624d; }
.alert-success { color: #9be6cd; background: #0e302c; border-color: #65e3c32b; }
.alert-danger { color: #ffc5c9; background: #361f2b; border-color: #e597a031; }
.text-secondary,.text-muted { color: var(--muted)!important; }
.border-top { border-color: var(--line)!important; }
.action-form { display: inline-block; margin: 3px; }
.field-row { padding: 22px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 20px; background: #ffffff02; }
.field-row legend { float: none; width: auto; padding: 0 7px; margin-bottom: 12px; font-size: 13px; }
.small-form { max-width: 500px; }
.metric { font-size: 34px; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #f0fff9; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 18px; margin-bottom: 30px; }
.metric-card { position: relative; padding: 22px; background: linear-gradient(130deg,#13243a,#101e30); }
.metric-card h2 { color: #9db1c6; font-size: 11px; letter-spacing: 0; font-weight: 500; margin: 0 0 20px; }
.metric-icon { position: absolute; top: 20px; right: 20px; color: #65e3c3; background: #65e3c30c; border: 1px solid #65e3c31a; padding: 6px; border-radius: 8px; }
.metric-icon svg { width: 16px; height: 16px; }
.dashboard-section { background: #101e30; border: 1px solid var(--line); border-radius: 13px; padding: 24px; margin-bottom: 24px; }
.dashboard-section h2 { margin: 0 0 6px; font-size: 17px; }
.section-description { color: var(--muted); font-size: 12px; margin: 0 0 20px; }
.empty-state { padding: 40px 25px; border: 1px dashed #ffffff18; border-radius: 10px; text-align: center; color: #a5b9cc; background: #ffffff01; }
.empty-state .ui-icon { width: 28px; height: 28px; color: #65e3c3; margin-bottom: 12px; }
.empty-state h2 { font-size: 16px; color: #d6e3ef; margin: 0 0 8px; }
.empty-state p { font-size: 12px; margin: 0; }
.public-card { max-width: 580px; margin: auto; overflow: hidden; }
.public-card-main { max-width: 640px; margin: 20px auto 0; min-height: 80vh; }
.card-page-top { display: flex; align-items: center; justify-content: space-between; max-width: 580px; margin: 0 auto 26px; color: #8fa7bd; font-size: 10px; }
.card-page-top a { color: #f5f8ff; font-size: 19px; font-weight: 650; letter-spacing: -.05em; text-decoration: none; }
.card-page-top a span { color: var(--accent); }
.card-page-footer { color: #728ca5; font-size: 11px; }
.sharing-panel,.exchange-panel { padding: 28px; border-radius: 16px; border: 1px solid var(--line); }
.sharing-panel h2,.exchange-panel h2 { font-size: 20px; margin-top: 0; margin-bottom: 20px; }
.exchange-panel > p { font-size: 12px; }
.exchange-panel form.card { padding: 20px; }
.sharing-panel .qr { display: block; margin: 0 0 16px; }
.public-card .card-body { padding: 32px; }
.public-card h1 { color: inherit; font-size: 34px; }
.public-card h2,.public-card h3 { color: inherit; }
.public-card.modern { border-radius: 26px; border-top: 10px solid var(--brand,var(--accent)); }
.public-card.corporate { border-top: 70px solid var(--brand,var(--accent)); }
.public-card.minimal { border: 1px solid var(--line); }
.public-card .btn { font-size: 12px; padding: 11px 17px; }
.avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid #ffffff16; }

/* Published profile layouts: actual uploaded media and application actions. */
.profile-page .public-card-main { max-width: 620px; }
.profile-page .card-page-top { padding: 0 10px 18px; }
.public-card.profile-card { padding: 0; overflow: hidden; border-radius: 30px; width: 100%; margin-inline: auto; }
.profile-card .profile-content { padding: 36px; }
.profile-card .profile-icon { width: 27px; height: 27px; flex-shrink: 0; }
.profile-card .profile-company-logo { display: block; max-width: 210px; max-height: 76px; object-fit: contain; margin: 22px auto; background: #f6fbfd; padding: 10px 14px; border-radius: 10px; }
.profile-card .profile-identity h1 { font-size: clamp(28px,6vw,42px); line-height: 1.15; font-weight: 750; letter-spacing: -.035em; margin: 20px 0 10px; overflow-wrap: anywhere; }
.profile-card .profile-role { font-size: 19px; line-height: 1.5; margin: 0; }
.profile-card .profile-bio { font-size: 17px; line-height: 1.65; margin: 25px 0; overflow-wrap: anywhere; }
.profile-card .profile-actions { display: flex; gap: 12px; margin: 28px 0 10px; }
.profile-card .profile-primary { display: flex; flex: 1; align-items: center; justify-content: center; gap: 9px; min-height: 56px; padding: 14px 16px; border-radius: 16px; text-decoration: none; font-size: 16px; font-weight: 700; text-align: center; }
.profile-card .profile-detail { display: flex; align-items: center; gap: 20px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid #ffffff1a; min-height: 78px; }
.profile-card .profile-detail-text { display: grid; gap: 3px; min-width: 0; flex: 1; }
.profile-card .profile-detail-label { font-size: 13px; }
.profile-card .profile-detail-value { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.profile-card .profile-chevron { font-size: 28px; font-weight: 300; }
.profile-card .profile-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.profile-card .profile-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 16px; min-height: 48px; border: 1px solid; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; background: transparent; cursor: pointer; }
.profile-card .profile-link .profile-icon { width: 19px; height: 19px; }
.profile-card .profile-sharing { padding: 24px; border: 1px solid; border-radius: 22px; margin-top: 32px; text-align: left; }
.profile-card .profile-sharing h2 { font-size: 22px; font-weight: 700; margin: 0 0 22px; }
.profile-card .profile-sharing-grid { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.profile-card .profile-qr { flex: 1; min-width: 140px; text-align: center; }
.profile-card .profile-qr img { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto 12px; background: white; border-radius: 10px; padding: 5px; }
.profile-card .profile-qr a { font-size: 13px; text-underline-offset: 4px; }
.profile-card .profile-share-actions { flex: 1; min-width: 130px; text-align: center; }
.profile-card .profile-share-actions [data-share-status] { font-size: 13px; margin: 12px 0 0; }
.profile-card .profile-nfc { display: grid; justify-items: center; gap: 9px; margin-bottom: 20px; }
.profile-card .profile-nfc .ui-icon { width: 55px; height: 55px; }
.profile-card .profile-nfc small { font-size: 12px; line-height: 1.5; }
.profile-card .profile-footer, .profile-card .profile-preview-note { font-size: 13px; line-height: 1.6; margin: 25px 0 0; }
.profile-card .profile-url-label { display: block; font-size: 12px; margin-top: 18px; }
.profile-card .profile-url-label input { margin-top: 6px; font-size: 12px; width: 100%; }
.corporate-profile .profile-url-label input { background: white; color: #173b3c; border-color: #bad7d2; }
.corporate-profile .profile-url-label { color: #315b5b; }
.corporate-profile .profile-company-logo { background: white; padding: 8px; border: 1px solid #dbe5e8; border-radius: 8px; }
.profile-card .preview-action { opacity: .65; cursor: default; }
.profile-card a:focus-visible, .profile-card button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.public-card.modern-profile { --profile-mint: #65e3c3; background: radial-gradient(ellipse at top,#153b4b 0,transparent 55%),linear-gradient(145deg,#132a3c,#081626); color: #f5f8ff; border: 1px solid #23708a; box-shadow: 0 20px 90px #0005,0 0 60px #65e3c30c; text-align: center; }
.modern-profile .modern-portrait { width: 160px; height: 160px; border: 3px solid var(--profile-mint); border-radius: 50%; padding: 6px; margin: 0 auto 28px; box-shadow: 0 0 40px #65e3c320; }
.modern-profile .modern-portrait img, .modern-profile .modern-portrait > span { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: linear-gradient(140deg,#143b49,#081522); font-size: 46px; font-weight: 650; letter-spacing: -.06em; }
.modern-profile .modern-company { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: #bbd2e3; margin: 10px 0 28px; overflow-wrap: anywhere; }
.modern-profile .profile-role, .modern-profile .profile-bio { color: #bed1e1; }
.modern-profile .profile-bio::before { content: ''; display: block; width: 26px; height: 3px; background: var(--profile-mint); border-radius: 3px; margin: 0 auto 18px; }
.modern-profile .profile-primary { background: var(--profile-mint); color: #08242d; border: 1px solid #8effe2; }
.modern-profile .profile-primary:hover { background: #95f1d8; }
.modern-profile .profile-detail { text-align: left; color: #f5f8ff; }
.modern-profile .profile-detail > .profile-icon, .modern-profile .profile-nfc { color: var(--profile-mint); }
.modern-profile .profile-detail-label, .modern-profile .profile-chevron { color: #b6cbdc; }
.modern-profile .profile-sharing { background: linear-gradient(140deg,#142c40aa,#061522aa); border-color: #22506d; }
.modern-profile .profile-link { color: var(--profile-mint); border-color: #3b6a75; }
.modern-profile .profile-link:hover, .modern-profile a.profile-detail:hover { background: #65e3c30b; }
.modern-profile .profile-qr a { color: #d4f9ef; }
.profile-banner { width: 100%; max-height: 180px; object-fit: cover; }
.corporate-page { background: #f2f7fa; color: #142537; }
.corporate-page .card-page-top a, .corporate-page .card-page-footer a { color: #1a5262; }
.corporate-page .card-page-top > span { color: #576c79; }
.public-card.corporate-profile { --corporate-teal: #68cfc3; max-width: 500px; background: white; color: #17232c; border: 1px solid #dce6eb; box-shadow: 0 18px 65px #1b394d24; border-top: 0; border-radius: 24px; }
.corporate-profile .corporate-hero { position: relative; height: 420px; background: linear-gradient(145deg,#1c4553,#99b5bf); overflow: hidden; }
.corporate-profile .corporate-portrait { width: 100%; height: 100%; object-fit: cover; object-position: center 5%; }
.corporate-profile .corporate-monogram { display: grid; place-items: center; height: 100%; font-size: 100px; color: white; font-weight: 650; letter-spacing: -.06em; padding-bottom: 30px; }
.corporate-profile .corporate-wave { position: absolute; width: 100%; height: 80px; left: 0; bottom: -1px; }
.corporate-profile .wave-accent { fill: var(--corporate-teal); }
.corporate-profile .wave-paper { fill: white; }
.corporate-profile .profile-content { padding: 0 30px 30px; }
.corporate-profile .corporate-masthead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; min-height: 44px; }
.corporate-profile .corporate-kicker { font-size: 9px; font-weight: 750; letter-spacing: .16em; color: #3e756f; margin: 0; }
.corporate-profile .profile-company-logo { margin: 0; max-width: 140px; max-height: 48px; position: relative; padding: 8px 10px; }
.corporate-profile .profile-identity { border: 0; padding: 0; }
.corporate-profile .profile-identity h1 { font-size: clamp(28px,6vw,34px); letter-spacing: -.035em; line-height: 1.2; margin: 0 0 9px; color: #163341; }
.corporate-profile .profile-role { font-size: 16px; font-weight: 500; color: #576d77; }
.corporate-profile .corporate-company { font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; font-style: normal; color: #27736c; margin: 10px 0 0; }
.corporate-profile .profile-bio { font-size: 15px; line-height: 1.7; color: #536571; margin: 22px 0; padding-top: 20px; border-top: 1px solid #e4ecef; }
.corporate-profile .profile-primary { background: #163b4a; color: white; border: 1px solid #163b4a; border-radius: 12px; min-height: 54px; font-size: 14px; padding: 12px; }
.corporate-profile .profile-primary + .profile-primary { background: #edf8f5; color: #215e55; border-color: #c9e2db; }
.corporate-profile .profile-primary:hover { background: #275e68; color: white; }
.corporate-profile .profile-detail { color: #182f3d; border-color: #e8eef1; gap: 15px; padding: 19px 0; }
.corporate-profile .profile-detail > .profile-icon { color: #24786f; background: #eef7f4; border-radius: 12px; padding: 10px; width: 40px; height: 40px; }
.corporate-profile .profile-detail-label { color: #536773; }
.corporate-profile .profile-detail-value { font-size: 15px; }
.corporate-profile .profile-link { color: #205e5a; border-color: #79bbb3; }
.corporate-profile .profile-sharing { border-color: #d6e8e5; background: #f4fbf9; padding: 20px; border-radius: 16px; }
.corporate-profile .profile-sharing h2 { font-size: 20px; }
.corporate-profile .profile-qr a, .corporate-profile .profile-footer { color: #315b5b; }
.corporate-profile .profile-footer { border-top: 1px solid #e2ebed; padding-top: 22px; text-align: center; font-size: 11px; letter-spacing: .05em; }
.modern-profile .modern-portrait img, .minimal-profile .minimal-portrait img { object-position: center 17%; }
.profile-page .exchange-panel { max-width: 560px; margin-inline: auto; }
.corporate-page .exchange-panel { max-width: 480px; }
.template-sample-notice { max-width: 560px; margin: 0 auto 20px; padding: 14px 18px; border: 1px solid #65e3c355; border-radius: 12px; background: #173444; color: #edf9f6; font-size: 14px; }
.minimal-page { background: radial-gradient(ellipse at 80% 0,#daebe5,transparent 55%),#eef3f1; color: #203a3d; }
.minimal-page .card-page-top a, .minimal-page .card-page-footer a { color: #2b635b; }
.minimal-page .card-page-top > span { color: #516c68; }
.public-card.minimal-profile { position: relative; max-width: 560px; border: 1px solid #d7e2dc; border-top: 5px solid #245e55; border-radius: 24px; background: linear-gradient(155deg,#eff7f1 0,#ffffff 35%); color: #20383b; box-shadow: 0 16px 65px #1c46341a; }
.minimal-profile .profile-content { position: relative; padding: 36px; }
.minimal-profile .minimal-kicker { font-size: 10px; font-weight: 750; letter-spacing: .17em; color: #356c5c; padding-right: 130px; margin: 0 0 30px; min-height: 16px; }
.minimal-profile .minimal-portrait { width: 108px; height: 108px; padding: 5px; border-radius: 28px; background: white; border: 1px solid #d3e4db; box-shadow: 0 5px 20px #1c463414; }
.minimal-profile .minimal-portrait img, .minimal-profile .minimal-portrait > span { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; background: #dceee5; color: #255c4e; font-size: 32px; font-weight: 650; }
.minimal-profile .profile-company-logo { position: absolute; right: 36px; top: 25px; width: 122px; height: 48px; max-width: 28%; margin: 0; padding: 9px; background: white; border: 1px solid #dae7df; border-radius: 10px; }
.minimal-profile .profile-identity h1 { margin: 24px 0 8px; font-size: clamp(28px,6vw,38px); line-height: 1.15; letter-spacing: -.035em; }
.minimal-profile .profile-role { font-size: 16px; color: #5b6d67; }
.minimal-profile .minimal-company { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.6; color: #2b6153; }
.minimal-profile .minimal-company::before { content: ''; width: 16px; height: 2px; background: #61ab91; flex-shrink: 0; }
.minimal-profile .profile-bio { color: #5d7068; font-size: 15px; margin: 22px 0; padding-top: 19px; border-top: 1px solid #dce7df; }
.minimal-profile .profile-actions { margin: 24px 0; }
.minimal-profile .profile-primary { background: #1b4038; color: #fff; border: 1px solid #1b4038; border-radius: 12px; min-height: 52px; font-size: 14px; }
.minimal-profile .profile-primary + .profile-primary { background: #edf6f0; color: #245d4c; border-color: #c9dfd1; }
.minimal-profile .profile-primary:hover { background: #2b6152; color: #fff; }
.minimal-profile .profile-details { display: grid; gap: 10px; }
.minimal-profile .profile-detail { border: 1px solid #e0e8e1; border-radius: 13px; padding: 15px; min-height: 72px; gap: 14px; color: #223e38; background: #fbfdfb; }
.minimal-profile .profile-detail > .profile-icon { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #e9f3ec; color: #356e57; }
.minimal-profile .profile-detail-label { color: #65786e; font-size: 11px; }
.minimal-profile .profile-detail-value { font-size: 14px; line-height: 1.5; }
.minimal-profile .profile-chevron { color: #6c8a77; font-size: 23px; }
.minimal-profile a.profile-detail:hover { background: #eff7f0; border-color: #b6d4be; }
.minimal-profile .profile-link { color: #35604e; border-color: #c4dbcb; background: white; border-radius: 10px; }
.minimal-profile .profile-link:hover { background: #e8f4eb; }
.minimal-profile .profile-sharing { background: #f2f7f2; border-color: #dbe6dc; border-radius: 17px; padding: 22px; }
.minimal-profile .profile-sharing h2 { font-size: 19px; letter-spacing: -.02em; }
.minimal-profile .profile-qr img { max-width: 158px; padding: 7px; border: 1px solid #dce6dc; }
.minimal-profile .profile-qr a { color: #35604e; }
.minimal-profile .profile-nfc { color: #35604e; }
.minimal-profile .profile-url-label { color: #536c5c; }
.minimal-profile .profile-url-label input { color: #244a39; background: white; border-color: #d2e1d4; }
.minimal-profile .profile-footer { text-align: center; padding-top: 20px; border-top: 1px solid #e0e9e1; color: #6c7d70; font-size: 11px; letter-spacing: .05em; }
.minimal-profile .profile-preview-note { color: #536c5c; }
@media (max-width: 480px) {
  .profile-page .public-card-main { padding: 16px 12px !important; }
  .profile-card .profile-content { padding: 26px 20px; }
  .profile-card .profile-actions { gap: 8px; }
  .profile-card .profile-primary { font-size: 14px; padding: 12px 9px; }
  .profile-card .profile-sharing { padding: 18px 14px; }
  .profile-card .profile-sharing-grid { gap: 16px; }
  .profile-card .profile-detail { gap: 15px; }
  .modern-profile .modern-portrait { width: 132px; height: 132px; }
  .corporate-profile .corporate-hero { height: 340px; }
  .corporate-profile .profile-content { padding-top: 8px; }
  .minimal-profile .profile-company-logo { right: 20px; top: 20px; max-width: 31%; }
  .minimal-profile .minimal-kicker { padding-right: 108px; font-size: 9px; }
  .minimal-profile .profile-content { padding: 28px 20px; }
  .minimal-profile .profile-detail { padding: 13px 12px; gap: 11px; }
}
.qr { max-width: 250px; width: 100%; background: white; border-radius: 12px; padding: 12px; }
code { color: #9be6cd; overflow-wrap: anywhere; }
button,a,input,select,textarea { scroll-margin: 24px; }
*:focus-visible { outline: 2px solid #9df6dc; outline-offset: 4px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #65e3c3; color: #09211e; border-radius: 5px; padding: 12px 20px; }
@media(min-width:1600px) { .auth-layout { gap: 120px; } }
@media(max-width:1100px) {
  .auth-layout { gap: 45px; grid-template-columns: minmax(0,1fr) minmax(340px,.9fr); }
  .auth-panel { padding: 30px 27px 22px; }
  .auth-story h2 { font-size: 46px; }
  .application-header { padding: 0 25px; }
  .app-main { padding: 30px 25px 50px; }
  .header-context { display: none; }
  .header-actions { width: 100%; justify-content: flex-end; }
}
@media(max-width:991px) {
  .menu-open { overflow: hidden; }
  .application-shell { display: block; }
  .application-sidebar { position: fixed; inset: 0 auto 0 0; width: 246px; transform: translateX(-100%); visibility: hidden; transition: transform .2s,visibility .2s; }
  .menu-open .application-sidebar { transform: translateX(0); visibility: visible; }
  .mobile-menu { display: inline-flex; padding: 7px; color: var(--accent); border: 1px solid var(--line); }
  .menu-backdrop { position: fixed; inset: 0; border: 0; background: #020912aa; z-index: 25; }
  .menu-open .menu-backdrop { display: block; }
  .application-header { height: 70px; gap: 12px; }
  .header-actions { gap: 12px; }
  .user-identity > span:last-child { display: none; }
}
@media(max-width:760px) {
  .home-features { grid-template-columns: 1fr; margin-top: 35px; }
  .public-wrap { width: min(600px,calc(100% - 40px)); }
  .public-header { padding: 24px 0; }
  .top-note { display: none; }
  .auth-layout { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 45px; min-height: 0; }
  .auth-story h2 { font-size: clamp(35px,7vw,46px); margin: 18px 0 16px; }
  .auth-story > .eyebrow { font-size: 8px; letter-spacing: .14em; }
  .story-description { font-size: 13px; max-width: 420px; margin: 0; }
  .connection-visual,.connection-features { display: none; }
  .auth-panel { padding: 30px 27px 22px; border-radius: 17px; }
  .auth-panel h1 { font-size: 32px; }
  .site-footer { font-size: 10px; }
  .public-main { padding: 35px 0 50px; }
  .public-main > h1 { font-size: 38px; }
}
@media(max-width:480px) {
  .public-wrap { width: calc(100% - 36px); }
  .brand-lockup img { width: 161px; }
  .product-label { font-size: 8px; }
  .auth-panel { padding: 27px 22px 20px; }
  .app-main { padding: 25px 18px 40px; }
  .application-header { padding: 0 17px; }
  .company-switcher .form-select { max-width: 145px; font-size: 10px; }
  .company-switcher .btn { padding: 5px; }
  .header-actions { gap: 7px; }
  .user-avatar { width: 28px; height: 28px; }
  .page-heading h1 { font-size: 27px; }
  .application-body > .site-footer { margin: 0 18px; }
  .card-body { padding: 20px; }
  .public-card .card-body { padding: 25px; }
  .table td,.table th { padding: 13px; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .metric-card { padding: 18px; }
  .metric-icon { display: none; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; } }
