/* Mildly awkward v0.1: utilitarian, slightly dated, and deliberately unpolished. */
body[data-theme="v0.1"] {
  color-scheme: light;
  --bg:#deded7; --panel:#eeede6; --panel-soft:#e2e4df;
  --border:#a4a39b; --muted:#62615d; --text:#292b2b;
  --cyan:#235c73; --green:#22603e; --purple:#66506c; --red:#982b35;
  --font:Tahoma,Arial,sans-serif;
  background:#deded7;
}
body[data-theme="v0.1"] .rail { background:#c8cbc7; border-right:2px solid #989e98; }
body[data-theme="v0.1"] .brand { background:#bbc3bd; color:#42564e; border-bottom:2px solid #939b95; }
body[data-theme="v0.1"] .rail-button { color:#505a54; border-radius:2px; }
body[data-theme="v0.1"] .rail-button.active { background:#e4e6d7; color:#354c44; border:1px solid #a1a796; }
body[data-theme="v0.1"] .rail-button:hover { background:#dce0d7; }
body[data-theme="v0.1"] .rail-bottom { color:#535e55; }
body[data-theme="v0.1"] .topbar { background:#c8cdbf; border-bottom:3px double #8c9588; }
body[data-theme="v0.1"] .product { color:#354639; font:700 24px Georgia,serif; letter-spacing:.2px; }
body[data-theme="v0.1"] #mode-label { color:#58614f; font:11px Tahoma,Arial,sans-serif; }
body[data-theme="v0.1"] .release-label { padding:3px 6px; color:#57543d; background:#e2ddc3; border:1px solid #a7a089; font:11px "Courier New",monospace; }
body[data-theme="v0.1"] .account { background:#e1e3d7; color:#354639; border:2px outset #a2ac9b; border-radius:3px; }
body[data-theme="v0.1"] .connection { color:#4f5b50; }
body[data-theme="v0.1"] .breadcrumb { color:#74756c; letter-spacing:.8px; }
body[data-theme="v0.1"] .breadcrumb span:last-child { color:#5f665c; }
body[data-theme="v0.1"] .eyebrow { color:#6c684d; letter-spacing:1.3px; }
body[data-theme="v0.1"] h1 { color:#414d40; font-family:Georgia,"Times New Roman",serif; font-weight:700; letter-spacing:0; }
body[data-theme="v0.1"] .page-heading { border-left:4px solid #a8ab92; padding-left:13px; }
body[data-theme="v0.1"] .page-heading p { color:#6c6a60; }
body[data-theme="v0.1"] .summary-card { background:#e9e9df; border:1px solid #a6ab9e; border-radius:2px; box-shadow:2px 2px 0 #bfc3b7; padding:16px 18px 19px; }
body[data-theme="v0.1"] .summary-card:nth-child(2n) { background:#e7e4d9; }
body[data-theme="v0.1"] .summary-label { color:#6a6a5d; font-size:10px; letter-spacing:.5px; }
body[data-theme="v0.1"] .summary-value { color:#3f4b3e; font-family:"Courier New",monospace; font-size:31px; letter-spacing:0; }
body[data-theme="v0.1"] .metric-icon { color:#677467; }
body[data-theme="v0.1"] .button { background:#d8ddd3; color:#344238; border:2px outset #b2bbaa; border-radius:2px; padding:8px 12px; box-shadow:none; font-family:Tahoma,Arial,sans-serif; }
body[data-theme="v0.1"] .button:hover { background:#e5e9de; border-color:#9aa791; }
body[data-theme="v0.1"] .button.primary { background:#c6cdb2; color:#303f2a; border-color:#9da887; }
body[data-theme="v0.1"] .button.subtle { background:#e1e3d9; }
body[data-theme="v0.1"] .button.danger { background:#982b35; color:#fff; border-color:#b9767d; }
body[data-theme="v0.1"] .button.close-circuit { background:#22603e; color:#fff; border-color:#6a9379; }
body[data-theme="v0.1"] .button.qr-button { background:#d4dfca; color:#345239; border-color:#a3b49a; }
body[data-theme="v0.1"] .button.schedule { background:#d2dde0; color:#28586a; border-color:#9fb3b9; }
body[data-theme="v0.1"] .button.text { background:#e2e3d9; border:1px solid #b2b6a7; color:#555e50; }
body[data-theme="v0.1"] .button.text.danger { color:#982b35; }
body[data-theme="v0.1"] .board-toolbar { background:#d4d8cb; border:1px solid #a4ad9b; padding:14px 11px; }
body[data-theme="v0.1"] .section-heading { border-bottom:1px dotted #a5aa99; padding-bottom:7px; }
body[data-theme="v0.1"] .cloud-card,body[data-theme="v0.1"] .device-card { background:#eeede6; border:1px solid #a9ad9f; border-radius:3px; padding:22px 19px 20px 23px; box-shadow:2px 2px 0 #c5c8bb; }
body[data-theme="v0.1"] .cloud-card:nth-child(2n),body[data-theme="v0.1"] .device-card:nth-child(2n) { background:#e7e9df; }
body[data-theme="v0.1"] .cloud-card h2 { font-family:Georgia,serif; color:#4c5546; letter-spacing:0; }
body[data-theme="v0.1"] .device-name { color:#414a3c; font-family:Arial,sans-serif; }
body[data-theme="v0.1"] .device-meta { color:#6b6e62; }
body[data-theme="v0.1"] .badge { background:#e4e1cb; color:#676048; border:1px solid #b7b195; border-radius:1px; }
body[data-theme="v0.1"] .badge.shelly { background:#e4dce5; color:#66506c; border-color:#baacbe; }
body[data-theme="v0.1"] .badge.tuya { background:#d8e2e7; color:#33566b; border-color:#a3b7c2; }
body[data-theme="v0.1"] .badge.equipment { background:#e4e6dd; color:#626955; border-color:#b2b9a2; }
body[data-theme="v0.1"] .status { border-radius:2px; }
body[data-theme="v0.1"] .telemetry-grid { background:#e0e3d7; border:2px inset #c2c9b8; border-radius:1px; }
body[data-theme="v0.1"] .telemetry-label { color:#6a6c5d; letter-spacing:.3px; }
body[data-theme="v0.1"] .telemetry-value { color:#343c31; font-family:"Courier New",monospace; }
body[data-theme="v0.1"] .telemetry-value[data-metric=current],body[data-theme="v0.1"] .telemetry-value[data-metric=power_kw] { color:#235c73; }
body[data-theme="v0.1"] .phase-bar { background:#e2e5da; border-color:#b9c1ae; border-radius:1px; }
body[data-theme="v0.1"] .phase-name { color:#596c57; }
body[data-theme="v0.1"] .meter-label { color:#66506c; }
body[data-theme="v0.1"] input,body[data-theme="v0.1"] select { background:#f6f5ec; color:#333a2f; border:2px inset #c0c7b4; border-radius:1px; }
body[data-theme="v0.1"] input::placeholder { color:#858677; }
body[data-theme="v0.1"] label { color:#59604f; letter-spacing:.3px; }
body[data-theme="v0.1"] dialog { background:#e9eadf; border:3px ridge #b7c0a9; border-radius:2px; box-shadow:7px 7px 0 #69715f45; }
body[data-theme="v0.1"] dialog::backdrop { background:#333b32a8; backdrop-filter:none; }
body[data-theme="v0.1"] .modal-header { background:#d4dac7; border-bottom:3px double #a8b196; }
body[data-theme="v0.1"] .modal-header h2 { color:#47563f; font-family:Georgia,serif; }
body[data-theme="v0.1"] .icon-button { color:#69715f; }
body[data-theme="v0.1"] .panel,body[data-theme="v0.1"] .disc-item,body[data-theme="v0.1"] .rule { background:#e0e3d5; border:1px solid #b4bda5; border-radius:2px; }
body[data-theme="v0.1"] .rule-name { color:#4e5845; }
body[data-theme="v0.1"] .notice { background:#eee3c5; color:#6d5529; border:1px dashed #b8a26f; border-radius:1px; }
body[data-theme="v0.1"] .notice.info { background:#dce5dc; color:#3c5f50; border-color:#9fb9a6; }
body[data-theme="v0.1"] .empty-state { background:#e4e6d9; color:#717562; border:2px dotted #b0b79e; border-radius:1px; }
body[data-theme="v0.1"] .empty-state strong { color:#5e6a51; }
body[data-theme="v0.1"] .login-overlay { background:repeating-linear-gradient(0deg,#d8dcce 0 39px,#d0d5c6 39px 40px); }
body[data-theme="v0.1"] .login-card { background:#e9eadb; border:3px ridge #b4bda2; border-radius:2px; box-shadow:7px 7px 0 #aab49c; padding:30px 29px 34px 27px; }
body[data-theme="v0.1"] .login-mark { background:#d1d9bd; color:#586d48; border-radius:2px; border:2px outset #b0bc9b; }
body[data-theme="v0.1"] .login-note { color:#777e68; }
body[data-theme="v0.1"] footer { color:#727a67; border-top:3px double #aeb69e; }
body[data-theme="v0.1"] .muted { color:#747967; }
body[data-theme="v0.1"] .form-hint { color:#6c7360; }
body[data-theme="v0.1"] .dashboard-choices { background:#e4e8d8; border:2px groove #b6c0a5; border-radius:1px; }
body[data-theme="v0.1"] .dashboard-choices legend { color:#59694c; }
body[data-theme="v0.1"] .error-text { color:#982b35!important; }
@media(max-width:450px) { body[data-theme="v0.1"] .product { font-size:20px; gap:8px; } body[data-theme="v0.1"] .release-label { font-size:10px; padding:3px 4px; } }
/* Second pass: mildly confusing hierarchy and inconsistent visual rhythm. */
body[data-theme="v0.1"] main { padding-top:16px; }
body[data-theme="v0.1"] h1 { font:500 21px/1.5 Tahoma,Arial,sans-serif; color:#5c6252; letter-spacing:1px; margin:7px 0 4px; }
body[data-theme="v0.1"] .eyebrow { font-size:11px; font-weight:400; letter-spacing:2px; color:#70745f; }
body[data-theme="v0.1"] .breadcrumb { font-size:11px; letter-spacing:1.5px; padding:5px 0; }
body[data-theme="v0.1"] .page-heading { background:#d5d9cb; border-left:2px dotted #a8ad9a; padding:10px 8px 8px 14px; margin:11px 0 17px; }
body[data-theme="v0.1"] .page-heading p { font:12px/1.65 "Courier New",monospace; max-width:470px; }
body[data-theme="v0.1"] .section-heading h2 { font-size:12px; font-weight:400; letter-spacing:2px; color:#646a59; }
body[data-theme="v0.1"] .cloud-summary { gap:7px 16px; margin-bottom:19px; }
body[data-theme="v0.1"] .summary-card { padding:10px 13px 13px; background:#dadfd1; box-shadow:none; border-style:dotted; }
body[data-theme="v0.1"] .summary-card:nth-child(2n) { padding-top:17px; background:#d5dacb; border-style:solid; }
body[data-theme="v0.1"] .summary-label { font:11px/1.6 "Courier New",monospace; letter-spacing:1px; color:#646d57; }
body[data-theme="v0.1"] .summary-value { font:400 21px/1.5 Tahoma,Arial,sans-serif; margin:6px 0 2px; color:#536047; }
body[data-theme="v0.1"] .cloud-grid { gap:11px 22px; }
body[data-theme="v0.1"] .cloud-card { background:#dbe0d0; box-shadow:none; padding:12px 18px 17px 14px; border-style:dashed; }
body[data-theme="v0.1"] .cloud-card:nth-child(2n) { padding:19px 12px 11px 19px; background:#d6dccb; border-style:solid; }
body[data-theme="v0.1"] .cloud-card h2 { font:400 16px/1.6 Tahoma,Arial,sans-serif; letter-spacing:1px; margin:8px 0 6px; color:#5a634e; }
body[data-theme="v0.1"] .cloud-card p { font-size:11px; line-height:1.75; color:#59654e; }
body[data-theme="v0.1"] .cloud-card-stats { font:12px/1.5 "Courier New",monospace; color:#59664b; gap:13px; margin:9px 0 6px; }
body[data-theme="v0.1"] .cloud-actions { gap:5px; align-items:baseline; }
body[data-theme="v0.1"] .cloud-card-actions { gap:5px 8px; align-items:baseline; margin-top:13px; }
body[data-theme="v0.1"] .cloud-actions .button,body[data-theme="v0.1"] .cloud-card-actions .button { font-size:10px; font-weight:400; background:#d4daca; color:#49563e; border:1px solid #a2ad94; padding:7px 9px; min-height:31px; }
body[data-theme="v0.1"] .cloud-actions .button:nth-child(2n),body[data-theme="v0.1"] .cloud-card-actions .button:nth-child(2n) { margin-top:5px; border-style:dashed; font-family:"Courier New",monospace; }
body[data-theme="v0.1"] .cloud-card-actions .button.text.danger { color:#982b35; }
body[data-theme="v0.1"] .cloud-board-inventory { margin-top:23px; padding-left:9px; border-left:1px dotted #a3ae94; }
body[data-theme="v0.1"] .cloud-card .badge.equipment,body[data-theme="v0.1"] .cloud-card .badge:not(.shelly):not(.tuya) { background:#d5dcc8; color:#626e52; border-style:dotted; letter-spacing:1.5px; }
body[data-theme="v0.1"] .login-card h1 { font-size:22px; font-family:Tahoma,Arial,sans-serif; font-weight:400; }
body[data-theme="v0.1"] .login-card label { font-size:11px; font-family:"Courier New",monospace; }
body[data-theme="v0.1"] .modal-header h2 { font:500 18px/1.4 Tahoma,Arial,sans-serif; }
body[data-theme="v0.1"] .panel h3,body[data-theme="v0.1"] .user-editor h3,body[data-theme="v0.1"] .dashboard-editor h3 { font:400 14px/1.6 "Courier New",monospace; }
/* Understated equipment controls, with readable state and action labels. */
body[data-theme="v0.1"] .device-card .status { background:#e1e3d9; border:1px dotted #a4ad9b; border-radius:0; font-weight:400; letter-spacing:.3px; box-shadow:none; }
body[data-theme="v0.1"] .device-card .status.closed,body[data-theme="v0.1"] .device-card .status.sensing { color:#22603e; }
body[data-theme="v0.1"] .device-card .status.open,body[data-theme="v0.1"] .device-card .status.offline { color:#982b35; }
body[data-theme="v0.1"] .device-card .device-actions .button { background:#d8ddd3; border:1px solid #a4ad9b; border-radius:0; box-shadow:none; font-weight:400; }
body[data-theme="v0.1"] .device-card .device-actions .button.danger { color:#982b35; }
body[data-theme="v0.1"] .device-card .device-actions .button.close-circuit { color:#22603e; }
body[data-theme="v0.1"] .device-card .device-actions .button:hover { background:#e5e9de; border-color:#7c896f; }
