/* PrideScore theme — self-hosted design system, 2026/2027 */
:root {
  --ps-ink:#27183f; --ps-muted:#756c86; --ps-pink:#cb347f; --ps-violet:#6a38ba;
  --ps-lilac:#a77af1; --ps-coral:#f77b72; --ps-teal:#12a8b7;
  --ps-paper:#fff; --ps-bg:#fbf8ff; --ps-line:#ebe3f1; --ps-shadow:0 14px 45px rgba(64,36,94,.09);
  --ps-gradient:linear-gradient(110deg,#de477f 0%,#a446a9 47%,#6337b5 100%);
  --ps-round:22px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ps-bg);color:var(--ps-ink);font-family:Inter,"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
body,button,input,textarea{font-family:Inter,"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
button,input,textarea{font-size:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}a:hover{text-decoration:none}
a:focus-visible,button:focus-visible{outline:3px solid #21b8c6;outline-offset:3px}
img,svg{max-width:100%}img{height:auto}
h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.13}
.ps-icon{width:1.15em;height:1.15em;flex:0 0 auto}
.ps-page-frame{overflow:hidden;min-height:100vh;display:flex;flex-direction:column}
.ps-container{width:min(1260px,calc(100% - 64px));margin:0 auto}
.ps-skip-link{position:absolute;top:-150px;left:16px;z-index:10000;background:white;color:var(--ps-ink);padding:12px 18px;border-radius:10px}
.ps-skip-link:focus{top:10px}
.ps-kicker{font-size:12px;font-weight:800;letter-spacing:.17em;color:#9863b2;text-transform:uppercase}
.ps-kicker-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e7709f;margin-right:8px;vertical-align:2px}
.ps-site-header{position:relative;z-index:20;padding:17px 0 0}
.ps-header-inner{display:flex;align-items:center;gap:35px;justify-content:space-between;width:min(1350px,calc(100% - 72px));min-height:74px;margin:0 auto;padding:8px 20px 8px 22px;border:1px solid rgba(255,255,255,.9);border-radius:25px;background:rgba(255,255,255,.78);box-shadow:0 8px 32px rgba(79,46,113,.08);backdrop-filter:blur(18px)}
.ps-brand{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;flex-shrink:0}
.ps-brand-mark{width:46px;height:46px;object-fit:contain}
.ps-brand-custom{max-height:52px;width:auto;max-width:250px;object-fit:contain}
.ps-brand-name{font-size:28px;font-weight:900;letter-spacing:-.065em;line-height:1;color:#24153a}
.ps-brand-name span{color:#4e326e}
.ps-main-nav{display:flex;align-items:center;justify-content:center;gap:30px;font-size:14px;font-weight:700}
.ps-main-nav a{position:relative;color:#342744;padding:13px 0;transition:color .2s}
.ps-main-nav a:hover{color:var(--ps-pink)}
.ps-nav-actions{display:flex;gap:10px;align-items:center}
.ps-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:14px;font-weight:800;line-height:1.1;padding:12px 20px;border:1px solid transparent;border-radius:999px;min-height:42px;white-space:nowrap;transition:transform .22s,box-shadow .22s,background .22s}
.ps-button:hover{transform:translateY(-2px)}
.ps-button .ps-icon{width:17px;height:17px}
.ps-button-primary{background:var(--ps-gradient);color:white;box-shadow:0 8px 23px rgba(168,62,150,.23)}
.ps-button-primary:hover{color:white;box-shadow:0 12px 27px rgba(168,62,150,.3)}
.ps-button-outline{border-color:#bbaaca;color:#3d2b52;background:rgba(255,255,255,.68)}
.ps-button-outline:hover{border-color:#855aad;color:var(--ps-violet)}
.ps-button-large{padding:16px 23px;min-height:51px;font-size:15px}
.ps-mobile-menu{display:none;width:42px;height:42px;align-items:center;justify-content:center;border:1px solid var(--ps-line);border-radius:14px;background:white;color:var(--ps-ink)}
.ps-landing{flex:1}
.ps-hero{position:relative;padding:67px 0 95px;background:radial-gradient(ellipse at 95% 27%,#f5eafb 0,transparent 40%),radial-gradient(ellipse at 8% 1%,#fff4fa 0,transparent 38%)}
.ps-hero-ambient{pointer-events:none;position:absolute;border-radius:50%;filter:blur(90px);opacity:.33}
.ps-ambient-one{width:310px;height:180px;background:#f693ad;left:-150px;top:40px}
.ps-ambient-two{width:270px;height:200px;background:#ac8af5;right:-85px;top:130px}
.ps-hero-grid{display:grid;grid-template-columns:.83fr 1.17fr;align-items:center;gap:34px;min-height:490px}
.ps-hero-copy{position:relative;z-index:3;padding-bottom:16px}
.ps-hero-copy h1{font-size:clamp(46px,5.4vw,82px);font-weight:900;letter-spacing:-.066em;margin:26px 0 25px;line-height:1.04;color:#27113c}
.ps-hero-copy h1 em{font-style:normal;background:linear-gradient(90deg,#cf377e,#e6678a);color:transparent;background-clip:text;-webkit-background-clip:text}
.ps-hero-description{font-size:clamp(16px,1.45vw,18px);line-height:1.7;max-width:535px;color:#51445f;margin-bottom:30px}
.ps-hero-buttons{display:flex;gap:12px;flex-wrap:wrap}
.ps-hero-checks{display:flex;flex-wrap:wrap;gap:15px;margin-top:31px;color:#4c3e5c;font-size:12px;font-weight:700}
.ps-hero-checks span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.ps-hero-checks .ps-icon{padding:3px;width:22px;height:22px;background:#f1e3fd;border-radius:50%;color:#703cba}
.ps-product-scene{position:relative;z-index:2;height:480px;width:100%;min-width:0}
.ps-scene-ribbon{position:absolute;pointer-events:none;opacity:.65}
.ps-scene-ribbon-one{width:94%;height:72%;right:-80px;top:18px;border:72px solid transparent;border-right-color:#dbb7f1;border-top-color:#f2afd2;border-radius:50%;transform:rotate(14deg);filter:blur(.1px)}
.ps-scene-ribbon-two{width:74%;height:67%;right:-95px;bottom:-47px;border:56px solid transparent;border-top-color:#b6dfe9;border-left-color:#c6b4f3;border-radius:50%;transform:rotate(-22deg);opacity:.45}
.ps-laptop{position:absolute;top:10px;left:0;width:83%;height:335px;z-index:2;border:8px solid #292338;border-bottom:0;border-radius:20px 20px 5px 5px;background:#292338;box-shadow:0 15px 25px rgba(44,23,63,.25),0 0 0 1px #9e8eaf}
.ps-device-camera{position:absolute;top:4px;left:50%;height:4px;width:4px;background:#5d5670;border-radius:50%;z-index:5}
.ps-laptop-screen{overflow:hidden;display:grid;grid-template-columns:27% 73%;height:100%;background:#f8f0fd;border-radius:11px 11px 2px 2px}
.ps-laptop-base{position:absolute;width:114%;height:15px;left:-7%;bottom:-14px;background:linear-gradient(#eae4f0,#bfb6cd);border-radius:2px 2px 45% 45%;box-shadow:0 10px 14px rgba(42,31,58,.19)}
.ps-demo-side{background:linear-gradient(180deg,#503071,#2d1a4b);color:#ebe4f4;padding:21px 12px 10px;font-size:12px;font-weight:650}
.ps-demo-brand{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:850;color:white;margin:0 0 26px}
.ps-demo-side>div:not(.ps-demo-brand){display:flex;align-items:center;gap:9px;padding:10px 9px;border-radius:7px;margin-bottom:3px;white-space:nowrap}
.ps-demo-side .ps-icon{width:14px;height:14px}
.ps-demo-side .ps-demo-nav-active{background:rgba(185,148,221,.43);color:white}
.ps-demo-main{padding:22px 18px 15px;background:linear-gradient(138deg,#fcf7fe 0%,#f2eafa 100%)}
.ps-demo-search{font-size:9px;color:#a094af;border-radius:14px;background:white;box-shadow:0 2px 11px rgba(60,38,83,.06);padding:8px 10px;display:flex;align-items:center;gap:6px;width:76%;margin:0 auto 19px}
.ps-demo-search .ps-icon{width:10px;height:10px}
.ps-demo-welcome{font-weight:900;font-size:19px;letter-spacing:-.035em}
.ps-demo-sparkle{color:#d648a3}
.ps-demo-subhead{font-size:10px;color:#81718e;margin-top:2px}
.ps-demo-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:21px 0 14px}
.ps-demo-quick>div{min-height:58px;border-radius:8px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:9px;font-weight:700;color:#432957;box-shadow:0 3px 10px rgba(47,31,64,.06)}
.ps-demo-quick .ps-icon{color:#c73c91;width:18px;height:18px}
.ps-demo-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ps-demo-cards>div{padding:12px 10px;border-radius:10px;background:#fff;min-height:91px;box-shadow:0 2px 10px rgba(42,30,55,.05)}
.ps-demo-cards b{display:block;font-size:11px;margin-bottom:11px}
.ps-demo-cards small{display:block;font-size:8px;color:#756884;margin:6px 0}
.ps-tablet-preview{position:absolute;z-index:5;right:-2%;bottom:3px;width:60%;height:268px;border:9px solid #262136;border-radius:19px;background:white;box-shadow:0 19px 33px rgba(34,26,54,.25),0 0 0 1px #9e90ae;overflow:hidden;display:flex;flex-direction:column;transform:rotate(1.2deg)}
.ps-tablet-top{height:44px;padding:8px 12px;background:#f9f7fd;border-bottom:1px solid #f0eaf3;display:flex;align-items:center;justify-content:space-between;gap:8px}
.ps-tablet-top strong{display:block;font-size:10px;line-height:1.1}.ps-tablet-top small{display:block;font-size:8px;color:#8f829e}.ps-tablet-top>span{display:flex;gap:9px;color:#6c4793}.ps-tablet-top .ps-icon{width:13px;height:13px}
.ps-tablet-body{flex:1;min-height:0;display:flex;gap:4px;padding:7px 8px 0}
.ps-tablet-tools{display:flex;flex-direction:column;gap:5px;padding-top:13px}
.ps-tablet-tools>span{width:21px;height:21px;display:flex;justify-content:center;align-items:center;border-radius:5px;color:#715e83;background:#f7f2fd}
.ps-tablet-tools .ps-icon{width:12px;height:12px}.ps-tablet-tools>.ps-selected-tool{background:#ecd9fc;color:#9a42b5}
.ps-tablet-sheet{min-width:0;flex:1;overflow:hidden}.ps-tablet-sheet .ps-sheet-svg{width:100%;height:170px;object-fit:contain}
.ps-tablet-pagination{height:23px;text-align:center;font-weight:800;font-size:12px;color:#5e4776;background:#faf7fd}.ps-tablet-pagination span{display:inline-block;margin:0 12px;font-size:9px}
.ps-section{padding:73px 0}.ps-section-heading{text-align:center;max-width:700px;margin:0 auto 31px}
.ps-section-heading h2,.ps-reader-copy h2{font-size:clamp(30px,3.45vw,47px);margin:12px 0 11px;font-weight:900;letter-spacing:-.052em}
.ps-section-heading p{font-size:16px;color:var(--ps-muted);margin:0}
.ps-features{position:relative;padding-top:45px;background:linear-gradient(180deg,transparent 0%,#fff 86%)}
.ps-feature-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.ps-feature-card{border:1px solid #f0eaf3;background:#fff;padding:22px 17px 20px;border-radius:20px;min-height:215px;box-shadow:0 9px 27px rgba(60,38,76,.07);transition:transform .2s,box-shadow .2s}
.ps-feature-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px rgba(60,38,76,.11)}
.ps-feature-icon{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:15px;margin-bottom:19px}
.ps-feature-icon .ps-icon{width:24px;height:24px}
.ps-icon-violet{background:#f0e2ff;color:#8d4bd2}.ps-icon-pink{background:#ffe3f5;color:#c936a0}.ps-icon-teal{background:#dcf5f3;color:#1b9b9d}.ps-icon-coral{background:#ffe9e4;color:#ec7067}.ps-icon-aqua{background:#dbf4f6;color:#0398b0}
.ps-feature-card h3{font-size:16px;font-weight:850;letter-spacing:-.025em;margin:0 0 9px}
.ps-feature-card p{font-size:12px;line-height:1.65;color:#776c82;margin:0}
.ps-reader-showcase{padding-top:80px;padding-bottom:96px;background:linear-gradient(165deg,#fff 24%,#fbf4ff 62%,#f2faff 99%)}
.ps-reader-showcase-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:75px}
.ps-reader-art{height:380px;position:relative;display:flex;align-items:center;justify-content:center}
.ps-reader-art-halo{position:absolute;inset:35px 0 20px;border-radius:55% 55% 33% 33%;background:linear-gradient(130deg,#eed9ff,#dbf1fa 54%,#fff0f5);filter:blur(8px);opacity:.85}
.ps-reader-stage{position:relative;z-index:2;width:86%;max-width:490px;transform:rotate(-7deg);padding:11px;background:#29243b;border-radius:21px;box-shadow:0 19px 32px rgba(42,30,60,.22)}
.ps-reader-stage-inner{background:#fff;border-radius:12px;overflow:hidden}
.ps-reader-top{background:#f8f4fb;padding:9px 15px;font-weight:800;font-size:12px;display:flex;justify-content:space-between}.ps-reader-top span{display:flex;gap:10px;color:#73449f}.ps-reader-top .ps-icon{width:15px;height:15px}
.ps-reader-stage .ps-sheet-svg{width:100%;height:auto;display:block}.ps-reader-stage-foot{text-align:center;font-size:10px;padding:4px;color:#6d5679;background:#fbf7fd}
.ps-stylus{position:absolute;z-index:4;bottom:10px;left:22%;width:300px;height:10px;background:linear-gradient(90deg,#bab7c4,#fff,#e0dfea);box-shadow:1px 8px 13px rgba(45,30,66,.2);border-radius:8px;transform:rotate(-10deg)}
.ps-stylus::before{content:"";position:absolute;left:-14px;top:1px;border-top:4px solid transparent;border-bottom:4px solid transparent;border-right:16px solid #645e70}
.ps-reader-copy h2 em{font-style:normal;color:#af4599}.ps-reader-copy>p{max-width:560px;color:#6c5d76;font-size:16px;line-height:1.75}
.ps-reader-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:26px 0 30px}
.ps-reader-benefits>div{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;line-height:1.4}
.ps-reader-benefits .ps-icon{flex:none;width:37px;height:37px;color:#8f50c9;padding:9px;background:#eee1fb;border-radius:12px}
.ps-text-link{display:inline-flex;align-items:center;gap:8px;color:#8d36a7;font-weight:850;font-size:14px}
.ps-text-link:hover{color:#c63888}.ps-honest-note{font-size:11px!important;margin-top:17px;color:#96859d!important;line-height:1.5!important}
.ps-closing{padding:40px 0 65px;background:linear-gradient(180deg,#f2faff,#faf7ff)}
.ps-closing-band{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:39px 47px;color:#fff;background:linear-gradient(110deg,#542a7a 0%,#6736a5 42%,#ac4d9c 72%,#ee7181 100%);border-radius:29px;box-shadow:0 17px 36px rgba(89,40,114,.13)}
.ps-closing-band .ps-kicker{color:#f4d7ff}.ps-closing-copy h2{margin:10px 0 8px;font-size:clamp(25px,3vw,37px)}.ps-closing-copy p{margin:0;color:#f4e7f5}
.ps-button-light{background:white;color:#5b3079}.ps-button-light:hover{background:#faf2fe}
.ps-footer{margin-top:auto;background:#25153b;color:#f8f2ff}
.ps-footer-inner{max-width:1250px;margin:auto;padding:36px 30px 32px;display:flex;gap:40px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.ps-footer-brand{display:flex;align-items:center;gap:20px}.ps-footer-brand .ps-brand-name{color:#fff;font-size:25px}.ps-footer-brand .ps-brand-name span{color:#f9def3}.ps-footer-brand .ps-brand-mark{width:40px;height:40px}.ps-footer-brand>span{border-left:1px solid #77618b;padding-left:20px;color:#d8c6e6;font-size:12px}
.ps-footer-links{display:flex;gap:20px;flex-wrap:wrap;font-weight:650;font-size:12px}.ps-footer-links a:hover{color:#f4b9e0}.ps-footer-note{flex:1 0 100%;border-top:1px solid #4c3a5c;padding-top:17px;font-size:12px;color:#bba8ce}
/* Generic page and branded sign-in preview */
.ps-plain-page{padding:80px 0 130px}.ps-plain-page h1{font-size:45px}.ps-plain-page .ps-content-page{max-width:890px}.ps-copy{line-height:1.8;color:#554763}.ps-copy a{color:#853dad;text-decoration:underline}.ps-article{border-bottom:1px solid var(--ps-line);padding:15px 0 25px}
.ps-signin-shell{min-height:calc(100vh - 250px);padding:80px 22px 100px;display:flex;justify-content:center;align-items:center;background:radial-gradient(circle at 20% 20%,#f9e4f3 0,transparent 35%),radial-gradient(circle at 80% 80%,#e6e3fb 0,transparent 40%)}
.ps-signin-card{width:100%;max-width:480px;border-radius:27px;border:1px solid #eee4f1;background:#fff;padding:43px 40px;text-align:center;box-shadow:var(--ps-shadow)}
.ps-signin-mark img{width:74px;height:74px;object-fit:contain}.ps-signin-card h1{font-size:38px;margin:14px 0}.ps-signin-card>p{color:var(--ps-muted);font-size:14px;line-height:1.7}
.ps-preview-banner{display:flex;gap:9px;align-items:flex-start;border:1px solid #e9daf5;border-radius:12px;padding:13px 15px;background:#f8f2fd;font-size:12px;color:#705787;line-height:1.5}
.ps-preview-banner .ps-icon{color:#b45aa4;flex:0 0 18px;margin-top:1px}
.ps-signin-card .ps-preview-banner{text-align:left;margin:24px 0}.ps-button-wide{display:flex;width:100%;justify-content:center}.ps-subtle-link{display:inline-block;margin-top:21px;color:#846a9a;font-size:13px}
/* App-space prototype */
.ps-workspace-outer{padding:30px 0 85px;background:radial-gradient(ellipse at 90% 10%,#f3eafb,transparent 35%),#f9f7fc}
.ps-workspace-banner{display:flex;gap:11px;align-items:center;padding:11px 15px;background:#fff6e9;border:1px solid #f5e1bb;border-radius:13px;font-size:12px;color:#6e5b43;margin-bottom:22px}
.ps-workspace-banner>.ps-icon{color:#b36f2a;flex:none}.ps-workspace-banner a{margin-left:auto;color:#744c9b;white-space:nowrap;font-weight:750;display:inline-flex;align-items:center;gap:5px}
.ps-workspace{display:grid;grid-template-columns:235px minmax(0,1fr);width:min(1260px,calc(100% - 64px));margin:0 auto;border:1px solid #eae3f1;min-height:690px;background:#fff;border-radius:24px;overflow:hidden;box-shadow:var(--ps-shadow)}
.ps-workspace-sidebar{background:linear-gradient(174deg,#36204f,#28193d);padding:32px 14px;color:#eddef8;display:flex;flex-direction:column;min-height:690px}
.ps-sidebar-title{color:#a995c1;letter-spacing:.2em;font-size:10px;font-weight:850;padding:0 14px;margin-bottom:20px}
.ps-workspace-sidebar>a{display:flex;align-items:center;gap:12px;color:#d2c3de;padding:12px 15px;border-radius:10px;margin:2px 0;font-size:13px;font-weight:750}
.ps-workspace-sidebar>a:hover,.ps-workspace-sidebar>a.is-current{color:#fff;background:linear-gradient(90deg,#8453b6,#67418d)}
.ps-workspace-sidebar .ps-icon{width:17px;height:17px}
.ps-sidebar-divider{height:1px;background:#584568;margin:18px 10px 12px}.ps-sidebar-spacer{flex:1}.ps-sidebar-bottom{display:flex;align-items:center;gap:10px;font-size:11px;padding:14px 6px;border-top:1px solid #4e3a60}
.ps-sidebar-bottom strong{display:block;font-size:11px}.ps-sidebar-bottom small{color:#ab98b9;display:block;font-size:10px}
.ps-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:35px;height:35px;background:linear-gradient(130deg,#ed8aac,#9d68ce);color:white;border-radius:50%;font-size:11px;font-weight:900}
.ps-avatar-small{width:28px;height:28px;font-size:9px}
.ps-workspace-body{min-width:0;background:#fcfafe;padding:0 30px 44px}
.ps-workspace-topbar{display:flex;align-items:center;justify-content:space-between;height:73px;border-bottom:1px solid #eee7f3}
.ps-workspace-topbar>div{display:flex;align-items:center;gap:16px}.ps-workspace-breadcrumb{font-size:12px;font-weight:800;color:#6f5983}.ps-workspace-breadcrumb span{color:#bcafcb;padding:0 8px}.ps-topbar-pill{font-size:10px;color:#8a6c9a;background:#f4eafa;padding:7px 12px;border-radius:20px}
.ps-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:37px 0 29px}
.ps-workspace-heading h1{font-size:clamp(28px,3vw,38px);margin:8px 0 5px}.ps-workspace-heading p{margin:0;color:#8a7c94;font-size:13px}.ps-wave{color:#d5559d}
.ps-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:21px}.ps-stat{background:#fff;border:1px solid #f0eaf4;box-shadow:0 4px 17px rgba(54,37,75,.04);border-radius:17px;padding:21px 21px 16px;min-height:136px}
.ps-stat>span{display:flex;align-items:center;gap:8px;font-size:12px;color:#6d5e7c;font-weight:750}.ps-stat>span .ps-icon{width:16px;height:16px}.ps-stat strong{display:block;font-size:33px;line-height:1.2;margin:10px 0 2px}.ps-stat small{font-size:11px;color:#9a8baa}.ps-stat-violet .ps-icon{color:#9554d4}.ps-stat-pink .ps-icon{color:#d54795}.ps-stat-teal .ps-icon{color:#13a7b0}
.ps-workspace-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ps-panel{border:1px solid #efe8f3;background:#fff;border-radius:19px;padding:22px;box-shadow:0 5px 19px rgba(56,34,77,.035);min-width:0}
.ps-panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.ps-panel-heading h2,.ps-panel h2{font-size:17px;margin:0}.ps-panel-heading>span:not(.ps-tag){color:#a45dc3}.ps-panel-heading .ps-icon{width:20px;height:20px}
.ps-event-card,.ps-activity{display:flex;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid #f3edf5}.ps-event-card strong,.ps-activity strong{display:block;font-size:12px}.ps-event-card small,.ps-activity small{display:block;font-size:11px;color:#94869b;margin-top:3px}
.ps-date-tile{width:44px;height:48px;border-radius:11px;background:#f3e7fd;color:#6a3caa;text-align:center;padding-top:5px;flex:none}.ps-date-tile b{font-size:19px;display:block;line-height:1.2}.ps-date-tile span{display:block;font-size:9px;letter-spacing:.11em;font-weight:900}
.ps-activity-icon{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:none;border-radius:12px;background:#f0e8fc;color:#9651c3}.ps-activity-icon.pink{background:#fde7f7;color:#c5489a}
.ps-panel-link{display:flex;align-items:center;gap:5px;margin-top:16px;color:#8f3eb0;font-size:12px;font-weight:850}
.ps-list-panel{padding-bottom:5px}.ps-tag{border-radius:100px;background:#f3e9fc;color:#8351a0;font-size:10px;font-weight:800;letter-spacing:.015em;padding:5px 9px;white-space:nowrap}
.ps-list-row{display:flex;align-items:center;gap:18px;padding:18px 2px;border-top:1px solid #f2edf5}.ps-setlist-art{width:56px;height:56px;display:flex;justify-content:center;align-items:center;border-radius:14px;flex:none}.ps-setlist-v{background:linear-gradient(135deg,#d6b6ff,#a66ed9);color:white}.ps-setlist-p{background:linear-gradient(135deg,#f3abd6,#dd84c2);color:white}.ps-setlist-t{background:linear-gradient(135deg,#bcebf1,#7bd0d9);color:white}.ps-setlist-art .ps-icon{width:25px;height:25px}
.ps-list-main{min-width:0;flex:1}.ps-list-main strong{display:block;font-size:14px}.ps-list-main small{display:block;font-size:11px;color:#8c8096}.ps-list-meta{font-size:11px;color:#877b91;min-width:55px}.ps-tag-active{color:#247957;background:#e6f6ee}.ps-tag-archived{color:#75657c;background:#f4eff6}.ps-tag-draft{color:#ae6a23;background:#fff2e2}
.ps-icon-link{display:flex;width:35px;height:35px;align-items:center;justify-content:center;border-radius:10px;background:#f5eff9;color:#6a4986}.ps-demo-caution{background:#f9f3fd;border-radius:10px;padding:12px 14px;font-size:11px;color:#876d97;margin:12px 0 14px}
.ps-notes-tabs{display:flex;gap:22px;border-bottom:1px solid #e8dff0;margin-bottom:22px;color:#927c9f;font-size:12px;font-weight:800}.ps-notes-tabs span{padding:9px 2px}.ps-notes-tabs .active{color:#823ea6;border-bottom:3px solid #a451ca}.ps-note-stack{display:grid;gap:16px}.ps-note-card h2{margin:16px 0 9px}.ps-note-card p{font-size:13px;line-height:1.7;color:#71647b}.ps-note-meta{display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#9a8e9f}.ps-tag-artistic{color:#8641ad;background:#f2e7fe}.ps-tag-section{color:#178b8f;background:#e2f6f4}.ps-note-author{display:flex;align-items:center;gap:10px;font-size:11px;color:#94879d;border-top:1px solid #f2eaf6;margin-top:20px;padding-top:16px}
.ps-calendar-panel{padding-bottom:24px}.ps-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid #ece5f0;border-left:1px solid #ece5f0}.ps-weekday{text-align:center;padding:9px 0;font-size:11px;font-weight:850;color:#8a7897;background:#f9f5fd;border-right:1px solid #ece5f0;border-bottom:1px solid #ece5f0}.ps-calendar-cell{height:95px;padding:8px;font-size:12px;font-weight:800;border-bottom:1px solid #ece5f0;border-right:1px solid #ece5f0;background:#fff}.ps-calendar-cell.ps-outside{background:#faf8fb;color:#bbafc2}.ps-calendar-dot-event{font-size:9px;padding:5px;border-radius:6px;background:#efe3fb;color:#7847ab;line-height:1.2;margin-top:11px}.ps-calendar-dot-event.teal{background:#d9f4f2;color:#078b99}.ps-calendar-dot-event.coral{background:#ffebe5;color:#cb625d}.ps-calendar-under{margin-top:18px}.ps-calendar-under .ps-panel p{font-size:12px;color:#806f8c;margin:12px 0}
/* Reader UI demonstration */
.ps-reader-demo-page{padding:25px 0 75px;background:linear-gradient(180deg,#f9f6fc,#eeeaf4)}.ps-reader-warning{max-width:1260px;margin:0 auto 18px}
.ps-reader-demo-shell{width:min(1260px,calc(100% - 64px));margin:0 auto;min-height:730px;background:#f0ecf5;border:1px solid #dcd4e5;border-radius:19px;overflow:hidden;box-shadow:var(--ps-shadow);display:flex;flex-direction:column}
.ps-reader-demo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;height:68px;padding:10px 18px;background:#fff;border-bottom:1px solid #e4deea}
.ps-reader-back{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:800;color:#765a8e}.ps-reader-back .ps-icon{transform:rotate(180deg);width:15px}
.ps-reader-doc-title{text-align:center}.ps-reader-doc-title strong{font-size:13px;display:block}.ps-reader-doc-title small{display:block;font-size:10px;color:#aa8cba}
.ps-reader-controls{display:flex;gap:7px}.ps-reader-control{display:flex;align-items:center;gap:6px;border:1px solid #e8e0eb;background:#faf7fc;padding:9px 12px;border-radius:11px;font-size:11px;font-weight:800;color:#6c5680}
.ps-reader-control[aria-pressed="true"]{background:#f4e5fb;color:#9a47ad}.ps-reader-control .ps-icon{width:16px;height:16px}
.ps-reader-canvas{flex:1;display:flex;align-items:center;justify-content:center;padding:26px;min-height:550px}
.ps-reader-page{background:white;width:min(720px,100%);min-height:510px;box-shadow:0 10px 29px rgba(45,38,57,.16);border-radius:4px;padding:23px 29px;display:flex;flex-direction:column;touch-action:pan-y}
.ps-reader-page-header{display:flex;justify-content:space-between;color:#a8a0ac;font-size:10px;border-bottom:1px solid #f2eff4;padding-bottom:10px}
.ps-reader-svg-frame{flex:1;display:flex;align-items:center}.ps-reader-svg-frame .ps-sheet-svg{width:100%;height:auto;max-height:410px}
.ps-reader-page-footer{display:flex;justify-content:space-between;gap:15px;color:#b0a5b5;font-size:9px;border-top:1px solid #f2eff4;padding-top:8px}
.ps-reader-bottom{height:75px;background:#fff;border-top:1px solid #e5dfe9;display:flex;align-items:center;justify-content:center;gap:25px;padding:10px}
.ps-reader-page-button{width:40px;height:40px;background:#f2e7fa;border:0;border-radius:12px;color:#7e43a7;font-size:30px;line-height:1;display:flex;align-items:center;justify-content:center}.ps-reader-page-button:disabled{opacity:.3;cursor:default}.ps-reader-count{text-align:center}.ps-reader-count strong{display:block;font-size:14px}.ps-reader-count small{display:block;color:#9b8fa5;font-size:10px}
.ps-hide-sample-annotations .ps-sheet-svg path[stroke="#da54a5"],.ps-hide-sample-annotations .ps-sheet-svg path[stroke="#17b6ba"],.ps-hide-sample-annotations .ps-sheet-svg path[stroke="#ee786e"],.ps-hide-sample-annotations .ps-sheet-svg path[stroke="#159aa8"],.ps-hide-sample-annotations .ps-sheet-svg rect[fill="#ffe168"],.ps-hide-sample-annotations .ps-sheet-svg text[fill="#ee786e"],.ps-hide-sample-annotations .ps-sheet-svg text[fill="#159aa8"]{display:none}
.ps-page-flash{animation:psPageTurn .15s ease-out}@keyframes psPageTurn{from{opacity:.7;transform:translateX(6px)}to{opacity:1;transform:none}}
.ps-performance .ps-site-header,.ps-performance .ps-footer,.ps-performance .ps-reader-warning{display:none}
.ps-performance .ps-reader-demo-page{padding:0}.ps-performance .ps-reader-demo-shell{width:100%;border-radius:0;min-height:100dvh;border:none}.ps-performance .ps-reader-canvas{min-height:calc(100dvh - 140px)}
/* Responsive */
@media (max-width:1150px){
 .ps-main-nav{gap:19px;font-size:13px}.ps-header-inner{gap:20px}.ps-brand-name{font-size:25px}.ps-hero-grid{grid-template-columns:.91fr 1.09fr}.ps-product-scene{transform:scale(.94);transform-origin:center left}.ps-hero-copy h1{font-size:clamp(43px,5.2vw,67px)}
 .ps-reader-showcase-grid{gap:30px}.ps-feature-grid{gap:11px}.ps-feature-card{padding:20px 15px}.ps-reader-benefits{gap:6px}
}
@media (max-width:960px){
 .ps-main-nav{display:none;position:absolute;top:87px;left:4%;right:4%;background:#fff;box-shadow:0 14px 28px rgba(47,31,75,.15);border:1px solid #f0e9f4;border-radius:18px;padding:18px;flex-direction:column;align-items:stretch;z-index:50;gap:0}.ps-main-nav.is-open{display:flex}.ps-main-nav a{padding:13px 14px;border-bottom:1px solid #f5eff7}.ps-main-nav a:last-child{border-bottom:0}.ps-mobile-menu{display:flex}
 .ps-hero-grid{grid-template-columns:1fr;gap:10px;max-width:800px}.ps-hero{padding-top:55px;padding-bottom:40px}.ps-hero-copy{text-align:center}.ps-hero-copy h1{font-size:clamp(49px,8vw,77px)}.ps-hero-description{margin-left:auto;margin-right:auto}.ps-hero-buttons,.ps-hero-checks{justify-content:center}.ps-product-scene{transform:none;max-width:700px;margin:35px auto 0;height:475px}
 .ps-feature-grid{grid-template-columns:repeat(3,1fr)}.ps-feature-card{min-height:190px}
 .ps-reader-showcase-grid{grid-template-columns:1fr;gap:30px}.ps-reader-copy{max-width:780px;margin:0 auto;text-align:center}.ps-reader-copy>p{margin-left:auto;margin-right:auto}.ps-reader-benefits{max-width:600px;margin-left:auto;margin-right:auto}.ps-reader-art{max-width:620px;width:100%;margin:auto}.ps-reader-showcase{padding-top:48px}.ps-workspace-body{padding:0 22px 32px}
}
@media (max-width:670px){
 .ps-container{width:calc(100% - 34px)}.ps-header-inner{width:calc(100% - 24px);min-height:65px;border-radius:18px;padding:7px 11px 7px 10px}.ps-site-header{padding-top:10px}.ps-brand-mark{width:38px;height:38px}.ps-brand-name{font-size:22px}.ps-sign-in{display:none}.ps-open-app{padding:10px 13px;font-size:11px;min-height:36px}.ps-open-app .ps-icon{display:none}.ps-nav-actions{gap:5px}.ps-mobile-menu{width:38px;height:38px}.ps-main-nav{top:75px}
 .ps-hero{padding-top:49px}.ps-hero-copy h1{font-size:clamp(44px,10vw,68px);margin:19px 0}.ps-hero-description{font-size:15px;line-height:1.65}.ps-hero-buttons{gap:9px}.ps-button-large{font-size:13px;padding:13px 17px}.ps-hero-checks{gap:9px 12px;margin-top:25px;font-size:10px}.ps-hero-checks .ps-icon{width:18px;height:18px}
 .ps-product-scene{height:295px;margin-top:22px;max-width:440px}.ps-laptop{width:91%;height:243px;border-width:6px;border-radius:13px}.ps-laptop-screen{grid-template-columns:28% 72%}.ps-demo-side{padding:15px 7px;font-size:8px}.ps-demo-side>div:not(.ps-demo-brand){padding:5px 6px;gap:5px}.ps-demo-side .ps-icon{width:10px;height:10px}.ps-demo-brand{font-size:9px;margin-bottom:15px}.ps-demo-brand img{width:18px;height:18px}.ps-demo-main{padding:12px 8px}.ps-demo-search{margin-bottom:11px;font-size:7px;padding:6px}.ps-demo-welcome{font-size:13px}.ps-demo-subhead{font-size:8px}.ps-demo-quick{gap:4px;margin:12px 0 8px}.ps-demo-quick>div{min-height:43px;font-size:6px;gap:4px}.ps-demo-quick .ps-icon{width:13px;height:13px}.ps-demo-cards>div{padding:8px 6px;min-height:65px}.ps-demo-cards b{font-size:8px;margin-bottom:5px}.ps-demo-cards small{font-size:6px;margin:4px 0}
 .ps-tablet-preview{right:-1%;bottom:1px;width:60%;height:170px;border-width:6px;border-radius:14px}.ps-tablet-top{height:30px;padding:4px 7px}.ps-tablet-top strong{font-size:8px}.ps-tablet-top small{font-size:6px}.ps-tablet-top .ps-icon{width:10px;height:10px}.ps-tablet-body{padding:3px;gap:2px}.ps-tablet-tools{padding-top:6px;gap:3px}.ps-tablet-tools>span{width:15px;height:15px}.ps-tablet-tools .ps-icon{width:9px;height:9px}.ps-tablet-sheet .ps-sheet-svg{height:107px}.ps-tablet-pagination{height:15px;font-size:9px}.ps-tablet-pagination span{font-size:7px}
 .ps-section{padding:55px 0}.ps-section-heading{margin-bottom:25px}.ps-section-heading h2{font-size:31px}.ps-section-heading p{font-size:13px}.ps-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ps-feature-card{padding:16px 14px;min-height:180px}.ps-feature-icon{height:40px;width:40px;margin-bottom:14px}.ps-feature-icon .ps-icon{width:20px}.ps-feature-card h3{font-size:14px}.ps-feature-card p{font-size:11px}
 .ps-reader-art{height:275px}.ps-reader-stage{width:89%;max-width:390px;border-radius:15px;padding:7px}.ps-reader-copy h2{font-size:35px}.ps-reader-copy>p{font-size:14px}.ps-reader-benefits{grid-template-columns:repeat(2,1fr);max-width:365px;gap:18px;margin-top:24px}.ps-reader-benefits>div{justify-content:flex-start}.ps-stylus{width:180px;height:7px}.ps-closing-band{padding:28px 22px;flex-direction:column;align-items:flex-start;border-radius:20px}.ps-closing-copy h2{font-size:30px}.ps-closing-copy p{font-size:13px}.ps-footer-inner{padding:28px 18px}.ps-footer-brand{flex-wrap:wrap;gap:10px}.ps-footer-brand>span{border:0;padding:0;flex-basis:100%}.ps-footer-links{gap:15px}
 .ps-workspace-banner{align-items:flex-start;flex-wrap:wrap;font-size:11px}.ps-workspace-banner a{flex-basis:100%;margin-left:29px}.ps-workspace{display:block;width:calc(100% - 20px);border-radius:17px}.ps-workspace-sidebar{min-height:0;flex-direction:row;align-items:center;overflow-x:auto;padding:7px 10px;background:#36214f;gap:4px}.ps-workspace-sidebar>a{padding:9px 10px;flex:none;white-space:nowrap;font-size:11px}.ps-workspace-sidebar .ps-icon{width:14px;height:14px}.ps-sidebar-title,.ps-sidebar-divider,.ps-sidebar-spacer,.ps-sidebar-bottom{display:none}
 .ps-workspace-body{padding:0 16px 26px}.ps-workspace-topbar{height:55px}.ps-workspace-heading{margin:26px 0}.ps-workspace-heading h1{font-size:29px}.ps-workspace-heading .ps-button{display:none}.ps-stat-grid{gap:8px}.ps-stat{padding:13px 10px;min-height:105px}.ps-stat>span{font-size:10px;gap:4px}.ps-stat>span .ps-icon{width:12px}.ps-stat strong{font-size:26px}.ps-stat small{font-size:9px}.ps-workspace-columns{grid-template-columns:1fr;gap:12px}.ps-panel{padding:16px}.ps-list-row{gap:10px}.ps-setlist-art{width:40px;height:40px}.ps-setlist-art .ps-icon{width:20px}.ps-list-main strong{font-size:12px}.ps-list-main small{font-size:10px}.ps-list-meta{display:none}.ps-tag{font-size:9px}.ps-calendar-cell{height:66px;padding:4px;font-size:10px}.ps-calendar-dot-event{font-size:7px;line-height:1.1;margin-top:4px;padding:3px}.ps-calendar-panel{padding:10px}.ps-calendar-panel .ps-panel-heading h2{font-size:13px}
 .ps-reader-demo-page{padding-top:15px}.ps-reader-demo-shell{width:calc(100% - 20px);min-height:560px}.ps-reader-demo-toolbar{height:61px;padding:8px}.ps-reader-back{font-size:0}.ps-reader-back .ps-icon{width:18px;height:18px}.ps-reader-doc-title strong{font-size:11px}.ps-reader-control{padding:8px}.ps-reader-control span{display:none}.ps-reader-canvas{padding:10px;min-height:420px}.ps-reader-page{min-height:390px;padding:15px 11px}.ps-reader-svg-frame .ps-sheet-svg{max-height:320px}.ps-reader-page-footer{font-size:7px}
}
@media(max-width:370px){.ps-open-app{display:none}.ps-feature-grid{grid-template-columns:1fr}.ps-feature-card{min-height:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* PrideScore 0.1.2 typography system — fonts are owner-installed, not bundled.
   Fallbacks always work, even if none of the proprietary fonts is present. */
:root {
  --ps-font-ui: Inter, "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ps-font-display: "PrideScore Cronos", "Cronos Pro", "Avenir Next", "Segoe UI", sans-serif;
  --ps-font-body: "PrideScore Optima", Optima, "Avenir Next", Candara, "Segoe UI", sans-serif;
  --ps-font-editorial: "PrideScore Minion", "Minion Pro", Georgia, "Times New Roman", serif;
}
body,button,input,textarea,select {font-family:var(--ps-font-body)}
.ps-hero-copy h1,.ps-section-heading h2,.ps-reader-copy h2,.ps-closing-copy h2,
.ps-workspace-heading h1,.ps-panel-heading h2,.ps-feature-card h3,
.ps-signin h1,.ps-reading-heading h1,h1,h2,h3 {
  font-family:var(--ps-font-display);
  font-weight:400;
  letter-spacing:-.025em;
}
.ps-brand-name,.ps-main-nav,.ps-nav-actions,.ps-button,.ps-kicker,
.ps-demo-side,.ps-demo-main,.ps-tablet-preview,.ps-workspace,
.ps-reader-demo-shell,.ps-footer-links,.ps-hero-checks {
  font-family:var(--ps-font-ui);
}
.ps-hero-description {font-size:clamp(17px,1.5vw,20px);line-height:1.65;letter-spacing:.005em}
.ps-section-heading > p,.ps-closing-copy > p {font-family:var(--ps-font-editorial);font-size:1.13rem;line-height:1.5}
.ps-feature-card > p,.ps-reader-copy > p:not(.ps-honest-note) {font-family:var(--ps-font-body)}
/* Reader and dashboard remain deliberately compact and highly legible. */
.ps-reader-canvas,.ps-reader-demo-toolbar,.ps-reader-bottom,.ps-workspace-body,
.ps-workspace-sidebar,.ps-workspace-topbar {font-family:var(--ps-font-ui)}
@media(max-width:670px){.ps-hero-description{font-size:16px}}

/* PrideScore 0.1.2: make the installed weight and italic faces useful.
   Keep dense music-reader controls in the stable UI stack. */
.ps-hero-copy h1,
.ps-section-heading h2,
.ps-reader-copy h2,
.ps-closing-copy h2,
.ps-workspace-heading h1,
.ps-signin h1,
.ps-reading-heading h1 {font-weight:700;}
.ps-feature-card h3,
.ps-panel-heading h2 {font-weight:700;}
/* The existing gradient is retained, while this lighter editorial emphasis
   may use the genuine Cronos italic face where the class is appropriate. */
.ps-reader-copy h2 em {font-style:italic;}
.ps-section-heading > p em,
.ps-closing-copy > p em {font-style:italic;}


/* PrideScore app shell v0.1.4 — no marketing nav on app pages. */
.ps-is-app-shell{background:#f6f2fa}
.ps-is-app-shell .ps-page-frame{min-height:100dvh}
.ps-is-app-shell .psi-main{padding:18px 18px 24px;min-height:100dvh;flex:1}
.ps-is-app-shell .psi-portal-wrap{width:min(1310px,100%);min-height:calc(100dvh - 42px);margin-inline:auto}
.psi-sidebar-brand{margin:0 7px 23px;padding-bottom:23px;border-bottom:1px solid rgba(255,255,255,.15)}
.psi-sidebar-brand a{display:flex;align-items:center;gap:10px;color:#fff!important;font-size:20px;font-weight:800;letter-spacing:-.045em;line-height:1;text-decoration:none}
.psi-sidebar-brand a:hover{color:#fff!important}
.psi-sidebar-brand img{height:46px;width:46px;object-fit:contain;flex:none}
.psi-sidebar-brand .psi-brand-tail{color:#e9cdec}
.psi-sidebar .psi-layout-control{padding:10px 7px 13px;margin-top:auto}
.psi-layout-control button{width:100%;padding:10px 12px;display:flex;gap:11px;align-items:center;justify-content:flex-start;border:1px solid rgba(225,207,240,.22);color:#eeddf8;background:rgba(255,255,255,.06);border-radius:11px;font:inherit;font-weight:700;font-size:12px;cursor:pointer}
.psi-layout-control button:hover,.psi-layout-control button:focus-visible{background:rgba(255,255,255,.14);color:#fff}
.psi-layout-symbol{font-family:Arial,sans-serif;font-size:19px;line-height:1}
/* Wide = full browser content width, not the Fullscreen API (browser controls remain). */
body.ps-layout-wide.ps-is-app-shell .psi-main{padding:0}
body.ps-layout-wide.ps-is-app-shell .psi-portal-wrap{width:100%;max-width:none;min-height:100dvh;border:0;border-radius:0;box-shadow:none}
body.ps-layout-wide.ps-is-app-shell .psi-body{width:100%;max-width:none}
@media(max-width:750px){
 .ps-is-app-shell .psi-main{padding:0}
 .ps-is-app-shell .psi-portal-wrap{width:100%;border-radius:0;min-height:100dvh;border:0;box-shadow:none}
 .psi-sidebar .psi-sidebar-brand{border:0;padding:0;margin:0 7px 0 0;flex:none}
 .psi-sidebar-brand img{width:32px;height:32px}
 .psi-sidebar-brand a{font-size:0;gap:0}
 .psi-sidebar-brand a span{display:none}
 .psi-sidebar .psi-layout-control{margin:0 0 0 auto;padding:0;flex:none}
 .psi-layout-control button{width:auto;padding:9px;font-size:0;gap:0}
 .psi-layout-symbol{font-size:18px}
}

/* Permanent edge-to-edge signed-in workspace. */
body.ps-is-app-shell .psi-main { padding:0 !important; }
body.ps-is-app-shell .psi-portal-wrap { width:100% !important; max-width:none !important; min-height:100dvh !important; margin:0 !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; }
body.ps-is-app-shell .psi-body { width:100% !important; max-width:none !important; }
body.ps-is-app-shell .psi-layout-control { display:none !important; }

/* v0.1.7 — Keep desktop workspace navigation stationary.
   This incorporates the user's validated sticky-sidebar correction. */
@media (min-width:781px) {
 body.ps-is-app-shell .ps-page-frame {overflow:clip;}
 body.ps-is-app-shell .psi-sidebar {
  position:sticky;top:0;height:100dvh;max-height:100dvh;align-self:start;
  overflow-y:auto;overscroll-behavior:contain;
 }
 body.admin-bar.ps-is-app-shell .psi-sidebar {
  top:32px;height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);
 }
}
@media (min-width:781px) and (max-width:782px) {
 body.admin-bar.ps-is-app-shell .psi-sidebar {top:46px;height:calc(100dvh - 46px);max-height:calc(100dvh - 46px);}
}

/* v0.1.8: Hide the dynamically created mobile controls by default.
   v0.1.7 declared these only inside the mobile media query, which made the
   toggle and copied links appear in the desktop sidebar. */
body.ps-is-app-shell .psi-sidebar > .ps-mobile-nav-toggle,
body.ps-is-app-shell .psi-sidebar > .ps-mobile-nav-dropdown {
 display:none !important;
}

/* Mobile overflow-aware navigation: keep the normal inline menu when it fits.
   Show a compact, keyboard accessible toggle only when links exceed the bar. */
@media (max-width:780px) {
 body.ps-is-app-shell .psi-sidebar.ps-mobile-nav-collapsed {
  position:relative;overflow:visible;flex-wrap:nowrap;justify-content:space-between;
  min-height:58px;z-index:30;
 }
 body.ps-is-app-shell .psi-sidebar.ps-mobile-nav-collapsed > a {display:none!important;}
 body.ps-is-app-shell .psi-sidebar.ps-mobile-nav-collapsed > .psi-sidebar-brand {
  flex:0 0 auto;min-width:0;
 }
 .ps-mobile-nav-toggle {display:none!important;}
 body.ps-is-app-shell .psi-sidebar.ps-mobile-nav-collapsed .ps-mobile-nav-toggle {
  display:inline-flex!important;align-items:center;justify-content:center;gap:9px;
  flex:none;margin-left:auto;padding:10px 13px;border:1px solid rgba(255,255,255,.28);
  border-radius:11px;background:rgba(255,255,255,.10);color:#fff;
  font-family:inherit;font-size:13px;line-height:1.2;font-weight:700;cursor:pointer;touch-action:manipulation;
 }
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-toggle:focus-visible {
  outline:3px solid #f2c3ff;outline-offset:3px;
 }
 .ps-mobile-nav-toggle svg {width:20px;height:20px;stroke:currentColor;stroke-width:2.2;}
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown {display:none!important;}
 body.ps-is-app-shell .psi-sidebar.ps-mobile-nav-collapsed.ps-mobile-nav-open .ps-mobile-nav-dropdown {
  display:flex!important;flex-direction:column;gap:3px;position:absolute;
  left:10px;right:10px;top:calc(100% + 4px);max-height:min(65dvh,500px);overflow-y:auto;
  overscroll-behavior:contain;border:1px solid rgba(232,207,248,.24);border-radius:14px;
  padding:9px;background:#332047;box-shadow:0 18px 36px rgba(30,14,48,.35);z-index:100;
 }
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown a {
  display:flex;align-items:center;gap:11px;padding:13px 14px;border-radius:10px;
  font-size:14px;line-height:1.25;font-weight:700;color:#f4eaf9;text-decoration:none;
 }
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown a:hover,
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown a:focus-visible,
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown a.is-active {
  background:linear-gradient(90deg,#77509c,#8d5ab3);color:#fff;
 }
 body.ps-is-app-shell .psi-sidebar .ps-mobile-nav-dropdown .ps-icon {width:19px;height:19px;flex:none;}
}
