/* Accessible, compact controls for authenticated Tool no Niwa Pro members. */
body.pro-header-compact .header{gap:12px}
body.pro-header-compact .header-tools.pro-header-actions-compact{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0;flex-wrap:nowrap}
body.pro-header-compact #pro-save-status{display:inline-flex;align-items:center;gap:6px;padding:5px 4px;color:#377a49;white-space:nowrap;font-size:12px;font-weight:750}
body.pro-header-compact #pro-save-status::before{content:'';display:block;width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#4b9d5a}
body.pro-header-compact #pro-save-status[data-failed="true"]{color:#b74731}
body.pro-header-compact #pro-save-status[data-failed="true"]::before{background:#cc5b43}
body.pro-header-compact .header-tools .pro-guide-trigger{display:inline-flex!important;align-items:center;justify-content:center;border-radius:9px;padding:7px 12px;min-height:36px;background:#f2f8f0;color:#336e48;border:1px solid #d7e7d6;font-size:12px;font-weight:800}
body.pro-header-compact .pro-header-more{position:relative;flex:0 0 auto}
body.pro-header-compact .pro-header-more-toggle{min-height:36px;padding:7px 12px;border:1px solid #d6e3d3;border-radius:9px;background:white;color:#3a5441;font-size:12px;font-weight:800}
body.pro-header-compact .pro-header-more-toggle::after{content:'⌄';font-size:15px;margin-left:6px;color:#647869}
body.pro-header-compact .pro-header-more-toggle[aria-expanded="true"]{background:#f0f6ef;border-color:#a9cdad}
body.pro-header-compact #pro-header-more-panel[hidden]{display:none!important}
body.pro-header-compact #pro-header-more-panel{position:absolute;z-index:160;top:calc(100% + 10px);right:0;width:min(264px,calc(100vw - 24px));padding:8px;border:1px solid #dce8da;border-radius:13px;background:#fff;box-shadow:0 15px 45px #18351b27;display:flex;flex-direction:column;align-items:stretch;gap:1px}
body.pro-header-compact #pro-header-more-panel a,body.pro-header-compact #pro-header-more-panel button{display:flex!important;align-items:center;justify-content:flex-start;gap:6px;width:100%;min-height:42px;height:auto;padding:10px 12px!important;border:0!important;border-radius:8px;background:transparent!important;color:#314d38!important;font-size:13px!important;font-weight:700;text-decoration:none;text-align:left;white-space:normal;line-height:1.45;cursor:pointer;transform:none}
body.pro-header-compact #pro-header-more-panel a:hover,body.pro-header-compact #pro-header-more-panel button:hover,body.pro-header-compact #pro-header-more-panel :focus-visible{background:#f0f7ed!important}
body.pro-header-compact #pro-header-more-panel .pro-header-menu-divider{border-top:1px solid #e8efe6;margin:6px 2px}
body.pro-header-compact #pro-header-more-panel .pro-header-menu-logout{color:#995047!important}
body.pro-header-compact #pro-header-more-panel .pro-return-desktop{display:inline!important}
body.pro-header-compact #pro-header-more-panel .pro-return-mobile{display:none!important}
body.pro-header-compact #pro-header-more-panel [data-pro-billing-action]{font-size:12px!important}
body.pro-header-compact #pro-header-more-toggle:focus-visible,body.pro-header-compact #pro-header-more-panel :focus-visible{outline:2px solid #679a70;outline-offset:2px}
body.pro-header-compact #dashboard .notice-mini{padding:0;border:0;background:transparent;margin:0 0 17px}
body.pro-header-compact .pro-trial-disclosure{display:block;max-width:100%;border:1px solid #e7e7d9;border-radius:10px;background:#fbfbf6;color:#67736a;font-size:12px}
body.pro-header-compact .pro-trial-disclosure summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:8px 12px;cursor:pointer;list-style:none}
body.pro-header-compact .pro-trial-disclosure summary::-webkit-details-marker{display:none}
body.pro-header-compact .pro-trial-disclosure summary strong{color:#7c7550;font-size:11px;font-weight:800}
body.pro-header-compact .pro-trial-more{font-size:11px;color:#737e71;white-space:nowrap}
body.pro-header-compact .pro-trial-more::after{content:' ▾'}
body.pro-header-compact .pro-trial-disclosure[open] .pro-trial-more::after{content:' ▴'}
body.pro-header-compact .pro-trial-disclosure p{padding:10px 12px 14px;border-top:1px solid #edeee7;font-size:12px;line-height:1.75;margin:0;color:#5f715f}
@media(max-width:700px){
 body.pro-header-compact .header{padding:0 12px}
 body.pro-header-compact .header-tools.pro-header-actions-compact{gap:7px}
 body.pro-header-compact .header-tools .pro-guide-trigger{padding:6px 9px}
 body.pro-header-compact .pro-header-more-toggle{padding:6px 9px}
}
@media(max-width:480px){
 body.pro-header-compact .brand-title small{display:none}
 body.pro-header-compact .header-tools .pro-guide-trigger{font-size:0!important;width:36px;min-width:36px;padding:0}
 body.pro-header-compact .header-tools .pro-guide-trigger::before{content:'?';font-size:15px}
 body.pro-header-compact .pro-header-more-toggle{font-size:0;width:37px;min-width:37px;height:36px;padding:0}
 body.pro-header-compact .pro-header-more-toggle::after{content:'☰';margin:0;font-size:17px}
 body.pro-header-compact #pro-save-status{font-size:10px;max-width:110px}
 body.pro-header-compact #pro-header-more-panel{font-size:13px}
}
@media(max-width:360px){body.pro-header-compact .header-tools.pro-header-actions-compact{gap:5px}body.pro-header-compact #pro-save-status{max-width:86px;font-size:10px}}
