:root{--bg:#f6f7fb;--panel:#fff;--panel-2:#fafbfe;--text:#222638;--muted:#8b90a2;--line:#eceef4;--brand:#6659d9;--brand-dark:#5347c2;--brand-soft:#f0efff;--green:#1b9a72;--green-soft:#e8f7f1;--orange:#d68928;--orange-soft:#fff3df;--red:#d55464;--red-soft:#fff0f2;--blue:#4c78d0;--blue-soft:#edf3ff;--shadow:0 8px 24px rgba(32,39,77,.055);--radius:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:DM Sans,sans-serif;font-size:16px}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;min-height:100dvh;display:flex}.sidebar{width:250px;flex:0 0 250px;background:#fff;border-right:1px solid var(--line);padding:22px 15px 14px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:20;transition:transform .25s}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--text);padding:0 9px 31px}.brand-mark{width:35px;height:35px;border-radius:11px;background:var(--brand);display:grid;place-items:center;color:#fff;font-family:Manrope;font-weight:800;box-shadow:0 6px 14px #6659d945}.brand-name{font:800 18px Manrope;letter-spacing:-.6px}.brand-name span{display:block;font:500 10px DM Sans;color:var(--muted);letter-spacing:1.2px;text-transform:uppercase;margin-top:1px}.side-caption{font-size:12px;font-weight:700;letter-spacing:1.2px;color:#a5a9b8;padding:0 12px 11px}.nav-list{display:grid;gap:4px}.nav-link,.nav-parent{height:42px;width:100%;border:0;background:none;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:10px;text-align:left;text-decoration:none;color:#6f7486;font-size:15px;font-weight:600;transition:.15s}.nav-link:hover,.nav-parent:hover{background:#f7f7fc;color:var(--brand)}.nav-link.active,.nav-parent.active{background:var(--brand-soft);color:var(--brand)}.nav-icon{font-size:19px;width:19px;text-align:center;font-weight:400}.nav-chevron{margin-left:auto;font-size:17px;transition:transform .2s}.nav-group.open .nav-chevron{transform:rotate(90deg)}.nav-sub{display:none;margin:2px 0 6px 31px;padding-left:13px;border-left:1px solid #e7e6f4;gap:3px}.nav-group.open .nav-sub{display:grid}.nav-sub .nav-link{height:35px;font-size:14px}.sidebar-bottom{margin-top:auto}.help-card{border-radius:12px;background:linear-gradient(120deg,#f5f3ff,#fbfaff);padding:13px 11px;display:flex;gap:10px;align-items:center;margin:0 2px 17px}.help-icon{width:29px;height:29px;border-radius:9px;background:#fff;color:var(--brand);display:grid;place-items:center}.help-card strong,.user-copy strong{display:block;font-size:13px}.help-card small,.user-copy small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.help-card .arrow{margin-left:auto;color:var(--muted)}.user-mini{border-top:1px solid var(--line);padding:15px 4px 0;display:flex;align-items:center;gap:10px}.avatar{width:33px;height:33px;border-radius:50%;background:#eeeaff;color:var(--brand);display:grid;place-items:center;font-weight:700;font-size:13px}.avatar-photo{background:#f5d6c9;color:#784c3d}.user-copy{flex:1}.icon-button{border:0;background:transparent;color:#74798c;border-radius:9px;width:35px;height:35px;font-size:20px;display:grid;place-items:center}.icon-button:hover{background:var(--panel-2);color:var(--brand)}.main-area{margin-left:250px;width:calc(100% - 250px);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;min-width:0}.topbar{height:68px;position:sticky;top:0;z-index:10;background:#ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:18px}.menu-toggle{display:none}.breadcrumbs{font-size:14px;color:var(--muted)}.breadcrumbs b{color:var(--text);font-weight:600}.global-search{height:35px;width:205px;border:1px solid var(--line);background:#fbfbfd;border-radius:9px;display:flex;gap:7px;align-items:center;padding:0 9px;color:#9b9fb0}.global-search>span{font-size:22px}.global-search input{border:0;outline:0;background:none;min-width:0;width:100%;font-size:13px;color:var(--text)}kbd{font:12px DM Sans;border:1px solid #e8e9ef;border-radius:4px;padding:2px 4px;white-space:nowrap}.notification{position:relative}.notification i{position:absolute;width:5px;height:5px;border-radius:50%;background:#e36a7d;top:7px;right:7px;border:1px solid white}.top-divider{height:27px;border-left:1px solid var(--line);margin:0 1px}.profile-button{display:flex;align-items:center;gap:8px;border:0;background:none;font-size:14px;font-weight:600;color:var(--text)}.profile-button .avatar{width:30px;height:30px}.chevron{color:var(--muted)}.page-wrap{width:min(1440px,100%);padding:28px 34px;margin:0 auto;flex:1}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{color:var(--brand);text-transform:uppercase;letter-spacing:1.25px;font-size:11px;font-weight:700;margin-bottom:7px}.page-title{font:800 26px Manrope;letter-spacing:-.8px;margin:0}.header-actions{display:flex;gap:9px;align-items:center}.btn{border:1px solid var(--line);background:#fff;color:#5d6274;padding:9px 13px;border-radius:9px;font-size:13px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.15s}.btn:hover{border-color:#d8d5fa;color:var(--brand);transform:translateY(-1px)}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 4px 10px #6659d92b}.btn-primary:hover{background:var(--brand-dark);color:#fff;border-color:var(--brand-dark)}.btn-quiet{background:transparent}.btn-danger{color:var(--red);border-color:#f5d8dd}.btn-sm{padding:6px 9px;font-size:12px}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-head{padding:17px 19px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.card-title{font:700 15px Manrope;margin:0}.card-note{color:var(--muted);font-size:12px;margin-top:4px}.card-body{padding:18px 19px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:17px}.stat-card{padding:17px 18px;position:relative;overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:center}.stat-label{font-size:13px;color:var(--muted);font-weight:600}.stat-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:17px}.stat-value{font:800 24px Manrope;letter-spacing:-.7px;margin-top:12px}.stat-foot{display:flex;gap:6px;align-items:center;margin-top:8px;font-size:12px;color:var(--muted)}.trend{color:var(--green);font-weight:700}.tone-purple{color:var(--brand);background:var(--brand-soft)}.tone-green{color:var(--green);background:var(--green-soft)}.tone-orange{color:var(--orange);background:var(--orange-soft)}.tone-blue{color:var(--blue);background:var(--blue-soft)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,.9fr);gap:16px;margin-bottom:16px}.dashboard-grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-wrap{height:210px;padding:13px 5px 0}.chart-wrap svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:#eff0f5;stroke-width:1}.chart-label{fill:#a0a4b4;font:11px DM Sans}.chart-line{fill:none;stroke:var(--brand);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-area{fill:url(#areaFill)}.chart-dot{fill:#fff;stroke:var(--brand);stroke-width:2}.chart-legend{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.chart-legend i{width:7px;height:7px;background:var(--brand);border-radius:50%}.quick-action{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:13px 12px;text-align:left;transition:.15s}.search-card{margin-bottom:17px}.lookup-row{display:flex;align-items:flex-end;gap:11px}.field{display:grid;gap:6px;flex:1;min-width:0}.field label{font-size:12px;font-weight:700;color:#666b7c}.field input,.field select,.field textarea,.filter-select{width:100%;border:1px solid #e7e9f0;background:#fff;border-radius:8px;padding:10px 11px;outline:none;color:var(--text);font-size:13px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#b7b0f2;box-shadow:0 0 0 3px #6659d910}.field input::placeholder,.field textarea::placeholder{color:#b1b4c0}.field textarea{min-height:75px;resize:vertical}.field small{color:var(--muted);font-size:11px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .span-2{grid-column:span 2}.field-inline{display:flex;gap:13px;align-items:center;min-height:38px}.radio-option{display:flex;align-items:center;gap:6px;color:#5f6475;font-size:13px}.radio-option input{accent-color:var(--brand)}.table-card{overflow:hidden}.table-tools{display:flex;gap:8px;align-items:center}.table-search{position:relative;width:210px}.table-search input{width:100%;border:1px solid var(--line);background:#fff;color:var(--text);caret-color:var(--text);-webkit-text-fill-color:var(--text);border-radius:8px;padding:8px 10px 8px 29px;outline:0;font-size:12px;color-scheme:light}.table-search span{position:absolute;left:10px;top:6px;font-size:18px;color:#9b9fb0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{background:#fbfbfd;color:#9297a8;font-size:11px;text-transform:uppercase;letter-spacing:.55px;text-align:left;padding:11px 15px;font-weight:700;border-bottom:1px solid var(--line)}td{font-size:12px;color:#515667;padding:12px 15px;border-bottom:1px solid #f0f1f5}tbody tr:hover{background:#fcfcff}tbody tr:last-child td{border-bottom:0}.person-cell{display:flex;align-items:center;gap:9px}.person-avatar{width:27px;height:27px;border-radius:8px;background:#eeeaff;color:var(--brand);display:grid;place-items:center;font-size:11px;font-weight:700}.person-name{font-size:12px;font-weight:700;color:#34394b}.person-meta{font-size:11px;color:var(--muted);margin-top:3px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;font-size:11px;font-weight:700}.badge:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.badge-green{color:var(--green);background:var(--green-soft)}.badge-orange{color:var(--orange);background:var(--orange-soft)}.badge-red{color:var(--red);background:var(--red-soft)}.row-actions{display:flex;gap:4px}.row-action{border:0;background:transparent;border-radius:6px;color:#9297a8;width:26px;height:26px;font-size:15px}.row-action:hover{background:var(--brand-soft);color:var(--brand)}.table-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.pagination{display:flex;gap:5px}.pagination button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:5px 8px;color:#74798c;font-size:11px}.pagination button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.filter-row{display:flex;gap:8px;align-items:center}.filter-select{width:auto;padding:8px 26px 8px 9px;font-size:12px;color:#74798c}.empty-state{padding:42px 15px;text-align:center;color:var(--muted);font-size:13px}.empty-icon{margin:0 auto 10px;width:40px;height:40px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:20px}.empty-state strong{display:block;color:var(--text);font-size:14px;margin-bottom:5px}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.feature-card{padding:18px;transition:.18s}.feature-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #252b4c12}.feature-symbol{width:38px;height:38px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:20px;margin-bottom:14px}.feature-card h3{font:700 15px Manrope;margin:0 0 6px}.feature-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}.feature-card .btn{margin-top:16px}.progress{height:6px;border-radius:8px;background:#f0f0f5;overflow:hidden;margin-top:10px}.progress span{display:block;height:100%;background:var(--brand);border-radius:8px}.modal-backdrop{position:fixed;inset:0;background:#20243a66;z-index:50;display:grid;place-items:center;padding:18px}.modal{width:min(650px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 24px 80px #1418303b}.modal-head{padding:18px 21px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font:800 18px Manrope;margin:0}.modal-body{padding:20px 21px}.modal-footer{padding:13px 21px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.close-button{border:0;background:none;color:var(--muted);font-size:22px}.toast-stack{position:fixed;right:20px;bottom:20px;z-index:80;display:grid;gap:8px}.toast{background:#3a4060;color:#fff;padding:11px 14px;border-radius:10px;box-shadow:var(--shadow);font-size:13px;animation:toastin .2s ease}.toast.success{background:#187d60}@keyframes toastin{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.dark{--bg:#23283c;--panel:#2e334a;--panel-2:#373d56;--text:#f2f4fb;--muted:#b0b5c8;--line:#454b66;--brand-soft:#3a3760;--green-soft:#2a4540;--orange-soft:#4a3e30;--red-soft:#4a3540;--blue-soft:#33425a;--shadow:0 10px 28px rgba(20,24,40,.28)}.dark .sidebar,.dark .topbar{background:var(--panel)}.dark .global-search,.dark .table-search input,.dark .field input,.dark .field select,.dark .field textarea,.dark .btn,.dark .pagination button{background:var(--panel-2);color:var(--text);border-color:var(--line)}.dark th{background:var(--panel-2)}.dark td{color:#d2d6e4;border-color:var(--line)}.dark .person-name,.dark .field label{color:var(--text)}.dark .quick-action{background:var(--panel-2);border-color:var(--line)}.dark .modal{background:var(--panel)}.dark .modal-head,.dark .modal-footer{border-color:var(--line)}.dark .radio-option{color:#d2d6e4}footer{padding:15px 34px 19px;color:#a4a8b6;font-size:11px;border-top:1px solid var(--line);background:#ffffff61}footer span{float:right}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.section-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:1400px){.sidebar{transform:translate(-100%);box-shadow:none}.sidebar.open{transform:translate(0);box-shadow:10px 0 40px #1820441a}.main-area{margin-left:0;width:100%;max-width:100%}.topbar{padding:0 14px}.menu-toggle{display:grid}.global-search{width:min(200px,34vw)}.page-wrap{padding:16px 14px}.page-header{align-items:flex-start;flex-wrap:wrap}.header-actions{flex-wrap:wrap}.stats-grid{gap:9px;grid-template-columns:repeat(2,1fr)}.stat-card{padding:13px}.dashboard-grid,.dashboard-grid.equal{grid-template-columns:1fr}.lookup-row{align-items:stretch;flex-direction:column}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card-head{padding:14px}.card-body{padding:15px}.table-tools{flex-wrap:wrap}.table-search{width:min(100%,260px)}footer{padding:12px 14px}}@media(max-width:760px){.breadcrumbs,.profile-name,.chevron{display:none}.page-title{font-size:23px}.page-header{flex-direction:column}.header-actions{width:100%}.section-grid{grid-template-columns:1fr}.table-search{width:100%}footer span{float:none;display:block;margin-top:5px}.stat-value{font-size:21px}}@media(max-width:430px){.stats-grid{grid-template-columns:1fr 1fr}.top-actions{gap:5px}.global-search{width:36vw}.global-search kbd,.top-divider{display:none}.stat-label{font-size:11px}.stat-value{font-size:19px}.header-actions .btn{flex:1}}.login-surface{min-height:100vh;display:grid;place-items:center;padding:26px;background:radial-gradient(ellipse at 20% 10%,#eeecff 0,transparent 36%),radial-gradient(ellipse at 90% 90%,#eef7ff 0,transparent 38%),var(--bg)}.login-card{width:min(420px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 22px 70px #292f5a12}.login-form{display:grid;gap:15px;margin-top:25px}.login-error{margin-top:17px;padding:10px 12px;background:var(--red-soft);border-radius:8px;color:var(--red);font-size:13px}.login-foot{border-top:1px solid var(--line);margin-top:22px;padding-top:14px;color:var(--muted);font-size:12px}.dark .login-card{background:var(--panel)}.dark .login-surface{background:radial-gradient(ellipse at 20% 10%,#3a3560 0,transparent 40%),radial-gradient(ellipse at 90% 90%,#2a3850 0,transparent 42%),var(--bg)}body.auth-only .main-area{margin-left:0;width:100%}body.auth-only .page-wrap{padding:0;max-width:none}.workflow-backdrop{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.customer-profile-modal{width:min(1040px,100%);max-height:92vh;border:1px solid #ffffffa8}.customer-entry-modal{width:min(760px,100%);max-height:92vh}.workflow-modal-head{position:sticky;top:0;z-index:2;background:var(--panel);gap:14px}.workflow-profile-heading,.workflow-title-wrap{display:flex;align-items:center;gap:14px;min-width:0}.workflow-profile-heading h2{font-size:21px;margin:0}.workflow-profile-avatar,.workflow-title-icon{width:48px;height:48px;flex:none;border-radius:15px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font:800 17px Manrope}.workflow-title-icon{font-size:22px}.workflow-title-wrap p{margin:5px 0 0;color:var(--muted);font-size:13px}.workflow-profile-summary{display:flex;align-items:center;gap:9px 18px;flex-wrap:wrap;padding:13px 22px;background:var(--panel-2);border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.workflow-tabs{display:flex;gap:6px;padding:0 22px;border-bottom:1px solid var(--line);overflow:auto}.workflow-tab{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:14px 12px 12px;font:700 11px DM Sans}.workflow-tab.active{color:var(--brand);border-color:var(--brand)}.workflow-tab span{margin-left:4px;padding:2px 6px;border-radius:12px;background:var(--panel-2);font-size:11px}.workflow-profile-content{padding:21px 22px;min-height:220px}.workflow-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.workflow-panel-head h3{margin:0;font:700 16px Manrope;color:var(--text)}.workflow-panel-head p{margin:5px 0 0;color:var(--muted);font-size:12px}.workflow-table{border:1px solid var(--line);border-radius:11px}.workflow-empty{padding:28px 12px;white-space:normal;line-height:1.6}.workflow-profile-footer{justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.workflow-entry-body{padding:19px 22px;overflow:auto}.workflow-section{padding:0 0 19px;margin:0 0 18px;border-bottom:1px solid var(--line)}.workflow-section:last-of-type{margin-bottom:0}.workflow-section-head{display:flex;gap:11px;align-items:center;margin-bottom:14px}.workflow-section-head strong{display:block;color:var(--text);font:700 14px Manrope}.workflow-section-head small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.workflow-step{width:30px;height:30px;flex:none;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font:800 11px Manrope}.workflow-fields{padding-left:41px;gap:12px}.workflow-fields .field>span{color:var(--text);font-size:12px;font-weight:700}.workflow-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-left:41px;margin-bottom:14px}.workflow-choice{min-height:39px;display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);font-size:12px}.workflow-choice:has(input:checked){border-color:#aaa2ef;background:var(--brand-soft);color:var(--brand)}.workflow-choice input{accent-color:var(--brand)}.workflow-fee-note,.workflow-api-note{margin:12px 0 0 41px;padding:10px 12px;border-radius:9px;background:var(--blue-soft);color:var(--blue);font-size:12px;line-height:1.5}.workflow-api-note{background:var(--orange-soft);color:var(--orange)}.workflow-entry-footer{position:sticky;bottom:0;background:var(--panel)}.workflow-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.workflow-personal-grid>div{padding:13px 0;border-bottom:1px solid var(--line)}.workflow-personal-grid small,.workflow-personal-grid strong{display:block}.workflow-personal-grid small{color:var(--muted);font-size:11px;margin-bottom:5px}.workflow-personal-grid strong{color:var(--text);font-size:13px;white-space:normal;overflow-wrap:anywhere}.workflow-personal-grid .span-2{grid-column:span 2}.dark .workflow-choice{background:var(--panel-2)}@media(max-width:700px){.workflow-profile-summary{padding:12px 16px;gap:8px 12px}.workflow-tabs{padding:0 10px}.workflow-profile-content{padding:17px 14px}.workflow-panel-head{align-items:flex-start;flex-direction:column}.workflow-panel-head .btn{width:100%}.workflow-check-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:0}.workflow-fields{padding-left:0}.workflow-fee-note,.workflow-api-note{margin-left:0}.workflow-profile-footer{align-items:flex-start;flex-direction:column}.workflow-profile-footer .btn{align-self:flex-end}.workflow-personal-grid{grid-template-columns:1fr}.workflow-personal-grid .span-2{grid-column:auto}.workflow-entry-body{padding:16px}.customer-profile-modal,.customer-entry-modal{max-height:96vh}.workflow-table table{min-width:780px}}.workflow-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none}.customer-profile-modal,.customer-entry-modal{width:min(650px,100%);max-height:90vh;border:0;border-radius:16px}.workflow-modal-head{position:static;background:var(--panel);padding:18px 21px}.workflow-profile-summary{padding:12px 21px;background:var(--panel);gap:8px 14px}.workflow-tabs{padding:0 12px}.workflow-profile-content{padding:20px 21px;min-height:0}.workflow-record-summary{display:flex;align-items:center;flex-direction:column;gap:5px;padding:24px 16px 19px;text-align:center}.workflow-quick-actions{display:flex;justify-content:center;gap:8px;padding:0 18px 18px;flex-wrap:wrap}.workflow-quick-actions .btn{font-size:12px;padding:8px 11px}.workflow-quick-actions .btn span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:11px}.customer-profile-modal .workflow-profile-content:empty{display:none}.workflow-record-icon{width:42px;height:42px;margin-bottom:4px;border-radius:13px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:20px}.workflow-record-summary strong{font:700 14px Manrope;color:var(--text)}.workflow-record-summary>span:not(.workflow-record-icon),.workflow-record-summary small{font-size:12px;color:var(--muted)}.workflow-entry-body{padding:20px 21px}.workflow-profile-footer,.workflow-entry-footer{position:static;background:var(--panel);justify-content:flex-end;align-items:center;flex-direction:row;padding:13px 21px}.workflow-profile-footer>span{margin-right:auto}.dark .workflow-modal-head{background:var(--panel)}@media(max-width:700px){.workflow-profile-summary{padding:12px 16px}.workflow-profile-content,.workflow-entry-body{padding:17px 16px}.workflow-profile-footer,.workflow-entry-footer{padding:13px 16px;flex-direction:row;align-items:center}.workflow-profile-footer>span{font-size:11px}.customer-profile-modal,.customer-entry-modal{max-height:96vh}}.shell{min-height:100vh;min-height:100dvh;display:flex;width:100%;max-width:100vw;overflow-x:hidden}.main,.main-area{margin-left:250px;width:calc(100% - 250px);max-width:calc(100vw - 250px);min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;min-width:0}html,body{overflow-x:hidden;width:100%;max-width:100vw}.sidebar{overflow:hidden;max-height:100dvh}.nav-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;align-content:start;gap:4px}.nav-list>.nav-link,.nav-list .nav-parent{height:42px;min-height:0}.nav-list .nav-sub .nav-link{height:35px;min-height:0}.sidebar-backdrop{display:none;position:fixed;inset:0;z-index:15;background:#181c306b;border:0;padding:0;cursor:pointer}.page,.page-wrap{width:100%;max-width:min(1440px,100%);padding:28px 34px;margin:0 auto;flex:1;min-width:0;box-sizing:border-box}.page-loading{padding:48px 24px;color:var(--muted);font-size:14px;text-align:center}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:23px}.card,.table-card,.data-table,.stats-grid,.dashboard-grid,.form-grid,.row{min-width:0;max-width:100%}.table-wrap,.data-table .table-wrap,.profile-table,.trial-class-table-wrap,.lp-register-table{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.page-subtitle{margin:6px 0 0;color:var(--muted);font-size:14px}.menu-btn{display:none}.btn.primary,.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 4px 10px #6659d92b}.btn.primary:hover,.btn-primary:hover{background:var(--brand-dark);color:#fff;border-color:var(--brand-dark)}.btn.small,.btn.sm,.btn-sm{padding:6px 9px;font-size:12px;min-height:0}.btn.danger,.btn-danger{color:var(--red);border-color:#f5d8dd}.btn.quiet,.btn-quiet{background:transparent}.modal-back{position:fixed;inset:0;background:#20243a66;z-index:50;display:grid;place-items:center;padding:18px}.app-confirm-back{z-index:90}.app-confirm-modal{width:min(440px,100%)}.app-confirm-modal .modal-body{padding-top:4px}.app-confirm-modal .btn.primary.danger{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 4px 10px #d5546447}.app-confirm-modal .btn.primary.danger:hover{filter:brightness(.95)}.app-status-modal{width:min(420px,100%);text-align:center;padding:34px 28px 26px;border-radius:8px;box-shadow:0 18px 48px #20274d2e}.app-status-modal h2{margin:18px 0 8px;font-size:28px;font-weight:700;letter-spacing:-.02em}.app-status-modal p{margin:0 0 26px;color:var(--muted);font-size:16px}.app-status-icon{width:82px;height:82px;margin:0 auto;border-radius:999px;display:grid;place-items:center;font-size:46px;line-height:1;font-weight:400}.app-status-icon.failed{color:#f27474;border:4px solid #f27474}.app-status-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.app-status-actions .btn{min-width:140px;justify-content:center}.btn.solid-danger{background:#dd6b55;border-color:#dd6b55;color:#fff;box-shadow:0 4px 10px #dd6b5547}.btn.solid-danger:hover{filter:brightness(.96);color:#fff}.sidebar-net-notify{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;padding:10px 11px;border-radius:12px;border:1px solid var(--line);background:var(--panel-2, #fafbfe);animation:sidebar-net-in .22s ease-out}.sidebar-net-notify.tone-warn{border-color:#f0d7a8;background:var(--orange-soft)}.sidebar-net-notify.tone-bad{border-color:#f0c4cb;background:var(--red-soft)}.sidebar-net-dot{width:8px;height:8px;margin-top:5px;flex:none;border-radius:50%;background:var(--orange);box-shadow:0 0 color-mix(in srgb,var(--orange) 45%,transparent);animation:sidebar-net-pulse 1.4s ease-out infinite}.sidebar-net-notify.tone-bad .sidebar-net-dot{background:var(--red);box-shadow:0 0 color-mix(in srgb,var(--red) 45%,transparent)}.sidebar-net-copy{min-width:0;display:grid;gap:2px}.sidebar-net-copy strong{font-size:12px;font-weight:700;line-height:1.2;color:var(--text)}.sidebar-net-copy small{font-size:11px;line-height:1.35;color:var(--muted)}@keyframes sidebar-net-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes sidebar-net-pulse{0%{box-shadow:0 0 color-mix(in srgb,currentColor 35%,transparent)}70%{box-shadow:0 0 0 7px transparent}to{box-shadow:0 0 0 0 transparent}}.network-wait-back{position:fixed;inset:0;z-index:400;display:grid;place-items:center;padding:18px;pointer-events:all;cursor:wait;background:transparent;touch-action:none;-webkit-user-select:none;user-select:none}.network-wait-back.is-visible{background:#1a1f3666;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:network-wait-fade .2s ease-out}.network-wait-card{width:min(320px,92vw);padding:28px 24px 24px;border-radius:16px;background:#fff;box-shadow:0 18px 48px #1a1f3640;text-align:center;animation:network-wait-pop .28s ease-out}.network-wait-spinner{width:42px;height:42px;margin:0 auto 16px;border-radius:50%;border:3px solid #e6e8f2;border-top-color:var(--brand);animation:network-wait-spin .75s linear infinite}.network-wait-title{margin:0;font-size:17px;font-weight:700;color:#1f2437}.network-wait-sub{margin:8px 0 0;font-size:13px;line-height:1.45;color:var(--muted)}@keyframes network-wait-spin{to{transform:rotate(360deg)}}@keyframes network-wait-fade{0%{opacity:0}to{opacity:1}}@keyframes network-wait-pop{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-close,.close-button{border:0;background:none;color:var(--muted);font-size:22px;cursor:pointer}.error{margin-bottom:14px;padding:10px 12px;background:var(--red-soft);border-radius:8px;color:var(--red);font-size:13px}.notice{margin-bottom:14px;padding:10px 12px;background:var(--green-soft);border-radius:8px;color:var(--green);font-size:13px}.actions{display:flex;gap:8px;justify-content:flex-end}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.checks,.check-grid{display:flex;flex-wrap:wrap;gap:10px 16px}.check-grid label{margin:0}.choice-checks{gap:18px 28px}.choice-check{display:inline-flex;align-items:center;gap:10px;min-height:36px;margin:0;padding:6px 4px;border:0;background:none;color:var(--text);font-size:15px;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.choice-check input{width:20px;height:20px;margin:0;flex:0 0 auto;accent-color:var(--brand);cursor:pointer;border:0;box-shadow:none;outline:none}.choice-check input:focus,.choice-check input:focus-visible{border:0;box-shadow:none;outline:none}.sub{margin:6px 0 0;color:var(--muted);font-size:13px}.muted{color:var(--muted)}.empty{color:var(--muted);padding:18px;font-size:13px}.photo-preview{width:160px;height:160px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#f3f4f8}.statement-summary{display:flex;flex-wrap:wrap;gap:12px 24px}.statement-summary p{margin:0}.settings-tabs,.settings-summary{margin-bottom:14px}.settings-count-row{display:grid;grid-template-columns:repeat(2,minmax(120px,max-content)) 1fr;gap:12px 28px;align-items:end}.settings-count-row strong{display:block;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:4px}.settings-count-row span{font-size:20px;font-weight:700}.settings-count-row .sub{margin:0;grid-column:1 / -1}.settings-alerts{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:4px 18px;margin-bottom:18px}.settings-alerts label{display:flex;align-items:center;gap:9px;margin:0;padding:10px 8px;border-bottom:1px solid var(--line)}.settings-alerts input{flex:0 0 auto;margin:0;width:auto}.settings-lang-tabs{margin:0 0 10px}.settings-placeholder-hint{margin:0 0 14px}.settings-template-list{display:grid;gap:12px;margin-bottom:16px}.settings-template-list textarea{min-height:72px;resize:vertical}.settings-api-enable{display:flex;align-items:center;gap:9px;margin:0 0 14px;font-weight:600}.user-mini-menu-wrap{position:relative}.user-mini-menu{position:absolute;z-index:40;right:0;bottom:calc(100% + 10px);display:grid;min-width:210px;gap:4px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 30px #20274d24}.user-mini-menu>button{width:100%;border:0;background:transparent;color:var(--text);text-align:left;border-radius:8px;padding:9px 10px;font-size:13px;font-weight:600}.user-mini-menu>button:hover{background:var(--brand-soft);color:var(--brand)}.user-mini-dev-unlock{display:grid;gap:8px;margin:2px 0 6px;padding:8px 6px 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.user-mini-dev-unlock label{font-size:11px;font-weight:700;color:var(--muted)}.user-mini-dev-unlock input{width:100%;border:1px solid #e7e9f0;border-radius:8px;padding:8px 10px;font-size:13px}.dark .user-mini-menu{background:#2a3044;border-color:#3a4158}.dark .user-mini-dev-unlock{border-color:#3a4158}.dark .user-mini-dev-unlock input{background:#23283c;border-color:#3a4158;color:#fff}.badge.ok,.badge-green{color:var(--green);background:var(--green-soft)}.badge.bad,.badge-red{color:var(--red);background:var(--red-soft)}.badge.badge-strong{font-weight:800;letter-spacing:.01em}.badge.badge-red.badge-strong{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}.badge.warn-badge,.badge-orange{color:var(--orange);background:var(--orange-soft)}.badge.badge-orange.badge-strong{color:#9a3412;background:#ffedd5;border:1px solid #fed7aa;font-weight:800}.badge-blue{color:var(--blue);background:var(--blue-soft)}.badge-purple{color:var(--brand);background:var(--brand-soft)}.row-action{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid transparent;border-radius:8px;background:transparent;color:#9297a8;line-height:0}.row-action svg{display:block}.row-action.pass{color:var(--green);background:var(--green-soft);border-color:#d5eee3}.row-action.fail{color:var(--orange);background:var(--orange-soft);border-color:#f0dcc0}.row-action.absent{color:#5f657a;background:#f3f4f8;border-color:var(--line)}.row-action.absent_excuse{color:var(--blue);background:var(--blue-soft);border-color:#d5e2f7}.row-action.push{color:#5b4a9a;background:#f1eef8;border-color:#ddd4ef}.row-action.unpush{color:var(--green);background:var(--green-soft);border-color:#d5eee3}.row-action.delete,.row-action.archive{color:var(--red);background:var(--red-soft);border-color:#f3d4da}.row-action.pass:hover,.row-action.fail:hover,.row-action.absent:hover,.row-action.absent_excuse:hover,.row-action.push:hover,.row-action.unpush:hover,.row-action.delete:hover,.row-action.archive:hover{filter:brightness(.97)}.row-action:disabled{opacity:.45;cursor:not-allowed}.row-actions{display:inline-flex;align-items:center;gap:6px;justify-content:flex-end;margin-right:4px}.row-actions-menu{position:relative;display:inline-flex;align-items:center;justify-content:flex-end;margin-right:4px}.row-action.menu-trigger{color:#6b7285;background:#f4f5f8;border-color:var(--line);font-size:18px;font-weight:700;letter-spacing:.5px;line-height:1}.row-action.menu-trigger.open,.row-action.menu-trigger:hover{color:var(--brand);background:var(--brand-soft);border-color:#d9d5f5}.row-actions-popover{position:fixed;z-index:1200;min-width:168px;max-height:min(280px,calc(100vh - 16px));overflow-y:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 28px #20274d1f}table td:has(.row-actions-menu),table td:has(.row-actions),table th.col-actions,table td.col-actions{width:1%;text-align:right;white-space:nowrap;padding-right:20px}table th:has(+th:last-child),table th:last-child:is(.col-actions),.data-table th:last-child,.profile-table th:last-child{padding-right:20px}.row-actions-item{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;border-radius:8px;padding:8px 10px;color:var(--text);font-size:14px;font-weight:600;text-align:left;text-transform:capitalize}.row-actions-item:hover{background:#f6f7fb}.row-actions-item:disabled{opacity:.45;cursor:not-allowed}.row-actions-dot{width:8px;height:8px;border-radius:50%;background:#c5c9d6;flex:0 0 auto}.row-actions-dot.pass{background:var(--green)}.row-actions-dot.fail{background:var(--orange)}.row-actions-dot.absent{background:#8b90a2}.row-actions-dot.absent_excuse{background:var(--blue)}.row-actions-dot.push{background:#5b4a9a}.row-actions-dot.unpush{background:var(--green)}.row-actions-dot.delete,.row-actions-dot.archive{background:var(--red)}.row-actions-item.delete{color:var(--red)}.dark .row-actions-popover{background:var(--panel);border-color:var(--line)}.dark .row-actions-item:hover{background:var(--panel-2)}.dark .row-action.menu-trigger{background:var(--panel-2);color:var(--text)}.table-scroll{overflow:auto}.lp-register-table{margin-top:4px}.lp-register-table table{width:100%;border-collapse:collapse}.lp-register-table th,.lp-register-table td{padding:8px 10px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle;white-space:nowrap}.lp-register-table th{color:var(--muted);font-weight:600;text-align:left}.lp-register-table input[type=text],.lp-register-table input:not([type]),.lp-register-table select{width:100%;min-width:110px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:7px 9px;font-size:13px}.lp-register-table input[type=checkbox]{width:auto;min-width:0}.breadcrumbs{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:6px}.breadcrumbs b{color:#d0d2dc;font-weight:400}.breadcrumbs strong{color:var(--text);font-weight:600}.top-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.profile-wrap{position:relative}.profile-menu{position:absolute;z-index:30;top:calc(100% + 12px);right:0;display:grid;min-width:190px;gap:6px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 30px #20274d24}.profile-menu>strong{color:var(--text);font-size:14px}.profile-menu>small{margin-bottom:4px;color:var(--muted);font-size:12px}.profile-name{font-size:14px;font-weight:600}.app-footer{padding:15px 34px 19px;color:#a4a8b6;font-size:11px;border-top:1px solid var(--line);background:#ffffff61}.app-footer span{float:right}.data-table.card,.table-card{overflow:hidden}.data-table .card-head,.table-card .card-head{padding:17px 19px}.data-table .card-title-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.data-table .card-title-row .card-title{margin:0}.serial-prefix-menu{position:relative;display:inline-flex;align-items:center}.serial-prefix-trigger{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:#f4f5f8;color:#6b7285;border-radius:9px;min-height:32px;padding:0 9px;font-size:16px;font-weight:700;letter-spacing:.4px;line-height:1;cursor:pointer}.serial-prefix-trigger:hover,.serial-prefix-trigger.open{color:var(--brand);background:var(--brand-soft);border-color:#d9d5f5}.serial-prefix-trigger.has-filter{color:var(--text)}.serial-prefix-current{font-size:11px;font-weight:700;letter-spacing:0;color:var(--brand)}.serial-prefix-popover{position:fixed;z-index:1200;min-width:188px;padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 28px #20274d1f}.serial-prefix-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;border-radius:8px;padding:7px 10px;color:var(--text);text-align:left;cursor:pointer}.serial-prefix-item-copy{display:grid;gap:1px;min-width:0}.serial-prefix-item-label{font-size:13px;font-weight:700;line-height:1.2}.serial-prefix-item-help{font-size:11px;font-weight:500;color:var(--muted);line-height:1.25}.serial-prefix-item:hover{background:#f6f7fb}.serial-prefix-item.is-active{background:var(--brand-soft);color:var(--brand)}.serial-prefix-item.is-active .serial-prefix-item-help{color:#7d74c8}.serial-prefix-check{font-size:12px;font-weight:700;flex:0 0 auto}.data-table .table-tools{display:flex;gap:8px;align-items:center}.data-table .table-search{position:relative;width:210px}.data-table .table-search input{width:100%;border:1px solid var(--line);background:#fff;color:var(--text);caret-color:var(--text);-webkit-text-fill-color:var(--text);border-radius:8px;padding:8px 10px 8px 29px;outline:0;font-size:12px;color-scheme:light}.data-table .table-search input::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted);opacity:1}.data-table .table-search span{position:absolute;left:10px;top:6px;font-size:18px;color:#9b9fb0;pointer-events:none}.data-table .table-wrap{overflow:auto}.data-table .table-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.data-table .pagination{display:flex;gap:5px}.data-table .pagination button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:5px 8px;color:#74798c;font-size:11px;cursor:pointer}.data-table .pagination button.active{background:var(--brand);color:#fff;border-color:var(--brand)}.data-table .pagination button:disabled{opacity:.45;cursor:not-allowed}.data-table .empty-cell{padding:42px 15px;text-align:center;color:var(--muted);font-size:13px}.data-table th.th-sortable{padding:0;vertical-align:middle}.data-table .th-sort-btn{display:inline-flex;align-items:center;gap:6px;width:100%;margin:0;padding:10px 12px;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;text-align:left;cursor:pointer}.data-table .th-sort-btn:disabled{opacity:.55;cursor:wait}.data-table .th-sort-indicator{color:#9b9fb0;font-size:11px;line-height:1}.data-table th.is-sorted .th-sort-btn,.data-table th.is-sorted .th-sort-indicator{color:var(--brand)}.date-list-table .card-head{padding:12px 14px}.date-list-table .table-wrap table{table-layout:fixed;width:100%}.date-list-table th,.date-list-table td{padding:7px 10px;vertical-align:middle}.date-list-table th:nth-child(1),.date-list-table td:nth-child(1){width:9.5rem}.date-list-table th:nth-child(2),.date-list-table td:nth-child(2){width:7.5rem}.date-list-table th:last-child,.date-list-table td:last-child{width:5.5rem}.date-list-table .date-note{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.date-list-table .date-capacity,.dashboard-list-card .date-capacity{font-variant-numeric:tabular-nums;color:var(--text)}.date-list-table .date-capacity span,.dashboard-list-card .date-capacity span{color:var(--muted);font-weight:500}.date-list-table .date-capacity.is-full,.dashboard-list-card .date-capacity.is-full,.date-list-table .date-capacity.is-full span,.dashboard-list-card .date-capacity.is-full span{color:var(--orange)}.date-list-table .table-footer{padding:8px 12px}.date-form{max-width:720px}.date-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.date-form-grid .span-2{grid-column:1 / -1}@media(max-width:700px){.date-form-grid{grid-template-columns:1fr}.date-form-grid .span-2{grid-column:auto}.date-list-table .table-wrap table{table-layout:auto}}.auth-page{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:max(26px,env(safe-area-inset-top,0px)) max(26px,env(safe-area-inset-right,0px)) max(26px,env(safe-area-inset-bottom,0px)) max(26px,env(safe-area-inset-left,0px));background:radial-gradient(ellipse at 20% 10%,#eeecff 0,transparent 36%),radial-gradient(ellipse at 90% 90%,#eef7ff 0,transparent 38%),var(--bg)}.auth-card{width:min(420px,100%);background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:30px;box-shadow:0 22px 70px #292f5a12}.auth-card .brand{margin-bottom:8px;padding:0}.auth-card h1{font:800 26px Manrope,sans-serif;letter-spacing:-.7px;margin:18px 0 6px}.auth-card .sub{margin:0 0 22px;color:var(--muted);font-size:14px}.auth-card .btn{width:100%;justify-content:center;margin-top:8px}.auth-card form{display:grid;gap:15px}.login-developer-credit{margin:18px 0 0;text-align:center;color:var(--muted);font-size:12px}.login-developer-credit a{color:var(--brand);font-weight:600;text-decoration:none}.login-developer-credit a:hover{text-decoration:underline}.about-card{width:min(480px,100%)}.about-actions{margin-top:22px}.about-actions .btn{width:100%;justify-content:center}.developer-about .sub{margin:0 0 16px}.developer-about-list{margin:0;display:grid;gap:10px}.developer-about-row{display:grid;grid-template-columns:88px 1fr;gap:10px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--line)}.developer-about-row:last-of-type{border-bottom:0}.developer-about-row dt{margin:0;color:var(--muted);font-size:12px;font-weight:700}.developer-about-row dd{margin:0;font-size:14px}.developer-about-row a{color:var(--brand);font-weight:600;text-decoration:none}.developer-about-row a:hover{text-decoration:underline}.developer-about .card-note{margin-top:14px}.app-footer a{color:inherit;font-weight:600;text-decoration:none}.app-footer a:hover{color:var(--brand);text-decoration:underline}.dashboard-lookup,.quick-actions-card,.recent-payments-card,.dashboard-list-card{margin-bottom:16px}.dashboard-lookup-form{display:flex;align-items:flex-end;gap:11px}.dashboard-lookup-form .field{flex:1;margin:0}.dashboard-lookup-form .btn{min-height:39px}.quick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.quick-actions-card .quick-grid{padding:0 19px 18px}.quick-action{border:1px solid var(--line);background:var(--panel-2);border-radius:10px;padding:13px 12px;text-align:left;transition:.15s;color:inherit;text-decoration:none;cursor:pointer;display:block;width:100%}.quick-action:hover{border-color:#d7d3f8;background:#faf9ff}.quick-action span{display:block;font-size:18px;color:var(--brand);margin-bottom:8px}.quick-action strong{font-size:12px}.quick-action small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.dashboard-empty{padding:42px 15px;text-align:center;color:var(--muted);font-size:13px}.payment-chart{height:210px;padding:13px 5px 0}.payment-chart svg{width:100%;height:100%;overflow:visible}.chart-empty{color:var(--muted);font-size:12px;text-align:center}.customer-record-back{z-index:60}.customer-record-view,.customer-record-view.customer-profile-modal{width:min(920px,100%);height:min(720px,90vh);max-height:90vh;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.customer-record-view>.modal-head{flex:0 0 auto}.inspecting-back{z-index:70}.customer-record-panel .workflow-table{margin-top:4px}.customer-record-panel .workflow-table table{min-width:780px}.customer-record-panel .workflow-table td,.customer-record-panel .workflow-table th{white-space:nowrap}.customer-record-summary{display:flex;align-items:center;flex-direction:column;gap:5px;padding:24px 16px 19px;text-align:center;flex:0 0 auto}.customer-record-icon{width:42px;height:42px;margin-bottom:4px;border-radius:13px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font-size:20px}.customer-record-summary strong{font:700 16px Manrope,sans-serif;color:var(--text)}.customer-record-summary>span:not(.customer-record-icon){font-size:12px;color:var(--muted)}.customer-record-tabs,.workflow-quick-actions{display:flex;justify-content:center;gap:8px;padding:0 18px 18px;flex-wrap:wrap;flex:0 0 auto}.workflow-quick-actions .btn,.customer-record-tabs .btn,.record-tab{font-size:12px;padding:8px 11px}.workflow-quick-actions .btn.active,.customer-record-tabs .btn.active,.record-tab:hover,.record-tab.active{border-color:#d8d5fa;background:#faf9ff;color:var(--brand)}.workflow-quick-actions .btn span,.customer-record-tabs .btn span,.record-tab span{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:10px;background:var(--brand-soft);color:var(--brand);font-size:11px}.field{display:grid;gap:6px;margin-bottom:14px}.field.is-disabled-field{opacity:.72}.field.is-disabled-field input:disabled,.field.is-disabled-field input:disabled:focus{cursor:not-allowed;background:#f3f4f8;box-shadow:none}.application-fieldset{border:0;margin:0;padding:0;min-width:0}.application-form.is-readonly .application-fieldset{opacity:.96}.application-form.is-readonly input,.application-form.is-readonly select,.application-form.is-readonly textarea,.application-form.is-readonly button{cursor:default}.field>label,.field>span{font-size:12px;font-weight:700;color:#666b7c}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;border:1px solid #e7e9f0;background:#fff;border-radius:8px;padding:10px 11px;outline:none;color:var(--text);font-size:13px}.field input:not([type=checkbox]):not([type=radio]):focus,.field textarea:focus,.field select:focus{border-color:#b7b0f2;box-shadow:0 0 0 3px #6659d910}.field input[type=date],.field input.date-input{cursor:text;min-height:42px;color-scheme:light}.field input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:1;padding:6px;margin-left:4px}.field .choice-check input[type=checkbox]{width:20px;height:20px;min-width:20px;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;outline:none;accent-color:var(--brand)}.field .choice-check input[type=checkbox]:focus,.field .choice-check input[type=checkbox]:focus-visible{border:0;box-shadow:none;outline:none}.password-field{position:relative;display:grid}.password-field input{padding-right:64px}.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#666b7c;font-size:12px;font-weight:700;padding:6px 8px;border-radius:6px;line-height:1}.password-toggle:hover{color:var(--brand);background:#f3f2ff}.customer-record-panel{flex:1 1 auto;min-height:0;height:100%;padding:0 21px 14px;overflow:auto}.customer-record-section{padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.customer-record-section-title{margin-bottom:8px;color:var(--text);font-size:13px;font-weight:700}.customer-record-section p{margin:8px 0 12px;color:var(--muted);font-size:12px}.customer-record-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:12px}.customer-record-item span{color:var(--muted)}.customer-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0;padding:0}.customer-record-fields>div{min-width:0;padding:10px 0;border-top:1px solid var(--line)}.customer-record-fields dt{margin-bottom:4px;color:var(--muted);font-size:12px}.customer-record-fields dd{margin:0;color:var(--text);font-size:13px;overflow-wrap:anywhere}.customer-record-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 21px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;flex:0 0 auto}.modal-workflow{width:min(650px,100%);max-height:90vh;overflow:auto;scrollbar-width:thin;scrollbar-color:#e4e7f0 var(--panel)}.modal-workflow-wide{width:min(960px,100%)}.modal-workflow::-webkit-scrollbar{width:6px}.modal-workflow::-webkit-scrollbar-track{background:transparent;margin:12px 4px}.modal-workflow::-webkit-scrollbar-thumb{background:#e1e5ef;border-radius:999px;border:1px solid transparent;background-clip:padding-box}.modal-workflow::-webkit-scrollbar-thumb:hover{background:#cfd5e4;background-clip:padding-box}.modal-permissions{width:min(1100px,100%);max-height:92vh;overflow:auto}.modal-permissions .modal-body{overflow:auto}.modal-permissions table{width:100%;min-width:720px}.permission-matrix-scroll{overflow:auto;max-height:min(62vh,640px);border:1px solid var(--line);border-radius:12px;background:var(--panel)}.permission-matrix table{width:100%;border-collapse:collapse}.permission-matrix th,.permission-matrix td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.permission-matrix thead th{position:sticky;top:0;z-index:1;background:var(--panel-2, var(--panel));font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.permission-matrix tbody tr:hover{background:color-mix(in srgb,var(--brand-soft, #e8eefc) 55%,transparent)}.permission-matrix td:not(:first-child),.permission-matrix th:not(:first-child){text-align:center;width:88px}.permission-key{font-size:11px;margin-top:2px}.permission-note{font-size:12px;margin-top:4px;max-width:420px}.permission-check{display:inline-grid;place-items:center;width:28px;height:28px;margin:0 auto;cursor:pointer}.permission-check input{width:16px;height:16px;accent-color:var(--brand);cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.trial-class-meta{display:grid;gap:6px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-2);font-size:14px}.trial-class-meta span{color:var(--muted);margin-right:6px}.trial-class-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;margin-bottom:12px}.trial-class-table{width:100%;border-collapse:collapse}.trial-class-table th,.trial-class-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.trial-class-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--panel-2)}.trial-class-table tr:last-child td{border-bottom:0}.trial-class-radios{display:flex;flex-wrap:wrap;gap:8px}.trial-class-radios label{display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px;font-weight:700;color:var(--text);cursor:pointer}.trial-class-radios label.is-checked{border-color:#aaa2ef;background:var(--brand-soft);color:var(--brand)}.trial-class-radios input{accent-color:var(--brand)}.trial-class-quick{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}.form-error{color:var(--red);font-size:14px;margin:0}.modal-title-wrap{display:flex;align-items:center;gap:12px;min-width:0}.modal-title-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:13px;background:var(--brand-soft);color:var(--brand);font-size:20px}.form-section{padding:0 0 19px;margin:0 0 18px;border-bottom:1px solid var(--line)}.form-section:last-of-type{margin-bottom:0;border-bottom:0;padding-bottom:0}.form-section-head{display:flex;gap:11px;align-items:center;margin-bottom:14px}.form-section-head strong{display:block;color:var(--text);font:700 16px Manrope,sans-serif}.form-section-head small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.form-section-icon{width:30px;height:30px;flex:none;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);font:800 9px Manrope,sans-serif}.form-section .check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.form-section .check-grid label,.form-section .workflow-choice{position:relative;display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);font-size:13px;font-weight:600;margin:0;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color .15s ease,background .15s ease,color .15s ease,box-shadow .15s ease}.form-section .check-grid label:hover:not(:has(input:disabled)),.form-section .workflow-choice:hover:not(:has(input:disabled)){border-color:#d4d0f5;background:#fafbfe}.form-section .check-grid label input[type=checkbox],.form-section .workflow-choice input[type=checkbox]{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}.form-section .check-grid label:before,.form-section .workflow-choice:before{content:"";width:18px;height:18px;flex:0 0 18px;border-radius:6px;border:1.5px solid #c9cedc;background:#fff;box-shadow:inset 0 1px 2px #20274d0a;background-repeat:no-repeat;background-position:center;background-size:11px 11px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.form-section .check-grid label:has(input:checked),.form-section .workflow-choice:has(input:checked),.form-section .workflow-choice.is-checked{border-color:#b7b0f2;background:var(--brand-soft);color:var(--brand);box-shadow:0 0 0 3px #6659d912}.form-section .check-grid label:has(input:checked):before,.form-section .workflow-choice:has(input:checked):before,.form-section .workflow-choice.is-checked:before{border-color:var(--brand);background-color:var(--brand);box-shadow:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11l6.1-6.4' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}.form-section .check-grid label:has(input:disabled),.form-section .workflow-choice:has(input:disabled){opacity:.45;cursor:not-allowed;background:#f4f5f8}.application-form .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.application-form .form-grid .span-2{grid-column:span 2}.application-form .form-section:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}@media(max-width:700px){.application-form .form-grid,.form-section .check-grid{grid-template-columns:1fr}.application-form .form-grid .span-2{grid-column:auto}}.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.field-label-row label{margin:0}.document-checklist-field{margin-top:15px}.application-form .form-section-head{justify-content:flex-start}.application-form .form-section-head .badge{margin-left:auto}.application-type-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.application-extra-stack{display:grid;gap:10px}.application-add-btn{justify-content:center;width:100%;border-style:dashed;background:#fafbfe;color:var(--brand);border-color:#d8d5fa}.application-add-btn:hover{background:var(--brand-soft)}.application-add-panel{border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:var(--panel-2)}.application-add-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.application-add-panel-head strong{font-size:14px}@media(max-width:700px){.application-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.modal-form-content{display:grid;gap:0}.card.card-body{padding:18px 19px}.pos-pay-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,360px);gap:14px;align-items:start}.pos-pay-shell>.pos-pay-customer{grid-column:1 / -1}.pos-pay-customer-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:14px;align-items:end}.pos-pay-customer-row .field{margin:0}.pos-pay-customer-meta{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel-2);font-size:14px}.pos-pay-customer-meta strong{font-size:16px}.pos-pay-customer-meta span{color:var(--muted)}.pos-customer-locked{background:var(--panel-2)!important;color:var(--text);cursor:default;font-weight:600}.pos-locked-note{color:var(--brand-dark)!important;font-weight:600}.pos-bill-apps{display:grid;gap:14px}.pos-bill-app{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.pos-bill-app header,.pos-bill-app footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px}.pos-bill-app header{border-bottom:1px solid var(--line);background:var(--brand-soft)}.pos-bill-app header>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pos-bill-app footer{border-top:1px solid var(--line);font-size:13px;background:#fafbfe}.pos-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;padding:12px}.pos-type-card{display:grid;gap:6px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:inherit;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}.pos-type-card:hover{border-color:#b7b3e8;box-shadow:0 6px 16px #20274d14}.pos-type-card.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft);background:#f7f6ff}.pos-type-card.settled{opacity:.72}.pos-type-name{font-size:15px;font-weight:700;margin-bottom:2px}.pos-type-row{display:flex;justify-content:space-between;gap:8px;font-size:13px}.pos-type-row em{font-style:normal;color:var(--muted)}.pos-type-row b{font-weight:700}.pos-type-row.bls b{color:var(--orange)}.pos-type-card.active .pos-type-row.bls b{color:var(--brand-dark)}.pos-pay-tender .card-body{display:grid;gap:12px}.pos-slip{font-family:Courier New,Courier,monospace;border:1px dashed #b8bcc8;border-radius:10px;background:#fffef8;padding:12px}.pos-slip-empty{text-align:center;color:#777;font-size:14px;padding:22px 12px}.pos-slip-row{display:flex;justify-content:space-between;gap:10px;font-size:14px;margin:4px 0}.pos-slip-pay{margin-top:8px;padding-top:8px;border-top:1px dashed #ccc;font-weight:700}.pos-slip-bls{font-size:16px;font-weight:700}.pos-amount-field{margin:0}.pos-amount-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.pos-amount-row input,.cashier-amount-input{font-size:24px;font-weight:700;letter-spacing:.02em;padding:12px 14px;min-height:48px}.cashier-amount-input::-webkit-outer-spin-button,.cashier-amount-input::-webkit-inner-spin-button,.pos-amount-row input[type=number]::-webkit-outer-spin-button,.pos-amount-row input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.cashier-amount-input,.pos-amount-row input[type=number]{-moz-appearance:textfield;appearance:textfield}.pos-pay-done{margin:0 0 4px;font-size:17px}.cashier-shell>.pos-pay-customer{grid-column:1 / -1}.cashier-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}.cashier-kicker{margin:0 0 4px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}.cashier-title{margin:0;font-size:24px;font-weight:700}.cashier-customer-pick{display:grid;gap:8px}.cashier-customer-pick>input{font-size:18px;padding:12px 14px;min-height:46px}.cashier-customer-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;max-height:180px;overflow:auto;padding:2px}.cashier-customer-option{display:grid;gap:2px;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:inherit}.cashier-customer-option strong{font-size:15px}.cashier-customer-option span{font-size:13px;color:var(--muted)}.cashier-customer-option.active,.cashier-customer-option:hover{border-color:var(--brand);background:#f7f6ff}.cashier-customer-empty{grid-column:1 / -1;padding:14px;text-align:center;color:var(--muted);font-size:14px}.cashier-method-row{display:flex;flex-wrap:wrap;gap:8px}.cashier-method{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 12px;font-size:14px;font-weight:600;color:var(--text)}.cashier-method.active{background:var(--brand);border-color:var(--brand);color:#fff}.cashier-collect{width:100%;min-height:52px;font-size:18px;font-weight:700;margin-top:4px}.cashier-done{display:grid;place-items:start center}.cashier-done-card{width:min(420px,100%)}.cashier-done-kicker{margin:0 0 6px;color:var(--green);font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}@media(max-width:980px){.pos-pay-shell,.pos-pay-customer-row{grid-template-columns:1fr}}.profile-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.9fr);gap:16px;align-items:start}.profile-personal-body{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px 22px;align-items:start}.profile-photo-wrap{display:grid;gap:8px}.photo-placeholder{display:grid;place-items:center;color:var(--muted);font-size:13px}.profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0}.profile-fields>div{min-width:0;padding:10px 0;border-top:1px solid var(--line)}.profile-fields>div:nth-child(-n+2){border-top:0;padding-top:0}.profile-fields .span-2{grid-column:span 2}.profile-fields dt{margin:0 0 4px;color:var(--muted);font-size:12px;font-weight:700}.profile-fields dd{margin:0;color:var(--text);font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.45}.profile-note .card-body{display:flex;flex-direction:column;gap:16px}.profile-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.profile-note .field{margin-bottom:0}.profile-note textarea{min-height:140px;resize:vertical}.profile-note .actions{margin-top:4px}.profile-head-actions{margin:0;gap:8px}.profile-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-section{margin-top:16px;overflow:hidden}.profile-section>.card-head{align-items:flex-start;gap:12px}.profile-section>.card-head>div{min-width:0}.profile-section>.card-head .card-note{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.45}.profile-banner{margin:0 16px 12px;padding:10px 12px;border-radius:10px;background:var(--brand-soft);color:var(--text);font-size:13px}.profile-banner-action{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.profile-table{margin:0 0 4px;border-top:1px solid var(--line)}.profile-table table{min-width:720px}.profile-table th,.profile-table td{white-space:nowrap;vertical-align:middle}.profile-table th:last-child,.profile-table td:last-child:has(.row-actions-menu),.profile-table td:last-child:has(.row-actions){width:1%;text-align:right;padding-right:22px}.profile-empty{margin:8px 16px 18px;padding:28px 16px}.profile-status-card{margin-bottom:14px;padding:14px 16px}.reg-wizard-card{margin-bottom:14px;padding:14px 16px;border-color:#cfcaf5;background:linear-gradient(180deg,#f7f6ff 0%,var(--panel) 100%)}.reg-wizard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.reg-wizard-head strong{display:block;font-size:15px}.reg-wizard-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.reg-wizard-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.reg-wizard-step{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);min-width:0}.reg-wizard-step span{font-size:13px;font-weight:700;color:var(--text)}.reg-wizard-step small{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}.reg-wizard-step.is-done{border-color:#bbf7d0;background:#f0fdf4}.reg-wizard-step.is-done small{color:#15803d}.reg-wizard-step.is-skipped{border-color:#e5e7eb;background:#f8fafc}.reg-wizard-step.is-skipped span{color:#6b7280}.reg-wizard-step.is-current,.reg-wizard-step.is-active{border-color:#aaa2ef;background:var(--brand-soft)}.reg-wizard-step.is-current small,.reg-wizard-step.is-active small{color:var(--brand)}@media(max-width:900px){.reg-wizard-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.profile-status-grid>div{display:grid;gap:5px;min-width:0;padding:4px 16px;border-left:1px solid var(--line)}.profile-status-grid>div:first-child{padding-left:0;border-left:0}.profile-status-grid small{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.profile-status-grid strong{color:var(--text);font-size:15px;line-height:1.3}.profile-status-grid span{color:var(--muted);font-size:13px;line-height:1.4}.profile-status-pay.has-due strong{color:#b45309}.profile-status-pay.is-clear strong{color:#15803d}.profile-banner-warn{margin-top:12px;background:var(--orange-soft);color:var(--text)}.profile-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.profile-tabs .btn.active{background:var(--brand);color:#fff;border-color:var(--brand)}.profile-tabs .btn.tab-disabled,.profile-tabs .btn:disabled{opacity:.45;cursor:not-allowed;background:#f3f4f8;color:#8b90a2;border-color:var(--line)}.profile-bill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;padding:0 16px 16px}.profile-bill{border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.profile-bill header,.profile-bill footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px}.profile-bill header{border-bottom:1px solid var(--line);background:var(--brand-soft)}.profile-bill header>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-bill ul{list-style:none;margin:0;padding:0}.profile-bill li{display:grid;grid-template-columns:1.2fr repeat(3,minmax(0,1fr));gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);font-size:13px}.profile-bill footer{border-top:1px solid var(--line);font-size:13px}.profile-sms-message{white-space:normal;min-width:220px;max-width:420px}@media(max-width:980px){.profile-top,.profile-personal-body,.profile-notes-grid{grid-template-columns:1fr}.profile-section>.card-head{flex-direction:column}.profile-section>.card-head .btn{align-self:stretch}.profile-status-grid{grid-template-columns:1fr 1fr;gap:12px 0}.profile-status-grid>div{padding:2px 14px}.profile-status-grid>div:nth-child(odd){padding-left:0;border-left:0}.profile-bill li{grid-template-columns:1fr 1fr}}body.dark,.dark{color-scheme:dark}.dark .shell,.dark .main{background:var(--bg)}.dark .profile-menu,.dark .auth-card,.dark .row-actions-popover,.dark .customer-record-section,.dark .photo-preview{background:var(--panel)}.dark .auth-page{background:radial-gradient(ellipse at 20% 10%,#3a3560 0,transparent 40%),radial-gradient(ellipse at 90% 90%,#2a3850 0,transparent 42%),var(--bg)}.dark .data-table .table-search input,.dark .data-table .pagination button,.dark .record-tab,.dark .field input,.dark .field select,.dark .field textarea,.dark .lp-register-table select,.dark .row-action.menu-trigger{background:var(--panel-2);color:var(--text);caret-color:var(--text);-webkit-text-fill-color:var(--text);border-color:var(--line);color-scheme:dark}.dark .data-table .table-search input::placeholder{color:var(--muted);-webkit-text-fill-color:var(--muted)}.dark .data-table .pagination button.active{background:var(--brand);color:#fff}.dark .app-footer{background:transparent;color:var(--muted)}.dark .row-action.absent{background:var(--panel-2);color:var(--muted)}.dark .profile-tabs .btn.tab-disabled,.dark .profile-tabs .btn:disabled{background:var(--panel-2);color:var(--muted);border-color:var(--line)}.exam-report-wrap{margin-top:16px}.exam-report-sheet{--exam-row-h: 28px;width:100%;max-width:1240px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 14px 10px;overflow:auto;box-shadow:0 8px 24px #20274d0a}.exam-report-head{display:flex;flex-direction:column;align-items:stretch;width:100%;margin:0 0 6px;color:#000}.exam-report-title{margin:0;width:100%;text-align:center;font-size:28px;font-weight:700;letter-spacing:.05em;line-height:1.1;color:#000}.exam-report-date{margin:3px 0 0;width:100%;text-align:left;font-size:18px;font-weight:700;line-height:1.15;color:#000}.exam-report-table{width:100%;border-collapse:collapse;border-spacing:0;table-layout:fixed;font-size:14px;line-height:1.1;color:#000;border:1px solid #000}.exam-report-table th,.exam-report-table td{border:1px solid #000;padding:3px 4px;height:var(--exam-row-h);vertical-align:middle;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#000}.exam-report-table tbody tr:last-child td{border-bottom:1px solid #000}.exam-report-table th{font-weight:700;text-align:center;background:#fff;font-size:14px}.exam-report-table .cell-center{text-align:center}.exam-report-table .cell-sign{min-height:18px}.exam-report-table .col-no{width:3.2%}.exam-report-table .col-name{width:16.5%}.exam-report-table .col-class{width:7.5%}.exam-report-table .col-piv{width:5.5%}.exam-report-table .col-idtype{width:6.5%}.exam-report-table .col-idno{width:12%}.exam-report-table .col-bill{width:6.2%}.exam-report-table .col-exam{width:7%}.exam-report-table .col-status{width:6.5%}.exam-report-table .col-tp{width:10%}.exam-report-table .col-sign{width:19.1%}.exam-report-foot{margin-top:6px;font-size:14px;color:#000}.exam-report-pager{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin-top:12px}.exam-report-print-hint{margin-top:8px}.exam-report-print-only{display:none}@media print{@page{size:legal landscape;margin:.3in}html,body{background:#fff!important;color:#000!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}.sidebar,.topbar,.app-footer,.page-head,.error,.notice,.no-print,.exam-report-screen,.exam-report-pager,.exam-report-print-hint{display:none!important}.shell,.main,.page,.exam-report-wrap,.exam-report-print-only{display:block!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;background:#fff!important;overflow:visible!important}.exam-report-print-only{width:100%!important}.exam-report-sheet--print{--exam-row-h: .225in;box-sizing:border-box;width:100%!important;max-width:100%!important;height:7.85in!important;min-height:7.85in!important;max-height:7.85in!important;margin:0!important;padding:.06in .35in .05in!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;color:#000!important;page-break-after:auto;break-after:auto;page-break-inside:avoid;break-inside:avoid}.exam-report-sheet--print:not(:last-child){page-break-after:always;break-after:page}.exam-report-head{flex:0 0 auto!important;display:flex!important;flex-direction:column!important;width:100%!important;margin:0 0 .04in!important;color:#000!important}.exam-report-title{width:100%!important;text-align:center!important;font-size:15pt!important;font-weight:700!important;letter-spacing:.04em!important;line-height:1.05!important;color:#000!important}.exam-report-date{width:100%!important;text-align:left!important;margin:.02in 0 0!important;font-size:11pt!important;font-weight:700!important;line-height:1.1!important;color:#000!important}.exam-report-table{flex:1 1 auto!important;width:100%!important;height:100%!important;font-size:9.5pt!important;color:#000!important;border:1px solid #000!important;border-bottom:1.5px solid #000!important}.exam-report-table thead{display:table-header-group}.exam-report-table tbody{height:100%}.exam-report-table th,.exam-report-table td{height:var(--exam-row-h)!important;min-height:var(--exam-row-h)!important;padding:0 .03in!important;line-height:var(--exam-row-h)!important;font-size:9.5pt!important;color:#000!important;background:#fff!important;border:1px solid #000!important;vertical-align:middle!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.exam-report-table th{height:.24in!important;min-height:.24in!important;line-height:.24in!important;font-size:9.5pt!important;font-weight:700!important;color:#000!important;background:#fff!important}.exam-report-table tbody tr{height:var(--exam-row-h)!important;page-break-inside:avoid;break-inside:avoid}.exam-report-table tbody tr:last-child td{border-bottom:1.5px solid #000!important}.exam-report-foot{flex:0 0 auto!important;margin:.03in 0 0!important;color:#000!important;font-size:8pt!important}}@media(max-width:1440px){.page,.page-wrap{padding:20px 20px 22px}.topbar{padding:0 20px}.app-footer{padding:12px 20px 16px}.page-head{margin-bottom:16px;gap:14px}.stats-grid{gap:12px;margin-bottom:14px}.dashboard-grid{gap:12px}}@media(max-width:1400px){.sidebar{width:min(260px,86vw);flex-basis:auto;transform:translate(-105%);padding-top:calc(14px + env(safe-area-inset-top,0px));padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.sidebar.open{transform:translate(0);box-shadow:10px 0 40px #1820441a}.sidebar-backdrop{display:block}.main,.main-area{margin-left:0!important;width:100%!important;max-width:100vw!important}.menu-btn,.menu-toggle{display:grid}.page,.page-wrap{padding:16px 14px 18px}.topbar{padding:0 14px;gap:10px}.global-search{width:min(200px,34vw)}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.dashboard-grid.equal{grid-template-columns:1fr}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-actions-card .quick-grid{grid-template-columns:repeat(2,1fr)}.application-type-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-section .check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-alerts,.settings-count-row,.profile-top,.profile-personal-body{grid-template-columns:1fr}.profile-status-grid,.row{grid-template-columns:1fr 1fr}.page-head{align-items:flex-start;flex-wrap:wrap}.header-actions,.data-table .table-tools,.table-tools{flex-wrap:wrap}.data-table .table-search,.table-search{width:min(100%,260px)}.pos-pay-shell,.pos-pay-customer-row,.cashier-shell{grid-template-columns:1fr}.modal-back,.modal-backdrop{padding:12px}.modal,.customer-profile-modal,.customer-entry-modal,.modal-workflow{width:min(100%,calc(100vw - 24px));max-height:calc(100dvh - 24px)}}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.quick-actions-card .quick-grid{grid-template-columns:repeat(2,1fr)}.application-form .form-grid,.form-grid{grid-template-columns:1fr}.application-form .form-grid .span-2,.form-grid .span-2{grid-column:auto}.profile-fields,.customer-record-fields{grid-template-columns:1fr}}@media(max-width:760px){.breadcrumbs,.profile-name,.chevron,.global-search kbd,.top-divider{display:none}.topbar{padding:0 max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));padding-top:env(safe-area-inset-top,0px);height:calc(60px + env(safe-area-inset-top,0px));gap:8px}.top-actions{gap:6px;min-width:0;flex:1}.global-search{flex:1 1 auto;width:auto;min-width:0;max-width:none}.topbar .icon-button,.topbar .profile-button{flex:none;width:40px;min-width:40px;min-height:40px;padding:0}.topbar .profile-button{gap:0;justify-content:center}.page,.page-wrap{padding:14px max(12px,env(safe-area-inset-right,0px)) 18px max(12px,env(safe-area-inset-left,0px))}.page-title{font-size:23px}.page-head{flex-direction:column;align-items:stretch;gap:12px}.header-actions{width:100%;flex-wrap:wrap;display:flex;gap:8px}.header-actions .btn{flex:1 1 auto;min-height:42px;justify-content:center}.app-footer{padding:12px max(12px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px))}.app-footer span{float:none;display:block;margin-top:5px}.sidebar{overflow:hidden;max-height:100dvh}.nav-list{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;align-content:start;padding-bottom:8px}.nav-list .nav-link,.nav-list .nav-parent{height:42px;min-height:42px}.nav-sub .nav-link{height:35px;min-height:35px}.card-head,.data-table .card-head,.table-card .card-head{flex-direction:column;align-items:stretch;gap:12px;padding:14px}.data-table .table-tools,.table-tools{width:100%;display:flex;flex-wrap:wrap;gap:8px}.data-table .table-search,.table-search{width:100%;flex:1 1 100%}.data-table .table-tools .btn,.table-tools .btn{flex:1 1 auto;justify-content:center;min-height:40px}.data-table .table-footer,.table-footer{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}.data-table .table-footer>span,.table-footer>span{text-align:center}.pagination{justify-content:center;flex-wrap:wrap}.pagination button{min-width:36px;min-height:36px}.table-wrap,.data-table .table-wrap,.profile-table,.trial-class-table-wrap,.lp-register-table,.permission-matrix-scroll,.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.dashboard-lookup-form{flex-direction:column;align-items:stretch;gap:10px}.dashboard-lookup-form .btn{width:100%;min-height:44px;justify-content:center}.quick-actions-card .quick-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-value{font-size:18px;letter-spacing:-.4px;overflow-wrap:anywhere}.stat-card{padding:12px 13px}.row,.form-grid,.application-form .form-grid,.form-section .check-grid,.customer-record-fields,.settings-alerts,.settings-count-row,.section-grid,.application-type-grid,.profile-fields,.profile-notes-grid,.date-form-grid,.workflow-check-grid,.workflow-personal-grid{grid-template-columns:1fr}.form-grid .span-2,.application-form .form-grid .span-2,.date-form-grid .span-2,.profile-fields .span-2,.workflow-personal-grid .span-2{grid-column:auto}.actions{flex-wrap:wrap;gap:8px;justify-content:stretch}.actions .btn,.actions a.btn{flex:1 1 calc(50% - 8px);min-height:42px;justify-content:center}.btn{min-height:42px}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{font-size:16px;min-height:44px}.photo-preview{width:min(160px,100%);height:auto;aspect-ratio:1}.auth-card{padding:24px 18px;border-radius:16px}.auth-page{padding:max(18px,env(safe-area-inset-top,0px)) 16px max(18px,env(safe-area-inset-bottom,0px))}.developer-about-row{grid-template-columns:1fr;gap:2px 0}.profile-bill li{grid-template-columns:1fr 1fr}.profile-tabs{gap:6px}.profile-tabs .btn{flex:1 1 calc(50% - 6px);justify-content:center;min-height:40px}.reg-wizard-steps{grid-template-columns:1fr 1fr}.pos-type-grid{grid-template-columns:1fr;padding:10px}.pos-amount-row{grid-template-columns:1fr}.pos-amount-row .btn{width:100%;justify-content:center}.cashier-title{font-size:20px}.cashier-customer-list{grid-template-columns:1fr;max-height:220px}.cashier-method{min-height:40px}.application-type-grid{grid-template-columns:1fr 1fr}.customer-record-view,.customer-record-view.customer-profile-modal{width:min(100%,calc(100vw - 16px));height:min(96dvh,720px);max-height:calc(100dvh - 16px)}.modal-back,.modal-backdrop{padding:max(8px,env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) max(8px,env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));align-items:end}.modal,.customer-profile-modal,.customer-entry-modal,.modal-workflow,.app-confirm-modal,.app-status-modal{width:min(100%,calc(100vw - 16px));max-height:calc(100dvh - 16px);border-radius:16px 16px 12px 12px}.modal-head,.workflow-panel-head,.workflow-profile-footer,.workflow-entry-footer{flex-wrap:wrap}.workflow-profile-footer .btn,.workflow-entry-footer .btn,.workflow-panel-head .btn{min-height:42px}}@media(max-width:430px){.stats-grid{grid-template-columns:1fr}.top-actions{gap:4px}.global-search{max-width:52vw}.page-title{font-size:21px}.stat-value{font-size:19px}.profile-status-grid{grid-template-columns:1fr;gap:10px}.profile-status-grid>div{padding:8px 0 0;border-left:0;border-top:1px solid var(--line)}.profile-status-grid>div:first-child{padding-top:0;border-top:0}.application-type-grid,.reg-wizard-steps,.form-section .check-grid,.workflow-check-grid{grid-template-columns:1fr}.actions .btn,.actions a.btn,.profile-tabs .btn{flex:1 1 100%}.profile-bill li{grid-template-columns:1fr}.help-card{margin-bottom:12px}}@media(max-height:820px){.topbar{height:56px}.page,.page-wrap{padding-top:14px;padding-bottom:14px}.page-head{margin-bottom:12px}.page-title{font-size:22px}.stat-card{padding:12px 14px}.stat-value{font-size:20px;margin-top:8px}.card-head{padding:12px 14px}.card-body{padding:14px}.brand{padding-bottom:18px}}@media(display-mode:standalone),(display-mode:fullscreen){.shell,.main,.app-shell,.main-area{min-height:100dvh}.topbar{padding-top:env(safe-area-inset-top,0px);height:calc(68px + env(safe-area-inset-top,0px))}}@media(display-mode:standalone)and (max-height:820px),(display-mode:fullscreen)and (max-height:820px){.topbar{height:calc(56px + env(safe-area-inset-top,0px))}}a.help-card{color:inherit;text-decoration:none;cursor:pointer}a.help-card:hover{border-color:transparent;box-shadow:none;filter:brightness(.99)}a.help-card.active{outline:1px solid #cfcaf5}.help-page{max-width:880px;font-family:Noto Sans Tamil,DM Sans,sans-serif}.help-page .page-title,.help-page .page-subtitle,.help-section-title,.help-section-body,.help-toc-title,.help-toc-links a{font-family:Noto Sans Tamil,DM Sans,sans-serif}.help-dmt-legend{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;margin-bottom:12px;border-color:#b7c9f5;background:linear-gradient(180deg,#edf3ff 0%,var(--panel) 70%);font-size:13px;line-height:1.45;color:var(--text)}.help-dmt-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:42px;height:22px;padding:0 8px;border-radius:6px;font-size:11px;font-weight:800;letter-spacing:.06em;font-family:DM Sans,sans-serif;color:#fff;background:linear-gradient(135deg,#3d6fd8,#2f55b5);box-shadow:0 0 0 3px #4c78d02e}.help-dmt-badge.sm{min-width:34px;height:18px;padding:0 6px;font-size:9px;box-shadow:0 0 0 2px #4c78d029}.help-toc{padding:14px 16px;margin-bottom:14px}.help-toc-title{display:block;font-size:12px;color:var(--muted);margin-bottom:8px;letter-spacing:.04em;text-transform:uppercase}.help-toc-links{display:flex;flex-wrap:wrap;gap:8px}.help-toc-links a{font-size:12px;font-weight:600;color:var(--brand);text-decoration:none;padding:6px 10px;border-radius:8px;background:var(--brand-soft, #f0efff);border:1px solid transparent;display:inline-flex;align-items:center;gap:6px}.help-toc-links a:hover{border-color:#cfcaf5}.help-toc-links a.is-dmt{color:#2f55b5;background:#edf3ff;border-color:#c5d4f5}.help-stack{display:grid;gap:12px}.help-section{padding:16px 18px}.help-section.tone-warn{border-color:#f0d4a8;background:linear-gradient(180deg,#fff8ee 0%,var(--panel) 48%)}.help-section.tone-danger{border-color:#f0c4cb;background:linear-gradient(180deg,#fff5f7 0%,var(--panel) 48%)}.help-section.is-dmt{border-color:#9db6ef;border-left:4px solid #3d6fd8;background:linear-gradient(180deg,#eef4ff 0%,var(--panel) 42%);box-shadow:0 8px 22px #3d6fd814}.help-section-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.help-section-title{margin:0;font-size:16px;line-height:1.35}.help-section.is-dmt .help-section-title{color:#243a72}.help-section-body{color:var(--text);font-size:14px;line-height:1.55}.help-section-body p{margin:0 0 10px}.help-bullets,.help-steps{margin:0;padding-left:1.15rem;display:grid;gap:8px}.help-bullets-danger li::marker{color:var(--red, #d55464)}.help-steps.nested{margin-top:8px;gap:6px}.help-table-wrap{overflow:auto;margin:0 0 12px}.help-table{width:100%;border-collapse:collapse;font-size:13px}.help-table th,.help-table td{text-align:left;padding:8px 10px;border-bottom:1px solid var(--line)}.help-table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.help-footnote{margin:14px 0 0;font-size:12px;color:var(--muted)}.help-footnote code{font-size:11px}.dark .help-section.tone-warn,.dark .help-section.tone-danger,.dark .help-section.is-dmt,.dark .help-dmt-legend{background:var(--panel)}.dark .help-section.is-dmt .help-section-title{color:#c5d6ff}.dark .help-card{background:#6659d91f}@media(max-width:720px){.help-section{padding:14px}.help-toc-links a{font-size:11px}.help-toc-links{gap:6px}.settings-tabs{display:flex;flex-wrap:wrap;gap:8px}.settings-tabs .btn{flex:1 1 calc(50% - 8px);justify-content:center;min-height:40px}}@media(max-width:430px){.settings-tabs .btn{flex:1 1 100%}}
