/* A quiet, spacious desktop and adaptive app surfaces. Frame geometry stays upstream. */
#screen{--studio-bg:#f2f3f5;--studio-surface:#fff;--studio-ink:#20252b;--studio-muted:#6c7380;--studio-line:#dfe2e8;--studio-blue:#1667bf;filter:brightness(var(--studio-brightness,1));}
#screen[data-display-mode=dark]{--studio-bg:#15191f;--studio-surface:#222831;--studio-ink:#edf0f5;--studio-muted:#a2acba;--studio-line:#363f4c;--studio-blue:#76b7ff;}
#screen[data-wallpaper=city] .wallpaper-layer,#screen[data-wallpaper=air-blue] .wallpaper-layer{background:linear-gradient(120deg,#526f8b 0%,#95b8c4 38%,#b9c1b1 64%,#d5bda1 100%)!important;}
#screen #statusbar{color:#fff!important;background:transparent!important;border:0!important;box-shadow:none!important;}
#status-center{opacity:0!important;pointer-events:none;}#statusbar .status-pill{background:transparent!important;border:0!important;box-shadow:none!important;}
#screen #desktop .desktop-grid{display:none!important;}
#screen[data-home-widgets=true] #desktop .desktop-grid{display:grid!important;}
#screen .launcher-bar{top:49px!important;justify-content:flex-end;gap:12px;}
#screen .launcher-bar button{background:#ffffff25!important;border:0!important;font-size:13px!important;box-shadow:none!important;padding:7px 14px!important;color:#fff!important;}
#screen #desktop #app-grid{top:94px!important;bottom:115px!important;left:42px!important;right:42px!important;}
#screen[data-home-widgets=true] #desktop #app-grid{top:230px!important;}
#screen[data-home-widgets=true] .launcher-bar{top:194px!important;}
#screen #app-grid .app-page{grid-template-columns:repeat(6,minmax(0,1fr))!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;gap:2px 18px!important;}
#screen #app-grid .app-tile{grid-template-rows:62px 32px!important;gap:8px!important;border:0!important;background:transparent!important;box-shadow:none!important;transition:transform 180ms ease!important;}
#screen #app-grid .app-icon{width:62px!important;height:62px!important;border-radius:16px!important;background:transparent!important;box-shadow:0 3px 7px #18233230!important;border:0!important;}
#screen #app-grid .app-label{color:#fff!important;text-shadow:0 1px 3px #253b5060;font-weight:500!important;font-size:calc(13px * var(--rs-font-scale,1))!important;}
#screen #dock{background:#ffffff38!important;border:1px solid #ffffff38!important;box-shadow:0 6px 20px #20344c18!important;backdrop-filter:blur(22px);gap:18px!important;}
#screen[data-locked=false]:has(#app-shell.active) #dock{opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
#screen #app-shell{background:var(--studio-bg)!important;color:var(--studio-ink)!important;}
#screen #app-shell .app-header{top:40px!important;background:var(--studio-bg)!important;border-bottom:1px solid var(--studio-line)!important;box-shadow:none!important;color:var(--studio-ink)!important;}
#screen #app-content{bottom:24px!important;color:var(--studio-ink)!important;padding:24px 30px!important;}
#screen:has(#app-shell.active) #statusbar{color:var(--studio-ink)!important;background:var(--studio-bg)!important;}
#screen #app-shell .home-indicator{display:block!important;position:absolute;bottom:10px;left:calc(50% - 65px);width:130px;height:5px;background:var(--studio-ink)!important;border-radius:8px;z-index:70;cursor:pointer;}
#screen #desktop .home-indicator{cursor:pointer;}
#screen .app-subtitle,#screen #app-subtitle,#screen .esc-hint{display:none!important;}
#screen .app-header .icon-btn,#screen .nav-back{color:var(--studio-blue)!important;border:0!important;background:transparent!important;box-shadow:none!important;}
#screen .app-hero{margin-bottom:24px!important;}
#screen .app-hero .eyebrow{display:none!important;}
#screen #app-content h2{font-size:28px!important;font-weight:650!important;letter-spacing:-.6px!important;color:var(--studio-ink)!important;}
#screen #app-content h3{font-size:17px!important;color:var(--studio-ink)!important;}
#screen #app-content p,#screen #app-content small,#screen .section-label{color:var(--studio-muted)!important;line-height:1.5!important;}
#screen #app-content .card,#screen #app-content .setting-group,#screen #app-content .settings-section,#screen #app-content .settings-nav,#screen #app-content .list-row,#screen #app-content .feed-card,#screen #app-content .transaction-row,#screen #app-content .map-nearby-row,#screen #app-content .compose-panel,#screen #app-content .provider-banner,#screen #app-content .bank-balance-grid>div{background:var(--studio-surface)!important;border:1px solid var(--studio-line)!important;color:var(--studio-ink)!important;box-shadow:none!important;border-radius:12px!important;}
#screen #app-content .text-input,#screen #app-content .textarea,#screen .sheet input:not([type=range]):not([type=checkbox]),#screen .tablet-library .text-input{background:var(--studio-surface)!important;border:1px solid var(--studio-line)!important;color:var(--studio-ink)!important;border-radius:8px!important;box-shadow:none!important;min-height:40px;}
#screen #app-content .text-input::placeholder,#screen #app-content .textarea::placeholder{color:var(--studio-muted)!important;}
#screen #app-content .primary-btn{background:var(--studio-blue)!important;color:#fff!important;border:0!important;box-shadow:none!important;border-radius:9px!important;min-height:38px;}
#screen[data-display-mode=dark] #app-content .primary-btn{color:#0a2442!important;}
#screen #app-content .secondary-btn,#screen #app-content .segmented button,#screen #app-content .settings-nav-btn{color:var(--studio-ink)!important;background:var(--studio-surface)!important;border:1px solid var(--studio-line)!important;box-shadow:none!important;border-radius:8px!important;min-height:36px;}
#screen #app-content .secondary-btn.active,#screen #app-content .segmented button.active,#screen #app-content .settings-nav-btn.active{background:var(--studio-blue)!important;color:#fff!important;}
#screen #app-content .danger-btn{background:transparent!important;color:#c13c46!important;box-shadow:none!important;border:1px solid #c13c4644!important;}
#screen #app-content .badge{background:var(--studio-bg)!important;color:var(--studio-muted)!important;border:1px solid var(--studio-line)!important;box-shadow:none!important;}
#screen #app-content .settings-section{padding:22px!important;}
#screen #app-content .setting-row>span,#screen #app-content .setting-row>b,#screen #app-content .settings-nav-btn span{font-size:14px!important;color:inherit!important;}
#screen #app-content .appearance-summary>div,#screen #app-content .tablet-frame-style-card,#screen #app-content .theme-card,#screen #app-content .font-style-card,#screen #app-content .motion-style-card,#screen #app-content .tablet-open-motion-card{background:var(--studio-bg)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important;box-shadow:none!important;}
#screen #app-content .settings-section-icon{background:var(--studio-bg)!important;color:var(--studio-blue)!important;border:0!important;}
#screen .sheet,#screen .tablet-library{background:var(--studio-bg)!important;color:var(--studio-ink)!important;border:1px solid var(--studio-line)!important;box-shadow:0 12px 30px #0002!important;}
#screen .sheet{bottom:24px!important;width:385px!important;border-radius:18px!important;}
#screen .sheet-title button{color:var(--studio-blue)!important;background:transparent!important;border:0;font-size:14px;cursor:pointer;}
#screen .control-tile{background:var(--studio-surface)!important;border:1px solid var(--studio-line)!important;color:var(--studio-ink)!important;box-shadow:none!important;border-radius:12px!important;min-height:75px!important;}
#screen .control-tile span{color:var(--studio-blue)!important;}
#screen #lockscreen{padding-top:74px!important;}
#screen #lockscreen .lock-time{font-size:100px!important;font-weight:350!important;text-shadow:none!important;}
#screen #lockscreen .lock-date{margin-bottom:20px!important;font-size:20px!important;}
#screen .lock-glow,#screen .lock-card,#screen .lock-hint{display:none!important;}
#screen #lockscreen .lock-glance{border:0!important;box-shadow:none!important;background:#ffffff20!important;padding:14px!important;width:560px!important;}
#screen #lockscreen .unlock-btn{bottom:34px!important;height:34px!important;background:transparent!important;border:0!important;box-shadow:none!important;font-size:14px!important;animation:none!important;}
.studio-lock-actions{position:absolute;left:42px;right:42px;bottom:35px;display:flex;justify-content:space-between;pointer-events:none;}
.studio-lock-actions button{pointer-events:auto;width:48px;height:48px;border-radius:50%;border:1px solid #ffffff30;background:#243e5350;color:white;font-size:24px;cursor:pointer;}
#studio-lock-notices{width:560px;max-width:90%;margin-top:20px;display:grid;gap:8px;}
.studio-notice{display:block;width:100%;text-align:left;border:1px solid var(--studio-line);background:var(--studio-surface);color:var(--studio-ink);padding:14px 16px;border-radius:12px;margin-bottom:8px;cursor:pointer;}
.studio-notice header{display:flex;justify-content:space-between;gap:16px;font-size:14px;}.studio-notice time{font-size:11px;color:var(--studio-muted);}.studio-notice p{margin:6px 0 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}.studio-notice.emergency{border-left:4px solid #d04450;}
#studio-lock-notices .studio-notice{background:#ffffffd8;color:#20252b;border:0;backdrop-filter:blur(18px);}
.studio-quick-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:20px;}
.studio-quick-controls button{border:1px solid var(--studio-line);background:var(--studio-surface);color:var(--studio-ink);padding:13px 8px;border-radius:12px;font-size:22px;cursor:pointer;}
.studio-quick-controls b{display:block;font-size:11px;margin-top:6px;font-weight:500;}
.studio-quick-controls .selected,.studio-quick-controls [aria-pressed=true]{background:var(--studio-blue);color:white;}
#screen .toast{background:var(--studio-surface)!important;color:var(--studio-ink)!important;border:1px solid var(--studio-line)!important;box-shadow:0 6px 22px #0002!important;border-radius:14px!important;}
#screen .toast p{color:var(--studio-muted)!important;}
#screen #app-content .tablet-bank-card{width:340px!important;max-width:100%;margin:4px auto 18px!important;min-height:205px!important;}
#screen .tablet-bank-theme-row{justify-content:center;margin-bottom:24px!important;}
#screen .tablet-bank-balances{margin-bottom:24px;}
#screen .tablet-bank-balances strong{color:var(--studio-ink)!important;}
#screen #app-content .tablet-map-viewport{height:390px!important;min-height:300px!important;max-height:none!important;border-radius:12px!important;border:1px solid var(--studio-line)!important;}
#screen .map-hud>span{display:none!important;}
#screen .map-nearby-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
#screen .map-tools{flex-wrap:wrap!important;}
#screen .map-category-row{overflow-x:auto;flex-wrap:nowrap!important;}
#screen .map-category-row button{flex-shrink:0;}
#screen .studio-utility-icon{display:grid!important;place-items:center!important;background:#fff!important;color:#243746!important;font:500 40px/1 sans-serif!important;}
#screen .studio-utility-icon.clock{background:#24292f!important;color:white!important;}#screen .studio-utility-icon.calendar{background:linear-gradient(#d65d51 26%,#fff 26%)!important;color:#30383e!important;}#screen .studio-utility-icon.files{background:#4b9ad3!important;color:white!important;}
#screen.editing-home #app-grid .app-tile{animation:studioWiggle .28s ease-in-out infinite alternate!important;cursor:grab;}
#screen #app-grid .app-tile.dragging{opacity:.4!important;}#screen #app-grid .drop-target{outline:2px solid #fff!important;border-radius:14px!important;}
.studio-title{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;}.studio-title h2{margin:0 0 5px;}.studio-title p{margin:0;font-size:14px;}
.studio-app-list{margin-top:16px;}.studio-app-row{display:flex;align-items:center;gap:12px;padding:16px 12px;border-bottom:1px solid var(--studio-line);font-size:14px;}.studio-app-row[hidden]{display:none;}.studio-app-row strong,.studio-app-row small{display:block;}.studio-switch{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;}.studio-switch input{accent-color:var(--studio-blue);}
.studio-time-readout{font:300 76px/1.4 'Segoe UI',sans-serif;text-align:center;margin:45px 0 32px;font-variant-numeric:tabular-nums;letter-spacing:-3px;}.studio-clock-form{display:flex;gap:16px;align-items:end;margin:0 auto 24px;justify-content:center;}.studio-clock-form label{display:grid;gap:8px;font-size:13px;}.studio-clock-form input{max-width:240px;}.studio-footnote{font-size:12px;margin-top:20px;}.studio-calendar-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:28px;}.studio-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-content:start;}.studio-calendar-grid>b{font-size:12px;text-align:center;padding:10px 0;color:var(--studio-muted);}.studio-calendar-grid button{position:relative;height:58px;border:1px solid var(--studio-line);border-radius:9px;background:var(--studio-surface);color:var(--studio-ink);font-size:16px;cursor:pointer;}.studio-calendar-grid .selected{background:var(--studio-blue);color:white;}.studio-calendar-grid .today{font-weight:800;}.studio-calendar-grid i{position:absolute;bottom:7px;left:calc(50% - 2px);width:4px;height:4px;background:currentColor;border-radius:50%;}.studio-agenda{min-width:0;}.studio-files-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;}.studio-file-list button{display:block;width:100%;text-align:left;padding:14px;border:0;border-bottom:1px solid var(--studio-line);background:var(--studio-surface);color:var(--studio-ink);cursor:pointer;}.studio-file-list strong,.studio-file-list small{display:block;overflow-wrap:anywhere;}.studio-file-list .selected{border-left:3px solid var(--studio-blue);}.studio-files-layout textarea{display:block;width:100%;height:310px;margin:12px 0;resize:vertical;}.studio-compass{text-align:center;padding-top:25px;}.studio-compass-ring{position:relative;width:270px;height:270px;border:2px solid var(--studio-line);border-radius:50%;margin:0 auto 24px;background:repeating-conic-gradient(var(--studio-line) 0deg 1deg,transparent 1deg 15deg);}.studio-compass-ring:before{content:'';position:absolute;inset:12px;border-radius:50%;background:var(--studio-bg);}.studio-compass-ring span{position:relative;top:22px;font-size:22px;font-weight:700;}.studio-compass-ring i{position:absolute;left:calc(50% - 7px);top:55px;width:14px;height:160px;background:linear-gradient(#d64a4a 50%,#a4abb7 50%);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);transform-origin:50% 50%;}.studio-compass strong{font-size:40px;}.studio-compass p{font-size:15px;}
@keyframes studioWiggle{from{rotate:-.7deg}to{rotate:.7deg}}
@keyframes rsTabletAppOpen{from{opacity:0;transform:scale(.88) translateY(12px)}to{opacity:1;transform:none}}
@keyframes rsTabletAppClose{from{opacity:1;transform:none}to{opacity:0;transform:scale(.88) translateY(12px)}}
#screen[data-motion-style=snappy]{--rs-ease:cubic-bezier(.2,.9,.2,1);}#screen .app-opening{animation:rsTabletAppOpen 360ms var(--rs-ease) both!important;}#screen[data-motion-style=snappy] .app-opening{animation-duration:190ms!important;}#screen[data-motion-style=cinematic] .app-opening{animation-duration:520ms!important;}#screen[data-motion-style=spring] .app-opening{animation-timing-function:cubic-bezier(.2,1.25,.3,1)!important;}
#screen.reduced-motion .app-opening,#screen.reduced-motion .app-closing,#screen.reduced-motion .app-tile,#screen.reduced-motion .view{animation:none!important;transition:none!important;}
@media(prefers-reduced-motion:reduce){#screen .app-opening,#screen .app-closing,#screen .app-tile{animation:none!important;transition:none!important;}}

#screen[data-display-mode=light]{color-scheme:light;}#screen[data-display-mode=dark]{color-scheme:dark;}
#screen .map-tools{display:flex!important;}#screen .map-tools input{flex:1 1 120px;min-width:0;}
#screen .studio-title .button-row{flex-shrink:0;}

#screen #app-content .settings-section[hidden]{display:none!important;}
#screen #app-content .settings-nav{border:0!important;border-right:1px solid var(--studio-line)!important;background:transparent!important;border-radius:0!important;padding-right:16px!important;max-height:100%!important;}
#screen #app-content .settings-nav-btn{border:0!important;background:transparent!important;min-height:42px!important;}

/* 1.0.3: weather is a permanent Home glance; optional widgets control the side cards. */
#screen #desktop .desktop-grid{display:grid!important;top:48px!important;left:42px!important;right:42px!important;height:124px!important;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1fr)!important}
#screen[data-home-widgets=false] #desktop .desktop-grid{grid-template-columns:minmax(0,1fr)!important}
#screen[data-home-widgets=false] #desktop .comms-widget,#screen[data-home-widgets=false] #desktop .scanner-widget{display:none!important}
#screen #desktop .launcher-bar,#screen[data-home-widgets=true] #desktop .launcher-bar{top:180px!important}
#screen #desktop #app-grid,#screen[data-home-widgets=true] #desktop #app-grid{top:218px!important;bottom:113px!important}
#screen #desktop #app-grid .app-page{grid-template-rows:repeat(4,minmax(0,1fr))!important;row-gap:3px!important}
#screen #desktop #app-grid .app-tile{grid-template-rows:54px 26px!important;gap:5px!important;align-content:center!important;min-height:0!important}
#screen #desktop #app-grid .app-icon{width:54px!important;height:54px!important;border-radius:13px!important;box-shadow:none!important}
#screen .theme-app-art{object-fit:cover!important;border-radius:22%!important;clip-path:inset(0 round 22%);box-shadow:none!important}
#screen .app-icon:has(.theme-app-art){overflow:hidden!important;border-radius:22%!important;isolation:isolate;box-shadow:0 3px 7px #18233230,inset 0 1px 1px #ffffff22!important}
#screen .mini-app-icon:has(.theme-app-art){overflow:hidden!important;border-radius:22%!important}
#screen .map-pin>b{opacity:0;pointer-events:none;transition:opacity 120ms ease;font-size:11px!important;max-width:220px;white-space:normal!important;text-align:left}
#screen .map-pin:hover,#screen .map-pin:focus-visible{z-index:20}
#screen .map-pin:hover>b,#screen .map-pin:focus-visible>b{opacity:1}
#screen .map-pin:focus-visible{outline:2px solid #b4e7ff;outline-offset:4px;border-radius:50%}
#screen #desktop .hero-widget{padding:14px 18px!important;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:14px 37px 17px;column-gap:14px;align-content:center;isolation:isolate}
#screen #desktop .hero-widget>*:not(.live-weather-scene){position:relative;z-index:1}
#screen #desktop .hero-widget .hero-topline{grid-column:1 / -1;font-size:8px!important;opacity:.8}
#screen #desktop .hero-time{font-size:34px!important;margin:0!important;align-self:center}
#screen #desktop .hero-location{grid-column:1;font-size:10px!important}
#screen #desktop .hero-row{display:none!important}
#screen #desktop .hero-system-row{grid-column:2;grid-row:2 / 4;display:flex;align-items:center;justify-content:center;margin:0!important;min-width:85px}
#screen #desktop #hero-weather{font-size:15px!important;font-weight:600;max-width:145px;white-space:normal;line-height:1.25;text-align:right;text-shadow:0 1px 4px #00152680}
#screen #desktop #hero-power,#screen #desktop #hero-network,#screen #desktop #hero-alerts{display:none!important}
#screen #desktop .hero-widget>.tablet-hero-weather-scene{opacity:.72!important;mix-blend-mode:normal!important;background:linear-gradient(130deg,#142e4c,#265574)!important}
#screen #desktop .hero-widget>.tablet-hero-weather-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#071727a0,transparent)}
#screen #desktop .weather-cloud{width:170px;height:68px;left:auto;right:15%;opacity:0}
#screen #desktop .weather-sun,#screen #desktop .weather-moon{width:58px;height:58px;right:22%;top:12%}
#screen #desktop .panel{background:linear-gradient(140deg,#0d254a70,#14304935)!important;border-color:#ffffff22!important;color:#f3f7ff!important;backdrop-filter:blur(24px)}
#screen #desktop .widget-label{color:#e7f1ff!important}
#screen .theme-card-preview img{object-fit:contain!important;border-radius:0!important;box-shadow:none!important}
#screen #app-content .studio-app-row{flex-wrap:wrap;gap:10px}
#screen #app-content .studio-app-row .grow{flex:1 1 180px;min-width:0}
#screen #app-content .studio-title{flex-wrap:wrap;gap:14px}
#screen #app-content input,#screen #app-content select,#screen #app-content textarea{min-width:0;max-width:100%}
#screen #app-content .form-row{flex-wrap:wrap}
#screen #app-content .form-row>input{flex:1 1 170px;min-width:0}
#screen .view:not(.active) .weather-depth{animation-play-state:paused!important}
@media(max-width:700px){#screen #desktop .desktop-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)!important}#screen #desktop .scanner-widget{display:none!important}}

#screen .live-weather-scene:is([data-weather=rain],[data-weather=storm],[data-weather=snow],[data-weather=blizzard],[data-weather=fog],[data-weather=overcast]) .weather-sun{opacity:0!important}
#screen #desktop .live-weather-scene:is([data-weather=clouds],[data-weather=overcast],[data-weather=clearing],[data-weather=rain],[data-weather=storm],[data-weather=snow],[data-weather=blizzard]) .weather-cloud{opacity:.65}

/* 1.0.5 — display studio and readable samples, independent of shell finishes. */
#screen[data-display-mood=ocean]{--studio-blue:#176b86;--studio-bg:#edf3f6;--studio-line:#d5e3e9}
#screen[data-display-mood=sunset]{--studio-blue:#a94763;--studio-bg:#f6eff0;--studio-line:#e8d9dd}
#screen[data-display-mood=forest]{--studio-blue:#27725a;--studio-bg:#edf3ef;--studio-line:#d6e3dc}
#screen[data-display-mood=noir]{--studio-blue:#465260;--studio-bg:#eef0f2;--studio-line:#d9dfe4}
#screen[data-display-mode=dark][data-display-mood=ocean]{--studio-blue:#8bcfef;--studio-bg:#111d27;--studio-surface:#1a2c38;--studio-line:#2c4658}
#screen[data-display-mode=dark][data-display-mood=sunset]{--studio-blue:#f0b1c3;--studio-bg:#25191f;--studio-surface:#35272e;--studio-line:#503741}
#screen[data-display-mode=dark][data-display-mood=forest]{--studio-blue:#8dd6b4;--studio-bg:#121f1a;--studio-surface:#20322a;--studio-line:#344b40}
#screen[data-display-mode=dark][data-display-mood=noir]{--studio-blue:#c6d0da;--studio-bg:#14171b;--studio-surface:#252a30;--studio-line:#3c444d}
#screen #app-content .tablet-display-settings{display:grid;gap:18px;margin:18px 0 26px}
.display-mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.display-mode-picker button{display:grid;grid-template-columns:70px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;align-items:center;text-align:left;padding:14px;border:1px solid var(--studio-line);border-radius:14px;background:var(--studio-bg);color:var(--studio-ink);cursor:pointer}
.display-mode-sample{grid-row:1/3;display:block;height:52px;border-radius:8px;background:linear-gradient(90deg,#dce4ee 24%,#f8fafc 24%);box-shadow:inset 0 0 0 1px #27354922;position:relative}
.display-mode-sample.dark{background:linear-gradient(90deg,#142333 24%,#293c50 24%)}
.display-mode-sample:after{content:'';position:absolute;inset:13px 9px 13px 27px;border-radius:5px;background:repeating-linear-gradient(180deg,#7397ba 0 4px,transparent 4px 10px);opacity:.65}
.display-mode-picker b{font-size:15px}.display-mode-picker small{font-size:11px}
.display-mode-picker .active,.display-mood-picker .active{border-color:var(--studio-blue)!important;box-shadow:inset 0 0 0 1px var(--studio-blue)}
.display-brightness-row{display:grid;gap:10px;padding:17px;border-radius:12px;background:var(--studio-bg)}
.display-brightness-row>div{display:flex;justify-content:space-between;font-size:14px}.display-brightness-row input{width:100%;accent-color:var(--studio-blue)}.display-brightness-row output{font-variant-numeric:tabular-nums;color:var(--studio-blue)}
.display-brightness-row small{font-size:11px}
.display-mood-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:14px}.display-mood-heading span{font-size:11px;color:var(--studio-muted)}
.display-mood-picker{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.display-mood-picker button{display:grid;gap:8px;justify-items:center;border:1px solid var(--studio-line);border-radius:11px;background:var(--studio-bg);padding:12px 6px;color:var(--studio-ink);cursor:pointer;font-size:12px}
.display-mood-picker i{height:23px;width:23px;border-radius:50%;background:linear-gradient(135deg,#d5e6fa,#5e84ae)}
.display-mood-picker [data-mood-choice=ocean] i{background:linear-gradient(135deg,#a9def3,#176b86)}.display-mood-picker [data-mood-choice=sunset] i{background:linear-gradient(135deg,#f9c8d4,#a94763)}.display-mood-picker [data-mood-choice=forest] i{background:linear-gradient(135deg,#b9e3cb,#27725a)}.display-mood-picker [data-mood-choice=noir] i{background:linear-gradient(135deg,#cad2dc,#465260)}
#screen #app-content .tablet-type-preview{border:1px solid var(--studio-line);border-radius:14px;padding:18px;margin:16px 0;background:var(--studio-bg)}
.type-preview-heading{display:flex;justify-content:space-between;gap:12px;font:12px 'Segoe UI',sans-serif;color:var(--studio-muted);margin-bottom:15px}
#screen #app-content #tablet-type-sample,#screen #app-content #tablet-type-sample *{font-family:var(--sample-font)!important;overflow-wrap:anywhere;line-height:1.5!important;color:var(--studio-ink)!important;letter-spacing:normal}
#screen #app-content #tablet-type-sample strong{display:block;font-size:calc(25px * var(--rs-font-scale,1))!important;font-weight:650}
#screen #app-content #tablet-type-sample p{font-size:calc(15px * var(--rs-font-scale,1))!important;margin:9px 0}
#screen #app-content #tablet-type-sample span{display:block;font-size:calc(13px * var(--rs-font-scale,1))!important;color:var(--studio-muted)!important}
.tablet-type-preview>label{display:grid;gap:7px;margin-top:18px;font:12px 'Segoe UI',sans-serif;color:var(--studio-muted)}
#screen #app-content .font-style-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;overflow:visible!important;touch-action:pan-y}
#screen #app-content .font-style-card{padding:12px;min-height:103px}
#screen #app-content .font-style-card>b{font-size:24px!important}
#screen #app-content .font-style-card>span,#screen #app-content .font-style-card>small{font-family:'Segoe UI',sans-serif!important;white-space:normal!important;overflow-wrap:anywhere}
#screen #app-content .font-style-card>small{font-size:10px!important}
#screen #app-content .font-size-control{background:var(--studio-bg);margin-bottom:16px}
#screen #app-content .appearance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
#screen #app-content .appearance-summary span{font-size:11px;color:var(--studio-muted)}
#screen #app-content .appearance-summary b{font-size:12px;white-space:normal;overflow-wrap:anywhere}
#screen #app-content .game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#screen #app-content .game-card{display:block;min-width:0;white-space:normal!important;height:auto;min-height:185px;padding:18px;line-height:1.4;background:var(--studio-surface)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important;text-align:left}
#screen #app-content .game-card h3,#screen #app-content .game-card p,#screen #app-content .game-card small{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;margin-left:0;margin-right:0}
#screen #app-content .game-card small{font-size:10px;letter-spacing:.04em;color:var(--studio-blue)!important}
#screen #app-content .game-glyph{color:var(--studio-blue);font-size:30px}
#screen .tablet-bank-card{--card-left:#0d5362;--card-right:#164bbb;background:linear-gradient(110deg,var(--card-left) 0%,var(--card-left) 44%,var(--card-right) 56%,var(--card-right) 100%)!important;color:#fff!important}
#screen .tablet-bank-card.bank-card-midnight{--card-left:#1c3046;--card-right:#090e19}
#screen .tablet-bank-card.bank-card-rose{--card-left:#9f3e63;--card-right:#473675}
#screen .tablet-bank-card.bank-card-emerald{--card-left:#125849;--card-right:#174d70}
#screen #app-content .tablet-bank-card header strong,#screen #app-content .tablet-bank-card footer strong,#screen #app-content .tablet-bank-card footer small{color:#fff!important}
#screen #app-content .tablet-bank-card header span{color:#f4f8fc!important}
#screen #app-content .map-tools{flex-wrap:wrap}
#screen #cctv-resume[hidden]{display:none!important}
#screen #app-content .recon-card,#screen #app-content .drone-hero{background:var(--studio-surface)!important;color:var(--studio-ink)!important;border:1px solid var(--studio-line)}
#screen[data-display-mode=dark] #app-content .settings-nav-btn.active{color:#102435!important}
.tablet-type-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;align-items:start}
.tablet-type-preview-column{position:sticky;top:0;min-width:0}
#screen #app-content .tablet-type-workspace .tablet-type-preview{margin-top:0}
#screen #app-content .tablet-type-workspace .font-style-picker{grid-template-columns:repeat(2,minmax(0,1fr));max-height:465px;overflow-y:auto!important;scrollbar-width:thin}
#screen #app-content .tablet-type-workspace .font-style-card{min-height:100px}
#screen #app-content #tablet-type-body{min-height:72px;max-height:112px;overflow:auto}
.tablet-type-workspace .type-preview-heading{flex-wrap:wrap}
@media(max-width:700px){.tablet-type-workspace{grid-template-columns:1fr}.tablet-type-preview-column{position:static}#screen #app-content .tablet-type-workspace .font-style-picker{grid-template-columns:repeat(3,minmax(0,1fr));max-height:300px}}
@media(max-width:700px){#screen #app-content .font-style-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.display-mode-picker button{grid-template-columns:50px minmax(0,1fr);padding:10px}.display-mood-picker{grid-template-columns:repeat(3,minmax(0,1fr))}}
