Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
/*
* The agent pane: one calm column for everything about one agent.
*
* Chrome is neutral: the large avatar stands on its own, with no ring or
* frame. Every colour is a theme token, so light and dark both follow the app. Content sits in soft
* rounded cards with readable type (14px primary, 13px secondary, never
* below 12px), buttons are fully round, and motion stays short and switches
* off under reduced motion.
*/
.ap-root {
--ap-radius-sm: 10px;
--ap-radius: 14px;
--ap-radius-lg: 18px;
display: flex;
height: 100%;
min-height: 0;
flex-direction: column;
background: hsl(var(--sidebar));
border-left: 1px solid hsl(var(--border) / 0.6);
color: hsl(var(--foreground));
container: agent-pane / inline-size;
}
/* ---------------------------------------------------------------- header */
.ap-head {
position: relative;
display: flex;
flex-shrink: 0;
flex-direction: column;
align-items: center;
gap: 4px;
padding: 52px 20px 14px;
text-align: center;
}
.ap-head-actions {
position: absolute;
top: 12px;
right: 12px;
display: flex;
align-items: center;
gap: 6px;
}
.ap-avatar {
position: relative;
flex-shrink: 0;
margin-bottom: 10px;
}
.ap-name {
width: 100%;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 18px;
font-weight: 600;
letter-spacing: -0.015em;
color: hsl(var(--foreground-strong));
}
.ap-meta {
width: 100%;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
line-height: 1.4;
color: hsl(var(--muted-foreground));
}
/* Name and role edit in place in the header, centred like the text they replace. */
.ap-head .ap-head-edit {
justify-content: center;
margin: 0 auto;
font: inherit;
color: inherit;
}
.ap-head input.ap-head-edit {
width: 100%;
text-align: center;
}
/* Round icon buttons: close, more, dismiss. */
.ap-round-btn {
display: inline-flex;
height: 34px;
width: 34px;
flex-shrink: 0;
align-items: center;
justify-content: center;
border-radius: 999px;
background: hsl(var(--secondary));
color: hsl(var(--muted-foreground));
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.5);
transition: background-color 150ms ease, color 150ms ease, transform 100ms ease;
}
.ap-round-btn[data-size="sm"] {
height: 26px;
width: 26px;
background: transparent;
box-shadow: none;
}
.ap-round-btn:hover:not(:disabled) {
background: hsl(var(--secondary-hover, var(--secondary)));
color: hsl(var(--foreground));
}
.ap-round-btn:active:not(:disabled) { transform: scale(0.94); }
.ap-round-btn:focus-visible {
outline: none;
box-shadow: 0 0 0 2px hsl(var(--ring));
}
.ap-round-btn[aria-expanded="true"] { color: hsl(var(--foreground)); }
/* The small back button on a sub-page. */
.ap-icon-btn {
display: inline-flex;
height: 30px;
width: 30px;
flex-shrink: 0;
align-items: center;
justify-content: center;
border-radius: 999px;
color: hsl(var(--muted-foreground));
transition: background-color 150ms ease, color 150ms ease;
}
.ap-icon-btn:hover:not(:disabled) {
background: hsl(var(--secondary));
color: hsl(var(--foreground));
}
.ap-icon-btn:focus-visible {
outline: none;
box-shadow: 0 0 0 2px hsl(var(--ring));
}
.ap-icon-btn:disabled { opacity: 0.4; }
.ap-menu {
position: absolute;
right: 0;
top: calc(100% + 6px);
z-index: 20;
width: 220px;
border: 1px solid hsl(var(--border));
border-radius: var(--ap-radius);
background: hsl(var(--popover));
padding: 6px;
text-align: left;
/* Depth comes from .shadow-float on the element (index.css doctrine). */
}
.ap-menu-item {
display: flex;
width: 100%;
align-items: center;
gap: 8px;
border-radius: var(--ap-radius-sm);
padding: 8px 10px;
text-align: left;
font-size: 14px;
color: hsl(var(--foreground));
}
.ap-menu-item:hover:not(:disabled),
.ap-menu-item:focus-visible { background: hsl(var(--secondary)); outline: none; }
.ap-menu-item:disabled { opacity: 0.5; }
.ap-menu-sep {
margin: 4px 6px;
height: 1px;
background: hsl(var(--border));
}
/* ------------------------------------------------------------------ tabs */
/* Plain words in a row; the open one sits on a soft round chip. */
.ap-tabs {
display: flex;
flex-shrink: 0;
align-items: center;
justify-content: center;
gap: 2px;
padding: 0 12px 10px;
overflow-x: auto;
scrollbar-width: none;
}
.ap-tabs::-webkit-scrollbar { display: none; }
.ap-tab {
position: relative;
display: inline-flex;
flex-shrink: 0;
height: 30px;
align-items: center;
justify-content: center;
border-radius: 999px;
padding: 0 12px;
font-size: 13px;
font-weight: 500;
color: hsl(var(--muted-foreground));
transition: color 150ms ease, background-color 150ms ease;
}
.ap-tab:hover { color: hsl(var(--foreground)); }
.ap-tab:focus-visible {
outline: none;
box-shadow: 0 0 0 2px hsl(var(--ring));
}
.ap-tab[data-state="active"] {
background: hsl(var(--secondary));
color: hsl(var(--foreground-strong));
}
.ap-tab-badge {
position: absolute;
right: 5px;
top: 5px;
width: 6px;
height: 6px;
border-radius: 999px;
background: hsl(var(--warning));
}
/* ------------------------------------------------------- sub-page header */
.ap-sub {
display: flex;
flex-shrink: 0;
align-items: center;
gap: 6px;
padding: 0 12px 6px 10px;
font-size: 14px;
font-weight: 600;
color: hsl(var(--foreground-strong));
}
/* ------------------------------------------------------------------ body */
.ap-body {
display: flex;
min-height: 0;
flex: 1;
flex-direction: column;
gap: 20px;
overflow-y: auto;
/* The same inset on every tab, whether or not it scrolls. */
scrollbar-gutter: stable both-edges;
scrollbar-width: thin;
padding: 6px 8px 20px;
animation: ap-in 180ms ease-out;
}
.ap-body[data-fill="true"] { gap: 14px; }
@keyframes ap-in {
from { opacity: 0; transform: translateY(3px); }
to { opacity: 1; transform: none; }
}
.ap-section { display: flex; flex-direction: column; gap: 8px; }
.ap-section-head {
display: flex;
min-height: 24px;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 0 4px;
}
.ap-section-title {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
font-weight: 500;
color: hsl(var(--muted-foreground));
}
.ap-hint {
padding: 0 4px;
font-size: 13px;
line-height: 1.45;
color: hsl(var(--muted-foreground));
}
/* A hint that belongs to a card line starts where the line's label starts. */
.ap-hint.ap-line-hint { padding: 0 12px 8px; }
.ap-link {
display: inline-flex;
flex-shrink: 0;
white-space: nowrap;
align-items: center;
gap: 4px;
border-radius: 999px;
padding: 3px 10px;
font-size: 13px;
font-weight: 500;
color: hsl(var(--muted-foreground));
transition: background-color 150ms ease, color 150ms ease;
}
.ap-link:hover:not(:disabled) { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.ap-link:disabled { opacity: 0.5; }
/* ----------------------------------------------------------------- cards */
/* One soft rounded surface holding a few rows; rows separate by space, not rules. */
.ap-card,
.ap-rows {
display: flex;
flex-direction: column;
border-radius: var(--ap-radius-lg);
background: hsl(var(--card));
/* In light the card and the rail are nearly one white: a soft edge keeps the shape. */
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.55);
padding: 4px;
}
.ap-field {
display: flex;
min-width: 0;
min-height: 40px;
align-items: center;
gap: 12px;
padding: 4px 10px;
}
.ap-field > .ap-line-label { width: 64px; }
.ap-field-value {
min-width: 0;
font-size: 14px;
color: hsl(var(--foreground));
}
/* A label on the left, a value on the right: model, permissions, runtime. */
.ap-line {
display: flex;
width: 100%;
min-width: 0;
min-height: 42px;
align-items: center;
gap: 12px;
border-radius: 14px;
padding: 6px 12px;
text-align: left;
transition: background-color 150ms ease;
}
button.ap-line:hover:not(:disabled) { background: hsl(var(--secondary)); }
button.ap-line:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring)); }
button.ap-line:disabled { opacity: 0.55; }
.ap-line-label {
flex-shrink: 0;
font-size: 14px;
color: hsl(var(--foreground));
}
/* A line whose value is a picker: the label gives way (wraps) before the picker does. */
.ap-line:has(.ap-pick) .ap-line-label { min-width: 0; flex-shrink: 1; line-height: 1.3; }
.ap-field .ap-line-label { font-size: 13px; color: hsl(var(--muted-foreground)); }
.ap-line-value {
min-width: 0;
margin-left: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: right;
font-size: 13px;
color: hsl(var(--muted-foreground));
}
/* --------------------------------------------------------------- identity */
.ap-inline {
display: flex;
min-width: 0;
max-width: 100%;
align-items: center;
border-radius: var(--ap-radius-sm);
margin: -3px -8px;
padding: 3px 8px;
text-align: left;
transition: background-color 150ms ease;
}
.ap-inline:hover:not(:disabled) { background: hsl(var(--secondary)); }
.ap-inline:disabled { cursor: default; }
.ap-inline-empty { color: hsl(var(--muted-foreground)); }
.ap-instructions {
display: block;
width: 100%;
border-radius: var(--ap-radius-lg);
background: hsl(var(--card));
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.55);
padding: 12px 14px;
font-size: 14px;
line-height: 1.5;
color: hsl(var(--foreground));
}
/* Whole lines only: the box holds exactly five, and the last one fades out instead of being cut. */
.ap-instructions-text {
display: block;
overflow: hidden;
}
.ap-instructions[data-long="true"] .ap-instructions-text {
max-height: 7.5em;
-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.6em), transparent);
mask-image: linear-gradient(to bottom, #000 calc(100% - 1.6em), transparent);
}
.ap-instructions-line { display: block; min-height: 1.5em; overflow-wrap: anywhere; }
.ap-instructions-line[data-heading="true"] { font-weight: 600; }
/* ------------------------------------------------------------- text rows */
.ap-row {
display: flex;
min-height: 52px;
width: 100%;
align-items: center;
gap: 10px;
border-radius: 14px;
padding: 8px 12px;
text-align: left;
transition: background-color 150ms ease;
}
button.ap-row:hover { background: hsl(var(--secondary)); }
button.ap-row:focus-visible { outline: none; box-shadow: inset 0 0 0 2px hsl(var(--ring)); }
.ap-row-label {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
color: hsl(var(--foreground));
}
.ap-row-detail {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
color: hsl(var(--muted-foreground));
}
.ap-row-count {
flex-shrink: 0;
font-size: 13px;
font-variant-numeric: tabular-nums;
color: hsl(var(--muted-foreground));
}
.ap-row-dot {
width: 8px;
height: 8px;
flex-shrink: 0;
border-radius: 999px;
background: hsl(var(--warning));
}
/* A routine with its switch. */
.ap-routine {
display: flex;
min-height: 54px;
align-items: center;
gap: 12px;
border-radius: 14px;
padding: 8px 12px;
transition: background-color 150ms ease;
}
.ap-routine:hover { background: hsl(var(--secondary) / 0.6); }
/* ------------------------------------------------------------ suggestions */
.ap-suggest {
display: flex;
align-items: center;
gap: 8px;
border-radius: var(--ap-radius-lg);
background: hsl(var(--card));
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.55);
padding: 8px 8px 8px 14px;
font-size: 13px;
}
.ap-suggest-go {
min-width: 0;
flex: 1;
text-align: left;
line-height: 1.4;
color: hsl(var(--foreground));
}
.ap-suggest-go:hover { text-decoration: underline; text-underline-offset: 3px; }
/* -------------------------------------------------------------- record */
.ap-record {
display: flex;
flex-direction: column;
gap: 6px;
padding: 0 4px;
font-size: 13px;
line-height: 1.45;
font-variant-numeric: tabular-nums;
color: hsl(var(--muted-foreground));
}
.ap-meter {
position: relative;
height: 4px;
overflow: hidden;
border-radius: 999px;
background: hsl(var(--secondary));
}
.ap-meter-fill {
position: absolute;
inset: 0 auto 0 0;
border-radius: 999px;
background: hsl(var(--foreground) / 0.55);
transition: width 200ms ease;
}
.ap-meter[data-full="true"] .ap-meter-fill { background: hsl(var(--warning)); }
/* ----------------------------------------------------- segmented control */
.ap-seg {
display: inline-flex;
max-width: 100%;
flex-wrap: wrap;
gap: 2px;
border-radius: 999px;
background: hsl(var(--secondary) / 0.7);
padding: 3px;
}
.ap-seg[data-fill="true"] { display: flex; flex-wrap: nowrap; }
/* A long choice ("Berechtigungen umgehen") wraps inside its capsule instead of losing words. */
.ap-seg[data-fill="true"] .ap-seg-item {
min-width: 0;
height: auto;
min-height: 30px;
flex: 1 1 auto;
padding: 4px 8px;
line-height: 1.25;
text-align: center;
white-space: normal;
}
/* In dark the track sits below the rail and the chosen chip rises above it. */
.dark .ap-seg { background: hsl(var(--background) / 0.75); box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.5); }
.dark .ap-seg-item[aria-checked="true"] { background: hsl(var(--secondary)); }
.ap-seg-item {
display: inline-flex;
height: 30px;
align-items: center;
justify-content: center;
gap: 5px;
border-radius: 999px;
padding: 0 12px;
font-size: 13px;
font-weight: 500;
color: hsl(var(--muted-foreground));
transition: background-color 120ms ease, color 120ms ease;
}
.ap-seg[data-size="sm"] .ap-seg-item { height: 22px; min-width: 24px; padding: 0 5px; }
.ap-seg-item:hover:not(:disabled) { color: hsl(var(--foreground)); }
.ap-seg-item[aria-checked="true"] {
background: hsl(var(--popover));
color: hsl(var(--foreground-strong));
box-shadow: 0 1px 2px rgb(var(--scrim-rgb) / 0.12), inset 0 0 0 1px hsl(var(--border) / 0.6);
}
.ap-seg-item[aria-checked="true"][data-value="blocked"] { color: hsl(var(--destructive)); }
.ap-seg-item:disabled { opacity: 0.4; cursor: not-allowed; }
.ap-seg-item:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--ring)); }
/* --------------------------------------------------------------- tools */
.ap-search {
display: flex;
align-items: center;
gap: 8px;
border-radius: 999px;
background: hsl(var(--secondary) / 0.75);
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.45);
padding: 0 14px;
}
.ap-search:focus-within { box-shadow: inset 0 0 0 1px hsl(var(--border-strong)), 0 0 0 3px hsl(var(--ring) / 0.18); }
.ap-search input {
height: 38px;
min-width: 0;
flex: 1;
background: transparent;
font-size: 14px;
color: hsl(var(--foreground));
outline: none;
}
.ap-tools { display: flex; flex-direction: column; }
.ap-tool {
display: flex;
min-height: 54px;
align-items: center;
gap: 10px;
border-radius: 14px;
padding: 7px 8px 7px 12px;
transition: background-color 150ms ease;
}
.ap-tool:hover { background: hsl(var(--secondary) / 0.6); }
.ap-tool[data-state="blocked"] .ap-tool-name { color: hsl(var(--muted-foreground)); }
.ap-tool[data-state="off"] .ap-tool-name { color: hsl(var(--muted-foreground)); }
.ap-tool-name {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 14px;
color: hsl(var(--foreground));
}
.ap-tool-sub {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 13px;
color: hsl(var(--muted-foreground));
}
.ap-tool-sub[data-off="true"] { color: hsl(var(--warning)); }
/* The one control on a tool row: a round pill naming its state. */
.ap-pill {
display: inline-flex;
height: 30px;
align-items: center;
gap: 4px;
white-space: nowrap;
border-radius: 999px;
background: hsl(var(--secondary));
padding: 0 10px 0 12px;
font-size: 13px;
font-weight: 500;
color: hsl(var(--foreground));
transition: background-color 150ms ease, color 150ms ease, transform 100ms ease;
}
.ap-pill:hover:not(:disabled) { background: hsl(var(--secondary) / 0.7); }
.ap-pill:active:not(:disabled) { transform: scale(0.96); }
.ap-pill:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--ring)); }
.ap-pill:disabled { opacity: 0.5; }
.ap-pill[data-value="first"] { color: hsl(var(--foreground-strong)); }
.ap-pill[data-value="on"] { background: transparent; color: hsl(var(--muted-foreground)); }
.ap-pill[data-value="on"]:hover:not(:disabled) { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.ap-pill[data-value="off"] { background: transparent; color: hsl(var(--muted-foreground)); box-shadow: inset 0 0 0 1px hsl(var(--border)); }
.ap-pill[data-value="blocked"] { background: hsl(var(--destructive) / 0.1); color: hsl(var(--destructive)); }
.ap-pill-menu { width: 184px; }
.ap-menu-item[aria-checked="true"] { color: hsl(var(--foreground-strong)); font-weight: 500; }
/* A quiet picker at the end of a card line: the value and a chevron, no field. */
.ap-root .ap-pick,
.ap-pick {
width: auto;
max-width: 100%;
min-height: 0;
gap: 4px;
border-radius: 999px;
background: transparent;
padding: 5px 8px 5px 12px;
font-size: 13px;
color: hsl(var(--muted-foreground));
}
.ap-pick:hover:not(:disabled) { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
/* A small heading inside a card: "Always ask before", "Allowed sites". */
.ap-sublabel {
font-size: 13px;
font-weight: 500;
color: hsl(var(--muted-foreground));
}
.ap-card.ap-card-pad { gap: 8px; padding: 12px 14px 14px; }
/* --------------------------------------------------------------- chips */
.ap-chips { display: flex; flex-direction: column; gap: 6px; }
.ap-chip {
display: inline-flex;
max-width: 100%;
min-height: 28px;
align-items: center;
gap: 4px;
border-radius: 999px;
background: hsl(var(--secondary));
padding: 2px 4px 2px 12px;
font-size: 13px;
color: hsl(var(--foreground));
}
.ap-chip-x {
display: inline-flex;
height: 22px;
width: 22px;
align-items: center;
justify-content: center;
border-radius: 999px;
color: hsl(var(--muted-foreground));
}
.ap-chip-x:hover { background: hsl(var(--background) / 0.6); color: hsl(var(--foreground)); }
.ap-chip-add { display: flex; align-items: center; gap: 4px; }
.ap-chip-suggest {
gap: 4px;
padding: 2px 12px 2px 8px;
background: transparent;
box-shadow: inset 0 0 0 1px hsl(var(--border));
color: hsl(var(--muted-foreground));
}
.ap-chip-suggest:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); box-shadow: none; }
.ap-input {
height: 36px;
min-width: 0;
flex: 1;
border: 0;
border-radius: 999px;
background: hsl(var(--secondary) / 0.75);
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.45);
padding: 0 14px;
font-size: 14px;
color: hsl(var(--foreground));
outline: none;
transition: border-color 120ms ease, box-shadow 120ms ease;
}
.ap-input:focus { box-shadow: inset 0 0 0 1px hsl(var(--border-strong)), 0 0 0 3px hsl(var(--ring) / 0.18); }
.ap-input:disabled { opacity: 0.55; }
textarea.ap-input { height: auto; border-radius: 16px; padding: 10px 14px; line-height: 1.5; resize: vertical; }
.ap-input[type="number"] { width: 84px; flex: none; text-align: right; font-variant-numeric: tabular-nums; }
/* ------------------------------------------------------------ save bar */
.ap-savebar {
display: flex;
flex-shrink: 0;
flex-wrap: wrap;
align-items: center;
gap: 6px;
border-top: 1px solid hsl(var(--border));
background: hsl(var(--popover));
padding: 8px 10px;
box-shadow: inset 0 1px 0 rgb(var(--sheen-rgb) / 0.05);
animation: ap-rise 160ms ease-out;
}
@keyframes ap-rise {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: none; }
}
.ap-savebar[data-tone="warn"] { border-top-color: hsl(var(--warning) / 0.6); }
.ap-btn {
display: inline-flex;
height: 32px;
align-items: center;
justify-content: center;
gap: 6px;
border-radius: 999px;
padding: 0 14px;
font-size: 13px;
font-weight: 500;
transition: background-color 120ms ease, opacity 120ms ease;
}
.ap-btn:disabled { opacity: 0.5; }
.ap-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px hsl(var(--ring)); }
.ap-btn[data-variant="primary"] { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.ap-btn[data-variant="primary"]:hover:not(:disabled) { opacity: 0.9; }
.ap-btn[data-variant="ghost"] { color: hsl(var(--foreground)); }
.ap-btn[data-variant="ghost"]:hover:not(:disabled) { background: hsl(var(--secondary)); }
.ap-btn[data-variant="outline"] { border: 1px solid hsl(var(--border)); color: hsl(var(--foreground)); }
.ap-btn[data-variant="outline"]:hover:not(:disabled) { background: hsl(var(--secondary)); }
.ap-widen {
display: flex;
flex-direction: column;
gap: 4px;
width: 100%;
font-size: 13px;
color: hsl(var(--foreground));
}
.ap-widen ul { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; list-style: disc; }
.ap-widen li { color: hsl(var(--muted-foreground)); }
/* -------------------------------------------------------- review queue */
.ap-review {
display: flex;
flex-direction: column;
gap: 6px;
box-shadow: inset 0 0 0 1px hsl(var(--border) / 0.55);
border-radius: var(--ap-radius-lg);
background: hsl(var(--card));
padding: 9px 10px;
}
.ap-review-kind {
font-size: 13px;
font-weight: 600;
color: hsl(var(--muted-foreground));
}
.ap-review-text {
font-size: 13px;
line-height: 1.4;
color: hsl(var(--foreground));
}
/* What a proposal adds, in reading type: one wrapped line, marked by a soft tint. */
.ap-review-lines { display: flex; flex-direction: column; gap: 2px; }
.ap-review-line {
margin: 0;
border-radius: var(--ap-radius-sm);
padding: 3px 8px;
font-size: 13px;
line-height: 1.45;
overflow-wrap: anywhere;
color: hsl(var(--foreground-secondary, var(--muted-foreground)));
}
.ap-review-line[data-op="+"] { background: hsl(var(--diff-add-bg) / 0.14); color: hsl(var(--diff-add)); }
.ap-review-line[data-op="-"] { background: hsl(var(--diff-del-bg) / 0.14); color: hsl(var(--diff-del)); text-decoration: line-through; }
.ap-diff {
display: flex;
flex-direction: column;
overflow: hidden;
border-radius: var(--ap-radius-sm);
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 12px;
line-height: 1.5;
}
.ap-diff span {
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
padding: 0 6px;
color: hsl(var(--muted-foreground));
}
.ap-diff span[data-op="+"] { background: hsl(var(--diff-add-bg) / 0.18); color: hsl(var(--diff-add)); }
.ap-diff span[data-op="-"] { background: hsl(var(--diff-del-bg) / 0.18); color: hsl(var(--diff-del)); }
.ap-diff[data-open="true"] span { white-space: pre-wrap; }
/* ---------------------------------------------------------- file viewer */
.ap-file {
min-height: 0;
overflow-wrap: anywhere;
font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
.ap-body,
.ap-savebar { animation: none; }
.ap-tab,
.ap-row,
.ap-line,
.ap-routine,
.ap-seg-item,
.ap-icon-btn,
.ap-round-btn,
.ap-meter-fill,
.ap-tool,
.ap-pill { transition: none; }
}