*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f7f4ef;color:#1f1d1a;font-family:"Avenir Next","Segoe UI",Arial,sans-serif}.avops{--bg:#f8f5f0;--panel:#fffdfa;--panel2:#fbf8f3;--ink:#1f1d1a;--muted:#716a62;--soft:#9a9187;--line:#e7dfd4;--line2:#eee8df;--bronze:#a7773f;--bronze2:#8a5f2f;--bronze-soft:#f2e9dc;--green:#2f7d45;--green-bg:#edf6ee;--red:#b34b39;--red-bg:#fff0ed;--blue:#426d96;--blue-bg:#edf3f8;--violet:#6b578b;--violet-bg:#f3eff8;--amber:#a76714;--amber-bg:#fff4e5;min-height:100vh}.avops a{color:inherit;text-decoration:none}.avops button,.avops input,.avops select{font:inherit}.avops button{cursor:pointer}.avops svg{display:block}.avops-shell{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.avops-sidebar{position:sticky;top:0;height:100vh;background:rgba(255,253,250,.96);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 18px 18px;z-index:30}.avops-brand{display:flex;align-items:center;min-height:60px;padding:0 6px 17px;border-bottom:1px solid transparent}.avops-brand img{width:185px;height:auto;display:block}.avops-nav{display:grid;gap:4px;margin-top:12px}.avops-nav a{height:44px;display:flex;align-items:center;gap:12px;padding:0 13px;border-radius:8px;color:#24211e;font-size:13px;font-weight:650;transition:.18s}.avops-nav a svg{width:18px;height:18px;stroke-width:1.7}.avops-nav a:hover{background:#f7f1e9;color:var(--bronze2)}.avops-nav a.is-active{background:linear-gradient(90deg,#f3eadf,#eee4d7);color:#784c1e}.avops-help{margin-top:auto;padding:17px;background:linear-gradient(145deg,#fbf6ef,#f7efe5);border:1px solid #eee2d2;border-radius:10px;color:#754b23}.avops-help-title{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:800;margin-bottom:8px}.avops-help p{font-size:11px;line-height:1.65;margin:0 0 12px;color:#7c5a38}.avops-help a{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:850}.avops-user{display:flex;align-items:center;gap:10px;margin-top:14px;padding:15px 8px 0;border-top:1px solid var(--line)}.av-avatar{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ede7df;color:#2a2622;font-size:11px;font-weight:800;flex:0 0 auto;border:1px solid #e4dcd2}.av-avatar.lg{width:58px;height:58px;font-size:18px}.avops-user b{display:block;font-size:11px}.avops-user small{display:block;margin-top:3px;color:var(--muted);font-size:9px}.avops-main{min-width:0;padding:28px 32px 34px;background:linear-gradient(180deg,#fbf9f6 0%,#f7f4ef 100%)}.avops-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px}.avops-title h1{margin:0;font-size:27px;line-height:1.1;letter-spacing:-.025em;font-weight:650;color:#181714}.avops-title p{margin:8px 0 0;color:var(--muted);font-size:12px}.avops-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.avops-search{position:relative;width:260px;max-width:100%}.avops-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#777067}.avops-search input{width:100%;height:42px;border:1px solid var(--line);background:rgba(255,255,255,.72);border-radius:7px;padding:0 12px 0 37px;color:var(--ink);outline:0;transition:.18s}.avops-search input:focus{border-color:#b99162;box-shadow:0 0 0 3px rgba(167,119,63,.10);background:#fff}.av-btn{height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:#fffdfa;color:#302a24;border-radius:7px;padding:0 16px;font-size:11px;font-weight:750;white-space:nowrap;transition:.18s}.av-btn svg{width:16px;height:16px}.av-btn:hover{border-color:#c9b79f;background:#fff}.av-btn-primary{background:linear-gradient(180deg,#b1844b,#9a6935);border-color:#9a6935;color:#fff}.av-btn-primary:hover{background:linear-gradient(180deg,#a9783e,#8f5f2f);border-color:#8f5f2f}.av-icon-btn{width:42px;padding:0}.av-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:18px}.av-kpi{min-height:116px;padding:17px 17px 15px;background:rgba(255,253,250,.78);border:1px solid var(--line);border-radius:9px;position:relative;overflow:hidden}.av-kpi .k-icon{position:absolute;right:12px;top:12px;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f4eee6;color:var(--bronze2)}.av-kpi .k-icon svg{width:16px;height:16px}.av-kpi .k-label{display:block;font-size:10px;font-weight:750;color:#322e29;padding-right:34px}.av-kpi strong{display:block;margin-top:11px;font-size:28px;line-height:1;font-weight:620;letter-spacing:-.03em}.av-kpi .trend{display:flex;align-items:center;gap:6px;margin-top:10px;font-size:9px;color:var(--muted)}.trend.up{color:var(--green)}.trend.down{color:var(--red)}.av-grid{display:grid;gap:12px}.av-grid-3{grid-template-columns:1fr 1.15fr 1fr}.av-grid-2{grid-template-columns:1.2fr .8fr}.av-panel{background:rgba(255,253,250,.85);border:1px solid var(--line);border-radius:9px;padding:17px;min-width:0}.av-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.av-panel-head h2,.av-panel-head h3{margin:0;font-size:13px;font-weight:750}.av-panel-head a,.av-panel-head button{border:0;background:transparent;color:var(--bronze2);font-size:9px;font-weight:750}.av-panel-sub{font-size:10px;color:var(--muted)}.av-list{display:grid}.av-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;border-top:1px solid var(--line2);font-size:10px}.av-list-row:first-child{border-top:0}.av-list-row span:last-child{color:#7c5b36}.av-donut-wrap{display:flex;align-items:center;gap:22px}.av-donut{--p1:#a7773f;--p2:#c8aa7f;--p3:#9fa1a0;--p4:#d8d0c5;width:128px;height:128px;border-radius:50%;background:conic-gradient(var(--p1) 0 42%,var(--p2) 42% 67%,var(--p3) 67% 84%,var(--p4) 84% 100%);position:relative;flex:0 0 auto}.av-donut:after{content:"";position:absolute;inset:20px;border-radius:50%;background:#fffdfa}.av-donut-center{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:9px}.av-donut-center b{font-size:23px;line-height:1}.av-legend{display:grid;gap:11px;min-width:0;font-size:9px}.av-legend div{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px}.av-dot{width:7px;height:7px;border-radius:50%;background:#a7773f}.av-dot.c2{background:#c8aa7f}.av-dot.c3{background:#777e82}.av-dot.c4{background:#b8b6b0}.av-dot.green{background:#3c8751}.av-dot.blue{background:#4e86b7}.av-dot.red{background:#b7533f}.av-dot.violet{background:#765a9a}.av-funnel{width:130px;display:grid;gap:2px;margin:auto}.av-funnel span{height:28px;margin:auto;background:linear-gradient(90deg,#d6cec2,#b5a996);clip-path:polygon(8% 0,92% 0,80% 100%,20% 100%)}.av-funnel span:nth-child(2){width:88%}.av-funnel span:nth-child(3){width:72%}.av-funnel span:nth-child(4){width:58%}.av-funnel span:nth-child(5){width:43%}.av-funnel span:nth-child(6){width:28%;background:#9e6d36}.av-pipeline{display:grid;grid-template-columns:140px 1fr;gap:18px;align-items:center}.av-pipeline .av-list-row{min-height:28px}.av-bars{height:115px;display:flex;align-items:end;justify-content:space-around;gap:14px;border-bottom:1px solid var(--line);position:relative;padding:0 14px}.av-bars:before,.av-bars:after{content:"";position:absolute;left:0;right:0;border-top:1px solid #eee7dd}.av-bars:before{top:35%}.av-bars:after{top:65%}.av-bar{width:25px;background:linear-gradient(#bda990,#9a8061);border-radius:3px 3px 0 0;position:relative;z-index:2}.av-bar-labels{display:flex;justify-content:space-around;font-size:9px;margin-top:6px;color:#49433d}.av-linechart{height:145px;position:relative;border-left:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden}.av-linechart svg{width:100%;height:100%}.av-linechart .gridline{stroke:#ece5dc;stroke-width:1}.av-linechart .line1{fill:none;stroke:#956329;stroke-width:2}.av-linechart .line2{fill:none;stroke:#c8c3ba;stroke-width:2;stroke-dasharray:5 5}.av-linechart circle{fill:#fff;stroke:#956329;stroke-width:2}.av-table-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:12px;align-items:start}.av-table-card{background:rgba(255,253,250,.88);border:1px solid var(--line);border-radius:9px;overflow:hidden;min-width:0}.av-filters{display:flex;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.av-filter{height:36px;border:1px solid var(--line);background:#fffdfa;border-radius:6px;padding:0 12px;color:#3a342d;font-size:10px}.av-sort{margin-left:auto;font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px}.av-table-wrap{overflow:auto}.av-table{width:100%;border-collapse:collapse;font-size:10px;min-width:780px}.av-table th{height:43px;text-align:left;padding:0 12px;color:#443e38;font-size:9px;font-weight:750;border-bottom:1px solid var(--line);background:#fffdf9;white-space:nowrap}.av-table td{height:57px;padding:8px 12px;border-bottom:1px solid var(--line2);vertical-align:middle;color:#3d3731}.av-table tr[data-select]{cursor:pointer}.av-table tr[data-select]:hover,.av-table tr.is-selected{background:linear-gradient(90deg,#f8f2ea,#fcfaf6)}.av-table tr:last-child td{border-bottom:0}.av-person{display:flex;align-items:center;gap:9px}.av-person b{display:block;color:#211f1c;font-size:10px}.av-person small{display:block;margin-top:3px;color:var(--muted);font-size:8px}.av-chip{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:3px 8px;border-radius:5px;border:1px solid #ddd5ca;background:#f4f0ea;color:#544b42;font-size:8px;line-height:1.15;white-space:nowrap}.av-chip.green{background:var(--green-bg);border-color:#d5e5d6;color:#315f39}.av-chip.blue{background:var(--blue-bg);border-color:#d7e1ea;color:#345b7d}.av-chip.amber{background:var(--amber-bg);border-color:#f0ddbf;color:#8c5712}.av-chip.violet{background:var(--violet-bg);border-color:#e3daef;color:#5b4775}.av-chip.red{background:var(--red-bg);border-color:#f0d0c9;color:#a33f30}.av-thumb{width:50px;height:38px;object-fit:cover;border-radius:4px;border:1px solid #e4ddd3;display:block}.av-pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.av-pages{display:flex;gap:6px;align-items:center}.av-page{width:34px;height:34px;border:1px solid var(--line);background:#fffdfa;border-radius:6px;color:#423a32}.av-page.is-active{border-color:#b78d5b;color:#754b20;background:#fbf5ed}.av-detail{background:rgba(255,253,250,.9);border:1px solid var(--line);border-radius:9px;overflow:hidden;position:sticky;top:20px}.av-detail-hero{padding:18px;border-bottom:1px solid var(--line);position:relative}.av-detail-hero.center{text-align:center}.av-detail-hero h2{margin:9px 0 3px;font-size:18px;font-weight:650}.av-detail-hero p{margin:0;color:var(--muted);font-size:10px}.av-detail-close{position:absolute;right:12px;top:12px;border:0;background:transparent;color:#75502a}.av-detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.av-mini-action{height:34px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:#fffdfa;border-radius:6px;font-size:9px}.av-mini-action.primary{background:#a7773f;color:#fff;border-color:#9d6b35}.av-detail-section{padding:16px;border-bottom:1px solid var(--line)}.av-detail-section:last-child{border-bottom:0}.av-detail-section h3{margin:0 0 12px;font-size:11px}.av-info{display:grid;gap:9px}.av-info-row{display:flex;justify-content:space-between;gap:14px;font-size:9px;line-height:1.4}.av-info-row span:first-child{color:var(--muted)}.av-info-row b{font-weight:650;text-align:right}.av-notes{font-size:10px;color:#50483f;line-height:1.6}.av-photo{width:100%;height:150px;object-fit:cover;display:block}.av-right-rail{display:grid;gap:12px}.av-calendar{padding:16px}.av-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.av-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center;font-size:8px}.av-cal-grid span{height:25px;display:flex;align-items:center;justify-content:center;border-radius:50%}.av-cal-grid .muted{color:#b6aea3}.av-cal-grid .active{background:#9a6a34;color:#fff}.av-tabs{display:flex;gap:4px;padding:0 6px;border-bottom:1px solid var(--line);overflow:auto}.av-tab{height:48px;border:0;background:transparent;padding:0 13px;font-size:10px;color:#4c453e;white-space:nowrap;border-bottom:2px solid transparent}.av-tab.is-active{color:#74491c;border-bottom-color:#a7773f}.av-settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px}.av-settings-stack{display:grid;gap:12px}.av-settings-card{background:rgba(255,253,250,.9);border:1px solid var(--line);border-radius:9px;padding:15px}.av-settings-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:12px}.av-settings-card-head h2{margin:0;font-size:13px}.av-settings-card-head p{margin:5px 0 0;font-size:9px;color:var(--muted)}.av-settings-row{display:grid;grid-template-columns:250px 1fr auto;gap:16px;align-items:center;min-height:34px;border-top:1px solid var(--line2);font-size:9px}.av-settings-row b{font-weight:650}.av-report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.av-report-card{min-height:230px}.av-report-library{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.av-report-tile{padding:14px;border:1px solid var(--line);border-radius:8px;background:#fffdfa;min-height:140px}.av-report-tile h3{font-size:11px;margin:10px 0 5px}.av-report-tile p{font-size:9px;line-height:1.5;color:var(--muted);min-height:41px}.av-toast{position:fixed;left:50%;bottom:24px;z-index:100;transform:translate(-50%,16px);background:#1f1d1a;color:#fff;padding:11px 15px;border-radius:7px;font-size:10px;opacity:0;pointer-events:none;transition:.2s}.av-toast.is-visible{opacity:1;transform:translate(-50%,0)}.av-mobile-top,.av-mobile-bottom,.av-drawer-shade{display:none}.av-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.av-empty{padding:36px;text-align:center;color:var(--muted);font-size:11px}.avops :focus-visible{outline:2px solid #b1834d;outline-offset:2px}.av-status-ok{color:var(--green)}
@media(max-width:1350px){.av-kpis{grid-template-columns:repeat(3,1fr)}.av-kpis .av-kpi:nth-child(n+4){min-height:105px}.av-grid-3{grid-template-columns:1fr 1fr}.av-grid-3>.av-panel:last-child{grid-column:1/-1}.av-table-shell{grid-template-columns:minmax(0,1fr) 300px}.av-report-library{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1120px){body{padding-top:70px}.avops-shell{display:block}.avops-sidebar{position:fixed;left:0;top:0;width:280px;height:100vh;transform:translateX(-105%);transition:.22s;box-shadow:18px 0 50px rgba(35,30,25,.16);z-index:80}.avops-sidebar.is-open{transform:none}.av-drawer-shade.is-open{display:block;position:fixed;inset:0;background:rgba(20,18,16,.25);z-index:70}.av-mobile-top{display:flex;position:fixed;z-index:60;top:0;left:0;right:0;height:70px;background:rgba(255,253,250,.96);border-bottom:1px solid var(--line);align-items:center;justify-content:space-between;padding:0 20px;backdrop-filter:blur(14px)}.av-mobile-top img{width:165px}.av-mobile-menu-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:7px;background:#fffdfa;display:flex;align-items:center;justify-content:center}.avops-main{padding:25px 22px 34px}.av-table-shell{grid-template-columns:1fr}.av-detail{position:relative;top:auto}.av-grid-3{grid-template-columns:1fr 1fr}.av-kpis{grid-template-columns:repeat(3,1fr)}.av-settings-layout{grid-template-columns:1fr}.av-report-grid{grid-template-columns:1fr 1fr}.av-report-library{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){body{padding-top:64px;padding-bottom:64px}.av-mobile-top{height:64px;padding:0 14px}.av-mobile-top img{width:145px}.avops-main{padding:19px 13px 28px}.avops-top{display:grid;gap:14px;margin-bottom:16px}.avops-title h1{font-size:22px}.avops-title p{font-size:10px;margin-top:5px}.avops-toolbar{justify-content:flex-start}.avops-search{width:100%;order:4}.avops-toolbar .av-btn{height:38px}.av-kpis{grid-template-columns:1fr 1fr;gap:8px}.av-kpi{min-height:96px;padding:13px}.av-kpi .k-icon{width:28px;height:28px}.av-kpi strong{font-size:23px}.av-kpi .trend{font-size:8px}.av-grid-3,.av-grid-2{grid-template-columns:1fr}.av-grid-3>.av-panel:last-child{grid-column:auto}.av-panel{padding:14px}.av-donut-wrap{gap:14px}.av-donut{width:110px;height:110px}.av-donut:after{inset:17px}.av-table-card{border-radius:8px}.av-filters{display:grid;grid-template-columns:1fr 1fr;gap:7px}.av-filter{width:100%;min-width:0}.av-sort{grid-column:1/-1;margin:2px 0 0}.av-table-wrap{overflow:visible}.av-table{min-width:0;display:block}.av-table thead{display:none}.av-table tbody{display:grid;gap:8px;padding:8px}.av-table tr{display:grid;grid-template-columns:1fr auto;gap:5px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fffdfa}.av-table td{height:auto;padding:0;border:0;display:block;font-size:9px}.av-table td:nth-child(n+5){display:none}.av-table td:last-child{display:block;grid-column:2;grid-row:1/-1;align-self:center}.av-table td:empty{display:none}.av-pagination{padding:10px 8px}.av-pagination>span:first-child{display:none}.av-pages .av-page:nth-child(n+4):not(:last-child){display:none}.av-detail{border-radius:8px}.av-photo{height:180px}.av-settings-row{grid-template-columns:1fr auto;gap:8px;padding:8px 0}.av-settings-row>*:nth-child(2){grid-column:1/-1;grid-row:2;color:var(--muted)}.av-report-grid{grid-template-columns:1fr}.av-report-library{grid-template-columns:1fr 1fr}.av-mobile-bottom{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:55;height:64px;background:rgba(255,253,250,.97);border-top:1px solid var(--line);grid-template-columns:repeat(5,1fr);backdrop-filter:blur(14px)}.av-mobile-bottom a,.av-mobile-bottom button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#625b53;font-size:7px}.av-mobile-bottom svg{width:18px;height:18px}.av-mobile-bottom .is-active{color:#9a672f}.av-list-row{font-size:9px}.av-pipeline{grid-template-columns:110px 1fr}.av-report-card{min-height:210px}.av-settings-card{padding:13px}.av-tabs{padding:0}.av-tab{height:42px;padding:0 10px;font-size:9px}}
@media(max-width:420px){.av-kpis{grid-template-columns:1fr 1fr}.av-kpi{min-height:94px}.av-filters{grid-template-columns:1fr}.av-sort{grid-column:auto}.av-report-library{grid-template-columns:1fr}.avops-toolbar .av-btn:not(.av-btn-primary):not(.av-icon-btn){padding:0 10px}.av-donut-wrap{align-items:flex-start}.av-donut{width:96px;height:96px}.av-donut-center b{font-size:20px}}
@media(max-width:350px){.av-kpis{grid-template-columns:1fr}.avops-main{padding-left:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v1.0.0 responsive consistency hardening */
.avops-sidebar{overflow-y:auto;overscroll-behavior:contain}
@media(max-width:760px){
  .avops-title p{display:none}
  .av-kpis .av-kpi:nth-child(5):last-child{grid-column:1/-1}
  .av-table tr{grid-template-columns:minmax(0,1fr) 24px}
  .av-table td:nth-child(1),.av-table td:nth-child(2),.av-table td:nth-child(3),.av-table td:nth-child(4){grid-column:1}
  .av-table td:last-child{grid-column:2;grid-row:1 / span 4;display:flex;align-items:center;justify-content:center}
  .av-table td:last-child svg{width:16px;height:16px}
}

/* v1.1.0 Operations detail / drill-down layer */
.av-record-page{max-width:1500px;margin:0 auto;min-width:0}
.av-record-crumb{display:flex;align-items:center;gap:8px;margin:-2px 0 13px;color:#8a8177;font-size:9px;font-weight:700;letter-spacing:.02em}
.av-record-crumb a{color:#83572b;transition:color .18s ease}.av-record-crumb a:hover{color:#5e3c1e}.av-record-crumb span:last-child{color:#5d554d}
.av-record-hero{position:relative;background:linear-gradient(135deg,rgba(255,253,250,.98),rgba(249,244,237,.96));border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:12px;box-shadow:0 10px 30px rgba(70,52,32,.035)}
.av-record-hero.has-photo{display:grid;grid-template-columns:minmax(280px,.74fr) minmax(0,1.45fr)}
.av-record-hero-photo{width:100%;height:100%;min-height:238px;object-fit:cover;display:block}
.av-record-hero-main{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:28px;min-width:0}
.av-record-identity{display:flex;align-items:center;gap:15px;min-width:0}.av-record-identity>div{min-width:0}
.av-record-identity h1{margin:5px 0 5px;font-size:29px;line-height:1.05;letter-spacing:-.025em;font-weight:650;color:#181714}
.av-record-identity p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.av-record-flags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-height:18px}
.av-record-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:520px}
.av-record-hero-meta{border-top:1px solid var(--line);padding:0 24px;background:rgba(255,255,255,.38)}
.av-record-hero.has-photo .av-record-hero-main,.av-record-hero.has-photo .av-record-hero-meta{grid-column:2}
.av-record-hero.has-photo .av-record-hero-main{grid-row:1}.av-record-hero.has-photo .av-record-hero-meta{grid-row:2}
.av-record-hero.has-photo .av-record-hero-photo{grid-column:1;grid-row:1/3}
.av-record-hero-meta .av-record-info{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
.av-record-hero-meta .av-record-info-item{padding:12px 15px;border-right:1px solid var(--line2);min-height:58px}.av-record-hero-meta .av-record-info-item:first-child{padding-left:0}.av-record-hero-meta .av-record-info-item:last-child{border-right:0}
.av-record-tabs{display:flex;gap:2px;padding:0 8px;margin-bottom:12px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}.av-record-tabs::-webkit-scrollbar{display:none}
.av-record-tab{height:43px;padding:0 15px;border:0;border-bottom:2px solid transparent;background:transparent;color:#686057;font-size:10px;font-weight:700;white-space:nowrap}.av-record-tab.is-active{color:#75491d;border-bottom-color:var(--bronze)}
.av-record-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.av-record-metric{min-height:92px;border:1px solid var(--line);border-radius:9px;background:rgba(255,253,250,.86);padding:14px;display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start}
.av-record-metric>span{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f4eee6;color:#8f5e2a}.av-record-metric>span svg{width:17px;height:17px}
.av-record-metric small{display:block;color:#716960;font-size:8px;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.av-record-metric strong{display:block;margin-top:6px;font-size:19px;line-height:1.05;font-weight:650;color:#211e1a}.av-record-metric p{margin:6px 0 0;color:#81786e;font-size:8px;line-height:1.4}
.av-record-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.68fr);gap:12px;align-items:start}.av-record-stack{display:grid;gap:12px;min-width:0}.av-record-rail{position:sticky;top:18px}
.av-record-card{background:rgba(255,253,250,.88);border:1px solid var(--line);border-radius:10px;padding:17px;min-width:0}.av-record-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.av-record-card-head h2{margin:0;font-size:12px;line-height:1.2;font-weight:760}.av-record-card-head button{border:0;background:transparent;padding:0;color:#875a2e;font-size:9px;font-weight:750}
.av-record-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.av-record-info-item{padding:9px 0;border-bottom:1px solid var(--line2);min-width:0}.av-record-info-item span{display:block;color:#8a8177;font-size:8px;text-transform:uppercase;letter-spacing:.055em}.av-record-info-item b{display:block;margin-top:5px;color:#27231f;font-size:10px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}.av-record-info-item small{display:block;margin-top:3px;color:#8b8278;font-size:8px;line-height:1.45}
.av-record-copy{margin:0;color:#4d463f;font-size:10px;line-height:1.75}.av-record-note{margin-top:13px;padding:12px 13px;border:1px solid #eadfce;border-radius:8px;background:#fbf6ef}.av-record-note b,.av-record-note span{display:block}.av-record-note b{font-size:9px;color:#754b22}.av-record-note span{margin-top:5px;color:#625950;font-size:9px;line-height:1.6}
.av-record-timeline{display:grid}.av-record-time{position:relative;display:grid;grid-template-columns:17px 1fr;gap:10px;padding:0 0 17px}.av-record-time:last-child{padding-bottom:0}.av-record-time:before{content:"";position:absolute;left:5px;top:12px;bottom:0;width:1px;background:#ded4c7}.av-record-time:last-child:before{display:none}.av-record-time>i{width:11px;height:11px;margin-top:2px;border-radius:50%;border:2px solid #c8b59c;background:#fffdfa;z-index:1}.av-record-time.is-current>i{border-color:#9e6b34;background:#9e6b34;box-shadow:0 0 0 4px #f3e9dd}.av-record-time b,.av-record-time span,.av-record-time small{display:block}.av-record-time b{font-size:10px;color:#29241f}.av-record-time span{margin-top:3px;font-size:9px;color:#875b31}.av-record-time small{margin-top:3px;color:#80766b;font-size:8px;line-height:1.5}
.av-record-activity{display:grid}.av-record-activity>div{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;padding:9px 0;border-top:1px solid var(--line2)}.av-record-activity>div:first-child{border-top:0;padding-top:0}.av-record-activity-icon{width:28px;height:28px;border-radius:50%;background:#f5eee5;color:#8d5d2e;display:flex;align-items:center;justify-content:center}.av-record-activity-icon svg{width:13px;height:13px}.av-record-activity p{margin:0}.av-record-activity b,.av-record-activity small{display:block}.av-record-activity b{font-size:9px;font-weight:700}.av-record-activity small{margin-top:3px;color:#8c8379;font-size:8px}
.av-record-linked{display:grid}.av-record-linked-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line2)}.av-record-linked-row:first-child{border-top:0;padding-top:0}.av-record-linked-row>div{display:flex;align-items:center;gap:9px;min-width:0}.av-record-linked-row img{width:46px;height:36px;border-radius:6px;object-fit:cover}.av-record-linked-row b,.av-record-linked-row small{display:block}.av-record-linked-row b{font-size:9px;color:#26221e}.av-record-linked-row small{margin-top:3px;color:#81786e;font-size:8px;line-height:1.35}.av-record-linked-row>span:last-child{font-size:9px;color:#8a5c2e;font-weight:750;white-space:nowrap}
.av-checklist{display:grid}.av-checklist>div{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line2);font-size:9px}.av-checklist>div:first-child{border-top:0}.av-checklist span:first-child{color:#3b352f}.av-checklist small{display:block;margin-top:3px;color:#8b8177;font-size:8px}
.av-record-button-stack{display:grid;gap:8px}.av-record-button-stack .av-btn{width:100%}
.av-detail-full-link{padding:14px;border-top:1px solid var(--line)}.av-detail-full-link .av-btn{width:100%;justify-content:center}.av-detail-full-link svg{width:14px;height:14px}
.av-table tr[data-detail-href]{box-shadow:inset 2px 0 0 rgba(167,119,63,.35)}
.av-doc-preview{min-height:330px;padding:24px;background:linear-gradient(135deg,#eee7de,#ddd2c5);display:flex;align-items:center;justify-content:center;border-radius:8px}.av-doc-sheet{width:min(360px,85%);min-height:275px;padding:28px;background:#fff;box-shadow:0 14px 35px rgba(57,44,30,.16);color:#443b32}.av-doc-sheet>span{font-family:Georgia,serif;font-size:11px;letter-spacing:.12em}.av-doc-sheet h3{margin:30px 0 18px;font-family:Georgia,serif;font-size:20px;font-weight:400}.av-doc-sheet p{font-size:9px}.av-doc-sheet div{height:1px;margin:18px 0;background:#ddd5ca}.av-doc-sheet small{color:#a2988c;font-size:7px}
.av-email-preview{max-width:520px;margin:auto;padding:24px;border:1px solid var(--line);background:#fff;text-align:center;border-radius:8px}.av-email-preview>span{font-family:Georgia,serif;letter-spacing:.11em;font-size:12px}.av-email-preview>small{display:block;margin:20px 0 8px;color:#a06b31;font-size:8px;font-weight:800;letter-spacing:.14em}.av-email-preview h3{margin:0 0 17px;font-family:Georgia,serif;font-size:25px;font-weight:400}.av-email-preview img{width:100%;height:180px;object-fit:cover;border-radius:5px}.av-email-preview p{font-size:9px;line-height:1.6;color:#70675d}.av-email-preview button{height:35px;padding:0 16px;border:0;border-radius:5px;background:#9d6b35;color:#fff;font-size:8px;text-transform:uppercase;font-weight:800;letter-spacing:.08em}
.av-record-chart-legend{display:flex;justify-content:center;gap:18px;margin-top:10px;font-size:8px;color:#746b61}.av-record-chart-legend span{display:flex;align-items:center;gap:5px}.av-record-chart-legend i{width:7px;height:7px;border-radius:50%;background:#9a6330}.av-record-chart-legend span:nth-child(2) i{background:#c8aa7f}.av-record-chart-legend span:nth-child(3) i{background:#3e8351}
.av-report-detail-table{display:grid;overflow:auto}.av-report-detail-table>div{display:grid;grid-template-columns:1.4fr repeat(4,.75fr);min-width:560px;border-top:1px solid var(--line2)}.av-report-detail-table>div:first-child{border-top:0;background:#faf6f0;border-radius:6px}.av-report-detail-table span,.av-report-detail-table b{padding:9px;font-size:8px;text-align:right}.av-report-detail-table span:first-child,.av-report-detail-table b:first-child{text-align:left}.av-report-detail-table b{font-weight:800;color:#3d352e}
.av-insights{display:grid;gap:9px}.av-insights p{margin:0;padding:12px;border:1px solid var(--line2);border-radius:7px;background:#fcfaf6}.av-insights b,.av-insights span{display:block}.av-insights b{font-size:9px;color:#76502a}.av-insights span{margin-top:4px;font-size:9px;line-height:1.55;color:#625950}

@media(max-width:1120px){
  .av-record-hero-main{padding:21px}.av-record-actions{max-width:440px}.av-record-hero-meta{padding:0 21px}
  .av-record-layout{grid-template-columns:1fr}.av-record-rail{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.av-record-rail>.av-record-card:last-child:nth-child(odd){grid-column:1/-1}
  .av-record-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.av-record-hero.has-photo{grid-template-columns:310px minmax(0,1fr)}
}
@media(max-width:760px){
  .av-record-crumb{margin-top:0}.av-record-hero,.av-record-hero.has-photo{display:block;border-radius:9px}
  .av-record-hero-photo{height:210px;min-height:0}.av-record-hero-main{display:grid;gap:16px;padding:17px}.av-record-identity{align-items:flex-start}.av-record-identity h1{font-size:23px}.av-record-actions{justify-content:flex-start;max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:7px}.av-record-actions .av-btn{width:100%;padding:0 9px;height:39px}
  .av-record-hero-meta{padding:0 17px}.av-record-hero-meta .av-record-info{grid-template-columns:1fr 1fr}.av-record-hero-meta .av-record-info-item{padding:10px 0;border-right:0}.av-record-hero-meta .av-record-info-item:nth-child(odd){padding-right:12px}.av-record-hero-meta .av-record-info-item:nth-child(even){padding-left:12px;border-left:1px solid var(--line2)}
  .av-record-tabs{margin-left:-13px;margin-right:-13px;padding-left:13px}.av-record-tab{height:40px;padding:0 11px;font-size:9px}
  .av-record-metrics{grid-template-columns:1fr 1fr;gap:8px}.av-record-metric{min-height:86px;padding:12px;grid-template-columns:29px 1fr;gap:9px}.av-record-metric>span{width:29px;height:29px}.av-record-metric strong{font-size:16px}
  .av-record-card{padding:14px;border-radius:8px}.av-record-info{grid-template-columns:1fr}.av-record-info-item{padding:8px 0}.av-record-rail{grid-template-columns:1fr}.av-record-rail>.av-record-card:last-child:nth-child(odd){grid-column:auto}
  .av-record-linked-row img{width:52px;height:40px}.av-doc-preview{min-height:285px;padding:14px}.av-doc-sheet{width:92%;padding:20px}.av-email-preview{padding:16px}.av-email-preview img{height:160px}
}
@media(max-width:420px){
  .av-record-actions{grid-template-columns:1fr}.av-record-metrics{grid-template-columns:1fr 1fr}.av-record-metric{display:block;min-height:92px}.av-record-metric>span{margin-bottom:9px}.av-record-hero-meta .av-record-info{grid-template-columns:1fr}.av-record-hero-meta .av-record-info-item:nth-child(odd),.av-record-hero-meta .av-record-info-item:nth-child(even){padding:9px 0;border-left:0}.av-record-identity .av-avatar.lg{width:48px;height:48px;font-size:15px}.av-record-identity h1{font-size:21px}.av-report-detail-table>div{min-width:500px}
}
@media(max-width:350px){.av-record-metrics{grid-template-columns:1fr}}
.avops-help-title svg{width:18px;height:18px;flex:0 0 auto;stroke-width:1.7}

/* v1.1.2 unified Alder & Vale master brand mark — light Operations treatment */
.avops-brand{
  min-height:60px;
  margin:0;
  padding:0 6px 17px;
  background:transparent;
  border:0;
  border-bottom:1px solid transparent;
  border-radius:0;
  box-shadow:none;
}
.avops-brand img{
  width:185px;
  max-width:100%;
  height:auto;
  filter:none!important;
  opacity:1;
}
.avops-nav{margin-top:12px}
@media(max-width:1120px){
  .avops-sidebar{padding-top:24px}
  .avops-sidebar .avops-brand{margin-bottom:0}
  .av-mobile-top{
    background:rgba(255,253,250,.97);
    border-bottom-color:var(--line);
    box-shadow:0 8px 26px rgba(35,30,25,.08);
  }
  .av-mobile-top img{
    width:165px;
    filter:none!important;
    opacity:1;
  }
  .av-mobile-menu-btn{
    color:#2a2622;
    border-color:var(--line);
    background:#fffdfa;
  }
  .av-mobile-menu-btn:hover{background:#f8f2ea;border-color:#c9b79f}
}
@media(max-width:760px){
  .av-mobile-top img{width:145px}
}


/* v1.2.0 comprehensive Operations final sweep: responsive, typography, accessibility, consistency */
.avops{
  --fs-xs:11px;--fs-sm:12px;--fs-md:14px;--fs-lg:16px;--fs-title:30px;
  font-size:14px;
}
.avops-main{padding:30px 34px 38px}
.avops-title h1{font-size:30px;line-height:1.08}
.avops-title p{font-size:14px;line-height:1.55;max-width:720px}
.avops-help-title{font-size:13px}.avops-help p{font-size:12px}.avops-help a{font-size:11px}
.avops-user b{font-size:12px}.avops-user small{font-size:11px}
.av-btn{min-height:44px;height:44px;font-size:13px;padding:0 16px}
.av-icon-btn{width:44px;padding:0}
.avops-search input{height:44px;font-size:14px}
.av-kpi{min-height:124px;padding:18px}
.av-kpi .k-label{font-size:12px;line-height:1.35}
.av-kpi strong{font-size:29px}
.av-kpi .trend{font-size:11px;line-height:1.35}
.av-panel{padding:18px}
.av-panel-head h2,.av-panel-head h3{font-size:15px;line-height:1.3}
.av-panel-head a,.av-panel-head button{font-size:12px;min-height:32px;display:inline-flex;align-items:center}
.av-panel-sub{font-size:12px}
.av-list-row{min-height:44px;font-size:13px;line-height:1.45}
.av-donut-center{font-size:11px}.av-donut-center b{font-size:24px}
.av-legend{font-size:12px;gap:12px}
.av-bar-labels{font-size:11px}
.av-linechart{height:220px;min-height:220px;display:flex;align-items:center;justify-content:center;padding:8px 0}
.av-linechart svg{width:100%;height:100%;max-width:100%}
.av-filter{min-height:42px;height:42px;font-size:12px;padding:0 13px}
.av-sort{font-size:12px;line-height:1.4}
.av-table{font-size:12px;min-width:830px}
.av-table th{height:48px;font-size:11px;padding:0 14px;letter-spacing:.01em}
.av-table td{height:72px;padding:10px 14px;font-size:12px;line-height:1.4}
.av-person{gap:11px}.av-person b{font-size:12px;line-height:1.35}.av-person small{font-size:11px;line-height:1.4}
.av-chip{min-height:28px;padding:5px 9px;font-size:11px;border-radius:6px}
.av-thumb{width:88px;height:64px;border-radius:7px}
.av-pagination{font-size:12px;padding:13px 15px}.av-page{width:40px;height:40px;font-size:12px}
.av-table tr[data-select]{cursor:default}.av-table tr[data-detail-href]{cursor:pointer}
.av-table tr:not([data-detail-href]) .av-row-arrow{visibility:hidden}
.av-table tr[data-detail-href] .av-row-arrow{color:#8a5f2f}
.av-detail-hero h2{font-size:20px}.av-detail-hero p{font-size:12px}
.av-detail-close{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:7px}
.av-detail-actions{gap:8px}.av-mini-action{min-height:42px;height:42px;font-size:12px;padding:0 12px}
.av-detail-section{padding:18px}.av-detail-section h3{font-size:13px}.av-info-row{font-size:12px}.av-notes{font-size:12px}
.av-photo{height:220px}
.av-calendar{padding:18px}.av-cal-grid{font-size:11px;gap:6px}.av-cal-grid span{height:30px}
.av-tabs,.av-record-tabs{scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain}
.av-tabs::-webkit-scrollbar,.av-record-tabs::-webkit-scrollbar{display:none;width:0;height:0}
.av-tab{height:48px;font-size:12px;padding:0 14px;font-weight:700}
.av-settings-card{padding:18px}.av-settings-card-head h2{font-size:15px}.av-settings-card-head p{font-size:12px;line-height:1.5}
.av-settings-row{grid-template-columns:minmax(190px,250px) minmax(0,1fr) auto;gap:18px;min-height:52px;font-size:12px;line-height:1.45}
.av-settings-row .av-btn,.av-settings-card-head .av-btn{min-height:40px;height:40px;font-size:12px}
.av-report-tile{min-height:160px;padding:16px}.av-report-tile h3{font-size:13px}.av-report-tile p{font-size:12px;line-height:1.55;min-height:0}
.av-toast{font-size:12px;line-height:1.4;max-width:min(440px,calc(100vw - 32px));text-align:center}
.av-record-crumb{font-size:11px;margin-bottom:14px}
.av-record-identity h1{font-size:30px}.av-record-identity p{font-size:13px}
.av-record-flags{gap:7px}
.av-record-actions{gap:9px}
.av-record-tab{height:46px;font-size:12px;padding:0 15px}
.av-record-metric{min-height:105px;padding:16px;grid-template-columns:38px 1fr;gap:12px}
.av-record-metric>span{width:38px;height:38px}
.av-record-metric small{font-size:11px;line-height:1.35}.av-record-metric strong{font-size:21px}.av-record-metric p{font-size:11px;line-height:1.45}
.av-record-card{padding:19px}.av-record-card-head h2{font-size:14px}.av-record-card-head button{font-size:12px;min-height:36px}
.av-record-info{gap:0 34px}.av-record-info-item{padding:11px 0}.av-record-info-item span{font-size:11px}.av-record-info-item b{font-size:13px}.av-record-info-item small{font-size:11px}
.av-record-copy{font-size:13px;line-height:1.7}.av-record-note b{font-size:12px}.av-record-note span{font-size:12px}
.av-record-time b{font-size:13px}.av-record-time span{font-size:12px}.av-record-time small{font-size:11px}
.av-record-activity b{font-size:12px}.av-record-activity small{font-size:11px}.av-record-activity>div{grid-template-columns:36px 1fr;gap:11px;padding:11px 0}.av-record-activity-icon{width:34px;height:34px}
.av-record-linked-row{padding:12px 0}.av-record-linked-row img{width:76px;height:56px;border-radius:7px}.av-record-linked-row b{font-size:12px}.av-record-linked-row small{font-size:11px}.av-record-linked-row>span:last-child{font-size:11px}
.av-checklist>div{min-height:50px;font-size:12px}.av-checklist small{font-size:11px}
.av-doc-sheet p{font-size:12px}.av-doc-sheet small{font-size:10px}.av-doc-sheet>span{font-size:12px}
.av-email-preview>small{font-size:11px}.av-email-preview p{font-size:12px}.av-email-preview button{min-height:42px;height:42px;font-size:11px}
.av-record-chart-legend{font-size:11px;gap:22px;margin-top:14px}
.av-report-detail-table span,.av-report-detail-table b{font-size:11px;padding:11px}
.av-insights b{font-size:12px}.av-insights span{font-size:12px}
.av-record-card .av-linechart{height:250px;min-height:250px}

/* Balanced KPI rows */
.av-kpis[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.av-kpis[data-count="5"]{grid-template-columns:repeat(5,minmax(0,1fr))}
.av-kpis[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Prevent preview-rail crunch before tablet shell activates. */
@media(max-width:1280px){
  .av-table-shell{grid-template-columns:1fr}
  .av-table-shell>.av-detail{display:none}
  .av-table{min-width:800px}
  .av-kpis[data-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}
  .av-kpis[data-count="5"]>.av-kpi{grid-column:span 2}
  .av-kpis[data-count="5"]>.av-kpi:nth-last-child(-n+2){grid-column:span 3}
  .av-kpis[data-count="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Tablet: clearer information hierarchy and two-column supporting rails. */
@media(max-width:1120px){
  body{padding-top:calc(72px + env(safe-area-inset-top))}
  .av-mobile-top{height:calc(72px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 22px 0}
  .av-mobile-menu-btn{width:44px;height:44px}
  .avops-sidebar{height:100dvh;padding-top:calc(24px + env(safe-area-inset-top));padding-bottom:calc(18px + env(safe-area-inset-bottom))}
  .avops-main{padding:28px 24px 38px}
  .avops-title h1{font-size:29px}.avops-title p{font-size:14px}
  .av-dashboard-notify,.av-dashboard-account{display:none!important}
  .av-kpis[data-count="5"]{grid-template-columns:repeat(6,minmax(0,1fr))}
  .av-kpis[data-count="5"]>.av-kpi{grid-column:span 2}
  .av-kpis[data-count="5"]>.av-kpi:nth-last-child(-n+2){grid-column:span 3}
  .av-kpis[data-count="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .av-kpis[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
  .av-right-rail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .av-right-rail>.av-panel:last-child:nth-child(odd){grid-column:1/-1}
  .av-settings-layout>.av-right-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .av-linechart{height:210px;min-height:210px}.av-record-card .av-linechart{height:230px;min-height:230px}
  .av-record-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .av-record-hero-main{align-items:flex-start}
}

/* Intermediate detail breakpoint: reflow before mobile rather than compressing desktop flex. */
@media(max-width:980px) and (min-width:761px){
  .av-record-hero.has-photo{display:block}
  .av-record-hero-photo{height:270px;min-height:0}
  .av-record-hero-main{display:grid;gap:18px;padding:22px}
  .av-record-actions{justify-content:flex-start;max-width:none}
  .av-record-hero-meta{padding:0 22px}
  .av-record-hero.has-photo .av-record-hero-main,.av-record-hero.has-photo .av-record-hero-meta,.av-record-hero.has-photo .av-record-hero-photo{grid-column:auto;grid-row:auto}
}

/* Mobile: readable cards, centered identity, left-aligned operational data. */
@media(max-width:760px){
  body{padding-top:calc(66px + env(safe-area-inset-top));padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .av-mobile-top{height:calc(66px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0}
  .av-mobile-top img{width:150px}
  .av-mobile-menu-btn{width:44px;height:44px}
  .av-mobile-bottom{height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}
  .av-mobile-bottom a,.av-mobile-bottom button{font-size:11px;font-weight:650;gap:5px;min-width:0}
  .av-mobile-bottom svg{width:20px;height:20px}
  .avops-main{padding:22px 14px 32px}
  .avops-top{gap:12px;margin-bottom:18px}.avops-title h1{font-size:27px}.avops-title p{display:block;font-size:14px;line-height:1.5;margin-top:7px}
  .avops-toolbar{width:100%;gap:8px}.avops-search{order:0;width:100%}.avops-toolbar .av-btn{height:44px;min-height:44px;font-size:13px}
  .av-kpis{gap:9px}
  .av-kpis[data-count="5"]{grid-template-columns:1fr 1fr}.av-kpis[data-count="5"]>.av-kpi{grid-column:auto}.av-kpis[data-count="5"]>.av-kpi:last-child{grid-column:1/-1}
  .av-kpis[data-count="4"]{grid-template-columns:1fr 1fr}.av-kpis[data-count="3"]{grid-template-columns:1fr 1fr}.av-kpis[data-count="3"]>.av-kpi:last-child{grid-column:1/-1}
  .av-kpi{min-height:112px;padding:15px}.av-kpi .k-label{font-size:12px}.av-kpi strong{font-size:25px}.av-kpi .trend{font-size:11px}
  .av-panel{padding:16px}.av-panel-head{align-items:flex-start}.av-panel-head h2,.av-panel-head h3{font-size:15px}.av-panel-head a,.av-panel-head button{font-size:12px}
  .av-list-row{font-size:13px;min-height:46px;align-items:flex-start;padding:10px 0}
  .av-donut-wrap{align-items:center;flex-wrap:wrap}.av-legend{font-size:12px;flex:1 1 145px}
  .av-pipeline{grid-template-columns:minmax(82px,31%) minmax(0,1fr);gap:12px}.av-funnel{width:100%;max-width:118px}.av-funnel span{max-width:100%}
  .av-linechart{height:200px;min-height:200px}.av-record-card .av-linechart{height:210px;min-height:210px}
  .av-filters{grid-template-columns:1fr 1fr;padding:11px;gap:8px}.av-filter{height:44px;min-height:44px;font-size:13px}.av-sort{font-size:12px;grid-column:1/-1}
  .av-table-wrap{overflow:visible}.av-table{display:block;min-width:0}.av-table thead{display:none}.av-table tbody{display:grid;gap:10px;padding:10px}
  .av-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:10px 12px;padding:15px;border:1px solid var(--line);border-radius:10px;background:#fffdfa;box-shadow:0 5px 18px rgba(55,43,29,.025)}
  .av-table td{display:block!important;height:auto;padding:0;border:0;font-size:13px;line-height:1.45;min-width:0}
  .av-table td:not(.av-row-arrow)::before{content:attr(data-label);display:block;margin-bottom:4px;color:#8b8177;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
  .av-table td:first-child{grid-column:1/3;padding-bottom:10px;border-bottom:1px solid var(--line2)}
  .av-table td:first-child::before{display:none}
  .av-table td:nth-last-child(2):not(:first-child){padding-bottom:0}
  .av-table .av-row-arrow{display:none!important}
  .av-table tr[data-detail-href] .av-row-arrow{display:flex!important;grid-column:3;grid-row:1;align-items:center;justify-content:center;color:#8a5f2f}
  .av-table tr[data-detail-href] td:first-child{grid-column:1/3}
  .av-person{align-items:flex-start}.av-person b{font-size:14px}.av-person small{font-size:12px}.av-avatar{width:38px;height:38px;font-size:12px}
  .av-thumb{width:108px;height:78px;border-radius:8px}
  .av-pagination{font-size:12px;padding:12px}.av-page{width:44px;height:44px}.av-pages{gap:5px}
  .av-right-rail,.av-settings-layout>.av-right-rail{grid-template-columns:1fr}.av-right-rail>.av-panel:last-child:nth-child(odd){grid-column:auto}
  .av-tabs{margin-left:-2px;margin-right:-2px;padding:0 2px}.av-tab{height:46px;font-size:13px;padding:0 13px}
  .av-settings-card{padding:16px}.av-settings-card-head{gap:10px}.av-settings-card-head h2{font-size:15px}.av-settings-card-head p{font-size:13px}.av-settings-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px 0;min-height:0;font-size:13px}.av-settings-row>*:nth-child(2){grid-column:1/-1;grid-row:2;color:var(--muted);line-height:1.45}.av-settings-row .av-btn{min-width:72px}
  .av-report-library{grid-template-columns:1fr}.av-report-tile h3{font-size:14px}.av-report-tile p{font-size:13px}
  .av-detail{display:none!important}
  .av-record-crumb{font-size:12px;margin-bottom:12px;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.av-record-crumb::-webkit-scrollbar{display:none}
  .av-record-hero,.av-record-hero.has-photo{display:block}
  .av-record-hero-photo{height:240px}
  .av-record-hero-main{display:grid;gap:18px;padding:20px 17px;text-align:center}
  .av-record-identity{display:flex;flex-direction:column;align-items:center!important;justify-content:center;text-align:center;gap:12px;width:100%}
  .av-record-identity>div{width:100%}.av-record-flags{justify-content:center}.av-record-identity h1{font-size:26px;line-height:1.12;margin-top:7px}.av-record-identity p{font-size:14px;line-height:1.5}
  .av-record-identity .av-avatar.lg{width:58px;height:58px;font-size:18px}
  .av-record-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:none;justify-content:stretch}.av-record-actions .av-btn{width:100%;height:46px;min-height:46px;font-size:13px}
  .av-record-hero-meta{padding:0 17px;text-align:left}.av-record-hero-meta .av-record-info{grid-template-columns:1fr 1fr}.av-record-hero-meta .av-record-info-item{padding:12px 0}.av-record-hero-meta .av-record-info-item span{font-size:10px}.av-record-hero-meta .av-record-info-item b{font-size:13px}
  .av-record-tabs{margin-left:-14px;margin-right:-14px;padding-left:14px}.av-record-tab{height:46px;font-size:13px;padding:0 13px}
  .av-record-metrics{grid-template-columns:1fr 1fr;gap:9px}.av-record-metric{min-height:108px;padding:14px;display:grid;grid-template-columns:34px 1fr}.av-record-metric small{font-size:10px}.av-record-metric strong{font-size:19px}.av-record-metric p{font-size:11px}
  .av-record-card{padding:16px}.av-record-card-head h2{font-size:15px}.av-record-card-head button{font-size:12px}.av-record-info{grid-template-columns:1fr}.av-record-info-item{padding:11px 0}.av-record-info-item span{font-size:10px}.av-record-info-item b{font-size:14px}.av-record-info-item small{font-size:12px}.av-record-copy{font-size:14px}.av-record-note b,.av-record-note span{font-size:12px}
  .av-record-time b{font-size:13px}.av-record-time span{font-size:12px}.av-record-time small{font-size:11px}.av-record-activity b{font-size:13px}.av-record-activity small{font-size:11px}
  .av-record-linked-row{align-items:flex-start}.av-record-linked-row img{width:96px;height:72px}.av-record-linked-row b{font-size:13px}.av-record-linked-row small{font-size:12px}.av-record-linked-row>span:last-child{font-size:11px}
  .av-doc-preview{min-height:320px}.av-doc-sheet p{font-size:12px}.av-doc-sheet small{font-size:10px}
  .av-email-preview{padding:16px}.av-email-preview img{height:190px}.av-email-preview p{font-size:13px}.av-email-preview button{height:44px;font-size:11px}
  .av-report-detail-table{overflow:auto;-webkit-overflow-scrolling:touch}.av-report-detail-table>div{min-width:620px}.av-report-detail-table span,.av-report-detail-table b{font-size:11px}
}

@media(max-width:520px){
  .avops-toolbar{display:grid;grid-template-columns:1fr 1fr}.avops-search{grid-column:1/-1}.avops-toolbar>.av-btn{width:100%;padding:0 10px}
  .av-filters{grid-template-columns:1fr}.av-sort{grid-column:auto}
  .av-record-actions{grid-template-columns:1fr}.av-record-hero-meta .av-record-info{grid-template-columns:1fr}.av-record-hero-meta .av-record-info-item:nth-child(odd),.av-record-hero-meta .av-record-info-item:nth-child(even){padding:11px 0;border-left:0}
  .av-record-metrics{grid-template-columns:1fr 1fr}.av-record-metric{display:block}.av-record-metric>span{margin-bottom:10px}
  .av-table tr{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;padding:14px 13px}.av-thumb{width:96px;height:70px}
}

@media(max-width:390px){
  .avops-main{padding-left:11px;padding-right:11px}.avops-title h1{font-size:25px}
  .av-mobile-top img{width:137px}.av-mobile-bottom a,.av-mobile-bottom button{font-size:10px}
  .av-record-metrics{grid-template-columns:1fr}.av-kpis[data-count="5"],.av-kpis[data-count="4"],.av-kpis[data-count="3"]{grid-template-columns:1fr 1fr}
  .av-record-linked-row img{width:84px;height:64px}
}

/* v1.2.0 final QA refinements */
.avops-help a{display:inline-flex;align-items:center;min-height:40px}
.av-panel-head a,.av-panel-head button{min-height:40px;padding-block:0}
.av-record-card-head button{min-height:40px;padding:0 4px}
.av-record-crumb a{display:inline-flex;align-items:center;min-height:36px}

@media(max-width:1280px) and (min-width:1121px){
  .av-table-shell>.av-right-rail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .av-table-shell>.av-right-rail>.av-panel:last-child:nth-child(odd){grid-column:1/-1}
}

@media(max-width:1120px) and (min-width:761px){
  .av-record-card .av-linechart{height:280px;min-height:280px}
  .av-panel-head a,.av-panel-head button,.av-record-card-head button{min-height:42px}
}

@media(max-width:760px){
  .av-record-tabs{margin-left:0;margin-right:0;padding-left:0;padding-right:0;width:100%;max-width:100%}
  .av-table td:not(.av-row-arrow)::before{font-size:11px}
  .av-record-hero-meta .av-record-info-item span{font-size:11px}
  .av-record-metric small{font-size:11px}
  .av-record-info-item span{font-size:11px}
  .av-doc-sheet small{font-size:11px}
  .av-panel-head a,.av-panel-head button,.av-record-card-head button{min-height:44px}
  .av-record-crumb a{min-height:40px}
}

@media(max-width:390px){
  .av-mobile-bottom a,.av-mobile-bottom button{font-size:11px}
}

/* v1.2.0 QA closure */
.av-record-crumb a{min-height:40px}
.av-doc-sheet small{font-size:11px}

@media(max-width:1120px) and (min-width:761px){
  .av-record-card .av-linechart{height:300px;min-height:300px}
}

@media(max-width:760px){
  .av-record-rail{grid-template-columns:1fr}
  .av-record-rail>.av-record-card:last-child:nth-child(odd){grid-column:auto}
}

/* v1.2.0 mobile KPI balance closure */
@media(max-width:760px){
  .av-kpis[data-count="5"]>.av-kpi:nth-last-child(-n+2){grid-column:auto}
  .av-kpis[data-count="5"]>.av-kpi:last-child{grid-column:1/-1}
}

/* v1.2.0 mobile table-card grid closure: two real data columns + overlaid drilldown affordance */
@media(max-width:760px){
  .av-table tr{grid-template-columns:repeat(2,minmax(0,1fr));position:relative;padding-right:48px}
  .av-table td:first-child,.av-table tr[data-detail-href] td:first-child{grid-column:1/-1;padding-right:0}
  .av-table tr[data-detail-href] .av-row-arrow{position:absolute;right:12px;top:18px;width:30px;height:40px;grid-column:auto;grid-row:auto;padding:0!important}
  .av-thumb{width:120px;height:88px}
}
@media(max-width:520px){
  .av-table tr{grid-template-columns:repeat(2,minmax(0,1fr));padding-right:46px}
  .av-thumb{width:112px;height:82px}
}

/* v1.2.1 CTA contrast consistency: bronze primary actions use Alder & Vale warm ivory text/icons */
.avops .av-btn-primary,
.avops a.av-btn-primary,
.avops a.av-btn-primary:link,
.avops a.av-btn-primary:visited,
.avops a.av-btn-primary:hover,
.avops a.av-btn-primary:focus,
.avops a.av-btn-primary:active,
.avops .av-mini-action.primary {
  color:#F7F1E8 !important;
}
.avops .av-btn-primary svg,
.avops a.av-btn-primary svg,
.avops .av-mini-action.primary svg {
  color:#F7F1E8 !important;
  stroke:currentColor !important;
}



/* v1.2.2 zoom / dense-desktop table resilience */
.av-table-shell.is-density-compact{grid-template-columns:minmax(0,1fr)!important}
.av-table-shell.is-density-compact>.av-detail{display:none!important}
.av-table-shell.is-density-compact>.av-right-rail{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.av-table-shell.is-density-compact>.av-right-rail>.av-panel:last-child:nth-child(odd){grid-column:1/-1}
.av-table-shell.is-density-compact .av-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:760px){
  .av-table-shell.is-density-compact>.av-right-rail{grid-template-columns:1fr}
  .av-table-shell.is-density-compact>.av-right-rail>.av-panel:last-child:nth-child(odd){grid-column:auto}
}


/* v1.2.3 targeted Properties / Transactions desktop-density refinement */
.av-table-shell[data-module="properties"] .av-table{min-width:820px}
.av-table-shell[data-module="properties"] .av-table th:nth-child(1),
.av-table-shell[data-module="properties"] .av-table td:nth-child(1){min-width:205px}
.av-table-shell[data-module="properties"] .av-table th:nth-child(2),
.av-table-shell[data-module="properties"] .av-table td:nth-child(2){min-width:112px}
.av-table-shell[data-module="properties"] .av-table th:nth-child(3),
.av-table-shell[data-module="properties"] .av-table td:nth-child(3){min-width:112px;white-space:nowrap}
.av-table-shell[data-module="properties"] .av-table th:nth-child(5),
.av-table-shell[data-module="properties"] .av-table td:nth-child(5){min-width:90px;white-space:nowrap}
.av-table-shell[data-module="properties"] .av-table th:nth-child(6),
.av-table-shell[data-module="properties"] .av-table td:nth-child(6){min-width:126px}
.av-table-shell[data-module="properties"] .av-table th:nth-child(7),
.av-table-shell[data-module="properties"] .av-table td:nth-child(7){min-width:92px;white-space:nowrap}
.av-property-cell{min-width:0}
.av-property-cell>div{min-width:0}
.av-property-cell b{line-height:1.28}

.av-table-shell[data-module="transactions"] .av-table{min-width:820px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(1),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(1){width:148px;min-width:148px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(2),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(2){min-width:88px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(3),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(3){min-width:128px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(4),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(4){min-width:120px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(5),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(5){min-width:118px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(6),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(6){min-width:96px}
.av-table-shell[data-module="transactions"] .av-table th:nth-child(7),
.av-table-shell[data-module="transactions"] .av-table td:nth-child(7){min-width:104px;white-space:nowrap}
.av-transaction-cell{display:grid;justify-items:start;gap:7px;min-width:0}
.av-transaction-cell .av-thumb{width:108px;height:76px}
.av-transaction-cell b{display:block;color:#211f1c;font-size:12px;line-height:1.2;white-space:nowrap}
.av-transaction-cell small{display:block;margin-top:3px;color:var(--muted);font-size:11px;line-height:1.3}

@media(max-width:760px){
  .av-table-shell[data-module="properties"] .av-table,
  .av-table-shell[data-module="transactions"] .av-table{min-width:0}
  .av-table-shell[data-module="properties"] .av-table th,
  .av-table-shell[data-module="properties"] .av-table td,
  .av-table-shell[data-module="transactions"] .av-table th,
  .av-table-shell[data-module="transactions"] .av-table td{min-width:0;width:auto;white-space:normal}
  .av-transaction-cell{display:flex;align-items:center;gap:12px}
  .av-transaction-cell .av-thumb{width:112px;height:82px;flex:0 0 auto}
  .av-transaction-cell b{white-space:normal;font-size:13px}
  .av-transaction-cell small{font-size:11px}
}

/* v1.2.4 mobile Transaction identity-heading consistency */
@media(max-width:760px){
  .av-table-shell[data-module="transactions"] .av-transaction-cell{
    display:flex;
    align-items:flex-start;
    gap:12px;
    width:100%;
    min-width:0;
  }
  .av-table-shell[data-module="transactions"] .av-transaction-cell .av-thumb{
    width:96px;
    height:72px;
    flex:0 0 96px;
  }
  .av-table-shell[data-module="transactions"] .av-transaction-cell>div{
    flex:1 1 auto;
    min-width:0;
    padding-top:1px;
  }
  .av-table-shell[data-module="transactions"] .av-transaction-cell b{
    display:block;
    font-size:14px;
    line-height:1.3;
    white-space:nowrap;
    overflow-wrap:normal;
    word-break:normal;
  }
  .av-table-shell[data-module="transactions"] .av-transaction-cell small{
    margin-top:4px;
    font-size:12px;
    line-height:1.4;
  }
}
@media(max-width:350px){
  .av-table-shell[data-module="transactions"] .av-transaction-cell{gap:10px}
  .av-table-shell[data-module="transactions"] .av-transaction-cell .av-thumb{width:88px;height:66px;flex-basis:88px}
  .av-table-shell[data-module="transactions"] .av-transaction-cell b{font-size:13px}
}



/* v1.2.5 mobile end-of-page clearance: keep final content and pagination fully above fixed bottom navigation */
@media(max-width:760px){
  .avops-main::after{
    content:"";
    display:block;
    width:100%;
    height:calc(56px + env(safe-area-inset-bottom));
    pointer-events:none;
  }
  html{scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom))}
}


/* v1.2.6 responsive header centering + Reports Library icon normalization */
@media(max-width:1120px){
  .av-mobile-top{
    display:grid;
    grid-template-columns:44px minmax(0,1fr) 44px;
    align-items:center;
  }
  .av-mobile-top > .av-mobile-menu-btn:first-child{justify-self:start}
  .av-mobile-top > a{justify-self:center;display:flex;align-items:center;justify-content:center;min-width:0}
  .av-mobile-top > .av-mobile-menu-btn:last-child{justify-self:end}
}
.av-report-tile > svg{
  width:34px;
  height:34px;
  color:var(--bronze2);
  stroke-width:1.65;
  flex:0 0 34px;
}
@media(max-width:760px){
  .av-report-tile > svg{width:32px;height:32px;flex-basis:32px}
}


/* v1.2.7 global mobile full-detail identity/header alignment */
@media(max-width:760px){
  .av-record-hero-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    text-align:center!important;
  }
  .av-record-identity{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .av-record-identity>div{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    text-align:center!important;
  }
  .av-record-flags{
    width:100%!important;
    justify-content:center!important;
    align-items:center!important;
    text-align:center!important;
  }
  .av-record-identity h1,
  .av-record-identity p{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }
  .av-record-identity h1{max-width:100%;overflow-wrap:anywhere}
  .av-record-actions{
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    justify-content:center!important;
  }
}


/* v1.2.8 Reports Library card/button alignment */
.av-report-tile{
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr) auto;
  align-items:start;
  height:100%;
  min-height:214px;
  padding:18px;
}
.av-report-tile > svg{margin:0 0 12px}
.av-report-tile h3{margin:0 0 9px}
.av-report-tile p{margin:0 0 16px;min-height:0;width:100%}
.av-report-tile .av-report-action{
  width:132px;
  min-width:132px;
  height:42px;
  padding:0 14px;
  margin-top:auto;
  justify-self:start;
  align-self:end;
  font-size:12px;
  font-weight:700;
}
@media(max-width:760px){
  .av-report-tile{min-height:204px}
  .av-report-tile .av-report-action{width:100%;min-width:0}
}


/* v1.2.9 Reports action-color consistency + Settings plan icon normalization */
.av-report-tile .av-report-action,
.av-report-tile a.av-report-action,
.av-report-tile button.av-report-action{
  color:var(--ink)!important;
  -webkit-text-fill-color:var(--ink);
}
.av-plan-summary{align-items:center;gap:14px}
.av-plan-summary .av-plan-icon{
  width:34px;
  height:34px;
  flex:0 0 34px;
  color:var(--bronze2);
  stroke-width:1.65;
}
@media(max-width:760px){
  .av-plan-summary .av-plan-icon{width:32px;height:32px;flex-basis:32px}
}
