 .snos-public{--snos-bg:var(--sp-bg,#FCF9F3);--snos-card:var(--sp-card,#FBF8F0);--snos-ink:var(--sp-ink,#2E2D27);--snos-muted:var(--sp-muted,#6B675F);--snos-gold:var(--sp-gold,#D08E27);--snos-border:var(--sp-border,#BCB9B3);direction:rtl;color:var(--snos-ink);font-family:inherit;margin:24px auto}
.snos-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px}
.snos-card{background:var(--snos-card);border:1px solid color-mix(in srgb,var(--snos-border),transparent 35%);border-radius:18px;overflow:hidden;min-width:0}
.snos-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.snos-card-body{padding:18px}.snos-card h3{margin:0 0 8px;color:var(--snos-ink);font-size:1.08rem}.snos-card p{color:var(--snos-muted);font-size:.92rem}
.snos-link,.snos-button{display:inline-flex;align-items:center;gap:6px;color:var(--snos-gold);font-weight:800}
.snos-module-links{display:flex;flex-wrap:wrap;gap:10px}.snos-module-links a{padding:9px 14px;border:1px solid var(--snos-border);border-radius:10px}
.snos-empty{padding:16px;background:var(--snos-card);border-radius:12px;color:var(--snos-muted)}
html[data-sp-theme="dark"] .snos-public{--snos-bg:#111315;--snos-card:#1D2124;--snos-ink:#F2EEE6;--snos-muted:#B8B2A8;--snos-gold:#E0A642;--snos-border:#3B3F42;color:var(--snos-ink)}
html[data-sp-theme="dark"] .snos-public .snos-card{background:var(--snos-card);border-color:var(--snos-border)}
html[data-sp-theme="dark"] .snos-public .snos-card h3{color:var(--snos-ink)}

.snos-staff{direction:rtl;max-width:980px;margin:20px auto;padding:18px;color:#2E2D27;font-family:inherit}
.snos-staff header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px;border-radius:20px;background:linear-gradient(135deg,#FCF9F3,#F6F0E9);border:1px solid #E8D4A5}
.snos-staff header small{color:#6B675F}.snos-staff header h2{margin:7px 0;font-size:1.45rem}.snos-staff header p{margin:0;color:#6B675F}
.snos-staff-mark{width:52px;height:52px;border-radius:16px;background:#D08E27;color:white;display:grid;place-items:center;font-weight:800}
.snos-staff-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.snos-staff-shortcuts a{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 8px;border:1px solid #BCB9B3;border-radius:14px;text-decoration:none;color:inherit;background:#FBF8F0}
.snos-staff-shortcuts b{color:#D08E27;font-size:20px}.snos-staff h3{margin:22px 0 12px}
.snos-staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.snos-staff-grid article{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #BCB9B3;border-radius:15px;background:#FBF8F0}
.snos-staff-grid article div:last-child{display:grid;gap:4px}.snos-staff-grid small{color:#6B675F}.snos-staff-grid em{font-size:12px;color:#9A681A;font-style:normal}
.snos-staff-icon{width:42px;height:42px;display:grid;place-items:center;background:#F6F0E9;border-radius:12px;color:#D08E27;font-size:22px}
.snos-staff-profile{margin-top:18px;padding:18px;border:1px solid #BCB9B3;border-radius:15px;background:#FBF8F0}
.snos-staff-btn{display:inline-block;padding:12px 18px;border-radius:12px;background:#D08E27;color:#fff;text-decoration:none}
.snos-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0;padding-bottom:12px;border-bottom:1px solid #ddd}
.snos-tabs a{padding:9px 14px;border-radius:10px;text-decoration:none;background:#f4f1eb;color:#302f29}
.snos-tabs a.is-active{background:#D08E27;color:white}
.snos-lead{color:#6B675F}.snos-admin-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:22px 0}
.snos-admin-cards a{display:grid;gap:8px;padding:18px;border:1px solid #ddd;border-radius:14px;text-decoration:none;background:#fff;color:#333}
.snos-admin-cards b{font-size:28px;color:#D08E27}.snos-module-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}
.snos-module-list div{padding:14px;border:1px solid #ddd;border-radius:12px;background:#fff;display:grid;gap:5px}.snos-module-list small{color:#777}
@media(max-width:600px){.snos-staff{padding:10px}.snos-staff header{padding:16px}.snos-staff-shortcuts{grid-template-columns:1fr 1fr 1fr}.snos-staff-shortcuts a{flex-direction:column;font-size:12px}.snos-staff-grid{grid-template-columns:1fr}}
html[data-sp-theme="dark"] .snos-staff{color:#F2EEE6}
html[data-sp-theme="dark"] .snos-staff header,html[data-sp-theme="dark"] .snos-staff-shortcuts a,html[data-sp-theme="dark"] .snos-staff-grid article,html[data-sp-theme="dark"] .snos-staff-profile{background:#1D2124;border-color:#3B3F42;color:#F2EEE6}
html[data-sp-theme="dark"] .snos-staff header p,html[data-sp-theme="dark"] .snos-staff header small,html[data-sp-theme="dark"] .snos-staff-grid small{color:#B8B2A8}

/* Sephernew OS visual system */
.snos-admin{max-width:1440px;margin:24px 24px 0 8px;padding:24px;background:#FCF9F3;border:1px solid #E8D4A5;border-radius:20px;color:#2E2D27;box-sizing:border-box}
.snos-admin h1{font-size:27px;font-weight:800;margin:0 0 8px;color:#2E2D27}
.snos-lead{font-size:14px;color:#6B675F;margin:0 0 24px}
.snos-tabs{display:flex;gap:10px;flex-wrap:wrap;border:0;margin:0 0 24px;padding:0}
.snos-tabs a{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#FBF8F0;border:1px solid #BCB9B3;border-radius:12px;color:#2E2D27;text-decoration:none;font-weight:600;transition:.18s}
.snos-tabs a .dashicons{font-size:19px;width:19px;height:19px;color:#D08E27}
.snos-tabs a:hover,.snos-tabs a.is-active{background:#D08E27;border-color:#D08E27;color:#fff}
.snos-tabs a:hover .dashicons,.snos-tabs a.is-active .dashicons{color:#fff}
.snos-admin-cards a{background:#FBF8F0;border-color:#E8D4A5;border-radius:16px;box-shadow:0 5px 18px rgba(46,45,39,.045)}
.snos-admin-cards a:hover{transform:translateY(-2px);box-shadow:0 9px 22px rgba(46,45,39,.08)}
.snos-module-list div{background:#FBF8F0;border-color:#BCB9B3;border-radius:14px}
.snos-admin h2{margin-top:18px}
.snos-admin .button-primary{background:#D08E27;border-color:#D08E27}
.snos-admin .button-primary:hover{background:#aa701c;border-color:#aa701c}
.snos-public{--snos-bg:#FCF9F3;--snos-bg2:#F6F0E9;--snos-ink:#2E2D27;--snos-gold:#D08E27;--snos-gold_light:#E8D4A5;--snos-muted:#6B675F;--snos-placeholder:#B2AFA7;--snos-card:#FBF8F0;--snos-border:#BCB9B3;color:var(--snos-ink);background:var(--snos-bg)}
.snos-public .snos-card{background:var(--snos-card);border:1px solid var(--snos-border);color:var(--snos-ink)}
/* Theme follows the template's data-sp-theme flag; dark mode is inherited by every OS surface. */
html[data-sp-theme="dark"] .snos-admin,body[data-sp-theme="dark"] .snos-admin,
html[data-sp-theme="dark"] .snos-public,body[data-sp-theme="dark"] .snos-public,
html[data-sp-theme="dark"] .snos-staff,body[data-sp-theme="dark"] .snos-staff{background:#17191B!important;color:#F5F3EE!important;border-color:#414448!important}
html[data-sp-theme="dark"] .snos-admin h1,html[data-sp-theme="dark"] .snos-admin h2,
html[data-sp-theme="dark"] .snos-admin p,html[data-sp-theme="dark"] .snos-public,
html[data-sp-theme="dark"] .snos-staff{color:#F5F3EE}
html[data-sp-theme="dark"] .snos-tabs a,html[data-sp-theme="dark"] .snos-admin-cards a,
html[data-sp-theme="dark"] .snos-module-list div,html[data-sp-theme="dark"] .snos-public .snos-card,
html[data-sp-theme="dark"] .snos-staff-grid article,html[data-sp-theme="dark"] .snos-staff-profile,
html[data-sp-theme="dark"] .snos-staff-shortcuts a{background:#24282B!important;color:#F5F3EE!important;border-color:#414448!important}
html[data-sp-theme="dark"] .snos-tabs a.is-active{background:#D08E27!important;color:#fff!important}
html[data-sp-theme="dark"] .snos-tabs a .dashicons{color:#E8D4A5}
html[data-sp-theme="dark"] .snos-tabs a.is-active .dashicons{color:#fff}
html[data-sp-theme="dark"] .snos-lead,html[data-sp-theme="dark"] .snos-module-list small,
html[data-sp-theme="dark"] .snos-staff-grid small{color:#C3BFB7!important}
@media(max-width:782px){.snos-admin{margin:12px 8px 0 0;padding:14px;border-radius:14px}.snos-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.snos-tabs a{justify-content:center;padding:11px 7px;font-size:12px}.snos-admin-cards{grid-template-columns:1fr 1fr}}
