/* Rodovid Navigator • command palette and instant local privacy curtain.
   Pure presentation: no changes to the 220×102 person-card geometry. */
.command-hub-open,.privacy-curtain-open{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:38px;padding:7px 11px;white-space:nowrap;
  font:750 11px Manrope,system-ui,sans-serif;
  border-radius:11px;cursor:pointer;
}
.command-hub-open{
  color:#fff;border:1px solid #89afd35c;
  background:linear-gradient(124deg,#284d79,#454c88);
  box-shadow:0 6px 20px #294d7430,inset 0 1px #ffffff32;
}
.command-hub-open:hover{background:linear-gradient(124deg,#346c99,#6553a2)}
.command-hub-open kbd{
 font:650 10px Manrope,system-ui,sans-serif;
 padding:3px 5px;border-radius:5px;background:#ffffff26;color:#ecf6ff;
}
.privacy-curtain-open{
  color:var(--rv-fg);background:var(--rv-panel2);
  border:1px solid var(--rv-border);
}
.privacy-curtain-open:hover{border-color:var(--rv-accent);background:var(--atelier-halo)}
.command-hub-dialog{
 position:fixed;inset:0;margin:auto;
 width:min(680px,calc(100vw - 22px));max-height:min(83dvh,780px);
 padding:0;border:1px solid #8baec66c;border-radius:22px;
 background:var(--rv-panel);color:var(--rv-fg);
 box-shadow:0 42px 120px rgba(4,19,42,.48);
 overflow:hidden;
}
.command-hub-dialog::backdrop{background:rgba(5,17,35,.70);backdrop-filter:blur(7px)}
.command-hub-shell{display:flex;flex-direction:column;max-height:inherit}
.command-hub-header{
 display:flex;align-items:center;gap:14px;
 padding:20px 21px 16px;
 background:linear-gradient(113deg,#122e4b,#264c79 57%,#4b3d79);
 color:#f7fbff;
}
.command-hub-mark{
 display:grid;place-items:center;flex:0 0 45px;height:45px;
 border:1px solid #ffe1a678;border-radius:14px;color:#fbe0a0;font-size:23px;
 background:linear-gradient(135deg,#ffffff17,#dac38a29);
}
.command-hub-header>div:nth-child(2){flex:1;min-width:0}
.command-hub-kicker{display:block;font-size:9px;font-weight:800;letter-spacing:.15em;color:#dfd4ff}
.command-hub-header h2{
 margin:4px 0 0;font:700 24px "Noto Serif",Georgia,serif;letter-spacing:-.04em;
}
.command-hub-close{
 display:grid;place-items:center;width:36px;height:36px;
 border:1px solid #ffffff50;border-radius:10px;background:#ffffff21;color:#fff;
 font-size:24px;cursor:pointer;
}
.command-hub-search{
 display:flex;align-items:center;gap:12px;padding:14px 19px;
 border-bottom:1px solid var(--rv-border);background:var(--rv-panel2);
}
.command-hub-search>span{font-size:26px;color:var(--rv-accent)}
.command-hub-search input{
 flex:1;min-width:0;min-height:42px;
 border:0;outline:0!important;box-shadow:none!important;
 background:transparent;color:var(--rv-fg);
 font:600 16px Manrope,system-ui,sans-serif;
}
.command-hub-search input::placeholder{color:var(--rv-muted);opacity:.95}
.command-hub-search kbd{
 padding:5px 7px;border:1px solid var(--rv-border);border-radius:6px;
 color:var(--rv-muted);background:var(--rv-panel);font-size:10px;
}
.command-hub-summary{padding:11px 20px 7px;font:650 11px Manrope,system-ui,sans-serif;color:var(--rv-muted)}
.command-hub-results{
 overflow:auto;min-height:88px;max-height:min(47dvh,480px);
 padding:6px 11px 10px;overscroll-behavior:contain;
}
.command-hub-result{
 width:100%;display:flex;align-items:center;text-align:left;
 gap:12px;min-height:55px;padding:10px 12px;
 border:1px solid transparent;border-radius:11px;
 background:transparent;color:var(--rv-fg);cursor:pointer;
}
.command-hub-result[aria-selected="true"],.command-hub-result:hover{
 background:var(--atelier-halo);border-color:var(--rv-border);
}
.command-hub-symbol{
 display:grid;place-items:center;flex:0 0 36px;height:36px;
 border:1px solid var(--rv-border);border-radius:10px;
 background:var(--rv-panel2);color:var(--rv-accent);font-size:18px;
}
.command-hub-result-copy{flex:1;min-width:0}
.command-hub-result-copy strong{
 display:block;font-size:13px;line-height:1.45;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.command-hub-result-copy small{
 display:block;font-size:10px;margin-top:2px;line-height:1.5;
 color:var(--rv-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.command-hub-kind{font-size:9px;white-space:nowrap;color:var(--rv-muted)}
.command-hub-empty{padding:18px;color:var(--rv-muted);font-size:12px}
.command-hub-footer{
 display:flex;align-items:center;flex-wrap:wrap;gap:12px;
 padding:12px 18px;border-top:1px solid var(--rv-border);
 font:650 10px Manrope,system-ui,sans-serif;color:var(--rv-muted);
}
.command-hub-footer span:last-child{margin-left:auto}
.command-hub-footer kbd{
 display:inline-block;min-width:19px;padding:3px;border:1px solid var(--rv-border);
 border-radius:5px;text-align:center;background:var(--rv-panel2);
}
.privacy-curtain{
 position:fixed;inset:0;z-index:29999;display:grid;place-items:center;
 padding:20px;box-sizing:border-box;
 background:
  radial-gradient(ellipse at 14% 15%,rgba(59,149,183,.24),transparent 43%),
  radial-gradient(ellipse at 85% 85%,rgba(139,115,197,.25),transparent 46%),
  linear-gradient(130deg,#061322,#142e4b 70%,#24284a);
 color:#f3f8ff;
}
.privacy-curtain[hidden]{display:none!important}
.privacy-curtain-content{text-align:center;width:min(490px,100%)}
.privacy-curtain-icon{
 display:grid;place-items:center;width:82px;height:82px;margin:0 auto 24px;
 border-radius:24px;border:1px solid #f0d39575;color:#f2d59f;
 background:#ffffff15;font-size:39px;box-shadow:0 10px 42px #0005;
}
.privacy-curtain-kicker{font:800 11px Manrope,system-ui,sans-serif;letter-spacing:.20em;color:#d5bedf}
.privacy-curtain h2{font:700 clamp(26px,4vw,38px) "Noto Serif",Georgia,serif;margin:12px 0}
.privacy-curtain p{color:#cadbea;font-size:14px;line-height:1.8;margin:0 0 23px}
.privacy-curtain button{
 min-height:46px;border:1px solid #e8c99e9c;border-radius:12px;
 background:linear-gradient(115deg,#bb965b,#a97b53);color:#fff;
 padding:11px 26px;font:800 13px Manrope,system-ui,sans-serif;cursor:pointer;
}
.privacy-curtain small{display:block;margin-top:20px;color:#b1c9df;font-size:11px}
@media(max-width:1280px){
 .topbar .actions{flex-wrap:wrap;justify-content:flex-end}
 .command-hub-open kbd{display:none}
}
@media(max-width:750px){
 .command-hub-open,.privacy-curtain-open{min-width:36px;min-height:34px;padding:7px 9px}
 .command-hub-open span,.privacy-curtain-open span{display:none}
 .command-hub-dialog{width:calc(100vw - 16px);max-height:85dvh;border-radius:17px}
 .command-hub-header{padding:15px}
 .command-hub-header h2{font-size:20px}
 .command-hub-search{padding:11px 14px}
 .command-hub-search input{font-size:14px}
 .command-hub-results{max-height:47dvh}
 .command-hub-footer{gap:8px;padding:10px;font-size:9px}
 .command-hub-footer span:last-child{margin-left:0}
}
@media(prefers-reduced-motion:reduce){
 .command-hub-open,.privacy-curtain-open{transition:none!important}
}

.command-hub-cloud-tip{padding:9px 16px;margin:4px 14px;border-radius:10px;border:1px solid var(--rv-border);background:var(--atelier-halo);color:var(--rv-fg);font-size:11px;line-height:1.5}
.command-hub-cloud-tip[hidden]{display:none!important}

.global-search-wrap{position:relative;flex:0 1 230px;min-width:0}
.global-search-wrap>.search{width:100%;margin:0}
.global-search-results{
 position:absolute;z-index:120;top:calc(100% + 8px);right:0;
 width:min(390px,calc(100vw - 24px));max-height:min(58dvh,440px);overflow:auto;
 padding:6px;border:1px solid var(--rv-border,#dce5e9);border-radius:14px;
 background:var(--rv-panel,#fff);color:var(--rv-fg,#233b4f);
 box-shadow:0 18px 48px #0e293b2c;overscroll-behavior:contain
}
.global-search-results[hidden]{display:none!important}
.global-search-option{
 display:block;width:100%;min-height:52px;padding:9px 12px;text-align:left;
 border:1px solid transparent;border-radius:9px;background:transparent;
 color:inherit;cursor:pointer
}
.global-search-option[aria-selected="true"],.global-search-option:hover{
 border-color:var(--rv-border,#dce5e9);background:var(--atelier-halo,#eff4f6)
}
.global-search-option strong,.global-search-option small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.global-search-option strong{font-size:12px;line-height:1.5}
.global-search-option small{margin-top:2px;color:var(--rv-muted,#8094a3);font-size:10px;line-height:1.45}
.global-search-empty{margin:0;padding:14px 12px;color:var(--rv-muted,#718594);font-size:11px;line-height:1.6}
@media(max-width:650px){.global-search-wrap{grid-column:1;grid-row:auto;width:100%;min-width:0}.global-search-results{right:auto;left:0;width:min(390px,calc(100vw - 24px));max-height:52dvh}}
