/* Anchor House Signing Studio V2 - Guided review/workbench; standalone and isolated */
.sg-workbench{background:linear-gradient(135deg,#fff 0%,#f8faf9 62%,#edf3f3 100%);border:1px solid #dae6e5;border-radius:17px;padding:clamp(20px,3vw,36px);box-shadow:0 16px 38px rgba(9,42,64,.045);margin:25px 0 38px;scroll-margin-top:24px}
.sg-workbench-head{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:20px}
.sg-workbench-head h2{font:500 clamp(28px,3.4vw,41px)/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:6px 0 10px;color:#092a40}
.sg-workbench-head p{color:#62787d;max-width:660px;margin:0;font-size:12px;line-height:1.75}
.sg-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:25px 0}
.sg-step{display:flex;align-items:center;gap:10px;border-top:2px solid #b8d2d0;padding:13px 5px;font-size:11px;font-weight:800;color:#425960}
.sg-step span{display:grid;place-items:center;border-radius:50%;background:#e3eeee;width:28px;height:28px;flex-shrink:0;font:800 11px Manrope,Arial,sans-serif;color:#24515c}
.sg-step:first-child{border-top-color:#9e8a60}
.sg-layout{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:16px}
.sg-panel{background:#fff;border:1px solid #e2e9e8;border-radius:12px;padding:22px;min-width:0}
.sg-panel h3{font:500 28px/1.13 'Cormorant Garamond',Georgia,serif;color:#092a40;margin:0 0 8px}
.sg-panel p{font-size:12px;color:#66767a;line-height:1.7;margin:0 0 16px}
.sg-panel label:not(.sg-confirm){display:block;font-size:11px;font-weight:800;margin:13px 0 6px;color:#38515a}
.sg-panel select,.sg-panel input[type=text],.sg-panel input[type=file]{width:100%;max-width:100%;border:1px solid #c9d7d7;border-radius:8px;padding:11px;color:#233a42;background:white}
.sg-panel select:focus,.sg-panel input:focus{outline:2px solid #7ca4ad;outline-offset:1px}
.sg-inline{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:14px 0}
.sg-inline .btn{padding:9px 12px;font-size:10px}
.sg-files{display:grid;gap:8px;margin:14px 0}
.sg-file{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e1e9e8;background:#fbfdfc;padding:13px;border-radius:9px}
.sg-file strong{display:block;font-size:11px;overflow-wrap:anywhere;color:#1e3e4b}
.sg-file small{font-size:10px;color:#6f8288}
.sg-tag{display:inline-block;border-radius:99px;font-size:9px;font-weight:800;background:#eef4f2;color:#3c6457;padding:5px 9px;white-space:nowrap}
.sg-tag.warn{background:#fff2e2;color:#9c6633}
.sg-tag.block{background:#ffeded;color:#984447}
.sg-upload{border:1px dashed #9db9ba;background:#f6faf9;border-radius:10px;padding:16px;margin:13px 0}
.sg-upload label{margin:0 0 5px!important}
.sg-upload .btn{margin-top:11px}
.sg-review-list{display:grid;gap:5px;margin:15px 0 17px}
.sg-check{display:flex;align-items:start;gap:10px;border:1px solid #e6ebea;border-radius:8px;padding:10px}
.sg-check-icon{width:20px;height:20px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#e8f4ec;color:#285d3d;font-size:12px;font-weight:800}
.sg-check.blocked .sg-check-icon{background:#fcebec;color:#993e40}
.sg-check strong{display:block;color:#2c424c;font-size:11px}
.sg-check small{display:block;color:#6a7c80;font-size:10px}
.sg-confirm{display:flex;gap:10px;align-items:start;margin:14px 0 12px;font-size:11px;line-height:1.5;color:#344b54}
.sg-confirm input{margin:3px 0 0;flex-shrink:0;accent-color:#143849}
.sg-send{width:100%;padding:13px}
.sg-notice{font-size:11px;color:#7b6441;background:#fcf7ed;border:1px solid #eadfc9;border-radius:8px;padding:11px 12px;margin-top:12px}
.sg-info{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0 4px}
.sg-info span{font-size:10px;color:#71818a}
.sg-dialog{border:1px solid #d1e0df;border-radius:16px;padding:0;width:min(780px,calc(100% - 30px));max-height:90vh;overflow:auto;box-shadow:0 20px 70px #092a4060;background:white;color:#18313d}
.sg-dialog::backdrop{background:rgba(9,25,35,.65)}
.sg-dialog .sg-dialog-inner{padding:28px}
.sg-dialog h2{font:500 36px Georgia,serif;margin:0 0 12px;color:#092a40}
.sg-dialog pre{white-space:pre-wrap;word-break:break-word;background:#f4f8f7;padding:13px;border-radius:8px;font:11px/1.8 ui-monospace,monospace}
.sg-dialog .sg-row{border-bottom:1px solid #e3e9e7;padding:12px 0;font-size:12px}
.sg-dialog .sg-row strong{display:block}
.sg-dialog .sg-row small{display:block;color:#697c81}
.sg-message{border-radius:10px;background:#f1f7f5;border:1px solid #cbdedb;color:#2c594f;padding:13px 15px;margin:12px 0;line-height:1.5;font-size:12px}
.sg-message.error{background:#fff0f0;border-color:#ebc2c4;color:#9b313a}
.sg-hidden{display:none!important}
.sg-empty{font-size:11px;color:#5f767e;background:#f7faf9;border:1px solid #e3eae8;border-radius:9px;padding:15px}
.sg-recipient-delivery{display:inline-block;font-weight:800;font-size:10px;color:#526a74;padding-top:4px}
.sg-recipient-delivery.good{color:#277657}
.sg-recipient-delivery.warn{color:#a56436}
#sgLang{font-size:10px;letter-spacing:.025em;white-space:nowrap}
#sgRequests:focus{outline:none}
@media(max-width:1060px){.sg-layout{grid-template-columns:1fr}.sg-workbench-head{flex-direction:column}.sg-steps{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.sg-workbench{padding:15px;border-radius:12px}.sg-panel{padding:16px}.sg-steps{gap:6px}.sg-step{font-size:10px}.sg-steps span{height:24px;width:24px}.sg-file{flex-direction:column;align-items:start}.sg-workbench-head h2{font-size:33px}}

/* Anchor House / Signing Studio dashboard-first navigation */
body.ah-signing-home{background:#f4f6f8}
body.ah-signing-home main.shell{max-width:none;padding:0;margin:0}
body.ah-signing-home main.shell > :not(#ahStudioHome){display:none!important}
#ahStudioHome[hidden]{display:none!important}
#ahStudioHome{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 90px);font-family:Manrope,Arial,sans-serif}
.ahsh-side{background:#fff;border-right:1px solid #e1e7eb;padding:26px 12px}
.ahsh-side .ahsh-label{font-size:10px;text-transform:uppercase;font-weight:800;letter-spacing:.16em;color:#81939b;padding:0 13px 14px}
.ahsh-side a,.ahsh-side button{width:100%;display:flex;align-items:center;gap:11px;background:transparent;border:0;border-radius:8px;padding:12px 14px;text-decoration:none;color:#435b68;font:700 12px Manrope,Arial,sans-serif;cursor:pointer;text-align:left}
.ahsh-side :is(a,button):hover,.ahsh-side .ahsh-active{background:#e9f2f4;color:#11445c}
.ahsh-side .ahsh-nav-icon{font-size:17px;width:20px;text-align:center}
.ahsh-content{min-width:0;padding:34px clamp(16px,4vw,54px) 68px}
.ahsh-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:27px}
.ahsh-top h1{font:600 clamp(33px,4vw,48px)/1.15 Georgia,serif;margin:5px 0;color:#0c384d}
.ahsh-top p{font-size:12px;color:#778b93;margin:0}
.ahsh-overline{font-size:10px;font-weight:800;color:#66818e;letter-spacing:.16em;text-transform:uppercase}
.ahsh-cta{background:#103e54;border:1px solid #103e54;border-radius:9px;padding:12px 19px;color:#fff;font-weight:800;font-size:12px;white-space:nowrap;cursor:pointer}
.ahsh-cta:hover{background:#205b74}
.ahsh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.ahsh-stat,.ahsh-panel{border:1px solid #dfe8eb;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(13,44,58,.026)}
.ahsh-stat{padding:23px}
.ahsh-stat strong{font:600 38px Georgia,serif;color:#143d51;display:block;margin:10px 0}
.ahsh-stat small{color:#768a94;font-size:11px}
.ahsh-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.95fr);gap:18px}
.ahsh-panel{padding:23px;margin-bottom:18px;min-width:0}
.ahsh-panel h2{font:600 23px Georgia,serif;color:#193f51;margin:0 0 8px}
.ahsh-panel p{font-size:12px;color:#738690;margin:0 0 15px}
.ahsh-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ahsh-links a,.ahsh-links button{background:#f8fbfc;border:1px solid #dde8eb;border-radius:9px;text-align:left;text-decoration:none;padding:16px;font:800 12px Manrope,Arial,sans-serif;color:#214d60;cursor:pointer}
.ahsh-links a:hover,.ahsh-links button:hover{background:#eff6f7}
.ahsh-links small{display:block;color:#708993;font-size:10px;font-weight:500;margin-top:5px}
.ahsh-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #e7edf0;font-size:12px}
.ahsh-entry strong{display:block;font-size:12px;color:#214554}
.ahsh-entry small{display:block;color:#87969d;font-size:10px}
.ahsh-entry a{font-size:11px;color:#106176;text-decoration:none;font-weight:800;white-space:nowrap}
.ahsh-entry button{padding:8px 10px;border:1px solid #cbdde2;color:#15566b;background:white;border-radius:7px;cursor:pointer;font-size:11px}
.ahsh-empty{border:1px dashed #ccdce0;border-radius:9px;padding:15px;background:#f7fafb;color:#637e8b;font-size:11px}
.ahsh-progress{height:7px;background:#edf1f3;border-radius:20px;overflow:hidden;margin:13px 0}
.ahsh-progress span{display:block;height:100%;background:#52897e;width:0}
@media(max-width:1050px){.ahsh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ahsh-grid{grid-template-columns:1fr}}
@media(max-width:690px){#ahStudioHome{display:block}.ahsh-side{display:flex;gap:4px;overflow-x:auto;border-right:0;border-bottom:1px solid #dfe7ea;padding:8px}.ahsh-side .ahsh-label{display:none}.ahsh-side a,.ahsh-side button{width:auto;white-space:nowrap;padding:10px 12px}.ahsh-content{padding:22px 14px 54px}.ahsh-top{flex-direction:column;align-items:flex-start}.ahsh-links{grid-template-columns:1fr}.ahsh-stat{padding:17px}.ahsh-stat strong{font-size:29px}}

/* Signing Studio 2.1 - persistent left nav across all in-studio signing sections */
#ahStudioHome{align-items:start}
#ahStudioHome>.ahsh-side{grid-column:1;grid-row:1 / 3;position:sticky;top:0;align-self:start;height:100vh;max-height:100vh;overflow-y:auto;overflow-x:hidden;z-index:4;scrollbar-width:thin}
#ahStudioHome>.ahsh-content,#ahStudioHome>#ahshWorkspacePane{grid-column:2;grid-row:1;min-width:0}
#ahStudioHome>.ahsh-content[hidden],#ahshWorkspacePane[hidden]{display:none!important}
#ahshWorkspacePane{padding:33px clamp(16px,3vw,48px) 80px;min-width:0;width:100%}
#ahshWorkspacePane .hero{margin-bottom:24px}
#ahshWorkspacePane .hero h1{font-size:clamp(41px,5vw,67px)}
#ahshWorkspacePane .sg-workbench{margin-top:22px}
#ahshWorkspacePane .sg-steps{margin-top:16px}
#ahshWorkspacePane .sg-layout{min-width:0}
#ahStudioHome>.ahsh-side .ahsh-group{margin-top:20px;padding-top:19px;border-top:1px solid #e6edef}
#ahStudioHome>.ahsh-side [data-ah-section].ahsh-active{background:#dfeef0;color:#0b3a51;border-left:3px solid #b49b72;padding-left:11px}
#ahStudioHome>.ahsh-side :is(a,button):focus-visible{outline:2px solid #b49b72;outline-offset:2px}
#ahshWorkspacePane .note{margin-top:22px}
@media(max-width:960px){#ahStudioHome{grid-template-columns:188px minmax(0,1fr)}#ahshWorkspacePane{padding:25px 18px 65px}}
@media(max-width:690px){#ahStudioHome{display:block}#ahStudioHome>.ahsh-side{position:sticky;top:0;width:100%;height:auto;max-height:none;overflow-x:auto;overflow-y:hidden;z-index:10;white-space:nowrap;box-shadow:0 3px 9px #0a2a3814}#ahStudioHome>.ahsh-side .ahsh-group{display:none}#ahStudioHome>.ahsh-content,#ahStudioHome>#ahshWorkspacePane{width:100%}#ahshWorkspacePane{padding:20px 13px 60px}#ahshWorkspacePane .hero h1{font-size:43px}}


/* Pipeline 2.0: authentic brokerage stages with a compact BackOffice-style shell */
#ahStudioHome{grid-template-columns:190px minmax(0,1fr)}
#ahStudioHome>.ahsh-side{background:#f8f9fa;border-right:1px solid #e1e6eb;padding:12px 9px}
#ahStudioHome>.ahsh-side :is(a,button){font-size:11px;line-height:1.2;padding:10px 12px;border-radius:3px;color:#334a58}
#ahStudioHome>.ahsh-side .ahsh-label{font-size:9px;font-weight:800;letter-spacing:.1em;color:#213e60}
#ahStudioHome>.ahsh-side .ahsh-active{background:#132f5c!important;color:#fff!important;border-left:0!important;padding-left:12px!important}
#ahStudioHome>.ahsh-side .ahsh-active .ahsh-nav-icon{color:#fff}
#ahStudioHome>.ahsh-side :is(a,button):hover:not(.ahsh-active){background:#e7edf4;color:#132f5c}
#ahStudioHome>.ahsh-side .ahsh-nav-icon{font-size:14px;width:17px}
#ahStudioHome>.ahsh-side .ahsh-side-brand{display:flex;align-items:center;gap:8px;padding:8px 9px 17px;margin-bottom:10px;border-bottom:1px solid #e0e6eb;border-radius:0;font-size:12px}
#ahStudioHome>.ahsh-side .ahsh-side-brand img{width:30px;height:30px;border-radius:50%;object-fit:cover}
#ahStudioHome>.ahsh-side .ahsh-side-brand small{display:block;font-size:8px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#6c8291}
#ahStudioHome>.ahsh-side .ahsh-side-brand strong{display:block;font-size:10px;letter-spacing:.03em;color:#123c52}
#ahStudioHome>.ahsh-side .ahsh-side-brand:hover{background:none}
#ahStudioHome>.ahsh-content,#ahStudioHome>#ahshWorkspacePane,#ahStudioHome>#ahshPipeline{grid-column:2;grid-row:1;min-width:0}
#ahStudioHome>#ahshPipeline[hidden]{display:none!important}
.ahpipe{padding:32px clamp(16px,3.5vw,48px) 65px;min-width:0;color:#203d4a}
.ahpipe-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:24px}
.ahpipe-heading h1{font:600 clamp(33px,4vw,45px)/1.16 Georgia,serif;color:#0b3348;margin:5px 0 8px}
.ahpipe-heading p{font-size:12px;color:#6c808a;max-width:650px;margin:0;line-height:1.6}
.ahpipe-header-actions{display:flex;flex-wrap:wrap;gap:9px}
.ahpipe-button{background:#fff;border:1px solid #d6e0e3;border-radius:7px;text-decoration:none;font:800 11px Manrope,Arial,sans-serif;color:#234b5b;padding:10px 14px;cursor:pointer;white-space:nowrap}
.ahpipe-primary{background:#113d53;border-color:#113d53;color:#fff}
.ahpipe-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.ahpipe-metric{border:1px solid #e0e7e9;background:white;border-radius:10px;padding:20px;min-width:0}
.ahpipe-metric span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.09em;color:#6a838c;font-weight:800}
.ahpipe-metric strong{display:block;font:600 35px Georgia,serif;color:#123a4d;margin:7px 0}
.ahpipe-metric small{display:block;font-size:10px;color:#788993;line-height:1.4}
.ahpipe-panel{background:#fff;border:1px solid #e0e7e9;border-radius:11px;padding:20px;min-width:0}
.ahpipe-toolbar{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:12px}
.ahpipe-toolbar label>span{display:block;font-size:10px;font-weight:800;color:#58707b;margin-bottom:4px}
.ahpipe-toolbar input[type=search],.ahpipe-toolbar select{border:1px solid #d0dcdf;border-radius:7px;padding:10px 12px;font:12px Manrope,Arial,sans-serif;background:#fff;color:#1d4051;min-height:40px}
.ahpipe-search{flex:2;min-width:200px}.ahpipe-search input{width:100%}
.ahpipe-stage{min-width:155px}.ahpipe-stage select{width:100%}
.ahpipe-toolbar .ahpipe-archived{display:flex;align-items:center;gap:7px;padding-bottom:8px;font-size:11px;font-weight:700;color:#586f7a}
.ahpipe-layout{display:flex;border:1px solid #d5e0e4;border-radius:7px;overflow:hidden}
.ahpipe-layout button{border:0;border-right:1px solid #d5e0e4;background:white;padding:10px 12px;font-size:11px;font-weight:800;color:#5f7681;cursor:pointer}
.ahpipe-layout button:last-child{border-right:0}
.ahpipe-layout button[aria-pressed=true]{background:#e8f0f3;color:#103f56}
.ahpipe-toolbar-info{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#738792;border-top:1px solid #ebf0f2;padding-top:12px}
.ahpipe-status{font-size:11px;color:#637f8b;padding:10px 0}
.ahpipe-board{display:flex;gap:13px;overflow-x:auto;overscroll-behavior-x:contain;padding:4px 1px 15px;scrollbar-width:thin}
.ahpipe-column{min-width:237px;max-width:350px;flex:1 0 237px;border:1px solid #e1e9eb;border-radius:9px;background:#f7f9fa;min-height:280px;align-self:stretch}
.ahpipe-column-head{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f2f6f7;border-bottom:1px solid #e1e9eb;padding:14px 13px}
.ahpipe-column-head h2{font:800 12px Manrope,Arial,sans-serif;color:#284a5b;margin:0}
.ahpipe-column-head span{font:800 10px Manrope,Arial,sans-serif;background:white;border-radius:20px;padding:4px 8px;color:#527381}
.ahpipe-column-body{padding:10px;display:grid;align-content:start;gap:9px}
.ahpipe-card{border:1px solid #dce6e8;border-radius:8px;background:white;padding:14px;min-width:0;box-shadow:0 2px 4px #0c3b4708}
.ahpipe-card-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:9px;color:#6a8390;text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.ahpipe-due{color:#a06729;background:#fff2dc;padding:4px 6px;border-radius:4px}
.ahpipe-card h3{font:800 13px/1.35 Manrope,Arial,sans-serif;color:#163f51;margin:9px 0 4px;overflow-wrap:anywhere}
.ahpipe-card p{font-size:10px;color:#78919a;margin:0 0 14px}
.ahpipe-details{display:flex;justify-content:space-between;gap:12px;color:#5a707c;font-size:10px;padding-top:9px;border-top:1px solid #edf1f2}
.ahpipe-agent{margin-top:9px;font-size:10px;color:#6a828e}
.ahpipe-card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}
.ahpipe-card-actions a,.ahpipe-empty a{font-size:11px;font-weight:800;color:#126078;text-decoration:none}
.ahpipe-no-cards{font-size:11px;color:#879ba4;padding:12px 4px}
.ahpipe-empty{border:1px dashed #cddde1;padding:24px;border-radius:9px;color:#617d88;font-size:12px;background:#f9fcfc}
.ahpipe-empty strong{display:block;color:#1e4657;margin-bottom:6px}.ahpipe-empty p{margin:4px 0 14px}
.ahpipe-table{border-collapse:collapse;width:100%;font-size:11px}
.ahpipe-table th{text-align:left;color:#577380;font-weight:800;background:#f2f7f8}
.ahpipe-table :is(th,td){padding:13px;border-bottom:1px solid #e5ebee;vertical-align:top}
.ahpipe-table td strong{display:block;color:#234b5e}.ahpipe-table td small{display:block;color:#7c929b}
.ahpipe-table a{font-weight:800;color:#14637a;text-decoration:none}
.ahpipe-list-wrap{overflow-x:auto}
.ahpipe-limit{background:#fff7eb;border:1px solid #eedfc5;padding:12px;margin-top:16px;border-radius:7px;font-size:11px;color:#775d37}
.ahpipe-footnote{font-size:11px;color:#748b94;margin-top:15px;line-height:1.6}
@media(max-width:1050px){.ahpipe-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ahpipe{padding:24px 19px 60px}}
@media(max-width:690px){#ahStudioHome{display:block}#ahStudioHome>.ahsh-side{padding:7px 8px}#ahStudioHome>.ahsh-side .ahsh-side-brand{display:none}#ahStudioHome>.ahsh-side :is(a,button){font-size:11px;min-width:max-content}#ahStudioHome>.ahsh-content,#ahStudioHome>#ahshWorkspacePane,#ahStudioHome>#ahshPipeline{width:100%}.ahpipe{padding:18px 12px 50px}.ahpipe-heading{flex-direction:column;align-items:flex-start}.ahpipe-metrics{gap:8px}.ahpipe-metric{padding:14px}.ahpipe-metric strong{font-size:28px}.ahpipe-panel{padding:12px}.ahpipe-search{min-width:100%}.ahpipe-stage{min-width:130px}}


/* BackOffice-inspired authentic four-stage funnel and transaction roster */
.ahpf-wrap{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(345px,1.1fr);background:#fff;border:1px solid #e1e7ea;border-radius:10px;overflow:hidden;margin:0 0 19px}
.ahpf-left{min-width:0;padding:22px 16px 24px;border-right:1px solid #e0e7eb}
.ahpf-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ahpf-title h2{font:600 25px Georgia,serif;color:#163c50;margin:6px 0}
.ahpf-title button{border:1px solid #cbd9df;border-radius:5px;background:white;font-size:11px;font-weight:800;padding:8px 11px;color:#1a4b60;cursor:pointer}
.ahpf-title button:disabled{opacity:.4;cursor:default}
.ahpf-funnel{position:relative;width:100%;max-width:440px;height:420px;margin:10px auto 3px}
.ahpf-outline{position:absolute;width:100%;height:100%;inset:0;z-index:2;pointer-events:none}
.ahpf-s{position:absolute;left:0;right:0;height:25%;border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;color:#253c4b;font-family:Manrope,Arial,sans-serif;cursor:pointer;z-index:1}
.ahpf-s1{top:0;clip-path:polygon(11% 0,89% 0,84% 100%,16% 100%)}.ahpf-s2{top:25%;clip-path:polygon(16% 0,84% 0,80% 100%,20% 100%)}.ahpf-s3{top:50%;clip-path:polygon(20% 0,80% 0,75% 100%,25% 100%)}.ahpf-s4{top:75%;clip-path:polygon(25% 0,75% 0,70% 100%,30% 100%)}
.ahpf-s:hover{background:#f0f4f7}.ahpf-s[aria-pressed=true]{background:#e5edf7;color:#123c70}
.ahpf-s span{font-size:15px}.ahpf-s b{font-size:12px;background:#15386d;color:#fff;border-radius:3px;padding:2px 5px;margin-left:2px}
.ahpf-s small{font-size:14px}.ahpf-s em{font:800 10px Manrope,Arial,sans-serif;letter-spacing:.1em;margin-top:-5px}
.ahpf-months{max-width:340px;margin:8px auto 0}
.ahpf-month-head,.ahpf-month{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:8px;text-align:center;align-items:center}
.ahpf-month-head{font-size:9px;font-weight:800;color:#1c3969;letter-spacing:.05em;border-bottom:1px dashed #aebdca;padding:9px 0}
.ahpf-month{border-bottom:1px dashed #b4c3cc;padding:10px 0;min-height:57px}
.ahpf-month strong{font-size:10px;text-transform:uppercase;color:#415762}
.ahpf-month b{display:inline-block;background:#15396d;border-radius:3px;color:white;min-width:27px;padding:3px 8px;font-size:10px}
.ahpf-month small{display:block;font-size:10px;color:#6e8490;margin-top:4px}
.ahpf-disclaimer,.ahpf-months p{font-size:10px;color:#748893;line-height:1.5;margin:11px 0 0}
.ahpf-right{min-width:0;display:flex;flex-direction:column}
.ahpf-right>header{padding:22px 18px 14px;border-bottom:1px solid #e4ebee;display:flex;align-items:center;justify-content:space-between;gap:15px}
.ahpf-right h2{font:600 20px Georgia,serif;color:#193b4d;margin:0}
.ahpf-right h2 strong{font-size:29px}
.ahpf-right header p{font-size:10px;color:#788e99;margin:5px 0 0}
.ahpf-right header label{font-size:9px;color:#748a92;font-weight:800}
.ahpf-right header select{display:block;border:0;background:#163868;color:white;font:800 11px Manrope,Arial,sans-serif;padding:9px;border-radius:4px;max-width:150px}
.ahpf-list{flex:1;max-height:650px;overflow-y:auto;scrollbar-width:thin}
.ahpf-entry{display:grid;grid-template-columns:25px minmax(0,1fr) minmax(75px,.35fr);gap:12px;padding:13px 16px;border-bottom:1px solid #e9edef;align-items:center}
.ahpf-entry:hover{background:#f8fafb}
.ahpf-entry .ahpf-icon{background:#eaf0f2;color:#8ca0ad;border-radius:4px;width:25px;height:25px;display:grid;place-items:center;font-size:17px}
.ahpf-entry a{color:#185b8a;font-size:11px;font-weight:800;text-decoration:none;overflow-wrap:anywhere}
.ahpf-entry a:hover{text-decoration:underline}
.ahpf-entry :is(small,span){display:block;font-size:10px;color:#728793;margin-top:4px}
.ahpf-entry aside{text-align:right;overflow-wrap:anywhere}
.ahpf-entry aside span{font-size:10px;color:#354b57}
.ahpf-right footer{padding:16px;border-top:1px solid #e5ecef;text-align:right}
.ahpf-right footer a{color:#1b5b79;font-size:11px;font-weight:800}
.ahpf-empty{padding:22px 16px;color:#758e98;font-size:12px}
@media(max-width:1070px){.ahpf-wrap{grid-template-columns:1fr}.ahpf-left{border-right:0;border-bottom:1px solid #e1e7ea}.ahpf-list{max-height:460px}}
@media(max-width:690px){.ahpf-left{padding:16px 9px}.ahpf-funnel{height:340px}.ahpf-s span{font-size:12px}.ahpf-s small{font-size:12px}.ahpf-right>header{padding:15px 10px}.ahpf-entry{grid-template-columns:25px minmax(0,1fr);padding:12px 10px}.ahpf-entry aside{grid-column:2;text-align:left}}


.ahpf-fin-controls{background:#fff;border:1px solid #dfe7eb;border-radius:10px;display:flex;align-items:end;flex-wrap:wrap;gap:13px;padding:14px 18px;margin:0 0 14px}
.ahpf-fin-controls label{display:block;flex:1;min-width:145px;font-size:10px;font-weight:800;color:#647d88}
.ahpf-fin-controls label[hidden]{display:none!important}
.ahpf-fin-controls select{display:block;margin-top:5px;width:100%;background:#f9fbfc;border:1px solid #cddce3;color:#173c50;border-radius:6px;padding:10px 12px;font-size:11px;font-weight:700;min-height:39px}
.ahpf-fin-controls #ahpfScopeStatus{flex-basis:100%;font-size:10px;color:#6c8591}
.ahpf-selected-metric{text-align:right}
.ahpf-selected-metric small{display:block;font-size:10px;color:#7d9099;font-weight:700}
.ahpf-selected-metric strong{display:block;font:600 20px Georgia,serif;color:#173c52;white-space:nowrap;margin-top:3px}
#ahpfDisclosure{border-top:1px solid #e8edf0;padding-top:12px}
@media(max-width:690px){.ahpf-fin-controls{padding:12px;gap:10px}.ahpf-fin-controls label{min-width:calc(50% - 6px)}.ahpf-selected-metric strong{font-size:17px}}


/* BackOffice-inspired transaction table, native Anchor House records */
#ahStudioHome>#ahshTransactions{grid-column:2;grid-row:1;min-width:0}
#ahStudioHome>#ahshTransactions[hidden]{display:none!important}
.ahtx{padding:32px clamp(16px,3.5vw,48px) 70px;min-width:0}
.ahtx-header{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:23px}
.ahtx-header h1{font:600 clamp(34px,4vw,46px) Georgia,serif;color:#10394b;margin:5px 0}
.ahtx-header p{font-size:12px;color:#708592;margin:0}
.ahtx-head-actions{display:flex;gap:9px;flex-wrap:wrap}
.ahtx-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
.ahtx-summary>div{background:#fff;border:1px solid #e1e8eb;border-radius:10px;padding:18px;min-width:0}
.ahtx-summary strong{display:block;font:600 30px Georgia,serif;color:#123a4e;overflow-wrap:anywhere}
.ahtx-summary small{display:block;color:#7a8e96;font-weight:800;font-size:9px;letter-spacing:.06em;margin-top:8px}
.ahtx-panel{background:#fff;border:1px solid #e0e7eb;border-radius:11px;padding:20px;min-width:0}
.ahtx-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:end}
.ahtx-toolbar label{min-width:135px;flex:1;font-size:10px;font-weight:800;color:#586f7a}
.ahtx-toolbar label:first-child{flex:2;min-width:190px}
.ahtx-toolbar label[hidden]{display:none!important}
.ahtx-toolbar label>span{display:block;margin-bottom:5px}
.ahtx-toolbar :is(input,select){border:1px solid #d1dde2;border-radius:7px;padding:10px 11px;min-height:39px;width:100%;font-size:11px;color:#244b5c;background:white}
.ahtx-helper{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;border-top:1px solid #e7eef0;margin-top:15px;padding:12px 0;font-size:10px;color:#657d87}
.ahtx-table-outer{overflow-x:auto}
.ahtx-table{border-collapse:collapse;width:100%;min-width:850px;font:11px Manrope,Arial,sans-serif}
.ahtx-table th{text-align:left;background:#f1f5f7;border-bottom:1px solid #dce5e9;white-space:nowrap;padding:0}
.ahtx-table th button{border:0;background:transparent;color:#455f70;font-weight:800;font-size:10px;letter-spacing:.03em;padding:13px 10px;text-align:left;cursor:pointer;width:100%;white-space:nowrap}
.ahtx-table th button:hover{background:#e4eef1}
.ahtx-table td{padding:14px 10px;border-bottom:1px solid #e8edef;vertical-align:top;color:#455d6b;min-width:88px}
.ahtx-table tr:hover td{background:#f9fbfc}
.ahtx-table .ahtx-address{min-width:200px}
.ahtx-address>a{font-size:11px;font-weight:800;color:#1a5d8a;text-decoration:none}
.ahtx-address>a:hover{text-decoration:underline}
.ahtx-table td small{display:block;color:#81929a;font-size:10px;margin-top:5px}
.ahtx-pill{font-size:10px;border-radius:4px;padding:4px 7px;background:#eef3f6;color:#32586b;font-weight:800}
.ahtx-warning{display:inline-block;background:#fff3de;color:#996224;padding:4px 7px;font-size:9px;font-weight:800;border-radius:4px;margin-top:6px}
.ahtx-open{color:#1a5f7b;font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}
.ahtx-note{font-size:10px;color:#738a95;margin:15px 0;line-height:1.5}
@media(max-width:1080px){.ahtx-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ahtx{padding:24px 18px 65px}}
@media(max-width:690px){#ahStudioHome>#ahshTransactions{width:100%}.ahtx{padding:18px 12px 50px}.ahtx-header{flex-direction:column;align-items:flex-start}.ahtx-panel{padding:12px}.ahtx-summary>div{padding:13px}.ahtx-summary strong{font-size:24px}}
