/* Standalone manager administration: same graphite telephone look. */
body :is(button.primary,#login button[type=submit]){
 background:#293733!important;
 background-image:linear-gradient(150deg,#3b4844,#202e32)!important;
 border:1px solid #a8b980!important;
 color:#e4edb5!important;
 border-radius:11px!important;
 font-weight:850!important;
 box-shadow:inset 0 1px #efffd223,0 5px 16px #0005!important;
}
body :is(button.primary,#login button[type=submit]):hover{
 background:#385045!important;
 background-image:linear-gradient(150deg,#435b4a,#243a35)!important;
 border-color:#c3df99!important;
 color:#f1fbc7!important;
}
body button:focus-visible{outline:2px solid #bde996!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){body button{transition:none!important}}

/* Standalone Sales AI admin / responsive-only 2026-10-25 */
html,body{max-width:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
:where(input,select,textarea,button,a):focus-visible{outline:2px solid #bced98!important;outline-offset:3px!important}
header{max-width:100%;box-sizing:border-box}
header img{max-width:100%;height:auto;object-fit:contain}
:where(.workspace,.auth,.photo,.panel,.metric-grid,.crm-section,.table-scroll,.content,.editor){min-width:0;max-width:100%}
:where(input,select,textarea,button){max-width:100%}
:where(.auth,.workspace) > *{min-width:0}
@media(max-width:1000px){
 aside nav{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}
 aside nav button{flex:0 0 auto;min-height:44px}
}
@media(max-width:650px){
 header{padding:11px clamp(11px,3.8vw,17px);gap:8px}
 header img{width:clamp(104px,27vw,135px)!important}
 header .pill{max-width:135px;line-height:1.35;white-space:normal;text-align:center}
 .auth{padding-inline:clamp(11px,3.5vw,19px)}
 .auth >*,.workspace >*,.panel >*{min-width:0;max-width:100%}
 .photo{min-height:clamp(215px,61vw,330px)}
 .photo h1{font-size:clamp(30px,9.2vw,44px);overflow-wrap:anywhere}
 :where(input,select,textarea){font-size:16px!important}
 :where(button,.pill){min-height:44px}
 .workspace{grid-template-columns:minmax(0,1fr)!important}
 .workspace aside nav{display:flex;flex-wrap:nowrap;overflow-x:auto}
 .workspace aside nav button{white-space:nowrap;flex:0 0 auto}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:375px){
 header .pill{max-width:102px;font-size:9px}
 .metric-grid{grid-template-columns:minmax(0,1fr)}
 .auth{margin:16px auto}
 .photo{min-height:220px}
}
@media(prefers-reduced-motion:reduce){button,a{transition:none!important}button:hover{transform:none!important}}
