/* Core.css - Locked. */
:root {
    --base: #0d151c;
    --base-soft: #14202a;
    --panel: #ffffff;
    --panel-soft: #f2f7f6;
    --panel-warm: #fffaf1;
    --shell: #151a21;
    --shell-soft: #101318;
    --text: #12191f;
    --text-soft: #33434f;
    --text-faint: #5b6b76;
    --inverse: #fffaf1;
    --border: #d3dfdc;
    --border-strong: #aebfba;
    --brand: #08766f;
    --brand-soft: #0f7c73;
    --accent: #b84c3f;
    --shadow: rgba(5, 12, 18, 0.08);
    --shadow-strong: rgba(5, 12, 18, 0.24);
}
* { box-sizing: border-box; }
body { background: linear-gradient(135deg, var(--base), var(--base-soft)); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; margin: 0; }
.core { display: grid; gap: 24px; min-height: 100vh; min-width: 0; }
.core-container { display: grid; gap: 20px; margin: 0 auto; max-width: 1440px; min-width: 0; padding: 24px; width: 100%; }
.core-layout { display: grid; gap: 20px; grid-template-columns: 280px minmax(0, 1fr); min-width: 0; width: 100%; }
.core-main { display: grid; gap: 20px; min-width: 0; width: 100%; }
.core-head { background: var(--panel-warm); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 26px var(--shadow); display: grid; gap: 12px; min-width: 0; padding: 22px; }
.core-head-wordmark { color: var(--brand); font-size: large; font-weight: 800; letter-spacing: 0.02em; line-height: 1.1; margin: 0; min-width: 0; }
.core-head-title { color: var(--text); font-size: x-large; font-weight: 800; line-height: 1.15; margin: 0; min-width: 0; }
.core-head-page-title { color: var(--text); font-size: x-large; font-weight: 800; line-height: 1.15; margin: 0; min-width: 0; }
.core-head-intro { color: var(--text-soft); font-size: medium; line-height: 1.6; margin: 0; max-width: 880px; min-width: 0; }
.core-section { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 26px var(--shadow); color: var(--text); display: grid; gap: 16px; min-width: 0; overflow: hidden; padding: 22px; }
.core-section-title { color: var(--text); font-size: large; font-weight: 800; line-height: 1.2; margin: 0; min-width: 0; }
.core-section-intro { color: var(--text-soft); font-size: medium; line-height: 1.55; margin: 0; min-width: 0; }
.core-sidebar { background: linear-gradient(180deg, var(--shell), var(--shell-soft)); border: 1px solid rgba(255, 250, 241, 0.22); border-radius: 10px; box-shadow: 0 12px 28px var(--shadow-strong); color: var(--inverse); display: grid; gap: 12px; max-height: 100vh; min-width: 0; overflow-y: auto; padding: 14px; position: sticky; top: 0; width: 100%; }
.core-sidebar-head { border-bottom: 1px solid rgba(255, 250, 241, 0.22); display: grid; gap: 6px; min-width: 0; padding-bottom: 12px; }
.core-sidebar-title { color: var(--inverse); font-size: medium; font-weight: 800; line-height: 1.2; margin: 0; min-width: 0; }
.core-sidebar-meta { color: rgba(255, 250, 241, 0.82); font-size: small; line-height: 1.45; min-width: 0; }
.core-sidebar-meta-link { color: var(--inverse); font-weight: 700; }
.core-sidebar-meta-link:hover { color: var(--panel-warm); }
.core-sidebar-link { align-items: center; background: rgba(255, 250, 241, 0.14); border: 1px solid transparent; border-radius: 10px; color: var(--inverse); display: flex; font-size: small; font-weight: 700; gap: 8px; min-height: 40px; min-width: 0; padding: 10px 12px; }
.core-sidebar-link:hover { background: rgba(8, 118, 111, 0.22); border-color: rgba(255, 250, 241, 0.22); }
.core-sidebar-link-current { align-items: center; background: var(--brand); border: 1px solid var(--brand-soft); border-radius: 10px; color: var(--inverse); display: flex; font-size: small; font-weight: 700; gap: 8px; min-height: 40px; min-width: 0; padding: 10px 12px; }
.core-sidebar-link-text { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.core-sidebar-toggle { align-items: center; background: rgba(255, 250, 241, 0.14); border: 1px solid rgba(255, 250, 241, 0.22); border-radius: 10px; color: var(--inverse); cursor: pointer; display: none; font: inherit; font-weight: 700; gap: 8px; min-height: 40px; min-width: 0; padding: 10px 12px; text-align: left; }
.core-sidebar-toggle-text { min-width: 0; }
.core-sidebar-profile { border-bottom: 1px solid rgba(255, 250, 241, 0.22); display: grid; gap: 8px; min-width: 0; padding-bottom: 12px; }
.core-sidebar-profile-link { align-items: center; color: var(--inverse); display: grid; gap: 10px; grid-template-columns: 48px minmax(0, 1fr); min-width: 0; }
.core-sidebar-profile-image { border: 2px solid rgba(255, 250, 241, 0.22); border-radius: 999px; display: block; height: 48px; object-fit: cover; width: 48px; }
.core-sidebar-profile-name { color: var(--inverse); font-size: small; font-weight: 700; line-height: 1.4; min-width: 0; }
.core-sidebar-groups { display: grid; gap: 12px; min-width: 0; }
.core-sidebar-group { display: grid; gap: 8px; min-width: 0; }
.core-sidebar-group-label { color: rgba(255, 250, 241, 0.82); font-size: x-small; font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; min-width: 0; text-transform: uppercase; }
.core-sidebar-link-form { display: grid; gap: 8px; min-width: 0; }
.core-hidden-input { display: none; }
.core-sidebar-action { align-items: center; background: rgba(255, 250, 241, 0.14); border: 1px solid transparent; border-radius: 10px; color: var(--inverse); cursor: pointer; display: flex; font: inherit; font-size: small; font-weight: 700; gap: 8px; min-height: 40px; min-width: 0; padding: 10px 12px; text-align: left; width: 100%; }
.core-sidebar-action:hover { background: rgba(8, 118, 111, 0.22); border-color: rgba(255, 250, 241, 0.22); }
.core-sidebar-breadcrumb { border-top: 1px solid rgba(255, 250, 241, 0.22); display: grid; gap: 8px; min-width: 0; padding-top: 12px; }
.core-sidebar-breadcrumb-trail { display: grid; gap: 8px; min-width: 0; }
.core-sidebar-breadcrumb-link { color: var(--inverse); font-size: small; font-weight: 700; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.core-sidebar-breadcrumb-link:hover { color: var(--panel-warm); }
.core-sidebar-breadcrumb-current { color: rgba(255, 250, 241, 0.82); font-size: small; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.core-sidebar-logo { display: grid; justify-content: center; min-width: 0; padding-top: 4px; }
.core-sidebar-logo-image { display: block; height: auto; max-width: 100%; }
.core-sidebar-skip-link { height: 1px; left: -9999px; overflow: hidden; position: absolute; top: auto; width: 1px; }
.core-sidebar-skip-link:focus { background: var(--panel-warm); border: 1px solid var(--border); border-radius: 10px; color: var(--text); height: auto; left: 12px; padding: 10px 14px; top: 12px; width: auto; z-index: 20; }
.core-sidebar-content-anchor { display: block; height: 0; overflow: hidden; }
.core-sidebar-bubble { align-items: center; background: var(--brand); border: 1px solid rgba(255, 250, 241, 0.22); border-radius: 999px; box-shadow: 0 12px 28px var(--shadow-strong); color: var(--inverse); cursor: grab; display: inline-flex; font: inherit; font-weight: 700; gap: 8px; min-height: 48px; min-width: 48px; padding: 0 14px; position: fixed; right: 14px; top: auto; touch-action: none; z-index: 2200; }
.core-footer { background: var(--panel-warm); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 10px 26px var(--shadow); color: var(--text-soft); display: grid; gap: 12px; min-width: 0; padding: 18px 22px; }
.core-footer-head { display: grid; gap: 6px; min-width: 0; }
.core-footer-title { color: var(--text); font-size: medium; font-weight: 800; line-height: 1.2; margin: 0; min-width: 0; }
.core-footer-intro { color: var(--text-soft); font-size: small; line-height: 1.5; margin: 0; min-width: 0; }
.core-footer-links { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.core-footer-link { color: var(--brand); font-size: small; font-weight: 700; line-height: 1.4; }
.core-footer-link:hover { color: var(--accent); }
.core-footer-copy { border-top: 1px solid var(--border); color: var(--text-faint); font-size: x-small; line-height: 1.5; margin: 0; min-width: 0; padding-top: 12px; }
@media (max-width: 1020px) {
.core-layout { grid-template-columns: 1fr; }
.core-sidebar { max-height: none; overflow: visible; position: static; top: auto; }
.core-sidebar-link-text { overflow: visible; text-overflow: clip; white-space: normal; word-break: break-word; }
.core-sidebar-toggle { display: inline-flex; }
}
@media (max-width: 680px) {
.core-container { padding: 12px; }
.core-layout { gap: 14px; }
.core-head { padding: 18px; }
.core-section { padding: 18px; }
.core-footer { padding: 18px; }
.core-head-title { font-size: 1.65rem; }
.core-head-page-title { font-size: 1.65rem; }
.core-head-intro { font-size: 0.96rem; }
.core-sidebar { padding: 12px; }
.core-sidebar-link { min-height: 44px; }
.core-sidebar-link-current { min-height: 44px; }
.core-sidebar-action { min-height: 44px; }
.core-sidebar-toggle { min-height: 44px; }
}
