/* StatutePad: ivory pages, charcoal navigation, restrained champagne accents. */
:root{color-scheme:light;--bg:#f3f0e8;--panel:#fffdf8;--panel2:#eae5d9;--line:#d8d2c6;--muted:#706b60;--text:#252722;--green:#916b20;--dark:#ebe5d7;--red:#b43d37;--coral:#a27a2a}
body{background:radial-gradient(ellipse at 90% 0%,#ffffffb0,transparent 55%),var(--bg)}
::selection{background:#ddc37a66;color:#252722}
.sidebar{background:#202421;border-color:#303630;padding-top:29px}
.sidebar .brand{font-size:23px;letter-spacing:-1px;gap:6px;padding-inline:2px;color:#f6f2e6;margin-bottom:39px}
.brand .brand-mark.brand-avatar{width:33px;height:33px;border-radius:8px;background:#202421;margin-right:1px}
.brand .brand-dot{color:#d4b46a}
.sidebar nav a{color:#c6cdc5;border-radius:7px;padding:13px 11px}
.sidebar nav a:hover{background:#2d332e;color:#fffdf6}
.sidebar nav a.active{background:#353c35;color:#f6f2e6;box-shadow:inset 3px 0 #c4aa6a}
.sidebar .nav-label,.sidebar-signature,.sidebar-bottom p,.sidebar-bottom>a{color:#aab5ab}
.sidebar-create{background:#e0c78a!important;border-color:#e0c78a!important;color:#252722!important;border-radius:7px}
.topbar{background:#fffdf8f5;border-color:var(--line);box-shadow:0 2px 12px #27251904}
.global-search,.global-search .glyph{color:#857c68}.global-search input{background:transparent;color:var(--text)}
.global-search kbd{background:#f3eee2;border-color:var(--line);color:#8d8370}
.icon-button,.network-button{color:var(--muted)}
button,.button{background:#f8f5ee;border-color:#cec7b8;color:var(--text);border-radius:7px}
button:hover,.button:hover{background:#eee7d8;border-color:#b6aa91}
button.primary,.button.primary{background:#dac188;border-color:#dac188;color:#29271e;box-shadow:none}
button.primary:hover,.button.primary:hover{background:#e8d39f;border-color:#ceb57c}
.topbar .network-button{background:transparent}
input,textarea,select{background:#fffdf8;border-color:#cbc5b8;color:var(--text);border-radius:7px}
input::placeholder,textarea::placeholder,.global-search input::placeholder{color:#8c887e}
input:focus,textarea:focus,select:focus{border-color:#ac8a43;box-shadow:0 0 0 3px #b99a5214}
:focus-visible,.language-control select:focus-visible{outline:2px solid #9d7d38;outline-offset:3px}
input[type=range]{accent-color:#947427;background:transparent}
.panel,.coincard,.community-card,.read-rule-card,.library-rule,.preset,.statsbar,.rulecard{background:var(--panel);border-color:var(--line);border-radius:10px}
.panel,.read-rule-card{box-shadow:0 5px 18px #332c1805}
.panel h2,.read-rule-card h3{letter-spacing:-.6px}
.coincard:hover,.community-card:hover,.preset:hover{background:#fffefa;border-color:#b4a47e;box-shadow:0 8px 24px #40371e09}
.pagetitle h1,.board-heading h1,.rulebook-heading h1{letter-spacing:-1.5px;color:#222720}
.pagetitle .accent,.board-heading .accent,.rulebook-heading .accent{color:#78622f}
.accent,.step,.textbutton,.positive{color:#8b6824}
.eyebrow,.board-heading .eyebrow,.market-empty .eyebrow,.library-card-top .eyebrow{color:#857342;letter-spacing:1.7px}
.step,.home-grid .step{background:#f0eadb;color:#856824;border-color:#ded2b5;border-radius:5px}
.notice,.platform-law-notice{background:#ece7db;border-color:#d5ccb6;color:#655e4f;border-radius:8px}
.notice strong{color:#35392f}
.tag,.pill,.cardtags .tag,.cardtags .purple,.quiet-badge{background:#eee9dd;border-color:#d8cfb9;color:#6f6245}
.tabs,.view-controls{background:#eeeade;border-color:#d9d2c3}
.tabs button.active,.view-controls .active{background:#fffdf8;color:#3d402f;box-shadow:0 1px 4px #52472312}
.network-tab,.network-tile,.wallet-option,.wallet-list .wallet-option{background:#f8f5ed;border-color:#d3ccbc;color:#363b31}
.network-tab.active,.network-tile.selected,.network-tile.active,.chain-choice.selected,.chain-option.active,.network-choice.selected{background:#eae3d1;border-color:#ae9453;color:#403c2e;box-shadow:none}
.market-chain{background:#fffdf8;border-color:#d4ccba;color:#343b2e}.market-chain.selected{background:#eee5d1;border-color:#b79a59;color:#3c3829}.market-chain:hover{background:#efe7d8;border-color:#bba775}.market-chain small,.market-picker .eyebrow{color:#827149}
.market-chain.selected .chain-selection{color:#967433}.market-selector-heading .eyebrow{color:#857342}
.network-tab:hover,.network-tile:hover,.chain-choice:hover,.wallet-option:hover{background:#ede7da;border-color:#bda66b}
.network-tile small,.wallet-list small,.wallet-footer,.wallet-list .detected,.detected-badge{color:#74623a}
.wallet-list .detected,.detected-badge{border-color:#cab783}
.modal-close{background:#eeeade;color:#666352;border-color:#d8d0be}
.selected-check{background:#ad8e46;color:#fffdf5}
.rule-categories button,.rulebook-category,.selected-rule,.mini-presets button{background:#f7f3e9;border-color:#d7cebb;color:#615b4a}
.rule-categories button.active,.rulebook-category.active,.library-rule.picked,.rulepick.selected{background:#eee6d2;border-color:#bca16a;color:#373c31}
.selected-rule-setting input{background:#fffdf8;border-color:#c4b183}
.selected-rule-setting span,.selected-rule-copy p,.rule-default,.library-rule>p,.library-results,.read-rule-description,.ruledetail{color:#777061}
.library-card-bottom .small,.library-selected-tags button{background:#eee9dd;border-color:#cfc2a4;color:#625638}
.library-card-bottom .rule-added{background:#363f33;border-color:#363f33;color:#faf7ed}
.library-rule .textbutton{color:#806c41}
.library-footer{background:#f8f4e9;border-color:#d6cdb9;box-shadow:0 -10px 30px #423b2310}
.library-footer>div>strong,.rule-enabled,.rule-blocked{color:#75602a}
dialog,.modal-content,.rules-modal{background:#fffdf8;border-color:#cfc6b4;color:var(--text);box-shadow:0 30px 100px #17201545}
dialog::backdrop{background:#141b176b;backdrop-filter:blur(6px)}
.library-search,.rulebook-search{background:#fffdf8;border-color:#c6b88f}.library-search input,.rulebook-search input{background:transparent}
.rulebook-search .glyph,.library-search .glyph{color:#947b3c}
.rulebook-sidebar>button{color:#7c725c;background:transparent}.rulebook-sidebar>button small{color:#97885f}
.rulebook-sidebar>button.active{background:#e7e0ce;color:#343b2e;border-color:#cab985}.rulebook-sidebar>button:hover{background:#eae4d6}
.rulebook-tip strong{color:#3e4336}.rulebook-tip a,.rulebook-footnote a{color:#886721}
.rulebook-principles b,.read-rule-settings strong{color:#3f4938}
.read-rule-card,.read-rule-card[data-rule-group]{--rule-accent:#857142;--rule-tint:#ece7d9}
.read-rule-id,.read-rule-settings>div>span,.read-rule-settings strong small,.read-rule-details summary>span{color:#91805a}
.read-rule-settings p,.read-rule-details p{color:#706958}.read-rule-settings,.read-rule-details,.ruledetail{border-color:#ded7c8}
.rulebook-footnote{color:#7e7460}
.budget-split,.summary-row,.ruleline,.docs-row,.read-rule-setting{border-color:var(--line)}
.featureband,.home-feature,.docs-hero,.docs-feature,.example,.community-banner{background:linear-gradient(125deg,#ede7d7,#fffdf8);border-color:#d7cfbb}
.flow span,.community-banner p,.community-steps>div{color:#75664a}.flow b{border-color:#c4b38a}
.community-steps b{background:#e9e0cc;color:#857140}.community-banner-icon{color:#92773e;border-color:#cbbb91}
.docs-body,.docs-body p,.docs-body li{color:#655f52}.docs-nav a{color:#736c5c}.docs-nav a.active{color:#373d30;background:#eae4d5;border-left-color:#a38747}
.docs-book,.guide-book{filter:none}.docs code{background:#eee8d9;color:#665838}
.guide-breadcrumb,.guide-status{color:#82765b}.guide-breadcrumb>a:first-child{color:#313a2c}.guide-status>span{background:#c9b278}
.docs-nav-group>span{color:#857342}.docs-nav a:hover{background:#e6dfcd;color:#333c2e}
.guide-hero .accent,.community-hero .accent{color:#827042}.guide-hero p{color:#756d5b}
.guide-hero-art{background:linear-gradient(145deg,#e6deca,#fffdf8);border-color:#cdbc94}.guide-hero-art>span{background:#d4bc81;color:#333a2c}.guide-hero-art i{color:#8b7c59}
.guide-search{background:#fffdf8;border-color:#caba90;color:#8c7440}.guide-search input{background:transparent}.guide-search:focus-within{border-color:#b49858}
.guide-start{background:linear-gradient(115deg,#e7dec7,#fffdf8);border-color:#c9b984}.guide-start .step{background:#d7c18b;color:#423e2c}.guide-start strong{color:#31392c}.guide-start p,.guide-start>span:last-child{color:#7b6b48}
.doc-group-heading>span,.doc-section>.eyebrow{color:#8d7440}
.doc-topic{background:#fffdf8;border-color:#d8cfb9}.doc-topic:hover{background:#f1eadb;border-color:#b5a071}.doc-topic h3{color:#343d2e}.doc-topic p{color:#766d59}.doc-topic-arrow{color:#9b8448}
.doc-topic-group .doc-topic-icon,.doc-topic-group:nth-of-type(2) .doc-topic-icon,.doc-topic-group:nth-of-type(3) .doc-topic-icon,.doc-topic-group:nth-of-type(4) .doc-topic-icon{background:#e9e1cd;color:#8d7440}
.docs-body .doc-section>p,.docs-body .doc-section>ol,.docs-body .doc-section>ul,.doc-section p,.doc-section li,.doc-section details p{color:#6c6351}.docs-body .doc-section strong{color:#303c2a}
.doc-section>ol>li::marker{color:#957f45}.doc-section .tablewrap{background:#fffdf8;border-color:#d2c5a7}.doc-section details,.doc-rule-grid details{background:#f8f3e8;border-color:#d8ccb2}.guide-adjacent a{color:#866a2c}
.launch-event-icon{background:#eae1cd;color:#8b7440;border-color:#cabb96}.launch-event .eyebrow,.launch-event h3 small{color:#897445}
.launch-mode{background:#fffdf8;border-color:#d9d1bf;border-left:3px solid #baa265;border-radius:8px}
.launch-mode [aria-current=page]{background:#eae1cb;border-color:#b6a06b;color:#635329}
.launch-overview{border-top:2px solid #baa265}.launch-checklist span{background:#ece6d5;color:#706247;border-color:#d3c7a9}
.market-empty{background:radial-gradient(ellipse at 50% 0%,#f9f5e6,transparent 70%),#fffdf8;border-color:#d7ccb2}
.empty-orbit{background:#e8e2d2;border-color:#c9bea0;color:#9a8555;box-shadow:0 0 0 12px #efe9dc,0 0 0 24px #f6f1e7}
.coin-art,.community-art{background:linear-gradient(145deg,#e6decc,#f8f4e9);color:#8e7950}.coin-art>span,.coinicon{color:#8a774f}.coinicon{background:#e7dfcf}
.coin-art .coin-chain{background:#fffdf8}.community-icon,.feedicon{border-color:#cec2a6}
.coin-address-bar{background:#eee8da;border-color:#d5cab2}.coin-address-bar code{color:#6d6045}
.chart-toolbar,.chart-controls,.chart-summary,.market-chart,.chart-stats{border-color:var(--line)}
.price-chart{background:#f8f5ed;border-color:#d9d0bc}.price-chart text{fill:#837966}.chart-grid{stroke:#ddd4bf}.chart-line{stroke:#8a742f}.chart-buy,.candle-up{fill:#517d52;stroke:#517d52}.chart-sell,.candle-down{fill:#ae6154;stroke:#ae6154}.chart-empty{background:#f1ebdc;border-color:#d6cbb4;color:#766b55}.chart-intervals button[aria-pressed=true]{background:#eae1ca;color:#755c24;border-color:#b59b5e}
.reply-list .post{background:#f8f4ea}.post .creator-label{color:#857142;border-color:#c9b889}
.progress{background:#e6dfcd}.progress span{background:#a98c49}
.success-icon{background:#ece4cf;color:#8c7030}
footer{background:#eee9dd;border-top-color:#d9d1c0}.footer-main .brand{color:#30372c;font-size:23px}.footer-bottom{border-color:#d3c9b5}
#toast{background:#313b30;color:#f6f2e6;border-color:#788369}
@media(max-width:1150px){.sidebar .brand{font-size:21px;gap:5px;padding-inline:1px}.brand .brand-mark.brand-avatar{width:30px;height:30px}}
@media(max-width:800px){.topbar{background:#fffdf8}.panel{border-radius:9px}.sidebar-collapsed .sidebar{box-shadow:20px 0 80px #15221845}}

/* StatutePad social link directly beneath Create coin. */
.sidebar-social{display:flex;align-items:center;gap:10px;margin-top:12px;padding:11px 13px;border:1px solid #465046;border-radius:7px;color:#d6dfd3;font-size:12px;text-decoration:none;min-height:42px}.sidebar-social svg{width:16px;height:16px;flex-shrink:0}.sidebar-social>span:last-child{margin-left:auto;color:#aab5ab}.sidebar-social:hover{background:#30382f;border-color:#8f9b83;color:#fffdf6}.sidebar-social:focus-visible{outline:2px solid #d4b46a;outline-offset:3px}

/* Keep sidebar navigation in place when older header navigation breakpoints apply. */
.sidebar nav{order:0;width:100%;padding-bottom:0;justify-content:flex-start;flex-shrink:0}
