@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

:root {
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol", sans-serif;
    --font-heading: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --sidebar-bg: #7c5e28;
    --sidebar-fg: #ffffff;
    --sidebar-accent: #BB8D3B;
    --focus-ring: 2px solid #ffd166;
    --line-body: 1.6;
    --line-heading: 1.25;
    --sidebar-w:260px;
    --sidebar-mini:64px;
    --launcher-size-m: 56px;
    --launcher-icon-m: 28px;
    --launcher-top-m: 20px;
    --launcher-left-m: 16px;
    --topbar-h: 70px;
    --brand: #4c4333;
    --paper: #fffaf2;
    --beige:#E9D8BF;
    --text:#2B2B2B;
    --muted:#6B5E52;
    --card:#FFFFFF;
    --ink:#2B2B2B;
    --line:#E8E0D6;
    --focus:#C9AE7A;
    --sb-bg-active: #B98C3E;
    --sb-fg-dim: rgba(255,255,255,.85);
    --sb-hover: rgba(255,255,255,.12);
    --z-base:   0;
    --z-popover:800;
    --z-modal:  5000;
    --z-toast:  100000;
    --z-topbar: 600;     /* topbar stays clickable */
    --z-sidebar: 800;    /* sidebar above everything */
    --z-scrim: 700;
}



.sidebar{ z-index: var(--z-sidebar); }
.sb-tip{ z-index: calc(var(--z-sidebar) + 1); } /* the tiny hover tip */

/* Filter popovers / menus */
.filter-popover{ z-index: var(--z-popover); }

/* Flash / Toast stack is highest */
#toast-stack{ z-index: var(--z-toast); }

/* Every modal overlay (assign, SW, confirm, participant view, etc.) */
.modal-overlay{ z-index: var(--z-modal) !important; }
/* Confirm modal skin */
#appConfirmModal.modal-overlay{ z-index: var(--z-modal) !important; }


html {
    font-size: 12px;
    height: 100%
}

