:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#191919;font-size:16px;--line:#e9e9e9;--muted:#5a5a58;--paper:#ffffff;--soft:#f5f5f5;--accent:#111111;--accent-ink:#ffffff;--focus:#111111;--focus-on-dark:#ffffff;--icon-tile:linear-gradient(150deg,#272727,#121212);--icon-glyph:#eeeeee;--window-shadow:0 16px 55px #09090926;--radius:18px;--mono:"SFMono-Regular","SF Mono",ui-monospace,Menlo,Monaco,Consolas,monospace;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;height:100vh;height:100dvh;overflow:hidden;background:#272727}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none}a{color:inherit}button,input,textarea,select,a{-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.5}input,textarea{min-width:0}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}input:focus-visible,textarea:focus-visible{outline:2px solid var(--focus);outline-offset:2px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}span[data-icon]{display:inline-flex;align-items:center;justify-content:center}h1,h2,h3,p{margin:0}h2{font-size:17px;font-weight:650;letter-spacing:-.025em}h3{font-size:16px;font-weight:600}button,input,select{touch-action:manipulation}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:900;padding:14px;background:white;border-radius:10px}.skip-link:focus{top:8px}.wallpaper{position:fixed;inset:0;background:linear-gradient(180deg,#1515153d 0%,#1717171a 30%,#0f0f0f82 100%),url('assets/road-wallpaper.jpg') center center/cover no-repeat;z-index:-1}.menubar{height:48px;display:flex;align-items:center;padding:0 24px;gap:28px;background:#1a1a1acb;color:white;border-bottom:1px solid #ffffff1a;backdrop-filter:blur(20px);position:relative;z-index:30}.brand{display:flex;align-items:center;gap:9px;font-weight:700;letter-spacing:-.025em;font-size:16px;padding:4px 0}.brand svg{width:25px;height:29px}.menu-links,.menu-right{display:flex;align-items:center;gap:20px}.menu-links button{font-size:14px;padding:10px 0;color:#ffffffda}.menu-right{margin-left:auto;gap:16px;font-size:13px}.menu-icon{padding:8px;display:flex}.local-status{display:flex;gap:7px;align-items:center;font-size:12px;padding:8px 0;color:#e9e9e9}.local-status svg{width:16px;height:16px}#top-clock{font-size:12px;white-space:nowrap}.layout-control{display:flex;gap:6px;align-items:center}.layout-control svg{width:17px;height:17px}.layout-control select{border:0;background:transparent;color:inherit;font-size:13px;max-width:125px;cursor:pointer;padding:6px 2px}.layout-control option{color:#111111;background:white}main{height:calc(100% - 48px);position:relative;overflow:auto;padding-bottom:100px}.home{max-width:1110px;margin:0 auto;padding:45px 28px 24px}.greeting{display:flex;align-items:center;justify-content:space-between;margin:0 0 29px;color:white;text-shadow:0 2px 12px #17171755}.eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;margin-bottom:11px;color:#ffffffd9}.greeting h1{font-size:38px;font-weight:560;letter-spacing:-.055em;line-height:1.15}.greeting-sub{font-size:15px;margin-top:9px;color:#ffffffe0}.avatar{width:46px;height:46px;border-radius:50%;background:#f9f9f9ed;color:#2b2b2b;font-size:18px;font-weight:600;box-shadow:0 8px 24px #11111122;text-shadow:none}.home-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.card{background:#fdfdfdf5;box-shadow:var(--window-shadow);border:1px solid #ffffffaa;border-radius:var(--radius);overflow:hidden;backdrop-filter:blur(22px)}.card>header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 10px;gap:10px}.caption{font-size:12px;color:var(--muted)}.app-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:13px 20px 22px;gap:15px 10px}.app-tile{display:flex;flex-direction:column;align-items:center;gap:9px;border-radius:12px;padding:4px 0;font-size:13px;min-width:0}.app-tile:hover .app-icon{transform:translateY(-3px);box-shadow:0 7px 17px #15151522}.app-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:16px;background:var(--icon-tile);color:var(--icon-glyph);box-shadow:0 3px 6px #1a1a1a10,inset 0 0 0 1px #ffffff99;transition:transform .18s,box-shadow .18s}.app-icon svg{width:27px;height:27px;stroke-width:1.7}.app-icon.files{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.notes{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.tasks{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.roadie{background:linear-gradient(150deg,#272727,#121212);color:#eeeeee}.app-icon.terminal{background:#232323;color:#f3f3f3}.app-icon.devices{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.receipts{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.settings{background:var(--icon-tile);color:var(--icon-glyph)}.app-icon.home{background:var(--icon-tile);color:var(--icon-glyph)}.focus-card header{padding-bottom:8px}.icon-btn{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:9px}.icon-btn:hover{background:#11111108}.icon-btn svg{width:18px;height:18px}.text-btn{font-size:13px;display:flex;gap:6px;align-items:center;color:var(--muted)}.text-btn svg{width:14px;height:14px}.empty-focus{padding:16px 24px 20px;display:flex;align-items:center;gap:15px}.empty-focus .focus-symbol{height:48px;width:48px;border-radius:50%;background:#f1f1f1;display:grid;place-items:center;color:#767676;flex-shrink:0}.empty-focus h3{font-size:15px;margin-bottom:6px}.empty-focus p{color:var(--muted);font-size:13px;line-height:1.5}.quick-input{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line);margin:6px 20px 0;padding:12px 0 15px;color:#818181}.quick-input input{flex:1;width:100%;border:0;background:transparent;font-size:14px;outline:0}.quick-input button{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#f0f0f0;color:#5a5a5a}.task-row{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.task-row input{accent-color:var(--accent);width:19px;height:19px;flex-shrink:0;margin:1px 0}.task-row label{flex:1;overflow-wrap:anywhere;font-size:15px;line-height:1.4;cursor:pointer}.task-row.done label{color:#8d8d8d;text-decoration:line-through}.task-row .delete-task{font-size:12px;color:#8d8d8d;padding:3px}#home-tasks .task-row{margin:0 24px;padding:12px 0}#home-tasks .task-row:last-child{border:0}.recent-card>header{padding-bottom:9px}.note-row{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:13px 24px}.note-row:hover{background:#f0f0f0}.note-row .file-icon{background:#efefef;color:#7b7b7b;border-radius:11px;width:38px;height:42px;display:grid;place-items:center;flex-shrink:0}.note-row .row-copy{flex:1;min-width:0}.row-copy strong{font-size:14px;font-weight:580;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-copy small{display:block;font-size:12px;color:var(--muted);margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-row>svg{width:15px;height:15px;color:#999999}.recent-card{padding-bottom:12px}.roadie-card{background:#1d1d1def;border:1px solid #b2b2b23d;box-shadow:var(--window-shadow);border-radius:var(--radius);padding:22px;color:white;backdrop-filter:blur(22px)}.roadie-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.roadie-mark{height:41px;width:41px;border:1px solid #ffffff32;background:linear-gradient(140deg,#64646499,#2c2c2c55);border-radius:13px;display:grid;place-items:center;font-size:23px;font-weight:600}.roadie-heading h2{font-size:17px}.roadie-heading p{color:#c6c6c6;font-size:12px;margin-top:4px}.local-pill{margin-left:auto;font-size:11px;padding:4px 8px;border:1px solid #ffffff2a;border-radius:6px;color:#d4d4d4}.roadie-card form{display:flex;align-items:center;gap:9px;background:#ffffff0c;border:1px solid #ffffff26;border-radius:12px;padding:6px 7px 6px 14px}.roadie-card input{background:transparent;color:white;border:0;outline:0;font-size:14px;flex:1;width:100%;min-height:36px}.roadie-card input::placeholder{color:#bebebe}.roadie-card form button{background:#e9e9e9;color:#343434;border-radius:8px;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}.roadie-suggestions{display:flex;align-items:center;gap:8px;margin-top:14px}.roadie-suggestions button{font-size:12px;border:1px solid #ffffff21;border-radius:7px;padding:6px 9px;display:flex;align-items:center;gap:4px;color:#dbdbdb}.roadie-suggestions button:last-child{margin-left:auto;border:0;padding:6px 0}.roadie-suggestions svg{width:13px;height:13px}.home-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#ffffffc5;padding:23px 5px;font-size:10px;letter-spacing:.11em}.home-footer button{display:flex;align-items:center;gap:8px;letter-spacing:0;font-size:12px}.home-footer svg{width:13px;height:13px}.dock{position:fixed;z-index:40;bottom:max(15px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:9px;align-items:center;padding:10px 13px 14px;border:1px solid #ffffff65;border-radius:23px;box-shadow:0 12px 45px #0e0e0e55;background:#f3f3f3a3;backdrop-filter:blur(28px)}.dock-button{position:relative;padding:0;border-radius:14px}.dock-button .app-icon{width:48px;height:48px;border-radius:13px}.dock-button .app-icon svg{width:25px;height:25px}.dock-button:hover{transform:translateY(-3px)}.dock-button.active::after{content:'';position:absolute;bottom:-8px;left:calc(50% - 2px);height:4px;width:4px;border-radius:50%;background:#272727}.dock-button::before{content:attr(data-label);position:absolute;bottom:calc(100% + 18px);left:50%;transform:translateX(-50%);padding:6px 9px;border-radius:7px;background:#212121eb;color:white;font-size:12px;opacity:0;pointer-events:none;white-space:nowrap}.dock-button:hover::before{opacity:1}.dock-divider{height:35px;width:1px;background:#60606033;margin:0 2px}.app-window{position:absolute;z-index:20;top:25px;left:max(24px,calc((100% - 1100px)/2));width:calc(100% - 48px);max-width:1100px;height:min(680px,calc(100dvh - 165px));min-height:310px;min-width:310px;border:1px solid #ffffffab;border-radius:16px;box-shadow:0 30px 90px #0d0d0d6e;background:var(--paper);overflow:hidden;display:flex;flex-direction:column;resize:both}.app-window.maximized{inset:10px 10px auto;width:calc(100% - 20px);max-width:none;height:calc(100dvh - 158px);transform:none!important;resize:none}.window-bar{display:flex;align-items:center;min-height:51px;background:#f6f6f6;border-bottom:1px solid var(--line);gap:20px;padding:0 18px;cursor:grab;touch-action:none;user-select:none}.window-controls{display:flex;gap:6px}.window-controls button{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:#e6e6e6;color:#636363}.window-controls button:hover{background:#d8d8d8;color:#1b1b1b}.window-controls button:first-child:hover{background:#cfcfcf}.window-controls svg{width:13px;height:13px}.window-bar h2{font-size:14px;flex:1;text-align:center}.window-bar>span{font-size:11px;color:var(--muted);min-width:112px;text-align:right}.window-body{display:flex;flex:1;min-height:0}.app-sidebar{width:165px;flex-shrink:0;padding:19px 11px;background:#f7f7f7;border-right:1px solid var(--line);overflow-y:auto}.app-sidebar button{display:flex;align-items:center;gap:10px;width:100%;padding:10px 11px;border-radius:8px;font-size:13px;margin-bottom:3px;text-align:left;color:#6d6d6d}.app-sidebar button.active{background:#e8e8e8;color:#272727;font-weight:600}.app-sidebar button:hover{background:#ededed}.app-sidebar svg{height:17px;width:17px}.app-content{flex:1;min-width:0;overflow:auto;padding:28px}.view-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.view-header h1{font-size:25px;letter-spacing:-.035em;font-weight:630}.view-header p{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.5}.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border-radius:9px;font-size:13px;white-space:nowrap}.primary-btn{color:white;background:#282828}.primary-btn:hover{background:#404040}.secondary-btn{border:1px solid #e1e1e1;background:white;color:#474747}.primary-btn svg,.secondary-btn svg{height:16px;width:16px}.action-row{display:flex;gap:10px;flex-wrap:wrap}.section-label{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);margin-bottom:13px}.empty-state{padding:36px 20px;border:1px dashed #d8d8d8;border-radius:13px;text-align:center;color:var(--muted);line-height:1.6;font-size:14px}.empty-state svg{width:32px;height:32px;margin-bottom:9px}.empty-state h3{color:#404040;margin-bottom:8px}.note-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.note-card{border:1px solid var(--line);border-radius:13px;padding:20px;text-align:left;min-height:135px;background:#ffffff}.note-card:hover{border-color:#b5b5b5;background:#fcfcfc}.note-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:9px}.note-card p{color:var(--muted);font-size:14px;line-height:1.55;max-height:65px;overflow:hidden;overflow-wrap:anywhere;white-space:pre-wrap}.note-card small{display:block;margin-top:17px;font-size:11px;color:var(--muted)}.editor-bar{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px;gap:10px}.editor-status{font-size:12px;color:var(--muted)}.note-title{width:100%;border:0;background:transparent;font-size:27px;font-weight:600;letter-spacing:-.025em;padding:10px 0;margin:8px 0 10px}.note-body{display:block;width:100%;height:300px;min-height:160px;resize:vertical;border:0;border-top:1px solid var(--line);padding:20px 0;background:transparent;font-size:16px;line-height:1.8;color:#474747}.note-title:focus,.note-body:focus{outline:none}.file-list{border:1px solid var(--line);border-radius:12px;overflow:hidden}.file-row{display:flex;gap:12px;align-items:center;padding:15px 16px;border-bottom:1px solid var(--line)}.file-row:last-child{border-bottom:0}.file-row .row-copy{min-width:0;flex:1}.file-row .icon-btn{flex-shrink:0}.file-row>svg{color:#686868}.file-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 var(--mono);background:#f6f6f6;padding:20px;border-radius:10px}.inline-notice{font-size:13px;line-height:1.65;color:var(--muted);padding:13px 15px;border-radius:10px;background:#f6f6f6;margin:16px 0}.inline-notice strong{color:#3e3e3e}.chat{display:flex;flex-direction:column;gap:16px;min-height:180px;margin:15px 0 20px}.message{max-width:90%;border-radius:14px;background:#f2f2f2;padding:14px 17px;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{align-self:flex-end;background:#2a2a2a;color:#ffffff}.chat-form{display:flex;gap:8px;position:sticky;bottom:0;background:white;padding:12px 0}.chat-form input{flex:1;width:100%;padding:12px;border:1px solid #dcdcdc;border-radius:10px;font-size:15px}.hint-grid{display:flex;flex-wrap:wrap;gap:7px}.hint-grid button{font-size:12px;border:1px solid var(--line);border-radius:8px;padding:9px}.terminal-view{background:#181818;color:#e2e2e2;margin:-28px;padding:26px;min-height:calc(100% + 56px);font:14px/1.7 var(--mono);overflow-wrap:anywhere}.terminal-banner{color:#aaaaaa;white-space:pre-wrap;padding-bottom:18px}.terminal-line{white-space:pre-wrap;margin-bottom:7px}.terminal-line.prompt{color:#a9a9a9}.terminal-form{display:flex;gap:10px;margin-top:14px;align-items:center}.terminal-form label{color:#a2a2a2}.terminal-form input{flex:1;background:transparent;border:0;outline:none;color:#ededed;font:inherit;width:100%;padding:5px}.terminal-form button{border:1px solid #626262;border-radius:5px;color:#cecece;font-size:12px;padding:5px 9px}.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.device-card{border:1px solid var(--line);border-radius:13px;padding:17px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.device-card>svg{color:#6b6b6b;margin-bottom:2px}.device-card h3{font-size:15px}.device-card p{font-size:13px;color:var(--muted);line-height:1.6;flex:1}.badge{display:inline-block;padding:4px 7px;border-radius:5px;background:#f1f1f1;color:#6a6a6a;font-size:11px;font-weight:500}.device-card button{font-size:13px;padding:7px 0;color:var(--accent)}.settings-section{border-bottom:1px solid var(--line);padding:20px 0}.settings-section:first-of-type{padding-top:0}.settings-section h3{margin-bottom:6px}.settings-section p{font-size:13px;line-height:1.65;color:var(--muted);margin-bottom:13px}.settings-section input[type=text]{border:1px solid #e0e0e0;border-radius:8px;padding:10px 12px;max-width:100%;font-size:14px}.theme-options{display:flex;gap:13px;flex-wrap:wrap}.theme-option{display:flex;flex-direction:column;align-items:center;gap:7px;padding:5px;border:2px solid transparent;border-radius:12px;font-size:12px}.theme-option.selected{border-color:#696969}.theme-swatch{display:block;width:100px;height:61px;border-radius:7px;background:#eeeeee;border:1px solid #dddddd}.theme-swatch.road{background:url('assets/road-wallpaper.jpg') center/cover}.theme-swatch.midnight{background:#191919}.theme-swatch.paper{background:#f5f5f5}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0}.setting-row label{font-size:14px}.setting-row input[type=checkbox]{height:18px;width:18px;accent-color:#696969}.setting-row select{border:1px solid var(--line);padding:8px;border-radius:7px;font-size:13px;max-width:50%}.receipt{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:13px}.receipt svg{color:#969696;height:17px;width:17px;margin-top:3px}.receipt .row-copy{min-width:0;flex:1}.receipt small{white-space:normal}.receipt time{color:var(--muted);font-size:11px;white-space:nowrap}.toast{position:fixed;z-index:150;left:50%;bottom:110px;transform:translate(-50%,15px);max-width:min(90vw,500px);border-radius:11px;background:#1b1b1bf2;color:white;font-size:13px;padding:12px 19px;box-shadow:0 10px 25px #16161633;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #ffffffa0;border-radius:18px;width:min(600px,calc(100% - 30px));max-height:75dvh;padding:0;margin:14vh auto auto;box-shadow:0 30px 100px #14141466;background:#ffffff;color:#191919}dialog::backdrop{background:#15151577;backdrop-filter:blur(8px)}.search-header{display:flex;align-items:center;padding:16px 19px;gap:13px;border-bottom:1px solid var(--line)}.search-header input{border:0;outline:0;flex:1;font-size:17px;width:100%;background:transparent}.keycap,kbd{font:11px var(--mono);padding:3px 5px;border:1px solid #e0e0e0;background:#f8f8f8;border-radius:5px;color:#7e7e7e}#search-results{max-height:48dvh;overflow:auto;padding:8px}#search-results button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border-radius:9px;padding:11px;font-size:14px}#search-results button:hover,#search-results button.selected{background:#f0f0f0}#search-results button>span{flex:1}#search-results small{font-size:12px;color:var(--muted)}dialog>footer{border-top:1px solid var(--line);padding:11px 18px;color:var(--muted);font-size:11px;display:flex;gap:7px;align-items:center}.noscript{position:fixed;inset:25%;padding:30px;background:white;border-radius:16px;z-index:200}.embedded-display{background:#171717;color:#cbcbcb;border:8px solid #3d3d3d;border-radius:10px;max-width:320px;padding:21px;margin:22px auto;font:14px/1.8 var(--mono)}.embedded-display h3{font:inherit;border-bottom:1px solid #848484;padding-bottom:10px;margin-bottom:10px}
body[data-theme=midnight] .wallpaper{background:#1c1c1c}body[data-theme=paper] .wallpaper{background:#eeeeee}body[data-theme=paper] .greeting,body[data-theme=paper] .home-footer{color:#383838;text-shadow:none}body[data-theme=paper] .eyebrow,body[data-theme=paper] .greeting-sub{color:#787878}body[data-theme=paper] .menubar{background:#ffffffeb;color:#2c2c2c;border-bottom-color:#e2e2e2}body[data-theme=paper] .menu-links button,body[data-theme=paper] .local-status{color:#555555}body[data-theme=paper] .dock{background:#ffffffc9;border-color:#dedede}body[data-reduced-motion=true] *,body[data-layout=eink] *{transition:none!important;animation:none!important;scroll-behavior:auto!important}body[data-layout=tablet] .home{max-width:860px}body[data-layout=tablet] .home-grid{grid-template-columns:1fr 1fr}body[data-layout=phone] .home{max-width:480px;padding:28px 18px}body[data-layout=phone] .home-grid{grid-template-columns:1fr}body[data-layout=phone] .caption{display:none}body[data-layout=phone] .home-footer{justify-content:center}body[data-layout=phone] .home-footer>span{display:none}body[data-layout=phone] .app-window{width:calc(100% - 20px);max-width:470px;left:50%;transform:translateX(-50%)!important;top:12px;resize:none}body[data-layout=phone] .app-sidebar{display:none}body[data-layout=phone] .app-content{padding:20px}body[data-layout=phone] .window-controls button:not(:first-child){display:none}body[data-layout=phone] .window-bar>span{display:none}body[data-layout=phone] .device-grid,body[data-layout=phone] .note-list{grid-template-columns:1fr}body[data-layout=phone] .terminal-view{margin:-20px;padding:20px}body[data-layout=phone] .dock{gap:5px;padding:9px 9px 13px}body[data-layout=tv] .home{max-width:1380px;padding-top:45px}body[data-layout=tv] .app-grid{gap:28px}body[data-layout=tv] .app-tile{font-size:19px;gap:15px}body[data-layout=tv] .app-icon{width:80px;height:80px;border-radius:22px}body[data-layout=tv] .app-icon svg{width:40px;height:40px}body[data-layout=tv] button:focus-visible{outline:4px solid white;box-shadow:0 0 0 8px var(--accent);transform:scale(1.04)}body[data-layout=tv] .home-grid{gap:24px}body[data-layout=tv] .greeting h1{font-size:48px}body[data-layout=tv] .home-footer{display:none}body[data-layout=eink]{background:#ffffff}body[data-layout=eink] .wallpaper{display:none}body[data-layout=eink] .menubar{background:white;color:black;border-bottom:2px solid black;backdrop-filter:none}body[data-layout=eink] .menu-links button,body[data-layout=eink] .local-status,body[data-layout=eink] .greeting,body[data-layout=eink] .eyebrow,body[data-layout=eink] .greeting-sub,body[data-layout=eink] .home-footer{color:black;text-shadow:none}body[data-layout=eink] .card,body[data-layout=eink] .roadie-card{background:white;color:black;border:2px solid black;box-shadow:none;backdrop-filter:none}body[data-layout=eink] .app-icon,body[data-layout=eink] .roadie-mark{background:white;color:black;border:1px solid black;box-shadow:none}body[data-layout=eink] .roadie-heading p,body[data-layout=eink] .roadie-card input,body[data-layout=eink] .roadie-suggestions button,body[data-layout=eink] .local-pill{color:black}body[data-layout=eink] .roadie-card form{border:1px solid black}body[data-layout=eink] .roadie-card input::placeholder{color:#444444}body[data-layout=eink] .dock{background:white;border:2px solid black;box-shadow:none;backdrop-filter:none}body[data-layout=eink] .app-window{border:2px solid black;box-shadow:none}body[data-layout=terminal] .app-window{inset:10px 10px auto;width:calc(100% - 20px);max-width:none;height:calc(100dvh - 158px);resize:none;transform:none!important}body[data-layout=terminal] .app-sidebar{display:none}
@media(min-width:1500px){.home{padding-top:64px;max-width:1190px}.greeting{margin-bottom:35px}.home-grid{gap:22px}.app-grid{padding-top:19px;padding-bottom:29px;gap:23px}.app-icon{width:61px;height:61px;border-radius:17px}.app-tile{font-size:14px}.greeting h1{font-size:43px}}
@media(max-width:1000px){.menubar{gap:20px;padding:0 18px}.menu-links{gap:15px}.local-status span:last-child{display:none}.home{padding-top:34px}.home-grid{grid-template-columns:1.1fr 1fr}.card>header{padding-left:19px;padding-right:19px}.caption{display:none}.roadie-card{padding:20px}.home-footer>span:last-child{display:none}.app-sidebar{width:140px}.app-content{padding:24px}.terminal-view{margin:-24px;padding:24px}.window-bar>span{display:none}.window-bar h2{padding-right:70px}}
@media(max-width:700px){.menubar{height:50px;padding:0 14px;gap:12px}.brand{font-size:15px}.brand svg{width:23px}.menu-links,.local-status,#top-clock{display:none}.menu-right{gap:6px}.layout-control select{font-size:12px;width:98px}.layout-control svg{width:15px}.menu-icon{padding:8px}main{height:calc(100% - 50px);padding-bottom:100px}.home{padding:30px 17px 16px;max-width:540px}.greeting{margin-bottom:25px}.greeting h1{font-size:31px}.greeting-sub{font-size:13px}.eyebrow{font-size:11px}.avatar{height:40px;width:40px;font-size:16px}.home-grid,body[data-layout=tablet] .home-grid{grid-template-columns:1fr;gap:15px}.app-grid{padding:11px 17px 21px;gap:18px 8px}.app-tile{font-size:12px}.card>header{padding:19px 21px 9px}.app-icon{width:52px;height:52px;border-radius:15px}.roadie-card{padding:21px}.home-footer{justify-content:center;padding-top:20px}.home-footer>span{display:none}.home-footer button{font-size:11px}.dock{gap:5px;padding:8px 9px 12px;bottom:max(9px,env(safe-area-inset-bottom));border-radius:20px;max-width:calc(100% - 16px)}.dock-button .app-icon{height:41px;width:41px;border-radius:11px}.dock-button .app-icon svg{height:22px;width:22px}.dock-divider{margin:0 1px}.dock-button.optional{display:none}.app-window,.app-window.maximized{top:8px;left:8px;width:calc(100% - 16px);max-width:none;height:calc(100dvh - 147px);min-width:0;min-height:260px;border-radius:13px;resize:none;transform:none!important}.app-sidebar{display:none}.window-controls button:not(:first-child){display:none}.window-bar{min-height:48px;padding:0 13px}.window-bar h2{padding-right:23px}.app-content{padding:21px}.view-header{align-items:flex-start;gap:10px;margin-bottom:19px}.view-header h1{font-size:22px}.view-header p{font-size:12px}.primary-btn,.secondary-btn{padding:10px;font-size:12px}.note-list,.device-grid{grid-template-columns:1fr}.note-title{font-size:23px}.note-body{font-size:16px}.terminal-view{margin:-21px;padding:20px;font-size:12px}.terminal-form{gap:6px}.terminal-form button{font-size:11px}.roadie-heading{margin-bottom:18px}.chat-form{gap:6px}.chat-form input{font-size:14px;padding:10px}.chat-form .primary-btn{padding:10px}.message{max-width:94%;font-size:14px}.receipt time{font-size:10px}.note-card{min-height:120px}.file-row{padding:12px;gap:9px}.file-row .icon-btn{width:29px}.view-header .action-row{gap:6px}.settings-section input[type=text]{max-width:calc(100% - 80px)}.theme-swatch{width:76px;height:49px}.theme-options{gap:9px}body[data-layout=tv] .app-grid{gap:16px}body[data-layout=tv] .app-icon{width:52px;height:52px}body[data-layout=tv] .app-tile{font-size:13px}body[data-layout=tv] .app-icon svg{width:25px;height:25px}body[data-layout=tv] .greeting h1{font-size:31px}body[data-layout=tv] .home{padding-top:28px}body[data-layout=phone] .app-window{left:8px;transform:none!important;max-width:none;width:calc(100% - 16px)}}
@media(max-width:360px){.brand span{font-size:14px}.layout-control{gap:2px}.app-grid{gap:13px 5px}.app-icon{height:47px;width:47px}.dock-button .app-icon{height:36px;width:36px}.dock{gap:5px}.greeting h1{font-size:28px}.roadie-suggestions button{font-size:11px;padding:6px}.roadie-suggestions{gap:5px}.card>header{padding-left:16px;padding-right:16px}.home{padding-left:12px;padding-right:12px}.view-header{flex-wrap:wrap}.theme-swatch{width:67px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.menubar :focus-visible,.dock :focus-visible,.roadie-card :focus-visible,body[data-layout=tv] .menubar :focus-visible{outline-color:var(--focus-on-dark)}

/* Users who ask the OS for more contrast get firmer hairlines and dimmer text
   pulled back toward full ink. --line:#e9e9e9 and --muted:#727272 are tuned for
   a calm default; at this setting they are the two tokens that most need help
   (#727272 on white only just clears AA, and #e9e9e9 borders can vanish). */
@media(prefers-contrast:more){
  :root{--line:#9a9a9a;--muted:#454545;--shadow:0 0 0 1px #9a9a9a}
  :focus-visible{outline-width:4px}
}
/* Windows High Contrast: stop painting our own palette and let the OS colours
   through, but keep focus visible by mapping it to a system colour. */
@media(forced-colors:active){
  :root{--focus:Highlight;--focus-on-dark:Highlight;--line:CanvasText;--shadow:none}
  .wallpaper{display:none}
  .icon-tile,[class*=icon-tile]{forced-color-adjust:none}
}
