.portal-body .portal-login-tabs,.portal-body .admin-tabs{display:flex;gap:5px;padding:5px;margin:22px 0 20px;border:1px solid #686868;border-radius:9px;background:#101010}
.portal-body .portal-login-tabs button,.portal-body .admin-tabs button{flex:1;min-height:43px;padding:9px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#eee;font:700 13px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
.portal-body .portal-login-tabs button.is-active,.portal-body .admin-tabs button.is-active{border-color:#ddd;background:linear-gradient(135deg,#fff,#d3d3d3);color:#111;box-shadow:inset 0 1px #fff}
.portal-body .portal-owner-signin{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 21px;padding:14px 16px;border:1px solid #999;border-radius:8px;background:linear-gradient(130deg,#393939,#171717);color:#fff;font-size:14px;font-weight:800;line-height:1.5;text-decoration:none}
.portal-body .portal-owner-signin:hover{background:#404040;text-decoration:underline;text-underline-offset:4px}
.portal-body .portal-login-panel[hidden],.portal-body [role=tabpanel][hidden]{display:none!important}
.portal-body .portal-admin{padding:35px 0 75px}
.portal-body .admin-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:8px 0 26px}
.portal-body .admin-heading h1{margin:9px 0 7px;font:700 clamp(48px,6vw,74px)/.96 Barlow,'Arial Narrow',Arial,sans-serif;letter-spacing:-.02em;color:#fff}
.portal-body .admin-heading>div>p{margin:0;color:#e8e8e8;font-size:15px;line-height:1.65}
.portal-body .portal-outline-button,.portal-body .admin-outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border:1px solid #888;border-radius:7px;background:linear-gradient(130deg,#292929,#111);color:#fff;font:700 12px/1.4 Manrope,Arial,sans-serif;text-decoration:none;cursor:pointer}
.portal-body .portal-outline-button:hover,.portal-body .admin-outline-button:hover{border-color:#eee;background:#333}
.portal-body .admin-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin:0 0 28px}
.portal-body .admin-metrics article{min-width:0;padding:18px 19px;border:1px solid #737373;border-radius:11px;background:linear-gradient(140deg,#303030,#111);box-shadow:inset 0 1px #aaa6}
.portal-body .admin-metrics article span{display:block;font-size:10px;line-height:1.5;font-weight:900;letter-spacing:.09em;color:#eee}
.portal-body .admin-metrics article strong{display:block;margin-top:8px;color:#fff;font-size:clamp(23px,2.8vw,35px);line-height:1.12;font-weight:800;letter-spacing:-.04em;overflow-wrap:anywhere}
.portal-body .admin-tabs{margin:0 0 17px;border-radius:10px}
.portal-body .admin-tabs button{min-height:47px}
.portal-body .admin-panel{padding:28px;border:1px solid #595959;border-radius:15px;background:linear-gradient(145deg,#1c1c1c,#0d0d0d);box-shadow:inset 0 1px #7778,0 17px 45px #0006}
.portal-body .admin-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:0 0 20px}
.portal-body #admin-consultations-panel .admin-followup-heading{margin-top:clamp(24px,3vw,36px)}
.portal-body .admin-panel-heading h2{margin:0 0 6px;font:800 23px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.04em;color:#fff}
.portal-body .admin-panel-heading p{margin:0;color:#e5e5e5;font-size:13px;line-height:1.65}
.portal-body .admin-create-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:19px;margin-bottom:26px;border:1px solid #666;border-radius:10px;background:linear-gradient(145deg,#252525,#131313)}
.portal-body #admin-checkout-link-form > label > select{display:block;width:100%;max-width:100%;min-width:0;min-height:52px;padding:13px;border:1px solid #ffffff24;border-radius:9px;background-color:#05050570;color:#eee;line-height:1.5;color-scheme:dark}
.portal-body #admin-checkout-link-form > label > select:focus-visible{outline:2px solid #fff;outline-offset:3px;border-color:#aaa}
.portal-body .admin-field{display:grid;gap:6px;min-width:0;margin:0;color:#f6f6f6;font-size:12px;line-height:1.45;font-weight:800}
.portal-body .admin-field input,.portal-body .admin-field select,.portal-body .admin-step-row input,.portal-body .admin-step-row select{width:100%;min-width:0;min-height:43px;padding:9px 10px;border:1px solid #858585;border-radius:6px;background:#090909;color:#fff;font:500 13px/1.45 Manrope,Arial,sans-serif}
.portal-body .admin-field input::placeholder,.portal-body .admin-step-row input::placeholder{color:#ccc;opacity:1}
.portal-body .admin-field input:focus,.portal-body .admin-field select:focus,.portal-body .admin-step-row input:focus,.portal-body .admin-step-row select:focus{outline:2px solid #fff;outline-offset:2px;border-color:#fff}
.portal-body .admin-create-form .portal-button{min-height:44px;margin:19px 0 0;padding:10px 14px;font-size:12px}
.portal-body #admin-create-form > .portal-button{align-self:end;justify-self:end;width:auto;min-width:200px;max-width:100%;min-height:52px;margin:0 0 8px;padding:12px 24px;font-size:16px!important;font-weight:700!important;line-height:1.5}
@media(max-width:950px){.portal-body #admin-create-form > .portal-button{grid-column:1/-1;margin:4px 0 0}}
@media(max-width:700px){.portal-body #admin-create-form > .portal-button{width:100%;min-width:0;justify-self:stretch}}
.portal-body .admin-checkout-products{grid-column:1/-1;min-width:0;margin:0;padding:12px;border:1px solid #666;border-radius:8px}
.portal-body .admin-checkout-products legend{padding:0 6px;color:#eee;font-size:12px;font-weight:700}
.portal-body .admin-checkout-products>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.portal-body .admin-checkout-products label{display:flex;align-items:center;gap:8px;color:#eee;font-size:12px}
.portal-body .admin-checkout-products input{width:17px;height:17px;flex:none;accent-color:#ddd}
.portal-body #admin-checkout-link-form .admin-checkout-pricing-note{margin:1px 0 13px;color:#e3e3e3;font-size:14px;line-height:1.6}
.portal-body #admin-checkout-link-form .admin-checkout-products>div{gap:9px 12px}
.portal-body #admin-checkout-link-form .admin-checkout-product{align-items:flex-start;min-width:0;min-height:83px;padding:11px 12px;margin:0;border:1px solid #535353;border-radius:7px;background:#111;gap:11px;cursor:pointer}
.portal-body #admin-checkout-link-form .admin-checkout-product:has(input:checked){border-color:#cbb676;background:#27231a}
.portal-body #admin-checkout-link-form .admin-checkout-product input{width:19px;height:19px;padding:0;margin:2px 0 0;accent-color:#e2ce91}
.portal-body #admin-checkout-link-form .admin-checkout-product-copy{display:grid;min-width:0;gap:5px;line-height:1.4}
.portal-body #admin-checkout-link-form .admin-checkout-product-copy>strong{font-size:15px;font-weight:750;color:#fff;overflow-wrap:anywhere}
.portal-body #admin-checkout-link-form .admin-checkout-product-price{display:grid;gap:2px;margin:0;color:#ddd;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.portal-body #admin-checkout-link-form .admin-checkout-product-setup{color:#ece3c7;font-weight:700}
.portal-body #admin-checkout-link-form .admin-checkout-product-commission{color:#e2ce91;font-weight:700}
@media(max-width:700px){.portal-body #admin-checkout-link-form .admin-checkout-products>div{grid-template-columns:1fr}.portal-body #admin-checkout-link-form .admin-checkout-product{min-height:0;padding:12px}}
@media(forced-colors:active){.portal-body #admin-checkout-link-form .admin-checkout-product{background:Canvas;border-color:CanvasText}.portal-body #admin-checkout-link-form .admin-checkout-product:has(input:checked){background:Canvas;border-color:Highlight}.portal-body #admin-checkout-link-form .admin-checkout-product-setup,.portal-body #admin-checkout-link-form .admin-checkout-product-commission{color:CanvasText}}
.portal-body .admin-checkout-link-result{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px;border:1px solid #777;border-radius:7px;background:#101010;overflow-wrap:anywhere}
.portal-body .admin-setup-payments{grid-column:1/-1;min-width:0;margin:0;padding:15px;border:1px solid #777;border-radius:8px;background:#121212}
.portal-body .admin-setup-payments legend{padding:0 6px;color:#fff;font-size:15px;font-weight:750}
.portal-body .admin-setup-payment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.portal-body .admin-setup-payment-fields label{display:grid;gap:7px;min-width:0;margin:0;color:#eee;font-size:14px;font-weight:700;line-height:1.5}
.portal-body .admin-setup-payment-fields label[hidden]{display:none}
.portal-body .admin-setup-payment-fields select{display:block;width:100%;max-width:100%;min-width:0;min-height:52px;padding:13px;border:1px solid #777;border-radius:9px;background-color:#090909;color:#eee;line-height:1.5;color-scheme:dark}
.portal-body .admin-setup-payment-fields select:focus-visible{outline:2px solid #fff;outline-offset:3px;border-color:#fff}
.portal-body #admin-checkout-link-form .admin-installment-help{margin:12px 0 0;color:#ddd;font-size:14px;line-height:1.6;font-weight:600}
.portal-body .admin-checkout-order .admin-order-installments{color:#ece3c7;font-size:14px;font-weight:700;line-height:1.6}
@media(max-width:700px){.portal-body .admin-setup-payment-fields{grid-template-columns:1fr}.portal-body .admin-setup-payments{padding:12px}}
.portal-body .admin-checkout-link-result[hidden]{display:none}
.portal-body .admin-checkout-link-result a{min-width:0;color:#fff;font-size:13px;overflow-wrap:anywhere}
.portal-body .admin-checkout-link-result small{width:100%;color:#bbb;font-size:11px}
.portal-body .admin-checkout-order{display:grid;gap:5px;margin:9px 0;padding:14px;border:1px solid #555;border-radius:8px;background:#111;overflow-wrap:anywhere}
.portal-body .admin-checkout-order p{margin:0;color:#ddd;font-size:12px;line-height:1.5}
.portal-body .admin-checkout-order small{color:#aaa;font-size:10px;line-height:1.45}
.portal-body .admin-checkout-order-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.portal-body .admin-checkout-order-heading>strong{color:#fff;font-size:15px}
.portal-body .admin-status{grid-column:1/-1;margin:0;color:#fff;font-size:13px;line-height:1.55;overflow-wrap:anywhere}
.portal-body .admin-status.is-error,.portal-body .admin-inline-status.is-error{color:#fff;background:#4b1717;border:1px solid #da7777;border-radius:6px;padding:8px 10px}
.portal-body .admin-empty{margin:0;padding:15px 16px;border:1px dashed #777;border-radius:8px;color:#ececec;font-size:13px;line-height:1.6}
.portal-body .admin-customer-list{display:grid;gap:12px}
.portal-body .admin-customer{border:1px solid #696969;border-radius:11px;background:linear-gradient(145deg,#202020,#101010);overflow:hidden}
.portal-body .admin-customer>summary{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:74px;padding:15px 18px;cursor:pointer;list-style:none}
.portal-body .admin-customer>summary::-webkit-details-marker{display:none}
.portal-body .admin-customer-summary:after{content:'＋';font-size:20px;font-weight:500;color:#fff}
.portal-body details[open]>.admin-customer-summary:after{content:'−'}
.portal-body .admin-customer-identity{display:grid;gap:4px;min-width:0}
.portal-body .admin-customer-identity strong{font-size:15px;line-height:1.45;color:#fff}
.portal-body .admin-customer-identity small{font-size:11px;line-height:1.45;color:#e6e6e6;overflow-wrap:anywhere}
.portal-body .admin-account-state,.portal-body .admin-referral-badge{flex:none;border:1px solid #858585;border-radius:99px;padding:6px 10px;color:#fff;background:#303030;font-size:10px;line-height:1.4;font-weight:800}
.portal-body .admin-account-state.is-inactive{background:#492929;border-color:#bd7777}
.portal-body .admin-customer-body{border-top:1px solid #595959;padding:21px}
.portal-body .admin-launch-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.portal-body .admin-launch-form>.admin-field:nth-child(7),.portal-body .admin-launch-form>.admin-field:nth-child(8){grid-column:span 1}
.portal-body .admin-check{display:flex;align-items:center;gap:8px;min-height:43px;color:#fff;font-size:12px;font-weight:800}
.portal-body .admin-check input,.portal-body .portal-reward-choice input,.portal-body .portal-permission input{width:17px;height:17px;accent-color:#fff}
.portal-body .admin-step-editor{grid-column:1/-1;display:grid;gap:7px;min-width:0;border:0;border-top:1px solid #5c5c5c;margin:5px 0 0;padding:13px 0 0}
.portal-body .admin-step-editor legend{padding:0 8px 0 0;color:#fff;font-size:12px;font-weight:900;letter-spacing:.04em}
.portal-body .admin-step-row{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(180px,1.5fr) minmax(135px,.6fr);gap:8px}
.portal-body .admin-step-row input,.portal-body .admin-step-row select{min-height:39px;font-size:12px}
.portal-body .admin-save-line{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:5px}
.portal-body .admin-save-line .portal-button{width:auto;min-height:44px;margin:0;padding:10px 15px;font-size:12px}
.portal-body .admin-inline-status{margin:0;color:#fff;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.portal-body .admin-finance-section{margin-top:23px;padding-top:19px;border-top:1px solid #646464}
.portal-body .admin-subheading{display:flex;justify-content:space-between;align-items:baseline;gap:15px;margin-bottom:11px}
.portal-body .admin-subheading h3{margin:0;color:#fff;font-size:15px;font-weight:900}
.portal-body .admin-subheading>span{color:#e8e8e8;font-size:11px;line-height:1.5;text-align:right}
.portal-body .admin-finance-list{display:grid;border-top:1px solid #565656}
.portal-body .admin-finance-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #555}
.portal-body .admin-finance-copy{display:grid;gap:3px;min-width:0}
.portal-body .admin-finance-copy strong{color:#fff;font-size:12px;line-height:1.45}
.portal-body .admin-finance-copy small{color:#e1e1e1;font-size:10px;line-height:1.4}
.portal-body .admin-finance-row>strong{font-size:13px;color:#fff;white-space:nowrap}
.portal-body .admin-finance-row>.admin-credit-amount{color:#eee}
.portal-body .admin-status-button{min-height:33px;padding:6px 9px;border:1px solid #888;border-radius:6px;background:#292929;color:#fff;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.portal-body .admin-status-button:hover{background:#444;border-color:#eee}
.portal-body .admin-finance-form{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(150px,1.2fr) minmax(100px,.6fr) minmax(130px,.7fr) auto;gap:9px;align-items:end;margin-top:13px;padding:14px;border:1px solid #5d5d5d;border-radius:8px;background:#151515}
.portal-body .admin-finance-form .admin-field{font-size:10px}
.portal-body .admin-finance-form .admin-field input,.portal-body .admin-finance-form .admin-field select{min-height:38px;font-size:12px}
.portal-body .admin-finance-form>.admin-outline-button{min-height:38px;font-size:10px;white-space:nowrap}
.portal-body .admin-referral-list{display:grid;gap:12px}
.portal-body .admin-referral-card{padding:19px;border:1px solid #666;border-radius:10px;background:linear-gradient(145deg,#252525,#111)}
.portal-body .admin-referral-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.portal-body .admin-referral-heading h3{margin:0 0 4px;color:#fff;font-size:17px;line-height:1.4}
.portal-body .admin-referral-heading p{margin:0;color:#e5e5e5;font-size:12px;line-height:1.6}
.portal-body .admin-referral-contact{margin:12px 0 0;color:#eee;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.portal-body .admin-referral-contact a{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.portal-body .admin-referral-controls{display:grid;grid-template-columns:minmax(170px,.6fr) minmax(190px,1fr);gap:11px;margin-top:15px}
.portal-body .admin-referral-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.portal-body .admin-referral-actions button{min-height:37px}
.portal-body .admin-button-primary{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:8px 11px;border:1px solid #fff;border-radius:6px;background:linear-gradient(135deg,#fff,#ccc);color:#111;font-size:11px;font-weight:900;cursor:pointer}
.portal-body .admin-button-primary:hover{filter:brightness(1.08)}
.portal-body .admin-reward-line{margin:13px 0 0;padding:9px 11px;border:1px solid #777;border-radius:6px;background:#171717;color:#fff;font-size:12px;font-weight:800}
.portal-body .admin-audit-list{display:grid;border-top:1px solid #5b5b5b}
.portal-body .admin-audit-row{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid #555}
.portal-body .admin-audit-row strong{color:#fff;font-size:12px;line-height:1.55}
.portal-body .admin-audit-row span{color:#e1e1e1;font-size:10px;line-height:1.45}
.portal-body .portal-finance-panel,.portal-body .portal-referral-panel{margin-top:22px;padding:27px 30px}
.portal-body .portal-panel-heading>div>p{font-size:12px;line-height:1.7;color:#e3e3e3;margin:6px 0 0}
.portal-body .portal-finance-summary{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.portal-body .portal-finance-summary span{border:1px solid #777;border-radius:99px;background:#191919;padding:6px 9px;color:#fff;font-size:10px;line-height:1.4;font-weight:800;white-space:nowrap}
.portal-body .portal-finance-summary .portal-credit-chip{background:#3b3b3b;border-color:#c5c5c5}
.portal-body .portal-finance-list{margin-top:17px;border-top:1px solid #595959}
.portal-body .portal-finance-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #505050}
.portal-body .portal-finance-detail{display:grid;gap:4px;min-width:0}
.portal-body .portal-finance-detail strong{font-size:13px;line-height:1.55;color:#fff}
.portal-body .portal-finance-detail small{font-size:10px;line-height:1.4;color:#e1e1e1}
.portal-body .portal-finance-amount,.portal-body .portal-finance-credit{font-size:13px;line-height:1.5;color:#fff;font-weight:900;white-space:nowrap}
.portal-body .portal-finance-status{border:1px solid #747474;border-radius:99px;padding:4px 8px;font-size:10px;line-height:1.4;font-weight:800;color:#fff;white-space:nowrap}
.portal-body .portal-finance-status.is-paid{background:#303030;border-color:#bbb}
.portal-body .portal-finance-status.is-credit{background:#434343;border-color:#ccc}
.portal-body .portal-ledger-empty,.portal-body .portal-referral-list>p{margin:0;padding:14px 0;color:#eee;font-size:13px;line-height:1.6}
.portal-body .portal-ledger-note,.portal-body .portal-referral-small{margin:14px 0 0;color:#e4e4e4;font-size:11px;line-height:1.6}
.portal-body .portal-referral-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;margin-top:19px}
.portal-body .portal-referral-form{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}
.portal-body .portal-referral-form>label:not(.portal-permission){grid-column:span 1;font-size:11px;line-height:1.5;font-weight:800;color:#fff;margin:10px 0 6px}
.portal-body .portal-referral-form>label:not(.portal-permission) input{display:block;width:100%;min-height:42px;margin-top:5px;padding:9px 10px;border:1px solid #808080;border-radius:6px;background:#090909;color:#fff;font-size:13px}
.portal-body .portal-referral-form input::placeholder{color:#ccc;opacity:1}
.portal-body .portal-reward-choice{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:13px;border:0;border-top:1px solid #555;margin:15px 0 0;padding:13px 0 0}
.portal-body .portal-reward-choice legend{padding:0 10px 0 0;color:#fff;font-size:11px;line-height:1.5;font-weight:900}
.portal-body .portal-reward-choice label{display:inline-flex;align-items:center;gap:7px;margin:0;color:#f4f4f4;font-size:11px;line-height:1.5}
.portal-body .portal-permission{grid-column:1/-1;display:flex;align-items:flex-start;gap:9px;margin:14px 0 0;color:#eee;font-size:11px;line-height:1.5}
.portal-body .portal-permission input{flex:none;margin-top:2px}
.portal-body .portal-form-status{grid-column:1/-1;margin:9px 0 0;color:#fff;font-size:12px;line-height:1.5}
.portal-body .portal-form-status.is-error{padding:8px;border:1px solid #c66;background:#402222;border-radius:5px}
.portal-body .portal-referral-form>.portal-button{grid-column:1/-1;margin-top:13px;min-height:46px;padding:11px 14px;font-size:12px}
.portal-body .portal-referral-records{padding:17px;border:1px solid #626262;border-radius:9px;background:linear-gradient(135deg,#222,#111)}
.portal-body .portal-referral-records h3{margin:0 0 8px;font-size:15px;line-height:1.5;font-weight:900;color:#fff}
.portal-body .portal-referral-list{border-top:1px solid #555}
.portal-body .portal-referral-entry{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:11px 0;border-bottom:1px solid #555}
.portal-body .portal-referral-entry>div{display:grid;gap:4px;min-width:0}
.portal-body .portal-referral-entry>div strong{color:#fff;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
.portal-body .portal-referral-entry>div span{color:#e5e5e5;font-size:10px;line-height:1.5}
.portal-body .portal-referral-amount{color:#fff;font-size:11px;line-height:1.4;text-align:right;white-space:nowrap}
.portal-body .admin-body a:focus-visible,.portal-body .admin-body button:focus-visible,.portal-body .admin-body input:focus-visible,.portal-body .admin-body select:focus-visible{outline:2px solid #fff;outline-offset:2px}
.portal-body .portal-session-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:16px 0 0;padding:0 0 14px;border-bottom:1px solid #575757}
.portal-body .portal-session-bar>span{font-size:10px;line-height:1.5;letter-spacing:.1em;font-weight:900;color:#eee}
.portal-body .portal-session-bar button{display:flex;align-items:center;gap:8px;min-height:37px;padding:7px 11px;border:1px solid #888;border-radius:6px;background:#202020;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.portal-body .portal-session-bar button:hover{background:#393939;border-color:#eee}
.portal-body .portal-session-bar svg{width:16px;height:16px}
.portal-body .admin-panel button:disabled,.portal-body form button:disabled{opacity:1;cursor:wait}
.portal-body .admin-consultation-list{display:grid;gap:13px}
.portal-body .admin-consultation-card{min-width:0;padding:19px;border:1px solid #666;border-radius:10px;background:linear-gradient(145deg,#252525,#111)}
.portal-body .admin-consultation-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.portal-body .admin-consultation-heading h3{margin:0 0 4px;color:#fff;font-size:17px;line-height:1.4}
.portal-body .admin-consultation-heading p{margin:0;color:#e5e5e5;font-size:12px;line-height:1.6}
.portal-body .admin-consultation-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:15px 0}
.portal-body .admin-consultation-details>div{display:grid;gap:3px;min-width:0}
.portal-body .admin-consultation-details strong{color:#eee;font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.06em}
.portal-body .admin-consultation-details span,.portal-body .admin-consultation-note{color:#fff;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.portal-body .admin-consultation-contact{display:flex;flex-wrap:wrap;gap:10px 18px;padding:11px 0;border-block:1px solid #555}
.portal-body .admin-consultation-contact a{color:#fff;font-size:13px;font-weight:800;overflow-wrap:anywhere;text-underline-offset:3px}
.portal-body .admin-consultation-note{margin:10px 0 0;padding:10px 12px;border-radius:6px;background:#151515}
.portal-body .admin-consultation-controls{display:grid;grid-template-columns:minmax(150px,.45fr) minmax(180px,1fr) auto;align-items:end;gap:11px;margin-top:13px}
.portal-body .admin-consultation-controls .portal-outline-button{min-height:43px}
.portal-body .admin-consultation-controls .admin-inline-status{grid-column:1/-1}
@media(max-width:950px){.portal-body .admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-body .admin-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-body .admin-finance-form{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-body .admin-finance-form>.admin-outline-button{grid-column:1/-1}.portal-body .portal-referral-layout{gap:18px}.portal-body .admin-heading h1{font-size:58px}}
@media(max-width:700px){.portal-body .portal-admin{padding:22px 0 50px}.portal-body .admin-heading{align-items:flex-start}.portal-body .admin-heading h1{font-size:49px}.portal-body .admin-heading>div>p{font-size:13px}.portal-body .admin-metrics{gap:8px}.portal-body .admin-metrics article{padding:13px}.portal-body .admin-metrics article span{font-size:9px}.portal-body .admin-metrics article strong{font-size:23px}.portal-body .admin-panel{padding:19px 15px}.portal-body .admin-panel-heading h2{font-size:20px}.portal-body .admin-panel-heading p{font-size:12px}.portal-body .admin-create-form{padding:13px;gap:10px}.portal-body .admin-launch-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portal-body .admin-step-row{grid-template-columns:1fr minmax(115px,.7fr)}.portal-body .admin-step-row input:nth-child(2){grid-column:1/-1;grid-row:2}.portal-body .admin-step-row select{grid-column:2;grid-row:1}.portal-body .admin-customer-body{padding:14px}.portal-body .admin-referral-controls{grid-template-columns:1fr}.portal-body .portal-referral-layout{grid-template-columns:1fr}.portal-body .portal-finance-panel,.portal-body .portal-referral-panel{padding:20px 17px}.portal-body .portal-finance-panel>.portal-panel-heading{align-items:flex-start;flex-direction:column}.portal-body .portal-finance-summary{justify-content:flex-start}.portal-body .portal-referral-form{grid-template-columns:1fr}.portal-body .portal-referral-form>label:not(.portal-permission){grid-column:1}.portal-body .portal-referral-records{padding:14px}.portal-body .portal-login-card{padding:25px}.portal-body .portal-login-tabs button{font-size:11px}}
@media(max-width:700px){.portal-body .admin-tabs{flex-wrap:wrap}.portal-body .admin-tabs button{flex:1 1 calc(50% - 5px)}}
@media(max-width:430px){.portal-body .admin-heading{gap:10px}.portal-body .admin-heading h1{font-size:42px}.portal-body .admin-heading .portal-outline-button{min-height:36px;padding:7px 9px;font-size:10px}.portal-body .admin-tabs button{padding:8px 5px;font-size:10px}.portal-body .admin-create-form{grid-template-columns:1fr}.portal-body .admin-create-form .portal-button,.portal-body .admin-status{grid-column:1}.portal-body .admin-customer>summary{padding:13px}.portal-body .admin-account-state{max-width:104px;text-align:center;font-size:9px}.portal-body .admin-launch-form{grid-template-columns:1fr}.portal-body .admin-step-editor,.portal-body .admin-save-line{grid-column:1}.portal-body .admin-save-line{align-items:flex-start;flex-direction:column}.portal-body .admin-finance-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.portal-body .admin-finance-row .admin-status-button{grid-column:1/-1;justify-self:start}.portal-body .admin-finance-form{grid-template-columns:1fr}.portal-body .admin-finance-form>.admin-outline-button{grid-column:1}.portal-body .admin-subheading{align-items:flex-start;flex-direction:column}.portal-body .admin-subheading>span{text-align:left}.portal-body .admin-referral-heading,.portal-body .admin-consultation-heading{flex-direction:column;gap:8px}.portal-body .admin-referral-badge{max-width:100%;white-space:normal}.portal-body .admin-referral-actions{display:grid;grid-template-columns:1fr}.portal-body .admin-consultation-details{grid-template-columns:1fr}.portal-body .admin-consultation-controls{grid-template-columns:1fr}.portal-body .admin-consultation-controls .admin-inline-status{grid-column:1}.portal-body .portal-finance-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}.portal-body .portal-finance-status{grid-column:2;justify-self:end}.portal-body .portal-referral-entry{align-items:flex-start}.portal-body .portal-referral-amount{font-size:10px}}
@media(prefers-reduced-motion:reduce){.portal-body .portal-login-tabs button,.portal-body .admin-tabs button{transition:none}}
@media(forced-colors:active){.portal-body .portal-login-tabs,.portal-body .admin-tabs,.portal-body .admin-metrics article,.portal-body .admin-panel,.portal-body .admin-customer,.portal-body .admin-referral-card,.portal-body .portal-finance-panel,.portal-body .portal-referral-panel,.portal-body .portal-referral-records{border:1px solid CanvasText;background:Canvas}.portal-body .portal-login-tabs button.is-active,.portal-body .admin-tabs button.is-active{border:1px solid ButtonText;background:ButtonFace;color:ButtonText}}

/* Verified checkout entries keep their source visible and cannot be manually reversed. */
.portal-body .admin-finance-section .admin-subheading > span{max-width:420px;color:#e8e8e8;font-size:13px;line-height:1.55}
.portal-body .admin-finance-copy .admin-finance-source{color:#ededed;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.portal-body .admin-finance-synced{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid #b8b8b8;border-radius:6px;background:linear-gradient(135deg,#393939,#222);color:#fff;font-size:12px;font-weight:800;line-height:1.4;white-space:nowrap}
.portal-body .admin-order-payment-summary{color:#f2f2f2;font-weight:650}
@media(max-width:430px){.portal-body .admin-finance-synced{grid-column:1/-1;justify-self:start;font-size:12px}.portal-body .admin-finance-section .admin-subheading > span{max-width:none;text-align:left}}
@media(forced-colors:active){.portal-body .admin-finance-synced{border:1px solid CanvasText;background:Canvas;color:CanvasText}}

.portal-body .admin-status-button:disabled{background:#292929;color:#fff;border-color:#aaa}
.portal-body .admin-finance-feedback,.portal-body .admin-finance-form .admin-inline-status{font-size:14px;line-height:1.5;color:#e8e8e8}
.portal-body .admin-finance-feedback.is-error,.portal-body .admin-inline-status.is-error{color:#fff;background:#402222;border:1px solid #bc7777;border-radius:5px;padding:8px 10px}
.portal-body .admin-finance-form .admin-inline-status{grid-column:1/-1}
.portal-body .admin-finance-form{grid-template-columns:minmax(250px,1.1fr) minmax(230px,1.2fr) minmax(120px,.5fr) minmax(150px,.6fr);gap:14px;padding:18px}
.portal-body .admin-finance-form .admin-field{font-size:14px}
.portal-body .admin-finance-form .admin-field input,.portal-body .admin-finance-form .admin-field select{min-height:46px;font-size:14px}
.portal-body .admin-finance-form>.admin-outline-button{grid-column:1/-1;justify-self:end;min-height:46px;padding:11px 18px;font-size:14px}
.portal-body .admin-finance-help{grid-column:1/-1;margin:0;color:#e8e8e8;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:1100px){.portal-body .admin-finance-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.portal-body .admin-finance-form{grid-template-columns:minmax(0,1fr);padding:14px}.portal-body .admin-finance-form>.admin-outline-button{width:100%;justify-self:stretch}}
