:root{color-scheme:light;--ink:#203631;--muted:#73807b;--paper:#f5f6f0;--green:#246a51;--line:#dce3da}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}header{height:84px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff9}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:22px;font-weight:650}.brand small{font-size:13px;font-weight:400;color:var(--muted);margin-left:12px}.logo{display:grid;place-items:center;width:42px;height:42px;background:var(--green);color:white;border-radius:14px;font-size:21px}.header-right{display:flex;align-items:center;gap:20px;font-size:12px;color:var(--muted)}.quiet{border:1px solid var(--line);background:white;padding:8px 14px;border-radius:9px;color:var(--ink)}.login{max-width:480px;margin:70px auto;padding:0 24px}.eyebrow{font-size:11px;letter-spacing:.1em;color:var(--green);font-weight:650}.login h1{font-size:46px;line-height:1.3;letter-spacing:-1.8px;margin:20px 0}.login p{font-size:14px;line-height:1.9;color:var(--muted)}form{margin-top:34px}label{display:block;font-size:12px;margin-bottom:10px}input{width:100%;border:1px solid #c9d4cb;border-radius:11px;background:white;padding:15px;outline:none}input:focus{border-color:var(--green);box-shadow:0 0 0 3px #246a5115}form button{width:100%;background:var(--green);color:white;border:0;border-radius:11px;padding:14px 18px;margin-top:14px;display:flex;justify-content:space-between}#login-error{color:#a6372d;min-height:20px}.privacy{border-top:1px solid var(--line);padding-top:18px;font-size:12px;line-height:1.9;color:var(--muted)}.workspace{max-width:1280px;margin:30px auto;display:grid;grid-template-columns:285px 1fr;gap:24px;padding:0 24px}aside{padding:10px 0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:16px;margin:0}.section-heading span{font-size:10px;color:var(--muted)}.session{width:100%;border:1px solid transparent;border-radius:13px;padding:16px;text-align:left;display:block;background:transparent;color:var(--ink);margin-bottom:8px}.session.active{background:#e4ece3;border-color:#cddccc}.session strong{font-size:14px;display:block;font-weight:550}.session span{display:block;font-size:11px;color:var(--muted);margin-top:8px}.pager{display:flex;justify-content:space-between;margin:20px 0}#retention{font-size:11px;line-height:1.8;color:var(--muted);padding:0 10px}.conversation{background:white;border:1px solid var(--line);border-radius:20px;min-height:65vh;overflow:hidden}.conversation-top{padding:28px 32px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px}.conversation-top h1{font-size:22px;letter-spacing:-.5px;margin:9px 0 0}.pill{font-size:11px;background:#eff3ec;padding:7px 10px;border-radius:99px;white-space:nowrap}.notice{padding:13px 32px;background:#faf9f2;color:#8a8063;font-size:11px;line-height:1.8;border-top:1px solid #f2eee1;border-bottom:1px solid #f2eee1}#messages{padding:28px 32px;display:flex;flex-direction:column;gap:24px}.message{max-width:86%;align-self:flex-start}.message.user{align-self:flex-end}.message .meta{font-size:11px;color:var(--muted);margin-bottom:8px}.message.user .meta{text-align:right}.bubble{background:#f1f4ee;border-radius:4px 16px 16px;padding:15px 18px;line-height:1.85;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.user .bubble{background:#285e4e;color:#fff;border-radius:16px 4px 16px 16px}.state{font-size:10px;color:#829087;margin-top:7px;line-height:1.6}.user .state{text-align:right}.interrupted .bubble{color:#8a8063;background:#faf7eb;font-size:13px}.empty{margin:70px auto;text-align:center;color:var(--muted);font-size:15px;line-height:2}.empty span{font-size:12px}footer{font-size:10px;text-align:center;color:var(--muted);padding:16px}#earlier-messages{display:block;margin:18px auto 0}@media(max-width:720px){header{height:70px;padding:0 18px}.brand small{margin-left:5px}.header-right{gap:8px;font-size:10px}.login{margin:45px auto}.login h1{font-size:38px}.workspace{display:block;padding:0 12px;margin:14px auto}aside{padding:0 3px}#sessions{display:flex;gap:6px;overflow-x:auto}.session{min-width:190px;max-width:230px}.section-heading{margin:14px 0}.pager{justify-content:flex-end;gap:10px;margin:8px 0}#retention{display:none}.conversation-top{padding:22px 20px}.conversation-top h1{font-size:18px}.notice{padding:12px 20px}#messages{padding:22px 18px}.message{max-width:94%}.conversation{border-radius:15px}}

.device-panel{max-width:1280px;margin:28px auto 0;padding:0 24px}.device-note{font-size:12px;line-height:1.7;color:var(--muted)}#devices{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.device-card{background:white;border:1px solid var(--line);border-radius:14px;padding:16px;text-align:left;color:var(--ink);min-height:100px}.device-card.active{border-color:var(--green);box-shadow:0 0 0 1px var(--green)}.device-card strong{font-size:15px;display:block;margin-bottom:9px}.device-card small{display:block;font-size:11px;line-height:1.8;color:var(--muted)}.device-state{font-size:12px;display:block;margin:8px 0;color:#737d78}.device-state.connected,.device-state.chatting{color:#146843;font-weight:600}.device-state.chatting:before{content:'● ';color:#26a66a}.device-state.connected:before{content:'● ';color:#72a381}.workspace{margin-top:18px}@media(max-width:720px){.device-panel{padding:0 15px;margin-top:18px}#devices{grid-template-columns:1fr 1fr}.device-card{padding:12px;min-width:0}.device-card strong{font-size:13px}.device-card small{font-size:10px}.brand{font-size:19px}}@media(max-width:360px){#devices{grid-template-columns:1fr}}

.device-entry{display:flex;flex-direction:column;min-width:0}.device-entry .device-card{width:100%;flex:1}.device-setup{font-size:13px;color:var(--green);padding:10px 14px;text-align:right}.setup-page{max-width:760px;margin:30px auto;padding:0 20px;line-height:1.8}.setup-box{background:white;border:1px solid var(--line);border-radius:15px;padding:22px;margin:22px 0;overflow-wrap:anywhere}.setup-page h1{font-size:25px}.setup-page h2{font-size:19px}.setup-page select{font:inherit;padding:12px;width:100%}.setup-page label{margin-top:15px}.setup-page .check input{width:auto}.setup-page p{font-size:14px}.setup-page a{color:var(--green)}#feedback{color:var(--green)}
@media(max-width:480px){header{height:auto;min-height:70px;gap:8px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}.brand small{display:block;margin:0}.header-right{flex-wrap:wrap;justify-content:flex-end;gap:6px}}

/* Plan choices keep native checkboxes beside their labels on all screen sizes. */
#weekdays,#recipients{display:flex;flex-wrap:wrap;gap:8px 12px;min-width:0;margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:10px}
#weekdays legend,#recipients legend{padding:0 6px;font-size:14px}
#weekdays label,#recipients label{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;margin:0;padding:8px 10px;min-height:44px;font-size:14px;white-space:nowrap;cursor:pointer}
#weekdays input[type=checkbox],#recipients input[type=checkbox]{appearance:auto;display:inline-block;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;border-radius:3px;accent-color:var(--green);vertical-align:middle}

/* Weekly plan calendar: scroll within the embedded device page on small screens. */
.calendar-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0}.calendar-toolbar button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 14px;min-height:44px}.calendar-toolbar button[aria-pressed=true]{background:var(--green);color:white}.calendar-toolbar strong{font-size:14px}#calendar-note{font-size:13px;line-height:1.7;color:var(--muted)}#calendar-grid{overflow:auto;max-height:620px;border:1px solid var(--line);border-radius:12px;background:white}.week-table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:13px}.week-table th,.week-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:5px;vertical-align:top;height:52px}.week-table thead th{position:sticky;top:0;background:#f0f5ef;z-index:2;height:44px;text-align:center;padding:12px 4px}.week-table th:first-child{width:58px;position:sticky;left:0;background:#f8faf6;z-index:1;font-weight:500;color:var(--muted)}.week-table thead th:first-child{z-index:3}.week-table .calendar-today{background:#eef7ef}.week-table button.calendar-event{display:flex;flex-direction:column;gap:3px;width:100%;text-align:left;border:0;border-left:3px solid var(--green);border-radius:6px;padding:7px;background:#deece3;color:#173f32;margin:2px 0 5px;min-height:44px;overflow-wrap:anywhere}.calendar-event small{font-size:11px;color:#466451}.calendar-event:hover,.calendar-event:focus-visible{background:#cadfcf;outline:2px solid #246a51}#plan-views{margin:22px 0;padding:4px 0 16px;border-bottom:1px solid var(--line)}

