:root{--navy:#0d1b2a;--navy-2:#15283d;--ink:#152236;--muted:#748094;--line:#e7ebf0;--soft:#f5f7fa;--white:#fff;--accent:#ff806e;--accent-dark:#ec6658;--green:#168566;--amber:#b87519;--shadow:0 16px 40px rgba(14,30,48,.06);--radius:18px;font-family:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif;color:var(--ink);background:#f6f8fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3,strong,b{font-family:'Manrope','DM Sans',sans-serif}h1{font-weight:800;letter-spacing:-.045em}.muted,.small-muted{color:var(--muted)}.muted{font-size:14px;line-height:1.65}.small-muted{font-size:12px;line-height:1.6}.center{text-align:center}.optional{font-size:9px;letter-spacing:.12em;color:#9aa3b1;margin-left:5px;font-weight:700}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:800;color:#7a8796;display:inline-block;margin-bottom:10px}.brand-lockup{display:flex;align-items:center;gap:11px;min-width:0}.brand-lockup>span:last-child{display:flex;flex-direction:column;min-width:0}.brand-lockup strong{font-size:17px;letter-spacing:-.035em;line-height:1.2;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-lockup small{font-size:8px;letter-spacing:.17em;color:#8793a2;font-weight:800;margin-top:4px}.brand-mark{width:39px;height:39px;flex:0 0 39px;border-radius:13px;background:var(--accent);color:var(--navy);display:inline-flex;align-items:center;justify-content:center;font-family:'Manrope',sans-serif;font-size:23px;font-weight:800;box-shadow:0 7px 16px rgba(255,128,110,.19)}.button{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:11px;padding:11px 16px;font-size:12px;font-weight:700;transition:transform .16s ease,box-shadow .16s ease,background .16s ease;white-space:nowrap}.button:hover{transform:translateY(-1px)}.button-primary{background:var(--navy);color:#fff;box-shadow:0 5px 12px rgba(13,27,42,.13)}.button-primary:hover{background:#18334e;box-shadow:0 8px 18px rgba(13,27,42,.2)}.button-secondary{background:#fff;color:var(--ink);border-color:#dfe4ec}.button-secondary:hover{background:#f8fafc}.button-wide{width:100%}.text-link{font-weight:700;color:#223d5b;font-size:12px}.text-link:hover{color:var(--accent-dark)}.text-danger{background:none;border:0;padding:0;color:#bd4b43;font-size:11px;font-weight:700}.icon-button{border:1px solid var(--line);border-radius:9px;width:35px;height:35px;background:#fff;color:var(--ink)}
/* application shell */
.app-shell{display:flex;background:#f7f8fb;min-height:100vh}.sidebar{width:244px;flex:0 0 244px;background:var(--navy);color:#fff;min-height:100vh;padding:27px 17px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand-lockup{padding:0 9px 32px}.sidebar .brand-lockup strong{color:#fff}.sidebar .brand-lockup small{color:#a0b0c1}.sidebar .brand-mark{border-radius:12px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-caption{font-size:9px;letter-spacing:.16em;color:#657b92;font-weight:800;padding:13px 12px 8px}.nav-link{padding:11px 12px;border-radius:10px;color:#aab8c8;font-size:12px;font-weight:600;transition:background .14s,color .14s;display:flex;align-items:center;gap:10px}.nav-link:before{content:'';width:5px;height:5px;border-radius:50%;background:#496078;transition:background .14s}.nav-link:hover,.nav-link:focus{background:#172d43;color:#fff}.nav-link:hover:before{background:var(--accent)}.sidebar-bottom{margin-top:auto;border-top:1px solid #21374c;padding:19px 9px 4px;display:flex;align-items:center;gap:7px;color:#8698aa;font-size:10px;flex-wrap:wrap}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#54ce9e;box-shadow:0 0 0 4px rgba(84,206,158,.12);flex:0 0 7px}.logout-link{margin-left:auto;color:#c4ced9}.main-panel{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{min-height:78px;border-bottom:1px solid #e9edf2;background:rgba(255,255,255,.84);backdrop-filter:blur(12px);display:flex;justify-content:space-between;align-items:center;padding:14px clamp(22px,3vw,44px);position:sticky;top:0;z-index:5}.topbar>div:first-child{display:flex;flex-direction:column;gap:5px}.breadcrumb{font-size:10px;color:#8e99a8;font-weight:600}.topbar-title{font-size:13px;font-weight:700;color:#24354a}.user-chip{display:flex;align-items:center;gap:9px}.user-chip>span:last-child{display:flex;flex-direction:column;gap:3px}.user-chip strong{font-size:11px}.user-chip small{font-size:9px;color:#8c98a6;text-transform:capitalize}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#e9eff6;color:#28435f;border-radius:12px;font-weight:800;font-size:13px}.page-content{width:100%;max-width:1480px;margin:0 auto;padding:32px clamp(22px,3vw,44px) 44px;flex:1}.app-footer{color:#9aa3af;font-size:10px;padding:15px clamp(22px,3vw,44px) 22px;border-top:1px solid #ebeff3}.app-footer span{padding:0 5px;color:#c4cbd3}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading h1{font-size:27px;margin:0 0 7px;color:#14243a}.page-heading p{color:#8994a3;font-size:12px;margin:0;line-height:1.6}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.welcome-row h2{font-size:21px;letter-spacing:-.04em;margin:0 0 5px}.welcome-row p{margin:0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:35px}.stat-card{min-height:140px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 21px;box-shadow:0 4px 14px rgba(14,30,48,.018);display:flex;flex-direction:column;align-items:flex-start}.stat-label{color:#768394;font-size:11px;font-weight:600}.stat-number{font:800 29px 'Manrope',sans-serif;letter-spacing:-.05em;margin:12px 0 10px;color:#17283d;line-height:1.1}.stat-foot{margin-top:auto;display:flex;align-items:center;gap:7px;font-size:10px;color:#919baa}.stat-dot{width:6px;height:6px;border-radius:50%}.stat-dot.amber{background:#dfa74d}.stat-dot.green{background:#1caa80}.stat-dot.coral{background:var(--accent)}.stat-card-dark{background:var(--navy);border-color:var(--navy);position:relative;overflow:hidden}.stat-card-dark:after{content:'';width:130px;height:130px;border:1px solid rgba(255,255,255,.08);border-radius:50%;position:absolute;right:-34px;top:-39px;box-shadow:0 0 0 18px rgba(255,255,255,.025),0 0 0 36px rgba(255,255,255,.02)}.stat-card-dark .stat-label,.stat-card-dark .stat-foot{color:#a7b6c6}.stat-card-dark .stat-number{color:#fff;font-size:25px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:6px 0 14px}.section-head h3{font-size:15px;letter-spacing:-.025em;margin:0 0 5px}.section-head p{font-size:11px;margin:0;color:#929cab}.section-head.spaced{margin-top:35px}.table-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 3px 12px rgba(14,30,48,.02)}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}thead{background:#fbfcfd}th{padding:13px 18px;text-align:left;font-size:9px;color:#8b96a5;letter-spacing:.1em;text-transform:uppercase;font-weight:800;border-bottom:1px solid #ebeff4;white-space:nowrap}td{padding:15px 18px;border-bottom:1px solid #f0f2f5;font-size:11px;color:#526175;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdff}td strong{display:block;color:#24354a;font-size:11px;font-weight:700}small.table-sub{display:block;color:#a0a9b4;font-size:9px;margin-top:5px;max-width:250px;overflow-wrap:anywhere}.amount-cell{font-family:'Manrope',sans-serif;font-weight:800;color:#21344b;white-space:nowrap}.verification-text{font-size:10px;color:#66758a;display:inline-block;max-width:240px;line-height:1.5}.row-action{display:flex;align-items:center;justify-content:center;border:1px solid #e6eaf0;background:#fff;border-radius:9px;width:30px;height:30px;color:#536882}.row-action:hover{background:#f2f6fa}.pill{display:inline-flex;align-items:center;justify-content:center;border-radius:100px;padding:5px 9px;text-transform:capitalize;font-size:9px;font-weight:800;letter-spacing:.015em;white-space:nowrap}.pill-good{background:#e7f7f0;color:#13825f}.pill-warn{background:#fff3dc;color:#9c6519}.pill-muted{background:#eff2f5;color:#788493}.pill-neutral{background:#edf2fa;color:#4b668b}.empty-cell{text-align:center!important;padding:30px!important;color:#9ba5b2!important}.notice-row{margin-top:23px;display:flex;gap:13px;align-items:flex-start;border:1px solid #e6ebf1;background:#fcfdff;border-radius:14px;padding:17px 19px}.notice-row.compact{margin-top:14px}.notice-icon{width:26px;height:26px;border:1px solid #dae1e9;color:#667c94;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;flex:0 0 26px}.notice-row strong{font-size:11px}.notice-row p{font-size:10px;line-height:1.6;color:#8290a1;margin:5px 0 0;max-width:850px}.empty-state{background:#fff;border:1px dashed #d8e0e8;border-radius:16px;padding:45px 24px;text-align:center}.empty-state h3{font-size:17px;margin:0 0 9px}.empty-state p{font-size:12px;line-height:1.7;color:#8d98a7;max-width:440px;margin:0 auto 20px}.empty-icon{margin:0 auto 15px;width:48px;height:48px;border-radius:15px;background:#eef3f8;color:#29435f;font-size:25px;display:flex;align-items:center;justify-content:center}
/* forms and panels */
.form-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.8fr);gap:20px;align-items:start}.panel-form{background:#fff;border:1px solid var(--line);border-radius:17px;padding:25px;box-shadow:0 5px 19px rgba(14,30,48,.025);min-width:0}.stack-form{display:flex;flex-direction:column;gap:17px}.panel-form label,.install-form label{font-size:11px;font-weight:700;color:#47566b;display:flex;flex-direction:column;gap:8px;min-width:0}.panel-form input:not([type=checkbox]):not([type=color]),.panel-form select,.panel-form textarea,.install-form input{border:1px solid #dfe5ec;background:#fff;border-radius:10px;min-height:43px;width:100%;padding:11px 12px;color:#24354a;outline:none;font-size:12px;font-weight:500;transition:border .15s,box-shadow .15s}.panel-form input:focus,.panel-form select:focus,.panel-form textarea:focus,.install-form input:focus{border-color:#93a5ba;box-shadow:0 0 0 3px rgba(56,94,131,.08)}.panel-form input::placeholder,.panel-form textarea::placeholder,.install-form input::placeholder{color:#b2bac4}.panel-form label small,.install-form label small{font-size:10px;color:#9aa4b1;font-weight:400;line-height:1.5}.panel-form select{appearance:auto}.panel-form textarea{resize:vertical}.amount-input{position:relative}.amount-input>span{position:absolute;left:13px;top:12px;color:#6b7d92;font-weight:700;font-size:15px}.amount-input input{padding-left:31px!important;font:800 19px 'Manrope',sans-serif!important;letter-spacing:-.03em}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-section-title{display:flex;align-items:flex-start;gap:12px;padding-bottom:5px}.step-number{width:29px;height:29px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:#fcebe8;color:#bb6155;font-size:11px;font-weight:800;flex:0 0 29px}.form-section-title h3{font-size:14px;margin:1px 0 5px}.form-section-title p{font-size:10px;color:#9aa4b1;margin:0;line-height:1.6}.side-explainer{padding:8px 3px}.illustration-card{height:190px;background:linear-gradient(135deg,#eaf0f6,#f8f4f2);border-radius:16px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:22px;position:relative}.illustration-card:before,.illustration-card:after{content:'';position:absolute;border:1px solid rgba(17,42,66,.1);width:240px;height:240px;border-radius:50%}.illustration-card:after{width:300px;height:300px}.mock-browser{position:relative;width:185px;height:145px;z-index:1;background:white;border:1px solid #dce3eb;border-radius:10px;box-shadow:0 13px 28px rgba(17,42,66,.13);padding:10px}.mock-dots{display:flex;gap:4px;border-bottom:1px solid #f0f2f5;padding-bottom:8px}.mock-dots i{width:4px;height:4px;border-radius:50%;background:#d9dfe6}.mock-checkout{text-align:center;padding:9px}.mock-label{display:block;font-size:5px;letter-spacing:.15em;font-weight:800;color:#8a98a8;margin-bottom:5px}.mock-checkout b{font:800 15px 'Manrope',sans-serif;color:#13253a}.mock-qr{display:block;width:42px;height:42px;margin:8px auto;background:repeating-conic-gradient(#21334a 0 25%,#fff 0 50%) 0/7px 7px;border:4px solid white;outline:1px solid #e9edf2}.mock-line{width:78px;height:4px;background:#e9eef4;margin:5px auto;border-radius:3px}.mock-line.short{width:48px}.side-explainer h3{font-size:14px;margin:0 0 16px}.timeline-list{padding:0;list-style:none;counter-reset:steps;margin:0;display:flex;flex-direction:column;gap:18px}.timeline-list li{counter-increment:steps;display:grid;grid-template-columns:27px 1fr;column-gap:9px}.timeline-list li:before{content:counter(steps);width:25px;height:25px;border-radius:8px;background:#e9eff5;color:#48627b;font-size:10px;font-weight:800;display:flex;align-items:center;justify-content:center;grid-row:span 2}.timeline-list b{font-size:11px;margin-bottom:4px}.timeline-list span{font-size:10px;line-height:1.6;color:#8c97a5}.alert{padding:12px 14px;border-radius:10px;font-size:11px;line-height:1.6;margin-bottom:18px}.alert-error{background:#fff0ee;color:#a7463d;border:1px solid #f7d4d0}.alert-success{background:#eaf8f1;color:#177b5b;border:1px solid #cdeedd}.alert-warning{background:#fff7e8;color:#95601b;border:1px solid #f3dfb8}.alert ul{margin:6px 0 0;padding-left:18px}.inline-alert{border:1px solid #f0d8b4;background:#fff9ef;border-radius:12px;padding:14px 15px;color:#765824;font-size:11px;line-height:1.6}.inline-alert p{font-size:10px;margin:5px 0 0;color:#8e7b58}.inline-alert b{display:block}.inline-alert .text-link{display:inline-block;margin-top:8px}.copy-field{display:flex;gap:8px;width:100%}.copy-field input,.copy-field textarea{flex:1;min-width:0;background:#f8fafc!important}.inline-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.created-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(270px,.8fr);gap:19px;align-items:start}.success-panel{text-align:center;padding:34px 30px}.success-symbol{width:54px;height:54px;display:flex;align-items:center;justify-content:center;background:#e8f7f0;color:#168260;font-size:25px;border-radius:17px;margin:0 auto 20px}.success-panel h2{font-size:20px;margin:0 0 12px}.created-amount{font:800 34px 'Manrope',sans-serif;letter-spacing:-.05em;margin-bottom:12px}.success-panel>.muted{max-width:450px;margin:0 auto 24px}.success-panel label{text-align:left;margin-top:25px}.success-panel .inline-actions{justify-content:center}.section-mini{margin-bottom:20px}.section-mini h3{font-size:15px;margin:0 0 7px}.section-mini p{font-size:10px;color:#8e9aa8;line-height:1.6;margin:0}.qr-frame{padding:20px 15px 15px;border:1px solid #e9edf2;border-radius:14px;background:#fff;text-align:center}.qr-canvas{width:220px;height:220px;max-width:100%;margin:0 auto 13px;display:flex;align-items:center;justify-content:center;background:#fff}.qr-canvas img,.qr-canvas canvas{display:block;max-width:100%;height:auto!important}.qr-caption{display:block;font-size:10px;color:#7f8d9d;font-weight:600}.qr-unavailable{width:220px;height:220px;background:#f6f8fa;display:flex;align-items:center;justify-content:center;margin:auto;color:#9aa5b2;font-size:12px}.small-muted{font-size:10px}.inline-actions .button{font-size:11px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:18px;align-items:start}.detail-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.detail-title-row h2{font-size:20px;letter-spacing:-.035em;margin:0}.detail-amount{font:800 35px 'Manrope',sans-serif;letter-spacing:-.055em;margin:20px 0 25px}.detail-kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 25px;margin-bottom:22px}.detail-kv>div{display:flex;flex-direction:column;gap:6px}.detail-kv span{font-size:10px;color:#98a2af}.detail-kv b{font-size:11px;color:#34465e;overflow-wrap:anywhere}.decision-panel{border-top:1px solid #ecf0f3;margin-top:24px;padding-top:24px}.decision-panel h3{font-size:14px;margin:0 0 8px}.decision-panel>.small-muted{margin-bottom:17px}.event-list{display:flex;flex-direction:column;gap:19px}.event-item{display:grid;grid-template-columns:10px 1fr;gap:10px;align-items:start}.event-dot{width:8px;height:8px;margin-top:4px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px #fff0ed}.event-item b{display:block;text-transform:capitalize;font-size:11px;margin-bottom:5px}.event-item small{display:block;color:#929dac;font-size:9px}.event-item p{margin:7px 0 0;color:#6e7c8d;font-size:10px;line-height:1.6}.decision-panel .stack-form{gap:13px}.soft-rule{border:0;border-top:1px solid #edf0f4;width:100%;margin:5px 0}.settings-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr);gap:19px;align-items:start}.settings-side{display:flex;flex-direction:column;gap:14px}.panel-form input[type=color]{border:0!important;padding:0!important;height:43px!important;min-height:43px!important;width:100%;background:transparent!important}.checkbox-card{background:#f8fafc;border:1px solid #e7ebf0;border-radius:12px;padding:14px}.checkbox-line{display:flex!important;flex-direction:row!important;gap:12px!important;align-items:flex-start}.checkbox-line input{margin:2px 0 0;width:15px;height:15px;accent-color:var(--navy)}.checkbox-line span{display:flex;flex-direction:column;gap:5px}.checkbox-line b{font-size:11px}.checkbox-line small{font-size:10px!important;line-height:1.6;color:#8591a0}.label-example{border-top:1px solid #edf1f5;padding:14px 0 0;margin-top:13px}.verification-badge{display:inline-block;border-radius:7px;padding:7px 9px;font-size:9px;font-weight:800}.verification-badge.verified{background:#e7f7f0;color:#168260}.verification-badge.sms{background:#fff3dc;color:#94621b}.verification-badge.manual{background:#edf2fa;color:#526c8e}.label-example p{font-size:10px;line-height:1.6;color:#8794a3;margin:7px 0 0}.inline-create-panel{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px 22px;margin-bottom:22px}.inline-create-panel h3{font-size:13px;margin:0 0 6px}.inline-create-panel p{font-size:10px;color:#929eac;margin:0}.inline-form{display:flex;gap:8px;min-width:300px}.inline-form input{border:1px solid #dfe5ec;border-radius:10px;padding:11px 12px;min-width:0;flex:1;font-size:11px;outline:none}.terminal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.terminal-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;gap:15px;align-items:flex-start}.terminal-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#eef3f8;color:#2c4967;font-size:20px;flex:0 0 40px}.terminal-main{flex:1;min-width:0}.terminal-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.terminal-title h3{font-size:13px;margin:0}.terminal-main p{font-size:10px;line-height:1.6;color:#8a96a5;margin:9px 0 14px}.terminal-link{display:flex;gap:6px;margin-bottom:12px}.terminal-link input{font-size:9px!important;min-height:34px!important;padding:8px!important;min-width:0;flex:1;background:#f9fafc!important}.terminal-actions{display:flex;gap:7px;flex-wrap:wrap}.terminal-actions .button{font-size:10px;padding:9px 12px}.one-time-secret{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#fff3e8;border:1px solid #f3d6bd;border-radius:14px;padding:20px;margin-bottom:20px}.one-time-secret h3{font-size:16px;margin:0 0 5px;overflow-wrap:anywhere}.one-time-secret p{font-size:10px;color:#947761;margin:0;line-height:1.6}.one-time-secret textarea{width:100%;font-size:11px!important;max-width:500px;margin-top:10px}.reconcile-upload{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:center;gap:15px;margin-bottom:22px}.reconcile-upload h3{font-size:15px;margin:0 0 7px}.reconcile-upload p{font-size:10px;color:#8b98a7;line-height:1.6;margin:0}.reconcile-upload form{display:flex;gap:8px;flex-wrap:wrap}.reconcile-upload input[type=file]{font-size:10px;min-width:100px;max-width:100%;flex:1}.reconcile-upload>small{grid-column:1/-1;color:#9aa4b1;font-size:9px}.row-review-form{min-width:200px;display:flex;flex-direction:column;gap:5px}.row-review-form input{border:1px solid #dfe5ec;border-radius:7px;padding:7px;font-size:9px;width:100%}.row-review-form button{align-self:flex-start;border:0;background:none;padding:3px 0}.spaced{margin-top:30px}
/* login and public checkout */
.public-shell{background:#f5f7fb;color:var(--ink);min-height:100vh}.login-wrap{min-height:100vh;display:grid;grid-template-columns:minmax(400px,1fr) minmax(380px,.95fr);background:#fff}.login-card{width:100%;max-width:450px;align-self:center;justify-self:center;padding:50px 35px}.login-brand{margin-bottom:58px}.login-card .eyebrow{margin-bottom:11px}.login-card h1{font-size:29px;line-height:1.2;margin:0 0 13px}.login-card>.muted{font-size:12px;margin-bottom:27px}.login-card .stack-form{gap:17px}.login-note{font-size:9px;color:#a4acb7;text-align:center;margin:28px 0 0}.login-side{position:relative;min-height:100vh;background:var(--navy);overflow:hidden;display:flex;align-items:center;justify-content:center;padding:50px}.login-side:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 77% 14%,rgba(255,128,110,.19),transparent 37%),radial-gradient(ellipse at 9% 88%,rgba(70,123,178,.18),transparent 45%)}.orbit{position:absolute;border:1px solid rgba(214,228,242,.09);border-radius:50%;width:520px;height:520px}.orbit-one{right:-170px;top:-170px;box-shadow:0 0 0 36px rgba(255,255,255,.018),0 0 0 78px rgba(255,255,255,.012)}.orbit-two{left:-320px;bottom:-360px;width:670px;height:670px}.hero-panel{position:relative;z-index:1;max-width:420px}.hero-kicker{font-size:9px;color:#9bb0c4;letter-spacing:.2em;font-weight:800}.hero-panel h2{font-size:41px;line-height:1.15;letter-spacing:-.055em;color:white;margin:18px 0 18px}.hero-panel h2 em{font-style:normal;color:var(--accent)}.hero-panel p{font-size:12px;line-height:1.9;color:#99aabd;max-width:330px}.hero-tags{display:flex;gap:8px;margin-top:34px;flex-wrap:wrap}.hero-tags span{border:1px solid #30445a;border-radius:100px;padding:8px 12px;color:#d0dae5;font-size:9px}.login-card .brand-mark{width:44px;height:44px;flex-basis:44px;font-size:26px}.install-shell{padding:35px 16px}.install-card{max-width:680px;background:#fff;border:1px solid #e7ebf0;border-radius:20px;box-shadow:var(--shadow);margin:0 auto;padding:34px}.install-card .login-brand{margin-bottom:27px}.install-card h1{font-size:27px;margin:0 0 10px}.install-card>.muted{font-size:12px;line-height:1.7;margin-bottom:24px}.install-form{display:flex;flex-direction:column;gap:15px}.install-form h3{font-size:13px;margin:7px 0 0}.install-form .field-grid{gap:12px}.install-form .button{margin-top:5px}.install-card .login-note{line-height:1.7}.error-card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;width:min(460px,calc(100% - 30px));padding:35px;text-align:center;position:relative;margin:10vh auto}.error-card .brand-mark{margin:0 auto 20px}.error-card h1{font-size:24px;margin:0 0 12px}.error-card p{font-size:12px;color:#8994a3;line-height:1.7;margin:0 0 22px}.checkout-wrap{max-width:1000px;margin:0 auto;padding:28px 22px 35px}.checkout-header,.display-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.checkout-header .brand-mark,.display-header .brand-mark{width:38px;height:38px}.secure-label{font-size:10px;color:#788697;font-weight:700;display:flex;align-items:center;gap:7px}.secure-label span{color:#1aa277;font-size:13px}.checkout-card{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 15px 40px rgba(14,30,48,.05)}.checkout-main{padding:33px}.checkout-main h1{font-size:23px;line-height:1.3;margin:0 0 9px}.checkout-amount{font:800 35px 'Manrope',sans-serif;letter-spacing:-.05em;margin-bottom:17px}.checkout-status{display:flex;align-items:center;gap:8px;color:#8a96a4;font-size:10px;font-weight:700;margin-bottom:26px}.status-dot{width:7px;height:7px;background:#e2a74d;border-radius:50%;flex:0 0 7px}.checkout-status.status-paid .status-dot{background:#18a67c}.checkout-status.status-paid{color:#137f5e}.checkout-meta{display:flex;flex-direction:column;gap:14px;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4;padding:20px 0;margin-bottom:22px}.checkout-meta div{display:flex;justify-content:space-between;align-items:center;gap:15px}.checkout-meta span{font-size:10px;color:#9aa4b0}.checkout-meta strong{font-size:10px;color:#3a4c62;text-align:right;overflow-wrap:anywhere}.upi-open-button{margin-bottom:13px;padding:14px}.truth-note{display:flex;gap:10px;background:#f8fafc;border:1px solid #edf0f4;border-radius:11px;padding:12px;margin-top:22px}.truth-note>span{flex:0 0 20px;width:20px;height:20px;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#e8eef5;color:#56708c;font-weight:800;font-size:10px}.truth-note p{font-size:9px;color:#8894a3;line-height:1.7;margin:0}.checkout-qr-side{background:#f9fafc;border-left:1px solid #edf0f4;padding:28px 23px 23px;display:flex;flex-direction:column;align-items:stretch}.large-qr{margin-bottom:20px;padding:14px}.large-qr .qr-canvas{width:218px;height:218px}.qr-how{display:flex;align-items:center;gap:9px;margin:0 0 12px;color:#65748a;font-size:10px}.how-number{width:22px;height:22px;border-radius:7px;background:#e9eff5;color:#385471;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:800}.checkout-footnote{font-size:8px;text-align:center;color:#aab2bd;margin-top:auto;padding-top:20px}.checkout-footer{text-align:center;color:#a0a9b5;font-size:9px;margin-top:20px;line-height:1.7}.checkout-qr-side .qr-caption{line-height:1.5}.pos-display-body{background:#f6f8fb;min-height:100vh}.pos-display{min-height:100vh;display:flex;flex-direction:column;padding:25px clamp(18px,4vw,60px)}.display-header{margin-bottom:15px}.display-merchant{font-size:11px;font-weight:700;color:#728094}.display-content{display:flex;align-items:center;justify-content:center;flex:1}.idle-display{text-align:center;max-width:420px;padding:50px 20px}.idle-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 22px;width:66px;height:66px;border-radius:22px;background:#fff;border:1px solid #e5eaf0;color:#294762;font-size:30px;box-shadow:0 12px 24px rgba(20,40,60,.06)}.idle-display h1{font-size:37px;margin:0 0 12px}.idle-display p{font-size:13px;color:#8b97a6;line-height:1.7}.display-status{margin-top:27px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:10px;color:#738195}.pos-active-card{width:min(880px,100%);display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px;align-items:center;background:#fff;border:1px solid #e3e9ef;border-radius:24px;padding:clamp(24px,4vw,48px);box-shadow:0 18px 45px rgba(18,40,64,.06)}.pos-active-copy h1{font-size:clamp(27px,4vw,42px);line-height:1.17;margin:0 0 10px}.pos-active-amount{font:800 clamp(35px,5vw,53px) 'Manrope',sans-serif;letter-spacing:-.06em;margin:18px 0}.pos-active-copy p{font-size:13px;line-height:1.7;color:#8a96a5}.pos-active-copy .verification-text{max-width:100%;font-size:10px}.pos-active-qr{padding:14px;background:#f8fafc;border:1px solid #e8edf2;border-radius:16px;text-align:center}.pos-active-qr .qr-canvas{width:240px;height:240px}.pos-active-qr p{font-size:10px;color:#8290a0}.pos-paid-card{width:min(600px,100%);text-align:center;background:#fff;border:1px solid #e3e9ef;border-radius:24px;padding:50px 25px;box-shadow:var(--shadow)}.pos-paid-card .success-symbol{width:68px;height:68px}.pos-paid-card h1{font-size:32px;margin-bottom:10px}.pos-paid-card p{font-size:12px;color:#8390a0;line-height:1.7}.display-footer{display:flex;justify-content:space-between;gap:15px;color:#a0a9b4;font-size:9px;padding-top:17px;border-top:1px solid #e7ebf0}.install-form .button,.login-card .button{min-height:45px}.login-card label input{border:1px solid #dfe5ec;background:#fff;border-radius:10px;padding:13px;font-size:12px;outline:none}.login-card label input:focus{border-color:#93a5ba;box-shadow:0 0 0 3px rgba(56,94,131,.08)}
@media(max-width:1080px){.sidebar{width:220px;flex-basis:220px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-layout,.created-layout,.detail-grid,.settings-grid{grid-template-columns:minmax(0,1fr)}.side-explainer{max-width:600px}.checkout-card{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:800px){.sidebar{width:66px;flex-basis:66px;padding:20px 9px}.sidebar .brand-lockup{padding:0 4px 28px;justify-content:center}.sidebar .brand-lockup>span:last-child,.nav-caption,.nav-link:not(:focus){font-size:0}.nav-link{width:46px;height:44px;padding:0;justify-content:center;font-size:0;position:relative}.nav-link:before{width:6px;height:6px}.nav-link:hover:after{content:attr(href);position:absolute;left:54px;background:var(--navy);padding:8px 10px;border-radius:6px;font-size:10px;white-space:nowrap;z-index:10}.sidebar-bottom{padding:16px 0;justify-content:center}.sidebar-bottom>span:not(.live-dot),.logout-link{display:none}.login-wrap{grid-template-columns:1fr}.login-card{padding:40px 26px;max-width:500px}.login-side{display:none}.checkout-card{grid-template-columns:1fr}.checkout-qr-side{border-left:0;border-top:1px solid #edf0f4}.checkout-qr-side .large-qr{max-width:290px;width:100%;margin:0 auto 18px}.checkout-qr-side .qr-how{max-width:280px;width:100%;margin-left:auto;margin-right:auto}.checkout-footnote{margin-top:12px}.pos-active-card{grid-template-columns:1fr;max-width:590px}.pos-active-qr{max-width:300px;width:100%;margin:auto}.display-footer{flex-direction:column;text-align:center}.reconcile-upload{grid-template-columns:1fr}.inline-create-panel{align-items:flex-start;flex-direction:column}.inline-form{min-width:0;width:100%}.terminal-grid{grid-template-columns:1fr}}
@media(max-width:560px){.page-content{padding:24px 14px 32px}.topbar{padding:12px 14px;min-height:68px}.breadcrumb{display:none}.topbar-title{font-size:12px}.user-chip>span:last-child{display:none}.sidebar{width:54px;flex-basis:54px;padding:17px 4px}.sidebar .brand-mark{width:34px;height:34px;flex-basis:34px;border-radius:10px;font-size:20px}.nav-link{width:44px;height:42px}.page-heading h1{font-size:23px}.page-heading{margin-bottom:21px}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-row .button{width:100%}.stat-grid{gap:8px}.stat-card{padding:14px;min-height:126px}.stat-label{font-size:10px}.stat-number{font-size:26px}.stat-card-dark .stat-number{font-size:19px}.stat-foot{font-size:9px;line-height:1.4}.panel-form{padding:18px}.field-grid{grid-template-columns:1fr}.detail-kv{grid-template-columns:1fr 1fr;gap:15px}.checkout-wrap{padding:16px 10px 25px}.checkout-header{margin-bottom:17px;padding:0 4px}.checkout-header .brand-lockup strong{font-size:14px}.secure-label{font-size:8px}.checkout-main{padding:22px 18px}.checkout-amount{font-size:31px}.checkout-main h1{font-size:20px}.checkout-qr-side{padding:20px 15px}.pos-display{padding:17px 14px}.display-header{margin-bottom:20px}.display-merchant{font-size:9px;text-align:right}.pos-active-card{padding:23px 16px;border-radius:18px}.pos-active-copy h1{font-size:27px}.pos-active-amount{font-size:37px}.display-footer{font-size:8px}.one-time-secret{flex-direction:column;align-items:stretch;padding:16px}.one-time-secret .button{width:100%}.reconcile-upload form{flex-direction:column}.inline-form{flex-direction:column}.inline-form .button{width:100%}.terminal-card{padding:15px;gap:10px}.terminal-icon{width:34px;height:34px;flex-basis:34px}.table-card table{min-width:720px}.install-card{padding:24px 17px}.install-form .field-grid{grid-template-columns:1fr}.success-panel{padding:26px 17px}.created-amount{font-size:29px}.inline-actions{flex-direction:column}.inline-actions .button{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* Payfa Local POS v0.2 */
.local-pos-layout{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:22px;align-items:start}
.local-pos-entry,.local-pos-preview{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 8px 22px rgba(14,30,48,.035);min-width:0}
.local-pos-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:23px}.local-pos-heading h2,.local-pos-preview h2,.local-pos-empty h2{font-size:19px;margin:0 0 6px}.local-pos-heading p,.local-pos-empty p{color:var(--muted);font-size:12px;line-height:1.7;margin:0}.local-pos-icon{flex:0 0 46px;width:46px;height:46px;border-radius:14px;background:#fff0ec;color:#bf594a;display:flex;align-items:center;justify-content:center;font-size:23px;font-weight:800}.local-pos-amount-label{margin-top:4px}.local-pos-amount-input{display:flex;align-items:center;border:1px solid #dbe4ec;border-radius:13px;background:#fff;overflow:hidden;margin-top:8px}.local-pos-amount-input:focus-within{border-color:#7189a0;box-shadow:0 0 0 3px rgba(58,90,121,.08)}.local-pos-amount-input span{padding:0 0 0 15px;color:#718092;font-size:19px;font-weight:700}.local-pos-amount-input input{border:0!important;box-shadow:none!important;background:transparent!important;font-size:32px!important;font-weight:800;letter-spacing:-.04em;min-height:65px;padding:8px 15px!important;outline:0;min-width:0}.local-pos-submit{min-height:49px;margin-top:5px}.local-pos-open-display{margin-top:10px}.local-pos-disclaimer{line-height:1.65;margin-top:16px}.local-pos-preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.local-pos-preview-top .pill{font-size:9px}.local-pos-preview-top h2{margin:3px 0 0}.local-pos-qr-card{background:#f9fafb;border:1px solid #e7edf2;border-radius:16px;padding:20px}.local-pos-qr-amount{font-size:39px;font-weight:850;letter-spacing:-.06em;text-align:center;color:#0d1b2a}.local-pos-description{text-align:center;color:#738093;font-size:12px;margin:4px 0 18px}.local-pos-qr-frame{max-width:290px;margin:0 auto 17px}.local-pos-qr-frame .qr-canvas{width:244px;height:244px}.local-pos-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 19px}.local-pos-status>span:last-child{font-size:11px;color:#738093}.local-pos-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.local-pos-buttons .button{flex:1}.local-pos-qr-empty{text-align:center;border:1px dashed #d7e0e8;background:#fafcfd;padding:60px 25px;border-radius:16px}.local-pos-qr-placeholder{width:58px;height:58px;margin:0 auto 18px;border-radius:17px;background:#eaf0f5;color:#5c748a;display:grid;place-items:center;font-size:28px}.local-pos-qr-empty h3{margin:0 0 8px;font-size:17px}.local-pos-qr-empty p{max-width:400px;margin:0 auto;color:#8794a4;font-size:12px;line-height:1.7}.local-pos-note{margin-top:16px;border:1px solid #e4eaf0;border-radius:13px;padding:15px 16px;background:#fff}.local-pos-note strong{font-size:11px}.local-pos-note p{font-size:10px;color:#7d8a9a;line-height:1.7;margin:5px 0 0}.local-pos-empty{max-width:640px;margin:0 auto;padding:32px}.local-pos-empty .local-pos-icon{margin-bottom:18px}.local-pos-empty h2{font-size:22px}.local-pos-empty .stack-form{margin-top:20px;max-width:460px}.toggle-row{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:14px!important;padding:14px;border:1px solid #e1e8ef;border-radius:12px;background:#fafcfd}.toggle-row span{flex:1}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:11px}.toggle-row small{margin-top:5px;color:#7e8c9c;font-weight:400;line-height:1.6}.toggle-row input[type=checkbox]{flex:0 0 19px;width:19px;height:19px;min-height:19px;accent-color:#0d1b2a;margin-top:2px}
@media(max-width:900px){.local-pos-layout{grid-template-columns:1fr}}
@media(max-width:560px){.local-pos-entry,.local-pos-preview{padding:17px}.local-pos-qr-amount{font-size:34px}.local-pos-qr-card{padding:15px}.local-pos-buttons{flex-direction:column}.local-pos-buttons .button{width:100%}}

/* v0.2.1 local POS usability */
.local-pos-terminal-picker{display:flex;align-items:end;gap:10px;margin:16px 0 22px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}.local-pos-terminal-picker label{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#47566b}.local-pos-terminal-picker select{min-height:42px;width:100%;border:1px solid #dfe5ec;border-radius:10px;padding:10px 12px;background:#fff;color:#24354a;font:inherit}.local-pos-advanced{border:1px solid var(--line);border-radius:11px;padding:12px 14px;background:#fbfcfe}.local-pos-advanced summary{cursor:pointer;font-size:11px;font-weight:800;color:#43546b}.local-pos-advanced label{margin-top:14px}.display-header{gap:16px;flex-wrap:wrap}.display-header #pos-fullscreen-btn{margin-left:auto}.pos-display:fullscreen{width:100vw;height:100vh;max-width:none;box-sizing:border-box;overflow:auto;background:#f7f9fc;padding:3vh 4vw}.pos-display:fullscreen .display-content{min-height:70vh}.pos-display:fullscreen .pos-active-qr .qr-canvas{width:clamp(240px,28vw,420px);height:clamp(240px,28vw,420px)}@media(max-width:560px){.local-pos-terminal-picker{align-items:stretch;flex-direction:column}.display-header #pos-fullscreen-btn{margin-left:0}.local-pos-entry,.local-pos-preview{padding:18px}}

/* Payfa v0.2.1 quick access actions */
.welcome-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.welcome-actions .button{min-height:42px}@media(max-width:560px){.welcome-actions{width:100%}.welcome-actions .button{flex:1;justify-content:center}}

.local-pos-payment-recorded{border-color:#b9e6d2!important}.local-pos-status[data-status="paid"]{background:#f0fbf6;border:1px solid #ccebdc;border-radius:10px;padding:10px}.local-pos-status[data-status="paid"] [data-local-pos-label]{color:#137451;font-weight:800}


/* Payfa v0.2.5: short confirmation animation for matched POS payments. */
@keyframes payfaPaidArrival {
  0% { opacity: .72; transform: translateY(8px) scale(.985); }
  65% { opacity: 1; transform: translateY(-2px) scale(1.008); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.pos-paid-card { animation: payfaPaidArrival .48s ease-out both; }
.local-pos-payment-recorded { animation: payfaPaidArrival .48s ease-out both; }
.pos-paid-card .success-symbol { animation: payfaPaidArrival .55s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .pos-paid-card, .local-pos-payment-recorded, .pos-paid-card .success-symbol { animation: none !important; }
}
