/* AGCS 465: shared visual system. Business, print and dialog state rules stay in their existing files. */
:root{--bg:#f3f5f9;--surface:#fff;--surface-2:#f7f9fc;--ink:#18283f;--muted:#61718a;--line:#dfe5ee;--primary:#245fe5;--primary-dark:#1948b7;--nav:#101d34;--nav-2:#192b48;--success:#13805c;--warning:#b76a0b;--danger:#be3346;--radius:16px;--shadow:0 12px 36px #18283f0d}
@media screen{
html{color-scheme:light}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.45}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7da8ff;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #739fff;outline-offset:1px}
.app-shell .sidebar{background:#101d34!important;border-right:1px solid #ffffff0b;box-shadow:none!important;padding:20px 14px 14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#40516c transparent}
.app-shell .sidebar::before,.app-shell .sidebar::after{display:none!important}.sidebar .brand{padding:0 8px 20px}.sidebar .brand-logo{max-width:190px;max-height:82px;object-fit:contain}.sidebar .main-nav{gap:3px}.sidebar .nav-section-label{color:#8b9db9;font-size:10px;letter-spacing:.13em;margin:18px 12px 6px}.sidebar .nav-item{min-height:41px;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:600;gap:10px;color:#b9c6db;background:transparent;box-shadow:none;border:1px solid transparent}.sidebar .nav-item.active{background:#243958!important;color:#fff!important;border-color:#ffffff14;box-shadow:inset 3px 0 #83aaff!important}.sidebar .nav-item:hover{background:#1c2c47!important;color:#fff}.sidebar .nav-icon{display:grid;place-items:center;flex:0 0 20px;width:20px}.gui-icon{width:19px;height:19px;display:block;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}.sidebar .nav-item em{background:#36527d;color:#fff;font-size:10px}.sidebar .sidebar-section{margin-top:18px}.sidebar .sidebar-footer{padding:14px 6px 0;margin-top:20px}.sidebar .profile-chip{padding:10px 0}.sidebar .avatar{border-radius:12px;background:#2c4265;color:#e6efff}.sidebar .sidebar-link{font-size:11px;border-radius:8px;padding:7px 5px;color:#aebed6}.sidebar .sidebar-link:hover{background:#1c2c47}.sidebar .sidebar-app-meta{font-size:9px;opacity:.7;line-height:1.6;border:0;background:transparent;box-shadow:none;padding:10px 0 0}
.gui-nav-search{display:flex;align-items:center;gap:8px;margin:0 7px 10px;padding:8px 10px;border:1px solid #ffffff1f;border-radius:9px;background:#ffffff06;color:#8fa4c4}.gui-nav-search input{width:100%;min-width:0;background:none;border:0;color:#fff;font:inherit;font-size:11px;outline:none;padding:2px 0}.gui-nav-search input::placeholder{color:#91a3bf}.gui-nav-search:focus-within{border-color:#7da8ff}.gui-nav-empty{margin:12px;color:#afbdd2;font-size:12px}.sidebar .gui-nav-search .gui-icon{width:15px;flex-shrink:0}
.app-shell .main-content{padding-right:28px;padding-left:28px}.app-shell .topbar{height:96px;background:var(--bg)!important;backdrop-filter:none;box-shadow:none!important;border-bottom:1px solid var(--line)}.topbar h1{font-size:26px!important;font-weight:750;letter-spacing:-.045em}.topbar .eyebrow{font-size:9px;letter-spacing:.1em;color:#62728b}.topbar #pageSubtitle{font-size:12px;color:var(--muted)}.topbar-actions{gap:8px}.topbar .icon-button{box-shadow:none;background:#fff}.gui-today{display:flex;align-items:center;gap:7px;color:#65748a;font-size:11px;margin-right:7px;white-space:nowrap}.gui-today .gui-icon{width:16px}.view{padding-top:24px}.view h2{letter-spacing:-.025em}.view h3{letter-spacing:-.015em}
.app-shell :is(.panel,.workspace,.stat-card,.installation-card-panel,.invoice-generator-shell,.knowledge-list-panel,.knowledge-reader,.ftth-panel,.payroll-register-panel,.employee-clock-board-panel){border-color:var(--line);border-radius:var(--radius);box-shadow:0 3px 16px #18283f04;background:#fff}.app-shell .panel{padding:22px}.panel-head{margin-bottom:18px;align-items:center}.panel-head h2{font-size:18px}.eyebrow{color:var(--primary);font-size:10px;letter-spacing:.1em}.stat-grid{gap:14px}.stat-card{padding:18px 20px}.stat-value{font-size:32px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.stat-card-head{font-size:12px}.stat-icon{border-radius:10px;background:#edf3ff}.stat-foot{font-size:11px}.overview-hero,.payroll-hero,.ftth-hero{background:#fff!important;border:1px solid var(--line)!important;border-left:4px solid var(--primary)!important;border-radius:16px!important;box-shadow:none!important;color:var(--ink)!important;padding:24px!important}.overview-hero::before,.overview-hero::after{display:none!important}.overview-hero h2,.payroll-hero h2,.ftth-hero h2{color:var(--ink)!important;font-size:27px!important;letter-spacing:-.04em}.overview-hero-copy>p:last-child,.payroll-hero-copy p{color:var(--muted)!important}.overview-hero-status{background:#ecf7f1!important;color:#17724f!important;border:1px solid #cde7d9!important;border-radius:10px!important;box-shadow:none!important}.overview-hero-status small{color:#36765b!important}.overview-live-dot{background:#16815b!important;box-shadow:none!important;animation:none!important}
.primary-button,.portal-primary{background:var(--primary)!important;border:1px solid var(--primary)!important;border-radius:10px!important;box-shadow:0 3px 8px #245fe516!important;font-weight:650;min-height:38px}.primary-button:hover,.portal-primary:hover{background:var(--primary-dark)!important;border-color:var(--primary-dark)!important}.secondary-button,.icon-button,.mini-button{background:#fff;border-color:#d9e1ed;border-radius:9px;font-weight:650;box-shadow:none;min-height:34px}.secondary-button:hover,.mini-button:hover{background:#f2f6fc;border-color:#a8bfdf}.danger-button{border-radius:9px;box-shadow:none}.text-button{font-weight:650}.primary-button:disabled,.secondary-button:disabled{opacity:.55}.app-shell :is(.modal-form,.form-grid,.stack-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){border:1px solid #d6dfeb;border-radius:10px;background:#fff;color:var(--ink);font-size:13px;padding:11px 12px}.app-shell :is(.modal-form,.form-grid,.stack-form) label>span{color:#40516a;font-size:12px;font-weight:650}.form-section{background:#f7f9fc;border-color:var(--line);border-radius:12px}.form-section>h3{font-size:14px;color:var(--ink)}
.modal-backdrop{background:#0c1b33a6;backdrop-filter:none!important}.modal-card{border:1px solid #dae3ef;border-radius:20px!important;box-shadow:0 30px 90px #101d3440!important}.modal-head,.modal-header{background:#fff!important;border-bottom:1px solid var(--line)!important;padding:22px 24px!important}.modal-head h2,.modal-header h2{font-size:23px!important;letter-spacing:-.035em}.modal-footer,.modal-actions{border-top-color:var(--line);background:#f8fafc}.modal-head .eyebrow,.modal-header .eyebrow{color:#6c7d96}.task-details-backdrop{backdrop-filter:none!important}#view-tasks .task-detail-dialog-nav{background:#f7f9fc!important;backdrop-filter:none!important;box-shadow:none!important}.task-pane .toolbar{background:#f7f9fc;padding:12px;gap:8px}.task-tabs{padding:11px 14px;gap:5px}.task-tab{border-radius:8px;font-size:12px}.task-tab.active{background:#edf3ff;color:#245fe5}.task-card{padding:13px 12px;margin:3px 0;border-bottom:1px solid #edf1f6}.task-card.selected{background:#f0f5ff;border-color:#c7d8f7}.task-title{font-size:14px;font-weight:650}.task-description-preview{font-size:12px}.task-meta{font-size:10px;gap:10px}.task-summary-row .mini-stat{padding:12px 15px;box-shadow:none}.mini-stat strong{font-variant-numeric:tabular-nums}.detail-section h3{font-size:13px;color:#243d5b}.description-text{font-size:13px;line-height:1.7}.badge{font-size:10px;padding:4px 8px}
:is(.data-table,.collection-table,.installation-table,.payroll-table,.payment-approval-table,.collector-tally-table,.collector-totals-table,.sms-history-table) th{background:#f4f7fb!important;color:#566b87!important;font-size:10px;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #dce5f0}.table-wrap,.collection-table-wrap,.installation-table-wrap{border:1px solid var(--line);border-radius:12px}.data-table td{font-size:12px;padding:13px 12px;border-color:#e9eef5}.data-table tbody tr:hover{background:#f8faff}.data-table :is(td,th){font-variant-numeric:tabular-nums}.status-pill{font-size:10px!important;font-weight:750;border-radius:6px!important;box-shadow:none!important}
/* Collections: preserve the table dimensions, frozen columns and warning meaning. */
#view-collections .collection-simple-nav{padding:8px;background:#e9eef6;border:1px solid #dce4ef;border-radius:14px;box-shadow:none}#view-collections .collection-simple-tab{padding:13px 15px;border:1px solid transparent;border-radius:10px;background:transparent;box-shadow:none;color:#576b89}#view-collections .collection-simple-tab.active{background:#fff;border-color:#d6e1f1;box-shadow:0 2px 7px #18283f08}#view-collections .collection-simple-tab strong{font-size:13px}#view-collections .collection-simple-tab small{font-size:11px}#view-collections .collector-sheet-hero h2{font-size:27px}#view-collections .collector-overview-toolbar{background:#f7f9fc;border-color:#e1e7f0;border-radius:12px;padding:16px;gap:12px}#view-collections .collector-overview-search-hint{color:#62718a}#view-collections .collector-overview-stats-top .collection-stat{background:#fff;border-color:#dfe5ee;box-shadow:none;padding:13px 14px;border-radius:11px}#view-collections .collection-stat strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em}#view-collections .collector-due-analytics{background:#f9fbfd;border:1px solid var(--line);box-shadow:none}#view-collections .collector-sheet-quick-views button{border-radius:8px;min-height:34px}#view-collections .collector-overview-table thead th{background:#edf2f9;color:#526b90;letter-spacing:.08em;font-size:10px}#view-collections .collector-overview-table thead th:nth-child(-n+2){background:#142541;color:#fff}#view-collections .collector-overview-table thead th.current-month-cell{background:#e1ebfe;color:#244b95}#view-collections .collector-overview-table .collector-status-select{border-radius:7px;min-height:34px;font-size:11px;box-shadow:none}#view-collections .collector-customer-identity .collector-customer-edit-link{font-size:13px;font-weight:750;color:#182d4b}#view-collections .collector-customer-area{color:#334c70}#view-collections .collector-recorded-by{color:#425a7a;font-size:11px}#view-collections .collector-overview-table .mini-button{font-size:10px;padding:6px 8px;min-height:28px;border-radius:7px}#view-collections .collector-dc-prompt{box-shadow:none;border-radius:8px}#view-collections .collector-tally-panel,#view-collections .collector-totals-panel{background:#fff;border-color:var(--line);box-shadow:none}.payment-review-toolbar{background:#f7f9fc;border-color:var(--line);border-radius:12px}.payment-review-summary{gap:8px}.payment-review-summary>span{border-radius:9px;box-shadow:none}.payment-batch-actions{gap:8px}.payment-batch-actions button{min-height:40px}
/* Service, chat, people, invoices, mapping and administration share the same surfaces. */
.guest-support-inbox,.member-chat-layout{border-color:var(--line);border-radius:16px;box-shadow:none}.guest-support-threads-panel,.member-chat-contacts{background:#f7f9fc}.guest-support-thread.active{background:#eaf1ff;box-shadow:inset 3px 0 #245fe5}.guest-support-contact,.member-chat-thread-header{background:#fff;border-bottom-color:var(--line)}.guest-support-compose,.member-chat-compose{background:#f8fafc;border-top-color:var(--line)}.guest-support-conversation .client-portal-staff-messages,.member-chat-messages{background:#f9fbfd}.member-chat-launcher{box-shadow:0 6px 20px #14254126!important}.installation-kpi-card{border-radius:12px;box-shadow:none}.installation-kpi-value{font-size:28px;font-variant-numeric:tabular-nums}.installation-top-bar,.invoice-generator-header{border-bottom:1px solid var(--line);padding-bottom:18px}.installation-nav-tabs,.ftth-tabs,.mapping-tabs,.timeclock-workspace-tabs{background:#edf1f7;border:1px solid #e0e6ee;border-radius:11px;padding:5px;gap:5px;box-shadow:none}.installation-nav-tab,.ftth-tab,.mapping-tabs button,.timeclock-workspace-tab{border-radius:8px;box-shadow:none;font-size:12px}.employee-card,.upcoming-card,.knowledge-card{border:1px solid var(--line);border-radius:12px;box-shadow:none}.invoice-editor-section,.receipt-designer-preview{border-color:var(--line);border-radius:12px}.mapping-map-panel,.ftth-map-card{border-radius:14px;box-shadow:none;border-color:var(--line)}.sms-panel>details{background:#f8fafc;border-color:var(--line);border-radius:12px}.sms-panel summary{font-size:13px;color:#304b71}.sms-panel .sms-provider{box-shadow:none;border-radius:10px}.popover{border-color:var(--line);border-radius:14px;box-shadow:0 16px 44px #18283f1a}.toast{border-radius:12px;box-shadow:0 8px 25px #18283f18}
/* Public access */
.auth-layout{background:#f2f5fa!important;min-height:100dvh}.auth-layout .auth-visual{background:radial-gradient(ellipse at 0 0,#274d82 0,transparent 65%),#11233f!important;box-shadow:none!important;padding:48px!important}.auth-layout .auth-visual::before,.auth-layout .auth-visual::after{display:none!important}.auth-layout .visual-content{max-width:620px!important;gap:26px!important}.auth-layout .brand{padding:0!important;margin-bottom:0!important}.auth-layout .brand-logo{width:230px!important;max-height:100px;object-fit:contain}.auth-layout .visual-copy{margin:0!important}.auth-layout .visual-copy .eyebrow{color:#9dc1ff!important;font-size:10px!important;letter-spacing:.16em}.auth-layout .visual-copy h1{font-size:clamp(38px,4.3vw,64px)!important;line-height:1.08!important;letter-spacing:-.05em!important;max-width:600px!important;margin:18px 0!important}.auth-layout .visual-copy h1 span{display:block!important}.auth-layout .visual-copy h1 span:last-child{color:#9dc1ff}.auth-layout .visual-copy>p:last-child{font-size:15px!important;color:#c2d0e4!important;line-height:1.75;max-width:470px}.auth-layout .feature-list{display:none!important}.auth-layout .auth-panel{padding:46px 32px!important;background:#f2f5fa!important}.auth-layout .auth-card{max-width:470px!important;width:100%;padding:34px!important;border:1px solid #dce5f1!important;border-radius:22px!important;box-shadow:0 14px 44px #16294b0a!important;background:#fff!important}.auth-layout .auth-heading h2{font-size:31px!important;line-height:1.15;letter-spacing:-.04em!important;color:#142541!important;margin:9px 0 12px}.auth-layout .auth-heading>p:last-child{font-size:13px;color:#677894}.auth-layout .auth-tabs{background:#edf2f8!important;border:0!important;padding:5px!important;border-radius:10px!important;margin-top:25px}.auth-layout .auth-tabs a{border-radius:7px!important;font-size:13px!important;padding:10px!important;box-shadow:none!important}.auth-layout .auth-tabs a.active{background:#fff!important;color:#245fe5!important;box-shadow:0 2px 6px #172b480c!important}.auth-layout .auth-form{gap:18px!important}.auth-layout .auth-form label>span{font-size:12px;color:#3e536f;font-weight:650}.auth-layout .auth-form input{font-size:15px!important;min-height:48px;border:1px solid #d4dfef!important;border-radius:10px!important;background:#fbfcff!important;padding:12px 14px!important}.auth-layout .auth-cta-button{min-height:49px!important;border-radius:10px!important;background:#245fe5!important;animation:none!important;box-shadow:0 4px 12px #245fe51c!important}.auth-layout .auth-cta-button::before{display:none}.auth-layout .auth-install-open{margin:0!important;border-radius:14px!important;background:#ffffff09!important;border:1px solid #ffffff26!important;box-shadow:none!important;padding:17px!important}.auth-layout .auth-install-open-icon{background:#d4ee91!important;color:#203711!important;box-shadow:none!important;width:44px!important;height:44px!important;border-radius:12px!important}.auth-layout .auth-install-open-copy strong{font-size:15px!important;color:#fff}.auth-layout .auth-install-open-copy small{font-size:12px!important;color:#bdcde4!important}.auth-layout .auth-install-open-action{font-size:11px!important;min-height:34px!important;padding:8px 12px!important;background:#fff!important;color:#193b75!important;box-shadow:none!important;border-radius:8px!important}.auth-layout .auth-contact-card{background:#fff!important;border:1px solid #dce5f2!important;border-radius:16px!important;box-shadow:none!important;padding:20px!important;margin:0!important}.auth-contact-heading strong{font-size:20px!important;color:#172e50!important;letter-spacing:-.02em}.auth-contact-kicker{font-size:9px!important;letter-spacing:.1em;color:#5e78a0!important}.auth-contact-intro{font-size:12px!important;color:#677894!important;margin:8px 0 14px!important}.auth-contact-mark{width:34px!important;height:34px!important;background:#edf3ff!important;color:#245fe5!important;box-shadow:none!important}.auth-contact-facebook{background:#edf3ff!important;border:1px solid #d9e5fa!important;border-radius:11px!important;box-shadow:none!important;padding:12px!important;color:#204880!important}.auth-contact-facebook small{color:#57749e!important;font-size:10px!important}.auth-contact-facebook strong{font-size:13px!important;color:#204880!important}.auth-contact-icon{width:35px!important;height:35px!important;border-radius:9px!important;background:#245fe5!important;color:#fff!important;box-shadow:none!important}.auth-contact-links{gap:10px!important;margin-top:10px!important}.auth-contact-links>a{background:#f8fafd!important;border:1px solid #e2e9f3!important;border-radius:10px!important;padding:11px!important;box-shadow:none!important}.auth-contact-link-copy strong{font-size:12px!important;color:#243d60!important;overflow-wrap:anywhere}.auth-contact-link-copy small{font-size:9px!important;color:#69809f!important}.auth-contact-link-icon{background:#eaf0f8!important;color:#3b5d8e!important;box-shadow:none!important;width:28px!important;height:28px!important}.auth-layout .app-download-card{border:1px solid #e2e8f3!important;background:#f8fafd!important;box-shadow:none!important;border-radius:12px!important;padding:12px!important}.app-download-copy strong{font-size:12px!important}.app-download-copy small{font-size:10px!important}.auth-help-links{gap:8px}.auth-help-links a{font-size:12px!important;border-radius:9px!important}.auth-layout .persistent-login-note{font-size:10px!important;color:#688099!important}.auth-layout .switch-copy{font-size:12px!important}.auth-installation-dialog{background:#0c1b33a6!important;backdrop-filter:none!important}.auth-installation-dialog-inner{border-radius:20px!important;border-color:#dce5ef!important;box-shadow:0 25px 80px #0d21383d!important}.auth-installation{background:#fff!important;color:#18283f!important}.auth-installation h2{color:#18283f!important;font-size:27px!important}.auth-install-form label{color:#3c5475!important}.auth-install-form :is(input,select,textarea){font-size:16px!important;border-radius:10px!important;border-color:#d8e2f0!important}.auth-install-submit{background:#245fe5!important;color:#fff!important;border:0!important;box-shadow:none!important;border-radius:10px!important}
.login-support-panel{border:1px solid #d5e1f0!important;border-radius:17px!important;box-shadow:0 18px 60px #11254126!important}.login-support-panel>header{background:#172e50!important;color:#fff!important;padding:16px 18px!important}.login-support-messages,.login-support-intake-messages{background:#f5f8fc!important}.login-support-panel :is(input,textarea){font-size:16px!important;border-radius:10px!important}.login-support-launcher{background:#245fe5!important;border-radius:999px!important;box-shadow:0 5px 20px #245fe52b!important;padding:13px 18px!important;font-size:13px!important}.login-support-contact{background:#fff!important;border-bottom:1px solid #e0e7f1!important}.login-support-contact-actions>a{border-radius:8px!important;box-shadow:none!important}.app-footer{font-size:10px!important;color:#6f819b!important;background:#f2f5fa!important;border-top:1px solid #e3e9f2!important}
/* Customer portal */
.portal-shell{max-width:1240px}.portal-header{border-bottom:1px solid #dee6f1;background:transparent;box-shadow:none}.portal-login-copy{background:#142541!important;border-radius:20px!important;color:#fff!important}.portal-login-copy h1{font-size:clamp(32px,4vw,52px);letter-spacing:-.045em}.portal-login-card,.portal-card{background:#fff;border:1px solid #dfe6f1;border-radius:16px!important;box-shadow:0 5px 20px #14254105!important}.portal-login-card input{background:#f9fbfe;border:1px solid #d6e0f0;border-radius:10px;font-size:16px}.portal-card-head h2{font-size:18px;letter-spacing:-.02em}.portal-table-wrap th{background:#f2f6fb;color:#567193;font-size:10px;letter-spacing:.06em}.portal-chat-float-head{background:#172e50!important}.portal-chat-float{border-radius:17px!important;box-shadow:0 20px 60px #14254126!important}
@media(min-width:881px){body.desktop-sidebar-collapsed .gui-nav-search,body.ftth-view-active:not(.ftth-sidebar-expanded) .gui-nav-search{display:none}body.desktop-sidebar-collapsed .sidebar .brand{padding:0 0 14px}.sidebar .sidebar-app-meta strong{font-size:9px}}
@media(max-width:1200px){.gui-today{display:none}.auth-layout .auth-visual{padding:32px!important}.auth-layout .auth-panel{padding:32px 20px!important}.auth-layout .visual-copy h1{font-size:44px!important}}
@media(max-width:1050px){.auth-layout{display:flex!important;flex-direction:column!important}.auth-layout .auth-visual{display:none!important}.auth-layout .auth-panel{display:flex!important;flex-direction:column!important;gap:18px!important;align-items:center!important;justify-content:flex-start!important;padding:24px 20px 90px!important}.auth-layout .auth-contact-mobile{display:block!important;width:min(470px,100%)!important;order:-1}.auth-layout .auth-contact-desktop{display:none!important}.auth-layout .auth-mobile-brand{display:block}.auth-layout .auth-card{max-width:470px!important}.auth-layout .auth-heading h2{font-size:29px!important}}
@media(max-width:880px){.app-shell .main-content{padding:0 16px 100px!important}.app-shell .topbar{height:82px!important;gap:8px}.topbar h1{font-size:21px!important}.topbar #pageEyebrow{font-size:8px}.topbar #pageSubtitle{font-size:10px;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar-actions{gap:6px}.topbar-actions .primary-button{padding:8px 11px;min-height:38px}.app-shell .panel{padding:16px}.view{padding-top:18px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px}.stat-value{font-size:27px}.app-shell .overview-hero{padding:18px!important;gap:15px}.overview-hero h2{font-size:23px!important}.overview-hero-copy>p:last-child{font-size:12px}.overview-grid{grid-template-columns:1fr}.sidebar .gui-nav-search{padding:12px}.sidebar .gui-nav-search input{font-size:16px}.sidebar .nav-item{min-height:46px}.mobile-app-nav{background:#fff!important;border:1px solid #dce5f0!important;box-shadow:0 -3px 18px #18283f08!important;backdrop-filter:none!important}.mobile-app-nav-item{color:#73839b!important}.mobile-app-nav-item.active{background:#ecf2ff!important;color:#245fe5!important}.mobile-app-nav-item small{font-size:10px}.guest-support-inbox{height:calc(100dvh - 215px)}.modal-head,.modal-header{padding:18px!important}.modal-head h2,.modal-header h2{font-size:21px!important}.modal-form{padding:16px}.app-shell :is(.modal-form,.form-grid,.stack-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px}#view-collections .collector-sheet-hero h2{font-size:23px}#view-collections .collection-simple-tab{padding:11px}#view-collections .collector-overview-toolbar{padding:12px}.payment-batch-actions{flex-wrap:wrap}.payment-batch-actions button{min-height:44px}.member-chat-thread{min-width:0}.sms-form-grid{grid-template-columns:1fr}}
@media(max-width:560px){.auth-layout .auth-panel{padding:16px 14px 88px!important;gap:14px!important}.auth-layout .auth-card{padding:24px!important;border-radius:16px!important}.auth-layout .auth-contact-card{padding:16px!important}.auth-contact-links{grid-template-columns:1fr!important}.auth-contact-heading strong{font-size:19px!important}.login-support-panel{left:10px!important;right:10px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 88px)!important;bottom:76px!important}.login-support-panel>header{padding:13px 15px!important}.login-support-launcher{right:14px!important;bottom:14px!important}.auth-help-links{flex-wrap:wrap}.modal-footer,.modal-actions{flex-wrap:wrap;gap:8px}.stat-card-head{font-size:11px}.stat-icon{width:29px;height:29px}.upcoming-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gui-today{display:none}.topbar-actions .icon-button{width:35px;height:35px}.overview-hero-status{font-size:10px}.guest-support-module-head{align-items:flex-start;flex-wrap:wrap}.guest-support-module-head h2{font-size:22px}.installation-kpi-grid{gap:9px}.portal-login-card,.portal-card{padding:20px}.portal-login-copy{padding:26px}.portal-dashboard-head h1{font-size:27px}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.primary-button,.secondary-button,.nav-item,.auth-install-open{transition:background-color .16s,border-color .16s,box-shadow .16s}.auth-layout .auth-install-open:hover{border-color:#acc8ff!important;transform:translateY(-2px)}.auth-layout .auth-install-open:hover .auth-install-open-action{background:#dceaff!important}.stat-card:hover{border-color:#c4d3e9}}
@media(prefers-reduced-motion:reduce){.auth-layout .auth-install-open,.auth-layout .auth-cta-button{animation:none!important;transition:none!important;transform:none!important}.overview-live-dot{animation:none!important}}
}
@media screen{.sidebar .nav-item[hidden],.sidebar .nav-section-label[hidden]{display:none!important}}
@media screen{
.sidebar .gui-nav-search input{background:transparent!important;border:0!important;box-shadow:none!important;min-height:0!important;height:auto!important;padding:2px 0!important;color:#eaf1ff!important;border-radius:0!important}
.overview-hero .eyebrow{color:#4c6da0!important}.compact-task strong{font-size:12px}.compact-task small{font-size:11px;color:#63748d}.compact-task{grid-template-columns:minmax(0,1fr) auto}.compact-task>small{grid-column:1;grid-row:2}.compact-task>.badge{grid-column:2;grid-row:1/3}
@media(max-width:560px){.login-support-launcher{width:auto!important;height:44px!important;min-height:44px!important;max-width:calc(100vw - 28px)!important;padding:0 14px!important;white-space:nowrap!important;overflow:visible!important}}
}

@media screen{.receipt-designer-fields [hidden]{display:none!important}.receipt-shared-settings{padding:16px;border:1px solid #dce5f1;border-radius:12px;margin-bottom:18px;background:#f8faff}.receipt-shared-settings h3{margin:0 0 6px}.receipt-shared-settings>label{display:grid;gap:8px;margin:14px 0}.receipt-editor-tabs{display:flex;gap:8px;padding:5px;border:1px solid #dce5f1;border-radius:12px;background:#f3f6fc}.receipt-editor-tabs button{flex:1;border:0;border-radius:9px;padding:12px;color:#4d6284;background:transparent;font-weight:750;cursor:pointer}.receipt-editor-tabs button.active{color:#1757cb;background:#fff;box-shadow:0 2px 8px #223c6614}.receipt-invoice-customizer{border:1px solid #cfddf2;border-radius:12px;padding:16px}.receipt-invoice-customizer summary{font-size:17px;font-weight:800;color:#153866}.receipt-designer-preview{align-self:start;position:sticky;top:18px;min-width:0}.receipt-designer-paper{max-height:75vh;overflow:auto}.receipt-designer-layout{grid-template-columns:minmax(0,1fr) 310px}.receipt-designer-grid>label{min-width:0}.receipt-designer-grid input{min-width:0}@media(max-width:1000px){.receipt-designer-layout{grid-template-columns:minmax(0,1fr)}.receipt-designer-preview{position:static}}}

/* Workspace task type editor: compact desktop rows and stacked mobile labels. */
.admin-task-type-rows{display:grid;gap:12px;margin:18px 0}
.admin-task-type-row{display:grid;grid-template-columns:minmax(150px,1fr) 64px 105px 110px 100px;gap:12px;align-items:end;padding:14px;border:1px solid #dbe5f5;border-radius:12px;background:#fff}
.admin-task-type-row label{display:grid;gap:6px;font-size:13px;font-weight:600;min-width:0}
.admin-task-type-row input,.admin-task-type-row select{width:100%;min-width:0;padding:8px;min-height:40px}
.admin-task-type-row input[type=color]{padding:4px;cursor:pointer}
.admin-task-type-row .admin-task-type-active{display:flex;align-items:center;align-self:center}
.admin-task-type-row input[type=checkbox]{width:18px;min-height:18px;margin:0}
.admin-task-type-order{display:flex;gap:6px}.admin-task-type-order button{padding:8px 12px;min-height:40px}
.admin-task-type-code{grid-column:1/-1;color:#64748b;font-size:11px}
@media(max-width:700px){.admin-task-type-row{grid-template-columns:minmax(0,1fr) 60px}.admin-task-type-row label:first-child{grid-column:1/-1}.admin-task-type-code{grid-column:1/-1}.admin-task-type-active{min-height:40px}}

/* Settings must shrink to the modal width instead of their content's intrinsic width. */
#settingsModal .modal{width:min(720px,calc(100vw - 24px));min-width:0;max-width:calc(100vw - 24px)}
#settingsForm{grid-template-columns:minmax(0,1fr);min-width:0;width:100%;max-width:100%}
#settingsForm>*{min-width:0;max-width:100%}
#settingsForm :is(section,label,input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
#settingsForm :is(p,small,h3,label){overflow-wrap:anywhere}
#settingsForm .toolbar{display:flex;flex-wrap:wrap;gap:8px;min-width:0;width:100%;padding:0;background:transparent}
#settingsForm .toolbar button{min-width:0;max-width:100%;white-space:normal}
#settingsForm>.modal-footer{display:flex;flex-wrap:wrap;justify-content:flex-end;min-width:0;width:100%;max-width:100%;margin-inline:0;padding-inline:0}
#settingsForm>.modal-footer button{min-width:0;max-width:100%;white-space:normal}
#adminTaskTypesPanel{container-type:inline-size}
#adminTaskTypeRows{min-width:0;width:100%;max-width:100%}
#adminTaskTypeRows .admin-task-type-row{width:100%;min-width:0;max-width:100%;grid-template-columns:minmax(0,1fr) 56px 90px;gap:10px;padding:12px}
#adminTaskTypeRows .admin-task-type-row label{min-width:0;max-width:100%}
#adminTaskTypeRows .admin-task-type-row :is(input,select){min-width:0;width:100%;max-width:100%;font-size:14px}
#adminTaskTypeRows .admin-task-type-row input[type=color]{height:42px;padding:4px}
#adminTaskTypeRows .admin-task-type-active{grid-column:1/3;justify-self:start;min-height:40px}
#adminTaskTypeRows .admin-task-type-active input{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0}
#adminTaskTypeRows .admin-task-type-order{grid-column:3;justify-self:end;gap:6px;min-width:0}
#adminTaskTypeRows .admin-task-type-order button{width:40px;min-width:40px;min-height:40px;padding:7px}
#adminTaskTypeRows .admin-task-type-code{grid-column:1/-1;min-width:0;overflow-wrap:anywhere}
@container (min-width:620px){#adminTaskTypeRows .admin-task-type-row{grid-template-columns:minmax(0,1fr) 56px 90px 105px 86px}#adminTaskTypeRows .admin-task-type-active{grid-column:4}#adminTaskTypeRows .admin-task-type-order{grid-column:5}}
@container (max-width:390px){#adminTaskTypeRows .admin-task-type-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#adminTaskTypeRows .admin-task-type-row label:first-child{grid-column:1/-1}#adminTaskTypeRows .admin-task-type-active{grid-column:1}#adminTaskTypeRows .admin-task-type-order{grid-column:2}}
@media(max-width:480px){#settingsModal .modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px)}#settingsForm{padding:14px}#settingsForm>.modal-footer button{flex:1 1 0;padding-inline:8px}#adminTaskTypesPanel{padding:12px}#settingsForm .toolbar button{flex:1 1 140px}#adminTaskTypeRows .admin-task-type-row :is(input,select){font-size:16px}}
