Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
@import 'tailwindcss';
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';
:root {
--red: #da3236;
--red-dark: #b9242a;
--ink: #0c0d0e;
--muted: #616161;
--line: #e7e4e4;
--soft: #f5f3f3;
--paper: #fbfafa;
--white: #fff;
--green: #237a57;
--gold: #b87a13;
--blue: #315b9d;
--shadow: 0 14px 40px rgba(12, 13, 14, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Open Sans", sans-serif; font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.14; letter-spacing: -.035em; }
h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.kicker { display: block; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1; }
.brand-mark { border: 2px solid var(--red); border-radius: 4px; color: var(--red); font-size: 18px; font-weight: 800; letter-spacing: -.05em; padding: 7px 6px; }
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font-size: 18px; letter-spacing: -.035em; }
.brand-copy small { color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.button { align-items: center; border: 1px solid transparent; border-radius: 7px; display: inline-flex; font-weight: 700; gap: 7px; justify-content: center; line-height: 1.25; min-height: 43px; padding: 10px 18px; text-align: center; transition: .2s ease; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--red); color: var(--white); box-shadow: 0 7px 18px rgba(218, 50, 54, .2); }
.button-primary:hover { background: var(--red-dark); }
.button-dark { background: var(--ink); color: var(--white); }
.button-light { background: var(--white); color: var(--red); }
.button-outline { background: var(--white); border-color: #ccc7c7; color: var(--ink); }
.button-outline:hover { border-color: var(--red); color: var(--red); }
.button-ghost { background: transparent; color: var(--muted); }
.button-small { min-height: 36px; padding: 7px 12px; font-size: 12px; }
.button-large { min-height: 52px; padding: 13px 24px; }
.button-full { width: 100%; }
.button-group { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.button-stack-gap { margin-top: 12px; }
.link-button, .danger-link, .logout-button { background: none; border: 0; color: var(--red); padding: 0; }
.icon-button { align-items: center; background: transparent; border: 0; border-radius: 6px; display: inline-flex; font-size: 22px; justify-content: center; min-height: 38px; min-width: 38px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 20px rgba(12, 13, 14, .025); padding: 24px; }
.panel-head { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin: -2px 0 20px; padding-bottom: 16px; }
.panel-head h2 { margin: 3px 0 0; }
.panel-head > a { color: var(--red); font-size: 12px; font-weight: 700; }
.alert { border-radius: 8px; margin-bottom: 18px; padding: 12px 16px; }
.alert ul { margin: 5px 0 0 18px; padding: 0; }
.alert-success { background: #e8f7ef; border: 1px solid #b8e3cc; color: #176241; }
.alert-info { background: #eaf2ff; border: 1px solid #c9daf9; color: #284e89; }
.alert-error { background: #fff0f0; border: 1px solid #f0c2c2; color: #9c2025; }
.badge { border-radius: 999px; display: inline-flex; font-size: 10px; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; white-space: nowrap; }
.badge-success { background: #e4f5ec; color: #1f7351; }
.badge-info { background: #e9effa; color: #315b9d; }
.badge-warning { background: #fff4dc; color: #8b5a08; }
.badge-muted { background: #eceaea; color: #686363; }
.badge-neutral { background: #f3e9e9; color: #9b3437; }
.count-chip { background: var(--soft); border-radius: 999px; color: var(--muted); font-size: 11px; font-weight: 700; padding: 5px 10px; }
/* Public portal landing */
.public-header { align-items: center; background: var(--white); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 80px; padding: 12px clamp(20px, 6vw, 90px); }
.public-header nav { align-items: center; display: flex; gap: 28px; font-weight: 700; }
.public-hero { align-items: center; background: linear-gradient(130deg, #fff 0%, #fff 50%, #f5eeee 100%); display: grid; gap: clamp(40px, 8vw, 120px); grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); min-height: 670px; overflow: hidden; padding: 70px clamp(20px, 8vw, 125px); }
.public-hero-copy { max-width: 690px; }
.public-hero h1 { font-size: clamp(42px, 6vw, 78px); margin: 17px 0 25px; }
.public-hero h1 em { color: var(--red); font-style: normal; }
.public-hero-copy > p { color: var(--muted); font-size: 17px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.trust-row { color: #3e3e3e; display: flex; flex-wrap: wrap; font-size: 12px; font-weight: 700; gap: 22px; }
.trust-row span::first-letter { color: var(--red); }
.public-hero-art { min-height: 500px; position: relative; }
.hero-photo { background: linear-gradient(180deg, transparent 55%, rgba(12,13,14,.18)), url('/images/urp-case-ready-support.jpg') center/cover; border-radius: 220px 220px 24px 24px; height: 520px; margin: auto; max-width: 430px; position: relative; }
.hero-photo::before { border: 2px solid var(--red); border-radius: inherit; content: ""; inset: -14px 14px 14px -14px; position: absolute; z-index: -1; }
.floating-card { align-items: center; background: var(--white); border-radius: 10px; bottom: 42px; box-shadow: var(--shadow); display: flex; gap: 12px; left: 0; padding: 15px 19px; position: absolute; }
.floating-card div { display: grid; }
.floating-card small { color: var(--muted); }
.floating-icon { align-items: center; background: var(--red); border-radius: 50%; color: white; display: flex; height: 38px; justify-content: center; width: 38px; }
.public-steps { background: var(--ink); color: var(--white); display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(20px, 8vw, 125px); }
.public-steps article { padding: 42px 40px; position: relative; }
.public-steps article + article { border-left: 1px solid #303133; }
.public-steps span { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.public-steps h2 { margin: 12px 0 7px; }
.public-steps p { color: #aaa; margin: 0; }
/* Authentication */
.auth-body { display: grid; grid-template-columns: minmax(390px, .9fr) minmax(520px, 1.1fr); min-height: 100vh; }
.auth-visual { background-color: var(--ink); background-position: center; background-size: cover; color: var(--white); min-height: 100vh; overflow: hidden; padding: 48px clamp(30px, 5vw, 80px); position: relative; }
.auth-overlay { background: linear-gradient(145deg, rgba(12,13,14,.97), rgba(12,13,14,.8) 58%, rgba(126,17,22,.86)); inset: 0; position: absolute; }
.auth-visual-content { display: flex; flex-direction: column; height: 100%; justify-content: space-between; min-height: calc(100vh - 96px); position: relative; z-index: 1; }
.auth-visual .brand { color: white; }
.auth-visual .brand-copy small { color: #bbb; }
.auth-visual h1 { font-size: clamp(44px, 6vw, 72px); margin: 18px 0 20px; }
.auth-visual h1 em { color: #ff6c6f; font-style: normal; }
.auth-visual-content > div > p { color: #d1d1d1; font-size: 16px; max-width: 520px; }
.auth-disclaimer { border-top: 1px solid rgba(255,255,255,.2); color: #aaa; font-size: 10px; margin: 20px 0 0; padding-top: 20px; }
.auth-main { align-items: center; background: var(--paper); display: flex; justify-content: center; min-width: 0; padding: 45px 25px; }
.auth-card { max-width: 540px; min-width: 0; width: 100%; }
.auth-card h2 { font-size: 32px; margin: 8px 0 5px; }
.form-intro { color: var(--muted); margin-bottom: 25px; }
.auth-mobile-logo { display: none; margin-bottom: 35px; }
.auth-switch { color: var(--muted); margin: 23px 0 0; text-align: center; }
.auth-switch a { color: var(--red); font-weight: 700; }
/* Forms */
.stack-form { display: grid; gap: 16px; min-width: 0; }
label { color: #363434; display: grid; font-size: 12px; font-weight: 700; gap: 7px; min-width: 0; }
label small { color: #999; font-weight: 500; }
input, select, textarea { background: var(--white); border: 1px solid #d9d5d5; border-radius: 7px; color: var(--ink); outline: none; padding: 11px 12px; transition: .2s; width: 100%; }
input, select { min-height: 44px; }
textarea { line-height: 1.55; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(218,50,54,.09); }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-label-row { align-items: center; display: flex; justify-content: space-between; min-width: 0; }
.field-label-row a { color: var(--red); font-weight: 600; }
.check-label { align-items: flex-start; display: flex; font-weight: 500; gap: 9px; line-height: 1.5; }
.check-label input { accent-color: var(--red); margin-top: 2px; min-height: auto; width: auto; }
.check-row { display: flex; gap: 25px; }
.intake-form { display: grid; gap: 22px; margin: auto; max-width: 1000px; padding: 34px; }
.form-section { align-items: flex-start; border-top: 1px solid var(--line); display: flex; gap: 13px; margin-top: 5px; padding-top: 24px; }
.form-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section > span { align-items: center; background: var(--red); border-radius: 50%; color: white; display: flex; font-size: 10px; font-weight: 800; height: 30px; justify-content: center; width: 30px; }
.form-section h2 { margin: 0 0 3px; }
.form-section p { color: var(--muted); margin: 0; }
.form-actions { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 10px; margin-top: 5px; padding-top: 22px; }
.filter-bar { align-items: center; display: flex; gap: 10px; margin-bottom: 20px; }
.filter-bar input { max-width: 370px; }
.filter-bar select { max-width: 220px; }
/* App shell */
.portal-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: var(--ink); color: var(--white); display: flex; flex-direction: column; height: 100vh; left: 0; overflow-y: auto; padding: 25px 16px 16px; position: sticky; top: 0; z-index: 50; }
.sidebar .brand { color: white; margin-left: 8px; }
.sidebar .brand-copy small { color: #8b8b8b; }
.sidebar-head { align-items: center; display: flex; justify-content: space-between; }
.sidebar-close { color: white; display: none; }
.workspace-label { color: #6f7071; font-size: 9px; font-weight: 800; letter-spacing: .14em; margin: 34px 12px 10px; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 5px; }
.sidebar-nav a { align-items: center; border-radius: 7px; color: #bbb; display: flex; font-size: 13px; font-weight: 600; gap: 12px; padding: 10px 12px; }
.sidebar-nav a span { font-size: 17px; text-align: center; width: 18px; }
.sidebar-nav a:hover, .sidebar-nav a.active { background: #222326; color: var(--white); }
.sidebar-nav a.active { border-left: 3px solid var(--red); padding-left: 9px; }
.sidebar-help { background: linear-gradient(145deg, #26272a, #1b1c1f); border: 1px solid #303135; border-radius: 9px; margin: auto 0 18px; padding: 16px; }
.sidebar-help strong { font-size: 12px; }
.sidebar-help p { color: #929292; font-size: 10px; line-height: 1.5; margin: 5px 0 9px; }
.sidebar-help a { color: #ff6b6e; font-size: 10px; font-weight: 700; }
.sidebar-user { align-items: center; border-top: 1px solid #26272a; display: grid; gap: 9px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 16px 5px 0; }
.sidebar-user div { display: grid; min-width: 0; }
.sidebar-user strong { font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user small { color: #777; font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-button { color: #888; font-size: 18px; }
.avatar { align-items: center; background: #f2d6d7; border: 1px solid #e7bfc0; border-radius: 50%; color: var(--red); display: inline-flex; flex: 0 0 auto; font-size: 12px; font-weight: 800; height: 35px; justify-content: center; width: 35px; }
.avatar-large { font-size: 26px; height: 76px; width: 76px; }
.portal-main { min-width: 0; }
.topbar { align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; height: 72px; justify-content: space-between; padding: 0 30px; position: sticky; top: 0; z-index: 30; }
.topbar-title { display: grid; }
.topbar-title span { color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-title strong { font-size: 16px; }
.topbar-actions { align-items: center; display: flex; gap: 14px; }
.menu-button { display: none; }
.page-content { margin: auto; max-width: 1560px; padding: 28px 30px 50px; }
.page-heading { align-items: flex-end; display: flex; gap: 25px; justify-content: space-between; margin-bottom: 25px; }
.page-heading h1 { font-size: 34px; margin: 5px 0 5px; }
.page-heading p { color: var(--muted); margin: 0; max-width: 740px; }
.page-heading.compact { justify-content: center; text-align: center; }
.sidebar-overlay { display: none; }
/* Dashboard and cards */
.welcome-banner { align-items: center; background: linear-gradient(120deg, #a61f24, var(--red)); border-radius: 13px; color: white; display: flex; justify-content: space-between; margin-bottom: 20px; overflow: hidden; padding: 28px 32px; position: relative; }
.welcome-banner::after { border: 55px solid rgba(255,255,255,.06); border-radius: 50%; content: ""; height: 230px; position: absolute; right: 140px; top: -90px; width: 230px; }
.welcome-banner .kicker { color: #ffc6c7; }
.welcome-banner h1 { font-size: 28px; margin: 4px 0 5px; }
.welcome-banner p { color: #ffd9da; margin: 0; }
.welcome-banner .button { position: relative; z-index: 1; }
.stats-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.stat-card { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 10px; display: flex; gap: 14px; min-height: 115px; padding: 18px; }
.stat-icon { align-items: center; border-radius: 8px; display: flex; flex: 0 0 auto; font-size: 18px; font-weight: 800; height: 46px; justify-content: center; width: 46px; }
.stat-icon.red { background: #f9e1e2; color: var(--red); }.stat-icon.dark { background: #e8e8e8; color: var(--ink); }.stat-icon.gold { background: #fff0d7; color: var(--gold); }.stat-icon.green { background: #dff3e9; color: var(--green); }
.stat-card > div { display: grid; }
.stat-card small { color: var(--muted); font-size: 10px; font-weight: 600; }
.stat-card strong { font-size: 26px; line-height: 1.25; }
.stat-card strong.stat-plan { font-size: 17px; margin: 4px 0; }
.stat-card em { color: #999; font-size: 9px; font-style: normal; }
.content-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.content-grid-wide { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); }
.case-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 12px; min-height: 68px; padding: 10px 4px; }
.case-row:last-child { border-bottom: 0; }
.case-row:hover .case-row-main strong { color: var(--red); }
.case-category { align-items: center; background: #f7e7e7; border-radius: 7px; color: var(--red); display: inline-flex; flex: 0 0 auto; font-size: 10px; font-weight: 800; height: 39px; justify-content: center; width: 39px; }
.case-row-main { display: grid; flex: 1; min-width: 0; }
.case-row-main strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-row-main small, .client-row small { color: #929292; font-size: 9px; }
.case-row-meta { align-items: flex-end; display: grid; gap: 4px; justify-items: end; }
.case-row-meta > span:first-child { color: #888; font-size: 9px; }
.row-arrow { color: #aaa; font-size: 20px; }
.next-steps ol { list-style: none; margin: 0; padding: 0; }
.next-steps li { align-items: flex-start; display: flex; gap: 11px; padding: 8px 0 15px; position: relative; }
.next-steps li > span { align-items: center; background: var(--soft); border: 1px solid #ddd; border-radius: 50%; display: flex; flex: 0 0 auto; font-size: 10px; font-weight: 800; height: 29px; justify-content: center; width: 29px; }
.next-steps li.done > span { background: #dff3e9; border-color: #b8e1cd; color: var(--green); }
.next-steps li.current > span { background: var(--red); border-color: var(--red); color: white; }
.next-steps li div { display: grid; }
.next-steps li strong { font-size: 11px; }
.next-steps li small { color: #999; font-size: 9px; }
.safety-note { background: #f7f5f5; border-left: 3px solid var(--red); border-radius: 0 7px 7px 0; margin-top: 8px; padding: 12px; }
.safety-note strong { font-size: 10px; }
.safety-note p { color: #777; font-size: 9px; margin: 3px 0 0; }
.empty-state { align-items: center; display: flex; flex-direction: column; padding: 45px 20px; text-align: center; }
.empty-state > span { color: #ccc; font-size: 36px; }
.empty-state h2, .empty-state h3 { margin: 8px 0 3px; }
.empty-state p { color: var(--muted); max-width: 470px; }
.empty-inline { color: #999; padding: 26px 5px; text-align: center; }
.full-span { grid-column: 1 / -1; }
.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 25px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: 11px; display: flex; flex-direction: column; min-height: 290px; padding: 22px; transition: .2s; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-card-top { align-items: center; display: flex; justify-content: space-between; }
.case-card h2 { margin: 18px 0 8px; }
.case-card h2 a:hover { color: var(--red); }
.case-card > p { color: var(--muted); flex: 1; }
.case-card-stats { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; gap: 20px; padding: 12px 0; }
.case-card-stats span { color: #888; font-size: 10px; }
.case-card-stats strong { color: var(--ink); font-size: 12px; }
.case-card-foot { align-items: center; display: flex; justify-content: space-between; padding-top: 14px; }
.case-card-foot small { color: #999; font-size: 9px; }
.case-card-foot a { color: var(--red); font-size: 10px; font-weight: 700; }
/* Case workspace */
.case-header { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 22px; }
.case-header h1 { font-size: 34px; margin: 6px 0 3px; }
.case-header p { color: var(--muted); margin: 0; }
.case-header-meta { align-items: center; display: flex; gap: 10px; }
.case-workspace { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1.8fr) minmax(290px, .65fr); }
.workspace-main { display: grid; gap: 20px; }
.workspace-side { position: sticky; top: 92px; }
.detail-block { background: #faf9f9; border-radius: 7px; margin-bottom: 12px; padding: 14px; }
.detail-block small { color: var(--red); display: block; font-size: 9px; font-weight: 800; letter-spacing: .08em; margin-bottom: 5px; text-transform: uppercase; }
.detail-block p { color: #444; margin: 0; white-space: normal; }
.detail-columns { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.upload-box { align-items: center; background: #fcfafa; border: 1px dashed #d7cece; border-radius: 9px; display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr) 180px auto; margin-bottom: 15px; padding: 15px; }
.upload-icon { align-items: center; background: #f8e1e2; border-radius: 50%; color: var(--red); display: flex; font-size: 18px; height: 42px; justify-content: center; width: 42px; }
.upload-box div { display: grid; }
.upload-box p { color: #929292; font-size: 9px; margin: 1px 0 0; }
.document-list { display: grid; }
.document-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 10px; grid-template-columns: auto minmax(0, 1fr) auto auto; padding: 11px 3px; }
.document-row:last-child { border-bottom: 0; }
.file-icon { align-items: center; background: #eee; border-radius: 5px; color: #555; display: inline-flex; font-size: 8px; font-weight: 800; height: 34px; justify-content: center; width: 34px; }
.document-row div { display: grid; min-width: 0; }
.document-row strong { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-row small { color: #999; font-size: 8px; }
.document-row a, .danger-link { font-size: 9px; font-weight: 700; }
.document-row a { color: var(--red); }
.ai-panel { background: linear-gradient(155deg, #17181a, #0c0d0e); color: white; overflow: hidden; position: relative; }
.ai-panel::after { background: var(--red); border-radius: 50%; content: ""; filter: blur(55px); height: 100px; opacity: .2; position: absolute; right: -30px; top: -30px; width: 100px; }
.ai-orb { align-items: center; background: linear-gradient(145deg, #ff666a, var(--red)); border-radius: 11px; display: flex; font-size: 19px; height: 45px; justify-content: center; margin-bottom: 16px; width: 45px; }
.ai-panel h2 { font-size: 24px; margin: 5px 0 8px; }
.ai-panel > p { color: #aaa; font-size: 11px; }
.ai-panel label { color: #ccc; }
.ai-panel textarea { background: #242527; border-color: #393a3c; color: white; }
.ai-disclaimer { border-top: 1px solid #2e2f31; color: #777; font-size: 8px; line-height: 1.5; margin-top: 17px; padding-top: 14px; }
.suggestion-history { margin-top: 20px; }
.suggestion-item { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.suggestion-item summary { align-items: center; cursor: pointer; display: flex; justify-content: space-between; list-style: none; padding: 14px 16px; }
.suggestion-item summary div { display: grid; }
.suggestion-item summary small { color: #999; font-size: 9px; }
.suggestion-content { background: #faf9f9; border-top: 1px solid var(--line); color: #3c3c3c; padding: 20px; white-space: normal; }
.document-row-wide { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
.document-explain { background: #fff; border: 1px solid #eee; border-radius: 7px; margin-top: 9px; padding: 9px 10px; }
.document-explain summary { color: var(--red); cursor: pointer; font-size: 10px; font-weight: 800; }
.document-explain p { color: #555; font-size: 11px; margin: 8px 0 0; white-space: normal; }
.disclaimer-panel { margin: 0 auto; max-width: 850px; }
.disclaimer-panel p { color: var(--muted); }
.assistant-layout { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); }
.assistant-side { display: grid; gap: 20px; position: sticky; top: 92px; }
.chat-panel { display: grid; gap: 18px; }
.method-strip { background: #f8f5f5; border: 1px solid var(--line); border-radius: 999px; display: grid; gap: 5px; grid-template-columns: repeat(4, 1fr); padding: 5px; }
.method-strip span { border-radius: 999px; color: #777; font-size: 10px; font-weight: 800; padding: 8px 10px; text-align: center; text-transform: uppercase; }
.method-strip span.active { background: var(--red); color: white; }
.chat-thread { display: grid; gap: 14px; max-height: 680px; overflow-y: auto; padding-right: 6px; }
.chat-message { display: grid; gap: 6px; max-width: 86%; }
.chat-message > span { color: #888; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.chat-message > div { border: 1px solid var(--line); border-radius: 13px; padding: 15px 17px; white-space: normal; }
.chat-message.assistant { justify-self: start; }
.chat-message.assistant > div { background: #faf9f9; border-top-left-radius: 3px; }
.chat-message.user { justify-self: end; }
.chat-message.user > span { text-align: right; }
.chat-message.user > div { background: var(--ink); border-color: var(--ink); border-top-right-radius: 3px; color: white; }
.chat-composer { border-top: 1px solid var(--line); display: grid; gap: 12px; padding-top: 16px; }
/* Billing, admin, finance */
.pricing-grid { align-items: stretch; display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 25px 0; }
.pricing-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; padding: 26px; position: relative; }
.pricing-card.featured { border-color: var(--red); box-shadow: 0 12px 35px rgba(218,50,54,.12); }
.pricing-card.inactive { opacity: .6; }
.popular-label { background: var(--red); border-radius: 999px; color: white; font-size: 9px; font-weight: 800; padding: 5px 10px; position: absolute; right: 17px; top: 17px; text-transform: uppercase; }
.pricing-card h2 { font-size: 24px; margin: 8px 0 5px; }
.pricing-card > p { color: var(--muted); min-height: 48px; }
.price { font-size: 37px; font-weight: 800; letter-spacing: -.04em; margin: 10px 0 15px; }
.price small { color: #888; font-size: 11px; font-weight: 500; letter-spacing: 0; }
.pricing-card ul { flex: 1; list-style: none; margin: 0 0 20px; padding: 0; }
.pricing-card li { border-bottom: 1px solid #f0eeee; color: #565656; font-size: 11px; padding: 8px 0; }
.pricing-card li::first-letter { color: var(--red); }
.simple-row, .client-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; min-height: 58px; padding: 8px 3px; }
.simple-row > div:first-child, .client-row > div { display: grid; }
.simple-row small { color: #999; font-size: 9px; }
.money-cell { align-items: center; display: flex; font-weight: 700; gap: 8px; }
.client-row { gap: 10px; }
.client-row > div { flex: 1; }
.client-row > span:last-child { color: #888; font-size: 10px; }
.quick-actions { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.quick-actions a { align-items: center; background: white; border: 1px solid var(--line); border-radius: 9px; display: grid; gap: 12px; grid-template-columns: auto 1fr auto; padding: 16px; }
.quick-actions a > span { align-items: center; background: #f7e6e7; border-radius: 7px; color: var(--red); display: flex; font-size: 18px; height: 40px; justify-content: center; width: 40px; }
.quick-actions a div { display: grid; }
.quick-actions small { color: #999; font-size: 9px; }
.table-intro { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; }
.table-intro > div { display: grid; }
.table-intro strong { font-size: 13px; }
.table-intro small { color: #929292; font-size: 9px; }
.table-intro > span { background: var(--soft); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 700; padding: 5px 10px; }
.responsive-table { max-width: 100%; overflow: hidden; }
table { border-collapse: collapse; width: 100%; }
th { color: #888; font-size: 9px; letter-spacing: .06em; padding: 10px; text-align: left; text-transform: uppercase; }
td { border-top: 1px solid var(--line); font-size: 11px; padding: 12px 10px; }
td > a { color: var(--red); font-weight: 700; white-space: nowrap; }
.table-user { align-items: center; display: flex; gap: 9px; }
.table-user > div { display: grid; }
.table-user small { color: #999; font-size: 8px; }
.profile-header { align-items: center; display: flex; gap: 17px; margin-bottom: 20px; }
.profile-header h1 { font-size: 30px; margin: 4px 0 1px; }
.profile-header p { color: var(--muted); margin: 0; }
.profile-metrics { display: flex; gap: 25px; margin-left: auto; }
.profile-metrics > div { display: grid; text-align: center; }
.profile-metrics strong { font-size: 18px; }
.profile-metrics small { color: #999; font-size: 8px; text-transform: uppercase; }
.status-form { align-items: center; display: flex; flex: 0 0 auto; gap: 10px; }
.status-form select { min-width: 260px; width: min(320px, 100%); }
.status-form .button { min-width: 150px; }
.admin-document { border-bottom: 1px solid var(--line); display: grid; gap: 11px; padding: 0 0 18px; margin-bottom: 18px; }
.admin-document-title { align-items: center; display: flex; justify-content: space-between; }
.admin-document-title a { color: var(--red); font-size: 10px; font-weight: 700; }
.plan-state { display: flex; gap: 6px; justify-content: flex-end; margin-bottom: 4px; }
.chart-panel { min-height: 300px; margin-bottom: 20px; }
.bar-chart { align-items: end; display: flex; gap: 18px; height: 220px; justify-content: center; overflow-x: auto; padding-top: 20px; }
.bar-column { align-items: center; display: flex; flex: 1; flex-direction: column; justify-content: flex-end; max-width: 65px; min-width: 32px; }
.bar-column > div { background: linear-gradient(180deg, #ef5a5e, var(--red)); border-radius: 5px 5px 0 0; max-height: 180px; width: 100%; }
.bar-column span { color: #777; font-size: 8px; margin-bottom: 3px; }
.bar-column small { color: #888; font-size: 9px; margin-top: 5px; }
/* DataTables */
.dt-container { color: var(--ink); font-family: "Open Sans", sans-serif; width: 100%; }
.dt-container .dt-layout-row { align-items: center; gap: 12px; margin: 12px 0 !important; }
.dt-container .dt-layout-row:first-child { margin-top: 0 !important; }
.dt-container .dt-layout-row:last-child { border-top: 1px solid var(--line); margin-bottom: 0 !important; padding-top: 14px; }
.dt-container .dt-search label, .dt-container .dt-length label { color: #777; font-size: 10px; font-weight: 600; }
.dt-container .dt-search input { background: #faf9f9 !important; border: 1px solid #d9d5d5 !important; border-radius: 7px !important; margin-left: 0 !important; min-height: 39px; min-width: 240px; padding: 8px 12px !important; }
.dt-container .dt-length select { background-color: #faf9f9 !important; border: 1px solid #d9d5d5 !important; border-radius: 6px !important; margin: 0 5px; min-height: 37px; padding: 6px 28px 6px 9px !important; }
.dt-container .dt-info { color: #888; font-size: 10px; padding: 0 !important; }
.dt-container .dt-paging { display: flex; justify-content: flex-end; }
.dt-container .dt-paging .dt-paging-button { border: 1px solid transparent !important; border-radius: 6px !important; color: #555 !important; font-size: 11px; min-height: 34px; min-width: 34px; padding: 5px 9px !important; }
.dt-container .dt-paging .dt-paging-button:hover { background: #f5eeee !important; border-color: #ead5d5 !important; color: var(--red) !important; }
.dt-container .dt-paging .dt-paging-button.current { background: var(--red) !important; border-color: var(--red) !important; color: white !important; }
.dt-container table.dataTable { border-spacing: 0; margin: 0 !important; width: 100% !important; }
.dt-container table.dataTable thead > tr > th { border-bottom: 1px solid var(--line); }
.dt-container table.dataTable tbody > tr { background: transparent; }
.dt-container table.dataTable tbody > tr:hover { background: #fcf8f8; }
.dt-container table.dataTable > tbody > tr.child ul.dtr-details { display: grid; gap: 8px; width: 100%; }
.dt-container table.dataTable > tbody > tr.child span.dtr-title { color: #888; font-size: 9px; min-width: 105px; text-transform: uppercase; }
.dt-container table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
.dt-container table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before { background-color: var(--red); border: 0; box-shadow: none; }
@media (max-width: 1150px) {
.stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.upload-box { grid-template-columns: auto 1fr auto; }
.upload-box select { grid-column: 2 / 3; }
.quick-actions { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
.public-hero { grid-template-columns: 1fr; padding-top: 55px; }
.public-hero-art { min-height: 430px; }
.hero-photo { height: 430px; }
.public-steps { grid-template-columns: 1fr; }
.public-steps article + article { border-left: 0; border-top: 1px solid #303133; }
.auth-body { grid-template-columns: 1fr; }
.auth-visual { display: none; }
.auth-main { min-height: 100vh; }
.auth-mobile-logo { display: block; }
.portal-shell { display: block; }
.sidebar { box-shadow: 15px 0 40px rgba(0,0,0,.25); max-width: 290px; position: fixed; transform: translateX(-105%); transition: transform .25s ease; width: 82vw; }
.portal-shell.sidebar-open .sidebar { transform: translateX(0); }
.sidebar-close, .menu-button { display: inline-flex; }
.sidebar-overlay { background: rgba(12,13,14,.55); inset: 0; position: fixed; z-index: 40; }
.portal-shell.sidebar-open .sidebar-overlay { display: block; }
.topbar { padding: 0 20px; }
.topbar-title { margin-right: auto; }
.page-content { padding: 24px 20px 45px; }
.case-workspace { grid-template-columns: 1fr; }
.workspace-side { position: static; }
.assistant-layout { grid-template-columns: 1fr; }
.assistant-side { position: static; }
}
@media (max-width: 680px) {
h1 { font-size: 31px; }
.public-header { min-height: 68px; }
.public-header nav > a:first-child { display: none; }
.public-header nav { gap: 12px; }
.public-header nav > a:not(.button) { display: none; }
.public-hero { min-height: auto; padding: 55px 20px; }
.public-hero h1 { font-size: 45px; }
.public-hero-art { min-height: 360px; }
.hero-photo { height: 350px; max-width: 300px; }
.floating-card { bottom: 15px; }
.auth-main { align-items: flex-start; padding: 28px 20px; }
.auth-card h2 { font-size: 27px; }
.form-grid, .form-grid-three { grid-template-columns: 1fr; }
.topbar-actions .button { display: none; }
.page-content { padding: 20px 14px 40px; }
.page-heading, .case-header, .welcome-banner { align-items: stretch; flex-direction: column; }
.page-heading h1, .case-header h1 { font-size: 29px; }
.stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
.stat-card { align-items: flex-start; min-height: 120px; padding: 13px; }
.stat-icon { height: 35px; width: 35px; }
.stat-card strong { font-size: 20px; }
.content-grid, .content-grid-wide, .card-grid, .pricing-grid { grid-template-columns: 1fr; }
.panel { padding: 18px; }
.case-row-meta { display: none; }
.case-row .badge { margin-left: auto; }
.welcome-banner { padding: 23px; }
.welcome-banner::after { display: none; }
.detail-columns { grid-template-columns: 1fr; }
.upload-box { grid-template-columns: auto 1fr; }
.upload-box select, .upload-box .button { grid-column: 1 / -1; }
.document-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.document-row-wide { grid-template-columns: auto minmax(0, 1fr); }
.document-row-wide > form, .document-row-wide > a { grid-column: 2; justify-self: start; }
.document-row form { display: none; }
.document-row-wide form { display: block; }
.method-strip { border-radius: 12px; grid-template-columns: 1fr 1fr; }
.chat-message { max-width: 100%; }
.profile-header { align-items: flex-start; flex-wrap: wrap; }
.profile-metrics { justify-content: space-between; margin: 5px 0 0; width: 100%; }
.status-form { align-items: stretch; flex-direction: column; width: 100%; }
.filter-bar { align-items: stretch; flex-direction: column; }
.filter-bar input, .filter-bar select { max-width: none; }
.dt-container .dt-layout-row { align-items: stretch; display: flex !important; flex-direction: column; }
.dt-container .dt-layout-cell { width: 100%; }
.dt-container .dt-search input { margin-top: 5px; min-width: 0; width: 100%; }
.dt-container .dt-length { text-align: left; }
.dt-container .dt-info { text-align: center; }
.dt-container .dt-paging { justify-content: center; }
.dt-container .dt-layout-row:last-child { gap: 10px; }
.dt-container table.dataTable th, .dt-container table.dataTable td { padding: 11px 8px; }
.table-intro { align-items: flex-start; gap: 10px; }
.check-row { align-items: flex-start; flex-direction: column; gap: 10px; }
.intake-form { padding: 20px; }
.button-full { white-space: normal; }
}
@media (max-width: 420px) {
.stats-grid { grid-template-columns: 1fr; }
.stat-card { align-items: center; min-height: 90px; }
.public-hero h1 { font-size: 38px; }
}