.company-search-dialog,.company-search-detail{box-sizing:border-box;width:min(640px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:14px;border:1px solid #bac5d6;border-radius:16px;background:white;color:#172d71;text-align:center}
.company-search-dialog .company-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;margin:8px 0}
.company-search-dialog input{min-width:0;width:100%;font:inherit;font-size:16px;min-height:44px;margin:0;border:1px solid #bbc5d5;border-radius:8px;padding:8px}
.company-search-dialog button,.company-search-detail button{font:inherit;font-size:14px;min-height:44px;padding:8px 12px;border:1px solid #bbc5d5;border-radius:8px;background:white;color:#172d71;cursor:pointer}
.company-search-dialog .company-search-form>button{background:#172d71;color:white}
.company-search-results section{margin:10px 0}.company-search-results h3{font-size:16px;margin:8px 0}
.company-search-dialog .company-search-result{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;margin:6px 0;padding:10px;text-align:center}.company-search-result span{font-size:13px;line-height:1.4;color:#536176;overflow-wrap:anywhere}.company-search-result strong{overflow-wrap:anywhere}
.company-search-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:center}.company-search-fields dt{font-size:13px;font-weight:700}.company-search-fields dd{font-size:14px;line-height:1.4;margin:4px 0;white-space:pre-line;overflow-wrap:anywhere}
.company-search-detail h2{font-size:22px;margin:4px 0 12px}#company-search-toggle{font:inherit;color:inherit}#business-dashboard .biz-tiles [data-company-page] svg{width:23px;height:23px}

/* Approved dashboard: Support/Search above; Customers lower left, Menu below Calendar. */
html body #business-dashboard .biz-account-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #business-dashboard .biz-account-controls>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:64px;padding:8px;font-size:16px;font-weight:700;border:1px solid #9ca9b8;border-radius:12px}
html body #business-dashboard .biz-account-controls>button svg{width:24px;height:24px}
html body #business-dashboard .biz-tiles>#biz-account-menu{margin:0;min-width:0;align-self:stretch}
html body #business-dashboard .biz-tiles>#biz-account-menu>summary{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:68px;height:100%;padding:6px 3px;border:1px solid var(--line,#9ca9b8);border-radius:10px;font:700 14px/1.25 system-ui;text-align:center}
html body #business-dashboard .biz-tiles>#biz-account-menu>summary svg{width:23px;height:23px}
html body #business-dashboard .biz-tiles>#biz-account-menu .biz-menu-panel{position:fixed;top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 88px);left:auto;right:max(12px,calc((100vw - 680px)/2));max-height:65dvh;overflow:auto;z-index:100}
html body #business-dashboard .biz-tiles :is(button>strong,#biz-account-menu>summary>span){background:none!important;-webkit-text-fill-color:currentColor!important;color:#1b2d49!important;font-size:13px;line-height:1.25}
html body #business-dashboard #biz-header-company{font-size:18px;line-height:1.25;font-weight:700;color:#172d71;min-width:0;overflow-wrap:anywhere}
html body #business-dashboard .employee-header-row{display:flex;gap:10px;width:100%;justify-content:center;margin:0 0 10px}
html body #business-dashboard .biz-tiles>button,html body #business-dashboard .biz-tiles>#biz-account-menu>summary{min-height:76px;border-color:#9ca9b8}
html body #business-dashboard .biz-tiles button svg{width:23px;height:23px}

/* Suggestions overlay the dashboard without moving existing controls or jobs. */
html body #business-dashboard #company-dashboard-search{position:relative;overflow:visible}
html body #business-dashboard .company-search-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:auto;width:min(540px,calc(100vw - 48px));max-height:min(55dvh,420px);overflow:auto;z-index:80;background:white;border:1px solid #9ca9b8;border-radius:6px;box-shadow:0 5px 16px #172d7122;padding:6px;box-sizing:border-box}
html body #business-dashboard .company-search-suggestions[hidden]{display:none!important}
html body #business-dashboard .company-search-suggestions button{display:flex;flex-direction:column;gap:4px;width:100%;height:auto!important;min-height:44px;margin:0;padding:8px;border:0;border-bottom:1px solid #e1e5ed;border-radius:4px;background:white;color:#172d71;text-align:left;font:14px/1.3 system-ui}
html body #business-dashboard .company-search-suggestions button span{font-size:12px;overflow-wrap:anywhere}

.company-search-result[href]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px;border:1px solid #bbc5d5;border-radius:9px;background:#fff;color:#172d71;text-decoration:none;text-align:center}
