/* Lightweight account shortcode/widget: independently usable in a theme header. */
.pt301-account-control {
    display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;max-width:100%;
    flex-wrap:wrap;line-height:1.35;font-family:inherit;
}
.pt301-account-control[hidden],.pt301-account-project-slot[hidden],.pt301-agency-tools-home[hidden]{display:none!important}
.pt301-account-control a,.pt301-account-control a:hover,.pt301-account-control a:focus{text-decoration:none!important}
.pt301-account-login {
    display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 14px;
    border-radius:7px;background:#993823;color:#fff!important;font-size:12px;font-weight:700;
}
.pt301-account-login:hover{background:#712919}
.pt301-account-menu{position:relative;flex:0 0 auto}
.pt301-account-menu[open]{z-index:1200}
.pt301-account-menu>.pt301-account-toggle{
    display:flex;align-items:center;justify-content:center;gap:3px;min-width:46px;height:38px;
    box-sizing:border-box;padding:0 7px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;
    color:#344054;cursor:pointer;list-style:none
}
.pt301-account-toggle::-webkit-details-marker{display:none}
.pt301-account-toggle::marker{content:""}
.pt301-account-menu[open]>.pt301-account-toggle,.pt301-account-toggle:hover{background:#f0f4f8;border-color:#98a9be}
.pt301-account-menu>.pt301-account-menu-panel{
    position:absolute;top:calc(100% + 8px);right:0;width:220px;max-width:calc(100vw - 24px);
    box-sizing:border-box;border:1px solid #d4dce5;border-radius:10px;padding:5px;background:#fff;
    color:#263747;box-shadow:0 12px 32px rgba(24,39,56,.17);text-align:left;overflow:auto
}
.pt301-account-menu-person{display:grid;gap:3px;padding:9px 10px 11px;border-bottom:1px solid #e3e8ee;overflow-wrap:anywhere}
.pt301-account-menu-person strong{font-size:13px;font-weight:750;color:#18283b}
.pt301-account-menu-person small{font-size:11px;color:#66778a}
.pt301-account-menu-panel>a{
    display:block;padding:9px 10px;border-radius:5px;color:#344054!important;font-size:12px;font-weight:650
}
.pt301-account-menu-panel>a:hover{background:#f2f4f7;color:#993823!important}
.pt301-account-menu-panel>a.pt301-account-signout{color:#993823!important}
.pt301-account-menu-panel>a:focus-visible,.pt301-account-toggle:focus-visible{outline:2px solid #993823;outline-offset:2px}
.pt301-account-control .pt301-account-project-slot{flex:0 1 auto;min-width:0;max-width:100%}
.pt301-account-control .pt301-agency-header-tools{
    width:auto;max-width:100%;min-width:0;display:flex;flex:0 1 auto;align-items:center;justify-content:flex-end;gap:9px
}
.pt301-account-control .pt301-agency-header-tools .pt301-chooser-back{display:none}
.pt301-agency-tools-home{display:flex;justify-content:flex-end;margin:0 0 7px;max-width:100%}
.pt301-agency-tools-home .pt301-agency-header-tools{flex:0 1 auto;width:auto;align-items:center;gap:9px;flex-wrap:wrap}
.pt301-agency-tools-home .pt301-chooser-back{font-size:11px;font-weight:700;white-space:nowrap}
.pt301-account-control .pt301-agency-project-picker,
.pt301-agency-tools-home .pt301-agency-header-tools .pt301-agency-project-picker{
    flex:0 1 auto;display:block;position:relative;width:clamp(160px,27vw,325px);min-width:0;max-width:100%;margin:0
}
.pt301-account-control .pt301-agency-project-picker>span,
.pt301-agency-tools-home .pt301-agency-project-picker>span{
    position:absolute;top:3px;left:10px;font-size:9px;line-height:1.15;letter-spacing:.045em;
    text-transform:uppercase;font-weight:750;color:#667085;pointer-events:none;z-index:1
}
.pt301-account-control .pt301-account-project-slot .pt301-agency-project-picker select,
.pt301-portal-root .pt301-agency-tools-home .pt301-agency-project-picker select{
    display:block;width:100%;height:44px!important;min-height:44px!important;max-height:none!important;
    margin:0!important;padding:13px 26px 2px 9px!important;line-height:1.35!important;box-sizing:border-box;
    appearance:auto;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;
    font-family:inherit;font-size:12px!important;font-weight:600
}
.pt301-account-control .pt301-notification-bell,.pt301-agency-tools-home .pt301-notification-bell{height:38px;width:38px;box-sizing:border-box}
.pt301-account-menu-panel:popover-open,.pt301-notification-popover:popover-open{
    position:fixed!important;inset:auto;margin:0!important;max-width:calc(100vw - 24px);box-sizing:border-box;
    z-index:2147483647
}
@media(max-width:600px){
    .pt301-account-control{gap:7px}
    .pt301-account-control .pt301-agency-header-tools{gap:7px}
    .pt301-account-control .pt301-agency-project-picker,.pt301-agency-tools-home .pt301-agency-header-tools .pt301-agency-project-picker{width:clamp(128px,48vw,225px)}
    .pt301-account-control .pt301-account-project-slot .pt301-agency-project-picker select,.pt301-portal-root .pt301-agency-tools-home .pt301-agency-project-picker select{font-size:11px!important}
    .pt301-agency-tools-home{justify-content:flex-start}
    .pt301-account-menu>.pt301-account-toggle{min-width:40px;padding:0 5px}
    .pt301-account-control .pt301-notification-bell{width:36px}
}


/* Client header actions share the account widget and its sticky-header behavior. */
.pt301-account-client-slot[hidden],.pt301-client-tools-home[hidden]{display:none!important}
.pt301-account-client-slot{min-width:0;flex:0 1 auto;max-width:100%}
.pt301-client-tools-home{display:flex;justify-content:flex-end;margin:0 0 8px;max-width:100%}
.pt301-client-header-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0;max-width:100%}
.pt301-client-header-tools .pt301-notification-bell{height:38px;width:38px;box-sizing:border-box}
.pt301-new-idea{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:38px;box-sizing:border-box;padding:0 11px;border:1px solid #993823;border-radius:7px;background:#993823;color:#fff!important;white-space:nowrap;font-size:12px;font-weight:700;line-height:1.3;cursor:pointer;text-decoration:none!important;list-style:none}
.pt301-new-idea>span{font-size:16px;font-weight:600;line-height:1}
.pt301-new-idea:hover,.pt301-idea-menu[open]>.pt301-new-idea{background:#712919;border-color:#712919}
.pt301-new-idea:focus-visible,.pt301-idea-menu-panel a:focus-visible{outline:2px solid #993823;outline-offset:2px}
.pt301-new-idea::-webkit-details-marker{display:none}
.pt301-new-idea::marker{content:""}
.pt301-idea-menu{position:relative;flex:0 0 auto}
.pt301-idea-menu[open]{z-index:1200}
.pt301-idea-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:260px;max-width:calc(100vw - 24px);box-sizing:border-box;border:1px solid #d4dce5;border-radius:10px;background:#fff;box-shadow:0 12px 32px rgba(24,39,56,.17);padding:6px;overflow:auto;text-align:left;color:#263747}
.pt301-idea-menu-panel>strong{display:block;padding:8px 10px;font-size:12px;color:#66778a}
.pt301-idea-menu-panel a{display:grid;gap:3px;padding:9px 10px;border-radius:5px;color:#344054!important;font-size:12px;overflow-wrap:anywhere;text-decoration:none!important}
.pt301-idea-menu-panel a:hover{background:#f1f6fb;color:#993823!important}
.pt301-idea-menu-panel small{font-size:11px;color:#66778a}
.pt301-idea-menu-panel:popover-open{position:fixed!important;inset:auto;margin:0!important;max-width:calc(100vw - 24px);z-index:2147483647}
@media(max-width:600px){.pt301-client-header-tools{gap:7px}.pt301-new-idea{padding:0 9px}.pt301-client-header-tools .pt301-notification-bell{width:36px}}

/* Shared client upload action, colocated with New Idea and the bell. */
.pt301-upload-assets-button{background:#fff;color:#993823!important;border-color:#d4dce5}
.pt301-upload-assets-button:hover,.pt301-idea-menu[open]>.pt301-upload-assets-button{background:#f8efec;border-color:#993823;color:#993823!important}
@media(max-width:600px){.pt301-client-header-tools{flex-wrap:wrap;justify-content:flex-end}.pt301-new-idea,.pt301-upload-assets-button{height:34px;padding:0 7px;font-size:11px}}
