.manual-report__header { max-width: 42rem; } .manual-report__primary { display: grid; gap: 1rem; max-width: 36rem; } .manual-report__quantity { padding: 1rem; border: 1px solid #584891; border-radius: 1rem; background: #151932; } .manual-report__quantity #manual-occurrences { width: 100%; min-width: 0; min-height: 3.75rem; margin: 0; padding: 0; border: 0; color: #f5f0ff; font-size: clamp(2.25rem, 8vw, 3.5rem); font-weight: 850; text-align: center; background: transparent; appearance: textfield; -moz-appearance: textfield; } .manual-report__quantity #manual-occurrences::-webkit-inner-spin-button, .manual-report__quantity #manual-occurrences::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .manual-report__stepper { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; align-items: center; gap: .5rem; } .manual-report__stepper button { width: 3.5rem; min-height: 3.5rem; border: 1px solid #6d54ac; border-radius: 50%; color: #f5f0ff; font: inherit; font-size: 2rem; background: #302553; cursor: pointer; } .manual-report__stepper button:disabled { opacity: .4; cursor: default; } .manual-report__primary .manual-direction-panel { width: 100%; margin: 0; border-radius: 1rem; background: #1a1739; } .manual-direction-panel[data-state="measuring"] { border-color: #a27cff; } .manual-direction-panel[data-state="captured"] { border-color: #68dba1; } .manual-direction-panel[data-state="unavailable"] { border-color: #d38b7a; } .manual-direction-panel__topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .manual-direction-panel__summary { margin: .35rem 0 .8rem; color: #f5f0ff; font-weight: 700; } .manual-direction-panel__open, .manual-direction-panel__close { min-height: 2.75rem; border: 1px solid #8d77d2; border-radius: .7rem; color: #e8dcff; font: inherit; font-weight: 750; background: #302553; cursor: pointer; } .manual-direction-panel__open { padding: .5rem .85rem; } .manual-direction-panel__close { min-width: 2.75rem; font-size: 1.4rem; } .manual-report #manual-submit { width: 100%; max-width: 36rem; min-height: 4.5rem; margin-top: 1rem; } .manual-report__submit:disabled { cursor: wait; opacity: .72; } .manual-submission { display: grid; justify-items: center; gap: .5rem; max-width: 36rem; margin-top: 1rem; padding: 1.3rem; border: 1px solid #4caa82; border-radius: 1rem; color: #eafff2; text-align: center; background: #10352e; } .manual-submission__icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border: 2px solid #6ce4a8; border-radius: 50%; color: #eafff2; font-size: 2rem; background: #226c51; } .manual-submission strong { font-size: 1.35rem; } .manual-submission p { margin: 0; line-height: 1.45; } .manual-submission__summary { margin-top: .35rem !important; color: #b2e8cf; font-size: .9rem; } .manual-submission--error { border-color: #d37c6a; color: #fff0e8; background: #3a1c2b; } .manual-submission--error .manual-submission__icon { border-color: #ffac8c; background: #9b493a; } .manual-report__submission:empty { display: none; } .manual-report button:focus-visible, .manual-report input:focus-visible { outline: 3px solid #c9b4ff; outline-offset: 3px; } .manual-report__supporting { max-width: 36rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid #584891; } .manual-report__supporting h3 { margin: 0; color: #d8cffd; font-size: 1rem; } .manual-report__supporting .burst-listener { width: 100%; } :root[data-theme="light"] .manual-report__quantity { border-color: #d9b4d8; background: #fff8fb; } :root[data-theme="light"] .manual-report__quantity #manual-occurrences { border: 0 !important; color: #321d42 !important; background: transparent !important; } :root[data-theme="light"] .manual-report__stepper button, :root[data-theme="light"] .manual-direction-panel__open, :root[data-theme="light"] .manual-direction-panel__close { color: #321d42; border-color: #b68bb5; background: #ead2eb; } :root[data-theme="light"] .manual-direction-panel__summary { color: #321d42; } :root[data-theme="light"] .manual-submission { border-color: #54a67b; color: #164d34; background: #e8fff2; } :root[data-theme="light"] .manual-submission__icon { color: #fff; } :root[data-theme="light"] .manual-submission__summary { color: #2b6b48; } :root[data-theme="light"] .manual-submission--error { border-color: #ca7d65; color: #743520; background: #fff0e8; } :root[data-theme="light"] .manual-report__supporting { border-color: #d9b4d8; } :root[data-theme="light"] .manual-report__supporting h3 { color: #492846; } @media (max-width: 42rem) { .home-grid { grid-template-columns: minmax(0, 1fr); } body:not(.dashboard-page) { padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px)); } .home-grid .manual-report, .dashboard-report, .dashboard-report .manual-report { overflow: visible; } .manual-report { padding: 1.25rem; } .manual-report__header { padding-right: 2.5rem; } .manual-report form { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); } .manual-report #manual-submit { position: sticky; bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); z-index: 10; box-shadow: 0 .7rem 1.6rem #070a18b3; } body:has(#manual-occurrences:focus) .manual-report #manual-submit { position: static; } .dashboard-intro { margin-bottom: 1rem; } .dashboard-intro h1 { font-size: clamp(2rem, 8vw, 2.8rem); } .dashboard-intro p:last-child { margin-top: .75rem; font-size: .95rem; line-height: 1.4; } .dashboard-section { margin-top: 1rem; } .dashboard-shell { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); } .manual-report__stepper { grid-template-columns: 3.5rem minmax(0, 1fr) 3.5rem; } } @media (max-width: 23.5rem) { .manual-report { padding: 1rem; } .manual-report__quantity { padding: .75rem; } .manual-report__stepper { grid-template-columns: 3rem minmax(0, 1fr) 3rem; gap: .25rem; } .manual-report__stepper button { width: 3rem; min-height: 3rem; } } .manual-report__heading-row { display: flex; align-items: center; gap: .7rem; } .manual-report__fire { flex: none; font-size: clamp(1.8rem, 5vw, 2.5rem); filter: drop-shadow(0 .2rem .65rem #ff703b88); } .manual-report__context { display: flex; align-items: center; gap: .35rem; margin: -.65rem 0 1.25rem; color: #bdafd8; font-size: .88rem; font-variant-numeric: tabular-nums; } .manual-report__context span { font-size: 1.1rem; } .manual-direction-panel__open { width: 100%; text-align: left; } .manual-direction-panel--open .manual-compass { width: 100%; margin: .5rem auto 1rem; } .manual-direction-panel--open .manual-compass__dial { width: min(100%, 12rem); border-color: #8b67d4; background: radial-gradient(circle, #302054 0 20%, #17132d 70%); box-shadow: 0 0 0 .35rem #6640a228, 0 0 2rem #ac6aff35; } .manual-direction-panel--open .manual-compass__pointer { border-bottom-color: #ff925f; } .manual-direction-panel--open .manual-compass__heading { font-size: 1.1rem; } .manual-report__stepper button, .manual-direction-panel__open, .manual-direction-panel__close, .manual-report__submit { transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; } .manual-report__stepper button:not(:disabled):active, .manual-direction-panel__open:active, .manual-report__submit:not(:disabled):active { transform: scale(.97); } .manual-report__submit:not(:disabled):hover { filter: brightness(1.05); } .manual-submission--success .manual-submission__icon { animation: manual-confirm .35s ease-out both; } @keyframes manual-confirm { from { transform: scale(.75); opacity: .3; } to { transform: scale(1); opacity: 1; } } :root[data-theme="dark"] .home-grid .manual-report, :root[data-theme="dark"] .dashboard-report { border-color: #7256ab; background: radial-gradient(circle at 88% 5%, #58254a55, transparent 13rem), linear-gradient(155deg, #151326, #0d1022 72%); box-shadow: 0 1rem 3rem #02041399; } :root[data-theme="dark"] .manual-report__title { color: #fff8f3; } :root[data-theme="dark"] .manual-report__intro { color: #d6cce4; } :root[data-theme="dark"] .manual-report__quantity { border-color: #514896; background: linear-gradient(145deg, #19183a, #121834); box-shadow: inset 0 0 0 1px #ffffff08; } :root[data-theme="dark"] .home-grid .manual-direction-panel, :root[data-theme="dark"] .dashboard-report .manual-direction-panel { border-color: #59499b; background: linear-gradient(145deg, #211945, #151835); } :root[data-theme="dark"] .manual-report__supporting { border-color: #493d7d; background: linear-gradient(145deg, #15142f, #10162d); } :root[data-theme="dark"] .manual-report__stepper button { box-shadow: 0 .25rem .7rem #07041655; } :root[data-theme="dark"] .manual-report__submit { background: linear-gradient(110deg, #ffc276, #ff7654); box-shadow: 0 .55rem 1.35rem #e2633a4d; } :root[data-theme="dark"] .manual-direction-panel[data-state="measuring"] { border-color: #a27cff; } :root[data-theme="dark"] .manual-direction-panel[data-state="captured"] { border-color: #68dba1; } :root[data-theme="dark"] .manual-direction-panel[data-state="unavailable"] { border-color: #d38b7a; } :root[data-theme="light"] .manual-report__context { color: #70466d; } :root[data-theme="light"] .manual-direction-panel--open .manual-compass__dial { background: radial-gradient(circle, #f8ebf8 0 25%, #e8d7e9 75%); } @media (prefers-reduced-motion: reduce) { .manual-report__stepper button, .manual-direction-panel__open, .manual-direction-panel__close, .manual-report__submit { transition: none; } .manual-submission--success .manual-submission__icon { animation: none; } }