.tool-switch { display:flex; flex-wrap:wrap; align-items:center; gap:6px; max-width:100%; }
.tool-switch a { display:block; padding:9px 13px; border:1px solid #d8cdc2; border-radius:24px; color:#594239; background:#fffdf9; text-decoration:none; font:inherit; font-size:14px; font-weight:700; overflow-wrap:anywhere; }
.tool-switch a[aria-current="page"] { color:#fffdf9; background:#8a654f; border-color:#8a654f; }
.tool-switch a:hover { box-shadow:0 0 0 2px #e8d9c7; }
.tool-switch a:focus-visible { outline:3px solid #594239; outline-offset:3px; }
.shared-costing-link { text-decoration:none; }
.topbar,.top-actions { flex-wrap:wrap; }
@media (max-width:620px) { .tool-switch { width:100%; } .tool-switch a { flex:1 1 auto; text-align:center; } }
@media print { .tool-switch { display:none !important; } }

/* Σταθερή πλαϊνή στήλη (Κερί & Άρωμα, Κοστολόγιο) */
.ks-sidebar { display:none; }
@media (min-width:981px) {
  body.has-ks-sidebar { padding-left:248px; }
  .ks-sidebar { position:fixed; top:0; left:0; bottom:0; z-index:50; width:248px; box-sizing:border-box; display:flex; flex-direction:column; padding:26px 18px 20px; overflow-y:auto; border-right:1px solid #E5DACF; background:#FFFDF9; font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; line-height:1.5; }
  .has-ks-sidebar .site-header .brand { display:none; }
}
.ks-brand { display:flex; align-items:center; min-height:52px; padding:0 4px; }
.ks-brand img { display:block; width:178px; max-width:100%; height:auto; }
.ks-pill { display:inline-flex; align-self:flex-start; align-items:center; gap:6px; margin:7px 4px 24px; padding:5px 9px; border:1px solid #B9C0A5; border-radius:999px; color:#594239; background:#FFFDF9; font-size:10px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.ks-pill::before { content:""; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:#B9C0A5; }
.ks-nav { display:grid; gap:4px; }
.ks-section { margin:14px 12px 2px; color:#8B7366; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.ks-section:first-child { margin-top:0; }
.ks-link { width:100%; box-sizing:border-box; display:flex; align-items:center; gap:11px; padding:10px 13px; border:0; border-radius:12px; color:#5F5752; background:transparent; text-align:left; text-decoration:none; font:inherit; font-size:15px; font-weight:700; cursor:pointer; }
.ks-link:hover { background:#E8D9C7; }
.ks-link.active, .ks-link[aria-current="page"] { color:#6F4F3D; background:#E8D9C7; }
.ks-link:focus-visible, .ks-profile:focus-visible { outline:3px solid #594239; outline-offset:2px; }
.ks-icon { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:9px; background:rgba(255,253,249,.7); font-size:14px; }
.ks-label { flex:1 1 auto; min-width:0; }
.ks-lock { padding:1px 7px; border-radius:9px; background:#E8D9C7; color:#594239; font-size:10px; font-weight:800; letter-spacing:.04em; }
.ks-link:hover .ks-lock, .ks-link.active .ks-lock { background:#FFFDF9; }
.ks-upgrade { color:#875F5B; }
.ks-profile { margin-top:auto; padding:16px 10px 0; display:flex; align-items:center; gap:10px; border-top:1px solid #E5DACF; color:#5F5752; text-decoration:none; font-size:14px; }
.ks-profile strong { display:block; color:#594239; }
.ks-profile small { display:block; color:#8B7366; font-size:12px; overflow-wrap:anywhere; }
.ks-profile-text { min-width:0; }
.ks-avatar, .account-avatar { width:36px; height:36px; flex:0 0 36px; border-radius:50%; background:#FAF7F2; border:1px solid #E5DACF; object-fit:contain; box-sizing:border-box; padding:3px; }
.account-avatar.large { width:64px; height:64px; flex-basis:64px; padding:6px; }
.account-avatar.small { width:26px; height:26px; flex-basis:26px; padding:2px; vertical-align:middle; margin-right:8px; }
@media print { .ks-sidebar { display:none !important; } body.has-ks-sidebar { padding-left:0 !important; } }

/* Ομοιόμορφη διάταξη: σε υπολογιστή η πλοήγηση γίνεται μόνο από την πλαϊνή στήλη */
@media (min-width:981px) {
  .has-ks-sidebar .tool-switch { display:none; }
  .has-ks-sidebar .page-app > header { display:none; }
  .has-ks-sidebar .page-app { padding-top:44px; }
}
.ks-profile:hover { background:#F4ECE3; }
.ks-profile.active { background:#E8D9C7; }
.ks-profile { border-radius:0 0 12px 12px; padding-bottom:10px; }
@media (min-width:981px) {
  .has-ks-sidebar .topbar { justify-content:flex-end; }
  .has-ks-sidebar .kirosyni-sync { left:264px; }
}
