.label {text-transform:uppercase;display:inline-block;background-color:var(--border);color:var(--bg);padding:4px 8px 6px 8px;opacity:0.6;border-radius:var(--radius)}
.fill {width:100% !important;display:block}
.partial-fill {width:calc(100% - 150px) !important;display:block}
iframe.fill {width:calc(100% - 20px) !important;display:block;height:90vh}
.tabbed button.focused {box-shadow:var(--shadow);opacity:1;color:var(--primary)}
.tab-holder {margin-bottom:15px}
.table .table-row {display:grid;border-bottom:var(--border-width) solid var(--border);grid-template-columns:repeat(auto-fit, minmax(75px, 1fr))}
.table .table-row:last-of-type {border-bottom:0}
.table .table-row .cell {padding:10px;border:1px solid var(--secondary-bg);cursor:pointer;white-space:nowrap;text-overline-style:ellipsis;border-radius:var(--radius);overflow:hidden}
.table .table-row .cell:hover {border:var(--border-width) solid var(--secondary-border)}
.table .table-header .cell {font-weight:bold}
.line-loader {width:100px;height:14px;border-radius:var(--radius);background-color:var(--secondary-bg);position:relative;overflow:hidden;border:var(--border-width) solid var(--border)}
.line-loader-bar {width:40px;height:100%;position:absolute;top:0;left:0;background-color:var(--primary);border-radius:var(--radius);animation:slide 0.69s infinite linear}
@keyframes slide { 0%   {left:0} 50%  {left:calc(100% - 20px)} 100% {left:0}}
.internals-image-viewer-shell {height:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:center;overflow:hidden}
.internals-image-viewer-center {width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}
.internals-image-preview-host {display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%;overflow:hidden}
.internals-image-preview-host img, .internals-image-preview-host svg {flex:0 0 auto}
.internals-image-window-shred-source {visibility:hidden!important;pointer-events:none!important}
.internals-image-window-shred-strip {position:fixed!important;overflow:hidden!important;margin:0!important;pointer-events:none!important;user-select:none!important;transform-origin:center top;will-change:transform,opacity;animation-name:internals-image-window-shred;animation-timing-function:cubic-bezier(.42,0,.78,.42);animation-fill-mode:forwards}
.internals-image-window-shred-content {position:absolute!important;margin:0!important;transform:none!important;transition:none!important;animation:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important}
.internals-image-window-shred-content * {transition:none!important;animation:none!important;caret-color:transparent!important}
@keyframes internals-image-window-shred {0%,12% {opacity:1;transform:translate3d(0,0,0) rotate(0) scaleY(1)} 36%,46% {opacity:1;transform:translate3d(var(--shred-break-x),0,0) rotate(var(--shred-break-rotate)) scaleY(1)} 100% {opacity:0;transform:translate3d(var(--shred-x),var(--shred-y),0) rotate(var(--shred-rotate)) scaleY(.82)}}
@media (prefers-reduced-motion:reduce) {.internals-image-window-shred-strip {animation:none}}
.internals-pdf-viewer-shell {height:100%;box-sizing:border-box;overflow:hidden}
.internals-pdf-preview {display:block;width:100%;height:100%;min-height:560px;border:0;background:var(--secondary-bg)}
.internals-app-setting-value {display:flex;align-items:center;gap:8px;width:100%;min-width:0}
.internals-app-setting-value > [data-setting-name] {flex:1;min-width:0}
.internals-app-setting-color-preview {display:inline-block;flex:0 0 14px;width:14px;height:14px;box-sizing:border-box;border:var(--border-width) solid var(--secondary-border);border-radius:50%;box-shadow:var(--small-shadow)}
.internals-app-setting-color-preview[hidden] {display:none}
.masonry {column-count:3;column-gap:2rem;padding:0 18px 10px 10px}
.note-tile {break-inside:avoid;margin-bottom:1rem;display:inline-block;width:100%;max-height:400px}
.notes-empty-state {min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:var(--faded)}
.masonry .notes-empty-state {column-span:all}
.notes-empty-icon {width:72px;height:72px;object-fit:contain;opacity:0.7}
.notes-empty-label {font-weight:600}
.note-tile-title {display:block;margin:0 0 6px;font-weight:700;line-height:1.3;overflow-wrap:anywhere}
.contacts-empty-state {min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:var(--faded)}
.contacts-empty-icon {width:72px;height:72px;object-fit:contain;opacity:0.7}
.contacts-empty-label {font-weight:600}
.boards-empty-state {min-height:340px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:var(--faded);grid-column:1 / -1}
.boards-empty-icon {width:72px;height:72px;object-fit:contain;opacity:0.7}
.boards-empty-label {font-weight:600}
.boards-custom-color {position:relative;overflow:hidden;background:conic-gradient(#ff3b30, #ffcc00, #34c759, #00c7be, #007aff, #af52de, #ff2d55, #ff3b30)}
.boards-custom-color input[type="color"] {position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer}
.board-file {min-height:112px;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.board-file-icon {display:block;margin:0 !important;flex:0 0 auto}
.board-file-name {width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.files-display-button {display:inline-flex;align-items:center;justify-content:center}
.files-display-button svg {width:25px;height:25px;display:block}
.files-file-copy,.files-file-name,.files-file-detail {min-width:0}
.files-file-name,.files-file-detail {overflow:hidden;text-overflow:ellipsis}
.files-selection-root {user-select:none}
.file-folder.files-file-selected {border-radius:var(--radius) !important;box-shadow:inset 0 0 0 2px var(--primary)}
.files-selection-marquee {position:fixed;z-index:6998;box-sizing:border-box;border:1px solid var(--primary);border-radius:var(--radius);background:color-mix(in srgb,var(--primary) 16%,transparent);pointer-events:none}
.files-selection-marquee.hidden {display:none}
.files-display-rows .files-file-item {display:grid;grid-template-columns:50px minmax(0,1fr)}
.files-display-tiles {display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;align-items:stretch}
.files-display-tiles .files-file-item {box-sizing:border-box;display:flex;min-height:128px;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
.files-display-tiles .files-file-icon {float:none;width:56px;height:56px;margin:0}
.files-display-tiles .files-file-copy {width:100%}
.files-display-tiles .files-file-detail {display:none}
.files-display-details .files-file-item {display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;padding:6px 8px;border-bottom:var(--border-width) solid var(--border);border-radius:0 !important}
.files-display-details .files-file-item:last-child {border-bottom:0}
.files-display-details .files-file-icon {float:none;width:24px;height:24px;margin:0 6px 0 0}
.files-display-details .files-file-copy {display:grid;grid-template-columns:minmax(120px,.8fr) minmax(160px,1.2fr);align-items:center;gap:14px}
.files-display-details .files-file-name,.files-display-details .files-file-detail {white-space:nowrap}
.files-display-details .files-file-detail {font-size:calc(var(--fs) - 2px);text-align:right}
@media (max-width:560px) {
    .files-display-tiles {grid-template-columns:repeat(auto-fill,minmax(105px,1fr))}
    .files-display-details .files-file-copy {display:block}
    .files-display-details .files-file-detail {display:block;text-align:left}
}
.grid {padding:0 15px 0 15px;display:grid;grid-template-columns:repeat(3, 1fr);grid-auto-rows:auto;gap:4px;align-items:start}
.bi {display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:4px;align-items:start}
.large-gridded {display:grid;grid-template-columns:repeat(4, 1fr);grid-template-rows:auto;gap:6px}
.gridded {display:grid;grid-template-columns:repeat(7, 1fr);grid-template-rows:auto;gap:1px}
#photos .file-folder {aspect-ratio:1 / 1;overflow:hidden}
#photos .file-folder .covered {width:100%;height:100%;overflow:hidden}
#photos .file-folder img {width:100% !important;height:100%;object-fit:cover;display:block}
#videos .file-folder {aspect-ratio:1 / 1;overflow:hidden;position:relative}
#videos .file-folder .files-video-thumb {position:relative;width:100%;height:100%;overflow:hidden;background:var(--secondary-bg)}
#videos .file-folder .files-video-thumb img {width:100% !important;height:100%;object-fit:cover;display:block}
#videos .file-folder .files-video-fallback {width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--secondary-bg)}
#videos .file-folder .files-video-fallback img {width:72px !important;height:72px;object-fit:contain;opacity:0.8}
#videos .file-folder .files-video-label {position:absolute;left:0;right:0;bottom:0;padding:10px 12px 12px;background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72));color:#fff;font-size:calc(var(--font-size) - 1px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#videos .file-folder .files-video-progress {position:absolute;left:0;bottom:0;height:4px;background:var(--primary);border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);pointer-events:none}
.grid7 {display:grid;grid-template-columns:repeat(7, 1fr);grid-template-rows:auto;gap:5px}
.grid7 div {height:160px;margin-top:0}
.grid7 div div {height:auto;margin-top:0}
#map {margin:0 !important}
.dot {border-radius:50%;width:8px;height:8px;float:left;margin:calc(var(--fs) / 3) 8px 0 4px}
@keyframes flowIn {from {opacity:0;transform:translateY(-30px) scale(0.8)} to {opacity:1;transform:translateY(0)  scale(1)}}
.animate-in {opacity:0;animation:flowIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards var(--delay, 0s)}
.animate-in-delayed {opacity:0;animation:flowIn 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s}
.magnify-hover:hover {transition:all 100ms;transform:scale(1.05) !important}
.faded {opacity:0.75}
.faded:hover {opacity:1.0}
.extra-faded {opacity:0.5}
.interface-controls {display:inline-flex;align-items:stretch;overflow:hidden}
.interface-controls > button {border:0;border-radius:0;box-shadow:none}
.interface-controls > button:hover {border:0;box-shadow:none}
.interface-controls > button img {display:block;width:25px;height:25px;object-fit:contain}
.interface-controls > button.desktop-tool-active {background:var(--secondary-bg);color:var(--primary)}
.clock-status-control {display:inline-flex;align-items:stretch;overflow:hidden;vertical-align:top}
#live-time {font-weight:bold;padding:8px 10px;border:0;border-radius:0;background:transparent;box-shadow:none}
#live-time:hover {background:var(--secondary-bg);box-shadow:none}
.control-center {position:fixed;top:52px;left:6px;z-index:42068;box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(330px,calc(100vw - 12px));padding:8px;background:var(--transparent-bg);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-10px) scale(.96);transform-origin:top left;transition:opacity 180ms ease,transform 180ms ease,visibility 0s linear 180ms}
.control-center.open {opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition-delay:0s}
.control-center-control {display:flex;align-items:center;gap:10px;min-width:0;padding:10px;text-align:left;background:var(--secondary-bg)}
.control-center-control svg {flex:0 0 28px;width:28px;height:28px}
.control-center-control span {display:flex;min-width:0;flex-direction:column}
.control-center-control small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.75}
.control-center-control.connected svg {color:var(--green)}
.control-center-control.disconnected svg {opacity:.45}
.interface-icon {width:var(--interface-shortcut-icon-size,28px);height:var(--interface-shortcut-icon-size,28px);border-radius:var(--radius);padding:2px;cursor:pointer;border:none}
.interface-icon:hover {box-shadow:var(--shadow);border:none}
.interface-icon img,.interface-icon svg {display:block;width:var(--interface-shortcut-icon-size,28px);height:var(--interface-shortcut-icon-size,28px);object-fit:contain}
.guttered {margin-right:calc(var(--gutter) * 2.5);margin-left:calc(var(--gutter) * 2.5)}
.flex {display:flex;flex-direction:column}
.center-center {position:absolute;top:42%;left:50%;transform:translate(-50%, -50%)}
.hover-shadowed:hover {transition:all 100ms;box-shadow:var(--shadow) !important}
.secondary-bg {background-color:var(--secondary-bg)}
.radius {border-radius:var(--radius) !important}
.radius-bottom-left {border-bottom-left-radius:var(--radius) !important}
.radius-bottom-right {border-bottom-right-radius:var(--radius) !important}
.no-radius {border-radius:0 !important}
.inner-radius {border-radius:max(0px,calc(var(--radius) - 4px)) !important}
.bordered {border:var(--border-width) solid var(--border)}
.bordered-left {border-left:var(--border-width) solid var(--border)}
.bordered-bottom {border-bottom:var(--border-width) solid var(--border)}
.bordered-right {border-right:var(--border-width) solid var(--border)}
.secondary-bordered {border:var(--border-width) solid var(--secondary-border)}
.list {overflow:hidden}
.list:hover {overflow:visible}
.list .box {border:1px solid rgba(0,0,0,0);border-radius:0;z-index:1}
.list .line, .lined {border-bottom:1px dotted var(--secondary-border) !important;border-bottom-left-radius:0;border-bottom-right-radius:0}
.list .line:last-of-type, .lined:last-of-type {border-bottom:none}
.list .box:hover {transform:scale(1.05);background-color:var(--bg);border-bottom:1px solid var(--secondary-bg);border-radius:var(--radius)}
.hover-border {border:1px solid var(--secondary-bg)}
.hover-background:hover {background-color:var(--secondary-bg)}
.list .hover-border:hover, .hover-border:hover {border:var(--border-width) solid var(--secondary-border);z-index:4}
.list .box .indicator {transition:all 100ms;opacity:0;margin:-2px 20px 0 0;float:right;position:relative}
.list .box:hover .indicator {transition:all 100ms;opacity:0.8}
.list-item {display:grid;grid-template-columns:50px minmax(0, 1fr)}
.list-item > div {min-width:0}
.indicator span,
.indicator::before,
.indicator::after {content:'';position:absolute;width:15px;height:2px;background:var(--fg);border-radius:6px;transform-origin:left center;transition:transform 0.3s ease, top 0.3s ease, opacity 0.3s ease}
.indicator span {top:13px}
.indicator::before {top:1px;width:12px;left:0;transform:rotate(45deg) translateX(6px);margin-left:4px}
.indicator::after {top:25px;width:12px;left:0;transform:rotate(-45deg) translateX(6px);margin-left:4px}
.indicator.active span {opacity:0;transform:scaleX(0)}
.indicator.active {margin-top:10px}
.indicator.active::before {top:7px;width:16px;transform:rotate(45deg) translateX(0)}
.indicator.active::after {top:18px;width:16px;transform:rotate(-45deg) translateX(0)}
#cover {position:fixed;display:none;width:100%;height:100%;background-color:rgba(0,0,0,0);backdrop-filter:blur(var(--blur));z-index:42067}
.dialogue {border:var(--border-width) solid var(--secondary-border);border-radius:var(--radius);position:fixed;left:50%;top:25%;width:350px;margin-left:-175px;background-color:var(--secondary-bg);z-index:42069}
.search-dialogue {box-sizing:border-box}
.search-dialogue-popout {width:360px;max-width:calc(100vw - 16px);margin-left:0;background-color:var(--transparent-bg)}
.search-dialogue-input {width:100%;box-sizing:border-box}
.search-dialogue-results {display:flex;flex-direction:column;gap:4px;max-height:220px;overflow:auto;margin:10px 0}
.search-dialogue-result {display:flex;flex-direction:column;gap:2px;width:100%;padding:8px 10px;text-align:left;border:1px solid transparent;border-radius:max(0px,calc(var(--radius) - 4px));background:transparent;color:var(--fg)}
.search-dialogue-result:hover,.search-dialogue-result.active {background:var(--bg);border-color:var(--border)}
.search-dialogue-result-title {font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-dialogue-result-detail {font-size:calc(var(--fs) - 2px);opacity:0.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-dialogue-empty {padding:8px 2px;opacity:0.7}
.search-dialogue-actions {min-height:32px}
.editor-text-search-marker {display:inline-block;width:0;height:1.2em;vertical-align:middle;box-shadow:0 0 0 4px rgba(59, 130, 246, 0.18);animation:editorTextSearchPulse 700ms ease-out}
@keyframes editorTextSearchPulse {0% {box-shadow:0 0 0 8px rgba(59, 130, 246, 0.32)}100% {box-shadow:0 0 0 4px rgba(59, 130, 246, 0.02)}}
.files-search-hit {animation:filesSearchPulse 800ms ease-out}
@keyframes filesSearchPulse {0% {box-shadow:0 0 0 8px rgba(59, 130, 246, 0.32)}100% {box-shadow:0 0 0 2px rgba(59, 130, 246, 0)}}
.status-indicator {z-index:25;font-size:calc(var(--fs) - 4px);cursor:pointer;position:static;opacity:0.8;display:inline-flex;align-items:center;gap:8px;padding:8px 10px;backdrop-filter:blur(var(--blur));margin:0;border:0;border-left:var(--border-width) solid var(--border);transition:background-color 0.3s ease}
.status-indicator:hover {background:var(--secondary-bg)}
.status-indicator .status-dot {width:10px;height:10px;border-radius:50%;background-color:var(--green);transition:background-color 0.3s ease, transform 0.3s ease}
.status-indicator.status-connected .status-dot {background-color:var(--green)}
.status-indicator.status-connecting .status-dot {background-color:var(--orange);animation:statusPulse 1s infinite ease-in-out}
.status-indicator.status-disconnected .status-dot {background-color:var(--red)}
.status-toast-container {position:fixed;top:50px;right:16px;display:flex;flex-direction:column;gap:10px;z-index:1000}
.status-toast {padding:8px 12px;border-radius:var(--radius);border:var(--border-width) solid var(--border);background-color:var(--bg);box-shadow:var(--shadow);opacity:0;transform:translateY(-6px);transition:opacity 0.3s ease, transform 0.3s ease}
.status-toast.show {opacity:1;transform:translateY(0)}
.status-toast.fade-out {opacity:0;transform:translateY(-6px)}
.status-toast.status-connected {border-color:var(--green);background-color:var(--green);color:white}
.status-toast.status-connecting {border-color:var(--orange);background-color:var(--orange);color:white}
.status-toast.status-disconnected {border-color:var(--red);background-color:var(--red);color:white}
.browser-demo-toast {position:fixed;right:16px;bottom:16px;z-index:2147483600;width:min(360px,calc(100vw - 32px));padding:16px;background:var(--bg);color:var(--text);border:var(--border-width) solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);display:grid;gap:12px}
.browser-demo-toast[hidden] {display:none}
.browser-demo-toast-header {display:flex;align-items:center;justify-content:space-between;gap:12px}
.browser-demo-toast-header strong {font-size:1rem}
.browser-demo-toast p {margin:0;line-height:1.4}
.browser-demo-toast-toggle {display:flex;align-items:center;gap:10px;cursor:pointer}
.browser-demo-toast-toggle input {margin:0}
#desktop-viewport {position:fixed;inset:0;overflow:hidden}
html.use-desktop-grid #desktop-viewport {background-image:linear-gradient(to right,var(--border) 1px,transparent 1px),linear-gradient(to bottom,var(--border) 1px,transparent 1px);background-size:32px 32px}
#desktop-canvas {position:absolute;inset:0;transform:translate(0,0);transform-origin:0 0}
#search-box-container {z-index:2}
.desktop-shortcut {position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;width:88px;padding:7px;color:var(--fg)}
.desktop-shortcut img,.desktop-shortcut svg {display:block;width:34px;height:34px;object-fit:contain}
.desktop-shortcut-label {max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(var(--fs) - 3px)}
.desktop-item-selected {outline:2px solid var(--primary);outline-offset:2px}
.draggable-window.desktop-canvas-window {position:absolute;transform-origin:top left !important}
#desktop-selection-marquee {position:fixed;z-index:6998;border:1px solid var(--primary);border-radius:var(--radius);background:color-mix(in srgb,var(--primary) 16%,transparent);pointer-events:none}
#desktop-selection-marquee.hidden,.desktop-command-panel.hidden {display:none}
.desktop-coordinates {position:fixed;right:10px;bottom:8px;z-index:6997;padding:4px 7px;background:var(--transparent-bg);font-size:11px;font-variant-numeric:tabular-nums;line-height:16px;white-space:nowrap}
.desktop-command-panel {position:fixed;left:50%;bottom:18px;z-index:6999;width:min(440px,calc(100vw - 32px));box-sizing:border-box;transform:translateX(-50%);background:var(--transparent-bg)}
.desktop-command-panel form {display:grid;grid-template-columns:1fr 1fr;gap:8px}
.desktop-command-panel .desktop-command-wide {grid-column:1/-1}
.desktop-command-actions {display:flex;justify-content:flex-end;gap:8px;grid-column:1/-1}
.secondary-tile {transition:all 125ms;border-radius:var(--radius);cursor:pointer}
.secondary-tile:hover {background-color:var(--secondary-bg);border-radius:var(--radius) !important}
.secondary-tile .expose, .expose {visibility:hidden;margin:0}
.secondary-tile:hover .expose {visibility:visible}
@keyframes statusPulse {0% {transform:scale(1)}50% {transform:scale(1.2)}100% {transform:scale(1)}}
.service-loader {margin-left:50%;left:-180px}
.service-loader.hidden {display:none}
.service-loader-card {padding:16px 18px;width:320px;max-width:90%}
.service-loader-text {margin:0 0 10px 0;font-weight:600}
.service-loader-bar {border:var(--border-width) solid var(--border);border-radius:var(--radius);height:8px;overflow:hidden;background:var(--secondary-bg)}
.service-loader-bar-progress {height:100%;width:0%;background:var(--primary);transition:width 200ms ease}
.service-loader-status {margin:8px 0 0 0;font-size:14px;opacity:0.8}
.search-box-field {display:flex;align-items:center;justify-content:center;min-width:350px;width:100%;gap:6px}
.search-filter-prefix {display:inline-flex;align-items:center;align-self:center;flex:0 0 auto;padding:5px 8px 6px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 4px));background-color:var(--secondary-bg);color:var(--primary);box-shadow:var(--small-shadow);font-weight:700;line-height:1;opacity:1;transform:translateX(0) scale(1);transition:opacity 140ms ease, transform 140ms ease, max-width 140ms ease, padding 140ms ease, margin 140ms ease;max-width:140px;overflow:hidden;white-space:nowrap}
.search-filter-prefix.hidden {opacity:0;transform:translateX(-8px) scale(0.96);max-width:0;padding-left:0;padding-right:0;margin-right:-6px;border-width:0}
.search-filter-prefix.removing {opacity:0;transform:translateX(8px) scale(0.96)}
#search-box {padding:8px 4px 8px 4px;min-width:0;width:100%;display:inline-block;text-overflow:clip}
#search-box.search-filter-backspace {animation:searchFilterBackspace 170ms ease-out}
@keyframes searchFilterBackspace {0% {transform:translateX(6px)}60% {transform:translateX(-2px)}100% {transform:translateX(0)}}
#search-status {margin-top:9px}
.block-loader {font-family:"Fira Code", "JetBrains Mono", Consolas, monospace;font-size:26px;line-height:1}
@keyframes interfaceWindowOpen {from {opacity:0;transform:translateY(10px) scale(0.98)} to {opacity:1;transform:translateY(0) scale(1)}}
.draggable-window {position:fixed;top:50px;left:50px;width:600px;border:var(--border-width) solid var(--border);box-shadow:var(--shadow);border-radius:var(--radius);z-index:1000;overflow:visible;background-color:var(--transparent-bg);backdrop-filter:blur(var(--blur))}
.draggable-window:not(.widget-window) {animation:interfaceWindowOpen 160ms cubic-bezier(0.22, 1, 0.36, 1)}
.widget-window {transition:all 100ms}
.widget-window .window-content {margin:0;padding:10px;height:100%}
/*.window-header {transition:all 100ms;border-radius:var(--radius);z-index:3;opacity:0.6;width:calc(100% - 22px);margin:5px;padding:6px;cursor:grab;position:absolute}*/
/*.window-header {transition:all 100ms;border-radius:var(--radius);backdrop-filter:blur(var(--blur));z-index:3;opacity:0.6;width:calc(100% - 22px);margin:5px;padding:6px;cursor:grab;position:absolute}*/
.window-header {transition:all 100ms;border-radius:var(--radius);z-index:3;width:calc(100% - 22px);margin:5px;padding:6px;cursor:grab;position:absolute}.window-header::before {content:"";position:absolute;inset:0;border-radius:inherit;backdrop-filter:blur(var(--blur));-webkit-backdrop-filter:blur(var(--blur));mask-image:linear-gradient(to bottom,black 0%,black 25%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,black 0%,black 25%,transparent 100%);opacity:0.6;z-index:-1;pointer-events:none}
.window-header:hover {opacity:1}
.window-header .window-icon {width:22px;height:22px;vertical-align:bottom;margin:2px 0 0 4px;object-fit:contain}
.window-header .title {display:inline-block;vertical-align:top;padding:3px 0 0 6px;font-weight:700;white-space:nowrap}
.window-header .title.editable-title {max-width:calc(100% - 120px);min-width:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;outline:none;cursor:text}
.window-header .title.editable-title:focus {text-overflow:clip}
.window-header .closer, .window-header .window-tool-button {width:22px;height:22px;vertical-align:bottom;float:right;border-radius:var(--radius);padding:2px;border:1px solid rgba(0, 0, 0, 0);margin:-2px -2px 0 0}
.window-header .closer svg {margin:0}
.window-header .window-tool-button svg {margin:0}
.calculator-window {transition:width 320ms cubic-bezier(0.22,1,0.36,1),left 320ms cubic-bezier(0.22,1,0.36,1)}
.calculator-window .window-body {overflow:hidden}
.calculator-window [data-portal-tool-title="scientific calculator mode"],.calculator-window [data-portal-tool-title="converter mode"] {transition:color 160ms ease,background-color 160ms ease,transform 160ms ease}
.calculator-window [data-portal-tool-title="scientific calculator mode"].active,.calculator-window [data-portal-tool-title="converter mode"].active {color:var(--primary);background:var(--secondary-bg);transform:scale(1.08)}
.calculator-keypad {display:flex;gap:7px;align-items:stretch}
.calculator-basic-pad,.calculator-scientific-pad {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;min-width:0;flex:1 1 0}
.calculator-scientific-pad {animation:calculatorScientificReveal 180ms cubic-bezier(0.22,1,0.36,1) 140ms both;backface-visibility:hidden;will-change:opacity,transform}
.calculator-scientific-key {font-size:calc(var(--fs) - 2px);background-color:var(--secondary-bg)}
.calculator-converter {display:flex;flex-direction:column;gap:9px;min-height:284px;padding-top:4px;animation:calculatorScientificReveal 180ms cubic-bezier(0.22,1,0.36,1) 100ms both}
.calculator-converter-label {font-size:calc(var(--fs) - 2px);font-weight:700;color:var(--faded)}
.calculator-converter .plastic-dropdown,.calculator-converter input {box-sizing:border-box;width:100%;min-width:0;height:42px;padding:8px 10px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 2px));background:var(--secondary-bg);color:inherit;font:inherit}
.calculator-converter .plastic-dropdown {display:flex}
.calculator-converter .plastic-dropdown-label {flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calculator-converter-row {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:8px;align-items:center}
.calculator-converter-row input {font-size:20px;font-weight:650;font-variant-numeric:tabular-nums}
.calculator-converter-result-row {border-top:var(--border-width) solid var(--light-border);padding-top:9px}
#calculator-converter-result {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}
.calculator-converter-swap {align-self:center;display:flex;align-items:center;justify-content:center;width:36px;height:32px;padding:5px;border-radius:999px;background:var(--secondary-bg)}
.calculator-converter-swap svg {width:20px;height:20px;transform:rotate(90deg)}
.calculator-converter-status {min-height:18px;text-align:right;font-size:calc(var(--fs) - 3px)}
@keyframes calculatorScientificReveal {from {opacity:0;transform:translateX(10px)}to {opacity:1;transform:translateX(0)}}
@media (prefers-reduced-motion:reduce) {.calculator-window,.calculator-window [data-portal-tool-title="scientific calculator mode"],.calculator-window [data-portal-tool-title="converter mode"] {transition:none}.calculator-scientific-pad,.calculator-converter {animation:none}}
.widget-window .closer {zoom:0.7}
.window-header .closer:hover,.window-header .window-tool-button:hover,.window-header .closer:focus-visible,.window-header .window-tool-button:focus-visible {cursor:pointer;background-color:var(--hover-bg);backdrop-filter:blur(var(--blur))}
.widget-window .window-header {opacity:0;padding:3px !important;margin:0 !important}
.widget-window:hover .window-header {opacity:0.75}
.widget-window:hover .window-header:hover {opacity:1}
.window-content-barred {z-index:2;box-shadow:var(--shadow);border:var(--border-width) solid var(--light-border);border-radius:max(0px,calc(var(--radius) - 2px));margin:5px;display:grid;height:calc(100% - 10px);box-sizing:border-box;padding:36px 5px 5px 5px;grid-template-columns:175px minmax(0, 1fr);column-gap:14px;backdrop-filter:blur(var(--blur))}
.window-content {box-shadow:var(--shadow);padding:5px;border-radius:var(--radius);margin:5px;background-color:var(--background)}
.window-body {overflow-y:auto;overflow-x:hidden}
.window-content-barred > .window-sidebar {min-width:0;height:calc(100% - 5px);box-sizing:border-box}
.window-content-barred > .window-body {min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.window-content-barred > .window-body > * {max-width:100%;min-width:0;box-sizing:border-box}
.window-body .has-small-space {margin-top:20px}
.window-content-barred > .window-body button.primary-action {position:fixed;bottom:15px;right:15px;padding:5px;backdrop-filter:blur(var(--blur))}
.window-content-barred > .window-body button.secondary-action {position:fixed;bottom:15px;left:15px;padding:5px;backdrop-filter:blur(var(--blur))}
.window-content-barred > .window-body button.primary-action svg, .window-content-barred > .window-body button.secondary-action svg {width:22px;height:22px;display:block}
.window-sidebar {transition:all 120ms;background-color:var(--transparent-bg);backdrop-filter:blur(var(--blur));border-radius:max(0px,calc(var(--radius) - 2px));display:flex;flex-direction:column;padding:6px 8px 8px 8px;border:var(--border-width) solid var(--light-border)}
.window-sidebar:hover {box-shadow:var(--shadow)}
.sidebar-item {transition:all 100ms;font-size:calc(var(--font-size) + 1px);display:flex;align-items:center;cursor:pointer;padding:6px;margin-bottom:5px;border-radius:max(0px,calc(var(--radius) - 2px))}
.sidebar-item:hover {background-color:var(--bg);transform:scale(1.05)}
.active-route {background-color:var(--bg);color:var(--primary)}
.active-route svg {color:var(--primary);stroke:var(--primary)}
.centered-nav {left:50% !important;margin-left:-110px !important;top:12px}
.window-topbar {z-index:12;top:10px;transition:all 120ms;display:inline-block;position:fixed;background-color:var(--transparent-bg);backdrop-filter:blur(var(--blur));border-radius:max(0px,calc(var(--radius) - 2px));padding:4px;border:var(--border-width) solid var(--light-border)}
.window-topbar:hover {box-shadow:var(--shadow)}
.window-topbar .sidebar-item {transition:all 100ms;font-size:calc(var(--font-size) - 2px);display:inline-block;align-items:center;cursor:pointer;padding:4px 6px 4px 4px;margin:0 6px 0 0;border-radius:max(0px,calc(var(--radius) - 3px))}
.window-topbar .sidebar-item:last-of-type {margin-right:0}
.window-topbar .sidebar-item:hover {background-color:var(--secondary-bg);transform:scale(1.05)}
.window-topbar .sidebar-item svg {vertical-align:bottom;width:18px !important;height:18px !important;margin-right:6px}
.window-topbar .sidebar-item svg.no-margin {margin:0}
.primary-action {background-color:var(--primary);border:var(--border-width) solid var(--secondary-color);color:white}
.primary-action span {text-align:center}
.primary-action:hover {background-color:var(--primary);border:var(--border-width) solid var(--secondary-color);color:white}
.sidebar-icon, .sidebar-item svg {margin-right:10px;width:20px;height:20px}
.resize-handle {position:absolute;width:10px;height:10px;background:transparent;z-index:10;cursor:pointer;touch-action:none}
.resize-handle.top {top:-5px;left:50%;transform:translateX(-50%);cursor:ns-resize}
.resize-handle.right {top:50%;right:-5px;transform:translateY(-50%);cursor:ew-resize}
.resize-handle.bottom {bottom:-5px;left:50%;transform:translateX(-50%);cursor:ns-resize}
.resize-handle.left {top:50%;left:-5px;transform:translateY(-50%);cursor:ew-resize}
.resize-handle.top-right,.resize-handle.top-left,.resize-handle.bottom-right,.resize-handle.bottom-left {width:28px;height:28px;z-index:30}
.resize-handle.top-right {top:-9px;right:-9px;cursor:nesw-resize}
.resize-handle.top-left {top:-9px;left:-9px;cursor:nwse-resize}
.resize-handle.bottom-right {bottom:-9px;right:-9px;cursor:nwse-resize}
.resize-handle.bottom-left {bottom:-9px;left:-9px;cursor:nesw-resize}
.resize-handle.top-right::after,.resize-handle.top-left::after,.resize-handle.bottom-right::after,.resize-handle.bottom-left::after {content:"";position:absolute;width:20px;height:20px;box-sizing:border-box;border:3px solid color-mix(in srgb,var(--fg) 58%,transparent);opacity:0;transform:scale(.78);transition:opacity 120ms ease,transform 160ms cubic-bezier(.22,1,.36,1);filter:drop-shadow(0 1px 2px color-mix(in srgb,var(--bg) 75%,transparent));pointer-events:none}
.resize-handle.top-left::after {left:0;top:0;border-right:0;border-bottom:0;border-radius:calc(var(--radius) + 8px) 0 0 0;transform-origin:bottom right}
.resize-handle.top-right::after {right:0;top:0;border-left:0;border-bottom:0;border-radius:0 calc(var(--radius) + 8px) 0 0;transform-origin:bottom left}
.resize-handle.bottom-right::after {right:0;bottom:0;border-left:0;border-top:0;border-radius:0 0 calc(var(--radius) + 8px) 0;transform-origin:top left}
.resize-handle.bottom-left::after {left:0;bottom:0;border-right:0;border-top:0;border-radius:0 0 0 calc(var(--radius) + 8px);transform-origin:top right}
.resize-handle.top-right:hover::after,.resize-handle.top-left:hover::after,.resize-handle.bottom-right:hover::after,.resize-handle.bottom-left:hover::after,.resize-handle.is-resizing::after {opacity:1;transform:scale(1)}
@media (prefers-reduced-motion:reduce) {.resize-handle.top-right::after,.resize-handle.top-left::after,.resize-handle.bottom-right::after,.resize-handle.bottom-left::after {transition:none}}
.window-body .view {transition:all 100ms;border-radius:var(--radius);padding:10px}
.window-body .actionable {position:relative}
.window-body .actionable .ios-switch {margin-right:-10px}
.window-body .actionable:hover {background-color:var(--secondary-bg)}
.window-content-barred > .window-body .bordered {border:var(--border-width) solid var(--border);margin:10px 5px 0 5px}
.reserve {width:50px;height:50px}
.small-shadowed {box-shadow:var(--small-shadow)}
.shadowed {box-shadow:var(--shadow)}
@keyframes zoomIn { 0% {transform:scale(0.8);opacity:0} 100% {transform:scale(1);opacity:1}}
#search-results {max-height:55vh;overflow-y:auto;overflow-x:hidden;max-width:400px}
.search-result {display:flex;align-items:center;gap:10px;overflow:hidden}
.search-result-icon {width:28px;height:28px;display:flex;align-items:center;justify-content:center;flex:0 0 28px}
.search-result-icon-image {width:28px;height:28px;object-fit:contain;display:block}
.search-result-icon-svg {width:28px;height:28px;display:flex;align-items:center;justify-content:center}
.search-result-icon-svg svg {width:24px;height:24px;display:block}
.search-result-body {min-width:0;flex:1 1 auto;white-space:nowrap}
.search-result-records {font-size:calc(var(--fs) - 3px);margin-top:2px;word-break:break-word}
.internals-article-preview {overflow:visible}
.internals-article-header {margin:0 0 12px;overflow:auto}
.internals-article-header h2 {font-size:24px;line-height:1.2;margin:0 0 6px}
.internals-article-header a {overflow-wrap:anywhere}
.internals-article-meta {float:right;max-width:45%;margin:0 0 8px 16px;text-align:right;overflow-wrap:anywhere}
.internals-article-icon {float:left;width:56px;height:56px;object-fit:cover;border-radius:var(--radius);margin:0 12px 8px 0;background:none}
.internals-article-content {line-height:1.45;clear:both}
.internals-article-content p {margin:0 0 12px}
.internals-article-content h1, .internals-article-content h2, .internals-article-content h3, .internals-article-content h4, .internals-article-content h5, .internals-article-content h6 {margin:14px 0 8px}
.internals-article-content ul, .internals-article-content ol {margin:0 0 12px 1.3rem;padding-left:1.1rem}
.internals-article-content li {margin:4px 0}
.internals-article-content blockquote {margin:0 0 12px;padding-left:12px;border-left:3px solid var(--border)}
.internals-article-content pre {white-space:pre-wrap;overflow:auto}
.internals-article-content img {max-width:100%;height:auto;border-radius:var(--radius)}
.internals-article-source {margin-top:12px;overflow-wrap:anywhere}
.internals-article-modify-header {display:flex;align-items:flex-start;gap:12px;margin:8px 0 12px}
.internals-article-modify-icon {width:65px;height:65px;object-fit:contain;border-radius:var(--radius);background:var(--secondary-bg);flex:0 0 65px}
.internals-article-modify-title-fields {min-width:0;flex:1}
.internals-article-edit-full, .internals-article-edit-full > div, .internals-article-edit-full .padded {width:100%;box-sizing:border-box}
.internals-article-edit-textarea {height:auto;overflow:hidden;resize:none;width:100%;box-sizing:border-box}
.articles-field {width:100%;box-sizing:border-box}
.article-icon-picker-wrap {margin:4px 0 12px}
.article-icon-picker {display:inline-block;width:80px;height:80px;object-fit:cover;border-radius:var(--radius);background:var(--secondary-bg);box-shadow:var(--small-shadow)}
.articles-textarea {min-height:120px;resize:vertical;box-sizing:border-box}
.articles-list-icon {width:42px;height:42px;object-fit:cover;margin:0 10px 6px 0;vertical-align:top;border-radius:var(--radius)}
.option {width:max-content;box-sizing:border-box;transition:all 100ms;box-shadow:var(--shadow);background:var(--bg);border:var(--border-width) solid var(--border);padding:8px;cursor:pointer;border-radius:var(--radius);margin-bottom:8px}
.option:hover {transform:Scale(1.075);background:var(--secondary-bg)}
.option svg {width:22px;height:22px;display:inline-block;vertical-align:bottom}
.option div {display:inline-block;vertical-align:top;padding:1px 0 0 5px}
@keyframes wave { 0%, 100% { transform:translateY(0)} 50% { transform:translateY(-5px)}}
.shortcut-overlay {position:absolute;background-color:#ffa500;border:1px solid #FF8B00;color:#1f1b1b;font-size:14px;border-radius:max(0px,calc(var(--radius) - 2px));padding:4px 6px;pointer-events:none;font-weight:bold;z-index:1000;transform:scale(0.9);animation:fadeIn 0.2s ease-out forwards}
body.drag-active #app {filter:blur(3px)}
body.drag-active::before {content:"";position:fixed;inset:0;pointer-events:none;box-sizing:border-box;border:12px solid var(--border);box-shadow:0 0 0 9999px rgba(0,0,0,0.0) inset}
.calendar-day-time-grid {-webkit-user-select:none;position:relative;user-select:none}
.calendar-day-time-grid--selecting {cursor:ns-resize}
.calendar-day-selection-preview {background:color-mix(in srgb,var(--primary) 18%,transparent);border:1px solid color-mix(in srgb,var(--primary) 42%,transparent);border-radius:calc(var(--radius) / 2);box-sizing:border-box;display:none;left:2px;overflow:visible;pointer-events:none;position:absolute;right:2px;z-index:3}
.calendar-day-time-slot {min-height:76px;position:relative;transition:background-color 100ms ease,box-shadow 100ms ease}
.calendar-day-time-slot::before {background:linear-gradient(to right,color-mix(in srgb,var(--border) 52%,transparent),color-mix(in srgb,var(--border) 52%,transparent)) 0 25%/100% 1px no-repeat,linear-gradient(to right,color-mix(in srgb,var(--border) 70%,transparent),color-mix(in srgb,var(--border) 70%,transparent)) 0 50%/100% 1px no-repeat,linear-gradient(to right,color-mix(in srgb,var(--border) 52%,transparent),color-mix(in srgb,var(--border) 52%,transparent)) 0 75%/100% 1px no-repeat;content:"";inset:0;pointer-events:none;position:absolute}
.calendar-day-time-slot>* {position:relative;z-index:1}
.calendar-day-time-slot--selected {background:color-mix(in srgb,var(--primary) 16%,var(--secondary-bg));box-shadow:inset 3px 0 0 var(--primary)}
.calendar-day-time-slot--selected::after {content:"";position:absolute;inset:0;border:1px solid color-mix(in srgb,var(--primary) 50%,transparent);pointer-events:none}
.calendar-current-time-indicator {background:var(--primary);height:2px;left:0;pointer-events:none;position:absolute;right:0;z-index:4}
.calendar-current-time-indicator::before {background:var(--primary);border-radius:50%;content:"";height:8px;left:-4px;position:absolute;top:50%;transform:translateY(-50%);width:8px}
.calendar-week-grid {-webkit-user-select:none;min-width:760px;position:relative;user-select:none}
.calendar-week-time-grid--selecting {cursor:crosshair}
.calendar-week-header,.calendar-week-hour-row {display:grid;grid-template-columns:72px repeat(7,minmax(0,1fr))}
.calendar-week-header {background:var(--bg);position:sticky;top:0;z-index:5}
.calendar-week-time-heading,.calendar-week-day-heading {border-bottom:var(--border-width) solid var(--border);box-sizing:border-box;min-width:0;padding:8px 4px;text-align:center}
.calendar-week-day-heading {border-left:var(--border-width) solid var(--border)}
.calendar-week-hour-label {box-sizing:border-box;padding:6px 8px 0 0;text-align:right}
.calendar-week-time-slot {border-bottom:var(--border-width) solid var(--border);border-left:var(--border-width) solid var(--border);box-sizing:border-box;min-height:76px;min-width:0;padding:4px;position:relative}
.calendar-week-time-slot::before {background:linear-gradient(to right,color-mix(in srgb,var(--border) 52%,transparent),color-mix(in srgb,var(--border) 52%,transparent)) 0 25%/100% 1px no-repeat,linear-gradient(to right,color-mix(in srgb,var(--border) 70%,transparent),color-mix(in srgb,var(--border) 70%,transparent)) 0 50%/100% 1px no-repeat,linear-gradient(to right,color-mix(in srgb,var(--border) 52%,transparent),color-mix(in srgb,var(--border) 52%,transparent)) 0 75%/100% 1px no-repeat;content:"";inset:0;pointer-events:none;position:absolute}
.calendar-week-time-slot>* {position:relative;z-index:1}
.calendar-week-time-slot>.calendar-current-time-indicator {z-index:4}
.calendar-week-selection-preview {background:color-mix(in srgb,var(--primary) 18%,transparent);border:1px solid color-mix(in srgb,var(--primary) 42%,transparent);border-radius:calc(var(--radius) / 2);box-sizing:border-box;left:2px;overflow:visible;pointer-events:none;position:absolute;right:2px;z-index:3!important}
.calendar-time-selection-preview--persistent {background:color-mix(in srgb,var(--primary) 24%,transparent);border-color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}
.calendar-selection-span-label {background:var(--primary);border-radius:calc(var(--radius) / 2);color:var(--bg);font-size:calc(var(--fs) - 3px);font-weight:700;left:3px;line-height:1.25;max-width:max-content;overflow:hidden;padding:2px 5px;position:absolute;text-overflow:ellipsis;top:3px;white-space:nowrap;z-index:5}
.calendar-week-events {min-width:0}
.calendar-week-events .calendar-event-chip {overflow:hidden}
.calendar-event-chip {-webkit-user-drag:none;-webkit-user-select:none;cursor:grab;touch-action:none;transition:filter 140ms ease,opacity 140ms ease,transform 140ms ease;user-select:none}
.calendar-event-chip:active {cursor:grabbing}
.calendar-event-chip--drag-source {filter:saturate(.65);opacity:.28;transform:scale(.97)}
.calendar-event-chip--saving {animation:calendar-event-saving 700ms ease-in-out infinite alternate;pointer-events:none}
.calendar-event-drag-ghost {box-sizing:border-box;cursor:grabbing;filter:saturate(1.1);margin:0;opacity:.94;pointer-events:none;position:fixed;transform:rotate(1.5deg) scale(1.02);z-index:92000}
.calendar-event-dragging,.calendar-event-dragging * {-webkit-user-select:none!important;user-select:none!important}
.calendar-event-drop-target {background:color-mix(in srgb,var(--primary) 16%,transparent)!important;box-shadow:inset 0 0 0 2px var(--primary)!important;transition:background-color 100ms ease,box-shadow 100ms ease}
@keyframes calendar-event-saving {from {opacity:.45} to {opacity:.8}}
.calendar-recurrence-shell {border-top:var(--border-width) solid var(--border);margin-top:10px;padding-top:4px}
.calendar-recurrence-switch-row {display:flex;align-items:center;justify-content:space-between;gap:10px}
.calendar-recurrence-switch-row .switcher {flex:0 0 auto}
.calendar-recurrence-panel {display:none;opacity:0;overflow:hidden}
.calendar-recurrence-panel-closed {display:none}
.calendar-recurrence-panel.open {display:block;opacity:1;padding-top:4px;animation:calendar-recurrence-reveal .22s ease}
@keyframes calendar-recurrence-reveal {from {opacity:0;transform:translateY(-6px)} to {opacity:1;transform:translateY(0)}}
.calendar-recurrence-row {display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.calendar-recurrence-inline-label {font-weight:600;white-space:nowrap}
input.calendar-recurrence-number {width:46px;padding:5px 6px;text-align:center}
.calendar-recurrence-unit {color:var(--faded);white-space:nowrap}
.calendar-recurrence-weekdays {display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));gap:4px;padding:4px 8px 8px}
.calendar-recurrence-day {display:block;margin:0;cursor:pointer}
.calendar-recurrence-day-label {border:var(--border-width) solid var(--border);border-radius:var(--radius);padding:5px 0;text-align:center;font-size:calc(var(--fs) - 2px);background:var(--secondary-bg);transition:all .12s ease}
.calendar-recurrence-day-input:checked + .calendar-recurrence-day-label {background:var(--fg);border-color:var(--fg);color:var(--bg)}
.calendar-recurrence-radio-row {display:flex;align-items:center;gap:8px;padding:4px 8px;min-width:0;flex-wrap:wrap}
.calendar-recurrence-radio-label {display:inline-flex;align-items:center;gap:5px;margin:0;min-width:46px}
.calendar-recurrence-radio-label input[type="radio"] {width:auto;margin:0}
.calendar-recurrence-monthly-section,.calendar-recurrence-yearly-section {display:none}
.service-window-parked {transition:left 200ms ease, top 200ms ease, transform 200ms ease, opacity 200ms ease;transform:scale(0.96);opacity:0.93}
.monospaced {font-family:ui-monospace,"SFMono-Regular",Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace !important}
.cli-holder {width:100%;overflow:hidden}
.cli-command-row {display:flex;align-items:center;gap:6px;box-sizing:border-box}
.cli-command-prompt {flex:0 0 auto}
.cli-command-input {flex:1 1 auto;min-width:0;width:auto !important}
.cli-command-loader {flex:0 0 32px;width:32px;min-height:30px;text-align:center}
@keyframes fadeIn {
    from {
        opacity:0;
        transform:scale(0.9);
    }
    to {
        opacity:1;
        transform:scale(1);
   }
}

/*WEATHER*/
.weather-portal {min-height:100%;box-sizing:border-box}
.weather-hero {display:grid;grid-template-columns:minmax(0, 1.5fr) minmax(280px, 1fr);gap:14px;align-items:stretch;margin-bottom:14px}
.weather-location {font-size:24px;font-weight:700;line-height:1.15}
.weather-current-temp {font-size:54px;font-weight:800;line-height:0.95;margin:10px 0 6px 0}
.weather-current-summary {font-size:18px;text-transform:capitalize}
.weather-stat-grid {display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:10px}
.weather-stat-card {display:flex;flex-direction:column;justify-content:space-between;min-height:80px}
.weather-stat-label {font-size:12px;text-transform:uppercase;letter-spacing:0.08em}
.weather-stat-value {font-size:24px;font-weight:700;margin-top:10px}
.weather-error {margin-bottom:14px;background:rgba(186, 26, 26, 0.1);color:#8f1717;border:1px solid rgba(186, 26, 26, 0.18)}
.weather-panel-title {margin:0 0 12px 0}
.weather-hourly-list {display:grid;grid-template-columns:repeat(8, minmax(0, 1fr));gap:10px}
.weather-hour-label,.weather-day-rain {font-size:12px;text-transform:uppercase;letter-spacing:0.06em}
.weather-hour-temp {font-size:26px;font-weight:700;margin:10px 0 6px 0}
.weather-hour-summary,.weather-day-summary {font-size:calc(var(--fs) - 2px);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.weather-hour-rain {margin-top:10px;font-size:12px}
.weather-daily-list {display:grid;grid-template-columns:repeat(6, minmax(0, 1fr));gap:10px}
.weather-day-label {font-size:16px;font-weight:700;margin-bottom:4px}
.weather-day-high {font-weight:700}
.weather-empty-state {text-align:center}
.weather-widget {box-sizing:border-box;display:flex;flex-direction:column;gap:8px;height:100%;justify-content:center;padding:6px 8px}
.weather-widget-location {font-size:13px;font-weight:700;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.weather-widget-current {align-items:center;display:grid;gap:8px;grid-template-columns:auto minmax(54px, auto) minmax(0, 1fr)}
.weather-widget-icon {height:30px;width:30px}
.weather-widget-icon img {height:30px;width:30px}
.weather-widget-temp {font-size:30px;font-weight:800;line-height:1}
.weather-widget-summary {font-size:14px;line-height:1.15;text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:900px) {
    .weather-hero,.weather-panels {grid-template-columns:1fr}
    .weather-hourly-list {grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width:640px) {
    .weather-portal {padding:10px}
    .weather-current-temp {font-size:52px}
    .weather-stat-grid {grid-template-columns:1fr}
    .weather-hourly-list {grid-template-columns:1fr}
    .weather-day-row {flex-direction:column;align-items:flex-start}
    .weather-day-temps {width:100%;justify-content:space-between}
}

/*SEARCH BOX WRAPPER*/
.searchbox-wrapper {position:relative}
.searchbox-options {position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:1000;background:var(--bg);border:var(--border-width) solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);max-height:220px;overflow:auto}
.searchbox-option {display:block;width:100%;text-align:left;border:0;border-bottom:var(--border-width) solid var(--secondary-border);background:transparent;padding:8px 10px;color:var(--fg);border-radius:0}
.searchbox-option:last-of-type {border-bottom:0}
.searchbox-option:hover {background:var(--secondary-bg)}
.searchbox-option-empty {padding:8px 10px;opacity:0.75;font-size:calc(var(--fs) - 1px)}
.search-combobox-wrapper {display:inline-block;vertical-align:bottom}
.search-combobox-options {min-width:100%}
.search-combobox-option {display:block;width:100%;text-align:left;border:0;border-bottom:var(--border-width) solid var(--secondary-border);background:transparent;padding:8px 10px;color:var(--fg);border-radius:0}
.search-combobox-option:last-of-type {border-bottom:0}
.search-combobox-option:hover,.search-combobox-option.active {background:var(--secondary-bg)}
.search-combobox-option-empty {padding:8px 10px;opacity:0.75;font-size:calc(var(--fs) - 1px)}
.editor-font-family-combo,
.editor-font-size-combo {box-sizing:border-box;height:32px;padding:5px 8px;font-size:calc(var(--fs) - 2px);line-height:1.2}
.editor-font-family-combo {width:170px}
.editor-font-size-combo {width:78px}

/*MAPS*/
.maps-shell {position:relative;width:100%;height:100%;min-height:100%}
.maps-canvas {height:100%}
.maps-search-overlay {position:absolute;top:25px;left:12px;right:12px;z-index:4;display:flex;gap:8px;align-items:center}
.maps-search-stack {position:relative;display:flex;flex:1 1 auto;min-width:0;flex-direction:column;align-items:stretch}
.maps-search-input {width:100%;min-width:0;box-sizing:border-box;background:var(--transparent-bg);backdrop-filter:blur(var(--blur));border:var(--border-width) solid var(--border)}
.maps-search-autocomplete {position:absolute;top:calc(100% + 6px);left:0;right:0;display:flex;flex-direction:column;max-height:220px;overflow:auto;background:var(--background-bg, var(--bg));border:var(--border-width) solid var(--border);border-radius:var(--radius);backdrop-filter:blur(var(--blur));box-shadow:var(--shadow);z-index:5}
.maps-search-autocomplete.hidden {display:none}
.maps-autocomplete-option {width:100%;text-align:left;padding:8px 10px;background:transparent;border:0;border-bottom:var(--border-width) solid var(--border);color:inherit}
.maps-autocomplete-option:last-child {border-bottom:0}
.maps-autocomplete-option:hover {background:var(--secondary-bg)}
.maps-search-button {flex:0 0 auto;background:var(--transparent-bg);backdrop-filter:blur(var(--blur));border:var(--border-width) solid var(--border)}
.maps-directions-panel {position:absolute;top:76px;right:12px;z-index:4;width:min(360px,calc(100% - 24px));display:flex;flex-direction:column;gap:8px;padding:10px;background:var(--transparent-bg);border:var(--border-width) solid var(--border);border-radius:var(--radius);backdrop-filter:blur(var(--blur));box-shadow:var(--shadow)}
.maps-directions-panel.hidden {display:none}
.maps-directions-fields {display:flex;flex-direction:column;gap:6px}
.maps-directions-input {width:100%;box-sizing:border-box;background:var(--background-bg,var(--bg));border:var(--border-width) solid var(--border)}
.maps-directions-actions {display:flex;gap:6px}
.maps-directions-action {flex:1;justify-content:center}
.maps-directions-result-actions {display:flex;gap:6px}
.maps-directions-result-actions.hidden {display:none}
.maps-directions-icon-action {flex:0 0 38px;padding-left:8px;padding-right:8px}
.maps-directions-summary {font-size:.9em;font-weight:600;padding:6px 8px;background:var(--secondary-bg);border-radius:var(--radius)}
.maps-directions-summary.hidden {display:none}
.maps-directions-error {color:var(--danger,#b00020)}
.maps-directions-steps {display:flex;flex-direction:column;gap:6px;max-height:180px;overflow:auto;margin:0;padding:0 0 0 20px;font-size:.86em}
.maps-directions-steps.hidden {display:none}
.maps-directions-steps li {padding:0 4px 6px 0;border-bottom:var(--border-width) solid var(--border)}
.maps-directions-steps li:last-child {border-bottom:0}
.maps-directions-steps span {display:block;line-height:1.25}
.maps-directions-steps small {display:block;opacity:.7;margin-top:2px}
.maps-directions-navigation {display:flex;flex-direction:column;gap:6px;padding:8px;background:var(--background-bg,var(--bg));border:var(--border-width) solid var(--border);border-radius:var(--radius)}
.maps-directions-navigation.hidden {display:none}
.maps-directions-navigation-count {font-size:.78em;font-weight:700;opacity:.7;text-transform:uppercase}
.maps-directions-navigation-instruction {font-size:.94em;font-weight:600;line-height:1.25}
.maps-directions-navigation-distance {font-size:.82em;opacity:.7}
.maps-directions-navigation-actions {display:flex;gap:6px}
.maps-directions-portal {display:flex;flex-direction:column;gap:8px;box-sizing:border-box;height:100%;overflow:hidden}
.maps-directions-portal-title {margin:0;line-height:1.2}
.maps-directions-portal-summary {padding:8px 10px;background:var(--secondary-bg);border-radius:var(--radius);font-weight:600}
.maps-directions-portal-steps {max-height:none;flex:1;font-size:.95em;padding-left:28px;padding-right:6px}
.maps-controls-overlay {position:absolute;right:12px;bottom:12px;z-index:4;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.maps-control-row {display:flex;gap:4px}
.maps-control-button {margin:0 !important}
.maps-control-button svg {margin:0 !important;display:block}
.maps-locations-list {display:flex;flex-direction:column;gap:8px}
.maps-location-item {display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;padding:12px;text-align:left;background:var(--secondary-bg);border:var(--border-width) solid var(--border);border-radius:var(--radius);color:inherit}
.maps-location-item:hover {filter:brightness(1.04)}
.maps-location-item strong {font-size:1em}
.maps-location-item span {font-size:.85em;opacity:.72}
.maps-locations-empty {padding:28px 12px;text-align:center}
.maps-location-editor {display:flex;flex-direction:column;gap:4px;box-sizing:border-box}
.maps-location-field {flex:1;min-width:0}
.maps-location-field-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.maps-location-view {display:flex;flex-direction:column;gap:16px;box-sizing:border-box}
.maps-location-view-heading {display:flex;align-items:center;gap:12px;padding:8px}
.maps-location-view-heading h2 {margin:0;overflow-wrap:anywhere}
.maps-location-pin {display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:var(--secondary-bg)}
.maps-location-pin svg {width:24px;height:24px}
.maps-location-details {display:flex;flex-direction:column;border:var(--border-width) solid var(--border);border-radius:var(--radius);overflow:hidden}
.maps-location-detail {display:grid;grid-template-columns:minmax(110px,.42fr) minmax(0,1fr);gap:12px;padding:11px 12px;border-bottom:var(--border-width) solid var(--border);overflow-wrap:anywhere}
.maps-location-detail:last-child {border-bottom:0}
.maps-location-detail-label {font-weight:600;opacity:.7}

/*SPREADSHEETS*/
.editor-portal-shell {display:flex;flex-direction:column;min-height:100%;height:100%;min-width:0;box-sizing:border-box;overflow:hidden}
.editor-code-shell,
.editor-sheet-shell {display:flex;flex-direction:column;flex:1;min-height:0}
.editor-video-shell {display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:minmax(0,1fr) 210px;gap:12px;flex:1;min-height:0;color:var(--fg)}
.editor-video-preview-panel {display:flex;flex-direction:column;min-width:0;min-height:0;padding:12px;background:#111827;border-color:#263244}
.editor-video-preview {position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;border-radius:max(0px,calc(var(--radius) - 3px));background:radial-gradient(circle at 50% 42%,#25334a,#090e18 68%)}
.editor-video-preview video {display:block;width:100%;height:100%;object-fit:contain;background:#05080e}
.editor-video-empty {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#dbe4f0;text-align:center}
.editor-video-empty .editor-video-empty-icon {width:44px;height:44px;opacity:.8}
.editor-video-empty p {max-width:300px;margin:0;color:#94a3b8;font-size:calc(var(--fs) - 1px);line-height:1.45}
.editor-video-transport {display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding-top:10px;color:#e5e7eb}
.editor-video-transport-time {font-family:monospace;font-variant-numeric:tabular-nums;color:#aab6c7;font-size:calc(var(--fs) - 1px)}
.editor-video-transport-actions {display:flex;align-items:center;gap:6px}
.editor-video-transport button {color:#e5e7eb}
.editor-video-inspector {display:flex;flex-direction:column;min-height:0;overflow:auto;padding:14px}
.editor-video-panel-heading {margin:0 0 12px;font-size:calc(var(--fs) + 1px)}
.editor-video-field {display:flex;flex-direction:column;gap:5px;margin-bottom:12px;font-size:calc(var(--fs) - 1px);font-weight:650}
.editor-video-field input,.editor-video-field select {box-sizing:border-box;width:100%}
.editor-video-field-row {display:grid;grid-template-columns:1fr 1fr;gap:8px}
.editor-video-inspector-note {margin:auto 0;color:var(--faded);font-size:calc(var(--fs) - 1px);line-height:1.5}
.editor-video-timeline {grid-column:1 / -1;display:flex;flex-direction:column;min-width:0;min-height:0;padding:10px;overflow:hidden}
.editor-video-timeline-header {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.editor-video-timeline-actions {display:flex;align-items:center;gap:5px}
.editor-video-track-wrap {position:relative;flex:1;min-height:0;overflow:auto;border-radius:max(0px,calc(var(--radius) - 4px));background:var(--secondary-bg)}
.editor-video-ruler {height:25px;border-bottom:var(--border-width) solid var(--border);background:repeating-linear-gradient(to right,transparent 0,transparent 49px,var(--border) 50px);color:var(--faded);font:10px/25px monospace;word-spacing:34px;padding-left:7px;white-space:nowrap;overflow:hidden}
.editor-video-track {position:relative;display:flex;align-items:center;gap:5px;min-width:100%;height:78px;padding:10px;box-sizing:border-box}
.editor-video-track:empty::before {content:"Import a video to begin editing";display:flex;align-items:center;justify-content:center;width:100%;height:52px;border:1px dashed var(--border);border-radius:max(0px,calc(var(--radius) - 4px));color:var(--faded)}
.editor-video-clip {position:relative;flex:0 0 auto;min-width:150px;height:52px;padding:8px 10px;box-sizing:border-box;overflow:hidden;border:1px solid rgba(37,99,235,.65);border-radius:max(0px,calc(var(--radius) - 5px));background:linear-gradient(135deg,rgba(37,99,235,.28),rgba(14,165,233,.12));cursor:pointer;color:var(--fg)}
.editor-video-clip:hover {filter:brightness(1.04)}
.editor-video-clip.selected {box-shadow:inset 0 0 0 2px #3b82f6,0 4px 14px rgba(37,99,235,.22)}
.editor-video-clip strong,.editor-video-clip span {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-video-clip span {margin-top:3px;color:var(--faded);font-size:10px}
.editor-video-playhead {position:absolute;z-index:4;top:25px;bottom:0;width:2px;background:#ef4444;pointer-events:none;transform:translateX(10px)}
.editor-video-playhead::before {content:"";position:absolute;top:-1px;left:-4px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:7px solid #ef4444}
@media (max-width:760px) {.editor-video-shell {grid-template-columns:1fr;grid-template-rows:minmax(300px,1fr) auto 190px}.editor-video-inspector {max-height:180px}.editor-video-timeline {grid-column:1}}
.editor-sheet-workspace {display:flex;flex-direction:column;flex:1;min-height:0}
.editor-sheet-toolbar {display:flex;align-items:center;gap:8px}
.editor-sheet-active-cell {min-width:44px;text-align:center;font-weight:600;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 4px));padding:6px 8px;background:var(--secondary-bg)}
.editor-sheet-formula {flex:1;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 4px));padding:6px 8px;background:var(--bg)}
.editor-sheet-grid-panel {display:flex;flex-direction:column;flex:1;min-height:0}
.editor-sheet-grid-wrap {--editor-sheet-columns:12;--editor-sheet-row-header-width:46px;overflow:auto;flex:1;min-height:0}
#editor-sheet-grid {position:relative;min-width:max-content}
.editor-sheet-row {display:grid;grid-template-columns:var(--editor-sheet-grid-template, var(--editor-sheet-row-header-width, 46px) repeat(var(--editor-sheet-columns, 12), minmax(120px, 120px)));min-width:max-content}
.editor-sheet-cell-header {position:relative;padding:8px 6px;font-size:calc(var(--fs) - 1px);font-weight:600;background:var(--secondary-bg);border-right:var(--border-width) solid var(--border);border-bottom:var(--border-width) solid var(--border);box-shadow:inset 0 -1px 0 var(--border);text-align:center;box-sizing:border-box;user-select:none}
.editor-sheet-selectable-header {cursor:pointer}
.editor-sheet-row-header {position:sticky;left:0;z-index:3}
#editor-sheet-header-row {position:sticky;top:0;z-index:7}
#editor-sheet-header-row > .editor-sheet-row-header {z-index:8}
#editor-sheet-grid.editor-sheet-freeze-first-row #editor-sheet-data-row-0 {position:sticky;top:var(--editor-sheet-header-height, 36px);z-index:5}
#editor-sheet-grid.editor-sheet-freeze-first-row #editor-sheet-data-row-0 > .editor-sheet-row-header {z-index:6}
.editor-sheet-cell {position:relative;border-right:var(--border-width) solid var(--border);border-bottom:var(--border-width) solid var(--border);box-shadow:inset 0 -1px 0 var(--border);background:var(--bg);box-sizing:border-box}
.editor-sheet-cell-input {display:block;width:100%;height:100%;border:0;background:transparent;padding:8px 6px;outline:none;box-sizing:border-box}
.editor-sheet-filter-header-cell .editor-sheet-cell-input {padding-right:28px}
.editor-sheet-filter-button {display:none;position:absolute;right:4px;top:50%;transform:translateY(-50%);width:20px;height:20px;padding:0;align-items:center;justify-content:center;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 6px));background:var(--secondary-bg);color:var(--fg);font-size:12px;line-height:1;z-index:2}
.editor-sheet-filter-header-cell .editor-sheet-filter-button {display:flex}
.editor-sheet-filter-button:hover,.editor-sheet-filter-button.active {background:var(--bg);box-shadow:var(--small-shadow)}
.editor-sheet-filter-menu {display:flex;flex-direction:column;gap:4px;min-width:240px;max-width:320px;max-height:none;overflow:hidden;padding:6px;background:var(--bg)}
.editor-sheet-filter-search {box-sizing:border-box;width:100%;height:34px;margin:2px 0 4px 0;padding:7px 9px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 4px));background:var(--bg);color:var(--fg);font:inherit;line-height:1.2}
.editor-sheet-filter-values {display:flex;flex-direction:column;gap:2px;max-height:168px;overflow:auto;padding-right:2px}
.editor-sheet-filter-menu-item {display:flex;align-items:center;width:100%;min-height:30px;margin:0;padding:6px 8px;text-align:left;border:0;border-radius:max(0px,calc(var(--radius) - 5px));background:transparent;color:var(--fg);font:inherit;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editor-sheet-filter-menu-item:hover {background:var(--secondary-bg)}
.editor-sheet-filter-menu-separator {height:1px;margin:4px 0;background:var(--secondary-border)}
.editor-sheet-filter-menu-note {padding:6px 8px;color:var(--faded);font-size:calc(var(--fs) - 2px)}
.editor-sheet-row-filtered-out {display:none !important}
.editor-sheet-cell-input[readonly] {cursor:default}
.editor-sheet-cell-input:focus,
.editor-sheet-cell-input.active,
.editor-sheet-cell-header.active {box-shadow:inset 0 0 0 2px #20c05c}
.editor-sheet-search-hit {animation:editorSheetSearchPulse 800ms ease-out}
@keyframes editorSheetSearchPulse {0% {box-shadow:inset 0 0 0 3px #20c05c,0 0 0 8px rgba(32, 192, 92, 0.28)}100% {box-shadow:inset 0 0 0 2px #20c05c,0 0 0 2px rgba(32, 192, 92, 0)}}
.editor-sheet-cell[data-styled="1"] {background-image:linear-gradient(135deg, rgba(32, 192, 92, 0.08), rgba(32, 192, 92, 0));}
.editor-sheet-cell-lock-indicator {position:absolute;top:3px;right:3px;width:11px;height:11px;display:none;align-items:center;justify-content:center;color:var(--fg);opacity:.32;pointer-events:none}
.editor-sheet-cell-lock-indicator .small-icon {width:11px;height:11px}
.editor-sheet-cell-locked .editor-sheet-cell-lock-indicator {display:flex}
.editor-sheet-header-label {display:flex;align-items:center;justify-content:center;width:100%;height:100%;pointer-events:none}
.editor-sheet-corner-cell .editor-sheet-header-label {display:none}
.editor-sheet-resize-handle {position:absolute;opacity:0;transition:opacity 120ms ease;background:rgba(32, 192, 92, 0.22);z-index:6}
.editor-sheet-cell-header:hover .editor-sheet-resize-handle,
.editor-sheet-resize-handle:hover,
body.editor-sheet-resizing-columns .editor-sheet-resize-handle-column,
body.editor-sheet-resizing-rows .editor-sheet-resize-handle-row {opacity:1}
.editor-sheet-resize-handle-column {top:0;right:-4px;width:8px;height:100%;cursor:col-resize}
.editor-sheet-resize-handle-row {left:0;bottom:-4px;width:100%;height:8px;cursor:row-resize}
body.editor-sheet-resizing-columns {cursor:col-resize}
body.editor-sheet-resizing-rows {cursor:row-resize}
.editor-inline-style-menu {min-width:260px;display:flex;flex-direction:column;gap:8px;padding:8px}
.editor-inline-style-header {display:flex;align-items:center;justify-content:space-between;gap:8px}
.editor-inline-style-title {font-weight:700;font-size:calc(var(--fs) - 1px)}
.editor-inline-style-row {display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.editor-inline-style-label {font-weight:700;font-size:calc(var(--fs) - 2px);opacity:0.8}
.editor-inline-style-select {width:auto;min-width:72px}
.editor-inline-style-palette {margin-top:0}
.editor-inline-style-palette .color-option.selected {box-shadow:inset 0 0 0 2px var(--fg)}
.editor-sheet-chart-portal label,.editor-slide-chart-portal label {display:block;margin:0 0 6px 0;font-weight:700}
.editor-sheet-chart-portal label.inline,.editor-slide-chart-portal label.inline {display:inline;margin:0;font-weight:600}
.editor-chart-type-segmented {margin-top:6px}
.editor-chart-type-segmented .plastic-segment {padding-left:4px;padding-right:4px;font-size:calc(var(--fs) - 2px)}
.editor-sheet-chart {position:absolute;z-index:8;background:var(--bg);border:var(--border-width) solid var(--border);box-shadow:0 8px 24px rgba(15, 23, 42, 0.14);border-radius:max(0px,calc(var(--radius) - 2px));box-sizing:border-box;cursor:grab;overflow:visible;user-select:none}
.editor-sheet-chart.selected {box-shadow:0 0 0 2px #20c05c, 0 10px 28px rgba(15, 23, 42, 0.18)}
.editor-sheet-chart-body {width:100%;height:100%;overflow:hidden;border-radius:max(0px,calc(var(--radius) - 3px));background:var(--bg)}
.editor-sheet-chart-resize {display:none;position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border-radius:50%;background:#20c05c;border:2px solid var(--bg);box-shadow:var(--shadow);cursor:nwse-resize}
.editor-sheet-chart.selected .editor-sheet-chart-resize {display:block}
.editor-sheet-image {position:absolute;z-index:9;border:1px solid transparent;box-sizing:border-box;cursor:grab;overflow:visible;user-select:none}
.editor-sheet-image.selected {border-color:#20c05c;box-shadow:0 0 0 2px #20c05c, 0 10px 28px rgba(15, 23, 42, 0.18)}
.editor-sheet-image-content {width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}
.editor-sheet-image-resize {display:none;position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border-radius:50%;background:#20c05c;border:2px solid var(--bg);box-shadow:var(--shadow);cursor:nwse-resize}
.editor-sheet-image.selected .editor-sheet-image-resize {display:block}
.plastic-chart {position:relative;width:100%;height:100%;box-sizing:border-box;padding:8px;background:var(--bg);color:var(--fg);font-size:12px}
.plastic-chart-title {position:absolute;left:10px;right:10px;top:7px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plastic-chart svg {width:100%;height:100%;display:block}
.plastic-chart svg * {outline:none}
.plastic-chart-axis {stroke:var(--border);stroke-width:1.2}
.plastic-chart-label {fill:var(--faded);font-size:10px}
.plastic-chart-value-label {fill:var(--fg);font-size:10px;font-weight:700;paint-order:stroke;stroke:var(--bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none}
.plastic-chart-value-mark {cursor:default}
.plastic-chart-line {fill:none;stroke:#2563eb;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:none}
.plastic-chart-area {fill:rgba(37, 99, 235, 0.18)}
.plastic-chart-pie .plastic-chart-title + svg {display:none}
.plastic-chart-pie-graphic {position:absolute !important;left:16px;top:44px}
.plastic-chart-legend {position:absolute;left:calc(50% + 20px);right:10px;top:46px;display:flex;flex-direction:column;gap:5px}
.plastic-chart-legend-item {display:flex;align-items:center;gap:6px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plastic-chart-legend-item span {display:inline-block;width:10px;height:10px;border-radius:2px;flex:none}
.plastic-chart-legend-item strong {margin-left:auto;font-size:11px;color:var(--fg)}

/*CODE EDITOR*/
.editor-code-workspace {display:flex;flex:1;min-width:0;min-height:0;gap:10px}
.editor-code-workspace > .editor-code-shell {min-width:0}
.editor-code-project-sidebar {display:flex;flex-direction:column;box-sizing:border-box;width:210px;min-width:170px;max-width:260px;min-height:0;padding:10px;background:var(--secondary-bg);overflow:hidden}
.editor-code-project-heading {font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editor-code-project-root {margin-top:3px;padding-bottom:8px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:var(--border-width) solid var(--secondary-border)}
.editor-code-project-tree {flex:1;min-height:0;margin-top:6px;overflow:auto;font-size:13px}
.editor-code-project-branch {list-style:none;margin:0;padding:0 0 0 13px}
.editor-code-project-tree > .editor-code-project-branch {padding-left:0}
.editor-code-project-item {margin:1px 0;min-width:0}
.editor-code-project-folder > summary,.editor-code-project-file {box-sizing:border-box;width:100%;padding:4px 5px;border-radius:calc(var(--radius) / 2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;cursor:pointer}
.editor-code-project-folder > summary:hover,.editor-code-project-file:hover {background:var(--transparent-bg)}
.editor-code-project-folder > summary {display:flex;align-items:center;gap:6px;list-style:none}
.editor-code-project-folder > summary::-webkit-details-marker {display:none}
.editor-code-project-folder-icon {display:block;width:16px;height:16px;flex:0 0 16px;object-fit:contain}
.editor-code-project-folder-label {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-code-project-file {display:flex;align-items:center;gap:6px;color:inherit;background:transparent;border:0;font:inherit}
.editor-code-project-file-icon {display:block;width:16px;height:16px;flex:0 0 16px;object-fit:contain}
.editor-code-project-file-label {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-code-project-create {box-sizing:border-box;height:100%;overflow:auto}
.editor-code-project-form {display:flex;flex-direction:column;min-height:100%;gap:8px}
.editor-code-project-location-results {min-height:190px;max-height:280px;overflow:auto}
.editor-code-project-location-option {display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;width:100%;text-align:left}
.editor-code-project-location-option img {flex:0 0 auto;margin:0}
.editor-code-project-create-actions {margin-top:auto;padding-top:12px}
.editor-code-project-empty {padding:3px 5px 3px 18px;font-size:11px}
.editor-code-projects {box-sizing:border-box;height:100%;overflow:hidden}
.editor-code-projects-heading {font-weight:700;margin-bottom:8px}
.editor-code-projects-list {max-height:none;height:calc(100% - 36px);box-sizing:border-box;overflow:auto}
.editor-code-project-card {flex-direction:column;align-items:stretch}
.editor-code-projects-empty {padding:18px;text-align:center}
.editor-code-shell {--editor-code-comment-light:#6b7280;--editor-code-string-light:#0f9d58;--editor-code-number-light:#d97706;--editor-code-keyword-light:#2563eb;--editor-code-builtin-light:#7c3aed;--editor-code-type-light:#c2410c;--editor-code-call-light:#0f766e;--editor-code-operator-light:#475569;--editor-code-tag-light:#be123c;--editor-code-comment-dark:#94a3b8;--editor-code-string-dark:#86efac;--editor-code-number-dark:#fbbf24;--editor-code-keyword-dark:#93c5fd;--editor-code-builtin-dark:#c4b5fd;--editor-code-type-dark:#fdba74;--editor-code-call-dark:#5eead4;--editor-code-operator-dark:#cbd5e1;--editor-code-tag-dark:#fda4af;--editor-code-comment:var(--editor-code-comment-light);--editor-code-string:var(--editor-code-string-light);--editor-code-number:var(--editor-code-number-light);--editor-code-keyword:var(--editor-code-keyword-light);--editor-code-builtin:var(--editor-code-builtin-light);--editor-code-type:var(--editor-code-type-light);--editor-code-call:var(--editor-code-call-light);--editor-code-operator:var(--editor-code-operator-light);--editor-code-tag:var(--editor-code-tag-light)}
.editor-code-wrap {display:flex;flex:1;min-height:0;max-height:none;overflow:hidden;background:linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.05));--editor-code-font-size:14px;--editor-code-line-height:1.5}
.editor-code-lines {min-width:52px;max-width:52px;overflow:hidden auto;border-right:var(--border-width) solid var(--border);background:var(--secondary-bg);padding:10px 0;text-align:right;font-family:monospace;font-size:var(--editor-code-font-size);line-height:var(--editor-code-line-height);user-select:none}
.editor-code-line-number {padding:0 10px 0 4px;color:var(--faded);font:inherit;line-height:inherit}
.editor-code-stage {position:relative;flex:1;min-height:0;height:100%;overflow:hidden;background:var(--bg)}
.editor-code-stage[data-empty="1"]::before {content:"Write code...";position:absolute;left:10px;top:10px;color:var(--faded);pointer-events:none;z-index:0}
.editor-code-highlight,
.editor-code-input {position:absolute;inset:0;margin:0;padding:10px;overflow:auto;font-family:monospace;font-size:var(--editor-code-font-size);line-height:var(--editor-code-line-height);tab-size:4;white-space:pre;word-spacing:normal;letter-spacing:normal}
.editor-code-highlight {border:0;pointer-events:none;color:var(--fg);background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 28%), linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(15, 23, 42, 0.03));}
.editor-code-input {border:0;outline:none;background:transparent;color:transparent;caret-color:var(--fg);resize:none;-webkit-text-fill-color:transparent}
.editor-code-input::selection {background:rgba(59, 130, 246, 0.25)}
.editor-code-input::-moz-selection {background:rgba(59, 130, 246, 0.25)}
.editor-code-minimap {position:absolute;z-index:2;top:0;right:0;bottom:0;width:96px;box-sizing:border-box;overflow:hidden;background:var(--transparent-bg);backdrop-filter:blur(var(--blur));cursor:pointer;user-select:none;touch-action:none}
.editor-code-minimap.margin {margin:10px}
.editor-code-minimap.secondary-border {border:var(--border-width) solid var(--secondary-border)}
.editor-code-minimap[hidden], .editor-code-minimap-disabled .editor-code-minimap {display:none}
.editor-code-minimap-content {position:absolute;inset:6px;margin:0;overflow:visible;color:var(--fg);font-family:monospace;font-size:3px;line-height:4px;white-space:pre;word-spacing:normal;letter-spacing:0;transform-origin:top left;pointer-events:none;opacity:.72}
.editor-code-minimap-viewport {position:absolute;left:1px;right:1px;top:1px;min-height:18px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--fg) 28%,transparent);border-radius:max(0px,calc(var(--radius) - 2px));background:color-mix(in srgb,var(--fg) 6%,transparent);pointer-events:none;will-change:transform,height}
.editor-code-token-comment {color:var(--editor-code-comment)}
.editor-code-token-string {color:var(--editor-code-string)}
.editor-code-token-number {color:var(--editor-code-number)}
.editor-code-token-keyword {color:var(--editor-code-keyword);font-weight:600}
.editor-code-token-builtin {color:var(--editor-code-builtin)}
.editor-code-token-type, .editor-code-token-title {color:var(--editor-code-type);font-weight:600}
.editor-code-token-call {color:var(--editor-code-call)}
.editor-code-token-operator, .editor-code-token-punctuation {color:var(--editor-code-operator)}
.editor-code-token-tag {color:var(--editor-code-tag)}
.editor-code-shell.editor-code-dark {--fg:#e5e7eb;--faded:#94a3b8;--bg:#111827;--secondary-bg:#0f172a;--border:#334155;--secondary-border:#334155}
.editor-code-shell.editor-code-dark .editor-code-wrap {background:#0f172a}
.editor-code-shell.editor-code-dark .editor-code-stage {background:#111827}
.editor-code-shell.editor-code-dark .editor-code-highlight {background:radial-gradient(circle at top right, rgba(96,165,250,.1), transparent 30%),linear-gradient(180deg,rgba(255,255,255,.015),rgba(0,0,0,.12))}
.editor-code-shell.editor-code-dark .editor-code-input {caret-color:#f8fafc}
.editor-code-shell.editor-code-dark {--editor-code-comment:var(--editor-code-comment-dark);--editor-code-string:var(--editor-code-string-dark);--editor-code-number:var(--editor-code-number-dark);--editor-code-keyword:var(--editor-code-keyword-dark);--editor-code-builtin:var(--editor-code-builtin-dark);--editor-code-type:var(--editor-code-type-dark);--editor-code-call:var(--editor-code-call-dark);--editor-code-operator:var(--editor-code-operator-dark);--editor-code-tag:var(--editor-code-tag-dark)}

.editor-slide-shell {box-sizing:border-box;height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}
.editor-slide-add-button {background:#f97316 !important;color:#fff !important;border:1px solid #ea580c !important}
.editor-slide-body {display:flex;gap:10px;min-height:0;flex:1;overflow:hidden}
.editor-slide-sidebar {width:170px;padding:8px;display:flex;flex-direction:column;gap:8px;overflow:auto}
.editor-slide-sidebar-title {font-weight:700;font-size:calc(var(--fs) - 1px)}
.editor-slide-list {display:flex;flex-direction:column;gap:6px}
.editor-slide-item {width:100%;text-align:left;padding:6px 8px 8px;border:var(--border-width) solid var(--border);border-radius:var(--radius);background:var(--bg);margin:0;display:flex;flex-direction:column;gap:8px;align-items:center}
.editor-slide-item.active {box-shadow:inset 0 0 0 2px #f97316}
.editor-slide-thumb {position:relative;overflow:hidden;border-radius:max(0px,calc(var(--radius) - 2px));background:var(--secondary-bg);border:var(--border-width) solid var(--border);box-shadow:0 4px 16px rgba(15, 23, 42, 0.08);flex:none}
.editor-slide-thumb-scene {position:absolute;left:0;top:0;transform-origin:top left}
.editor-slide-thumb-block {overflow:hidden}
.editor-slide-thumb .editor-slide-present-text {padding:8px;line-height:1.3}
.editor-slide-thumb .editor-slide-present-image {pointer-events:none}
.editor-slide-item-meta {width:100%;display:flex;align-items:center;gap:6px;min-width:0}
.editor-slide-item-index {font-size:11px;font-weight:700;color:var(--faded);flex:none}
.editor-slide-item-title {font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}
.editor-slide-workspace {flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.editor-slide-toolbar {padding:8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.editor-slide-layers-panel {box-sizing:border-box;align-self:stretch;flex:0 0 0;width:0;max-width:0;min-width:0;height:auto;max-height:100%;min-height:0;margin-left:-10px;padding:8px 0;border-width:0;opacity:0;overflow:hidden;visibility:hidden;pointer-events:none;transform:translateX(14px);transition:flex-basis 190ms ease,width 190ms ease,max-width 190ms ease,margin-left 190ms ease,padding 190ms ease,border-width 190ms ease,opacity 150ms ease,transform 190ms ease,visibility 0s linear 190ms}
.editor-slide-layers-panel.is-open {flex-basis:210px;width:210px;max-width:210px;margin-left:0;padding:8px;border-width:1px;opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0);transition:flex-basis 190ms ease,width 190ms ease,max-width 190ms ease,margin-left 190ms ease,padding 190ms ease,border-width 190ms ease,opacity 150ms ease 40ms,transform 190ms ease,visibility 0s}
.editor-slide-layers-header {min-width:192px;display:flex;align-items:center;justify-content:space-between;padding:2px 2px 8px}
.editor-slide-layers-title {font-size:calc(var(--fs) - 1px);font-weight:700}
.editor-slide-layers-count {min-width:20px;height:20px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 6px;border-radius:999px;background:var(--secondary-bg);color:var(--faded);font-size:11px;font-weight:700}
.editor-slide-layers-list {min-width:192px;min-height:0;flex:1;display:flex;flex-direction:column;gap:5px;overflow-y:auto}
.editor-slide-layer-item {position:relative;width:100%;min-width:0;display:flex;align-items:center;gap:8px;margin:0;padding:7px;border:0;border-radius:max(0px,calc(var(--radius) - 2px));background:transparent;color:inherit;text-align:left;cursor:grab;transition:background-color 120ms ease,opacity 120ms ease,transform 120ms ease}
.editor-slide-layer-item:hover {background:var(--bg);transform:translateX(-2px)}
.editor-slide-layer-item.active {background:var(--secondary-bg)}
.editor-slide-layer-item.dragging {opacity:.42;cursor:grabbing}
.editor-slide-layer-item.drop-before::before,.editor-slide-layer-item.drop-after::after {content:"";position:absolute;left:4px;right:4px;height:2px;border-radius:999px;background:var(--primary);pointer-events:none}
.editor-slide-layer-item.drop-before::before {top:-4px}.editor-slide-layer-item.drop-after::after {bottom:-4px}
.editor-slide-layer-type {width:28px;height:24px;display:flex;flex:none;align-items:center;justify-content:center;border-radius:max(0px,calc(var(--radius) - 3px));background:var(--secondary-bg);color:var(--faded);font-size:9px;font-weight:800;letter-spacing:0.02em}
.editor-slide-layer-type-text {color:#2563eb}.editor-slide-layer-type-image {color:#16a34a}.editor-slide-layer-type-chart {color:#9333ea}.editor-slide-layer-type-shape {color:#ea580c}
.editor-slide-layer-label {min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}
.editor-slide-layer-order {flex:none;color:var(--faded);font-size:10px;font-variant-numeric:tabular-nums}
.editor-slide-layers-empty {min-width:192px;padding:24px 10px;color:var(--faded);font-size:12px;line-height:1.45;text-align:center}
.editor-slide-layer-details {height:100%;box-sizing:border-box;display:flex;flex-direction:column;min-height:0;padding:10px}
.editor-slide-layer-details-scroll {min-height:0;flex:1;overflow:auto;padding:4px}
.editor-slide-layer-details-section {margin-bottom:14px;padding:12px;border:var(--border-width) solid var(--border);border-radius:var(--radius);background:var(--transparent-bg)}
.editor-slide-layer-details-section-title {margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--faded)}
.editor-slide-layer-details label {display:block;margin:0 0 5px;font-size:12px;font-weight:700}
.editor-slide-layer-details input,.editor-slide-layer-details textarea {box-sizing:border-box}
.editor-slide-layer-details input[readonly] {background:var(--secondary-bg);color:var(--faded)}
.editor-slide-layer-details-grid {display:grid;gap:10px}.editor-slide-layer-details-grid.two {grid-template-columns:repeat(2,minmax(0,1fr))}.editor-slide-layer-details-grid.four {grid-template-columns:repeat(4,minmax(0,1fr))}
.editor-slide-layer-details-content,.editor-slide-layer-details-properties {min-height:90px;resize:vertical;font-family:inherit}
.editor-slide-layer-details-properties {font-family:monospace;font-size:12px}
.editor-slide-layer-details-help {margin-top:6px;color:var(--faded);font-size:11px}
@media (max-width:620px) {.editor-slide-layer-details-grid.four {grid-template-columns:repeat(2,minmax(0,1fr))}.editor-slide-layer-details-grid.two {grid-template-columns:1fr}}
.editor-slide-canvas {height:calc(100% - 110px);position:relative;background-color:var(--secondary-bg);background-image:linear-gradient(to right, var(--border) 1px, transparent 1px),linear-gradient(to bottom, var(--border) 1px, transparent 1px);background-size:20px 20px;overflow:hidden}
.editor-slide-block {position:absolute;border:1px solid #fb923c;background:var(--bg);box-sizing:border-box;cursor:grab;user-select:none}
.editor-slide-block[data-block-type="text"] {background:transparent}
.editor-slide-block[data-block-type="chart"] {background:var(--bg);overflow:visible}
.editor-slide-block[data-block-type="shape"] {background:transparent}
.editor-slide-block.selected {box-shadow:0 0 0 2px #f97316}
.editor-slide-text-content {width:100%;height:100%;padding:8px;outline:none;cursor:text;user-select:text;overflow:auto;white-space:pre-wrap;line-height:1.35}
.editor-slide-image-content {width:100%;height:100%;object-fit:cover;pointer-events:auto;display:block}
.editor-slide-chart-content {width:100%;height:100%;overflow:hidden;background:var(--bg)}
.editor-slide-shape-content {display:block;width:100%;height:100%;overflow:visible;pointer-events:none}
.editor-slide-chart-content .plastic-chart {padding:8px}
.editor-slide-resize-handle {display:none;position:absolute;width:12px;height:12px;right:-6px;bottom:-6px;border-radius:50%;background:#f97316;border:1px solid #fff;cursor:nwse-resize}
.editor-slide-block.selected .editor-slide-resize-handle {display:block}

.editor-slide-item.dragging {opacity:0.55}
.editor-slide-item {transition:transform 170ms ease, box-shadow 130ms ease, opacity 130ms ease}
.editor-slide-background-menu {position:fixed;display:none;min-width:180px;background:var(--bg);padding:10px;z-index:4000}
.editor-slide-background-menu.open {display:flex;flex-direction:column;gap:8px}
.editor-slide-options-menu {position:fixed;display:none;min-width:180px;background:var(--bg);padding:8px;z-index:4000}
.editor-slide-options-menu.open {display:block}
.editor-slide-background-section {font-size:12px;font-weight:700}
.editor-slide-background-color-input {display:block;width:100%;height:36px;padding:0;border:var(--border-width) solid var(--border);border-radius:var(--radius);background:transparent}
.editor-slide-background-action {display:block;width:100%;text-align:left;border:var(--border-width) solid var(--border);background:var(--secondary-bg);padding:8px 10px;border-radius:var(--radius);cursor:pointer;color:inherit}
.editor-slide-background-action.subtle {background:transparent}
.editor-slide-background-action:hover {background:var(--hover-bg)}
.editor-slide-option-row {padding:8px 10px;border-radius:var(--radius);cursor:pointer}
.editor-slide-option-row:hover {background:var(--secondary-bg)}
.editor-slide-option-label {font-weight:400}
.editor-slide-toolbar button.active {background:var(--hover-bg);border-radius:var(--radius)}
.editor-slide-presenting {overflow:hidden}
.editor-slide-presentation {position:fixed;inset:0;z-index:5000;background:rgba(10, 10, 10, 0.96);display:flex;align-items:center;justify-content:center;padding:32px}
.editor-slide-present-stage {width:min(100vw - 64px, calc((100vh - 64px) * 1.7777778));height:min(calc((100vw - 64px) / 1.7777778), 100vh - 64px);display:flex;align-items:center;justify-content:center}
.editor-slide-present-surface {width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 24px 90px rgba(0, 0, 0, 0.45);background-color:#fff}
.editor-slide-present-block {position:absolute;box-sizing:border-box}
.editor-slide-present-text {width:100%;height:100%;padding:8px;overflow:hidden;white-space:pre-wrap;line-height:1.35;color:inherit}
.editor-slide-present-image {width:100%;height:100%;object-fit:cover;display:block}
.editor-slide-present-chart {width:100%;height:100%;overflow:hidden;background:var(--bg)}
.editor-slide-present-exit {position:fixed;top:20px;right:20px;border:1px solid rgba(255, 255, 255, 0.2);background:rgba(255, 255, 255, 0.08);color:rgba(255, 255, 255, 0.72);padding:9px 14px;border-radius:999px;cursor:pointer;transition:background 130ms ease, color 130ms ease, opacity 130ms ease;opacity:0.72}
.editor-slide-present-exit:hover {background:rgba(255, 255, 255, 0.14);color:#fff;opacity:1}
.editor-slide-present-counter {position:fixed;left:24px;bottom:20px;color:rgba(255, 255, 255, 0.68);font-size:12px;letter-spacing:0.08em}
.editor-slide-toolbar .disabled {opacity:0.45;pointer-events:none}
@media (prefers-reduced-motion:reduce) {.editor-slide-layers-panel,.editor-slide-layers-panel.is-open,.editor-slide-layer-item {transition:none}}
.editor-slide-chart-tabs {display:flex;gap:6px;margin-bottom:12px}
.editor-slide-chart-tab {border:var(--border-width) solid var(--border);background:var(--bg);padding:8px 12px;border-radius:max(0px,calc(var(--radius) - 2px));cursor:pointer}
.editor-slide-chart-tab.selected {background:var(--secondary-bg);box-shadow:inset 0 0 0 2px #f97316}
.editor-slide-chart-panel.hidden {display:none}
.editor-slide-chart-data-input {min-height:130px;resize:vertical;font-family:monospace}
.editor-slide-chart-preview {height:190px;margin-top:12px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 2px));background:var(--bg);overflow:hidden}

.settings-interfaces-list {display:grid;gap:8px}
.settings-standards-heading {align-items:center;display:flex;justify-content:space-between}
.settings-standards-heading h3 {margin:0}
.standard-maker-basics {display:grid;gap:10px;grid-template-columns:1.4fr 1fr .7fr;margin:8px 0 12px}
.standard-maker-basics label {display:block;font-size:12px;margin-bottom:4px}
.standard-maker-basics input,.standard-maker-basics .plastic-dropdown {box-sizing:border-box;width:100%}
.standard-maker-history {margin-bottom:8px}
.standard-maker-rows {display:grid;gap:8px}
.standard-maker-row {align-items:center;display:grid;gap:6px}
.standard-maker-constraint-row {grid-template-columns:1fr 1.25fr 1fr .75fr auto 34px}
.standard-maker-definition-row {grid-template-columns:1fr 1.4fr 34px}
.standard-maker-row input,.standard-maker-row .plastic-dropdown {box-sizing:border-box;min-width:0;width:100%}
.standard-maker-required {align-items:center;display:flex;font-size:12px;gap:4px;white-space:nowrap}
.standard-maker-required .standard-maker-required-control {margin-left:auto}
.standard-maker-required label {font-size:12px}
.standard-maker-required input {width:auto}
.standard-maker-remove {font-size:18px;line-height:1}
@media (max-width:640px) {
    .standard-maker-basics {grid-template-columns:1fr 1fr}
    .standard-maker-basics>div:first-child {grid-column:1/-1}
    .standard-maker-constraint-row {grid-template-columns:1fr 1fr 34px}
}
.settings-interface-item {background:var(--bg);overflow:hidden;transition:border-color 160ms ease,box-shadow 160ms ease,opacity 160ms ease}
.settings-interface-item.open {box-shadow:var(--small-shadow)}
.settings-interface-disabled {opacity:0.68}
.settings-interface-row {align-items:center;display:grid;gap:10px;grid-template-columns:34px minmax(0, 1fr) auto;padding:10px}
.internals-app-setting-row .switcher {margin-top:-40px !important;vertical-align:top}
.settings-interface-icon {align-items:center;display:flex;height:30px;justify-content:center;width:30px}
.settings-interface-icon img, .settings-interface-icon svg {height:28px;width:28px;object-fit:contain}
.settings-interface-copy {min-width:0}
.settings-interface-title, .settings-interface-id, .settings-interface-state {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.settings-interface-drawer {max-height:0;overflow:hidden;transition:max-height 180ms ease}
.settings-interface-item.open .settings-interface-drawer {max-height:96px}
.settings-interface-drawer-inner {align-items:center;border-top:var(--border-width) solid var(--border);padding:10px}

.settings-people-user-tile {display:flex;align-items:center;gap:12px;min-height:48px;box-sizing:border-box}
button.people-user-photo-button {display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;min-width:48px;min-height:48px;margin:0;padding:0 !important;overflow:hidden;box-sizing:border-box}
button.people-user-photo-default,button.people-user-photo-default:hover {background-image:url("/images/blank_contact.png") !important;background-position:center !important;background-repeat:no-repeat !important;background-size:cover !important}
button.people-user-photo-button svg,.people-user-photo-image {display:block;width:48px !important;height:48px !important;max-width:48px;max-height:48px;object-fit:cover}
.settings-people-user-copy {min-width:0}

/*TIMERS*/
.timer-quick-form {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}
.timers-list {display:flex;flex-direction:column;gap:10px;overflow:auto;padding-bottom:12px}
.timer-card {padding:12px;background:var(--secondary-bg);transition:opacity 160ms ease}
.timer-card-complete {opacity:.72}
.timer-card-header {display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.timer-card-copy {min-width:0}
.timer-card-copy h3 {margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.timer-card-display {flex:none;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.timer-progress {height:6px;margin:11px 0;overflow:hidden;border-radius:999px;background:var(--bg);border:var(--border-width) solid var(--border)}
.timer-progress span {display:block;height:100%;background:var(--primary);transition:width 250ms linear}
.timer-card-complete .timer-progress span {background:var(--faded)}
.timer-card-actions {display:flex;flex-wrap:wrap;gap:7px}
.timer-empty {display:flex;flex-direction:column;align-items:center;gap:7px;padding:28px 16px;text-align:center}
.timer-empty-icon svg {width:32px;height:32px}
@media (prefers-reduced-motion: reduce) {
    .draggable-window:not(.widget-window) {animation:none}
}

/*EMAIL*/
.email-shell {display:grid;grid-template-columns:minmax(230px, 34%) minmax(0, 1fr);height:100%;min-height:0;overflow:hidden;background:var(--bg);border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 2px))}
.email-list-pane {display:flex;flex-direction:column;min-width:0;min-height:0;border-right:var(--border-width) solid var(--border);background:var(--secondary-bg)}
.email-list-header {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:var(--border-width) solid var(--border);flex:none}
.email-list-header h3 {margin:0;font-size:calc(var(--fs) + 2px)}
.email-count {min-width:24px;text-align:center;padding:3px 7px;border-radius:999px;background:var(--bg);border:var(--border-width) solid var(--border);font-size:calc(var(--fs) - 2px);font-weight:700}
.email-message-list {overflow:auto;min-height:0}
.email-message-item {display:flex;flex-direction:column;gap:4px;padding:10px 12px;border-bottom:var(--border-width) solid var(--border);cursor:pointer;background:transparent;min-width:0}
.email-message-item:hover {background:var(--bg)}
.email-message-item.active {background:var(--bg);box-shadow:inset 3px 0 0 var(--primary)}
.email-message-item.unread .email-message-sender,.email-message-item.unread .email-message-subject {font-weight:800}
.email-message-row {display:flex;align-items:baseline;gap:8px;min-width:0}
.email-message-sender {flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.email-message-date {flex:none;max-width:86px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(var(--fs) - 3px);opacity:0.68}
.email-message-category {display:inline-flex;align-items:center;gap:6px;max-width:100%;align-self:flex-start;padding:2px 7px 3px 6px;border:var(--border-width) solid var(--border);border-radius:999px;background:var(--bg);font-size:calc(var(--fs) - 3px);line-height:1.2;opacity:0.86}
.email-message-category-dot {width:9px;height:9px;min-width:9px;border-radius:50%;border:var(--border-width) solid var(--secondary-border)}
.email-message-category-name {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-message-subject {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-message-snippet {font-size:calc(var(--fs) - 2px);opacity:0.72;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-reading-pane {min-width:0;min-height:0;overflow:auto;padding:18px 22px;background:var(--bg)}
.email-reading-header {padding-bottom:14px;margin-bottom:14px;border-bottom:var(--border-width) solid var(--border)}
.email-reading-header h2 {margin:0 0 12px 0;font-size:calc(var(--fs) + 8px);line-height:1.2;overflow-wrap:anywhere}
.email-reading-meta {display:grid;gap:5px;font-size:calc(var(--fs) - 1px);opacity:0.78;overflow-wrap:anywhere}
.email-reading-meta strong {display:inline-block;min-width:42px;margin-right:7px;opacity:0.8}
.email-reading-body {white-space:pre-wrap;line-height:1.5;overflow-wrap:anywhere}
.email-attachments {margin-top:20px;padding-top:16px;border-top:var(--border-width) solid var(--border)}
.email-attachments-label {margin-bottom:9px;font-weight:750}
.email-attachment-list {display:flex;flex-wrap:wrap;gap:9px}
.email-attachment {display:flex;align-items:center;gap:9px;max-width:100%;padding:9px 11px;background:var(--bg);color:inherit;text-align:left;cursor:pointer}
.email-attachment:hover {background:var(--secondary)}
.email-attachment img {width:30px;height:30px;object-fit:contain;flex:none}
.email-attachment-details {display:flex;flex-direction:column;min-width:0;gap:2px}
.email-attachment-details strong {max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.email-attachment-details small {opacity:0.65}
.email-reading-empty,.email-empty-state {height:100%;min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;color:var(--faded)}
.email-empty-icon {width:72px;height:72px;object-fit:contain;opacity:0.72}
.email-empty-label {font-weight:700;color:var(--fg)}
.email-category-popout-dot {display:inline-block;width:11px;height:11px;min-width:11px;border-radius:50%;margin:2px 9px 0 0;border:var(--border-width) solid var(--secondary-border);vertical-align:top}
.email-category-popout-dot-empty {background:transparent}
.email-composer-shell {display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;box-sizing:border-box;overflow:hidden}
.email-composer-formatbar {flex:none}
.email-composer-format-button {min-width:30px;height:30px;padding:4px 8px;font-weight:700}
.email-composer-fields {display:grid;grid-template-columns:auto minmax(0, 1fr);gap:8px 10px;align-items:center;flex:none;padding:2px 0 0 0}
.email-composer-fields label {font-weight:700;opacity:0.74}
.email-composer-to-wrapper {width:100%;min-width:0}
.email-composer-input {width:100%;min-width:0;box-sizing:border-box;padding:7px 9px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 4px));background:var(--bg);color:var(--fg);font:inherit}
.email-reply-context {flex:none;padding:12px 14px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 2px));background:var(--secondary-bg);display:flex;flex-direction:column;gap:7px;min-width:0}
.email-reply-context-title {display:flex;align-items:center;gap:8px;font-weight:800;color:var(--primary)}
.email-reply-context-title svg {width:18px;height:18px;flex:none}
.email-reply-context-subject {font-weight:800;overflow-wrap:anywhere}
.email-reply-context-meta {display:grid;gap:4px;font-size:calc(var(--fs) - 1px);opacity:0.78;overflow-wrap:anywhere}
.email-reply-context-meta strong {display:inline-block;min-width:46px;margin-right:7px;opacity:0.84}
.email-reply-context-snippet {max-height:58px;overflow:hidden;white-space:pre-wrap;font-size:calc(var(--fs) - 2px);line-height:1.4;opacity:0.72}
.email-composer-editor {flex:1;min-height:180px;overflow:auto;padding:16px 18px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 2px));background:var(--bg);line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}
.email-composer-editor:focus {box-shadow:inset 0 0 0 2px var(--primary)}
.email-reply-quote-header {margin-top:12px;color:var(--faded);font-size:calc(var(--fs) - 1px)}
.email-reply-quote {margin:8px 0 0 0;padding:0 0 0 12px;border-left:3px solid var(--border);color:var(--faded);white-space:pre-wrap;overflow-wrap:anywhere}

@media (max-width: 720px) {
    .email-shell {grid-template-columns:1fr;grid-template-rows:minmax(180px, 42%) minmax(0, 1fr)}
    .email-list-pane {border-right:0;border-bottom:var(--border-width) solid var(--border)}
    .email-composer-fields {grid-template-columns:1fr}
}

/* Charts */
.charts-editor {height:calc(100% - 18px);min-height:520px;box-sizing:border-box;display:flex;flex-direction:column;gap:8px}
.charts-toolbar {display:flex;align-items:center;gap:6px;flex-wrap:wrap;flex:none;z-index:3}
.charts-toolbar select,.charts-toolbar input[type="number"] {height:30px;max-width:125px;box-sizing:border-box}
.charts-toolbar input[type="number"] {width:58px}
.charts-toolbar .editor-font-family-combo {width:132px}.charts-toolbar .editor-font-size-combo {width:64px}
.charts-toolbar input[type="color"] {width:32px;height:28px;padding:2px;border:var(--border-width) solid var(--border);border-radius:max(0px,calc(var(--radius) - 5px));background:var(--bg)}
.charts-toolbar button {min-height:30px;padding:4px 8px}.charts-toolbar button.active {background:var(--hover-bg);color:var(--primary)}
.charts-toolbar .charts-connector-style {min-width:112px}
.charts-toolbar-separator {height:24px;border-left:var(--border-width) solid var(--border);margin:0 3px}.charts-bg-label {display:flex;align-items:center;gap:5px;font-size:calc(var(--fs) - 2px)}
.charts-canvas-area {display:flex;gap:10px;flex:1;min-height:0;overflow:hidden}
.charts-canvas-area .editor-slide-layers-panel {max-height:100%}
.charts-stage {position:relative;flex:1;min-width:0;min-height:420px;overflow:hidden;cursor:grab;touch-action:none;background-image:radial-gradient(circle,rgba(100,110,130,.22) 1px,transparent 1px);background-size:24px 24px;outline:none}
.charts-stage.charts-drawing {cursor:crosshair}.charts-tool-button svg {display:block}
.charts-stage:active {cursor:grabbing}.charts-world {position:absolute;inset:0;transform-origin:0 0;overflow:visible}.charts-connectors {position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible}.charts-items {position:absolute;left:-50000px;top:-50000px;width:100000px;height:100000px;overflow:visible;pointer-events:none}
.charts-item {position:absolute;transform:translate(50000px,50000px);box-sizing:border-box;pointer-events:auto;cursor:move;user-select:none}.charts-item>svg,.charts-item>img {position:absolute;inset:0;width:100%;height:100%;display:block}.charts-item>img {object-fit:contain;border:1px solid transparent;border-radius:4px}
.charts-draw-preview {opacity:.45;pointer-events:none;cursor:crosshair}.charts-draw-preview.charts-text {border:2px dashed var(--primary);background:color-mix(in srgb,var(--primary) 8%,transparent)}.charts-draw-preview .charts-item-text {color:var(--fg)}
.charts-item-text {position:absolute;inset:7px;display:flex;flex-direction:column;justify-content:center;line-height:1.2;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;pointer-events:none}.charts-text-editor {position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);box-sizing:border-box;z-index:6;resize:none;font:inherit;color:var(--fg);background:var(--transparent-bg);border:1px solid var(--primary);border-radius:4px;text-align:center}
.charts-item.selected {filter:drop-shadow(0 0 3px color-mix(in srgb,var(--primary) 65%,transparent))}.charts-item.selected>img {border-color:var(--primary)}
.charts-vertex {display:block;position:absolute;width:18px;height:18px;min-width:0;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;z-index:8;cursor:crosshair}.charts-vertex:hover {background:transparent;box-shadow:none}.charts-vertex::after {content:"";position:absolute;inset:3px;border:2px solid var(--bg);border-radius:50%;background:var(--primary);opacity:0;transform:scale(.65);transition:opacity 100ms ease,transform 100ms ease;pointer-events:none}.charts-vertex:hover::after,.charts-vertex.connecting::after {opacity:1;transform:scale(1)}.charts-vertex-top {left:50%;top:-9px;transform:translateX(-50%)}.charts-vertex-right {right:-9px;top:50%;transform:translateY(-50%)}.charts-vertex-bottom {left:50%;bottom:-9px;transform:translateX(-50%)}.charts-vertex-left {left:-9px;top:50%;transform:translateY(-50%)}
.charts-resize {position:absolute;width:9px;height:9px;border:1px solid var(--primary);background:var(--bg);z-index:9}.charts-resize-nw {left:-5px;top:-5px;cursor:nwse-resize}.charts-resize-ne {right:-5px;top:-5px;cursor:nesw-resize}.charts-resize-se {right:-5px;bottom:-5px;cursor:nwse-resize}.charts-resize-sw {left:-5px;bottom:-5px;cursor:nesw-resize}
.charts-connector {pointer-events:stroke}.charts-connector-line {fill:none;stroke:#657089;stroke-width:2;pointer-events:none}.charts-connector-hit {fill:none;stroke:transparent;stroke-width:14;cursor:pointer}.charts-connector.selected .charts-connector-line {stroke:var(--primary);stroke-width:3}.charts-connector-label {fill:var(--fg);font:600 14px Inter,sans-serif;paint-order:stroke;stroke:var(--bg);stroke-width:5px;stroke-linejoin:round;pointer-events:none}
.charts-hint {position:absolute;right:10px;bottom:8px;padding:4px 7px;border-radius:5px;background:var(--transparent-bg);font-size:11px;opacity:.66;pointer-events:none}.charts-search-hit {animation:filesSearchPulse 900ms ease-out}.charts-list {display:flex;gap:12px;flex-wrap:wrap}.chart-file {width:120px}.chart-file img {display:block;margin:0 auto 6px}.charts-empty {width:100%;padding:48px;text-align:center}

/* Camera */
.camera-window .window-content {overflow:hidden;padding:0;background:#050505}
.camera-window .window-body {overflow:hidden}
.camera-portal {position:relative;width:100%;height:100%;min-height:100%;overflow:hidden;background:#050505;color:#fff;isolation:isolate}
.camera-feed {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#050505}
.camera-shade {position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.16),transparent 28%,transparent 65%,rgba(0,0,0,.42));pointer-events:none}
.camera-status {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:32px;text-align:center;background:#101010;color:#fff;z-index:2}
.camera-status.hidden {display:none}
.camera-status-icon {width:52px;height:52px;opacity:.9}
.camera-status-icon svg {display:block;width:100%;height:100%}
.camera-status span {max-width:360px;line-height:1.45;opacity:.72}
.camera-shutter.round.secondary {position:absolute;left:50%;bottom:24px;z-index:3;display:grid;place-items:center;width:70px;height:70px;padding:17px;transform:translateX(-50%);border:5px solid rgba(255,255,255,.9);background:rgba(255,255,255,.22);color:#fff;box-shadow:0 4px 24px rgba(0,0,0,.36);backdrop-filter:blur(12px)}
.camera-shutter.round.secondary:hover:not(:disabled) {transform:translateX(-50%) scale(1.05);border-color:#fff;background:rgba(255,255,255,.32)}
.camera-shutter.round.secondary:active:not(:disabled) {transform:translateX(-50%) scale(.94)}
.camera-shutter.round.secondary:disabled {cursor:wait !important;opacity:.48}
.camera-shutter.round.secondary svg {width:30px;height:30px;color:#fff}
.camera-portal::after {content:"";position:absolute;inset:0;z-index:4;background:#fff;opacity:0;pointer-events:none}
.camera-portal.camera-flash::after {animation:camera-capture-flash 360ms ease-out}
@keyframes camera-capture-flash {0%{opacity:.85}100%{opacity:0}}