.week-table button.calendar-add{width:100%;min-height:38px;border:1px dashed #c9d4cb;background:transparent;color:#527164;border-radius:6px;font-size:12px;text-align:left;padding:6px}.week-table button.calendar-add:hover,.week-table button.calendar-add:focus-visible{background:#e4ece3;border-color:#246a51}

/* Roomier desktop device settings without changing phone-width layouts. */
@media(min-width:1000px){
 .setup-page{max-width:1440px;width:calc(100% - 64px);padding:0 24px}
 .setup-box{padding:28px}
 .plans-page .device-panel{max-width:1440px;padding:0 28px}
 #plans-frame{height:1100px}
}
#plans-frame{display:block;max-width:100%;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.plans-page #create{max-width:820px}
.plans-page #claim,.plans-page #family-add{max-width:720px}
@media(max-width:600px){
 .setup-page{width:100%;padding:0 10px;margin:16px auto}
 .setup-box{padding:14px;margin:14px 0}
 .plans-page .device-panel{padding:0 10px}
 .plans-page header h1{font-size:23px}
 .calendar-toolbar{gap:6px}
 .calendar-toolbar button{padding:9px 11px}
 .calendar-toolbar strong{flex-basis:100%}
 #calendar-grid{max-height:560px}
}
.calendar-context-menu{position:fixed;z-index:1000;padding:6px;background:#fff;border:1px solid #c6d2cb;border-radius:10px;box-shadow:0 8px 28px #0003;max-width:calc(100vw - 16px)}
.calendar-context-menu[hidden]{display:none}
.calendar-context-menu button{display:block;width:auto;max-width:100%;margin:0;padding:12px 18px;background:#fff;color:#a12828;text-align:left;border:0}
.calendar-context-menu button:hover,.calendar-context-menu button:focus-visible{background:#fff0ee;outline:2px solid #a12828;outline-offset:-2px}

/* Topic dashboard: external styles required by the page CSP. */

.interest-topic-card{margin:28px 0;padding:24px;border:2px solid #b9cfc3;border-radius:16px;background:#fff;box-shadow:0 3px 12px #153d2910}
.interest-topic-title{font-size:32px!important;line-height:1.35;margin:0 0 22px!important;color:#163f32;overflow-wrap:anywhere}
.interest-topic-form{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr);gap:14px;align-items:end;margin-bottom:18px}
.interest-topic-card label{display:block;font-size:16px;font-weight:600;margin:12px 0}
.interest-topic-card input:not([type=checkbox]),.interest-topic-card select{display:block;box-sizing:border-box;width:100%;font-size:18px;padding:12px;margin-top:8px;border:1px solid #9ab5a8;border-radius:8px}
.interest-topic-card input[type=checkbox]{width:auto;margin:0 8px;vertical-align:middle}
.interest-topic-card button{width:auto;max-width:100%;margin:6px 8px 6px 0;padding:10px 16px}
.interest-topic-card article{border:1px solid #d4dfd8;border-radius:10px;padding:16px;margin:12px 0;background:#fafcfb}
.interest-topic-card article h5{font-size:19px;margin:0 0 10px}.interest-topic-card a{overflow-wrap:anywhere}
.interest-topic-form p{grid-column:1/-1}
.topic-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:24px 0}
.topic-category-module{min-width:0;text-align:center}
.topic-category-heading{font-size:25px!important;font-weight:650;line-height:1.4;margin:0 0 16px!important;text-align:center}
.topic-category-tile{width:100%;min-height:210px;margin:0;padding:0;border:1px solid;border-radius:7px;cursor:pointer;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;box-shadow:0 2px 6px #20363108;transition:box-shadow .15s}
.topic-category-tile .category-count{display:block;font-size:52px;font-weight:700;line-height:1.2;text-align:center;margin:30px 0 6px}
.topic-category-tile .category-label{display:block;text-align:center;font-size:17px;margin-bottom:26px;color:#53645f}
.topic-category-tile .category-enter{display:block;margin-top:auto;padding:16px;text-align:center;font-size:16px;font-weight:600;border-top:1px solid #00000012;background:#ffffff66}
.topic-category-tile:hover{box-shadow:0 6px 20px #20363120}.topic-category-tile:focus-visible{outline:3px solid #1d5d9b;outline-offset:4px}
body.topic-dashboard main>.device-panel,body.topic-dashboard #overview>.device-panel{width:100%;max-width:none;margin:24px 0;padding:24px}
body.topic-dashboard main{width:calc(100% - 64px);max-width:1680px;margin:24px auto}
.topic-add-panel{background:white;border:1px solid #dce3da;border-radius:12px;padding:14px 20px;margin-bottom:24px}.topic-add-panel>summary{font-size:18px;font-weight:650;cursor:pointer}
@media(max-width:1100px){.topic-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.topic-dashboard main{width:calc(100% - 20px)}body.topic-dashboard main>.device-panel{padding:12px}.topic-category-tile{min-height:210px;padding:0}}
.topic-category-grid[hidden],.topic-category-group[hidden]{display:none!important}
@media(max-width:800px){.topic-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.topic-category-grid{grid-template-columns:1fr}}
@media(max-width:650px){.interest-topic-card{padding:16px}.interest-topic-title{font-size:27px!important}.interest-topic-form{grid-template-columns:1fr}}

body.topic-dashboard main>.device-panel{margin:12px 0;padding:16px 24px}.dashboard-secondary{background:white;border:1px solid #dce3da;border-radius:8px}.dashboard-secondary>summary{font-size:18px;font-weight:600;cursor:pointer}

.admin-workspace{background:#fff;border:1px solid #dce3da;border-radius:12px}.admin-tabs{display:flex;flex-wrap:wrap;gap:10px;padding:12px 0 20px;border-bottom:1px solid #dce3da;margin-bottom:20px}.admin-tabs button{padding:12px 22px;border:1px solid #cbd9d1;background:#f5f7f6;border-radius:8px;color:#284b3d;font-size:17px}.admin-tabs button[aria-pressed=true]{background:#246a51;color:white;border-color:#246a51}.admin-record-grid,#records{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:420px;overflow:auto;margin:18px 0}.admin-record-grid button,#records>button{padding:18px;text-align:left;overflow-wrap:anywhere;background:#f8faf9;color:#203631;border:1px solid #dce3da;border-radius:8px}#record-dialog{width:min(850px,90vw);max-height:85vh;overflow:auto;border:1px solid #cbd9d1;border-radius:16px;padding:28px}#record-dialog::backdrop{background:#152c2666}#record-content pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}#close-record{float:right;padding:9px 18px}#overview>.device-panel{margin:0!important;padding:0!important}@media(max-width:750px){.admin-record-grid,#records{grid-template-columns:1fr 1fr}}

.compact-source-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px;max-height:none;margin:18px 0;align-items:stretch}
.interest-topic-card .compact-source-grid>.source-mini-card,.compact-source-grid>button{width:100%;min-width:0;margin:0;padding:16px 12px;min-height:112px;border:1px solid #cddbd3;border-radius:10px;background:#fff;color:#203631;text-align:center;overflow-wrap:anywhere;display:flex;flex-direction:column;justify-content:center;gap:8px;align-items:center}
.source-mini-card strong{font-size:16px;line-height:1.4}.source-mini-card small{display:block;font-size:12px;color:#60756b}.compact-source-grid>button:hover{background:#eef6f1;border-color:#246a51}
.source-detail-dialog{width:min(760px,90vw);max-height:85vh;overflow:auto;border:1px solid #cddbd3;border-radius:14px;padding:24px}.source-detail-dialog::backdrop{background:#152c2666}.source-detail-dialog:not([open]){display:none}.source-detail-dialog>button{float:right}.source-detail-dialog article{clear:both}
@media(max-width:600px){.compact-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.light-mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;margin:20px 0}.light-mode-grid button{min-height:80px;border:1px solid #cbd9d1;border-radius:12px;background:#f1f7f4;font-size:18px;color:#203631}.light-mode-grid button:hover{background:#dceee4}

.personal-dashboard main{width:min(1480px,94%);max-width:none;margin:28px auto 40px;padding:0}.personal-dashboard header{height:70px;gap:24px}.personal-dashboard header a{color:#246a51;text-decoration:none}.dashboard-heading{margin-bottom:28px}.dashboard-heading h1{font-size:36px;margin:8px 0 10px;line-height:1.25}.dashboard-heading p{color:#65766f;margin:0;font-size:15px}.dashboard-heading p:first-child{font-size:11px;letter-spacing:.15em}.dashboard-section{margin-bottom:30px}.dashboard-section-title{display:flex;align-items:center;gap:18px;margin-bottom:14px}.dashboard-section-title h2{font-size:22px;margin:0}.dashboard-section-title span{font-size:13px;color:#73807b}.dashboard-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-card{display:flex;flex-direction:column;min-height:205px;padding:25px;border:1px solid #dce3da;border-top:4px solid var(--accent,#246a51);border-radius:16px;background:#fff;color:#203631;text-decoration:none;transition:box-shadow .15s,transform .15s}.dashboard-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #183c2410}.dashboard-card:focus-visible{outline:3px solid #246a51;outline-offset:4px}.card-category{font-size:12px;color:var(--accent,#246a51);letter-spacing:.04em}.dashboard-card h3{font-size:25px;margin:14px 0 10px;line-height:1.2}.dashboard-card p{font-size:14px;line-height:1.7;color:#64746c;margin:0 0 22px}.card-link{margin-top:auto;font-size:14px;font-weight:600;color:var(--accent,#246a51)}.stocks{--accent:#4163a9}.news{--accent:#a36e35}.plans{--accent:#7b5ca5}.lights{--accent:#9b7c25}.personal-dashboard footer{display:flex;justify-content:space-between;font-size:12px;color:#73807b;padding-top:8px}.personal-dashboard footer a{color:inherit}@media(max-width:1000px){.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.dashboard-grid{grid-template-columns:1fr}.dashboard-heading h1{font-size:29px}.dashboard-card{min-height:170px;padding:20px}.personal-dashboard header{padding:0 5%;font-size:13px}.personal-dashboard footer{gap:12px;flex-wrap:wrap}}
/* Account dashboard: readable typography, isolated from other pages. */
.account-dashboard{background:#f2f5f4;font-size:17px}.account-dashboard header{height:84px;background:white;border-bottom:1px solid #e0e8e4}.account-dashboard header a{color:#235e4b;text-decoration:none;font-size:17px;font-weight:600}.account-brand{font-size:26px!important}.account-brand span{font-size:14px;margin-left:18px;font-weight:400;color:#6b7e74}.account-dashboard main{width:min(1320px,92%);max-width:none;margin:32px auto;padding:0}.account-hero{display:flex;align-items:center;justify-content:space-between;padding:36px 42px;border-radius:24px;background:linear-gradient(115deg,#163d33,#246a56);color:#fff;min-height:190px}.account-eyebrow{font-size:13px;letter-spacing:.16em;font-weight:600}.account-hero h1{font-size:42px;line-height:1.2;margin:12px 0}.account-hero p{font-size:18px;margin:0;color:#d6e9df}.account-orb{display:grid;place-items:center;width:102px;height:102px;border:1px solid #80bea5;border-radius:30px;background:#ffffff0d;font-size:48px;font-weight:600;box-shadow:0 0 45px #73d8a82a}.account-status{background:#fff;border:1px solid #dce6df;border-radius:18px;padding:24px 30px;margin:22px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.account-status-label{font-size:14px;color:#64796d}.account-status p{font-size:21px;font-weight:600;line-height:1.5;margin:7px 0 0}.account-actions{display:flex;gap:12px;flex-shrink:0}.account-actions button{font-size:16px;padding:12px 18px;background:#f2f6f3;color:#245b47;border:1px solid #d3e1d8;border-radius:10px}.account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.account-tile{display:flex;flex-direction:column;min-height:252px;padding:28px;background:white;border:1px solid #dce6df;border-radius:18px;text-decoration:none;color:#203b30;transition:transform .15s,box-shadow .15s}.account-tile:hover{transform:translateY(-3px);box-shadow:0 10px 24px #254d3710}.account-tile:focus-visible{outline:3px solid #246a51;outline-offset:3px}.account-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#eaf3ed;color:#357353;font-size:27px}.account-tile h2{font-size:26px;margin:17px 0 10px}.account-tile p{font-size:17px;line-height:1.7;color:#66796f;margin:0 0 23px}.account-go{margin-top:auto;font-size:17px;font-weight:600;color:#246a51}.account-login{display:grid;grid-template-columns:1fr 1.15fr;gap:45px;padding:32px;background:#fff;border:1px solid #dce6df;border-radius:18px;margin-top:24px}.account-login h2{font-size:28px;margin:14px 0}.account-login p{line-height:1.8;color:#66796f}.account-login form{margin:0}.account-login label{font-size:16px;line-height:1.6;margin-bottom:18px}.account-login input,.account-login select{font-size:18px;padding:13px;border:1px solid #c9d8cf;border-radius:10px;min-height:50px}.account-login select{display:block;width:100%;background:white}.account-login button{font-size:19px;min-height:54px}.account-help{display:flex;flex-direction:column;gap:8px;font-size:15px}.account-help a{color:#246a51}.account-dashboard footer{font-size:14px;color:#74877c;padding:26px 0;text-align:center}@media(max-width:900px){.account-grid{grid-template-columns:1fr 1fr}.account-login{grid-template-columns:1fr;gap:20px}.account-status{align-items:flex-start;flex-direction:column}}@media(max-width:580px){.account-grid{grid-template-columns:1fr}.account-hero{padding:27px;min-height:170px}.account-hero h1{font-size:34px}.account-orb{display:none}.account-brand span{display:none}.account-dashboard header{padding:0 4%;gap:18px}.account-dashboard header a{font-size:15px}.account-status{padding:24px}.account-login{padding:24px}.account-tile{min-height:225px}}

/* Readable shared navigation and market workspaces. */
header>a,header nav a{font-size:18px;font-weight:600;line-height:1.5;padding:10px 14px;border-radius:10px;text-decoration:none;color:#246a51}header>a:hover,header nav a:hover{background:#e8f1eb}main>section>nav a{font-size:17px;line-height:2.1;padding:8px;display:inline-block}.personal-dashboard .card-category,.personal-dashboard .dashboard-section-title span{font-size:15px}.personal-dashboard .card-link,.personal-dashboard .dashboard-card p{font-size:17px}.personal-dashboard header a{font-size:18px}.stock-dashboard main{width:min(1480px,94%);max-width:none;margin:28px auto}.stock-dashboard{font-size:17px}.stock-dashboard h1{font-size:32px}.stock-dashboard h2{font-size:25px}.stock-dashboard label{font-size:16px}.stock-dashboard input,.stock-dashboard select,.stock-dashboard button{font-size:17px}.stock-dashboard p{line-height:1.75}.market-switch{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:28px}.market-switch a{display:flex;flex-direction:column;gap:10px;padding:26px 30px;border:2px solid #d9e4dc;background:white;border-radius:18px;text-decoration:none;color:#335a48}.market-switch strong{font-size:30px}.market-switch span{font-size:16px;color:#66796f}.market-switch a[aria-current=page]{background:#e8f3ed;border-color:#287653;box-shadow:0 5px 18px #245e4810}.stock-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.stock-dashboard .device-panel{padding:26px;background:white;border:1px solid #dce6df;border-radius:18px;margin-bottom:24px}.stock-dashboard #stocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.stock-dashboard #stocks>section{padding:20px;background:#f6f8f5;border:1px solid #dee6df;border-radius:14px;min-width:0}.stock-dashboard #stocks h3{font-size:24px;margin:0 0 16px}.stock-dashboard #stocks p{font-size:16px}.stock-dashboard input[type=checkbox]{width:auto;min-height:20px;height:20px;vertical-align:middle}.stock-dashboard fieldset{border:1px solid #d9e4dc;border-radius:10px}.stock-dashboard fieldset label{display:inline-block;margin:8px}.stock-dashboard select{max-width:100%;padding:10px;border-radius:8px;border:1px solid #cad7cf}@media(max-width:1100px){.stock-controls{grid-template-columns:1fr 1fr}.stock-dashboard #stocks{grid-template-columns:1fr 1fr}}@media(max-width:650px){.stock-controls,.stock-dashboard #stocks{grid-template-columns:1fr}.market-switch{gap:12px}.market-switch a{padding:20px}.market-switch strong{font-size:25px}header>a{font-size:17px;padding:8px}.stock-dashboard h1{font-size:24px}}

.devices-dashboard>.device-panel{max-width:1520px;padding:0 30px;margin-top:30px}.devices-dashboard .section-heading h2{font-size:28px}.devices-dashboard .section-heading span{font-size:14px}.devices-dashboard .device-note{font-size:16px;line-height:1.75}.devices-dashboard .header-right{font-size:15px;gap:14px}.devices-dashboard .header-right a{font-size:18px;font-weight:600;padding:12px 16px;border-radius:10px;background:#e9f1eb;color:#246a51;text-decoration:none}.devices-dashboard #devices{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}.devices-dashboard .device-entry{border:1px solid #d8e3dc;background:white;border-radius:18px;overflow:hidden}.devices-dashboard .device-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:25px;min-height:210px;font-size:21px;line-height:1.5;border-radius:18px;text-decoration:none}.devices-dashboard .device-entry .device-card{border:0;border-radius:0;min-height:210px;box-shadow:none}.devices-dashboard .device-entry:has(.active){outline:2px solid #246a51}.devices-dashboard .device-card strong{font-size:22px;line-height:1.35;margin-bottom:14px}.devices-dashboard .device-card small{font-size:15px;line-height:1.8;margin-top:6px}.devices-dashboard .device-state{font-size:17px;margin:0 0 12px}.devices-dashboard a.device-card>span{font-size:17px}.device-actions{display:flex;gap:12px;border-top:1px solid #edf1ed;padding:14px 18px}.devices-dashboard .device-setup{font-size:16px;text-align:center;text-decoration:none;background:#edf4ef;border-radius:9px;padding:10px 13px;color:#246a51;flex:1}.devices-dashboard .device-card:hover{background:#f5faf6}.devices-dashboard .workspace{max-width:1520px}.devices-dashboard .brand small{font-size:15px}@media(max-width:1150px){.devices-dashboard #devices{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.devices-dashboard #devices{grid-template-columns:repeat(2,minmax(0,1fr))}.devices-dashboard header{height:auto;min-height:84px;flex-wrap:wrap;padding:16px 4%;gap:16px}.devices-dashboard .header-right{flex-wrap:wrap}.devices-dashboard .brand small{display:none}}@media(max-width:500px){.devices-dashboard #devices{grid-template-columns:1fr}.devices-dashboard>.device-panel{padding:0 18px}.devices-dashboard .device-card{min-height:180px}.devices-dashboard .device-entry .device-card{min-height:180px}}
