/* Personal shortcuts extend the shared intranet navbar. */
.koe-shortcuts-enabled .koe-shortcut-bar{display:flex!important;position:static;order:0;flex:1 1 0;width:auto;min-width:0;align-items:center;gap:8px;margin:0;padding:4px 0;overflow:visible}
.koe-shortcut-bar>.koe-nav-pill{flex:0 0 auto;min-height:38px}
.koe-shortcut-add,.koe-shortcut-more{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:38px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#123baf;font:700 13px Poppins,Arial,sans-serif;cursor:pointer}
.koe-shortcut-add{width:38px;padding:0;font-size:25px;line-height:1}
.koe-shortcut-more{padding:0 12px;white-space:nowrap}
.koe-shortcut-add:hover,.koe-shortcut-more:hover{background:#eef4ff;border-color:#93b6f4}
.koe-shortcut-pins{display:flex;align-items:center;gap:7px;flex:1 1 0;min-width:0;overflow:visible;padding:4px 0}
.koe-shortcut-pins .koe-nav-pill{flex:0 0 auto;max-width:240px;overflow:hidden;min-height:38px;padding:0 12px;font-size:12px}
.koe-shortcut-pins .koe-nav-pill>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.koe-shortcut-pins .koe-intranet-icon,.koe-shortcut-pins svg{width:17px;height:17px;flex:0 0 17px}
.koe-shortcut-more[hidden],.koe-shortcut-overflow[hidden]{display:none!important}
.koe-shortcut-overflow{position:fixed;z-index:1100;right:16px;top:calc(var(--koe-topbar-bottom,90px) + 8px);width:min(300px,calc(100vw - 32px));max-height:calc(100dvh - var(--koe-topbar-bottom,90px) - 24px);overflow:auto;border:1px solid #dbe3ef;border-radius:14px;padding:8px;background:#fff;box-shadow:0 18px 50px #0f172a26}
.koe-shortcut-overflow a{display:flex;align-items:center;gap:10px;padding:12px;color:#1e293b;font:600 13px Poppins,Arial,sans-serif;text-decoration:none;border-radius:9px;overflow-wrap:anywhere}
.koe-shortcut-overflow a:hover{background:#edf3ff}
.koe-shortcut-overflow svg,.koe-shortcut-overflow .koe-intranet-icon{width:18px;height:18px;flex:0 0 18px;stroke:currentColor}
.koe-shortcut-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 28px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #dbe3ef;border-radius:20px;background:#f8fafc;color:#182640;box-shadow:0 28px 90px #071b4659;font:14px Poppins,Arial,sans-serif;overflow:auto}
.koe-shortcut-dialog *{box-sizing:border-box}
.koe-shortcut-dialog::backdrop{background:#0f234b80;backdrop-filter:blur(3px)}
.koe-shortcut-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 24px;background:#fff;border-bottom:1px solid #e2e8f0}
.koe-shortcut-heading h2{margin:0;font-size:22px;font-weight:800;color:#123baf}
.koe-shortcut-heading p{margin:5px 0 0;font-size:12px;color:#64748b}
.koe-shortcut-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#eef2f7;color:#334155;font-size:26px;cursor:pointer}
.koe-shortcut-settings{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 24px;border-bottom:1px solid #e2e8f0}
.koe-shortcut-settings label{display:flex;align-items:center;gap:12px;margin:0;font-weight:700;font-size:13px}
.koe-shortcut-settings input{width:64px;min-height:38px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:8px;background:white;font:inherit}
.koe-shortcut-settings>span{max-width:310px;font-size:12px;color:#64748b}
.koe-shortcut-selected-section,.koe-shortcut-options-section{padding:18px 24px}
.koe-shortcut-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.koe-shortcut-dialog h3{margin:0;font-size:14px;font-weight:800}
.koe-shortcut-section-heading>span{font-size:12px;color:#123baf;font-weight:700}
.koe-shortcut-help{margin:8px 0 12px;color:#64748b;font-size:12px;line-height:1.6}
.koe-shortcut-selected{display:flex;flex-direction:column;gap:7px;min-height:86px;max-height:260px;overflow:auto;padding:10px;border:2px dashed #bad0f4;border-radius:14px;background:#eef4ff}
.koe-shortcut-selected.is-drag-over,.koe-shortcut-options.is-drag-over{outline:3px solid #8db2f2;outline-offset:2px}
.koe-shortcut-fixed{display:flex;align-items:center;gap:8px;padding:8px 12px;color:#64748b;font-size:12px}
.koe-shortcut-row{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:1px solid #dce4f0;border-radius:10px;background:white;box-shadow:0 3px 8px #0f172a05}
.koe-shortcut-row[draggable=true]{cursor:grab}
.koe-shortcut-row.is-dragging{opacity:.45}
.koe-shortcut-row .koe-shortcut-item-icon{display:grid;place-items:center;color:#245ec0;width:22px;height:22px;flex:0 0 22px}
.koe-shortcut-item-icon svg,.koe-shortcut-item-icon .koe-intranet-icon{width:20px;height:20px;stroke:currentColor}
.koe-shortcut-item-label{flex:1;min-width:0;overflow-wrap:anywhere}
.koe-shortcut-item-label strong{display:block;font-size:12px;font-weight:700}
.koe-shortcut-item-label small{display:block;margin-top:3px;font-size:10px;color:#64748b}
.koe-shortcut-item-actions{display:flex;gap:4px;flex:0 0 auto}
.koe-shortcut-item-actions button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #dbe3ef;border-radius:8px;background:#f8fafc;color:#1d4f9e;font-size:17px;cursor:pointer}
.koe-shortcut-item-actions button:disabled{opacity:.35;cursor:default}
.koe-shortcut-options-section{padding-top:8px}
.koe-shortcut-search{display:block;margin:12px 0}
.koe-shortcut-search input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:10px;padding:9px 12px;background:#fff;font:inherit;font-size:13px}
.koe-shortcut-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:50px}
#koeShortcutCatalogStatus{margin:0 0 8px;font-size:12px;color:#64748b}
.koe-shortcut-empty{padding:12px;color:#64748b;font-size:12px;margin:0}
.koe-shortcut-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;position:sticky;bottom:0;padding:16px 24px;background:#fff;border-top:1px solid #e2e8f0}
.koe-shortcut-footer p{flex:1;min-width:120px;margin:0;color:#64748b;font-size:12px}
.koe-shortcut-secondary,.koe-shortcut-primary{min-height:40px;padding:8px 14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font:700 12px Poppins,Arial,sans-serif;cursor:pointer}
.koe-shortcut-primary{background:#123baf;border-color:#123baf;color:#fff}
.koe-shortcut-primary:disabled{opacity:.45;cursor:default}
.koe-shortcut-dialog :is(button,input):focus-visible,.koe-shortcut-overflow a:focus-visible{outline:3px solid #73a4ff;outline-offset:2px}
.koe-shortcut-target{outline:3px solid #2563eb;outline-offset:5px;border-radius:16px}
@media(max-width:680px){.koe-shortcuts-enabled .koe-shortcut-bar{order:10;flex-basis:100%;width:100%;gap:6px}.koe-shortcut-pins{gap:5px}.koe-shortcut-pins .koe-nav-pill{max-width:170px;padding:0 9px}.koe-shortcut-heading,.koe-shortcut-settings,.koe-shortcut-selected-section,.koe-shortcut-options-section,.koe-shortcut-footer{padding-left:16px;padding-right:16px}.koe-shortcut-options{grid-template-columns:1fr}.koe-shortcut-dialog{max-height:calc(100dvh - 16px);width:calc(100vw - 16px);border-radius:16px}.koe-shortcut-heading h2{font-size:19px}.koe-shortcut-settings{gap:10px}.koe-shortcut-selected{max-height:230px}}
@media(prefers-reduced-motion:reduce){.koe-shortcuts-enabled *{transition:none!important}}
#koeShortcutStatus:empty{display:none}
@media(max-width:680px){.koe-shortcut-selected .koe-shortcut-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px}.koe-shortcut-selected .koe-shortcut-item-actions{grid-column:2;justify-self:end}}

@media(max-width:1200px){.koe-shortcuts-enabled .koe-shortcut-bar{order:10;flex-basis:100%;width:100%}}
/* Fit the five shortcuts by shortening their labels before using overflow. */
.koe-shortcuts-enabled .koe-shortcut-bar{gap:5px}
.koe-shortcut-pins{gap:4px}
.koe-shortcut-pins .koe-nav-pill{flex:0 1 auto;min-width:44px;max-width:180px;min-height:34px;padding:0 8px;gap:4px;font-size:11.5px}
.koe-shortcut-pins .koe-shortcut-item-icon{width:15px;height:15px;flex:0 0 15px}
.koe-shortcut-pins .koe-intranet-icon,.koe-shortcut-pins svg{width:15px;height:15px;flex-basis:15px}
.koe-shortcut-bar>.koe-nav-pill{min-height:34px;padding:0 12px;font-size:12px}
.koe-shortcut-add{width:34px;min-height:34px;font-size:23px}
@media(max-width:680px){.koe-shortcut-bar>.koe-nav-pill,.koe-shortcut-add,.koe-shortcut-pins .koe-nav-pill{min-height:38px}.koe-shortcut-pins .koe-nav-pill{min-width:44px}}

.koe-shortcut-more.is-mobile-dots{width:38px;min-height:38px;padding:0;font-size:13px;letter-spacing:2px}
@media(max-width:680px){.koe-shortcut-pins{display:none}.koe-shortcut-selected .koe-shortcut-row{grid-template-columns:minmax(0,1fr)}.koe-shortcut-selected .koe-shortcut-item-actions{grid-column:1}}
/* Engraved glass treatment for the shortcut configurator. */
.koe-shortcuts-enabled .koe-shortcut-add{width:28px;min-height:28px;height:28px;padding:0;border:1px solid rgba(120,142,171,.16);background:rgba(220,229,242,.12);color:rgba(66,88,120,.56);font-size:19px;font-weight:500;box-shadow:inset 0 1px 3px rgba(47,69,101,.12),0 1px 0 rgba(255,255,255,.7);text-shadow:0 1px 0 rgba(255,255,255,.85)}
.koe-shortcuts-enabled .koe-shortcut-add:hover{border-color:rgba(120,142,171,.28);background:rgba(212,224,242,.27);color:#385e93}
.koe-shortcuts-enabled .koe-shortcut-add:focus-visible{outline:2px solid #3975cd;outline-offset:3px}

/* Use each card color as the shortcut background in navbar and overflow. */
.koe-shortcut-pins .koe-nav-pill--configured,
.koe-shortcut-overflow .koe-nav-pill--configured{color:#fff;border:1px solid var(--shortcut-color);background:var(--shortcut-color)}
.koe-shortcut-pins .koe-nav-pill--configured:is(:hover,:focus-visible,.is-active),
.koe-shortcut-overflow .koe-nav-pill--configured:is(:hover,:focus-visible,.is-active){color:#fff;border-color:var(--shortcut-color);background:var(--shortcut-color)}

