/* Barra de pesquisa única, baseada na pesquisa da Dashboard. */
.pc-search.pc-search{position:relative;display:flex;align-items:center;gap:8px;height:44px;min-height:44px;min-width:0;max-width:none;padding:8px 12px;margin:0;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:none;color:#899d8e;flex:1 1 220px;box-sizing:border-box}
.pc-search.pc-search>svg{position:static;inset:auto;display:block;width:18px;height:18px;flex:0 0 18px;color:#899d8e;pointer-events:none}
.pc-search.pc-search>input[type=search]{display:block;position:static;flex:1 1 auto;width:100%;min-width:0;height:auto;min-height:0;padding:0;margin:0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;color:#34533e;font-family:inherit;font-size:.84rem;font-weight:400;line-height:1.5;letter-spacing:normal;appearance:none}
.pc-search.pc-search>input[type=search]::placeholder{color:#899d8e;opacity:1}
.pc-search.pc-search>input[type=search]::-webkit-search-cancel-button{display:none}
.pc-search.pc-search:focus-within{border-color:var(--green);outline:2px solid rgba(22,132,88,.14);outline-offset:1px}
.pc-search.pc-search>.pc-search-clear{display:flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;padding:4px;margin:0;border:0;border-radius:7px;background:transparent;color:#77857f;cursor:pointer;visibility:visible}
.pc-search.pc-search>.pc-search-clear>svg{display:block;width:16px;height:16px}
.pc-search.pc-search>.pc-search-clear:hover{color:var(--green-dark);background:var(--green-light)}
.pc-search.pc-search>.pc-search-clear[hidden]{display:none!important}
.client-picker>.pc-search{margin:0 0 3px;flex:none;width:100%}
.pc-rx-section>.pc-search{flex:none;width:100%}
.pc-search.pc-search[hidden]{display:none!important}
:root[data-pc-theme="dark"] .pc-search.pc-search{background:#1d2128;border-color:var(--line);color:#b0b8c4}
:root[data-pc-theme="dark"] .pc-search.pc-search>input[type=search]{color:var(--ink)}
:root[data-pc-theme="dark"] .pc-search.pc-search>input[type=search]::placeholder,:root[data-pc-theme="dark"] .pc-search.pc-search>svg{color:#a4afb8}
/* Cabeçalho: controles com a mesma caixa e o mesmo eixo de alinhamento. */
.topbar{gap:12px}.topbar>.pc-header-identity{min-width:0;flex:1;gap:10px}.topbar .pc-user-greeting{display:block;min-width:0;overflow:hidden;white-space:normal;line-height:1.35;max-height:2.7em;color:var(--ink);font-size:.85rem;font-weight:500}
.topbar .pc-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none}
.topbar .pc-theme-toggle,.topbar .pc-header-action,.topbar .pc-header-profile{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;padding:8px;margin:0;line-height:1;border-radius:50%;box-sizing:border-box}
.topbar .pc-theme-toggle svg,.topbar .pc-header-action svg{display:block;width:20px;height:20px}
.topbar .pc-header-profile{padding:0;font-size:.85rem}.topbar .pc-header-action{position:relative;color:var(--muted);background:transparent}.topbar .pc-header-action:hover{background:var(--green-light);color:var(--green-dark)}
.pc-notifications{position:relative;display:flex;align-items:center}.pc-notification-count{position:absolute;top:0;right:0;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:99px;background:var(--green);color:#fff;font-size:10px;font-weight:700;line-height:13px;white-space:nowrap}
.pc-notification-panel{position:fixed;width:min(360px,calc(100vw - 24px));max-height:min(480px,calc(100dvh - 90px));overflow:auto;z-index:80;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);box-shadow:0 12px 35px rgba(20,45,33,.16);overscroll-behavior:contain}
.pc-notification-panel>header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px;border-bottom:1px solid var(--line)}.pc-notification-panel>header>strong{font-size:.9rem}.pc-notification-panel>header>span{font-size:.71rem;color:var(--muted)}
.pc-notification-panel>ul{list-style:none;padding:6px;margin:0}.pc-notification-panel li+li{border-top:1px solid var(--line)}.pc-notification-panel li>a{display:flex;align-items:center;gap:10px;padding:12px 10px;border-radius:9px;line-height:1.4}.pc-notification-panel li>a:hover,.pc-notification-panel li>a:focus-visible{background:var(--green-light)}.pc-notification-icon{display:flex;align-items:center;justify-content:center;flex:0 0 32px;height:32px;border-radius:9px;background:var(--green-light);color:var(--green-dark)}.pc-notification-icon svg{width:17px;height:17px}.pc-notification-copy{min-width:0;flex:1}.pc-notification-copy>strong{display:block;font-size:.77rem;font-weight:650}.pc-notification-copy>small{display:block;margin-top:3px;font-size:.7rem;color:var(--muted);overflow-wrap:anywhere}.pc-notification-panel li>a>b{min-width:24px;padding:3px 6px;text-align:center;border-radius:7px;background:var(--green-light);color:var(--green-dark);font-size:.7rem}.pc-notification-empty{padding:24px 16px;font-size:.8rem;color:var(--muted)}
:root[data-pc-theme="dark"] .pc-notification-panel{background:#1d2128}:root[data-pc-theme="dark"] .pc-notification-count{border-color:#1d2128}
@media(max-width:760px){.topbar .pc-header-actions{gap:4px}.topbar .pc-user-greeting{font-size:.76rem}.topbar>.pc-header-identity{gap:6px}.topbar .pc-theme-toggle,.topbar .pc-header-action,.topbar .pc-header-profile{flex-basis:34px;width:34px;height:34px;min-height:34px;padding:6px}.topbar .pc-header-profile{padding:0}.pc-search.pc-search{flex-basis:100%;width:100%}}
