.nexus-clock-progress { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid #dec4bb; border-radius: 14px; color: #74312c; background: linear-gradient(115deg, #fbf1ee, #fffaf2); }
.auto-exit-dialog { width: min(480px, calc(100vw - 32px)); box-sizing: border-box; max-height: calc(100dvh - 32px); overflow-y: auto; border: 1px solid #e0d5d0; border-radius: 24px; padding: 26px; color: #24202a; background: #fff; box-shadow: 0 30px 100px #27101155; font: inherit; }
.auto-exit-dialog::backdrop { background: #27101165; backdrop-filter: blur(5px); }
.auto-exit-heading { display: flex; align-items: center; gap: 14px; }
.auto-exit-heading > span { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 15px; background: #f4e6e2; color: #983c35; font-size: 2rem; }
.auto-exit-heading h2 { margin: 0; font-size: 1.3rem; line-height: 1.3; }
.auto-exit-dialog p { margin: 18px 0; font-size: .9rem; line-height: 1.6; color: #697386; }
.auto-exit-choice { display: grid; gap: 7px; width: 100%; min-height: 82px; margin: 12px 0; border: 1px solid #d9dfe6; border-radius: 14px; background: #fff; padding: 16px; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.auto-exit-choice[data-exit-choice="auto"] { border-color: #d1a099; background: #fbf3ef; color: #74312c; }
.auto-exit-choice small { color: #697386; font-size: .8rem; line-height: 1.5; font-weight: 400; }
.auto-exit-choice:hover { border-color: #983c35; box-shadow: 0 4px 14px #74312c12; }
.auto-exit-cancel { display: block; margin: 18px auto 0; min-height: 44px; padding: 8px 16px; border: 0; background: transparent; color: #74312c; font: inherit; font-weight: 650; cursor: pointer; }
.auto-exit-dialog button:focus-visible { outline: 3px solid #e6b24a; outline-offset: 3px; }
.nexus-clock-progress-icon { flex: 0 0 38px; width: 38px; height: 38px; }
.nexus-clock-progress-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.nexus-clock-progress-icon circle:not(:last-child) { fill: none; stroke: currentColor; stroke-width: 2; }
.clock-progress-track { opacity: .15; }
.clock-progress-orbit { stroke-dasharray: 34 92; transform-origin: 24px 24px; animation: nexus-clock-orbit 1.7s linear infinite; }
.clock-progress-hand { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transform-origin: 24px 24px; animation: nexus-clock-orbit 6s linear infinite; }
.nexus-clock-progress-copy { display: grid; gap: 3px; flex: 1; min-width: 0; text-align: left; }
.nexus-clock-progress-copy strong { font-size: .82rem; line-height: 1.3; font-weight: 750; }
.nexus-clock-progress-copy small { font-size: .7rem; line-height: 1.4; color: #8a685f; }
.clock-progress-dots { display: flex; gap: 3px; }
.clock-progress-dots i { width: 4px; height: 4px; border-radius: 50%; background: #b98940; animation: nexus-clock-dot 1.5s ease-in-out infinite; }
.clock-progress-dots i:nth-child(2) { animation-delay: .2s; }
.clock-progress-dots i:nth-child(3) { animation-delay: .4s; }
[data-portal-clock-feedback]:empty, [data-mobile-clock-feedback]:empty { display: none; }
.clock-console { display: flex; flex-wrap: wrap; container-type: inline-size; container-name: clock-panel; }
.clock-console-main { display: grid; flex: 1 1 440px; min-width: 0; grid-template-columns: minmax(0, 1fr) minmax(84px, 32%); align-items: center; gap: 16px; }
.clock-console > .clock-action-panel { flex: 1 1 320px; min-width: 0; }
.clock-console-copy { min-width: 0; }
.nexus-clock-scene { width: 100%; max-width: 300px; justify-self: end; pointer-events: none; }
.nexus-clock-scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene-plant { transform-origin: 44px 174px; animation: nexus-plant-sway 7s ease-in-out infinite; }
.scene-focus { animation: nexus-scene-float 5s ease-in-out infinite; }
.scene-typing { transform-origin: 169px 126px; animation: nexus-typing 1.5s ease-in-out infinite; }
.scene-steam { animation: nexus-steam 3s ease-in-out infinite; }
.scene-screen { animation: nexus-screen 4s ease-in-out infinite; }
.clock-decorated { position: relative; isolation: isolate; }
.clock-decorated::before { content: ""; position: absolute; right: 8px; bottom: 8px; width: 148px; height: 100px; z-index: -1; pointer-events: none; background: var(--clock-illustration) right bottom / contain no-repeat; opacity: .15; }
.clock-history-card { --clock-illustration: url('/illustrations/dashboard-tasks.svg'); }
.clock-vacation-card { --clock-illustration: url('/illustrations/dashboard-vacation.svg'); }
.clock-control-card { --clock-illustration: url('/illustrations/dashboard-hours.svg'); }
.clock-location-card { --clock-illustration: url('/illustrations/clock-location.svg'); }
.clock-calendar-card { --clock-illustration: url('/illustrations/dashboard-hours.svg'); }
.clock-timeline-card { --clock-illustration: url('/illustrations/dashboard-tasks.svg'); }
.clock-calendar-card::before, .clock-timeline-card::before { bottom: auto; top: 0; width: 120px; height: 72px; opacity: .3; }
.clock-calendar-card > h3, .clock-timeline-card > h3 { padding-right: 114px; min-height: 40px; }
.clock-map-placeholder { background-image: url('/illustrations/clock-location.svg'); background-size: auto 88%; background-repeat: no-repeat; background-position: center; }
.clock-map-placeholder > span { display: none; }
.clock-control-card::before { width: 175px; height: 116px; opacity: .22; }
.clock-history-card::before { opacity: .27; }
@keyframes nexus-clock-orbit { to { transform: rotate(360deg); } }
@keyframes nexus-clock-dot { 0%, 70%, 100% { opacity: .3; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@keyframes nexus-plant-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes nexus-scene-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes nexus-typing { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
@keyframes nexus-steam { 0%, 100% { opacity: .4; transform: translateY(2px); } 50% { opacity: .85; transform: translateY(-5px); } }
@keyframes nexus-screen { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@container clock-panel (max-width: 790px) { .clock-console > .clock-action-panel { border-left: 0; border-top: 1px solid #e7d7d2; padding: 18px 0 0; } }
@media (max-width: 600px) { .clock-console-main { grid-template-columns: minmax(0, 1fr) 84px; gap: 4px; } .clock-console-copy h3 { font-size: 1.8rem; gap: 6px; } .clock-console-copy p { font-size: .84rem; } .clock-console-copy .live-timer { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) { .nexus-clock-progress *, .nexus-clock-scene * { animation: none !important; } }
