:root {
  --bg: #f7f4ee; --paper: #fffdf9; --ink: #30251d; --muted: #67503e;
  --accent: #9f4428; --accent-hover: #873c25; --accent-light: #f7e7da;
  --line: #ebe3d8; --green: #6f7750; --amber: #986a27; --red: #b54c3d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); font-size: 15px; font-synthesis: none; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
[hidden] { display: none !important; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
button:disabled { opacity: .4; cursor: not-allowed; }
button:focus-visible, a:focus-visible { outline: 3px solid #d7a57f; outline-offset: 4px; }
.ui-icon { display: inline-block; width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
input, select { width: 100%; border: 1px solid #e5dbcd; border-radius: 10px; background: #fffcf7; padding: 12px 14px; color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; }
input::placeholder { color: #67503e; font-size: 14px; }
input:focus, select:focus { border-color: #bd7859; box-shadow: 0 0 0 3px #c5764812; background: #fffdfa; }
input[readonly] { background: #f4efe8; color: #67503e; }
label { display: block; font-size: 14px; font-weight: 600; color: #635448; margin: 20px 0 8px; }
label input, label select { display: block; margin-top: 10px; font-weight: 400; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 10px; padding: 12px 19px; font-weight: 500; white-space: nowrap; transition: background .18s, transform .18s; }
.primary { background: var(--accent); color: #fffaf2; box-shadow: 0 3px 6px #9d402415; }
.primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.secondary { background: var(--paper); color: #67503e; border-color: #e2d6c7; }
.secondary:hover { background: #f3eadd; }
.text-button { border: 0; background: transparent; color: var(--accent); padding: 7px 3px; font-weight: 500; font-size: 14px; }
.text-button:hover { color: #803d28; }
.muted { color: var(--muted); line-height: 1.8; font-size: 14px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px !important; font-weight: 600; letter-spacing: 2px; color: #67503e; margin: 0 0 18px; line-height: 1.8; }
.eyebrow > span { width: 20px; height: 1px; background: #c38e61; }
.eyebrow.dark { color: #67503e; }
.brand { display: flex; gap: 11px; align-items: center; color: #483527; font-size: 23px; font-weight: 650; letter-spacing: 1px; width: fit-content; }
.brand-mark { position: relative; display: block; width: 38px; height: 44px; flex-shrink: 0; overflow: hidden; }
.brand-mark img { position: absolute; display: block; width: 76px; height: 76px; max-width: none; top: 50%; left: 50%; transform: translate(-50%,-50%); object-fit: contain; }
.brand small { display: block; font-size: 12px; letter-spacing: 2px; font-weight: 500; color: #67503e; margin-top: 5px; }
.error { color: var(--red); font-size: 14px; min-height: 14px; line-height: 1.5; }
/* Login: warm editorial panel and a quiet, focused form. */
.login-layout { min-height: 100vh; display: grid; grid-template-columns: 1.12fr 1fr; padding: 18px; gap: 18px; background: #faf7f1; }
.login-story { position: relative; overflow: hidden; min-height: calc(100vh - 36px); background: #f1e5d4; border-radius: 22px; padding: 38px 9%; display: flex; flex-direction: column; justify-content: space-between; }
.login-story::after { content: ''; pointer-events: none; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle,#eac8a86b,transparent 69%); right: -260px; top: 8%; }
.login-story .brand, .login-editorial, .login-footer { position: relative; z-index: 1; }
.login-editorial { padding-top: 40px; }
.login-story h1 { font-size: clamp(29px,3.15vw,47px); line-height: 1.6; font-weight: 500; letter-spacing: -1px; margin: 19px 0 17px; color: #4a3627; }
.login-story h1 em { color: #67503e; font-style: normal; }
.login-description { color: #67503e; font-size: 14px; line-height: 2; margin: 0; }
.connection-art { position: relative; width: min(100%,440px); height: 260px; margin: 10px auto 0; }
.orbit { position: absolute; border: 1px solid #dcc2a0; border-radius: 50%; width: 218px; height: 218px; left: 50%; top: 23px; transform: translateX(-50%); opacity: .7; }
.orbit-two { width: 284px; height: 284px; top: -10px; border-style: dashed; opacity: .38; }
.art-center { position: absolute; left: 50%; top: 110px; transform: translate(-50%,-50%) rotate(-10deg); width: 75px; height: 75px; display: grid; place-items: center; background: #cc7f52; border-radius: 24px; color: #fff2df; box-shadow: 0 14px 28px #ac703323; }
.art-center .ui-icon { width: 35px; height: 35px; }
.art-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fffaf3; border: 1px solid #fdf8ef; border-radius: 13px; padding: 13px 15px; box-shadow: 0 9px 26px #9f724319; width: 186px; }
.art-card small { display: block; color: #67503e; font-size: 12px; letter-spacing: 1.25px; margin-bottom: 7px; }
.art-card strong { color: #6c5340; font-size: 14px; font-weight: 500; }
.art-card > .ui-icon { margin-left: auto; width: 16px; color: #67503e; }
.art-card-icon { display: grid; place-items: center; width: 34px; height: 37px; border-radius: 9px; color: #67503e; background: #f6ead8; flex-shrink: 0; }
.art-card-icon .ui-icon { width: 19px; }
.card-order { left: 0; top: 23px; transform: rotate(-5deg); }
.card-recharge { right: -5px; top: 107px; transform: rotate(5deg); }
.card-result { left: 22px; top: 188px; transform: rotate(-3deg); }
.card-result .art-card-icon { background: #eeedde; color: #67503e; }
.art-dots { color: #67503e; margin-left: auto; letter-spacing: 2px; }
.art-spark { position: absolute; color: #67503e; font-size: 27px; }
.spark-one { top: 12px; right: 29px; }
.spark-two { bottom: 30px; right: 95px; font-size: 17px; color: #67503e; }
.login-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; font-size: 12px; color: #67503e; padding-top: 16px; }
.login-footer > span:last-child { font-size: 12px; letter-spacing: 1.3px; }
.login-form-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 80px 45px; min-height: calc(100vh - 36px); }
.login-top-note { position: absolute; top: 35px; right: 36px; font-size: 14px; color: #67503e; letter-spacing: .7px; }
.login-bottom-note { position: absolute; bottom: 21px; color: #67503e; font-size: 12px; letter-spacing: 2px; }
.login-form { width: 350px; max-width: 100%; }
.login-welcome-icon { width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid #e7d9c6; background: #f5eee2; border-radius: 14px; color: #67503e; margin-bottom: 32px; }
.login-welcome-icon .ui-icon { width: 24px; height: 24px; }
.login-form .eyebrow { font-size: 12px !important; margin-bottom: 12px; }
.login-form h2 { font-size: 31px; font-weight: 550; letter-spacing: 1px; margin: 0 0 13px; }
.login-form > .muted { margin-bottom: 36px; }
.login-form label { margin-top: 22px; font-size: 14px; }
.login-form input { background: #fffdf9; padding: 15px; border-radius: 10px; }
.login-form .primary { width: 100%; justify-content: space-between; padding: 15px 19px; margin-top: 19px; }
.login-form .primary .ui-icon { width: 18px; }
.login-note { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 12px; color: #67503e; margin: 25px 0 0; }
.login-note .ui-icon { width: 13px; height: 13px; }
/* App shell */
.shell { display: flex; min-height: 100vh; }
aside { width: 242px; background: #f0e9df; color: #67503e; padding: 35px 22px 22px; display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; border-right: 1px solid #e9dfd1; z-index: 5; }
aside .brand { padding-left: 8px; }
.workspace-name { display: flex; align-items: center; gap: 10px; background: #faf5ed; border: 1px solid #e7dac9; border-radius: 11px; padding: 13px 12px; margin-top: 36px; font-size: 14px; font-weight: 550; color: #66503d; }
.workspace-icon { width: 31px; height: 33px; display: grid; place-items: center; background: #ebd8c5; color: #67503e; font-size: 14px; border-radius: 8px; font-weight: 650; }
.workspace-name small { display: block; font-size: 12px; color: #67503e; font-weight: 400; margin-top: 5px; }
.workspace-chevron { margin-left: auto; font-size: 17px; color: #67503e; }
.nav-label { display: flex; justify-content: space-between; margin: 33px 13px 13px; font-size: 12px; color: #67503e; letter-spacing: .5px; }
.nav-label > span { font-size: 12px; letter-spacing: 1px; padding-top: 2px; opacity: 1; }
nav { display: flex; flex-direction: column; gap: 6px; }
nav button { display: flex; width: 100%; align-items: center; gap: 13px; background: transparent; border: 1px solid transparent; color: #67503e; padding: 13px 15px; border-radius: 10px; text-align: left; font-size: 14px; transition: background .18s; }
nav button > .ui-icon { width: 19px; height: 19px; color: #67503e; }
nav button.active { background: #9f4428; color: #fff5e9; box-shadow: 0 4px 10px #a04d2520; }
nav button.active > .ui-icon { color: #f7dcc4; }
nav button:hover:not(.active) { background: #e8dfd2; }
.nav-active-dot { margin-left: auto; width: 4px; height: 4px; background: currentColor; border-radius: 50%; opacity: 0; }
.active .nav-active-dot { opacity: .7; }
.sidebar-bottom { margin-top: auto; padding-top: 35px; }
.sidebar-stamp { display: flex; align-items: center; gap: 10px; border-top: 1px solid #dfd2c0; padding: 22px 8px; font-size: 14px; color: #67503e; }
.sidebar-stamp .ui-icon { width: 23px; height: 23px; color: #67503e; }
.sidebar-stamp small { display: block; font-size: 12px; color: #67503e; margin-top: 6px; }
.service-status { display: flex; align-items: center; gap: 7px; font-size: 12px; padding: 10px 12px; border-radius: 7px; background: #eae1d3; color: #67503e; }
.service-status > span:last-child { margin-left: auto; color: #67503e; }
.status-dot { width: 5px; height: 5px; display: inline-block; background: #919267; border-radius: 50%; box-shadow: 0 0 0 3px #8e946013; }
.main-shell { margin-left: 242px; width: calc(100% - 242px); display: flex; flex-direction: column; }
header { height: 83px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; }
.breadcrumb { font-size: 14px; color: #67503e; }
.breadcrumb > span { margin: 0 13px; color: #67503e; }
.breadcrumb b { font-weight: 500; color: #67503e; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions > .badge { margin-right: 7px; }
.avatar { border-radius: 50%; background: #ead7c0; border: 3px solid #fffaf1; color: #67503e; font-size: 12px; width: 33px; height: 33px; display: grid; place-items: center; }
.admin-name { font-size: 14px; color: #67503e; }
.header-actions .text-button { font-size: 12px; color: #67503e; margin-left: 9px; }
main { padding: 14px 40px 38px; flex: 1; max-width: 1510px; width: 100%; margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; gap: 20px; }
.page-heading h1 { font-size: 29px; letter-spacing: -.5px; font-weight: 550; margin: 0 0 11px; color: #443628; }
.page-heading .eyebrow { margin-bottom: 8px; font-size: 12px !important; letter-spacing: 2.3px; }
.page-heading .muted { margin: 0; color: #67503e; }
.page-heading .secondary { font-size: 14px; padding: 11px 15px; }
.page-heading .secondary .ui-icon { width: 14px; height: 14px; }
.setup-banner { background: #f3e9d9; border: 1px solid #eadac3; border-radius: 12px; padding: 16px 19px; display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.banner-icon { width: 38px; height: 38px; border-radius: 10px; background: #ead8bb; color: #67503e; display: grid; place-items: center; flex-shrink: 0; }
.banner-icon .ui-icon { width: 21px; }
.setup-banner strong { font-size: 14px; color: #67503e; font-weight: 550; }
.setup-banner p { font-size: 12px; color: #67503e; margin: 6px 0 0; line-height: 1.8; }
.setup-banner .text-button { margin-left: auto; white-space: nowrap; color: #67503e; font-size: 14px; }
.section-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 16px; }
.section-top h2, .panel h2 { font-size: 14px; font-weight: 600; margin: 0; letter-spacing: .2px; color: #6b5140; }
.section-top > .muted { font-size: 12px; margin: 0; color: #67503e; }
/* Metrics and workspace cards */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-bottom: 24px; }
.stat { position: relative; overflow: hidden; border: 1px solid #e9dece; background: var(--paper); padding: 21px 22px 19px; border-radius: 14px; }
.stat:first-child { color: #ffefdb; background: #9f4428; border-color: #9f4428; }
.stat::after { content: ''; position: absolute; right: -28px; bottom: -30px; width: 110px; height: 110px; border: 1px solid #e8dbc757; border-radius: 50%; pointer-events: none; }
.stat::before { content: ''; position: absolute; right: -11px; bottom: -13px; width: 76px; height: 76px; border: 1px solid #e8dbc75e; border-radius: 50%; pointer-events: none; }
.stat:first-child::before, .stat:first-child::after { border-color: #e8b59640; }
.stat:nth-child(3) { background: #f5eddc; }
.stat:nth-child(4) { background: #efeae1; }
.stat-label { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #67503e; }
.stat-label span { display: grid; place-items: center; color: #67503e; background: #f0e7d8; border-radius: 7px; width: 25px; height: 25px; font-size: 15px; }
.stat:first-child .stat-label { color: #fffaf2; }
.stat:first-child .stat-label span { background: #cc80614d; color: #f7d4b4; }
.stat-value { font-size: 37px; font-weight: 450; letter-spacing: -1px; margin: 16px 0 13px; font-variant-numeric: tabular-nums; line-height: 1; }
.stat-caption { font-size: 12px; color: #67503e; }
.stat:first-child .stat-caption { color: #fffaf2; }
.overview-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 21px; margin-bottom: 23px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 24px 26px; box-shadow: 0 2px 3px #6e4b2c02; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid #f0e8dd; margin-bottom: 6px; gap: 10px; }
.panel-heading a, .panel-heading .text-button, .panel-heading .muted { font-size: 12px; }
.check-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px dashed #ede3d5; font-size: 14px; color: #67503e; }
.check-row:last-child { border-bottom: 0; }
.check-row > div { display: flex; gap: 12px; align-items: center; }
.check-number { border: 1px solid #eadbca; background: #fbf5ed; border-radius: 8px; width: 25px; height: 25px; display: grid; place-items: center; font-size: 12px; color: #67503e; }
.badge { display: inline-flex; align-items: center; border-radius: 5px; background: #f1ebe2; color: #67503e; padding: 4px 8px; font-size: 12px; line-height: 1.4; white-space: nowrap; font-weight: 500; }
.badge.green { background: #eef0e2; color: #495529; }
.badge.amber { background: #f3e5ce; color: #785018; }
.badge.red { background: #f9e6df; color: #963c2b; }
.badge.blue { background: #ece7f0; color: #674776; }
.flow-steps { list-style: none; padding: 13px 0 3px; margin: 0; }
.flow-steps li { position: relative; display: flex; gap: 18px; align-items: center; padding: 13px 0; }
.flow-steps li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 58px; bottom: -11px; border-left: 1px dashed #dbc6ab; }
.flow-steps li > span { border: 1px solid #ecd8c4; border-radius: 12px; width: 41px; height: 41px; display: grid; place-items: center; font-size: 14px; color: #67503e; background: #fbf1e6; flex-shrink: 0; font-family: Georgia,serif; }
.flow-steps li:nth-child(2) > span { background: #f4eddb; border-color: #e8dbbf; color: #67503e; }
.flow-steps li:nth-child(3) > span { background: #f0eddf; border-color: #e3dbc4; color: #67503e; }
.flow-steps strong { font-size: 14px; color: #67503e; font-weight: 500; }
.flow-steps p { font-size: 12px; color: #67503e; margin: 7px 0 0; line-height: 1.8; }
.event-row { display: flex; align-items: flex-start; gap: 13px; padding: 16px 0; border-bottom: 1px solid #f1e9df; }
.event-row:last-child { border-bottom: 0; }
.event-dot { width: 6px; height: 6px; border-radius: 50%; background: #c49972; margin: 7px 4px 0; box-shadow: 0 0 0 4px #f6eddf; flex-shrink: 0; }
.event-row strong { font-size: 14px; font-weight: 400; line-height: 1.8; color: #67503e; }
.event-row p { margin: 5px 0 0; color: #67503e; font-size: 12px; }
.event-row time { margin-left: auto; font-size: 12px; color: #67503e; white-space: nowrap; padding-top: 4px; }
.empty { padding: 62px 24px; text-align: center; color: #67503e; font-size: 14px; line-height: 1.9; }
.empty-symbol { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 17px; border: 1px solid #edddc7; border-radius: 19px; background: #faf2e7; font-size: 29px; color: #67503e; transform: rotate(-5deg); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; font-size: 14px; }
th { font-size: 12px; color: #67503e; background: #f6f0e6; text-align: left; font-weight: 500; padding: 15px 13px; }
th:first-child { border-radius: 8px 0 0 8px; }
th:last-child { border-radius: 0 8px 8px 0; }
td { padding: 19px 13px; border-bottom: 1px solid #f1e8dd; color: #67503e; }
td strong { font-weight: 500; }
tbody tr:hover { background: #fdf8f0; }
td .sub { display: block; color: #67503e; font-size: 12px; margin-top: 7px; }
td .badge { margin-right: 7px; }
.filters { display: flex; gap: 10px; margin-bottom: 22px; }
.filters input { flex: 1; min-width: 180px; }
.filters select { width: 136px; font-size: 14px; }
.filters .secondary { font-size: 14px; }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 21px; gap: 10px; }
.pagination .muted { font-size: 12px; }
.pagination > div { display: flex; gap: 8px; }
.small { font-size: 12px; padding: 8px 12px; border-radius: 7px; }
.inline-note { font-size: 14px; color: #67503e; background: #f3eadb; border: 1px solid #ebdfcd; border-radius: 10px; padding: 16px 19px; line-height: 1.9; margin: 21px 0; }
.endpoint { padding: 18px 0; }
.endpoint label { font-size: 14px; color: #67503e; font-weight: 400; margin: 0 0 11px; }
.endpoint code { display: block; background: #f6f0e7; border: 1px solid #eadecd; border-radius: 9px; padding: 15px; font-size: 14px; word-break: break-all; color: #67503e; line-height: 1.7; }
.protocol-note { font-size: 14px; line-height: 2; color: #67503e; margin-top: 10px; }
.protocol-note strong { font-weight: 500; color: #67503e; }
.config-meta { font-size: 14px; color: #67503e; padding-top: 13px; }
.config-meta p { display: flex; justify-content: space-between; gap: 12px; }
.config-meta strong { color: #67503e; font-weight: 500; }
.preparation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; padding-top: 21px; }
.preparation-grid > div { padding: 20px; border: 1px solid #efe4d5; border-radius: 11px; background: #fdf9f2; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #edddc5; font-size: 12px; color: #67503e; font-family: Georgia,serif; }
.preparation-grid h3 { font-size: 14px; font-weight: 500; margin: 16px 0 10px; color: #67503e; }
.preparation-grid p { font-size: 14px; color: #67503e; line-height: 1.9; margin-bottom: 0; }
.demo-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.demo-layout .panel { padding: 31px; }
.demo-layout .panel h2 { font-size: 22px; margin-bottom: 16px; color: #71513c; font-weight: 500; }
.demo-layout form > .primary { margin-top: 8px; }
.demo-explainer { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border: 1px solid #ead7bb; border-radius: 15px; background: #f1e5d1; color: #67503e; padding: 35px 20px; }
.demo-explainer::before, .demo-explainer::after { content: ''; position: absolute; width: 370px; height: 370px; border: 1px solid #e4d0b24a; border-radius: 50%; right: -160px; bottom: -180px; }
.demo-explainer::after { width: 290px; height: 290px; right: -120px; bottom: -140px; }
.demo-symbol { width: 90px; height: 90px; display: grid; place-items: center; border: 1px solid #e3c9a6; border-radius: 27px; background: #f9efde; color: #67503e; margin: 15px 0 24px; transform: rotate(-7deg); box-shadow: 0 12px 25px #a7773d0c; }
.demo-symbol .ui-icon { width: 37px; height: 37px; }
.demo-explainer h2 { font-size: 20px; font-weight: 500; color: #67503e; }
.demo-explainer p { font-size: 14px; line-height: 2.2; }
footer { padding: 22px 40px; color: #67503e; font-size: 12px; border-top: 1px solid #ece2d4; display: flex; justify-content: space-between; letter-spacing: .5px; }
/* Dialogs and feedback */
dialog { border: 1px solid #e5d8c5; border-radius: 19px; padding: 31px; width: 580px; max-width: calc(100vw - 28px); max-height: 90vh; color: var(--ink); background: #fffcf6; box-shadow: 0 25px 100px #6b402b2b; }
dialog::backdrop { background: #3a291975; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.dialog-heading .eyebrow { margin-bottom: 8px; }
.dialog-heading h2 { font-size: 23px; margin: 0; font-weight: 500; color: #6d4e37; }
.icon-button { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #e7d8c6; background: #f7eddf; color: #67503e; font-size: 22px; border-radius: 50%; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.checkbox-label { display: flex; align-items: center; gap: 9px; font-size: 14px; margin-top: 23px; font-weight: 400; line-height: 1.8; }
.checkbox-label input { width: 14px; margin: 0; accent-color: var(--accent); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; padding-top: 20px; border-top: 1px solid #efe4d5; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 14px; padding: 21px; background: #f8f0e4; border: 1px solid #eddfcb; border-radius: 12px; color: #67503e; }
.detail-grid .wide { grid-column: 1/-1; }
.detail-grid label { font-size: 12px; color: #67503e; font-weight: 400; margin: 0 0 8px; }
.detail-grid code { font-size: 14px; word-break: break-all; }
.timeline-heading { font-size: 14px; font-weight: 500; color: #67503e; margin-top: 25px; }
#toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: #674631; color: #fff1dd; border: 1px solid #8a6040; border-radius: 11px; padding: 15px 23px; box-shadow: 0 7px 30px #70492225; z-index: 20; font-size: 14px; max-width: 90vw; }
/* Responsive layouts */
@media (min-width: 1500px) {
  .login-story { padding: 44px 11%; } .login-editorial { padding-top: 55px; }
  .connection-art { margin-top: 32px; height: 300px; } .login-description { font-size: 14px; }
  .login-form { width: 370px; } main { padding-top: 25px; } .stats { gap: 22px; }
  .stat { padding: 25px; } .stat-value { font-size: 43px; margin: 21px 0 17px; }
  .overview-grid { gap: 24px; }
}
@media (max-width: 1100px) {
  aside { width: 212px; padding: 28px 16px 18px; } .main-shell { margin-left: 212px; width: calc(100% - 212px); }
  main { padding: 15px 25px 30px; } header { padding: 0 25px; height: 74px; }
  .stats { gap: 10px; } .stat { padding: 18px 15px; } .stat-value { font-size: 31px; }
  .stat-label span { width: 22px; height: 22px; } .stat-caption { font-size: 12px; }
  .overview-grid { gap: 16px; } .panel { padding: 21px; }
  .login-story { padding: 30px 8%; } .login-editorial { padding-top: 38px; }
  .login-story h1 { font-size: 31px; } .login-story .eyebrow { font-size: 12px !important; letter-spacing: 1.3px; }
  .login-form-wrap { padding: 75px 32px; } .login-form { width: 310px; }
  .art-card { width: 163px; padding: 11px; gap: 8px; } .art-card small { font-size: 12px; }
  .card-recharge { right: -8px; } .login-footer { flex-direction: column; gap: 8px; }
  .connection-art { height: 250px; } .card-result { left: 0; }
  .preparation-grid { gap: 12px; } .preparation-grid > div { padding: 16px; }
}
@media (max-width: 850px) {
  .login-layout { grid-template-columns: .95fr 1fr; padding: 12px; gap: 3px; }
  .login-story { min-height: calc(100vh - 24px); padding: 27px 25px; }
  .login-story h1 { font-size: 26px; letter-spacing: -.5px; }
  .login-description { font-size: 14px; } .login-story .eyebrow { font-size: 12px !important; letter-spacing: .7px; }
  .login-form-wrap { padding: 75px 27px; } .login-form h2 { font-size: 28px; }
  .art-card { width: 155px; padding: 11px; } .card-order { left: -6px; } .card-recharge { right: -6px; top: 110px; } .card-result { left: -6px; }
  .art-center { top: 118px; width: 64px; height: 64px; } .orbit-one { width: 180px; height: 180px; top: 45px; } .orbit-two { width: 230px; height: 230px; top: 20px; }
  .overview-grid { grid-template-columns: 1fr; } .setup-banner .text-button { display: none; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 14px; } .stat { padding: 22px; }
  .demo-layout { grid-template-columns: 1fr; } .demo-explainer { padding: 25px; }
  .demo-explainer p br { display: none; } .demo-symbol { width: 61px; height: 61px; margin: 0 0 10px; border-radius: 17px; }
  .preparation-grid { grid-template-columns: 1fr; } .preparation-grid > div { padding: 20px; }
  .event-row time { white-space: normal; max-width: 90px; text-align: right; }
  .admin-name { display: none; }
}
@media (max-width: 600px) {
  .login-layout { display: block; padding: 0; }
  .login-story { min-height: auto; border-radius: 0 0 22px 22px; padding: 23px 27px 29px; }
  .login-story .brand { font-size: 21px; } .login-editorial { padding-top: 29px; }
  .login-story h1 { font-size: 26px; margin: 12px 0 0; line-height: 1.5; }
  .login-editorial .eyebrow { margin-bottom: 7px; font-size: 12px !important; }
  .login-description, .connection-art, .login-footer { display: none; }
  .login-form-wrap { min-height: auto; padding: 33px 28px 65px; }
  .login-top-note, .login-welcome-icon, .login-form > .eyebrow { display: none; }
  .login-form { width: 100%; max-width: 390px; } .login-form h2 { font-size: 25px; }
  .login-form > .muted { margin-bottom: 27px; } .login-bottom-note { bottom: 14px; font-size: 12px; }
  .shell { display: block; } aside { position: static; width: 100%; padding: 20px 17px 13px; border: 0; border-bottom: 1px solid #e9dcca; }
  aside .brand { padding-left: 1px; font-size: 21px; } .workspace-name, .nav-label, .sidebar-bottom { display: none; }
  nav { flex-direction: row; justify-content: space-between; gap: 3px; margin-top: 20px; }
  nav button { flex: 1; min-width: 0; flex-direction: column; gap: 7px; font-size: 12px; padding: 11px 4px; border-radius: 9px; white-space: nowrap; }
  nav button > .ui-icon { width: 17px; height: 17px; } .nav-active-dot { display: none; }
  .main-shell { margin: 0; width: 100%; } header { height: 61px; padding: 0 19px; }
  .breadcrumb { font-size: 12px; } .breadcrumb > span { margin: 0 8px; }
  .header-actions { gap: 7px; } .header-actions .text-button { margin-left: 3px; font-size: 12px; }
  .avatar { width: 27px; height: 27px; font-size: 12px; border-width: 2px; }
  .header-actions > .badge { margin-right: 0; font-size: 12px; }
  main { padding: 17px 18px 30px; } .page-heading { margin-bottom: 23px; gap: 12px; }
  .page-heading h1 { font-size: 25px; } .page-heading .eyebrow { font-size: 12px !important; letter-spacing: 1.4px; }
  .page-heading .muted { font-size: 12px; } .page-heading .secondary { padding: 9px 10px; font-size: 12px; gap: 6px; }
  .page-heading .secondary .ui-icon { width: 12px; height: 12px; }
  .setup-banner { padding: 13px; gap: 11px; margin-bottom: 24px; }
  .setup-banner p { font-size: 12px; } .setup-banner strong { font-size: 14px; }
  .banner-icon { width: 32px; height: 32px; border-radius: 9px; }
  .section-top { align-items: center; gap: 12px; } .section-top h2 { white-space: nowrap; font-size: 14px; }
  .section-top > .muted { font-size: 12px; } .section-top > p.muted { max-width: 65%; }
  .section-top .primary { font-size: 12px; padding: 10px 12px; }
  .stats { gap: 11px; } .stat { padding: 17px; border-radius: 12px; } .stat-label { font-size: 12px; }
  .stat-value { font-size: 34px; margin: 17px 0 13px; } .stat-caption { font-size: 12px; }
  .panel { padding: 19px; border-radius: 13px; } .panel h2 { font-size: 14px; }
  .panel-heading .muted { font-size: 12px; } .panel-heading a { font-size: 12px; }
  .filters { flex-wrap: wrap; } .filters input { flex-basis: 100%; }
  .filters select { flex: 1; min-width: 80px; width: auto; font-size: 12px; padding: 11px; }
  .filters .secondary { padding: 10px 14px; font-size: 12px; }
  .empty { padding: 48px 12px; font-size: 14px; } .inline-note { font-size: 12px; padding: 14px; }
  .event-row strong { font-size: 12px; } .event-row time { max-width: 68px; font-size: 12px; }
  .demo-layout .panel { padding: 22px; } .demo-layout .panel h2 { font-size: 21px; }
  .demo-explainer h2 { font-size: 18px; } .demo-explainer p { font-size: 14px; }
  footer { padding: 20px 18px; font-size: 12px; } dialog { padding: 24px; }
  .form-grid { gap: 12px; } .detail-grid { gap: 18px; padding: 18px; font-size: 14px; }
  .detail-grid .wide { grid-column: 1/-1; } .dialog-heading h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* Readable warm theme: body copy remains legible at every breakpoint. */
body { line-height: 1.6; }
input::placeholder { opacity: 1; }
.stat-caption, .event-row p, .event-row time { line-height: 1.65; }
.badge, .stat-label, .check-row, th { font-weight: 600; }
.stat-value { font-weight: 550; }
.page-heading h1, .panel h2, .dialog-heading h2 { font-weight: 650; }
.login-story .eyebrow { letter-spacing: 1px; }
.stat { min-width: 0; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .overview-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .page-heading { align-items: flex-start; } .section-top { flex-wrap: wrap; } .form-grid { grid-template-columns: 1fr; gap: 0; } .header-actions { gap: 5px; } .breadcrumb > span { margin: 0 5px; } }
