/* Shared, deliberately small product layer. System fonts; no font downloads. */
:root { --imitri-blue: #88aaff; --imitri-font: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
body, button, input, textarea, select { font-family: var(--imitri-font); }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--imitri-blue); outline-offset: 3px; }
.message-body { font-size: 16px; line-height: 1.7; }
.message-meta, .message-actions, .account-card small, .local-note, .composer-disclaimer { font-size: 12px; }
.composer-model-option strong, .history-open, .sidebar-action { font-size: 14px; }
.composer-model-option small { font-size: 12px; }
.service-dialog { width: min(660px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); margin: auto; padding: 24px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--text); background: var(--panel-solid); font-size: 15px; line-height: 1.55; }
.service-dialog::backdrop { background: #0009; }
.service-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.service-dialog h2 { font-size: 22px; margin: 0; }
.service-dialog h3 { font-size: 17px; margin: 0 0 8px; }
.service-dialog section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-dialog p { color: var(--text-soft); margin: 8px 0 16px; }
.service-dialog button { cursor: pointer; border: 1px solid var(--line-strong); background: var(--raised); color: var(--text); border-radius: 7px; padding: 8px 12px; font-size: 14px; }
.service-dialog button:hover { background: var(--hover); }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.service-session { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
.service-dialog [role="status"] { font-size: 13px; overflow-wrap: anywhere; }
#model-favorite { border: 0; background: transparent; color: var(--text-soft); font-size: 12px; padding: 6px; cursor: pointer; }
#model-shortcuts { padding: 0 12px; max-height: 160px; overflow: auto; }
#model-shortcuts p { font-size: 12px; color: var(--text-soft); margin: 8px 0 4px; }
#model-shortcuts button { font-size: 12px; color: var(--text); background: var(--hover); border: 1px solid var(--line); border-radius: 6px; margin: 0 4px 4px 0; padding: 6px 8px; cursor: pointer; }
#model-shortcuts button:disabled { opacity: .5; cursor: not-allowed; }
.service-metrics { padding: 16px; font-size: 13px; line-height: 1.6; color: var(--text-soft); }
.service-auto { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