body {
    font-family: var(--font-body);
    line-height: var(--line-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2B2B2B;
    background:var(--paper);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.is-auth {
    background: var(--paper);
    --topbar-h: 0px;
}

h1, h2, h3, h4, h5, h6,
.heading, .sidebar__brand, .navbar-brand {
    font-family: var(--font-heading);
    line-height: var(--line-heading);
    letter-spacing: 0.2px;
}
h1 { font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 1.3rem + 0.6vw, 2rem); }
h3 { font-weight: 600; font-size: 1.25rem; }
strong, b { font-weight: 600; }

button, input, select, textarea, .sidebar__link, .btn {
    font-family: var(--font-body);
    font-weight: 500;
}
body.sb-lock .sidebar { width: var(--sidebar-mini, 64px); }
body.sb-lock .sidebar__brand,
body.sb-lock .sidebar__text { display: none; }

.sidebar__launcher{  z-index: var(--z-topbar);}
.sidebar__launcher,
.sidebar__toggle{
    background:transparent;border:0;box-shadow:none;border-radius:0;
    padding:0;margin:0;-webkit-appearance:none;appearance:none;
    display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;cursor:pointer;color:#fff!important;
}
.sidebar__launcher i,.sidebar__toggle i{color:#fff;font-size:22px;line-height:1}
.sidebar__launcher:focus-visible,.sidebar__toggle:focus-visible{outline:var(--focus-ring);outline-offset:2px}
.sidebar__launcher:hover,.sidebar__launcher:active,.sidebar__launcher:focus,
.sidebar__toggle:hover,.sidebar__toggle:active,.sidebar__toggle:focus{
    background:transparent;box-shadow:none;color:#fff;
}


.sidebar{
    position:fixed;top:0;left:0;height:100%;
    background:var(--sidebar-bg);color:var(--sidebar-fg);
    display:flex;flex-direction:column;overflow-x:visible;overflow-y:auto;
    transition:width .25s ease,left .25s ease;
}
.sidebar__header{display:flex;align-items:center;justify-content:space-between;padding:12px 8px}
nav.sidebar .sidebar__brand-img{
    display: block;
    transform: translateX(-15px);
    height: 30px;
}
.sidebar__brand { display:flex; align-items:center; }
.sidebar__brand-img{ height:26px; width:auto; margin-left: -6px;}
.sidebar__menu{padding:8px 6px}
.sidebar__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.sidebar__icon{width:22px;height:22px;object-fit:contain;filter:brightness(0) invert(1)}
.sidebar__link{display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:10px;color:var(--sidebar-fg);text-decoration:none;font-weight:600;line-height:1}
.sidebar__list .sidebar__link:hover,
.sidebar__list .sidebar__link:focus{
    background: var(--sb-hover);
    color: var(--sidebar-fg);
    border-radius: 10px;
}
.sidebar__link.is-active{
    background: rgba(255,255,255,.15);
    border-radius: 10px;
}
.sidebar__scrim{
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(0,0,0,.45);
    z-index: var(--z-scrim);
    pointer-events: auto;  /* catch clicks to close */
    border: 0;
}

.sidebar-open .sidebar__scrim{ display: block; }
@media (min-width:769px){
    body.sidebar-collapsed .sidebar__list .sidebar__link:hover{
        background: rgba(255,255,255,.18);
    }
}
.sidebar__text{transition:opacity .18s ease,visibility .18s ease}

.main-content{flex:1;
    margin-top: var(--topbar-h);
    padding:24px 0 0;
    transition:margin-left .25s ease,transform .25s ease;
    position: relative;
    overflow-y: auto;
    overscroll-behavior-y: none;
    transform: none;
    height: calc(100dvh - var(--topbar-h));
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto; }

.sb-tip{
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: #111827;
    color: #fff;
    padding: 8px 10px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    font-size: 13px;
    line-height: 1;
    display: none;
    pointer-events: none;
}
.sb-tip::after{
    content: "";
    position: absolute;
    right: 100%; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #111827;
}

@media (min-width:769px){
    .sidebar__launcher{display:none!important}
    .sidebar__toggle{display:inline-flex!important}
    .main-content{ margin-left: var(--sidebar-mini, 64px); }

    body.sidebar-collapsed .sidebar{width:var(--sidebar-mini);left:0}
    body.sidebar-collapsed .main-content{margin-left:var(--sidebar-mini)}
    body.sidebar-collapsed .sidebar__header{justify-content:center;padding:8px 0}
    body.sidebar-collapsed .sidebar__brand{display:none}
    body.sidebar-collapsed .sidebar__list{gap:12px}
    body.sidebar-collapsed .sidebar__link{height:48px;padding: 0;justify-content:center;gap:0; position: relative; }
    body.sidebar-collapsed .sidebar__link:hover .sb-tip{ display: inline-block; }
    body.sidebar-collapsed .sidebar__text{display:none}
    body.sidebar-collapsed .sidebar__link.is-active{background:rgba(255,255,255,.15);border-radius:10px}

    body.sidebar-expanded .sidebar{width:var(--sidebar-w);left:0}
    body.sidebar-expanded .main-content{ margin-left: var(--sidebar-w, 260px);}
        body.sidebar-expanded .sidebar__brand,
    body.sidebar-expanded .sidebar__text{display:inline;}
}



@media (max-width:768px){
    .sidebar{
        left: calc(-1 * var(--sidebar-w,260px));
        width: var(--sidebar-w,260px);
        height: 100dvh;
        transition:left .25s ease;
    }
    .sidebar[data-open="true"]{left:0}
    .sidebar__toggle{display:inline-flex;align-items:center}
    .main-content{margin-left:0}
    .sidebar__launcher{
        background: none;
        box-shadow: none;
        top: calc(var(--launcher-top-m) + env(safe-area-inset-top));
        left: var(--launcher-left-m);
        width: var(--launcher-size-m);
        height: var(--launcher-size-m);
    }
    .sidebar__launcher i{
        font-size: var(--launcher-icon-m);
        color: var(--sidebar-bg);
    }
    .sidebar-open .sidebar__launcher{
        color: var(--sidebar-bg)!important;
    }
        .sidebar__launcher:hover,
        .sidebar__launcher:active,
        .sidebar__launcher:focus{
            background: transparent;
        }
    body.sidebar-open{ overflow:hidden; }
    body.sidebar-open .sidebar__scrim{ display:block; }
    body.sidebar-open .main-content{ pointer-events:none; }
    body.sidebar-open .topbar{ pointer-events:auto; }
    .topbar, .main-content{
        transition: transform .25s ease;
        will-change: transform;
    }
}

.skip-link{position:absolute;left:-9999px}
.skip-link:focus{position:static;background:#fff;color:#000;padding:.5rem}
@media (min-width:769px){
    .sidebar{ width: var(--sidebar-mini, 64px); }
}

@media (max-width:768px){
    .sb-tip{ display:none; }
}

/** Login Page **/
.login-shell{
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(320px, 50%) 1fr;
    align-items: stretch;
    background: none;

}
.login-hero{
    position: relative;
    background:#523e19;
    color:#fff;
    padding:56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.login-panel{
    /* center the card in the right column */
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    min-height:100dvh;
    padding:40px clamp(24px, 4vw, 56px);

    /* kill the “shadow on top/left” and the border */
    background: var(--paper);
    box-shadow:none !important;
    border:0 !important;

    /* if you had a fixed width earlier, let the form size itself */
    width: 100%;
}


.login-form{ width:min(560px, 100%); }

.login-hero__brand{
    position: absolute;
    top: 23px;
    left: 30px;
}
.login-hero__brand .brand{height:37px}
.login-hero__copy{ max-width: 520px; }

@media (max-width: 768px){
    .login-shell{
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        grid-template-areas:
      "hero"
      "panel";
        min-height: 100svh;
    }
    .login-mobile-brand{ display: none; }
    .login-hero__brand{ display:none; }
    .login-panel{
        grid-area: panel;
        width: 100%;
        margin: 0;
        padding: 0px 16px 28px;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        min-height: auto;
    }
    .panel-title{
        text-align: left;
        font-size: 22px;
        margin: 4px 0 12px;
    }
    .login-form{ width:100%; gap:12px; }
    .login-form .btn{ width:100%; }
    .field__label{ font-size: 14px; }
    .input{ font-size: 15px; padding: 12px 14px; border-radius: 12px; }
    .login-form .btn{ width: 100%; }
    .captcha-row{ justify-content:flex-start; }
    .captcha-row .g-recaptcha{
        transform: scale(.9);              /* your preferred scale */
        transform-origin: left top;        /* anchor to the left */
        margin-left: 0 !important;         /* prevent auto-centering */
    }
    .login-hero__brand{
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        display: block;
    }
    .login-hero__brand .brand{ height: 30px; }
    .login-hero{
        position: relative;
        min-height: 100px;
        padding: 8px 0;
        display: block;
    }
    .login-hero__copy{ display:none; }
}

@media (max-width: 380px){
    .panel-title{ display:none; }
    .login-panel{ width:95vw; padding:14px; }
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input {
    flex: 1;
    padding-right: 40px; /* space for eye icon */
}
.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.toggle-password img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}
.toggle-password img:hover {
    opacity: 1;
}

body.is-auth .topbar,
body.is-auth .sidebar,
body.is-auth .sidebar__launcher { display: none !important; }

body.is-auth .main-content{
    padding: 0;
    margin-left: 0;
    margin-top: 0;
    height: 100dvh;
    background: transparent;
}

/* If your <main> has main-content--flush, keep this as a safety net */
.main-content--flush { padding: 0 !important; }

/* Make the hero truly touch the left edge */
.login-shell{ padding: 0 !important; }

.hero-title{
    color: #e9d6b3;
    font-family:"Poppins", system-ui, sans-serif;
    font-weight:700; font-size:40px; margin:0 0 8px;
}
.hero-sub{font: 400 20px/1.5 "Inter", system-ui, sans-serif; margin:0}
.hero-bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.08;}

.login-panel .login-form button[type="submit"]{
    display: block;
    margin: 28px auto 0;
    min-width: 180px;
}

.captcha-row{ display:flex; justify-content:flex-start; }
.captcha-row .g-recaptcha{ margin:8px 0 0 0 !important; display:inline-block; }

.panel-title{ text-align: center; margin-bottom: 4px; }
.row-between{
    margin-top: 4px;
    display: flex;
    justify-content: flex-end;  /* push "Forgot Password?" to the right edge */
}

.field{display:flex; flex-direction:column; gap:8px}
.field__label{
    display:flex; align-items:center; gap:10px;
    color:var(--brand); font:600 16px/1 "Poppins", system-ui, sans-serif;
}
.field__icon img{width:20px; height:20px; display:block}

.input, .form-input{
    width:100%;
    border:2px solid var(--brand);
    background:#fff; color:var(--text);
    border-radius:14px; padding:14px 16px;
    font:500 16px/1.2 "Inter", system-ui, sans-serif;
}
.input::placeholder, .form-input::placeholder{ color:#A3927D }
.input:focus, .form-input:focus{ outline:3px solid var(--focus); outline-offset:2px }

.login-panel .brand,
.login-mobile-brand { display: none; }
.login-mobile-brand .brand{ height:24px; }

@supports (backdrop-filter: blur(10px)) {
    .login-panel{
        background: rgba(255,255,255,.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,.7);
    }
}
.link{color:var(--brand); text-decoration:none; font-weight:600}
.link:hover{text-decoration:underline}

.check{display:inline-flex; align-items:center; gap:10px; cursor:pointer; user-select:none}
.check__input{appearance:none; width:0; height:0; position:absolute; opacity:0}
.check__box{
    width:24px; height:24px; border:2px solid var(--brand); border-radius:8px; background:#fff;
    display:inline-block; position:relative;
}
.check__input:checked + .check__box{
    background:var(--beige); border-color:var(--brand);
}
.check__input:checked + .check__box::after{
    content:""; position:absolute; left:6px; top:1px; width:8px; height:14px;
    border:3px solid var(--brand); border-top:0; border-left:0; transform:rotate(45deg);
}
.check__label{font:500 16px "Inter", system-ui, sans-serif; color:var(--text)}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    cursor:pointer;
    border-radius:28px;
    padding:14px 28px;
    font:700 16px/1 var(--font-body);
    text-align:center;
    min-height:48px;
    box-sizing:border-box;
    max-width:100%;
}

.btn-primary{
    background:var(--brand);
    color:#fff;
}
.btn-primary:hover{
    background: #78613c;}

.btn-sm { padding:10px 20px; border-radius:22px; font-size:14px; }
.btn-md { padding:14px 28px; }
.btn-lg { padding:16px 36px; border-radius:32px; }

.btn-auto  { width:auto; }
.btn-block { width:100%; }

.login-form .btn { align-self:center; }

.topbar{
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #fff;
    border: 0;
    display:grid;
    grid-template-columns: auto minmax(0,1fr) auto; /* burger | title | user */
    gap: 10px;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-h);
    z-index: var(--z-topbar);
}
.topbar__left{ padding-left: 40px; min-width:0; }
.topbar__title{
    margin:0; font: 800 2rem/1.2 var(--font-heading, "Poppins", system-ui);
    color: #231f21; letter-spacing:.05em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar__burger{ display:none; }
@media (min-width: 769px){
    .topbar{ padding-left: var(--sidebar-mini, 64px); }
    .main-content{ margin-left: var(--sidebar-mini, 64px); }
    .topbar__burger { display: none !important; }
    body.sidebar-expanded .topbar{ padding-left: var(--sidebar-w, 260px); }
    body.sidebar-expanded .main-content{ margin-left: var(--sidebar-w, 260px); }
}
.sbnav{
    transition: padding-left .25s ease;
}
@media (min-width:769px){
    body.sidebar-hover .sbnav{
        padding-left: var(--sidebar-w, 260px);
    }
}

@media (min-width:769px){
    body.sidebar-collapsed .sidebar:hover{
        width: var(--sidebar-w, 260px);
    }

    /* NEW: when we persist hover across navigation, expand the sidebar */
    body.sidebar-hover .sidebar{
        width: var(--sidebar-w, 260px);
    }
    body.sidebar-hover .sidebar__brand,
    body.sidebar-hover .sidebar__text{
        display: inline;
    }

    body.sidebar-collapsed .sidebar:not(:hover) .sidebar__header{
        justify-content:center;
        padding:8px 0;
    }

    body.sidebar-collapsed .sidebar:not(:hover) .sidebar__link{
        height:48px; padding:0; justify-content:center; gap:0; position:relative;
    }

    body.sidebar-collapsed .sidebar:not(:hover) .sidebar__link:hover .sb-tip{
        display:inline-block;
    }
    body.sidebar-hover .main-content{
        margin-left: var(--sidebar-w, 260px);
    }
}



@media (max-width: 768px){
    .topbar__title{ font-size:20px; }
    .topbar{ padding-left: 12px; grid-template-columns: auto minmax(0,1fr) auto; }
    .topbar__left{ padding-left: 0; gap: 8px; }
    .sidebar__launcher{ display:none; }
    .topbar__burger{
        display: inline-flex;
        transform: translateY(6px);
        background: transparent;
        border: 0;
        box-shadow: none;
        filter: none;pointer-events:auto;
        -webkit-tap-highlight-color: transparent;
        transition: border-color .15s ease, color .15s ease, transform .05s ease;
        color: var(--sidebar-bg);
    }

    .topbar__burger i{
        color: currentColor;
        font-size: 20px;
    }

    .topbar__burger:hover,
    .topbar__burger:focus{
        background: transparent;
        color: var(--sidebar-bg);
        border-color: var(--sidebar-bg);
    }

    .topbar__burger:focus-visible{
        outline: var(--focus-ring);
        outline-offset: 2px;
        border-color: var(--sidebar-bg) !important;
    }

    /* Tiny press feedback */
    .topbar__burger:active{ transform: scale(0.98); }
}

.topbar__left{ display:flex; align-items:center; gap:16px; }
.topbar__right{ margin-left: auto; display:flex; align-items:center; gap:12px;
}

.topbar__brand{ display:none; }
/* keep burger as bars even when sidebar is open */
.topbar__burger::before,
.topbar__burger::after{
    content: none !important;   /* kill any pseudo-element X */
}

.sidebar-open .topbar__burger::before,
.sidebar-open .topbar__burger::after{
    content: none !important;
}

/* if your icon library toggles to an X icon class, hide it */
.topbar__burger .fa-times,
.topbar__burger .fa-close,
.topbar__burger .fa-xmark{
    display: none !important;
}
.sidebar-open .topbar__burger .fa-times,
.sidebar-open .topbar__burger .fa-close,
.sidebar-open .topbar__burger .fa-xmark{
    display: none !important;
}

/* always show the bars icon */
.topbar__burger .fa-bars{ display:inline-block !important; }
.sidebar-open .topbar__burger .fa-bars{ display:inline-block !important; }

.sidebar .sidebar__list .sidebar__link{
    justify-content: flex-start;
    text-align: left;
    gap: 14px;
    padding: 12px 16px;
}

.sidebar .sidebar__icon{
    flex: 0 0 auto;
    display: inline-block;
}

.sidebar .sidebar__text{
    flex: 1 1 auto;
}
@media (max-width: 768px){
    .sidebar .sidebar__link{
        justify-content: flex-start !important;}

    nav.sidebar[data-open="true"]{ left:0 !important;}
}

@media (min-width: 769px){
    body.sidebar-expanded .sidebar .sidebar__link{
        justify-content: flex-start !important;
    }
    body.sidebar-collapsed .sidebar:hover .sidebar__link{
        justify-content: flex-start !important;
        gap: 14px;
        padding: 12px 16px;
    }
}

.icon-btn{
    display:inline-flex; align-items:center; justify-content:center;
    width:38px; height:38px; border-radius:999px;
    border:0; background:transparent; cursor:pointer;
}
.icon-btn:hover{ filter:brightness(.98); }

.userchip{
    position:relative;
    padding:0;
    background:transparent;
    border:0;
    transform: translateY(-8px);
}

.userchip__frame{
    border: none;
    border-radius: 999px;
    background: none;
    box-shadow: none;
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.userchip__avatar{
    width:32px; height:32px; border-radius:999px;
    border: none;
    background: #e3d6c2; color: #78613c; display:grid; place-items:center; font-weight:700;
}

.userchip__meta{ line-height:1.05; }
.userchip__name{ font-weight:600; color:#2B2B2B; }
.userchip__role{ font-size:.85rem; color:#6B5E52; margin-top:1px;}

.userpanel{
    position:absolute; right:0; top:calc(100% + 8px);
    min-width: 100px;
    padding: 8px 10px;
    border-radius: 12px;
    background:#fff; border:1px solid var(--line,#E8E0D6);
    box-shadow:0 10px 24px rgba(0,0,0,.08);
    display:none; z-index:var(--z-popover);
}

.userpanel.profile-pop{
    box-sizing: border-box;
    inline-size: 200px;                     /* fixed width */
    max-inline-size: calc(100vw - 24px);    /* don’t overflow on tiny screens */
    border-radius: 16px;
    padding: 12px 14px;
    right: 0;
    top: calc(100% + 10px);
    min-width: 100px;
    background: #fff;
    border: 1px solid var(--line, #E8E0D6);
    box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.profile-pop .modal-close.ico-btn{
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    padding: 0;
}
.profile-pop .modal-close.ico-btn img{
    width: 14px;
    height: 14px;
    display: block;
    opacity: .8;
}
.profile-pop .modal-close.ico-btn:hover img{ opacity: 1; }
.pp__header{
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom: 12px;
}
.pp__email{
    font: 500 12px/1.2 "Inter", system-ui, sans-serif;
    color: #8a8a8a;
    display: block;
    text-align: center;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}
.pp__close{
    appearance:none; border:0; background:transparent; cursor:pointer;
    font-size: 22px; line-height: 1; color: #666; padding: 2px 6px;
}
.pp__close:hover{ color:#000; }

.pp__avatar{
    width:60px; height:60px; border-radius:999px;
    background: #e3d6c2; color: #78613c;
    border: none;
    margin: 6px auto 10px;
    display:grid; place-items:center;
    font-weight: bolder;
}

.pp__hello{
    margin: 0 0 10px; text-align:center;
    font: 600 16px/1.25 "Poppins", system-ui, sans-serif;
    color: #1d1d1d;
}

.pp__rule{
    border: 0; height: 1px; background: #eaddcb;
    margin: 10px 0 14px;
}

.pp__logout{
    font-size: 0.95rem;
    padding: 8px 14px;
    min-width: 120px;               /* was bulky; adjust as you like or remove */
    border-radius: 14px;
    border-width: 1px;
    display:block; text-align:center; text-decoration:none;
    margin: 0 auto; font-weight: 600;
    color: var(--brand, #5B4424); background: transparent;
}
.pp__logout:hover{ background: rgba(91,68,36,.06); }

.userchip.is-open .userpanel{ display:block; }


/* Breadcrumbs */
.breadcrumbs{
    --bc-current:#111827;
    --bc-sep: #999b9f;
    font-size: .95rem;
    margin: .25rem 0 0;
}
.breadcrumbs--topbar{
    display:flex;
    align-items:center;
    height: var(--topbar-h, 70px);
    margin: 0;
}

.breadcrumbs--topbar .breadcrumbs__list{
    align-items: center;
    gap: .45rem .7rem;
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}
.breadcrumbs--topbar .breadcrumbs__link{
    color: var(--bc-sep);
    font-weight: 700;
    font-size: 1.06rem;
    line-height: 1.2;
    text-decoration: none;
}
.breadcrumbs__link:hover,
.breadcrumbs__link:focus{
    text-decoration: underline;
    outline: none;
}
.breadcrumbs--topbar .breadcrumbs__current{
    font-size: 1.12rem;
    line-height: 1.2;
    color: var(--bc-current);
    font-weight: 700;
}

.breadcrumbs__sep{
    line-height: 0;
    display: inline-flex;
    align-items: center;
    color: var(--bc-sep);
}
.breadcrumbs__sep svg{
    display: block;
}

@media (max-width:480px){
    .breadcrumbs{ font-size:.9rem; }
}
@media (max-width: 768px){
    .breadcrumbs--topbar .breadcrumbs__link{ font-size: 1rem; }
    .breadcrumbs--topbar .breadcrumbs__current{ font-size: 1.06rem; }
}
