/* Conhya classic/light and charcoal/dark themes. Personal-page themes are independent. */
:root { color-scheme: light; }
.footer-theme { display:flex;align-items:center; }
.footer-theme button { border:1px solid #678db6;background:#eaf3fd;color:#214a78;font:bold 11px Tahoma,Arial,sans-serif;padding:5px 11px;white-space:nowrap;border-radius:2px; }
.footer-theme button:hover { background:#d5eaff; }
.desktop-icon-tray { width:158px!important;left:7px!important;align-items:stretch!important;gap:4px!important;overflow-x:hidden!important; }
.desktop-icon-tray button { width:150px!important;min-height:73px!important;max-width:100%;padding:7px 5px!important;white-space:normal!important;overflow-wrap:break-word!important;line-height:1.2!important;flex-shrink:0;font-size:12px!important;text-overflow:clip!important; }
.desktop-icon-tray button[aria-pressed="true"] { background:#dfeaff25!important;border:1px dotted #e5f1ff!important; }
.retro-menubar button[aria-pressed="true"], .conhya-toolbar button[aria-pressed="true"] { background:#d9eaf5b0;border:1px solid #719ac5; }
.retro-window-content { color:#244461; }
.retro-window-content input,.retro-window-content textarea,.retro-window-content select { color:#1a385b;background:#fff;border-color:#96b2ce; }
.calendar-nav { gap:7px; }
.calendar-nav strong { min-width:160px;flex:1; }
.calendar-mode-switch { display:flex;align-items:center;gap:2px;background:#c9dbeb;padding:2px;border:1px solid #a5b9cf; }
.calendar-mode-switch button { margin:0;padding:6px 9px;border:1px solid transparent;background:transparent;box-shadow:none;font-size:12px; }
.calendar-mode-switch button.selected { background:#2b65ac;color:#fff;border:1px solid #19508c; }
.calendar-grid { grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch;gap:1px; }
.calendar-grid[data-mode="day"] { grid-template-columns:1fr; }
.calendar-grid[data-mode="week"] .calendar-day { min-height:190px; }
.calendar-grid[data-mode="day"] .calendar-day { min-height:150px; }
.calendar-day { min-width:0;min-height:94px!important;padding:7px 5px!important;border:0!important;border-radius:0!important;box-shadow:none!important;align-items:stretch!important;text-align:left!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:4px!important;cursor:pointer!important;white-space:normal!important;background:#fff!important;color:#21426e!important; }
.calendar-day.muted { background:#e9eff6!important;color:#8ca0b7!important; }
.calendar-day.today { outline:2px solid #3b80ce!important;outline-offset:-2px; }
.calendar-day.selected { box-shadow:inset 0 0 0 3px #d8ad45!important; }
.calendar-day:hover { background:#e5f1ff!important; }
.calendar-day b { align-self:flex-start;font-size:14px; }
.calendar-day em { max-width:100%;font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.25;color:#523a18;background:#f6d28b;border-left:3px solid #d08d2c;padding:3px 5px; }
.calendar-day em.calendar-chip-pending { background:#e3e2fc;color:#4b438b;border-left-color:#6558c8; }
.calendar-day small { color:#4a6890; }
.calendar-agenda,.calendar-invitation-box { margin:13px 0;padding:10px;border:1px solid #b0c5db;background:#f1f6fb; }
.calendar-agenda h3,.calendar-invitation-box h3 { font-size:14px;color:#194f8a;margin:0 0 7px; }
.calendar-invitation-box .inline { align-items:center;justify-content:space-between; }
.calendar-item { gap:8px;align-items:flex-start;flex-wrap:wrap; }
.calendar-summary { flex:1 1 190px;min-width:0;display:flex;flex-direction:column;gap:4px; }
.calendar-summary strong { font-size:12px;color:#214b7d; }
.calendar-summary small { font-size:10px;color:#617c97; }
.calendar-summary p { white-space:pre-wrap;margin:4px 0;overflow-wrap:anywhere;font-size:11px; }
.calendar-controls { display:flex;gap:4px;flex-wrap:wrap; }
.calendar-controls button { padding:3px 7px!important;font-size:11px!important;margin:0; }
#calendar-invites-list .calendar-item { margin:5px 0; }
body[data-theme="dark"] { color-scheme:dark!important;background:#151a24!important;color:#e3eaf5!important; }
body[data-theme="dark"] .top { background:linear-gradient(#4a6080,#1c344e 56%,#152335);border-color:#415775; }
body[data-theme="dark"] .retro-menubar { background:linear-gradient(#343d4f,#242f40);border-color:#394a64; }
body[data-theme="dark"] .retro-menubar button { color:#d0e3ff; }
body[data-theme="dark"] .retro-menubar button:hover,body[data-theme="dark"] .retro-menubar button[aria-pressed="true"] { background:#314d73;color:#fff; }
body[data-theme="dark"] .conhya-toolbar { background:linear-gradient(#4c6481,#2e4562 54%,#253851);border-color:#3e536d; }
body[data-theme="dark"] .conhya-toolbar>button { color:#e7f0ff; }
body[data-theme="dark"] .conhya-toolbar>button:hover,body[data-theme="dark"] .conhya-toolbar>button[aria-pressed="true"] { background:#516a8d;border-color:#8caac8; }
body[data-theme="dark"] .keyword-search label { color:#e5edfa; }
body[data-theme="dark"] .app-shell { background:linear-gradient(145deg,#353e4d,#202a38 55%,#171f2b);border-color:#62748b; }
body[data-theme="dark"] .desktop-icon-tray button { color:#eef5ff; }
body[data-theme="dark"] .retro-window { background:#273448;border-color:#71839a;box-shadow:4px 6px #0008; }
body[data-theme="dark"] .retro-window .retro-titlebar { background:linear-gradient(#3a5a81,#172f54); }
body[data-theme="dark"] .retro-window.active .retro-titlebar { background:linear-gradient(#426da0,#214677); }
body[data-theme="dark"] .retro-window-content { background:#263143;color:#e0eaff; }
body[data-theme="dark"] .retro-window-foot { background:#202c3e;color:#b7cae0; }
body[data-theme="dark"] .welcome-workspace,body[data-theme="dark"] .welcome-workspace .content-head { background:#26364c;color:#e6f1ff; }
body[data-theme="dark"] .welcome-workspace .tile,body[data-theme="dark"] .retro-window-content .tile { background:#29374b;color:#e3edfc;border-color:#516581;box-shadow:1px 2px #0e1726; }
body[data-theme="dark"] .retro-card-title { background:linear-gradient(#435979,#344761);color:#f3f7ff; }
body[data-theme="dark"] .retro-window-content h2,body[data-theme="dark"] .retro-window-content h3 { color:#d3e6ff; }
body[data-theme="dark"] .retro-window-content .muted,body[data-theme="dark"] .retro-window-content .hint { color:#acc3dd; }
body[data-theme="dark"] .retro-window-content label { color:#d0e1fa; }
body[data-theme="dark"] .retro-window-content input,body[data-theme="dark"] .retro-window-content textarea,body[data-theme="dark"] .retro-window-content select { background:#19273a;color:#eef4ff;border-color:#637c9a; }
body[data-theme="dark"] .retro-window-content button:not(.calendar-day) { background:#35547b;color:#f5f8ff;border-color:#7994b2; }
body[data-theme="dark"] .retro-window-content button:hover { background:#43678e; }
body[data-theme="dark"] .retro-window-content .mail-line { background:#263951;color:#e9f2ff;border-color:#435c7b; }
body[data-theme="dark"] .retro-window-content .mail-line.unread { background:#3c587c; }
body[data-theme="dark"] .retro-window-content .mail-detail,body[data-theme="dark"] .retro-window-content .buddy-group,body[data-theme="dark"] .retro-window-content .chat-transcript { background:#172335;color:#eef6ff;border-color:#526b8b; }
body[data-theme="dark"] .retro-window-content .chat-line { border-color:#415671; }
body[data-theme="dark"] .calendar-mode-switch { background:#1c2d42;border-color:#455e7b; }
body[data-theme="dark"] .retro-window-content .calendar-mode-switch .selected { background:#527bb1;color:#fff; }
body[data-theme="dark"] .calendar-grid { background:#354a63;border-color:#527192; }
body[data-theme="dark"] .calendar-day { background:#223047!important;color:#e5f0ff!important; }
body[data-theme="dark"] .calendar-day.muted { background:#1a2535!important;color:#7794ae!important; }
body[data-theme="dark"] .calendar-day:hover { background:#344f72!important; }
body[data-theme="dark"] .calendar-day b { color:#e4f0ff; }
body[data-theme="dark"] .calendar-weekday { background:#344d6c;color:#eef6ff; }
body[data-theme="dark"] .calendar-agenda,body[data-theme="dark"] .calendar-invitation-box,body[data-theme="dark"] .calendar-item { background:#20334b;color:#e9f1ff;border-color:#546b84; }
body[data-theme="dark"] .calendar-summary strong { color:#f4f7ff; }
body[data-theme="dark"] .calendar-summary small { color:#a5bfdb; }
body[data-theme="dark"] .calendar-nav strong { color:#e1ecfc; }
body[data-theme="dark"] .neighbor-directory-card,body[data-theme="dark"] .neighbor-guestbook,body[data-theme="dark"] .guestbook-entry { background:#263c57;color:#e3edfa;border-color:#58718e; }
body[data-theme="dark"] .neighbor-directory-card strong { color:#f7e2a2; }
body[data-theme="dark"] .footer { background:linear-gradient(#303e53,#1e2c40);border-color:#405771;color:#e5edfa; }
body[data-theme="dark"] .footer-theme button { background:#40618a;color:#fff;border-color:#819bc0; }
body[data-theme="dark"] .footer-sound label { color:#e7effd; }
body[data-theme="dark"] .retro-window-content a { color:#90cdff; }
body[data-theme="dark"] .weather-form,body[data-theme="dark"] .weather-detail { color:#d4e3f4; }
@media(max-width:690px){.desktop-icon-tray{display:none!important}.calendar-day{min-height:57px!important;padding:4px!important}.calendar-day em{font-size:9px}.calendar-mode-switch{width:100%;justify-content:flex-end}.footer-theme button{padding:4px}.footer-right{display:none}}
