@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --ink: #17131f;
    --muted: #706b79;
    --paper: #f7f4ef;
    --surface: #fffdfa;
    --line: #e8e2db;
    --purple: #6d43d7;
    --purple-dark: #4a259e;
    --coral: #ef6f61;
    --gold: #d9a441;
    --green: #168b68;
    --red: #cb4a55;
    --amber: #a96b09;
    --shadow: 0 18px 50px rgba(41, 29, 65, .10);
    --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: 'DM Sans', sans-serif; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, video { max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.display { font-family: 'Playfair Display', serif; }
.eyebrow { color: var(--purple); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.muted { color: var(--muted); }
.text-success { color: var(--green); }
.text-danger { color: var(--red); }
.text-right { text-align: right; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Public website */
.public-body { overflow-x: hidden; background: #f8f5ef; }
.public-nav { position: fixed; z-index: 20; top: 0; width: 100%; background: rgba(248, 245, 239, .82); border-bottom: 1px solid rgba(69, 49, 84, .08); backdrop-filter: blur(16px); }
.nav-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; letter-spacing: .14em; }
.brand > span:last-child > span { color: var(--coral); }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px 3px 11px 3px; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.35rem; background: linear-gradient(145deg, var(--purple), var(--coral)); box-shadow: 0 8px 20px rgba(109, 67, 215, .25); }
.public-links { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 600; }
.public-links a:not(.btn):hover { color: var(--purple); }
.btn { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--purple), #8255e8); box-shadow: 0 10px 25px rgba(109, 67, 215, .25); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-secondary:hover { border-color: #cfc2de; }
.btn-danger { color: #fff; background: var(--red); }
.btn-ghost { color: var(--purple); background: #f0eafb; }
.btn-soon { min-height: 39px; padding-inline: 14px; color: #7b7382; border-color: #ded7e4; background: rgba(255,255,255,.55); font-size: .72rem; cursor: default; box-shadow: none; }.btn-soon:hover { transform: none; }
.btn-sm { min-height: 36px; padding: 0 13px; border-radius: 9px; font-size: .82rem; }
.hero { min-height: 760px; padding: 158px 0 80px; position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; width: 600px; height: 600px; right: -230px; top: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(239,111,97,.2), rgba(109,67,215,.08) 45%, transparent 68%); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; }
.hero-copy h1 { max-width: 680px; margin: 18px 0 22px; font-size: clamp(3.3rem, 6vw, 6rem); line-height: .98; letter-spacing: -.05em; }
.hero-copy h1 em { color: var(--purple); font-style: normal; position: relative; }
.hero-copy p { max-width: 590px; margin: 0 0 30px; color: #625c68; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { min-height: 54px; padding-inline: 25px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: .83rem; }
.hero-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(22,139,104,.1); }
.hero-visual { position: relative; min-height: 500px; }
.visual-card { position: absolute; overflow: hidden; border-radius: 110px 110px 24px 24px; box-shadow: var(--shadow); }
.visual-main { inset: 0 55px 0 30px; background: linear-gradient(155deg, #cab9ed, #f0a69c 62%, #f3cd85); }
.visual-main::before { content: ''; position: absolute; width: 78%; height: 78%; left: 11%; bottom: -12%; border-radius: 50% 50% 12% 12%; background: linear-gradient(145deg, #4c2d87, #17131f); }
.visual-main::after { content: 'D'; position: absolute; top: 15%; width: 100%; color: rgba(255,255,255,.7); font: 700 11rem 'Playfair Display',serif; text-align: center; }
.float-card { position: absolute; z-index: 2; padding: 18px; border: 1px solid rgba(255,255,255,.7); border-radius: 16px; background: rgba(255,253,250,.88); box-shadow: 0 12px 35px rgba(40,25,70,.14); backdrop-filter: blur(12px); }
.float-card strong { display: block; font-size: 1.05rem; }
.float-card small { color: var(--muted); }
.float-one { left: -10px; bottom: 42px; }
.float-two { right: 0; top: 58px; }
.mini-bars { display: flex; align-items: end; gap: 4px; height: 28px; margin-bottom: 7px; }
.mini-bars i { width: 7px; border-radius: 5px; background: var(--coral); }
.mini-bars i:nth-child(1) { height: 35%; }.mini-bars i:nth-child(2) { height: 65%; }.mini-bars i:nth-child(3) { height: 48%; }.mini-bars i:nth-child(4) { height: 100%; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 45px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 0 24px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }.trust-item:last-child { border: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-family: 'Playfair Display',serif; font-size: 1.15rem; }
.trust-item small { color: var(--muted); }
.public-section { padding: 105px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head h2 { margin: 10px 0 14px; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.035em; }
.section-head p { color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 280px; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); transition: .2s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-card:nth-child(2) { color: #fff; border-color: transparent; background: #211a2a; }
.feature-card:nth-child(2) p { color: #bbb2c5; }
.feature-number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 40px; border-radius: 50%; color: var(--purple); background: #eee8f9; font-family: 'Playfair Display',serif; font-weight: 700; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); line-height: 1.65; }
.dark-section { color: #fff; background: #17131f; position: relative; overflow: hidden; }
.dark-section::after { content: ''; position: absolute; width: 450px; height: 450px; right: -180px; bottom: -220px; border-radius: 50%; border: 80px solid rgba(239,111,97,.12); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-list { display: grid; gap: 12px; }
.process-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 22px; border: 1px solid #332a3e; border-radius: 16px; background: #201927; }
.process-item span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--purple); font-weight: 700; }
.process-item h3 { margin: 0 0 5px; font-size: 1rem; }.process-item p { margin: 0; color: #aca3b4; font-size: .88rem; line-height: 1.5; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin: 80px auto; padding: 55px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, var(--purple-dark), var(--purple) 55%, var(--coral)); box-shadow: 0 28px 60px rgba(75,39,155,.25); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(2rem,4vw,3.2rem); }.cta-band p { margin: 0; color: #e3d9f7; }
.public-footer { padding: 30px 0 45px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* Authentication */
.auth-body { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: #17131f; }
.auth-showcase { position: relative; overflow: hidden; padding: 55px; color: #fff; background: linear-gradient(145deg, #251739, #56329e 62%, #ea7067); }
.auth-showcase::after { content: 'D'; position: absolute; right: -30px; bottom: -130px; color: rgba(255,255,255,.08); font: 700 32rem 'Playfair Display',serif; }
.auth-showcase .brand { position: relative; z-index: 1; }
.auth-message { position: absolute; z-index: 1; left: 55px; right: 55px; bottom: 70px; max-width: 650px; }
.auth-message h1 { margin: 0 0 18px; font-size: clamp(3rem,5vw,5.5rem); line-height: 1; letter-spacing: -.05em; }.auth-message p { max-width: 520px; color: #e4dcef; line-height: 1.7; }
.auth-panel { display: grid; place-items: center; padding: 35px; background: var(--paper); }
.auth-box { width: min(440px, 100%); }
.auth-box h2 { margin: 15px 0 8px; font-size: 2.3rem; }.auth-box > p { margin: 0 0 30px; color: var(--muted); }
.auth-back { display: inline-flex; gap: 8px; color: var(--muted); font-size: .85rem; }
.auth-back:hover { color: var(--purple); }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: #49424e; font-size: .78rem; font-weight: 700; }
.form-control { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #ddd5e3; border-radius: 11px; outline: none; color: var(--ink); background: #fff; transition: .2s; }
textarea.form-control { min-height: 95px; resize: vertical; }
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(109,67,215,.1); }
.form-hint { color: var(--muted); font-size: .72rem; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.password-wrap { position: relative; }.password-wrap .form-control { padding-right: 48px; }.password-toggle { position: absolute; right: 8px; top: 7px; width: 34px; height: 34px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; }
.file-input { padding: 8px; }.file-input::file-selector-button { margin-right: 10px; padding: 8px 12px; border: 0; border-radius: 8px; color: var(--purple); background: #eee8f9; font-weight: 700; cursor: pointer; }
.verification-code { height: 60px; text-align: center; font-size: 1.75rem; font-weight: 800; letter-spacing: .4em; }

/* App shell */
.app-body { min-height: 100vh; background: #f4f1ed; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 250px; display: flex; flex-direction: column; padding: 27px 18px 20px; color: #fff; background: #19141f; }
.sidebar .brand { padding: 0 10px; }
.role-label { margin: 34px 10px 10px; color: #7f748a; font-size: .64rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.side-nav { display: grid; gap: 5px; }
.side-nav a { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 11px; color: #a99fb3; font-size: .86rem; font-weight: 600; }
.side-nav a:hover { color: #fff; background: #251e2d; }.side-nav a.active { color: #fff; background: linear-gradient(120deg, var(--purple), #8054d8); box-shadow: 0 8px 22px rgba(109,67,215,.25); }
.side-nav svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidebar-profile { display: grid; grid-template-columns: 38px 1fr 25px; align-items: center; gap: 9px; margin-top: auto; padding: 13px 8px 0; border-top: 1px solid #2e2735; }
.sidebar-profile strong, .sidebar-profile small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.sidebar-profile strong { font-size: .78rem; }.sidebar-profile small { margin-top: 2px; color: #84798f; font-size: .66rem; }.logout-link { color: #918798; font-size: 1.2rem; }
.app-content { grid-column: 2; min-width: 0; }
.topbar { position: relative; z-index: 120; height: 88px; display: flex; align-items: center; gap: 18px; overflow: visible; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(248,246,242,.96); backdrop-filter: blur(12px); }
.topbar h1 { margin: 2px 0 0; font-size: 1.25rem; }.topbar small { color: var(--muted); font-size: .69rem; }.top-profile { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; font-weight: 600; }
.notification-center { position: relative; z-index: 121; margin-left: auto; }.notification-button { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--muted); background: #fff; }.notification-button:hover { color: var(--purple); border-color: #cfc0e8; }.notification-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.notification-button > span { position: absolute; min-width: 18px; height: 18px; display: grid; place-items: center; right: -6px; top: -6px; padding: 0 4px; border: 2px solid #f8f6f2; border-radius: 20px; color: #fff; background: var(--coral); font-size: .55rem; font-weight: 800; }.notification-dropdown { position: absolute; z-index: 1000; width: min(380px, calc(100vw - 28px)); right: 0; top: 49px; display: none; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 22px 55px rgba(31,20,45,.28); }.notification-dropdown.open { display: block; animation: notification-in .18s ease; }.notification-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 18px; border-bottom: 1px solid var(--line); }.notification-head strong, .notification-head small { display: block; }.notification-head strong { font-size: .88rem; }.notification-head small { margin-top: 2px; color: var(--muted); font-size: .65rem; }.notification-head button { border: 0; color: var(--purple); background: transparent; font-size: .67rem; font-weight: 700; }.notification-list { max-height: 390px; overflow-y: auto; }.notification-item { position: relative; display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 14px 17px; border-bottom: 1px solid #f0ece7; }.notification-item:hover { background: #faf7fd; }.notification-item.unread { background: #f6f1fd; }.notification-item strong { display: block; font-size: .76rem; }.notification-item p { margin: 3px 0 6px; color: var(--muted); font-size: .68rem; line-height: 1.4; }.notification-item small { color: #9a929f; font-size: .58rem; }.notification-dot { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: #aca4b3; }.notification-success { background: var(--green); }.notification-warning { background: var(--gold); }.notification-info { background: var(--purple); }.notification-empty { padding: 35px 20px; color: var(--muted); text-align: center; }.notification-empty span { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 8px; border-radius: 50%; color: var(--green); background: #e4f5ef; }.notification-empty p { margin: 0; font-size: .72rem; }
.floating-chat { position: fixed; z-index: 110; width: 56px; height: 56px; display: grid; place-items: center; right: 24px; bottom: 24px; border-radius: 18px; color: #fff; background: linear-gradient(145deg,var(--purple),#8a5de7); box-shadow: 0 16px 35px rgba(82,44,160,.35); transition: transform .2s ease; }.floating-chat:hover { transform: translateY(-3px); }.floating-chat svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.floating-chat > span { position: absolute; min-width: 21px; height: 21px; display: grid; place-items: center; right: -6px; top: -6px; padding: 0 5px; border: 2px solid #f4f1ed; border-radius: 20px; color: #fff; background: var(--coral); font-size: .6rem; font-weight: 800; }
.floating-chat.on-chat { bottom: 88px; }
@keyframes notification-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.menu-toggle { display: none; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.main-content { padding: 30px 34px 50px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h2 { margin: 0 0 4px; font: 700 2rem 'Playfair Display',serif; }.page-heading p { margin: 0; color: var(--muted); font-size: .86rem; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 2px 10px rgba(35,25,45,.025); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 23px; border-bottom: 1px solid var(--line); }
.card-header h3 { margin: 0; font-size: .98rem; }.card-header p { margin: 4px 0 0; color: var(--muted); font-size: .74rem; }
.card-body { padding: 23px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 22px; }
.stat-card { position: relative; overflow: hidden; padding: 21px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.stat-card::after { content: ''; position: absolute; width: 70px; height: 70px; right: -25px; top: -25px; border-radius: 50%; background: var(--stat-color, #eee8f9); opacity: .55; }
.stat-card small { display: block; margin-bottom: 13px; color: var(--muted); font-size: .72rem; font-weight: 600; }.stat-card strong { display: block; font: 700 1.55rem 'Playfair Display',serif; }.stat-card .trend { margin-top: 8px; color: var(--muted); font-size: .7rem; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 20px; }
.stack { display: grid; gap: 20px; }
.welcome-card { min-height: 200px; display: grid; grid-template-columns: 1fr auto; overflow: hidden; margin-bottom: 22px; color: #fff; border-radius: var(--radius); background: linear-gradient(125deg, #21172d, #57329a 63%, #9d4f85); }
.welcome-copy { padding: 31px; }.welcome-copy .eyebrow { color: #d4c4f2; }.welcome-copy h2 { margin: 9px 0 8px; font: 700 2rem 'Playfair Display',serif; }.welcome-copy p { max-width: 570px; margin: 0; color: #d8d0df; font-size: .87rem; line-height: 1.65; }
.welcome-art { width: 200px; position: relative; overflow: hidden; }.welcome-art::before { content: 'D'; position: absolute; right: 12px; bottom: -45px; color: rgba(255,255,255,.13); font: 700 12rem 'Playfair Display',serif; }
.profile-summary { display: flex; align-items: center; gap: 16px; }.profile-summary h2 { margin: 0 0 4px; }.profile-summary p { margin: 0; color: var(--muted); }
.avatar { flex: 0 0 auto; display: inline-grid; place-items: center; overflow: hidden; width: 54px; height: 54px; border-radius: 16px; background: #e7def7; }.avatar img { width: 100%; height: 100%; object-fit: cover; }.avatar-fallback { color: var(--purple); font-weight: 800; }.avatar-xs { width: 30px; height: 30px; border-radius: 9px; font-size: .66rem; }.avatar-sm { width: 38px; height: 38px; border-radius: 11px; font-size: .7rem; }.avatar-lg { width: 82px; height: 82px; border-radius: 23px; font-size: 1.25rem; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .67rem; font-weight: 700; }.badge-success { color: #087655; background: #e4f5ef; }.badge-warning { color: #986006; background: #fff1d7; }.badge-danger { color: #b53b47; background: #fde9eb; }.badge-neutral { color: #625b69; background: #eeeae6; }
.table-wrap { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .8rem; }.data-table th { padding: 12px 15px; color: var(--muted); background: #faf8f5; font-size: .65rem; letter-spacing: .05em; text-align: left; text-transform: uppercase; }.data-table td { padding: 15px; border-top: 1px solid #eee9e3; vertical-align: middle; }.data-table tbody tr:hover { background: #fcfaf8; }
.user-cell { display: flex; align-items: center; gap: 10px; }.user-cell strong, .user-cell small { display: block; }.user-cell small { margin-top: 2px; color: var(--muted); font-size: .69rem; }
.actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.icon-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: #fff; }.icon-btn:hover { color: var(--purple); border-color: #ccbce8; }
.empty-state { padding: 46px 25px; color: var(--muted); text-align: center; }.empty-state-mark { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 17px; color: var(--purple); background: #eee8f9; font-size: 1.3rem; }.empty-state h3 { margin: 0 0 6px; color: var(--ink); font-size: 1rem; }.empty-state p { margin: 0; font-size: .78rem; }
.alert { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding: 13px 16px; border-radius: 12px; font-size: .81rem; font-weight: 600; }.alert button { margin-left: auto; border: 0; color: inherit; background: transparent; font-size: 1.25rem; }.alert-success { color: #087655; border: 1px solid #bce5d7; background: #e8f7f2; }.alert-error { color: #a9303d; border: 1px solid #f1c4c9; background: #fcedeF; }.alert-warning { color: #8a5707; border: 1px solid #efd59e; background: #fff4df; }
.toast-alert { position: fixed; z-index: 150; width: min(390px, calc(100vw - 28px)); right: 22px; top: 22px; margin: 0; box-shadow: 0 18px 45px rgba(30,20,40,.18); animation: toast-in .25s ease; }.toast-alert.toast-leaving { opacity: 0; transform: translateX(15px); transition: .25s ease; } @keyframes toast-in { from { opacity: 0; transform: translateY(-12px); } }
.filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; }.filter-bar .search { flex: 1; max-width: 360px; }.search { position: relative; }.search .form-control { padding-left: 38px; }.search::before { content: '⌕'; position: absolute; z-index: 1; left: 13px; top: 9px; color: var(--muted); font-size: 1.2rem; }
.model-card-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 18px; }.model-tile { min-width: 0; display: grid; justify-items: center; gap: 13px; padding: 13px 13px 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 3px 14px rgba(35,25,45,.04); transition: transform .2s ease,box-shadow .2s ease,border-color .2s ease; }.model-tile:hover { transform: translateY(-4px); border-color: #cdbce8; box-shadow: 0 16px 35px rgba(49,31,72,.12); }.model-tile .model-card-avatar { width: 100%; height: auto; aspect-ratio: 4/5; border-radius: 14px; font-size: 2rem; }.model-tile strong { max-width: 100%; overflow: hidden; font: 700 1.08rem 'Playfair Display',serif; text-align: center; text-overflow: ellipsis; white-space: nowrap; }.profile-delete-card { margin-top: 20px; }
.account-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 15px; }.account-card { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: #fcfaf8; }.account-card > header { display: grid; grid-template-columns: 43px 1fr; align-items: center; gap: 11px; margin-bottom: 17px; }.account-card > header > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,var(--purple),var(--coral)); font-size: .72rem; font-weight: 800; }.account-card > header strong,.account-card > header small { display: block; }.account-card > header strong { font-size: .9rem; }.account-card > header small { margin-top: 3px; color: var(--muted); font-size: .61rem; }.credential-field { margin-top: 11px; }.credential-field > label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .62rem; font-weight: 700; }.credential-field > div { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.credential-field input { min-width: 0; flex: 1; padding: 10px 11px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .72rem; }.credential-field button { width: 38px; flex: 0 0 38px; border: 0; border-left: 1px solid var(--line); color: var(--purple); background: #faf7fd; font-weight: 800; }.credential-field button:hover,.credential-field button.copied { color: #fff; background: var(--purple); }.account-card > footer { display: flex; justify-content: flex-end; gap: 7px; margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; margin-bottom: 20px; padding: 5px; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #ebe7e2; }.tabs a { flex: 0 0 auto; padding: 9px 14px; border-radius: 9px; color: var(--muted); font-size: .75rem; font-weight: 700; }.tabs a.active { color: var(--ink); background: #fff; box-shadow: 0 2px 8px rgba(30,20,40,.08); }
.detail-layout { display: grid; grid-template-columns: 280px 1fr; gap: 20px; }.profile-card { height: max-content; text-align: center; }.profile-card .card-body { padding: 30px 22px; }.profile-card .avatar { margin: auto; }.profile-card h2 { margin: 13px 0 3px; font: 700 1.45rem 'Playfair Display',serif; }.profile-card p { margin: 0 0 13px; color: var(--muted); font-size: .75rem; }.profile-meta { display: grid; gap: 10px; margin-top: 22px; padding-top: 19px; border-top: 1px solid var(--line); text-align: left; }.profile-meta div { display: flex; justify-content: space-between; gap: 8px; font-size: .72rem; }.profile-meta span { color: var(--muted); }.profile-meta strong { text-align: right; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.quick-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fcfaf8; }.quick-card span { display: block; color: var(--muted); font-size: .68rem; }.quick-card strong { display: block; margin-top: 5px; font-size: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 16px; background: #231b2c; }.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; }.gallery-overlay { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 30px 12px 12px; color: #fff; background: linear-gradient(transparent,rgba(10,6,14,.9)); }.gallery-overlay strong { max-width: 75%; font-size: .75rem; }.gallery-overlay form button { width: 30px; height: 30px; border: 0; border-radius: 8px; color: #fff; background: rgba(203,74,85,.9); }
.loan-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 19px; border-bottom: 1px solid var(--line); }.loan-card:last-child { border: 0; }.loan-card h4 { margin: 0 0 6px; }.loan-card p { margin: 0; color: var(--muted); font-size: .75rem; }.loan-amount { text-align: right; }.loan-amount strong { display: block; margin-bottom: 6px; }
.progress { height: 7px; overflow: hidden; margin-top: 13px; border-radius: 8px; background: #ebe6e1; }.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--purple),var(--coral)); }
.document-list { display: grid; gap: 10px; }.document-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; }.document-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: var(--purple); background: #eee8f9; font-weight: 800; }.document-item strong, .document-item small { display: block; }.document-item strong { font-size: .8rem; }.document-item small { margin-top: 3px; color: var(--muted); font-size: .67rem; }
.modal { position: fixed; z-index: 200; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(18,12,24,.65); backdrop-filter: blur(4px); }.modal.open { display: grid; }.modal-dialog { width: min(600px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 20px; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.3); }.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 21px 23px; border-bottom: 1px solid var(--line); }.modal-header h3 { margin: 0; }.modal-close { width: 35px; height: 35px; border: 0; border-radius: 9px; color: var(--muted); background: #eeeae6; font-size: 1.2rem; }.modal-body { padding: 23px; }
.private-label { margin-left: 4px; padding: 3px 6px; border-radius: 6px; color: #75440a; background: #f9e7bc; font-size: .55rem; }
.payment-wizard-dialog { width: min(820px, 100%); }
.wizard-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 28px; overflow: hidden; }
.wizard-steps > span { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #ddd5e3; border-radius: 50%; color: var(--muted); background: #fff; font-size: .7rem; font-weight: 800; }
.wizard-steps > span:not(:last-child)::after { content: ''; position: absolute; width: calc((min(820px, 100vw) - 120px) / 5); height: 2px; left: 27px; background: #e4dee8; }
.wizard-steps > span.active, .wizard-steps > span.complete { color: #fff; border-color: var(--purple); background: var(--purple); }
.wizard-steps > span.complete::after { background: var(--purple); }
.wizard-steps i { position: absolute; top: 34px; color: var(--muted); font-size: .58rem; font-style: normal; font-weight: 600; white-space: nowrap; }
.wizard-panel { display: none; min-height: 315px; padding-top: 10px; }.wizard-panel.active { display: block; }
.wizard-title { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; margin: 15px 0 25px; }.wizard-title > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--purple); background: #eee8f9; font: 700 1rem 'Playfair Display',serif; }.wizard-title h4 { margin: 0 0 4px; font-size: 1.12rem; }.wizard-title p { margin: 0; color: var(--muted); font-size: .76rem; }
.wizard-actions { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.private-box { max-width: 430px; margin: 0 auto 24px; padding: 20px; border: 1px solid #ead7ab; border-radius: 16px; background: #fff9eb; }.private-box > span { display: inline-block; margin-bottom: 8px; padding: 4px 8px; border-radius: 8px; color: #89550b; background: #f8e4b5; font-size: .62rem; font-weight: 800; text-transform: uppercase; }.private-box > strong { display: block; margin-bottom: 12px; }
.split-preview { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }.split-preview div { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fcfaf8; }.split-preview small, .split-preview strong { display: block; }.split-preview small { color: var(--muted); font-size: .67rem; }.split-preview strong { margin-top: 5px; font-size: 1.15rem; }.split-preview > span { color: var(--muted); }
.debt-banner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding: 15px 17px; border-radius: 13px; color: #80530c; background: #fff0d0; }.debt-banner span { font-size: .76rem; font-weight: 600; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }.choice-card { display: block; cursor: pointer; }.choice-card input { position: absolute; opacity: 0; pointer-events: none; }.choice-card > span { height: 100%; display: block; padding: 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: .2s; }.choice-card input:checked + span { border-color: var(--purple); background: #f3eefc; box-shadow: 0 0 0 3px rgba(109,67,215,.08); }.choice-card strong, .choice-card small { display: block; }.choice-card strong { margin-bottom: 5px; font-size: .78rem; }.choice-card small { color: var(--muted); font-size: .65rem; line-height: 1.4; }
.all-good-box { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; padding: 24px; border: 1px solid #bce5d7; border-radius: 16px; background: #eaf8f3; }.all-good-box > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 1.3rem; }.all-good-box strong { color: #087655; }.all-good-box p { margin: 5px 0 0; color: #4d786b; font-size: .75rem; line-height: 1.5; }
.settlement-summary { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }.settlement-summary > div { display: flex; justify-content: space-between; align-items: center; padding: 13px 17px; border-bottom: 1px solid var(--line); }.settlement-summary > div:last-child { border: 0; }.settlement-summary span { color: var(--muted); font-size: .76rem; }.settlement-summary .private-row { background: #fff9eb; }.settlement-summary .private-row span { color: #80530c; }.settlement-summary .summary-total { padding-block: 18px; color: #fff; background: linear-gradient(120deg,var(--purple-dark),var(--purple)); }.settlement-summary .summary-total span { color: #e5daf8; }.settlement-summary .summary-total strong { font-size: 1.35rem; }
.payment-detail-dialog { width: min(700px, 100%); }.detail-supports { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f5; }.detail-supports span, .detail-supports strong { display: block; }.detail-supports span { color: var(--muted); font-size: .65rem; }.detail-supports strong { margin-top: 3px; font-size: .8rem; }.detail-edit-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }.detail-edit-form h4 { margin: 0 0 15px; font-size: .88rem; }.danger-zone { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 15px; border: 1px solid #f1c4c9; border-radius: 13px; background: #fdf1f2; }.danger-zone strong { color: #a9303d; font-size: .75rem; }.danger-zone p { margin: 3px 0 0; color: #a96c73; font-size: .64rem; }
.chat-layout { display: grid; grid-template-columns: 230px minmax(380px,1fr) 280px; gap: 16px; align-items: stretch; }.model-chat-layout { grid-template-columns: minmax(420px,1fr) 300px; }.conversation-list,.chat-panel,.schedule-panel { height: 680px; overflow: hidden; }.conversation-list,.schedule-panel { display: flex; flex-direction: column; }.conversation-scroll,.schedule-list { min-height: 0; overflow-y: auto; }.conversation-person { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 9px; padding: 12px 13px; border-bottom: 1px solid #f0ece7; }.conversation-person:hover { background: #faf7fd; }.conversation-person.active { background: #f1eafb; }.conversation-person strong,.conversation-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.conversation-person strong { font-size: .76rem; }.conversation-person small { margin-top: 3px; color: var(--muted); font-size: .62rem; }.conversation-person > span { min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 20px; color: #fff; background: var(--coral); font-size: .58rem; font-weight: 800; }
.chat-panel { display: flex; flex-direction: column; }.chat-header { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 10px; min-height: 70px; padding: 14px 17px; border-bottom: 1px solid var(--line); }.chat-header strong,.chat-header small { display: block; }.chat-header strong { font-size: .82rem; }.chat-header small { margin-top: 2px; color: var(--muted); font-size: .64rem; }.chat-messages { flex: 1; min-height: 0; overflow-y: auto; padding: 20px; background: #f8f5f1; }.chat-message { display: flex; margin-bottom: 11px; }.chat-message.mine { justify-content: flex-end; }.message-bubble { max-width: min(76%,520px); padding: 10px 12px 7px; border: 1px solid var(--line); border-radius: 5px 15px 15px 15px; background: #fff; box-shadow: 0 3px 10px rgba(30,20,40,.04); }.chat-message.mine .message-bubble { color: #fff; border-color: transparent; border-radius: 15px 5px 15px 15px; background: linear-gradient(135deg,var(--purple-dark),var(--purple)); }.message-bubble > p { margin: 0 0 7px; font-size: .76rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }.message-bubble footer { display: flex; justify-content: flex-end; gap: 8px; color: #9a929f; font-size: .55rem; }.chat-message.mine footer { color: #d4c9e8; }.chat-photo { display: block; margin-bottom: 8px; }.chat-photo img { display: block; max-height: 280px; border-radius: 10px; object-fit: cover; }.chat-empty { display: grid; place-items: center; align-content: center; height: 100%; color: var(--muted); text-align: center; }.chat-empty > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: var(--purple); background: #eee8f9; }.chat-empty h3 { margin: 10px 0 4px; color: var(--ink); font-size: .9rem; }.chat-empty p { margin: 0; font-size: .7rem; }
.chat-debt-card { min-width: 230px; margin-bottom: 9px; padding: 12px; border-radius: 11px; color: var(--ink); background: #fff; }.chat-debt-card > div:first-child { display: flex; justify-content: space-between; gap: 10px; }.chat-debt-card span,.chat-debt-card small { color: var(--muted); font-size: .62rem; }.chat-debt-card strong { font-size: .72rem; }.chat-debt-card .progress { margin-block: 10px 6px; }.chat-debt-strip { display: grid; grid-template-columns: auto minmax(80px,180px) auto; align-items: center; gap: 12px; padding: 9px 15px; border-top: 1px solid var(--line); background: #fffaf0; }.chat-debt-strip > div:first-child span,.chat-debt-strip > div:first-child strong { display: block; }.chat-debt-strip span,.chat-debt-strip small { color: var(--muted); font-size: .58rem; }.chat-debt-strip strong { margin-top: 2px; font-size: .68rem; }.chat-debt-strip .progress { margin: 0; }
.chat-composer { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; align-items: end; gap: 7px; padding: 11px; border-top: 1px solid var(--line); background: #fff; }.chat-composer textarea { min-height: 42px; max-height: 100px; padding: 11px 13px; resize: none; border: 1px solid var(--line); border-radius: 12px; outline: none; }.chat-composer textarea:focus { border-color: var(--purple); }.chat-attach,.chat-send { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 11px; cursor: pointer; }.chat-attach { color: var(--purple); background: #eee8f9; font-size: 1.35rem; }.chat-attach input { display: none; }.chat-send { color: #fff; background: var(--purple); font-size: 1rem; }
.schedule-list { padding: 10px; }.schedule-item { position: relative; display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 10px; padding: 12px 8px; border-bottom: 1px solid var(--line); }.schedule-date { width: 42px; height: 48px; display: grid; place-items: center; align-content: center; border-radius: 11px; color: var(--purple); background: #eee8f9; }.schedule-date strong,.schedule-date span { display: block; }.schedule-date strong { font-size: 1rem; line-height: 1; }.schedule-date span { margin-top: 3px; font-size: .53rem; font-weight: 800; }.schedule-item > div:nth-child(2) > strong,.schedule-item > div:nth-child(2) > small { display: block; }.schedule-item > div:nth-child(2) > strong { font-size: .72rem; }.schedule-item > div:nth-child(2) > small { margin: 3px 0 6px; color: var(--muted); font-size: .61rem; }.schedule-item p { margin: 4px 0 7px; color: var(--muted); font-size: .61rem; line-height: 1.4; }.schedule-actions { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 5px; }.schedule-actions select { padding: 5px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: .58rem; }.schedule-actions button { width: 28px; height: 28px; border: 0; border-radius: 7px; color: var(--red); background: #fde9eb; }
.install-box { width: min(620px, calc(100% - 30px)); margin: 50px auto; }.install-head { padding: 30px; color: #fff; border-radius: 22px 22px 0 0; background: linear-gradient(125deg,#201529,var(--purple)); }.install-head h1 { margin: 15px 0 5px; }.install-head p { margin: 0; color: #d8cfdf; }.install-body { padding: 30px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; background: #fff; }

@media (max-width: 1050px) {
    .hero-grid { gap: 30px; }.hero-copy h1 { font-size: 4.5rem; }.feature-grid { grid-template-columns: 1fr 1fr; }.feature-card:last-child { grid-column: 1 / -1; }.stat-grid { grid-template-columns: repeat(2, 1fr); }.detail-layout { grid-template-columns: 230px 1fr; }.chat-layout { grid-template-columns: 220px minmax(0,1fr); }.chat-layout .schedule-panel { grid-column: 1/-1; height: auto; max-height: 420px; }.model-chat-layout { grid-template-columns: minmax(0,1fr) 280px; }.model-chat-layout .schedule-panel { grid-column: auto; }
}
@media (max-width: 800px) {
    .public-links a:not(.btn),.public-links .btn-soon { display: none; }.hero { padding-top: 130px; }.hero-grid, .process-grid { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.hero-copy p { margin-inline: auto; }.hero-actions, .hero-note { justify-content: center; }.hero-visual { min-height: 430px; width: min(450px,100%); margin: auto; }.trust-strip { grid-template-columns: 1fr 1fr; }.trust-item { padding: 15px; border-bottom: 1px solid var(--line); }.feature-grid { grid-template-columns: 1fr; }.feature-card:last-child { grid-column: auto; }.cta-band { align-items: flex-start; flex-direction: column; padding: 36px; }.auth-body { grid-template-columns: 1fr; }.auth-showcase { display: none; }.auth-panel { min-height: 100vh; }.app-shell { display: block; }.sidebar { transform: translateX(-100%); transition: .25s; }.sidebar.open { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,.25); }.app-content { width: 100%; }.menu-toggle { display: block; }.topbar { padding: 0 20px; }.main-content { padding: 24px 20px 45px; }.dashboard-grid { grid-template-columns: 1fr; }.detail-layout { grid-template-columns: 1fr; }.profile-card { text-align: left; }.profile-card .card-body { display: grid; grid-template-columns: auto 1fr; gap: 0 18px; }.profile-card .avatar { grid-row: 1 / 4; }.profile-meta { grid-column: 1 / -1; }.gallery-grid { grid-template-columns: repeat(2, 1fr); }.chat-layout,.model-chat-layout { grid-template-columns: 1fr; }.conversation-list { height: 260px; }.chat-panel { height: 640px; }.schedule-panel { grid-column: auto; }.message-bubble { max-width: 88%; }
}
@media (max-width: 560px) {
    .container { width: min(100% - 28px, 1160px); }.public-nav .btn { min-height: 39px; padding: 0 13px; font-size: .76rem; }.hero-copy h1 { font-size: 3.25rem; }.hero-visual { min-height: 360px; }.visual-main { inset-inline: 20px; }.float-card { padding: 13px; }.trust-strip { grid-template-columns: 1fr; }.trust-item { border-right: 0; }.public-section { padding: 75px 0; }.footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; }.stat-grid, .form-grid, .quick-grid { grid-template-columns: 1fr; }.form-group.full { grid-column: auto; }.welcome-art { display: none; }.welcome-copy { padding: 25px; }.page-heading { align-items: flex-start; flex-direction: column; }.gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }.top-profile span { display: none; }.main-content { padding-inline: 14px; }.topbar { padding-inline: 14px; }.card-header, .card-body { padding: 18px; }.modal { padding: 8px; }.modal-dialog { max-height: calc(100vh - 16px); }.loan-card { grid-template-columns: 1fr; }.loan-amount { text-align: left; }
}
@media (max-width: 620px) {
    .wizard-steps i { display: none; }.wizard-panel { min-height: 390px; }.choice-grid { grid-template-columns: 1fr; }.split-preview { grid-template-columns: 1fr; }.split-preview > span { display: none; }.wizard-actions .btn { padding-inline: 14px; }.payment-wizard-dialog .modal-body { padding: 15px; }.detail-supports, .danger-zone { align-items: flex-start; flex-direction: column; }.notification-dropdown { position: fixed; top: 74px; right: 14px; }.model-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.model-tile { padding: 9px 9px 14px; }.model-tile strong { font-size: .92rem; }.chat-composer { grid-template-columns: minmax(0,1fr) auto auto; }.chat-composer > .btn { grid-column: 1/-1; grid-row: 2; }.chat-debt-strip { grid-template-columns: 1fr 100px; }.chat-debt-strip > small { grid-column: 1/-1; }.chat-messages { padding: 13px; }
}
