/* Navigation refinements loaded after the main brand stylesheet. */
.topbar{min-height:76px!important}
.topbar .brand{height:58px!important;overflow:hidden!important}
.topbar .brand>img{display:block!important;flex:0 0 auto!important;width:56px!important;height:48px!important;max-width:56px!important;max-height:48px!important;object-fit:contain!important;object-position:center!important}
.site-footer .footer-brand>img{display:block!important;width:114px!important;height:78px!important;max-width:114px!important;max-height:78px!important;object-fit:contain!important;object-position:left center!important}
.module-toolbar{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:1.4rem 0 1rem}.module-toolbar h2{margin:.15rem 0 0;font-size:1.5rem}.module-toolbar .eyebrow{color:#5272b2}.toolbar-actions{display:flex;flex-wrap:wrap;gap:.55rem}.functional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.work-card{display:flex;flex-direction:column;min-height:238px;padding:1.15rem;border:1px solid #dce6f8;border-radius:1rem;background:#fff;box-shadow:0 6px 18px #17336d09}.work-card>span{color:#146fe1;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.work-card h3{margin:.55rem 0;color:#122659;font-size:1.1rem}.work-card p{flex:1;margin:0;color:#647296;font-size:.82rem;line-height:1.55}.work-meta{display:grid;gap:.2rem;margin:1rem 0}.work-meta b{color:#0b2d71}.work-meta small{color:#7080a4}.work-card .outline{align-self:flex-start}.pos-welcome{margin-top:1rem}.pos-welcome p:not(.eyebrow),.subscription-status p:not(.eyebrow){color:#65739d;line-height:1.6}.pos-welcome[hidden],#posWorkspace[hidden]{display:none}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin:1rem 0}.stat-grid article{display:grid;gap:.35rem;padding:1rem;border:1px solid #dbe7fa;border-radius:.85rem;background:linear-gradient(135deg,#fff,#f1f7ff)}.stat-grid span{color:#63759d;font-size:.72rem;font-weight:700}.stat-grid b{color:#10265c;font-size:1.35rem}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1rem 0}.data-list{display:grid;gap:.55rem}.data-list h3{margin:.35rem 0;color:#233d73;font-size:.9rem}.data-row{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.7rem;border:1px solid #e0e9f8;border-radius:.7rem;background:#fbfdff}.data-row span{display:grid;gap:.16rem;min-width:0}.data-row b{color:#203767;font-size:.84rem}.data-row small{overflow:hidden;color:#7180a2;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.data-row strong{color:#162f6a;font-size:.8rem}.stock{border-left:4px solid #2fb67e}.stock.watch{border-left-color:#1a91df}.stock.low{border-left-color:#d9a316}.stock.critical{border-left-color:#9b4237}.tiny-button{border:1px solid #9abaf0;border-radius:.5rem;padding:.42rem .56rem;color:#1d5eb9;background:#fff;font-size:.7rem;font-weight:800;white-space:nowrap}.tiny-button:hover{border-color:#126de5;color:#fff;background:#126de5}.wallet-summary{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:1rem 0}.wallet-summary div{display:grid;gap:.25rem;padding:.8rem;border:1px solid #dce7fb;border-radius:.7rem;background:#f8fbff}.wallet-summary span{color:#61749a;font-size:.72rem}.wallet-summary b{color:#0e2c6b;font-size:1.25rem}.password-field{position:relative;display:block;width:100%}.password-field input{width:100%;padding-right:3.2rem}.password-toggle{position:absolute;top:50%;right:.65rem;border:0;padding:.18rem;color:#315b9d;background:transparent;transform:translateY(-50%)}#accountDialog{width:min(52rem,calc(100% - 2rem)}#accountDialog h3{margin:1.15rem 0 .55rem;color:#203a75;font-size:1rem}.subscription-status{margin-top:1rem}
.camera-capture{display:grid;gap:.65rem;padding:.8rem;border:1px dashed #9db9e9;border-radius:.7rem;background:#f6faff}.camera-capture video{width:min(100%,18rem);min-height:11rem;border-radius:.55rem;background:#0a1540;object-fit:cover}.camera-capture>div{display:flex;flex-wrap:wrap;gap:.45rem}.camera-capture small{color:#61749a;font-size:.72rem;line-height:1.4}
.order-buttons,.dialog-actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.chat-messages{display:grid;gap:.55rem;max-height:19rem;margin:1rem 0;overflow:auto;padding:.3rem}.chat-message{max-width:88%;padding:.65rem .75rem;border-radius:.75rem;background:#edf4ff;color:#19376f}.chat-message.seller{justify-self:end;background:#e7f9f7}.chat-message.admin{background:#f5eaff}.chat-message.system{max-width:100%;background:#fff7e7}.chat-message b,.chat-message small{display:block;font-size:.68rem}.chat-message p{margin:.25rem 0;font-size:.82rem;line-height:1.4}
.mobile-nav{display:none!important}
.global-loader{position:fixed;z-index:100;inset:0;display:grid;place-content:center;gap:.8rem;color:#fff;background:#06154cb8;backdrop-filter:blur(4px);text-align:center}.global-loader[hidden]{display:none!important}.loader-spinner{width:2.75rem;height:2.75rem;margin:auto;border:4px solid #ffffff55;border-top-color:#17d4f3;border-radius:50%;animation:adhock-spin .75s linear infinite}.global-loader strong{font-size:.9rem}@keyframes adhock-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){
  .topbar{min-height:62px!important}
  .topbar .brand{height:44px!important}
  .topbar .brand>img{width:44px!important;height:38px!important;max-width:44px!important;max-height:38px!important}
  .functional-grid,.two-column{grid-template-columns:1fr}.module-toolbar{align-items:start;flex-direction:column}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}.stat-grid{grid-template-columns:repeat(2,1fr)}.data-row{align-items:flex-start}.data-row small{white-space:normal}.wallet-summary{grid-template-columns:1fr 1fr}
  body{padding-bottom:4.7rem}
  .mobile-nav{position:fixed;z-index:25;right:.7rem;bottom:.7rem;left:.7rem;display:grid!important;grid-template-columns:repeat(4,1fr);gap:.2rem;padding:.35rem;border:1px solid #ccdcfb;border-radius:1rem;background:#fffffff5;box-shadow:0 12px 35px #05115042;backdrop-filter:blur(14px)}
  .mobile-nav button{display:grid;gap:.16rem;border:0;border-radius:.7rem;padding:.46rem .15rem;color:#5870a2;background:transparent;font-size:.62rem;font-weight:800}
  .mobile-nav button span{font-size:1.1rem;line-height:1}
  .mobile-nav button.active{color:#fff;background:linear-gradient(120deg,#126de5,#aa20d6)}
}
