/* ATHRTY PX-182.1: first-party control and information density, excludes customer output */
body:is(.v393-operator,.command-v23,.athrty-sales-v14,.as03-library,.as04-native){--p182-hit:44px;--p182-radius:10px;--p182-focus:var(--athrty-accent,var(--accent,#afdac6));--p182-gap:9px}
:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as03-library) :is(.v33-actions,.v393-toolbar-actions,.header-actions,.inline-actions,.card-actions){min-width:0;max-width:100%;gap:var(--p182-gap)}
:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as03-library) :is(.v33-actions,.v393-toolbar-actions,.header-actions,.inline-actions,.card-actions)>:is(button,a[href],select){box-sizing:border-box;min-width:0;max-width:100%;min-height:var(--p182-hit);display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--p182-radius);line-height:1.3;box-shadow:none;touch-action:manipulation}
:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as03-library) :is(.v33-actions,.v393-toolbar-actions,.header-actions,.inline-actions,.card-actions)>:is(button,a[href]) svg{width:18px;height:18px;max-width:20px;max-height:20px;flex-shrink:0}
:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as04-native,body.as03-library) :is(button,a[href],summary,[role="button"],[role="tab"],select):focus-visible{outline:2px solid var(--p182-focus)!important;outline-offset:3px!important}
body.v393-operator :is(.v33-grid,.v33-facts,.v393-toolbar-actions,.v33-actions){min-width:0;max-width:100%;gap:clamp(8px,1.4vw,16px)}body.v393-operator :is(.v33-actions,.v393-toolbar-actions){align-items:center;flex-wrap:wrap}body.v393-operator :is(.v33-card,.v33-fact,.v393-focus){min-width:0;overflow-wrap:break-word}body.v393-operator .v33-actions>:is(button,a[href],.v33-button){min-height:44px;padding:10px 14px;font-weight:650}
body.command-v23 .page-header{min-width:0;display:flex;flex-wrap:wrap;align-items:flex-start;gap:clamp(12px,2vw,22px)}body.command-v23 .page-header>div{flex:1 1 290px;min-width:0}body.command-v23 .header-actions{display:flex;flex:0 1 auto;flex-wrap:wrap;align-items:center;margin-left:auto;gap:8px}body.command-v23 .header-actions>:is(button,a[href],.button){min-height:44px;box-shadow:none;border-radius:10px}body.command-v23 :is(.stat-grid,.module-grid,.section-grid,.two-cols)>*{min-width:0}body.command-v23 #workspace :is(.stat,.metric) :is(strong,output,[data-value]){font-variant-numeric:tabular-nums}
body.athrty-sales-v14 :is(.v32-topbar,.v32-toolbar,.v32-actions){min-width:0;max-width:100%;gap:8px}body.athrty-sales-v14 :is(.v32-topbar,.v32-toolbar,.v32-actions)>:is(button,a[href],select){min-height:44px;box-sizing:border-box;max-width:100%;box-shadow:none}
body.as03-library :is(.top,.main,.intro,.workspace,.results,.brief,.cards,.pattern-card){min-width:0;max-width:100%}body.as03-library .top{gap:clamp(10px,2vw,24px)}body.as03-library .search-controls{gap:10px;min-width:0;flex-wrap:wrap}body.as03-library .search-controls>:is(input,select){box-sizing:border-box;min-height:46px;min-width:0;max-width:100%;font-size:16px;border-radius:10px;box-shadow:none}body.as03-library .search-controls>input{flex:1 1 260px}body.as03-library .search-controls>select{flex:0 1 190px}body.as03-library .role-toggle button{min-height:44px}body.as03-library .pattern-card{border-radius:14px;overflow-wrap:anywhere;box-shadow:none}body.as03-library .card-actions{flex-wrap:wrap;gap:8px}
body.as04-native[data-px122-surface="builder-native"] :is(.native-bar,.native-project,.native-top-actions){min-width:0;box-shadow:none}body.as04-native[data-px122-surface="builder-native"] .native-top-actions>button{min-height:44px;flex:0 0 auto;line-height:1.28;border-radius:10px}body.as04-native[data-px122-surface="builder-native"] #openProjects{max-width:min(44vw,180px)!important;overflow:hidden;text-overflow:ellipsis;box-shadow:none!important}
.v16-site :is(.v16-actions,.v16-bottom-cta),.v62-shell .hero-actions{min-width:0;max-width:100%;gap:9px;flex-wrap:wrap}.v16-site :is(.v16-actions,.v16-bottom-cta)>a[href],.v62-shell .hero-actions>:is(a[href],button){box-sizing:border-box;border-radius:11px;box-shadow:none!important}
.v59-header :is(.v17-mobile-menu,.v59-solutions-trigger),.v62-shell .nav-wrap .v64-nav-toggle,.v64-network-header .v64-nav-toggle{box-sizing:border-box;min-width:44px!important;min-height:44px!important;border-radius:11px!important;box-shadow:none!important;padding:9px!important}
@media(max-width:760px){body.command-v23 #workspace{width:100%;min-width:0;padding:clamp(16px,4vw,25px)}body.command-v23 .page-header>div,body.command-v23 .header-actions{flex:1 1 100%;margin-left:0}body.as03-library .intro,body.as03-library .workspace{grid-template-columns:minmax(0,1fr)}body.as03-library .brief{position:static}body.as03-library .main{padding-inline:clamp(14px,4vw,22px)}}
@media(max-width:540px){body.command-v23 .page-header h1{font-size:clamp(27px,8vw,34px)}body.as03-library .search-controls>:is(input,select){flex:1 1 100%;width:100%}body.as03-library .role-toggle{width:100%}body.as03-library .role-toggle button{flex:1 1 0;min-width:0}body.as03-library .cards{grid-template-columns:1fr;gap:10px}}
@media(max-width:375px){body.command-v23 .global-head{gap:7px;padding-inline:12px}body.command-v23 .breadcrumb{overflow:hidden;text-overflow:ellipsis}body.as04-native #openProjects{max-width:45vw!important}}
@media(prefers-reduced-motion:reduce){:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as03-library,body.as04-native) :is(button,a[href],summary,select){transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media(forced-colors:active){:where(body.v393-operator,body.command-v23,body.athrty-sales-v14,body.as04-native,body.as03-library) :is(button,a[href],summary,[role="button"],[role="tab"],select):focus-visible{outline-color:Highlight!important}}