/* Shunode design tokens. Bright default chosen for the user's unified product family. */
:root{
 --sh-bg:#F6F7F0;--sh-surface:#FFFFFF;--sh-surface-soft:#EEF1E3;
 --sh-ink:#25302B;--sh-muted:#626F60;--sh-brand:#C7D849;--sh-brand-text:#536221;
 --sh-on-brand:#25302B;--sh-line:#D8DECE;--sh-control-line:#87917A;
 --sh-gold:#B99A47;--sh-positive:#397348;--sh-negative:#AF4438;
 --sh-focus:#536221;--sh-radius-control:10px;--sh-radius-panel:24px;
 --sh-font: "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
 --sh-fast:140ms;--sh-standard:240ms;--sh-chapter:520ms;
 --sh-ease:cubic-bezier(.2,.7,.2,1);
 --sh-layer-base:0;--sh-layer-sticky:10;--sh-layer-menu:20;--sh-layer-dialog:30;
 color-scheme:light;
}

/* Load after Forgejo's own light theme. Preserve syntax/semantic colors. */
:root{--fonts-proportional:var(--sh-font);--color-primary:var(--sh-brand-text);--color-primary-hover:#44521A;--color-primary-active:#394615;--color-primary-light-1:#657731;--color-primary-light-2:#76883D;--color-primary-light-3:#8A9C50;--color-primary-light-4:#A6B872;--color-primary-light-5:#D5DEBC;--color-primary-light-6:var(--sh-surface-soft);--color-primary-light-7:var(--sh-bg);--color-primary-contrast:#fff;--color-accent:var(--sh-brand-text);--color-body:var(--sh-bg);--color-text:var(--sh-ink);--color-text-light:var(--sh-muted);--color-box-body:var(--sh-surface);--color-box-header:var(--sh-surface-soft);--color-menu:var(--sh-surface);--color-nav-bg:var(--sh-surface);--color-footer:var(--sh-surface);--color-secondary:var(--sh-line);--color-secondary-light-1:var(--sh-line);--color-secondary-light-2:var(--sh-surface-soft)}
body{background:var(--sh-bg);color:var(--sh-ink);font-family:var(--sh-font)}
#navbar{background:var(--sh-surface)!important;border-bottom:1px solid var(--sh-line)!important;min-height:64px;padding-inline:clamp(16px,4vw,54px)}
#navbar .item{color:var(--sh-ink)!important}#navbar .item:hover{background:var(--sh-surface-soft)!important;color:var(--sh-brand-text)!important}
#navbar-logo img{width:36px;height:36px}.page-content.home{background:var(--sh-bg)}.page-content.home .hero .title{color:var(--sh-ink);font-weight:550;letter-spacing:-.04em}.page-content.home .hero .text{color:var(--sh-muted)}
.ui.primary.button{background:var(--sh-brand)!important;color:var(--sh-on-brand)!important;border:1px solid var(--sh-brand-text)!important;border-radius:var(--sh-radius-control)}
.ui.primary.button:hover{background:#D3E16A!important}.ui.menu,.ui.segment{border-color:var(--sh-line)}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--sh-focus);outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Native Forgejo typography, controls and meaningful feedback. */
.ui.button{border-radius:var(--sh-radius-control);transition:background var(--sh-fast),border-color var(--sh-fast),transform var(--sh-fast)}
.ui.button:active{transform:translateY(1px)}
.ui.segment,.ui.attached.segment,.ui.table,.ui.menu{box-shadow:none;border-color:var(--sh-line)}
.ui.form input:not([type=checkbox]):not([type=radio]),.ui.form textarea{border-color:var(--sh-control-line);border-radius:var(--sh-radius-control)}
.ui.form input:focus,.ui.form textarea:focus{border-color:var(--sh-focus)}
.ui.dropdown .menu{border-color:var(--sh-line);border-radius:12px;box-shadow:0 12px 36px rgba(37,48,43,.12)}
.ui.dropdown .menu>.item:hover{background:var(--sh-surface-soft)}
.ui.tabular.menu .active.item{color:var(--sh-brand-text);border-color:var(--sh-line);background:var(--sh-surface)}
@media(prefers-reduced-motion:reduce){.ui.button:active{transform:none}}
