/* Shared public header, navigation and inline search. Admin uses its own layout. */
.app-shell .app-header__identity{display:flex;align-items:center;gap:4px;min-width:0}
.app-shell .app-header__create{display:grid;place-items:center;flex:0 0 40px;width:40px;height:44px;padding:0;margin:0;border:0;border-radius:0;background:transparent!important;color:#fa0870;box-shadow:none!important;text-decoration:none;cursor:pointer}
.app-shell .app-header__create svg{width:26px;height:26px;stroke-width:2.4}
.app-shell .app-header__create{transform:translateY(-6px)}
.app-shell .app-header__create:focus-visible{outline:2px solid #fa0870;outline-offset:0}
.app-shell .app-fab-wrap>.app-fab{display:none!important}
@media(max-width:420px){.app-shell .app-header{padding-left:6px;padding-right:8px;gap:4px}.app-shell .app-header__identity{gap:0}.app-shell .app-header__identity .app-header__brand{font-size:20px}.app-shell .app-header__actions .app-header__icon{width:34px}}
@media(max-width:360px){.app-shell .app-header__identity .app-header__brand{font-size:17px}.app-shell .app-header__identity .app-header__brand small{font-size:7px}.app-shell .app-header__actions .app-header__icon{width:30px}}
.app-shell .app-header{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;z-index:80;min-height:72px;padding:12px 16px;background:#fff;border-bottom:1px solid #e9edf4}
.app-shell .app-header__brand{min-width:0;color:#0b1647;font:800 22px/1.1 system-ui;letter-spacing:-1px;text-decoration:none;white-space:nowrap}
.app-shell .app-header__brand span{color:#fa0870}
.app-shell .app-header__brand small{display:block;margin-top:5px;color:#59637b;font:500 8px/1.2 system-ui;letter-spacing:0;text-align:center}
.app-shell .app-header__actions{display:flex;align-items:center;gap:2px;margin:0;flex:0 0 auto}
.app-shell .app-header__icon{position:relative;display:grid;place-items:center;width:38px;height:40px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:#0b1647;box-shadow:none;text-decoration:none;cursor:pointer}
.app-shell .app-header__icon svg{display:block;width:23px;height:23px}
.app-shell .app-header__icon:hover{background:#f3f6fb}
.app-shell .app-header__badge{background:#fa0870}
.app-shell .app-bottom-nav__item.is-active{color:#fa0870}
.app-shell .app-bottom-nav__item.is-active::after{display:block;width:44px;height:2px;border-radius:2px;bottom:5px}
.app-shell .app-bottom-nav__item{font-weight:500}
.app-shell--discover .app-fab-wrap{display:none!important}
.app-shell .app-search{position:fixed;inset:0 0 auto;z-index:200;width:min(100%,600px);max-width:100%;max-height:calc(100dvh - 12px);margin:0 auto;padding:18px 16px 12px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#0b1647;border:1px solid #e6ecf5;border-top:0;border-radius:0 0 22px 22px;box-shadow:0 18px 60px #0b164733}
.app-search::backdrop{background:#0b164750;backdrop-filter:blur(3px)}
.app-search .app-search__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.app-search .app-search__top h2{margin:0;padding:0;font:700 17px/1.3 system-ui;letter-spacing:-.3px}
.app-search .app-search__top button,.app-search .app-search__form button{display:grid;place-items:center;width:36px;height:36px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:#f0f4fa;color:#21375b;cursor:pointer}
.app-search .app-search__form{display:flex;align-items:center;gap:9px;margin:0;padding:6px 8px 6px 12px;border:1px solid #dce6f2;border-radius:14px;background:#f6f8fc}
.app-search .app-search__form>svg{flex:0 0 21px;color:#7a89a0}
.app-search .app-search__form input{display:block;flex:1;min-width:0;width:100%;height:38px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#172c4c;font:400 16px/1.3 system-ui;outline:none}
.app-search .app-search__form:focus-within{border-color:#1788eb;box-shadow:0 0 0 3px #1689ec12}
.app-search .app-search__label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.app-search .app-search__status{margin:12px 2px 8px;color:#728097;font:400 12px/1.5 system-ui}
.app-search .app-search__results{display:grid;gap:3px}
.app-search .app-search__result{display:flex;align-items:center;gap:12px;padding:11px 8px;border-radius:12px;color:#10284b;text-decoration:none}
.app-search .app-search__result:hover,.app-search .app-search__result:focus-visible{background:#f2f7fd}
.app-search .app-search__initial{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#eaf3ff;color:#167fe4;font:700 17px/1 system-ui}
.app-search .app-search__text{display:grid;min-width:0;gap:4px}
.app-search .app-search__text strong{font:650 14px/1.4 system-ui;overflow-wrap:anywhere}
.app-search .app-search__text small{color:#77849a;font:400 11px/1.4 system-ui;overflow-wrap:anywhere}
.app-search .app-search__retry{justify-self:start;padding:9px 14px;border:0;border-radius:9px;background:#ecf5ff;color:#0879d9;font:600 13px/1.3 system-ui;cursor:pointer}
.app-shell :is(.app-header,.app-bottom-nav,.app-search) :is(a,button):focus-visible{outline:2px solid #1486e7;outline-offset:2px}
@media(max-width:767px){
 .app-shell .app-fab-wrap{left:50%;right:auto;bottom:calc(var(--app-nav-height) + env(safe-area-inset-bottom) - 17px);transform:translateX(-50%)}
 .app-shell .app-fab{width:46px;height:46px;border:2px solid #fff;background:#fa0870;box-shadow:0 3px 12px #fa087030}
 .app-shell .app-bottom-nav__item{padding-top:17px;font-size:11px;gap:5px}
 .app-shell .app-bottom-nav__icon svg{width:25px;height:25px}
 .app-shell .app-header{padding-top:calc(12px + env(safe-area-inset-top))}
 .app-shell .app-search{padding-top:calc(16px + env(safe-area-inset-top))}
}
@media(max-width:360px){.app-shell .app-header{padding-left:12px;padding-right:12px;gap:4px}.app-shell .app-header__brand{font-size:20px}.app-shell .app-header__icon{width:33px}}
.app-shell .app-header.app-header--compact{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding-left:12px;padding-right:12px}
.app-shell .app-header--compact>.app-header__brand{justify-self:center;text-align:center;font-size:24px}
.app-shell .app-header--compact .app-header__create{width:44px;height:44px;transform:none}
.app-shell .app-header--compact .app-header__create svg{width:32px;height:32px;stroke-width:2.8}
.app-header__more{position:relative;justify-self:end}
.app-header__more>summary{display:grid;place-items:center;position:relative;list-style:none;width:44px;height:44px;cursor:pointer;color:#0b1647}
.app-header__more>summary::-webkit-details-marker{display:none}
.app-header__more>summary svg{width:28px;height:28px}
.app-header__more>summary:focus-visible{outline:2px solid #fa0870;outline-offset:2px;border-radius:8px}
.app-header__unread{position:absolute;right:5px;top:7px;width:7px;height:7px;border-radius:50%;background:#fa0870}
.app-shell .app-header__dropdown{position:absolute;right:0;top:calc(100% + 12px);width:212px;background:#fff;border:1px solid #e9edf4;border-radius:16px;padding:6px;box-shadow:0 12px 32px #0b164714;z-index:100}
.app-shell .app-header__dropdown>a,.app-shell .app-header__dropdown>button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;border:0;border-radius:10px;padding:10px 12px;margin:0;background:transparent;color:#0b1647;font:600 14px system-ui;text-decoration:none;cursor:pointer}
.app-shell .app-header__dropdown>a:hover,.app-shell .app-header__dropdown>button:hover{background:#f6f7fb}
.app-shell .app-header__dropdown .app-header__badge{position:static;margin-left:auto}
@media(max-width:360px){.app-shell .app-header--compact>.app-header__brand{font-size:22px}}
