[hidden]{display:none!important}nav a{display:inline-flex;align-items:center;color:inherit;font-weight:600;text-decoration:none;padding:.6rem}form{display:grid;gap:.8rem;max-width:620px}label{display:grid;gap:.3rem;font-weight:600}form input,form select{width:100%;min-width:0}#message:not(:empty){padding:1rem;border:1px solid #9caaa1;border-radius:8px;background:white;overflow-wrap:anywhere}.controls{display:flex;gap:.5rem;flex-wrap:wrap}.panel{overflow-wrap:anywhere}.panel h3{margin-top:0}.panel form+form{margin-top:1rem}.grid .panel{margin:0}small{color:#52625b}.auth-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem}
.photo-preview{display:block;width:100%;max-height:360px;object-fit:contain;background:#f3f4f4;border-radius:8px;margin:.8rem 0}details{margin:1rem 0}details summary{cursor:pointer;font-weight:600}.grid .panel form{margin-top:.8rem}

.gallery-strip{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap;margin:.7rem 0}.gallery-strip .thumb{width:100px;height:76px;object-fit:cover;border-radius:6px}.thumb{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#eef0ef;border-radius:8px}.gallery-card{padding:.7rem 0;border-top:1px solid #ddd}.photo-slot{min-height:50px}.gallery-card a,main a{color:inherit;text-decoration:underline}

.profile-avatar{width:110px;height:110px;border-radius:50%;background:#e2e7e4;display:grid;place-items:center;overflow:hidden;flex-shrink:0;color:#30483c;font-weight:700;font-size:1.6rem}.profile-avatar img{width:100%;height:100%;object-fit:cover}.photographer-hero{display:flex;gap:1.6rem;align-items:center;padding:2rem 0;margin:1rem 0 2rem;border-bottom:1px solid #ddd}.photographer-hero .profile-avatar{width:144px;height:144px}.photographer-hero h1{margin:.2rem 0}.profile-bio{white-space:pre-wrap;overflow-wrap:anywhere}.photographer-card{display:flex;gap:1rem;align-items:flex-start;border:1px solid #ddd;border-radius:12px;padding:1rem;min-width:0}.photographer-card .profile-avatar{width:70px;height:70px}.photographer-card h2{margin:.2rem 0}.catalog-content>.grid{margin:1rem 0 2rem}.catalog-content>h2{margin-top:1.6rem}form textarea{width:100%;font:inherit;padding:.7rem;border:1px solid #aaa;border-radius:6px}form input[type=checkbox]{width:auto;display:inline-block}form label:has(input[type=checkbox]){display:block}@media(max-width:520px){.photographer-hero{flex-direction:column;align-items:flex-start;gap:1rem}.photographer-hero .profile-avatar{width:110px;height:110px}}

.branding-cover{width:100%;aspect-ratio:3/1;display:grid;place-items:center;background:#e2e7e4;border-radius:10px;overflow:hidden}.branding-cover img,.storefront-cover img{width:100%;height:100%;object-fit:cover}.storefront-header{--brand-accent:#305b48;border:1px solid #ddd;border-radius:16px;overflow:hidden;margin:1rem 0 2rem}.storefront-cover{aspect-ratio:3.5/1;background:var(--brand-accent);overflow:hidden}.storefront-header .photographer-hero{border:0;margin:0;padding:1.5rem;align-items:center;border-bottom:4px solid var(--brand-accent)}.storefront-header .profile-avatar{border:3px solid var(--brand-accent)}.storefront-logo{display:block;max-width:140px;max-height:70px;object-fit:contain;object-position:left;margin:.5rem 0}.storefront-socials{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.storefront-socials a{padding:.5rem .9rem;border:1px solid var(--brand-accent);border-radius:999px;text-decoration:none}.photographer-card{border-top:4px solid var(--brand-accent)}.storefront-filters{display:grid;grid-template-columns:2fr 1fr;gap:1rem;max-width:760px}.storefront-filters label{display:grid;gap:.35rem}.storefront-filters input,.storefront-filters select{width:100%;min-width:0}@media(max-width:520px){.storefront-filters{grid-template-columns:1fr}.storefront-cover{aspect-ratio:2/1}.storefront-header .photographer-hero{align-items:flex-start}}

.event-cover{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;margin-bottom:.8rem}.cart-line{display:grid;grid-template-columns:70px 1fr auto auto;align-items:center;gap:.7rem;border-bottom:1px solid #ddd;padding:.7rem 0}.cart-line .thumb{width:70px;height:60px;object-fit:cover}@media(max-width:500px){.cart-line{grid-template-columns:60px 1fr}.cart-line button{justify-self:start}}
.event-qr{display:block;width:min(220px,100%);height:auto;image-rendering:pixelated;margin:1rem 0}.share-url{display:block;overflow-wrap:anywhere;margin:.8rem 0}.event-availability{padding:1.2rem;border:1px solid #c9d6cf;border-radius:12px;margin:1.2rem 0;background:#f2f6f4}.event-availability.is-preparing{background:#f9f6ef;border-color:#e4dac3}.availability-label{font-weight:700;font-size:.78rem;letter-spacing:.1em}.event-author{display:flex;align-items:center;gap:.7rem;margin:1rem 0}.event-author .profile-avatar{width:52px;height:52px}.event-landing{max-width:880px;margin:1rem auto}.event-landing h1{margin:.5rem 0}.event-landing .event-cover{max-height:360px}

.notification-signup{margin:1.5rem 0;padding:1.2rem;border:1px solid #c9d6cf;border-radius:12px;background:#fff}.notification-signup form{max-width:520px}.notification-signup input[type=email]{width:100%}.notification-signup input[type=checkbox]{width:auto}.notification-signup p[role=status]{font-size:.9rem;color:#46564f}

/* Professional studio — design v0.3; public storefront remains independent. */
.studio{--studio-navy:#252c3e;--studio-green:#087d64;--studio-bg:#f4f5f8;--studio-ink:#192132;--studio-border:#e1e5ec;background:var(--studio-bg);color:var(--studio-ink);font-size:14px;line-height:1.55}
.studio-top{background:#fff;padding:14px 24px;min-height:65px}.studio-top nav{align-items:center}.studio-active .studio-top{display:none}
.studio-layout{min-height:calc(100vh - 110px)}.studio-active .studio-layout{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}
.studio-sidebar{position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column;background:linear-gradient(160deg,#252c3e,#30384c);color:#f6f8fc;padding:25px 15px;gap:22px}
.studio-brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:white;font-size:20px;line-height:1.08;font-weight:800;letter-spacing:-.04em;padding:0 10px}.studio-brand-icon{display:grid;place-items:center;font-size:28px;color:#ffc42c;border:2px solid #ffc42c;width:37px;height:30px;border-radius:6px}.studio-yellow{color:#ffc42c}
.studio-identity{display:flex;align-items:center;gap:10px;padding:10px;background:#ffffff0b;border-radius:8px;min-width:0}.studio-identity div{min-width:0}.studio-identity strong{display:block;overflow-wrap:anywhere}.studio-identity small{color:#c4cad5}.studio-initials{background:#485368;color:white;font-weight:700;width:37px;height:37px;display:grid;place-items:center;border-radius:50%;flex:none}
.studio-nav{display:grid;gap:6px}.studio-nav button{border:0;background:none;color:#e7eaf1;text-align:left;padding:12px 10px;display:flex;gap:12px;align-items:center;border-radius:7px;font-size:14px;font-weight:600;min-height:44px}.studio-nav button:hover{background:#ffffff10}.studio-nav button.active{background:#ffffff12;color:#ffc42c;box-shadow:inset 3px 0 #ffc42c}.studio-nav-icon{width:20px;text-align:center;font-size:19px;line-height:1}.studio-nav .studio-logout{border-top:1px solid #ffffff20;margin-top:10px;border-radius:0;color:#c9d0dd}.studio-side-bottom{margin-top:auto;padding:10px;color:#b4bdcc;font-size:12px}
.studio-main{max-width:1200px;margin:0 auto;padding:24px 30px 48px;min-width:0;width:100%}.studio-active .studio-main{max-width:1600px;margin:0 auto}.studio-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:12px;border-bottom:1px solid var(--studio-border);color:#677184;font-size:11px;letter-spacing:.08em;font-weight:650}.studio-topline a{font-size:12px;letter-spacing:0;text-decoration:none;color:#08735d}.studio-footer{padding:12px 24px}.studio-active .studio-footer{display:none}
.studio h1{font-size:clamp(25px,3vw,35px);letter-spacing:-.035em;line-height:1.18;margin:0}.studio h2{font-size:18px;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px}.studio h3{font-size:15px;line-height:1.3;margin:0 0 7px}.studio p{margin:.45em 0 1em;max-width:unset}.studio small{color:#687387}.studio-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0 22px;flex-wrap:wrap;border-left:4px solid #ffc42c;padding-left:13px}.studio-heading p{color:#667085;margin:5px 0 0;font-size:14px}.studio-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.studio-action,.studio button.primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;border:1px solid #cbd4de;border-radius:7px;background:white;color:#253247;font-weight:650;padding:9px 13px;min-height:39px;font-size:13px;cursor:pointer}.studio-action.primary,.studio button.primary{color:#fff;background:#087d64;border-color:#087d64}.studio-action.primary:hover,.studio button.primary:hover{background:#06674f}.studio-action.secondary:hover{background:#edf5f1;border-color:#087d64;color:#087d64}.studio-action.quiet{background:transparent;border-color:transparent;color:#087d64}.studio-action.danger{color:#a13939;border-color:#e5c9c9}.studio button:disabled{opacity:.6;cursor:not-allowed}
.studio .panel,.studio-card{background:white;border:1px solid var(--studio-border);border-radius:12px;box-shadow:0 3px 12px #26334a08;padding:18px;margin:0 0 16px;min-width:0}.studio .studio-card{position:relative}.studio-card-edit{position:absolute;top:10px;right:10px}.studio .panel form{max-width:740px}.studio form label{font-size:13px;color:#364256}.studio input,.studio select,.studio textarea{border-color:#d5dce5;font-size:14px;border-radius:7px}.studio input:focus,.studio select:focus,.studio textarea:focus{outline:2px solid #0c826777;outline-offset:1px}.studio #message:not(:empty){position:sticky;top:6px;z-index:5;border-color:#b9d6cb;box-shadow:0 3px 12px #26334a12}
.studio-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.studio-metric{display:flex;flex-direction:column;gap:6px;justify-content:center;min-height:88px;padding:15px 17px;border:1px solid var(--studio-border);border-radius:10px;background:white;box-shadow:0 3px 12px #26334a08}.studio-metric small{font-size:12px;font-weight:600}.studio-metric strong{font-size:20px;line-height:1.2;overflow-wrap:anywhere}.studio-metric.green strong{color:#087d64}.studio-metric.yellow strong{color:#966900}
.studio-event-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(255px,1fr);gap:16px;align-items:start}.studio-event-main,.studio-event-side{min-width:0}.studio-event-side .studio-action{display:flex;width:100%;margin:8px 0}.studio-event-side .studio-card small{display:block;margin-top:9px}.studio-event-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:16px;align-items:start;margin-top:18px}.studio-cover{display:grid;place-items:center;align-content:center;gap:5px;background:#e9edf2;color:#6e7c8d;aspect-ratio:16/10;border-radius:8px;overflow:hidden}.studio-cover>span{font-size:28px}.studio-cover img{width:100%;height:100%;object-fit:cover}.studio-info-line{border-bottom:1px solid #e9edf1;padding:6px 0;display:grid;gap:2px;overflow-wrap:anywhere}.studio-info-line small{font-size:11px;font-weight:600}.studio-info-line strong{font-size:13px;white-space:pre-wrap}
.studio-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--studio-border);margin:0 0 12px}.studio-tabs .studio-action{border-radius:0;padding:10px 12px;color:#566176}.studio-tabs .studio-action.active{border-bottom:3px solid #087d64;color:#087d64}.studio-gallery-row{display:grid;grid-template-columns:minmax(115px,1fr) minmax(100px,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--studio-border);border-radius:9px;margin:9px 0}.studio-gallery-row .gallery-strip{margin:0;gap:4px}.studio-gallery-row .gallery-strip .thumb{width:clamp(34px,4.3vw,64px);height:52px;object-fit:cover}.studio-gallery-row .gallery-strip small{display:block;width:100%;font-size:11px}.studio-pill{display:inline-block;padding:3px 8px;margin:2px 5px 2px 0;border-radius:999px;background:#edf0f5;color:#566176;font-size:11px;font-weight:650}.studio-pill.green{background:#dff3e8;color:#18714b}.studio-pill.yellow{background:#fff0bd;color:#805c00}
.studio-qr{margin:6px 0;display:flex;justify-content:center}.studio-qr canvas{width:140px;height:140px;image-rendering:pixelated}.studio .share-url{font-size:12px;overflow-wrap:anywhere;color:#08735d;background:#f4f6f8;padding:8px;border-radius:6px;text-decoration:none}
.studio-filter{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.studio-filter input{flex:1;min-width:180px}.studio-event-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:15px}.studio-event-card{background:#fff;border:1px solid var(--studio-border);border-radius:11px;overflow:hidden;box-shadow:0 3px 12px #26334a08}.studio-event-card .studio-cover{border-radius:0;aspect-ratio:16/9}.studio-event-body{padding:16px}.studio-event-body h2{margin:8px 0}.studio-event-body p{font-size:12px;color:#667085}.studio-event-body .studio-action{display:flex;width:100%;margin-top:12px}
.studio-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:14px}.studio-photo-grid .panel{margin:0;padding:12px}.studio-photo-grid .thumb{aspect-ratio:4/3;object-fit:cover}.studio-photo-grid .panel button{font-size:12px;padding:6px 8px;margin:4px 0}.studio-photo-grid details{margin:10px 0 0}.studio-photo-grid summary{font-size:12px;color:#087d64}.studio-bulk form{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px}.studio-bulk button{margin:5px 5px 5px 0}.studio-fold{background:white;padding:12px 16px;border:1px solid var(--studio-border);border-radius:10px}.studio-fold summary{color:#087d64}.studio-fold[open] .panel{box-shadow:none;border:0;margin:8px 0 0;padding:12px 0}
@media(max-width:1050px){.studio-active .studio-layout{grid-template-columns:195px minmax(0,1fr)}.studio-main{padding:20px}.studio-event-layout{grid-template-columns:1fr}.studio-event-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.studio-event-side .panel{margin:0}.studio-gallery-row .gallery-strip .thumb{width:50px}}
@media(max-width:700px){.studio-active .studio-layout{display:block}.studio-sidebar{position:static;height:auto;padding:12px;gap:10px}.studio-brand{font-size:16px}.studio-brand br{display:none}.studio-identity,.studio-side-bottom{display:none}.studio-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:4px;padding:2px}.studio-nav button{flex:none;white-space:nowrap;padding:8px;font-size:12px;gap:5px;min-height:40px}.studio-nav-icon{font-size:15px;width:auto}.studio-nav .studio-logout{border:0;margin:0}.studio-main{padding:16px 12px 30px}.studio-topline{margin-bottom:12px}.studio-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.studio-metric{min-height:74px;padding:11px}.studio-metric strong{font-size:17px}.studio-event-info{grid-template-columns:1fr}.studio-event-side{grid-template-columns:1fr}.studio-gallery-row{grid-template-columns:1fr 1fr}.studio-gallery-row>.studio-action{grid-column:1/-1}.studio-card-edit{position:static;margin:-4px 0 3px}.studio .panel{padding:14px}.studio-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-photo-grid .panel{padding:9px}.studio-photo-grid .panel h2{font-size:14px;overflow-wrap:anywhere}.studio-photo-grid .panel button{max-width:100%;white-space:normal}}

/* Refined studio components */
.studio-icon{display:inline-flex;width:22px;height:22px;flex:none;align-items:center;justify-content:center;vertical-align:middle}.studio-icon svg{display:block;width:100%;height:100%}.studio-nav .studio-icon{width:21px;height:21px}.studio-metric{display:grid;grid-template-columns:43px minmax(0,1fr);grid-template-rows:auto auto;column-gap:11px;row-gap:3px;align-content:center}.studio-metric>.studio-icon{grid-row:1/3;width:42px;height:42px;padding:10px;border-radius:9px;background:#eaf0f8;color:#394b65}.studio-metric.green>.studio-icon{background:#e4f4ec;color:#087d64}.studio-metric.yellow>.studio-icon{background:#fff6dc;color:#997100}.studio-metric small{align-self:end}.studio-metric strong{align-self:start}.studio-notice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.studio-notice-grid .studio-metric{min-height:76px;grid-template-columns:1fr;grid-template-rows:auto auto;background:#eef7f2;padding:10px;box-shadow:none;border:0}.studio-notice-grid .studio-metric.yellow{background:#fff6df}.studio-notice-grid .studio-metric>.studio-icon{display:none}.studio-notice-grid .studio-metric strong{font-size:22px}.studio-notice-grid .studio-metric small{font-size:11px}.studio-more-photos{display:grid;place-items:center;min-width:40px;height:52px;padding:4px;border-radius:6px;background:#374354;color:white;font-weight:700;font-size:13px}.studio-gallery-row{grid-template-columns:minmax(148px,1fr) minmax(100px,1fr) auto}.studio-photo-card .photo-slot{order:-1}.studio-photo-card{display:flex;flex-direction:column;align-items:stretch;gap:4px}.studio-photo-card p{font-size:12px;overflow-wrap:anywhere}.studio-photo-card .photo-slot{margin-bottom:8px}.studio-photo-card .thumb{border-radius:6px}.studio-photo-card label{font-size:12px}.studio-photo-card h2{font-size:15px;margin:4px 0}.studio-nav button.active .studio-icon{color:#ffc42c}.studio-nav button:focus-visible,.studio-action:focus-visible{outline:3px solid #e6ae35;outline-offset:2px}
@media(max-width:700px){.studio-metric{grid-template-columns:30px minmax(0,1fr);gap:5px}.studio-metric>.studio-icon{width:29px;height:29px;padding:6px}.studio-nav .studio-icon{width:17px;height:17px}.studio-gallery-row{grid-template-columns:1fr 1fr}.studio-notice-grid .studio-metric{grid-template-columns:1fr}}

.protect-fields{border:1px solid var(--pf-line);border-radius:16px;padding:16px;display:grid;gap:12px;min-width:0;margin:14px 0}.protect-fields legend{font-weight:750;color:var(--spot-forest);padding:0 6px}.protect-fields .protect-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}.protect-fields .protect-check[hidden]{display:none}.protect-fields .protect-check input{width:auto;min-width:18px;flex:none;margin-top:3px}.protect-fields p,.protect-fields small{margin:0;color:var(--pf-muted)}

.protect-record form{display:grid;gap:12px}.protect-record textarea{width:100%;min-width:0;resize:vertical}.protect-roster-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border-top:1px solid var(--pf-line);padding:10px 0;font-size:13px}.protect-record .protect-check{display:flex;align-items:flex-start;gap:8px}.protect-record .protect-check input{width:auto;min-width:18px;flex:none}.protect-record input[readonly]{font-size:12px;max-width:100%}

/* Protect contrast uses paired foreground/background colors, not inherited theme text. */
body .protect-contrast,body .protect-fields{color:#143E3A;background:#F3F8F6;border-color:#A9C4BE}
body .protect-contrast h2,body .protect-contrast h3,body .protect-fields legend,body .protect-fields label{color:#084F4D}
body .protect-contrast p,body .protect-contrast small,body .protect-fields p,body .protect-fields small{color:#365853}
body .protect-fields legend{background:#F3F8F6;border-radius:5px}
body .protect-fields select,body .protect-contrast input:not([type=checkbox]),body .protect-contrast textarea{background:#FFFFFF;color:#143E3A;border:1px solid #91B2AA}
body .protect-fields input[type=checkbox],body .admission-check input{accent-color:#084F4D}
body .protect-contrast .protect-record,body .protect-contrast .protect-consent-note{background:#E7F2ED;color:#143E3A;border:1px solid #A9C4BE;border-radius:14px;padding:16px}
body .protect-contrast .protect-record :is(h2,h3,strong,label,small,p){color:#143E3A}
body .studio-dark .protect-fields,body.studio-dark .protect-fields,body.studio-dark .protect-contrast{background:#103B3A;color:#F7FBF9;border-color:#507D76;color-scheme:dark}
body.studio-dark .protect-fields legend{background:#103B3A;color:#F7FBF9}
body.studio-dark .protect-fields :is(label,p,small),body.studio-dark .protect-contrast>p,body.studio-dark .protect-contrast>h2,body.studio-dark .protect-contrast>h3{color:#E5F5EF}
body.studio-dark .protect-fields select{background:#194846;color:#FFFFFF;border-color:#69958D}
body.studio-dark .protect-contrast .protect-record{color-scheme:light}
body .protect-contrast form>button[type=submit],body .admission-primary{background:#D8FF3F;color:#103B30;border:1px solid #9FBF18;font-weight:750}
body .protect-contrast :focus-visible,body .admission-card :focus-visible{outline:3px solid #568A82;outline-offset:3px}
body .admission-card{background:#F3F8F6;color:#143E3A;border:1px solid #A9C4BE;border-radius:18px;padding:clamp(16px,4vw,28px);margin:12px 0;overflow-wrap:anywhere;color-scheme:light}
body .admission-card :is(h2,h3,label,strong,p,small){color:#143E3A}
body .admission-card form{display:grid;gap:14px}body .admission-card :is(textarea,input:not([type=checkbox]),select){background:#fff;color:#143E3A;border:1px solid #91B2AA;max-width:100%;font:inherit;padding:10px;border-radius:8px}
body .admission-check{display:flex!important;align-items:flex-start;gap:10px;line-height:1.5}body .admission-check input{width:auto;min-width:18px;flex:none;margin-top:4px}
body .admission-card button{margin:4px 4px 4px 0}body .admission-status{display:inline-block;padding:6px 12px;border-radius:999px;background:#F9EAC8!important;color:#694800!important;font-weight:700}body .admission-status[data-state=approved]{background:#E4F3D9!important;color:#285B23!important}body .admission-status:is([data-state=rejected],[data-state=suspended]){background:#FCE5E1!important;color:#862F28!important}
@media(prefers-color-scheme:dark){body.studio-system .protect-fields,body.studio-system .protect-contrast{background:#103B3A;color:#F7FBF9;border-color:#507D76;color-scheme:dark}body.studio-system .protect-fields legend{background:#103B3A;color:#F7FBF9}body.studio-system .protect-fields :is(label,p,small),body.studio-system .protect-contrast>p,body.studio-system .protect-contrast>h2,body.studio-system .protect-contrast>h3{color:#E5F5EF}body.studio-system .protect-fields select{background:#194846;color:#FFFFFF;border-color:#69958D}body.studio-system .protect-contrast .protect-record{color-scheme:light}}

/* Keep the optional rights card white with dark text in every theme. */
body .studio-card.protect-contrast .protect-record,body .studio-card.protect-contrast .protect-consent-note{background:#fff!important;color:#143E3A!important;color-scheme:light;border:1px solid #BCD1CB;border-radius:15px;padding:16px}
body .studio-card.protect-contrast .protect-record :is(h2,h3,h4,p,small,label,strong,a,summary,span){color:#143E3A!important}
body .studio-card.protect-contrast .protect-record :is(input,textarea,select){background:#fff!important;color:#143E3A!important;border-color:#91B2AA}
body .studio-card.protect-contrast .protect-record button{background:#E7F2ED!important;color:#143E3A!important;border-color:#91B2AA}
body.studio-dark .protect-fields legend,body.studio-system .protect-fields legend{color:inherit!important}

/* Professional identity and compact rights panel */
.studio-identity-code{margin-top:6px;max-width:100%}.studio-identity-code button{border:1px solid var(--pf-line);background:transparent;color:inherit;font-size:11px;border-radius:8px;padding:5px 7px;min-height:28px;width:auto;max-width:100%;white-space:normal;overflow-wrap:anywhere}
body.studio-dark .studio-identity-code button{color:#D8FF3F;border-color:#507D76}
body .studio-card.protect-contrast .rights-module{padding:16px!important;display:grid;gap:12px}body .rights-module h3,body .rights-module p{margin:0}body .rights-module .rights-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 8px}body .rights-state{background:#E7F2ED;border-radius:999px;padding:4px 8px;font-size:11px}body .rights-state[data-active=true]{background:#D8FF3F}
body .rights-module .rights-url{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:12px;padding:10px;margin:0 0 8px}body .rights-module .rights-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-bottom:8px}body .rights-module .rights-actions>*{flex:1 1 auto;text-align:center;min-width:0;font-size:12px}body .rights-module button,body .rights-module .rights-actions a{border:1px solid #A9C4BE;border-radius:9px;padding:9px 10px;min-height:36px;text-decoration:none;font-weight:650}body .studio-card.protect-contrast .rights-module .rights-primary{background:#D8FF3F!important;color:#084F4D!important;border-color:#BBD936}
body .rights-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:16px 0}body .rights-metrics>div{display:grid;gap:4px;background:#E7F2ED;border-radius:10px;padding:10px 6px;text-align:center}body .rights-metrics strong{font-size:22px}body .rights-metrics small{font-size:10px}body .rights-response{padding:10px 0;border-bottom:1px solid #BCD1CB;display:grid;gap:5px;overflow-wrap:anywhere}body .rights-module summary{cursor:pointer;font-weight:650}
.sinpe-settings form{display:grid;gap:12px}.sinpe-settings form label{display:grid;gap:6px}.sinpe-settings .sinpe-setting-check{display:flex;gap:8px;align-items:flex-start;line-height:1.45}.sinpe-setting-check input{width:auto!important;flex:none;margin-top:4px;accent-color:#9BBE00}
