/* Fresh presentation layer inspired by the existing Franchise visual theme. */
:root{--primary:#218c80;--primary-dark:#176e65;--ink:#182d36;--muted:#74818b;--line:#e8edef;--surface:#f5f7f9;--teal-bg:#e9f6f3;--shadow:0 3px 14px rgba(30,58,65,.025)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px;background:var(--surface);line-height:1.5}button,input,select{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed}button{color:inherit}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.25}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5ac8b9;outline-offset:4px}[hidden]{display:none!important}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:9px;width:40px;height:40px}.icon-button:hover{background:var(--teal-bg)}.button{min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:12px 19px;border-radius:8px;border:1px solid transparent;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--primary);color:#fff;box-shadow:0 3px 6px #218c8014}.primary:hover{background:var(--primary-dark)}.button>span[aria-hidden]{font-size:21px;font-weight:400;line-height:1}.text-button{border:0;background:transparent;color:var(--primary);padding:0;font-size:13px;font-weight:600}.text-button:hover{text-decoration:underline}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--primary)}.eyebrow.light{color:#c5e9e4}.muted{color:var(--muted)}.teal-text,.positive{color:var(--primary)}.warning{color:#ad761c}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:5px;font-size:10px;font-weight:600;white-space:nowrap}.teal{background:#e8f5f2;color:#218c80}.blue{background:#edf3fe;color:#557bc7}.amber{background:#fff5e3;color:#af771b}.purple{background:#f2edfc;color:#865bbb}.green{background:#eaf6ec;color:#548662}.neutral{background:#f1f4f6;color:#73808b}.white-badge{background:#ffffff21;color:white}.preview-label{font-size:10px;border:1px solid #dce6e5;border-radius:5px;padding:4px 8px;white-space:nowrap;color:#6b8080}.live-dot{height:6px;width:6px;display:inline-block;border-radius:50%;background:#68c8a7;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link{position:fixed;left:12px;top:-80px;background:white;z-index:100;padding:12px}.skip-link:focus{top:12px}
/* Login */
.login-page{background:#fff}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:46px 52px;min-height:740px;color:#fff}.story-photo,.story-shade{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}.story-photo{object-position:43% center}.story-shade{background:linear-gradient(180deg,rgba(9,39,45,.52),rgba(9,37,44,.15) 30%,rgba(5,42,43,.91) 85%)}.story-top,.story-content,.story-footer{position:relative;z-index:1}.story-top{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:2px;font-weight:600}.story-mark{display:grid;place-items:center;width:39px;height:39px;background:#ffffff1c;border:1px solid #ffffff45;border-radius:50%}.story-content{margin-top:auto;padding-top:150px;max-width:510px}.story-content h1{font-size:clamp(32px,3.65vw,54px);font-weight:600;letter-spacing:-1.6px;margin:18px 0 22px;line-height:1.13}.story-content p{font-size:15px;line-height:1.85;color:#d4e5e5;max-width:390px}.story-features{display:flex;flex-wrap:wrap;gap:22px;font-size:11px;color:#e1efee;margin-top:30px}.story-features span:before{content:"✓";color:#80ddc4;margin-right:7px}.story-footer{font-size:10px;letter-spacing:.4px;color:#b2c9c8;padding-top:64px}.login-panel{padding:34px 42px 22px;display:flex;flex-direction:column}.login-top{display:flex;justify-content:space-between;align-items:center}.login-content{width:100%;max-width:390px;margin:auto;padding:55px 0}.login-logo{width:205px;height:auto;margin-bottom:47px}.login-intro h2{font-size:35px;font-weight:650;letter-spacing:-1px;margin:9px 0 10px}.login-intro>p{font-size:13px;color:var(--muted);margin-bottom:30px;line-height:1.75}#loginForm>label{display:block;font-size:12px;font-weight:600;margin:19px 0 9px}.input-icon{position:relative;display:flex;align-items:center}.input-icon>.icon{position:absolute;left:14px;width:18px;color:#95a3a8}.input-icon input{width:100%;height:49px;border:1px solid #dde5e8;border-radius:7px;padding:0 43px;font-size:12px;color:var(--ink);background:#fff}.input-icon input::placeholder{color:#99a3ad}.input-icon input:focus{border-color:var(--primary)}.password-toggle{position:absolute;right:5px;color:#86959e}.password-toggle .icon{width:18px}.login-options{display:flex;align-items:center;justify-content:space-between;margin:21px 0 26px;gap:10px}.check-label{display:flex;align-items:center;gap:7px;font-size:12px;color:#63747c}.check-label input{accent-color:var(--primary);width:15px;height:15px;margin:0}.login-options .text-button{font-size:12px}.login-submit{width:100%;justify-content:space-between;padding-left:20px;padding-right:20px;height:48px}.preview-entry{margin-top:25px;padding:17px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted)}.preview-entry a{color:var(--primary);font-weight:600}.login-support{font-size:11px;color:var(--muted);text-align:center;margin-top:25px;line-height:1.8}.login-support button{font-size:11px}.login-footer{display:flex;justify-content:space-between;gap:15px;color:#8f9aa3;font-size:10px}.form-feedback{font-size:12px;color:var(--primary-dark);background:var(--teal-bg);padding:12px;border-radius:6px;margin-top:13px}
/* Dashboard shell */
.sidebar{position:fixed;top:0;left:0;bottom:0;width:238px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30;overflow:auto}.brand{padding:28px 30px 19px}.brand img{width:169px;height:auto}.portal-label{margin:0 26px 21px;font-size:9px;font-weight:600;letter-spacing:1.7px;color:#9aa6ad}.nav-items{padding:0 16px}.nav-item{width:100%;display:flex;align-items:center;gap:12px;border:0;background:transparent;padding:12px 13px;min-height:45px;margin-bottom:4px;border-radius:7px;font-size:12px;color:#687782;text-align:left}.nav-item .icon{width:18px;height:18px;color:#87959d}.nav-item:hover:not(:disabled){background:#f3f8f7;color:var(--primary)}.nav-item.active{background:var(--primary);color:#fff;font-weight:600}.nav-item.active .icon{color:white}.nav-item:disabled{color:#a8b0b6}.nav-heading{display:block;margin:25px 12px 11px;font-size:9px;letter-spacing:1.25px;color:#9da6ae;font-weight:600}.nav-count{margin-left:auto;font-size:10px;background:#f1f4f6;color:#7c8990;padding:1px 6px;border-radius:4px}.nav-dot{width:6px;height:6px;border-radius:50%;background:#e7a747;margin-left:auto}.soon{font-size:9px;margin-left:auto;color:#a2adb4}.sidebar-bottom{margin-top:auto;padding:30px 23px 20px}.partner-note{background:#f1f8f6;border:1px solid #e4f0eb;border-radius:8px;padding:15px}.partner-note>.icon{color:#42a68b;margin-bottom:8px}.partner-note strong{display:block;font-size:11px}.partner-note p{margin-top:6px;font-size:10px;color:#7a9187;line-height:1.8}.back-link{display:flex;align-items:center;gap:10px;color:#7e8a93;font-size:11px;margin:23px 5px 0}.back-link .icon{width:17px}.app-shell{margin-left:238px}.topbar{height:77px;border-bottom:1px solid var(--line);background:white;display:flex;justify-content:space-between;align-items:center;padding:0 30px;gap:14px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:17px}.breadcrumb{font-size:11px;color:#8e9aa2}.breadcrumb span{margin:0 12px;color:#c3cccf}.breadcrumb strong{font-weight:500;color:#4b616a}.avatar{border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:600;flex-shrink:0}.avatar.small{width:36px;height:36px;background:#e4f3ef;color:#268d79;font-size:12px}.user-caption{display:flex;flex-direction:column;font-size:11px;margin-left:-7px}.user-caption span{font-size:9px;color:#9aa6ab;margin-top:2px}.topbar-divider{height:27px;border-left:1px solid var(--line)}.notification-button{position:relative;color:#76858f}.notification-dot{height:5px;width:5px;background:#df9b52;border-radius:50%;position:absolute;top:9px;right:10px;border:1px solid white}.menu-toggle{display:none}.dashboard-content{max-width:1600px;margin:0 auto;padding:29px 30px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.page-heading h1{font-size:25px;font-weight:650;letter-spacing:-.6px;margin:7px 0}.page-heading p{font-size:12px;color:var(--muted)}.demo-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#80918e;margin-bottom:21px}.note-separator{color:#b4bfbd}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat-card{padding:18px 19px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.stat-card:hover{border-color:#9fcfc7}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#687d85;font-size:11px}.stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px}.stat-icon .icon{width:18px;height:18px}.stat-value{font-size:28px;letter-spacing:-.7px;display:block;margin:9px 0 12px;line-height:1;font-weight:650}.stat-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:9px}.overview-grid{display:grid;grid-template-columns:minmax(230px,1fr) 2fr;gap:22px;margin-bottom:22px}.card{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);overflow:hidden}.card-heading{padding:21px 21px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-heading h2{font-size:14px;font-weight:650;letter-spacing:-.2px}.card-heading p{font-size:10px;color:var(--muted);margin-top:5px}.partner-card{position:relative;overflow:hidden;background:linear-gradient(125deg,#249b8c,#16766d);border-radius:10px;padding:21px 23px;color:white}.partner-card:after{content:"";position:absolute;right:-50px;top:22px;width:220px;height:220px;border:38px solid #ffffff06;border-radius:50%;pointer-events:none}.partner-card-top{display:flex;justify-content:space-between;align-items:center;gap:9px;margin-bottom:22px}.avatar.large{width:49px;height:49px;background:#ffffff24;border:1px solid #ffffff38;font-size:17px}.partner-card h2{font-size:22px;margin:6px 0 5px;letter-spacing:-.4px}.partner-card>p{font-size:10px;color:#bfe5de}.partner-card .eyebrow{font-size:8px;letter-spacing:1.4px}.partner-info{display:flex;gap:32px;font-size:9px;color:#bbded8;margin-top:20px}.partner-info strong{display:block;color:white;font-size:11px;font-weight:500;margin-top:3px}.partner-card-footer{display:flex;align-items:center;gap:7px;border-top:1px solid #ffffff26;padding-top:13px;margin-top:17px;font-size:10px;color:#d2eeea}.partner-card-footer .icon{width:14px;height:14px}.action-list{padding:0 20px 10px}.action-row{display:flex;align-items:center;gap:13px;width:100%;border:0;border-top:1px solid #f0f3f4;text-align:left;padding:18px 0;background:white}.action-row:hover{background:#fafcfb}.action-icon{width:35px;height:38px;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.action-icon .icon{width:18px}.action-row strong{display:block;font-size:11px;font-weight:600}.action-row small{display:block;font-size:10px;color:#94a0a8;margin-top:4px}.action-end{display:flex;gap:15px;align-items:center;margin-left:auto}.action-end>span:last-child{color:#9aabb0;font-size:20px}.action-end .badge{font-size:9px}.workspace-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:22px}.workspace-main,.workspace-side{display:flex;flex-direction:column;gap:22px;min-width:0}.pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:5px 23px 0}.pipeline>div{position:relative;border-right:1px solid #f0f3f5;padding:2px 16px}.pipeline>div:first-child{padding-left:0}.pipeline>div:last-child{border:0}.pipeline strong{display:block;font-size:24px;font-weight:600;margin:5px 0}.pipeline span:last-child{display:block;font-size:9px;color:#7a8a93;white-space:nowrap}.pipeline-dot{display:block;width:7px;height:7px;border-radius:50%}.pipeline-dot.amber{background:#e6b962}.pipeline-dot.blue{background:#8aafe0}.pipeline-dot.purple{background:#b5a1dd}.pipeline-dot.teal{background:#53afa1}.pipeline-dot.green{background:#94bd9c}.pipeline-bar{display:flex;height:6px;border-radius:5px;overflow:hidden;margin:24px 22px 22px;gap:3px}.pipeline-bar span:nth-child(1){flex:8;background:#e6b962}.pipeline-bar span:nth-child(2){flex:6;background:#8aafe0}.pipeline-bar span:nth-child(3){flex:7;background:#b5a1dd}.pipeline-bar span:nth-child(4){flex:9;background:#53afa1}.pipeline-bar span:nth-child(5){flex:6;background:#94bd9c}.table-toolbar{display:flex;gap:12px;justify-content:space-between;padding:0 20px 18px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid #e5eaed;border-radius:6px;padding:0 10px;flex:1;min-width:0}.search-field .icon{width:15px;height:15px;color:#a0adb4}.search-field input{width:100%;border:0;min-width:0;padding:10px 0;font-size:10px;background:transparent}.search-field input:focus{outline-offset:0}.table-toolbar select{font-size:10px;border:1px solid #e5eaed;background:#fff;padding:8px;border-radius:6px;color:#74828d;max-width:155px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;font-weight:500;color:#8c99a2;background:#f9fafb;padding:11px 17px;border-top:1px solid #eef1f3;border-bottom:1px solid #eef1f3}td{padding:15px 17px;border-bottom:1px solid #f0f3f4;font-size:10px;color:#677b85}td strong{display:block;font-size:11px;color:#344e59;font-weight:600}td>span:not(.badge){display:block;font-size:9px;color:#9ba6ad;margin-top:4px}td .badge{font-size:9px}td:last-child,th:last-child{padding-left:5px;padding-right:12px}tr:hover td{background:#fcfefd}.row-link{border:1px solid #e6edee;background:white;border-radius:6px;width:29px;height:29px;color:#8b9ba2}.row-link:hover{background:var(--teal-bg);color:var(--primary)}.table-footer{padding:14px 20px;display:flex;justify-content:space-between;font-size:9px;color:#93a0a9}.table-footer button{font-size:10px}.empty-state{padding:25px 18px;font-size:12px;color:var(--muted)}.reward-card{border-radius:10px;padding:22px;background:linear-gradient(125deg,#6751ae,#8867c9);color:#fff}.reward-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.reward-icon{display:grid;place-items:center;background:#ffffff20;border-radius:9px;width:38px;height:38px;color:#efddad}.reward-card .eyebrow{font-size:8px;color:#ddd4f5;letter-spacing:1.3px}.reward-card h2{font-size:22px;font-weight:600;letter-spacing:-.3px;margin:9px 0 13px}.reward-card p{font-size:10px;color:#e1d9f5;margin-bottom:15px}.reward-card progress{display:block;width:100%;height:6px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#ffffff2e;accent-color:#d8c5ff}.reward-card progress::-webkit-progress-bar{background:#ffffff2e}.reward-card progress::-webkit-progress-value{background:#dbccfc;border-radius:5px}.reward-card progress::-moz-progress-bar{background:#dbccfc}.reward-progress-label{display:flex;justify-content:space-between;font-size:9px;color:#e4def2;margin-top:9px}.reward-foot{border-top:1px solid #ffffff25;padding-top:15px;margin-top:18px;font-size:10px;color:#e8e2f7;line-height:1.75}.reward-foot strong{font-weight:600;color:white}.notice-card .card-heading{padding-bottom:8px}.notice-card .icon{width:16px}.notice{padding:17px 21px}.notice+.notice{border-top:1px solid #f0f3f4}.notice-date{font-size:8px;letter-spacing:.5px;color:var(--primary);font-weight:600}.notice h3{font-size:11px;line-height:1.5;margin:6px 0}.notice p{font-size:10px;line-height:1.8;color:#94a0a8}.dashboard-footer{display:flex;justify-content:space-between;gap:20px;padding:25px 0 20px;font-size:9px;color:#98a3ac}
.table-scroll{position:relative}
/* Preview interactions */
dialog{border:1px solid var(--line);border-radius:14px;padding:26px;width:min(460px,calc(100% - 32px));color:var(--ink);box-shadow:0 25px 90px #183a4133}dialog::backdrop{background:#132d3c70;backdrop-filter:blur(3px)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.dialog-top h2{font-size:21px}.dialog-top button{font-size:26px}dialog p{font-size:13px;line-height:1.8;margin:15px 0}dialog>.button{margin-top:10px}.upcoming-step{display:flex;gap:15px;padding:15px 0;border-top:1px solid var(--line)}.upcoming-step>span{border-radius:8px;padding:8px 12px;align-self:flex-start;background:var(--teal-bg);color:var(--primary);font-weight:600}.upcoming-step p{margin:3px 0;font-size:11px;color:var(--muted)}.upcoming-step strong{font-size:13px}.record-details{margin:20px 0}.record-details>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.record-details dt{color:var(--muted)}.record-details dd{margin:0;font-weight:600}.notification-list{padding-left:18px;font-size:13px;line-height:1.8}.notification-list li{margin:12px 0}
@media(min-width:1600px){.dashboard-content{padding-top:35px}.stat-card{padding:23px}.stat-value{font-size:32px}.card-heading h2{font-size:16px}.action-row strong,td strong{font-size:13px}.action-row small,td{font-size:12px}}
@media(max-width:1190px){.sidebar{width:210px}.app-shell{margin-left:210px}.brand{padding:25px}.portal-label{font-size:8px}.nav-items{padding:0 12px}.nav-item{font-size:11px;gap:9px}.dashboard-content{padding:24px 22px 0}.topbar{padding:0 22px}.stats-grid{gap:12px}.stat-card{padding:15px}.stat-foot{font-size:8px}.overview-grid,.workspace-grid{gap:17px}.partner-card{padding:20px}.action-end .badge{display:none}.workspace-grid{grid-template-columns:minmax(0,1fr)}.workspace-side{display:grid;grid-template-columns:1fr 1fr}.pipeline{max-width:800px}.reward-card h2{font-size:23px}.login-story{padding:36px}.login-panel{padding:28px}.login-content{max-width:350px}}
@media(max-width:900px){.sidebar{transform:translateX(-100%);transition:transform .2s ease;width:238px}.sidebar.open{transform:translateX(0)}.app-shell{margin-left:0}.menu-toggle{display:inline-flex}.sidebar-overlay{position:fixed;inset:0;background:#122e4460;z-index:25;border:0;width:100%;height:100%}.topbar-left{gap:10px}.login-story{padding:30px}.story-top{font-size:8px;letter-spacing:1.2px}.story-content h1{font-size:36px}.story-content p{font-size:13px}.login-panel{padding:26px}.login-logo{width:170px}.login-intro h2{font-size:31px}.login-footer{flex-wrap:wrap}.login-top .badge{font-size:9px}.preview-label{font-size:9px}}
@media(max-width:640px){.login-layout{display:flex;flex-direction:column}.login-story{min-height:220px;padding:25px}.story-content{padding:28px 0 0}.story-content h1{font-size:29px;margin:10px 0;letter-spacing:-.7px}.story-content .eyebrow,.story-content p,.story-features,.story-footer{display:none}.story-photo{object-position:center 45%}.story-shade{background:linear-gradient(90deg,#0b3c44d9,#0b3c444a)}.login-panel{padding:22px}.login-content{max-width:420px;padding:30px 0}.login-logo{width:158px;margin-bottom:26px}.login-intro h2{font-size:29px}.login-footer{font-size:9px}.topbar{height:67px;padding:0 15px}.topbar-right{gap:6px}.topbar .preview-label,.user-caption,.topbar-divider{display:none}.breadcrumb{font-size:10px}.dashboard-content{padding:22px 16px 0}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;max-width:320px}.page-heading .button{font-size:11px;min-height:40px;padding:9px 14px}.demo-note{font-size:9px;align-items:baseline;flex-wrap:wrap;gap:5px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat-card{padding:14px}.stat-top{font-size:10px}.stat-icon{width:28px;height:28px}.stat-icon .icon{width:16px;height:16px}.stat-value{font-size:25px}.stat-foot{font-size:8px;flex-wrap:wrap}.overview-grid{grid-template-columns:1fr}.partner-card{padding:23px}.partner-card-top{margin-bottom:15px}.partner-info{gap:50px}.partner-card h2{font-size:25px}.card-heading{padding:19px 17px 16px}.card-heading h2{font-size:14px}.card-heading>.badge{font-size:8px;padding:4px 6px}.action-list{padding:0 16px 6px}.action-row{gap:10px;padding:17px 0}.action-row strong{font-size:11px}.action-row small{font-size:9px}.workspace-side{display:flex}.pipeline{padding:5px 17px 0}.pipeline>div{padding:0 8px}.pipeline strong{font-size:22px}.pipeline span:last-child{font-size:8px}.pipeline-bar{margin:21px 17px}.table-toolbar{padding:0 16px 16px;flex-direction:column;gap:8px}.search-field input{font-size:11px}.table-toolbar select{max-width:none;font-size:11px}.table-scroll table{min-width:570px}.table-footer{padding:14px 16px}.dashboard-footer{font-size:8px}.reward-card h2{font-size:25px}.notice h3{font-size:13px}.notice p{font-size:12px}.notice-date{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sidebar{transition:none}}

/* Customer forms and live application views. */
.sidebar-brand{display:block;padding:30px 28px 27px}.sidebar-brand img{width:170px}.sidebar-brand span{display:block;color:#92a19f;font-size:9px;letter-spacing:1.6px;margin-top:13px}.secondary{background:white;border-color:#dbe6e5;color:var(--primary)}.secondary:hover{background:var(--teal-bg)}.form-section{padding:26px;margin-bottom:22px;position:relative}.form-section h2{font-size:18px;margin-bottom:9px}.form-section>p{color:var(--muted);font-size:13px;margin-bottom:18px}.section-number{float:right;background:var(--teal-bg);color:var(--primary);border-radius:9px;padding:6px 12px;font-size:12px;font-weight:700}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px 26px;margin-top:22px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label{font-size:12px;font-weight:600;color:#465c63}.field input,.field select{width:100%;min-width:0;background:#fff;border:1px solid #dce5e7;border-radius:7px;padding:11px 12px;color:var(--ink);min-height:44px;font-size:13px}.field input[type=file]{font-size:12px;padding:9px}.field input::placeholder{color:#9aa7ac}.help-text{font-size:12px;color:var(--muted);line-height:1.7}.upload-strip{background:#f5faf9;border:1px dashed #c7dfd9;border-radius:9px;padding:20px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:20px}.upload-strip>.field{flex:1;min-width:220px}.upload-strip>p{width:100%}.crm-message{display:block;border-radius:8px;background:#fff4df;color:#775625;padding:14px 18px;margin-bottom:20px;font-size:13px}.crm-message:empty,.form-feedback:empty{display:none}.save-bar{display:flex;justify-content:space-between;align-items:center;gap:18px}.save-bar p{font-size:12px;color:var(--muted)}.crm-filters{display:flex;gap:14px;align-items:flex-end;padding:0 24px 24px;flex-wrap:wrap}.crm-filters>.field:first-child{flex:2;min-width:220px}.crm-filters>.field{flex:1;min-width:180px}.crm-table td,.crm-table th{font-size:12px;padding:15px}.crm-table a{color:var(--primary);font-weight:600}.crm-table td{max-width:310px;white-space:normal;overflow-wrap:anywhere}.crm-pager table{width:auto}.crm-pager td{padding:7px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0 0}.detail-grid dt{color:var(--muted);font-size:11px;margin-bottom:5px}.detail-grid dd{margin:0;font-size:13px;font-weight:500;overflow-wrap:anywhere}.form-section .crm-filters{padding:20px 0 0}.overview-grid{margin-bottom:22px}
@media(max-width:640px){.form-section{padding:20px}.form-grid,.detail-grid{grid-template-columns:1fr;gap:17px}.save-bar{flex-direction:column;align-items:stretch}.save-bar .button{white-space:normal}.crm-filters{padding:0 18px 18px;flex-direction:column;align-items:stretch}.crm-filters>.field,.crm-filters>.field:first-child{min-width:0}.card-heading{flex-wrap:wrap;gap:14px}.crm-table td{min-width:100px}.crm-table td:first-child{min-width:60px}.upload-strip{padding:14px}.upload-strip>.field{min-width:0;flex-basis:100%}.upload-strip>.button{width:100%}}

.public-header{display:flex;justify-content:space-between;align-items:center;background:#fff;border-bottom:1px solid var(--line);padding:20px max(22px,calc((100vw - 1060px)/2))}.public-content{max-width:1060px;padding:32px 24px 60px;margin:auto}.referral-result{margin-top:22px;background:#f5faf9;border:1px solid #dcece7;padding:20px;border-radius:10px;display:flex;flex-direction:column;gap:12px}.referral-result input{font-family:Consolas,monospace;font-size:12px}.network-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:24px 0}.network-steps strong{color:var(--primary)}.network-steps p{font-size:13px;color:var(--muted);margin-top:7px}.payment-layout{max-width:760px;margin:24px auto}.payment-layout h1{margin:18px 0 10px}.payment-amount{font-size:42px;font-weight:700;margin:28px 0}.payment-amount span{display:block;font-size:12px;color:var(--muted);font-weight:400}.payment-layout .detail-grid{grid-template-columns:repeat(2,1fr);margin-bottom:24px}.payment-layout .button{margin:0 8px 18px 0}.button:disabled{opacity:.55;cursor:not-allowed}.rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0}.public-content h1{font-size:28px}.public-content .help-text{display:block;margin-top:12px}
@media(max-width:640px){.public-header{padding:16px}.public-header img{width:130px}.public-header .button{padding:10px;font-size:11px}.public-content{padding:24px 16px}.network-steps,.payment-layout .detail-grid{grid-template-columns:1fr}.rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-content h1{font-size:24px}}
