74282f50d0
SOG prefills from GPS speed when available; STW is entered manually. Motor journal entries now read “Motor Start” / “Motor Stop”. Co-authored-by: Cursor <cursoragent@cursor.com>
5166 lines
91 KiB
CSS
5166 lines
91 KiB
CSS
/* Kapteins Daagbok App styling */
|
|
|
|
body {
|
|
background: var(--app-body-bg);
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
font-family: system-ui, -apple-system, sans-serif;
|
|
color: var(--app-text);
|
|
}
|
|
|
|
code {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
color: var(--app-input-text);
|
|
background: var(--app-icon-btn-bg);
|
|
border: 1px solid var(--app-icon-btn-border);
|
|
font-size: 15px;
|
|
line-height: 135%;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
display: inline-flex;
|
|
}
|
|
|
|
#root:has(.auth-screen) {
|
|
width: 100%;
|
|
max-width: none;
|
|
border-inline: none;
|
|
text-align: initial;
|
|
}
|
|
|
|
.auth-screen {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 100svh;
|
|
padding: 24px 16px calc(48px + env(safe-area-inset-bottom, 0px));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Glassmorphism Auth Card */
|
|
.auth-card {
|
|
background: var(--app-surface);
|
|
backdrop-filter: var(--app-backdrop);
|
|
-webkit-backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 40px;
|
|
width: 450px;
|
|
max-width: 90%;
|
|
box-shadow: var(--app-shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.4s ease-out;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(15px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
.auth-brand {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-logo-img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.35));
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.auth-brand-title-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.auth-brand-title-row h1,
|
|
.auth-brand h1 {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: var(--app-text-heading);
|
|
background: var(--app-accent-gradient);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
margin: 0;
|
|
line-height: 1.25;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.auth-brand .tagline {
|
|
font-size: 14.5px;
|
|
color: var(--app-text-muted);
|
|
margin: 0;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.auth-form {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.input-group {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.input-text {
|
|
width: 100%;
|
|
background: var(--app-input-bg);
|
|
border: 1px solid var(--app-input-border);
|
|
border-radius: var(--app-radius-input);
|
|
padding: 14px 16px;
|
|
font-size: 16px;
|
|
color: var(--app-input-text);
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-text:focus {
|
|
border-color: var(--app-accent);
|
|
box-shadow: 0 0 0 3px var(--app-accent-focus-ring);
|
|
background: var(--app-input-bg-focus);
|
|
}
|
|
|
|
select.input-text {
|
|
color-scheme: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.time-input-24h {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.time-input-24h__select {
|
|
flex: 1 1 0;
|
|
min-width: 0;
|
|
padding-left: 12px;
|
|
padding-right: 12px;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.time-input-24h__sep {
|
|
flex-shrink: 0;
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
color: var(--app-text-muted);
|
|
user-select: none;
|
|
}
|
|
|
|
.course-dial-section {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.course-dial-tabs {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.course-dial-tab {
|
|
flex: 1;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--app-border-subtle);
|
|
background: var(--app-btn-secondary-bg);
|
|
color: var(--app-text-muted);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
|
}
|
|
|
|
.course-dial-tab.is-active {
|
|
background: var(--app-accent-bg);
|
|
border-color: var(--app-accent-border);
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.course-dial-tab:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.course-dial {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
max-width: 260px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.course-dial--sm {
|
|
max-width: 220px;
|
|
}
|
|
|
|
.course-dial--disabled {
|
|
opacity: 0.65;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.course-dial__step-toolbar {
|
|
display: flex;
|
|
gap: 6px;
|
|
width: 100%;
|
|
}
|
|
|
|
.course-dial__step-btn {
|
|
flex: 1;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
border: 1px solid var(--app-border-subtle);
|
|
background: var(--app-surface-alt);
|
|
color: var(--app-text-muted);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.course-dial__step-btn.is-active {
|
|
border-color: var(--app-accent-border);
|
|
background: var(--app-accent-bg);
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.course-dial__ring-wrap {
|
|
width: 100%;
|
|
touch-action: none;
|
|
}
|
|
|
|
.course-dial__svg {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.course-dial__track {
|
|
fill: none;
|
|
stroke: var(--app-border);
|
|
stroke-width: 2;
|
|
}
|
|
|
|
.course-dial__tick {
|
|
stroke: var(--app-text-subtle);
|
|
stroke-width: 1.5;
|
|
}
|
|
|
|
.course-dial__label {
|
|
fill: var(--app-text-muted);
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.course-dial__needle line {
|
|
stroke: var(--app-accent-light);
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
}
|
|
|
|
.course-dial__needle circle {
|
|
fill: var(--app-accent-light);
|
|
}
|
|
|
|
.course-dial__center {
|
|
fill: var(--app-text);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.course-dial__hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: var(--app-text-muted);
|
|
text-align: center;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.course-dial__error {
|
|
margin: 0;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
color: #f87171;
|
|
text-align: center;
|
|
}
|
|
|
|
.course-dial__input {
|
|
width: 100%;
|
|
text-align: center;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.course-dial__mode-toggle {
|
|
border: none;
|
|
background: none;
|
|
color: var(--app-accent-light);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
text-decoration: underline;
|
|
padding: 4px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.course-dial__needle {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.course-dial {
|
|
max-width: min(72vw, 220px);
|
|
}
|
|
|
|
.course-dial--sm {
|
|
max-width: min(68vw, 200px);
|
|
}
|
|
|
|
.course-dial__label {
|
|
font-size: 8px;
|
|
}
|
|
}
|
|
|
|
.themed-select {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.themed-select-trigger {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
text-align: left;
|
|
width: 100%;
|
|
}
|
|
|
|
.themed-select-chevron {
|
|
flex-shrink: 0;
|
|
opacity: 0.75;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.themed-select.is-open .themed-select-chevron {
|
|
transform: rotate(180deg);
|
|
}
|
|
|
|
.themed-select-menu {
|
|
position: absolute;
|
|
z-index: 120;
|
|
top: calc(100% + 4px);
|
|
left: 0;
|
|
right: 0;
|
|
margin: 0;
|
|
padding: 4px;
|
|
list-style: none;
|
|
border: 1px solid var(--app-input-border);
|
|
border-radius: var(--app-radius-input);
|
|
box-shadow: var(--app-card-shadow);
|
|
max-height: 240px;
|
|
overflow-y: auto;
|
|
isolation: isolate;
|
|
}
|
|
|
|
html.scheme-light .themed-select-menu {
|
|
background: #ffffff;
|
|
color: #0f172a;
|
|
}
|
|
|
|
html.scheme-dark .themed-select-menu {
|
|
background: #1c1c1e;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.themed-select-option {
|
|
padding: 10px 12px;
|
|
border-radius: calc(var(--app-radius-input) - 2px);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
html.scheme-light .themed-select-option {
|
|
color: #0f172a;
|
|
-webkit-text-fill-color: #0f172a;
|
|
}
|
|
|
|
html.scheme-dark .themed-select-option {
|
|
color: #f8fafc;
|
|
-webkit-text-fill-color: #f8fafc;
|
|
}
|
|
|
|
.themed-select-option:hover {
|
|
background: var(--app-accent-bg);
|
|
}
|
|
|
|
html.scheme-light .themed-select-option:hover {
|
|
color: var(--app-accent);
|
|
-webkit-text-fill-color: var(--app-accent);
|
|
}
|
|
|
|
html.scheme-dark .themed-select-option:hover {
|
|
color: var(--app-accent-light);
|
|
-webkit-text-fill-color: var(--app-accent-light);
|
|
}
|
|
|
|
.themed-select-option.is-selected {
|
|
background: var(--app-accent-bg);
|
|
font-weight: 600;
|
|
}
|
|
|
|
html.scheme-light .themed-select-option.is-selected {
|
|
color: var(--app-accent);
|
|
-webkit-text-fill-color: var(--app-accent);
|
|
}
|
|
|
|
html.scheme-dark .themed-select-option.is-selected {
|
|
color: var(--app-accent-light);
|
|
-webkit-text-fill-color: var(--app-accent-light);
|
|
}
|
|
|
|
.input-textarea {
|
|
width: 100%;
|
|
background: var(--app-input-bg);
|
|
border: 1px solid var(--app-input-border);
|
|
border-radius: var(--app-radius-input);
|
|
padding: 14px;
|
|
font-size: 15px;
|
|
color: var(--app-input-text);
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
font-family: inherit;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.input-textarea:focus {
|
|
border-color: var(--app-accent);
|
|
box-shadow: 0 0 0 3px var(--app-accent-focus-ring);
|
|
background: var(--app-input-bg-focus);
|
|
}
|
|
|
|
.auth-submit-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Premium buttons */
|
|
.btn {
|
|
width: 100%;
|
|
padding: 14px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
border: none;
|
|
border-radius: var(--app-radius-btn);
|
|
cursor: pointer;
|
|
transition: all 0.25s ease;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn.primary {
|
|
background-color: var(--app-accent);
|
|
background-image: var(--app-accent-gradient);
|
|
color: var(--app-btn-primary-text);
|
|
box-shadow: 0 4px 15px var(--app-accent-focus-ring);
|
|
}
|
|
|
|
.btn.primary:hover:not(:disabled) {
|
|
transform: translateY(-1.5px);
|
|
filter: brightness(1.05);
|
|
}
|
|
|
|
.btn.primary:active:not(:disabled) {
|
|
transform: translateY(0.5px);
|
|
}
|
|
|
|
.btn.secondary {
|
|
background: var(--app-btn-secondary-bg);
|
|
color: var(--app-btn-secondary-text);
|
|
border: 1px solid var(--app-btn-secondary-border);
|
|
}
|
|
|
|
.btn.secondary:hover:not(:disabled) {
|
|
background: var(--app-btn-secondary-hover-bg);
|
|
}
|
|
|
|
.btn:disabled {
|
|
opacity: 0.4;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
/* Recovery screen formatting */
|
|
.auth-header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.auth-icon {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.auth-icon.warn {
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.auth-icon.accent {
|
|
color: #d97706;
|
|
}
|
|
|
|
.auth-card h2 {
|
|
font-size: 24px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading);
|
|
margin: 0;
|
|
}
|
|
|
|
.recovery-warning {
|
|
font-size: 13.5px;
|
|
color: var(--app-warning-text);
|
|
background: var(--app-warning-bg);
|
|
border: 1px solid var(--app-warning-border);
|
|
border-radius: 8px;
|
|
padding: 12px 14px;
|
|
line-height: 145%;
|
|
margin-bottom: 25px;
|
|
text-align: left;
|
|
}
|
|
|
|
.registration-disclaimer {
|
|
max-width: 560px;
|
|
max-height: min(90vh, 820px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.registration-disclaimer--modal {
|
|
width: min(560px, calc(100vw - 32px));
|
|
margin: 0;
|
|
}
|
|
|
|
.registration-disclaimer .auth-header {
|
|
position: relative;
|
|
}
|
|
|
|
.registration-disclaimer__close {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.registration-disclaimer__close:hover {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.disclaimer-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10050;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
background: rgba(2, 6, 23, 0.72);
|
|
}
|
|
|
|
.disclaimer-modal-panel {
|
|
width: 100%;
|
|
max-width: 560px;
|
|
max-height: min(90vh, 820px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.feedback-modal {
|
|
position: relative;
|
|
}
|
|
|
|
.feedback-modal__close {
|
|
top: 12px;
|
|
right: 12px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.feedback-status {
|
|
text-align: center;
|
|
padding: 8px 0 4px;
|
|
}
|
|
|
|
.feedback-status p {
|
|
margin: 12px 0 0;
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.feedback-status--success {
|
|
color: #4ade80;
|
|
padding: 24px 8px 32px;
|
|
}
|
|
|
|
.feedback-status--success p {
|
|
color: var(--app-text-heading, #f1f5f9);
|
|
}
|
|
|
|
.feedback-status--error {
|
|
color: var(--app-error-text, #fda4af);
|
|
background: var(--app-error-bg, rgba(244, 63, 94, 0.08));
|
|
border: 1px solid var(--app-error-border, #f43f5e);
|
|
border-radius: 8px;
|
|
margin-bottom: 16px;
|
|
padding: 10px 12px;
|
|
text-align: left;
|
|
}
|
|
|
|
.feedback-status--error p {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.feedback-modal .auth-actions {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.registration-disclaimer.feedback-modal {
|
|
align-items: stretch;
|
|
width: 100%;
|
|
}
|
|
|
|
.registration-disclaimer.feedback-modal .auth-header,
|
|
.registration-disclaimer.feedback-modal > p,
|
|
.registration-disclaimer.feedback-modal .nmea-import-summary,
|
|
.registration-disclaimer.feedback-modal .nmea-import-warning,
|
|
.registration-disclaimer.feedback-modal .nmea-import-mode,
|
|
.registration-disclaimer.feedback-modal .feedback-form__field,
|
|
.registration-disclaimer.feedback-modal .nmea-import-checkbox,
|
|
.registration-disclaimer.feedback-modal .nmea-preview-actions,
|
|
.registration-disclaimer.feedback-modal .nmea-preview-list,
|
|
.registration-disclaimer.feedback-modal .auth-actions {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nmea-import-warning {
|
|
width: 100%;
|
|
margin: 0 0 16px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
color: var(--app-warning-text, #fcd34d);
|
|
background: var(--app-warning-bg, rgba(251, 191, 36, 0.1));
|
|
border: 1px solid var(--app-warning-border, rgba(251, 191, 36, 0.35));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.nmea-import-summary {
|
|
margin: 0 0 16px;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
background: var(--app-surface-inset);
|
|
border: 1px solid var(--app-border-muted);
|
|
text-align: left;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.nmea-import-summary p {
|
|
margin: 0;
|
|
}
|
|
|
|
.nmea-import-summary p + p {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.nmea-import-mode {
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: 8px;
|
|
padding: 12px 16px;
|
|
margin: 0 0 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
text-align: left;
|
|
}
|
|
|
|
.nmea-import-mode legend {
|
|
padding: 0 4px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading, #f1f5f9);
|
|
}
|
|
|
|
.nmea-import-mode label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.nmea-import-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.nmea-preview-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.nmea-preview-actions .btn {
|
|
flex: 1;
|
|
margin: 0;
|
|
}
|
|
|
|
.nmea-preview-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
max-height: min(45vh, 360px);
|
|
overflow-y: auto;
|
|
margin-bottom: 16px;
|
|
padding: 2px;
|
|
}
|
|
|
|
.nmea-preview-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: 8px;
|
|
background: var(--app-surface-inset);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: border-color 0.15s ease;
|
|
}
|
|
|
|
.nmea-preview-row:hover {
|
|
border-color: var(--app-accent-border, rgba(212, 175, 55, 0.35));
|
|
}
|
|
|
|
.nmea-preview-row__check {
|
|
flex-shrink: 0;
|
|
margin: 2px 0 0;
|
|
width: 18px;
|
|
height: 18px;
|
|
accent-color: var(--app-accent-light, #d4af37);
|
|
}
|
|
|
|
.nmea-preview-row__body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.nmea-preview-row__meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.nmea-preview-time {
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
color: var(--app-accent-light, #d4af37);
|
|
min-width: 3.25rem;
|
|
}
|
|
|
|
.nmea-preview-source {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.15);
|
|
color: var(--app-text-muted, #94a3b8);
|
|
}
|
|
|
|
.nmea-preview-remarks {
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
color: var(--app-text, #e2e8f0);
|
|
word-break: break-word;
|
|
}
|
|
|
|
.feedback-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.feedback-form__honeypot {
|
|
position: absolute;
|
|
left: -9999px;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.feedback-form__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
text-align: left;
|
|
}
|
|
|
|
.feedback-form__field > span {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading, #f1f5f9);
|
|
}
|
|
|
|
.feedback-form__field select,
|
|
.feedback-form__field input,
|
|
.feedback-form__field textarea {
|
|
width: 100%;
|
|
padding: 10px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--app-input-border, rgba(148, 163, 184, 0.25));
|
|
background: var(--app-input-bg, rgba(15, 23, 42, 0.6));
|
|
color: var(--app-text, #e2e8f0);
|
|
font: inherit;
|
|
resize: vertical;
|
|
}
|
|
|
|
.feedback-form__field select:focus,
|
|
.feedback-form__field input:focus,
|
|
.feedback-form__field textarea:focus {
|
|
outline: none;
|
|
border-color: var(--app-accent, #38bdf8);
|
|
}
|
|
|
|
.feedback-form__actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.feedback-form__actions .btn {
|
|
width: auto;
|
|
min-width: 100px;
|
|
margin: 0;
|
|
}
|
|
|
|
.registration-disclaimer__intro {
|
|
margin: 0 0 16px;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
color: var(--app-text-muted, #94a3b8);
|
|
text-align: left;
|
|
}
|
|
|
|
.registration-disclaimer__sections {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
margin-bottom: 16px;
|
|
padding-right: 4px;
|
|
text-align: left;
|
|
}
|
|
|
|
.registration-disclaimer__section h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading, #f1f5f9);
|
|
}
|
|
|
|
.registration-disclaimer__section p {
|
|
margin: 0;
|
|
font-size: 13.5px;
|
|
line-height: 1.55;
|
|
color: var(--app-text-muted, #94a3b8);
|
|
}
|
|
|
|
.registration-disclaimer__copyright {
|
|
margin: 0 0 20px;
|
|
font-size: 12px;
|
|
color: var(--app-text-muted, #64748b);
|
|
text-align: center;
|
|
}
|
|
|
|
.phrase-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 10px;
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.phrase-word {
|
|
background: var(--app-input-bg);
|
|
border: 1px solid var(--app-border-subtle);
|
|
border-radius: 6px;
|
|
padding: 12px 8px;
|
|
font-size: 14.5px;
|
|
color: var(--app-text);
|
|
text-align: center;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.word-num {
|
|
color: var(--app-accent);
|
|
font-size: 11px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.auth-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.auth-error {
|
|
width: 100%;
|
|
background: var(--app-error-bg);
|
|
color: var(--app-error-text);
|
|
border-left: 3px solid var(--app-error-border);
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
border-radius: 4px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.auth-footer {
|
|
margin-top: 30px;
|
|
width: 100%;
|
|
border-top: 1px solid var(--app-divider);
|
|
padding-top: 20px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.btn-icon-text {
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted);
|
|
font-size: 13.5px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
padding: 6px 10px;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.btn-icon-text:hover {
|
|
color: var(--app-accent);
|
|
background: var(--app-accent-bg);
|
|
}
|
|
|
|
.btn-icon-text.link-sec {
|
|
color: var(--app-text-subtle);
|
|
}
|
|
|
|
.btn-icon-text.link-sec:hover {
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
/* Dashboard Mock Layout (for verified state) */
|
|
.dashboard-mock {
|
|
color: #f8fafc;
|
|
background: rgba(11, 12, 16, 0.75);
|
|
backdrop-filter: blur(20px);
|
|
border: 1px solid rgba(212, 175, 55, 0.25);
|
|
border-radius: 20px;
|
|
padding: 40px;
|
|
text-align: center;
|
|
max-width: 600px;
|
|
width: 90%;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.4s ease-out;
|
|
}
|
|
|
|
.dashboard-mock h2 {
|
|
font-size: 28px;
|
|
color: #fbbf24;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.dashboard-mock p {
|
|
color: #94a3b8;
|
|
line-height: 150%;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
/* Dashboard Layout and Styles */
|
|
.dashboard-container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
color: var(--app-text);
|
|
}
|
|
|
|
.dashboard-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 32px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--app-header-border);
|
|
}
|
|
|
|
.header-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.header-logo {
|
|
color: var(--app-accent-light);
|
|
filter: drop-shadow(0 0 8px var(--app-accent-focus-ring));
|
|
}
|
|
|
|
.header-brand h1 {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
background: var(--app-accent-gradient);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.header-brand .subtitle {
|
|
font-size: 12px;
|
|
color: var(--app-text-muted);
|
|
margin: 2px 0 0 0;
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.conn-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.conn-status.online {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #4ade80;
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
}
|
|
|
|
.conn-status.offline {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
color: #f87171;
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
}
|
|
|
|
.skipper-badge.btn-icon {
|
|
width: auto;
|
|
border-radius: 18px;
|
|
padding: 0 12px;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
user-select: none;
|
|
}
|
|
|
|
.skipper-badge__name {
|
|
max-width: 140px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-icon {
|
|
background: var(--app-icon-btn-bg);
|
|
border: 1px solid var(--app-icon-btn-border);
|
|
color: var(--app-text-muted);
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.btn-icon:hover {
|
|
background: var(--app-accent-bg);
|
|
border-color: var(--app-accent);
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.btn-icon.logout:hover {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border-color: #ef4444;
|
|
color: #f87171;
|
|
}
|
|
|
|
.dashboard-main {
|
|
display: grid;
|
|
grid-template-columns: 350px 1fr;
|
|
gap: 32px;
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.dashboard-main {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 10px;
|
|
}
|
|
}
|
|
|
|
.dashboard-account-section {
|
|
width: 100%;
|
|
max-width: 720px;
|
|
margin: 40px auto 48px;
|
|
padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.profile-main {
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
padding: 0 24px 48px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
text-align: left;
|
|
}
|
|
|
|
.dashboard-header--profile .profile-header-brand {
|
|
align-items: flex-start;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 16px;
|
|
}
|
|
|
|
.profile-back-btn {
|
|
margin-top: 4px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-dl {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.profile-dl-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
|
|
gap: 8px 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.profile-dl-row dt {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
text-align: left;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.profile-dl-row dd {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
color: var(--app-text);
|
|
word-break: break-word;
|
|
text-align: left;
|
|
justify-self: start;
|
|
}
|
|
|
|
.profile-user-id {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.profile-user-id code {
|
|
font-size: 12px;
|
|
border-radius: 6px;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.profile-copy-btn {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.profile-section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.profile-section-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-section-desc,
|
|
.profile-pin-status,
|
|
.profile-empty {
|
|
margin: 0 0 12px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
|
|
.profile-pin-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.profile-field-label,
|
|
.profile-pin-form .input-group label {
|
|
display: block;
|
|
text-align: left;
|
|
font-size: 13.5px;
|
|
color: var(--app-text-muted);
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-main .form-actions:not(.account-danger-zone__actions) {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.profile-passkey-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.profile-passkey-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
background: var(--app-icon-btn-bg);
|
|
border: 1px solid var(--app-icon-btn-border);
|
|
}
|
|
|
|
.profile-passkey-main {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.profile-passkey-label {
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--app-text);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.profile-passkey-rename {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.profile-passkey-rename .input-text {
|
|
flex: 1 1 160px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.profile-add-passkey {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.profile-add-passkey .input-group label {
|
|
display: block;
|
|
text-align: left;
|
|
font-size: 13.5px;
|
|
color: var(--app-text-muted);
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.profile-security-list {
|
|
list-style: none;
|
|
margin: 0 0 12px;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.profile-security-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.profile-security-item--ok {
|
|
color: #4ade80;
|
|
}
|
|
|
|
.profile-security-item--warn {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.profile-recovery-hint {
|
|
margin-bottom: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.profile-recovery-actions {
|
|
margin-top: 16px;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.profile-recovery-actions .btn {
|
|
width: auto;
|
|
}
|
|
|
|
.profile-recovery-card .phrase-grid {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.profile-recovery-warning {
|
|
margin: 0 0 20px;
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
color: #fbbf24;
|
|
text-align: left;
|
|
}
|
|
|
|
.profile-device-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.account-danger-zone__hint {
|
|
margin: 0 0 16px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.profile-passkey-id {
|
|
display: block;
|
|
font-family: ui-monospace, monospace;
|
|
font-size: 13px;
|
|
color: var(--app-input-text);
|
|
}
|
|
|
|
.profile-passkey-transports {
|
|
display: block;
|
|
font-size: 11px;
|
|
color: var(--app-text-muted);
|
|
margin-top: 2px;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.profile-dl-row {
|
|
grid-template-columns: 1fr;
|
|
gap: 4px;
|
|
}
|
|
|
|
.dashboard-header--profile .profile-header-brand {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.profile-back-btn {
|
|
margin-top: 0;
|
|
align-self: flex-start;
|
|
}
|
|
}
|
|
|
|
.account-danger-zone {
|
|
border-top: 1px solid rgba(239, 68, 68, 0.2);
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.account-danger-zone__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.account-danger-zone__icon {
|
|
color: #ef4444;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.account-danger-zone__title {
|
|
margin: 0;
|
|
color: #ef4444;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.account-danger-zone__desc {
|
|
font-size: 13.5px;
|
|
color: #94a3b8;
|
|
line-height: 1.45;
|
|
margin: 0 0 16px 0;
|
|
}
|
|
|
|
.account-danger-zone__actions {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.account-danger-zone__actions .btn {
|
|
width: auto;
|
|
}
|
|
|
|
.create-section {
|
|
background: var(--app-surface-alt);
|
|
backdrop-filter: var(--app-backdrop);
|
|
-webkit-backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.create-section h2 {
|
|
font-size: 18px;
|
|
margin-top: 0;
|
|
margin-bottom: 20px;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.dashboard-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.mt-2 {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.mt-4 {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.mt-6 {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.mb-2 {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.mb-4 {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.mb-6 {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.list-section {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
.dashboard-list-controls {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.dashboard-filter-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-sort-bar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.dashboard-sort-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.dashboard-sort-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.dashboard-sort-group {
|
|
display: flex;
|
|
flex: 0 0 auto;
|
|
gap: 6px;
|
|
}
|
|
|
|
.dashboard-sort-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--app-border-subtle);
|
|
background: var(--app-surface-alt);
|
|
color: var(--app-text-muted);
|
|
cursor: pointer;
|
|
transition: border-color 0.2s, background-color 0.2s, color 0.2s;
|
|
}
|
|
|
|
.dashboard-sort-btn:hover {
|
|
border-color: var(--app-border);
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.dashboard-sort-btn.is-active {
|
|
border-color: var(--app-accent-border);
|
|
background: var(--app-accent-bg);
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.dashboard-sort-btn:focus-visible {
|
|
outline: 2px solid var(--app-accent-focus-ring);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.dashboard-filter-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--app-text-muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.dashboard-filter-input-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.dashboard-filter-icon {
|
|
position: absolute;
|
|
left: 14px;
|
|
color: var(--app-text-muted);
|
|
pointer-events: none;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dashboard-filter-input {
|
|
width: 100%;
|
|
padding-left: 42px;
|
|
padding-right: 42px;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.dashboard-filter-input::-webkit-search-cancel-button {
|
|
display: none;
|
|
}
|
|
|
|
.dashboard-filter-clear {
|
|
position: absolute;
|
|
right: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--app-text-muted);
|
|
cursor: pointer;
|
|
transition: color 0.2s, background-color 0.2s;
|
|
}
|
|
|
|
.dashboard-filter-clear:hover {
|
|
color: var(--app-text-heading);
|
|
background: var(--app-accent-bg);
|
|
}
|
|
|
|
.dashboard-filter-clear:focus-visible {
|
|
outline: 2px solid var(--app-accent-focus-ring);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.dashboard-filter-meta {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.section-title-bar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
|
|
.section-title-bar h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.section-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.copy-link-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.copy-link-row .input-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.form-actions--start {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.table-responsive {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.btn-refresh {
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted);
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 4px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-refresh:hover {
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.spin {
|
|
animation: rotation 1s infinite linear;
|
|
}
|
|
|
|
@keyframes rotation {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(359deg); }
|
|
}
|
|
|
|
.dashboard-status-msg {
|
|
padding: 40px;
|
|
text-align: center;
|
|
color: #94a3b8;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px dashed rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.logbooks-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 24px;
|
|
}
|
|
|
|
.logbook-card {
|
|
background: var(--app-surface-alt);
|
|
backdrop-filter: var(--app-backdrop);
|
|
-webkit-backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border-subtle);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 20px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
cursor: pointer;
|
|
position: relative;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.logbook-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--app-border);
|
|
box-shadow: var(--app-card-shadow);
|
|
background: var(--app-surface-hover);
|
|
}
|
|
|
|
.logbook-card--shared {
|
|
border-left: 3px solid #38bdf8;
|
|
}
|
|
|
|
.logbook-sections {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 28px;
|
|
}
|
|
|
|
.logbook-section-header h3 {
|
|
margin: 0 0 6px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.logbook-section-hint {
|
|
margin: 0 0 14px;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
color: var(--app-text-muted);
|
|
max-width: 52rem;
|
|
}
|
|
|
|
.card-title-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.card-title-row h3 {
|
|
margin: 0;
|
|
flex: 1 1 8rem;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.card-title-row .role-badge {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.logbook-card-actions {
|
|
flex-shrink: 0;
|
|
align-self: flex-start;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: -2px;
|
|
}
|
|
|
|
.logbook-card-actions .btn-delete {
|
|
position: static;
|
|
top: auto;
|
|
right: auto;
|
|
opacity: 0;
|
|
}
|
|
|
|
.logbook-card:hover .logbook-card-actions .btn-delete,
|
|
.logbook-card:focus-within .logbook-card-actions .btn-delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (hover: none), (pointer: coarse) {
|
|
.logbook-card-actions .btn-delete {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.logbook-title-editable {
|
|
cursor: text;
|
|
border-radius: 4px;
|
|
transition: background-color 0.15s ease;
|
|
}
|
|
|
|
.logbook-title-editable:hover {
|
|
background: var(--app-accent-bg);
|
|
}
|
|
|
|
.logbook-title-inline-edit {
|
|
flex: 1 1 8rem;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
margin: 0;
|
|
padding: 2px 8px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.card-icon {
|
|
background: var(--app-accent-bg);
|
|
color: var(--app-accent-light);
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
border: 1px solid var(--app-accent-border);
|
|
}
|
|
|
|
.card-info {
|
|
flex-grow: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.card-info h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--app-text);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 6px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.sync-badge {
|
|
padding: 2px 6px;
|
|
border-radius: 4px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sync-badge.synced {
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #86efac;
|
|
}
|
|
|
|
.sync-badge.local {
|
|
background: rgba(234, 179, 8, 0.1);
|
|
color: #fde047;
|
|
}
|
|
|
|
.date-badge {
|
|
color: var(--app-text-subtle);
|
|
}
|
|
|
|
.entry-sign-badge {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.entry-sign-badge--skipper.valid {
|
|
color: #86efac;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border: 1px solid rgba(34, 197, 94, 0.25);
|
|
padding: 3px 7px;
|
|
}
|
|
|
|
.entry-sign-badge--skipper.invalid {
|
|
color: #fde68a;
|
|
background: rgba(251, 191, 36, 0.12);
|
|
border: 1px solid rgba(251, 191, 36, 0.28);
|
|
}
|
|
|
|
.entry-sign-badge__sr-label {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.btn-delete {
|
|
background: none;
|
|
border: none;
|
|
color: #475569;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: all 0.2s ease;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
}
|
|
|
|
.logbook-card:hover .btn-delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
color: #f43f5e;
|
|
background: rgba(244, 63, 94, 0.1);
|
|
}
|
|
|
|
.btn-pdf {
|
|
background: none;
|
|
border: none;
|
|
color: #64748b;
|
|
cursor: pointer;
|
|
padding: 6px;
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 0;
|
|
transition: all 0.2s ease;
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 44px;
|
|
}
|
|
|
|
.logbook-card:hover .btn-pdf {
|
|
opacity: 1;
|
|
}
|
|
|
|
.btn-pdf:hover {
|
|
color: #38bdf8;
|
|
background: rgba(56, 189, 248, 0.1);
|
|
}
|
|
|
|
/* Active Logbook App Layout */
|
|
.app-layout {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
color: var(--app-text);
|
|
}
|
|
|
|
.app-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--app-header-border);
|
|
}
|
|
|
|
.app-header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.btn-back {
|
|
background: var(--app-btn-secondary-bg);
|
|
border: 1px solid var(--app-btn-secondary-border);
|
|
color: var(--app-accent-light);
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-back:hover {
|
|
background: var(--app-accent-bg);
|
|
border-color: var(--app-accent);
|
|
}
|
|
|
|
.app-title-area h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.app-title-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.app-title-area .app-subtitle {
|
|
font-size: 12px;
|
|
color: var(--app-text-muted);
|
|
margin: 2px 0 0 0;
|
|
}
|
|
|
|
.app-body {
|
|
display: grid;
|
|
grid-template-columns: 240px minmax(0, 1fr);
|
|
gap: 24px;
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app-body {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
|
|
.app-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
background: var(--app-surface-alt);
|
|
backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border-subtle);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 16px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sidebar-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted);
|
|
padding: 12px 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
cursor: pointer;
|
|
text-align: left;
|
|
font-weight: 500;
|
|
transition: all 0.2s;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sidebar-btn:hover {
|
|
background: var(--app-surface-inset);
|
|
color: var(--app-text);
|
|
}
|
|
|
|
.sidebar-btn.active {
|
|
background: var(--app-sidebar-active-bg);
|
|
border: 1px solid var(--app-accent-border);
|
|
color: var(--app-sidebar-active-text);
|
|
}
|
|
|
|
.app-content {
|
|
background: var(--app-surface-alt);
|
|
backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 32px;
|
|
min-height: 400px;
|
|
box-sizing: border-box;
|
|
animation: fadeIn 0.3s ease-out;
|
|
}
|
|
|
|
.tab-placeholder {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 300px;
|
|
text-align: center;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.tab-placeholder h3 {
|
|
font-size: 24px;
|
|
color: var(--app-accent-light);
|
|
margin-top: 16px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.tab-placeholder p {
|
|
max-width: 400px;
|
|
line-height: 150%;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Form and Editor layout structures */
|
|
.form-card {
|
|
background: var(--app-surface-alt);
|
|
backdrop-filter: var(--app-backdrop);
|
|
-webkit-backdrop-filter: var(--app-backdrop);
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 32px;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
}
|
|
|
|
.form-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.form-header h2 {
|
|
font-size: 20px;
|
|
margin: 0;
|
|
color: var(--app-accent-light);
|
|
min-width: 0;
|
|
flex-shrink: 1;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.form-icon {
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.vessel-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.vessel-photo-wrapper,
|
|
.sails-section,
|
|
.grid-span-2 {
|
|
grid-column: span 1 !important;
|
|
}
|
|
}
|
|
|
|
.vessel-form label {
|
|
display: block;
|
|
font-size: 13.5px;
|
|
color: var(--app-text-muted);
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 16px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.success-toast {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #4ade80;
|
|
background: rgba(34, 197, 94, 0.1);
|
|
border: 1px solid rgba(34, 197, 94, 0.2);
|
|
padding: 8px 16px;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Crew Dashboard Layout */
|
|
.crew-dashboard-layout {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
.member-editor-card {
|
|
background: var(--app-surface-inset);
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: var(--app-radius-card);
|
|
padding: 24px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.editor-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.editor-header h3 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.editor-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.crew-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.crew-member-card {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
}
|
|
|
|
.crew-card-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 12px;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.crew-card-header h4 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #f1f5f9;
|
|
}
|
|
|
|
.card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.crew-card-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
font-size: 13px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.crew-card-body p {
|
|
margin: 0;
|
|
line-height: 140%;
|
|
}
|
|
|
|
.crew-card-body strong {
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
/* Deviation Table Layout */
|
|
.deviation-grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
|
gap: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.deviation-grid-container {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
.deviation-cell {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.cell-label {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #fbbf24;
|
|
font-family: ui-monospace, monospace;
|
|
}
|
|
|
|
.cell-input {
|
|
text-align: center;
|
|
padding: 6px 8px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Event Journal Styling */
|
|
.events-scroll-container {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
background: rgba(11, 12, 16, 0.4);
|
|
border: 1px solid rgba(255, 255, 255, 0.06);
|
|
border-radius: 12px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Custom Scrollbar for events container */
|
|
.events-scroll-container::-webkit-scrollbar {
|
|
height: 6px;
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-track {
|
|
background: rgba(11, 12, 16, 0.2);
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 3px;
|
|
}
|
|
.events-scroll-container::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.events-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.events-table th {
|
|
background: rgba(11, 12, 16, 0.8);
|
|
color: #fbbf24;
|
|
padding: 12px 16px;
|
|
font-weight: 600;
|
|
border-bottom: 1px solid rgba(212, 175, 55, 0.2);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.events-table td {
|
|
padding: 12px 16px;
|
|
color: #e2e8f0;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.events-actions-td {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.events-actions-td .btn-icon {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.events-actions-td .btn-icon:first-child {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.events-table tbody tr:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.table-weather-img {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: block;
|
|
margin: -6px 0;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.remarks-td {
|
|
min-width: 160px;
|
|
max-width: 300px;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.font-mono {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
}
|
|
|
|
.text-sm {
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ========================================== */
|
|
/* PHASE 4: CONNECTION & SYNC INDICATORS */
|
|
/* ========================================== */
|
|
|
|
.sync-progress-bar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background: var(--app-progress-bar);
|
|
background-size: 200% 100%;
|
|
animation: sync-slide 1.5s infinite linear;
|
|
z-index: 9999;
|
|
}
|
|
|
|
@keyframes sync-slide {
|
|
0% { background-position: 200% 0; }
|
|
100% { background-position: 0 0; }
|
|
}
|
|
|
|
.conn-status.syncing {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: #60a5fa;
|
|
border: 1px solid rgba(59, 130, 246, 0.25);
|
|
}
|
|
|
|
.conn-status.warning {
|
|
background: rgba(251, 191, 36, 0.1);
|
|
color: #fbbf24;
|
|
border: 1px solid rgba(251, 191, 36, 0.25);
|
|
}
|
|
|
|
.pulse-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: #fbbf24;
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
animation: pulse-animation 1.5s infinite ease-in-out;
|
|
}
|
|
|
|
@keyframes pulse-animation {
|
|
0% { transform: scale(0.9); opacity: 0.6; }
|
|
50% { transform: scale(1.2); opacity: 1; }
|
|
100% { transform: scale(0.9); opacity: 0.6; }
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.hide-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
.dashboard-header,
|
|
.app-header {
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
}
|
|
|
|
.app-header-left {
|
|
flex: 1 1 100%;
|
|
min-width: 0;
|
|
align-items: flex-start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.app-title-area {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.app-title-area h2 {
|
|
font-size: 17px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.app-title-row {
|
|
gap: 6px;
|
|
}
|
|
|
|
.app-subtitle {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header-brand {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.header-brand h1 {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.header-actions {
|
|
flex: 1 1 100%;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.conn-status > span:not(.pulse-dot) {
|
|
display: none;
|
|
}
|
|
|
|
.skipper-badge__name {
|
|
display: none;
|
|
}
|
|
|
|
.skipper-badge.btn-icon {
|
|
width: 36px;
|
|
padding: 0;
|
|
}
|
|
|
|
.btn-back {
|
|
padding: 8px 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.section-title-bar {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 12px;
|
|
}
|
|
|
|
.section-toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.section-toolbar .btn {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.section-toolbar .btn.primary {
|
|
flex: 1 1 100%;
|
|
}
|
|
|
|
.section-title-left {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
|
|
.section-title-left .form-header h2 {
|
|
font-size: 16px;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.dashboard-sort-bar {
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.dashboard-sort-label {
|
|
flex-shrink: 0;
|
|
min-width: 4.75rem;
|
|
}
|
|
|
|
.dashboard-sort-row {
|
|
flex: 1;
|
|
min-width: 0;
|
|
flex-wrap: nowrap;
|
|
gap: 12px;
|
|
}
|
|
|
|
.dashboard-sort-group {
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 6px;
|
|
}
|
|
|
|
.dashboard-sort-btn {
|
|
flex: 1;
|
|
width: auto;
|
|
min-width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.logbooks-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.logbook-card {
|
|
flex-wrap: nowrap;
|
|
padding: 16px;
|
|
gap: 12px;
|
|
}
|
|
|
|
.logbook-card-actions {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.logbook-card-actions .btn-delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
.card-meta {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.card-title-row h3,
|
|
.logbook-title-inline-edit {
|
|
flex-basis: 100%;
|
|
}
|
|
|
|
.card-info h3 {
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.editor-header {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.crew-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.copy-link-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.copy-link-row .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.form-actions--start {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.form-actions--start .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-responsive {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.table-responsive table {
|
|
min-width: 480px;
|
|
}
|
|
|
|
.custom-dialog-overlay {
|
|
padding: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.custom-dialog-card {
|
|
width: 100%;
|
|
max-width: none;
|
|
padding: 22px 18px;
|
|
margin-bottom: env(safe-area-inset-bottom, 0px);
|
|
}
|
|
|
|
.custom-dialog-actions {
|
|
flex-direction: column-reverse;
|
|
gap: 10px;
|
|
}
|
|
|
|
.custom-dialog-actions .btn {
|
|
width: 100%;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.disclaimer-modal-overlay {
|
|
padding: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.disclaimer-modal-panel,
|
|
.registration-disclaimer--modal {
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
|
|
.auth-card {
|
|
padding: 28px 20px;
|
|
max-width: calc(100vw - 24px);
|
|
}
|
|
|
|
.app-layout,
|
|
.dashboard-container {
|
|
padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.track-info-left {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.track-actions {
|
|
width: 100%;
|
|
}
|
|
|
|
.track-actions .btn {
|
|
flex: 1 1 calc(50% - 4px);
|
|
justify-content: center;
|
|
}
|
|
|
|
#openseamap-container,
|
|
.track-map-container {
|
|
height: min(360px, 45svh);
|
|
}
|
|
|
|
.sails-picker-pills {
|
|
gap: 4px;
|
|
}
|
|
|
|
.sails-picker-container.is-collapsible .sails-picker-toggle {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.sail-pill {
|
|
padding: 3px 8px;
|
|
font-size: 11px;
|
|
border-radius: 12px;
|
|
line-height: 1.2;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.sails-picker-container.is-collapsible.is-collapsed .sails-picker-pills {
|
|
max-height: 3.25rem;
|
|
}
|
|
|
|
.sail-pill {
|
|
padding: 2px 7px;
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
|
|
/* ========================================== */
|
|
/* PHASE 4: OS-ADAPTIVE UI THEMES */
|
|
/* Color tokens: themes.css · classes on html */
|
|
/* ========================================== */
|
|
|
|
html.theme-material {
|
|
font-family: 'Roboto', 'Noto Sans', system-ui, -apple-system, sans-serif;
|
|
}
|
|
|
|
html.theme-cupertino {
|
|
font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
html.theme-material .sidebar-btn {
|
|
border-radius: 0;
|
|
border-left: 4px solid transparent;
|
|
}
|
|
|
|
html.theme-material .sidebar-btn.active {
|
|
border-left: 4px solid var(--app-sidebar-active-border);
|
|
border-top: none;
|
|
border-right: none;
|
|
border-bottom: none;
|
|
}
|
|
|
|
html.theme-material .btn.primary {
|
|
background-image: none;
|
|
}
|
|
|
|
html.theme-cupertino .btn.primary,
|
|
html.theme-cupertino .btn.secondary,
|
|
html.theme-cupertino .btn-back {
|
|
border-radius: var(--app-radius-btn);
|
|
}
|
|
|
|
html.theme-material .events-table th,
|
|
html.theme-cupertino .events-table th {
|
|
color: var(--app-accent);
|
|
border-bottom-color: var(--app-table-border);
|
|
}
|
|
|
|
html.theme-material .events-table td,
|
|
html.theme-cupertino .events-table td {
|
|
border-bottom-color: var(--app-table-border);
|
|
}
|
|
|
|
html.theme-material .events-scroll-container,
|
|
html.theme-cupertino .events-scroll-container {
|
|
border-color: var(--app-table-border);
|
|
}
|
|
|
|
html.theme-cupertino .events-scroll-container {
|
|
background: var(--app-surface-inset);
|
|
}
|
|
|
|
|
|
/* Photo Attachments Styling */
|
|
.photo-attachments-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
.photo-card {
|
|
position: relative;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(15, 23, 42, 0.4);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.photo-card:hover {
|
|
transform: translateY(-2px) scale(1.02);
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
|
|
border-color: rgba(212, 175, 55, 0.3);
|
|
}
|
|
|
|
.photo-container {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
background: #0b0c10;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.photo-container img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
display: block;
|
|
}
|
|
|
|
.photo-btn-delete {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
background: rgba(15, 23, 42, 0.7);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
color: #f43f5e;
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.photo-btn-delete:hover {
|
|
background: #f43f5e;
|
|
color: #ffffff;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.photo-caption-bar {
|
|
padding: 10px 12px;
|
|
background: rgba(15, 23, 42, 0.55);
|
|
font-size: 13px;
|
|
color: #e2e8f0;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.05);
|
|
text-align: center;
|
|
font-weight: 500;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Custom Dialog Modals Styling */
|
|
.custom-dialog-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(11, 12, 16, 0.75);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
}
|
|
|
|
.custom-dialog-card {
|
|
background: rgba(15, 23, 42, 0.85);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 28px;
|
|
width: 90%;
|
|
max-width: 420px;
|
|
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.custom-dialog-title {
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
color: #fbbf24;
|
|
margin: 0 0 14px 0;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.custom-dialog-message {
|
|
font-size: 15px;
|
|
color: #e2e8f0;
|
|
line-height: 1.5;
|
|
margin: 0 0 24px 0;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.custom-dialog-actions {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Sails List UI */
|
|
.sails-section {
|
|
grid-column: span 2;
|
|
border-top: 1px solid #1e293b;
|
|
padding-top: 20px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.sails-section h3 {
|
|
font-size: 16px;
|
|
color: #fbbf24;
|
|
margin: 0 0 8px 0;
|
|
}
|
|
|
|
.sails-section p.help-text {
|
|
font-size: 13px;
|
|
color: #64748b;
|
|
margin: 0 0 12px 0;
|
|
}
|
|
|
|
.sails-badges-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sail-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: rgba(30, 41, 59, 0.7);
|
|
border: 1px solid #334155;
|
|
color: #e2e8f0;
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.sail-badge button.remove-btn {
|
|
background: none;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.sail-badge button.remove-btn:hover {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.no-sails-msg {
|
|
color: #64748b;
|
|
font-size: 14px;
|
|
font-style: italic;
|
|
}
|
|
|
|
.add-sail-form {
|
|
display: flex;
|
|
gap: 10px;
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* Event Editor Interactive Sails Picker */
|
|
.sails-picker-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
grid-column: 1 / -1;
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.sails-picker-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
position: relative;
|
|
}
|
|
|
|
.sails-picker-container.is-collapsible.is-collapsed .sails-picker-pills {
|
|
max-height: 3.75rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sails-picker-container.is-collapsible.is-collapsed .sails-picker-pills::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1.25rem;
|
|
background: linear-gradient(to bottom, transparent, var(--app-surface, #0f172a));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.sails-picker-toggle {
|
|
display: none;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin: 4px auto 0;
|
|
padding: 2px 8px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted, #94a3b8);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sails-picker-toggle:hover {
|
|
color: var(--app-accent, #fbbf24);
|
|
}
|
|
|
|
.sail-pill {
|
|
background: rgba(30, 41, 59, 0.5);
|
|
border: 1px solid #334155;
|
|
color: #94a3b8;
|
|
padding: 4px 10px;
|
|
border-radius: 15px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.sail-pill:hover {
|
|
border-color: #fbbf24;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.sail-pill.active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: #fbbf24;
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.sail-pill.motor-pill {
|
|
border-color: #38bdf8;
|
|
color: #38bdf8;
|
|
}
|
|
|
|
.sail-pill.motor-pill:hover {
|
|
border-color: #7dd3fc;
|
|
color: #7dd3fc;
|
|
}
|
|
|
|
.sail-pill.motor-pill.active {
|
|
background: rgba(56, 189, 248, 0.15);
|
|
border-color: #38bdf8;
|
|
color: #38bdf8;
|
|
}
|
|
|
|
/* Live log journal mode */
|
|
.logs-view-toggle {
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.logs-view-toggle-btn.is-active {
|
|
background: rgba(59, 130, 246, 0.2);
|
|
border-color: rgba(59, 130, 246, 0.45);
|
|
color: var(--app-accent-light, #93c5fd);
|
|
}
|
|
|
|
.live-log-card {
|
|
min-height: 420px;
|
|
}
|
|
|
|
.live-log-subtitle {
|
|
margin: 4px 0 0;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.live-log-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(148px, 200px) 1fr;
|
|
gap: 20px;
|
|
align-items: start;
|
|
}
|
|
|
|
.live-log-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.live-log-action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 12px 14px;
|
|
border-radius: var(--app-radius-btn, 10px);
|
|
border: 1px solid var(--app-border-muted);
|
|
background: var(--app-surface);
|
|
color: var(--app-text);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: background 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.live-log-action-btn:hover:not(:disabled) {
|
|
background: rgba(59, 130, 246, 0.08);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.live-log-action-btn:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.live-log-action-btn.is-active {
|
|
background: rgba(251, 191, 36, 0.15);
|
|
border-color: rgba(251, 191, 36, 0.45);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.live-log-stream-panel {
|
|
min-height: 280px;
|
|
border: 1px solid var(--app-border-muted);
|
|
border-radius: var(--app-radius-card, 12px);
|
|
background: rgba(0, 0, 0, 0.12);
|
|
padding: 16px 18px;
|
|
}
|
|
|
|
.live-log-stream-title {
|
|
margin: 0 0 12px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--app-accent-light);
|
|
}
|
|
|
|
.live-log-empty {
|
|
margin: 0;
|
|
color: var(--app-text-muted);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.live-log-stream {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
max-height: min(60vh, 520px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.live-log-entry {
|
|
display: flex;
|
|
gap: 14px;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid var(--app-border-muted);
|
|
font-size: 14px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.live-log-entry:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.live-log-time {
|
|
flex-shrink: 0;
|
|
min-width: 3.25rem;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 600;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.live-log-summary {
|
|
flex: 1;
|
|
}
|
|
|
|
.live-log-modal-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
background: rgba(0, 0, 0, 0.55);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
|
|
.live-log-modal {
|
|
width: min(420px, 100%);
|
|
padding: 20px;
|
|
border-radius: var(--app-radius-card, 12px);
|
|
}
|
|
|
|
.live-log-modal h3 {
|
|
margin: 0 0 16px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.live-log-modal-hint {
|
|
margin: -8px 0 12px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.live-log-sail-pills {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.live-log-modal-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: flex-end;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.live-log-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.live-log-actions {
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.live-log-action-btn {
|
|
width: auto;
|
|
flex: 1 1 calc(50% - 4px);
|
|
min-width: 140px;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.live-log-weather-group {
|
|
flex: 1 1 100%;
|
|
}
|
|
}
|
|
|
|
.live-log-weather-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.live-log-weather-toggle {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.live-log-weather-toggle.is-expanded {
|
|
border-color: rgba(59, 130, 246, 0.35);
|
|
}
|
|
|
|
.live-log-weather-submenu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.live-log-subaction-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid var(--app-border-muted);
|
|
background: rgba(0, 0, 0, 0.15);
|
|
color: var(--app-text-muted);
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.live-log-subaction-btn:hover:not(:disabled) {
|
|
color: var(--app-text);
|
|
border-color: rgba(59, 130, 246, 0.3);
|
|
}
|
|
|
|
.live-log-undo-bar {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 24px;
|
|
transform: translateX(-50%);
|
|
z-index: 900;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 10px 14px;
|
|
border-radius: 12px;
|
|
background: var(--app-surface-alt);
|
|
border: 1px solid var(--app-border-muted);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stats-event-series-block + .stats-event-series-block {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.stats-event-series-list {
|
|
list-style: none;
|
|
margin: 8px 0 0;
|
|
padding: 0;
|
|
max-height: 180px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.stats-event-series-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 6px 0;
|
|
border-bottom: 1px solid var(--app-border-muted);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.stats-event-series-when {
|
|
color: var(--app-text-muted);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.stats-event-series-value {
|
|
text-align: right;
|
|
}
|
|
|
|
.grid-span-2 {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
/* Yacht Photo Styling */
|
|
.vessel-photo-wrapper {
|
|
grid-column: span 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 12px;
|
|
background: rgba(30, 41, 59, 0.4);
|
|
border: 1px dashed #334155;
|
|
border-radius: 12px;
|
|
padding: 24px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.vessel-photo-preview {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 150px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
background: #0f172a;
|
|
border: 1px solid #1e293b;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vessel-photo {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.vessel-photo-placeholder {
|
|
color: #475569;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.vessel-photo-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(15, 23, 42, 0.8);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s ease;
|
|
color: #fbbf24;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.vessel-photo-preview:hover .vessel-photo-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.vessel-photo-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 6px 12px !important;
|
|
font-size: 12.5px !important;
|
|
height: auto !important;
|
|
min-height: auto !important;
|
|
}
|
|
|
|
.btn.danger {
|
|
background: rgba(239, 68, 68, 0.15) !important;
|
|
color: #fca5a5 !important;
|
|
border: 1px solid rgba(239, 68, 68, 0.3) !important;
|
|
}
|
|
|
|
.btn.danger:hover {
|
|
background: rgba(239, 68, 68, 0.25) !important;
|
|
border-color: #ef4444 !important;
|
|
}
|
|
|
|
/* Crew Avatar Card Styling */
|
|
.crew-card-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
border: 1px solid #334155;
|
|
}
|
|
|
|
.crew-card-avatar-placeholder {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
background: rgba(30, 41, 59, 0.6);
|
|
border: 1px solid #334155;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #475569;
|
|
}
|
|
|
|
/* Responsive Form and Paddings Fix */
|
|
@media (max-width: 1024px) {
|
|
.app-layout {
|
|
padding: 16px;
|
|
}
|
|
.app-content {
|
|
padding: 20px;
|
|
}
|
|
.form-card {
|
|
padding: 20px;
|
|
}
|
|
.member-editor-card {
|
|
padding: 16px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.app-layout {
|
|
padding: 12px;
|
|
}
|
|
.app-content {
|
|
padding: 16px;
|
|
}
|
|
.form-card {
|
|
padding: 16px;
|
|
}
|
|
.form-grid {
|
|
grid-template-columns: 1fr !important;
|
|
gap: 16px;
|
|
}
|
|
.form-actions {
|
|
flex-direction: column-reverse;
|
|
align-items: stretch;
|
|
width: 100%;
|
|
gap: 12px;
|
|
}
|
|
.form-actions button {
|
|
width: 100%;
|
|
}
|
|
.member-editor-card {
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
.gps-input-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.gps-input-row input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.gps-input-row button {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.gps-input-row {
|
|
flex-wrap: wrap;
|
|
}
|
|
.gps-input-row input {
|
|
flex: 1 1 calc(50% - 4px);
|
|
min-width: 70px;
|
|
}
|
|
.gps-input-row button {
|
|
flex: 1 1 calc(50% - 4px);
|
|
}
|
|
}
|
|
|
|
.section-title-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.consumption-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
align-items: end;
|
|
}
|
|
|
|
.consumption-grid .input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
.consumption-grid .input-group label {
|
|
flex: 1 1 auto;
|
|
min-height: 2.75em;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
margin-bottom: 8px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.consumption-grid .input-group .input-text {
|
|
flex-shrink: 0;
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.consumption-grid .input-text::-webkit-outer-spin-button,
|
|
.consumption-grid .input-text::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.consumption-grid .consumption-value {
|
|
color: #4ade80;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
pointer-events: none;
|
|
cursor: default;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.consumption-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 10px;
|
|
}
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider {
|
|
--tank-slider-track-h: 10px;
|
|
--tank-slider-thumb: 26px;
|
|
width: 100%;
|
|
height: var(--tank-slider-thumb);
|
|
margin: 10px 0 6px;
|
|
padding: 0;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
background: transparent;
|
|
accent-color: #4ade80;
|
|
cursor: pointer;
|
|
touch-action: none;
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider::-webkit-slider-runnable-track {
|
|
height: var(--tank-slider-track-h);
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.35);
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
width: var(--tank-slider-thumb);
|
|
height: var(--tank-slider-thumb);
|
|
margin-top: calc((var(--tank-slider-track-h) - var(--tank-slider-thumb)) / 2);
|
|
border-radius: 50%;
|
|
background: #4ade80;
|
|
border: 2px solid rgba(15, 23, 42, 0.85);
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider::-moz-range-track {
|
|
height: var(--tank-slider-track-h);
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.35);
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider::-moz-range-thumb {
|
|
width: var(--tank-slider-thumb);
|
|
height: var(--tank-slider-thumb);
|
|
border-radius: 50%;
|
|
background: #4ade80;
|
|
border: 2px solid rgba(15, 23, 42, 0.85);
|
|
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.tank-liter-input .tank-liter-slider-hint {
|
|
font-size: 0.75rem;
|
|
color: #94a3b8;
|
|
margin-bottom: 6px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.tank-liter-input .tank-liter-slider {
|
|
--tank-slider-track-h: 12px;
|
|
--tank-slider-thumb: 32px;
|
|
margin: 12px 0 8px;
|
|
}
|
|
}
|
|
|
|
.vessel-tanks-section {
|
|
grid-column: 1 / -1;
|
|
margin-top: 8px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.2);
|
|
}
|
|
|
|
.vessel-tanks-section h3 {
|
|
font-size: 1rem;
|
|
margin: 0 0 4px;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.vessel-tanks-help {
|
|
font-size: 0.85rem;
|
|
color: #94a3b8;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.vessel-tanks-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
/* GPS Track Upload & Map Styling */
|
|
.track-upload-zone {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px dashed rgba(212, 175, 55, 0.3);
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.track-upload-zone:hover,
|
|
.track-upload-zone.dragover {
|
|
border-color: #fbbf24;
|
|
background: rgba(251, 191, 36, 0.05);
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.track-upload-icon {
|
|
color: #fbbf24;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.track-upload-text {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.track-upload-subtext {
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.track-info-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-bottom: 12px;
|
|
padding: 12px;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.track-info-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.track-info-name {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.track-info-stats {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.track-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.track-error-msg {
|
|
color: #ef4444;
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
padding: 8px 12px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.track-stats-grid {
|
|
margin-top: 16px;
|
|
align-items: start;
|
|
}
|
|
|
|
.track-map-wrapper {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
#openseamap-container,
|
|
.track-map-container {
|
|
width: 100%;
|
|
height: 400px;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
|
position: relative;
|
|
z-index: 1;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
background: #dbeafe;
|
|
}
|
|
|
|
.track-map-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.track-map-legend-bar {
|
|
flex: 1;
|
|
height: 8px;
|
|
border-radius: 4px;
|
|
background: linear-gradient(to right, hsl(120, 72%, 42%), hsl(60, 72%, 42%), hsl(0, 72%, 42%));
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.track-map-container.leaflet-container {
|
|
font-family: inherit;
|
|
}
|
|
|
|
.track-map-container .leaflet-tile,
|
|
.track-map-container img.leaflet-tile {
|
|
max-width: none !important;
|
|
max-height: none !important;
|
|
}
|
|
|
|
.track-map-container .leaflet-control-attribution {
|
|
font-size: 10px;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
/* --- Statistics dashboard --- */
|
|
.stats-subtitle {
|
|
margin: 4px 0 0;
|
|
font-size: 14px;
|
|
color: var(--app-text-muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.stats-scope-toggle {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.stats-scope-toggle .btn {
|
|
width: auto;
|
|
padding: 10px 18px;
|
|
}
|
|
|
|
.stats-kpi-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 14px;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.stats-kpi-card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border-radius: var(--app-radius-card);
|
|
border: 1px solid var(--app-border-subtle);
|
|
}
|
|
|
|
.stats-kpi-icon {
|
|
color: var(--app-accent-light);
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.stats-kpi-label {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--app-text-muted);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stats-kpi-value {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
color: var(--app-text-primary);
|
|
}
|
|
|
|
.stats-kpi-unit {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--app-text-muted);
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.stats-section-title {
|
|
margin: 0 0 8px;
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stats-section-sub {
|
|
margin: 0 0 16px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.stats-section-subtitle {
|
|
margin: 0 0 12px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--app-text-primary);
|
|
}
|
|
|
|
.stats-route-chain {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
color: var(--app-text-primary);
|
|
}
|
|
|
|
.stats-route-arrow {
|
|
color: var(--app-accent-light);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.stats-multi-track-map {
|
|
min-height: 320px;
|
|
}
|
|
|
|
.stats-track-legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px 18px;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.stats-track-legend-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.stats-track-legend-swatch {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 3px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.stats-bar-chart {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 8px;
|
|
min-height: 180px;
|
|
padding-top: 8px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.stats-bar-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 52px;
|
|
flex: 1 0 52px;
|
|
}
|
|
|
|
.stats-bar-column--grouped {
|
|
min-width: 44px;
|
|
}
|
|
|
|
.stats-bar-value {
|
|
font-size: 10px;
|
|
color: var(--app-text-muted);
|
|
min-height: 14px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stats-bar-track {
|
|
width: 100%;
|
|
max-width: 36px;
|
|
height: 120px;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
background: var(--app-surface-muted);
|
|
border-radius: 6px 6px 2px 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.stats-bar-track--short {
|
|
max-width: 14px;
|
|
height: 100px;
|
|
}
|
|
|
|
.stats-bar {
|
|
width: 100%;
|
|
border-radius: 4px 4px 0 0;
|
|
min-height: 2px;
|
|
transition: height 0.2s ease;
|
|
}
|
|
|
|
.stats-bar--distance {
|
|
background: linear-gradient(180deg, var(--app-accent-light), var(--app-accent));
|
|
}
|
|
|
|
.stats-bar--fuel {
|
|
background: linear-gradient(180deg, #fbbf24, #d97706);
|
|
}
|
|
|
|
.stats-bar--water {
|
|
background: linear-gradient(180deg, #38bdf8, #0284c7);
|
|
}
|
|
|
|
.stats-bar--motor-hours {
|
|
background: linear-gradient(180deg, #a78bfa, #7c3aed);
|
|
}
|
|
|
|
.stats-bar--fuel-per-hour {
|
|
background: linear-gradient(180deg, #fb923c, #ea580c);
|
|
}
|
|
|
|
.stats-bar-label {
|
|
margin-top: 8px;
|
|
font-size: 11px;
|
|
color: var(--app-text-muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.stats-bar-sublabel {
|
|
font-size: 10px;
|
|
color: var(--app-text-muted);
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.stats-bar-group {
|
|
display: flex;
|
|
gap: 4px;
|
|
align-items: flex-end;
|
|
height: 100px;
|
|
}
|
|
|
|
.stats-consumption-chart {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
min-height: auto;
|
|
}
|
|
|
|
.stats-consumption-chart .stats-bar-column--grouped {
|
|
display: inline-flex;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.stats-consumption-chart {
|
|
display: block;
|
|
overflow-x: auto;
|
|
white-space: nowrap;
|
|
padding-bottom: 8px;
|
|
}
|
|
|
|
.stats-consumption-chart .stats-bar-column--grouped {
|
|
display: inline-flex;
|
|
white-space: normal;
|
|
}
|
|
|
|
.stats-consumption-legend {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-top: 16px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.stats-consumption-legend span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.stats-legend-swatch {
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.stats-propulsion-bar {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 18px;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
background: var(--app-surface-muted);
|
|
}
|
|
|
|
.stats-propulsion-segment--sail {
|
|
background: var(--app-accent);
|
|
}
|
|
|
|
.stats-propulsion-segment--motor {
|
|
background: #d97706;
|
|
}
|
|
|
|
.stats-propulsion-segment--unknown {
|
|
background: var(--app-text-muted);
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.stats-propulsion-labels {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px 20px;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
color: var(--app-text-primary);
|
|
}
|
|
|
|
.stats-hint {
|
|
margin: 12px 0 0;
|
|
font-size: 12px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.stats-account-table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.stats-account-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.stats-account-table th,
|
|
.stats-account-table td {
|
|
padding: 10px 12px;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--app-border-subtle);
|
|
}
|
|
|
|
.stats-account-table th {
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--app-text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.stats-kpi-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.stats-kpi-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stats-kpi-value {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.profile-stats-section.form-card {
|
|
padding: 20px 16px;
|
|
}
|
|
|
|
.profile-stats-section .form-header {
|
|
margin-bottom: 12px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.profile-stats-section .form-header h2 {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.profile-stats-section .stats-subtitle {
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.profile-stats-kpi-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-card {
|
|
padding: 10px;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-icon {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-label {
|
|
font-size: 11px;
|
|
margin-bottom: 2px;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-value {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-stats-kpi-grid .stats-kpi-unit {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
|
|
.signature-grid {
|
|
align-items: start;
|
|
}
|
|
|
|
.signature-pad-group {
|
|
width: 100%;
|
|
}
|
|
|
|
.signature-pad-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.signature-pad-header label {
|
|
display: block;
|
|
font-size: 13.5px;
|
|
color: #94a3b8;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.signature-pad-clear {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #94a3b8;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.signature-pad-clear:hover {
|
|
color: #e2e8f0;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.signature-pad {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 132px;
|
|
border-radius: 10px;
|
|
border: 1px dashed rgba(148, 163, 184, 0.45);
|
|
background: rgba(255, 255, 255, 0.96);
|
|
overflow: hidden;
|
|
touch-action: none;
|
|
}
|
|
|
|
.signature-pad.disabled {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.signature-pad-canvas,
|
|
.signature-pad-image {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.signature-pad-canvas {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.signature-pad-hint {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #94a3b8;
|
|
font-size: 13px;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.signature-legacy-text {
|
|
min-height: 132px;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #e2e8f0;
|
|
font-size: 18px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.signature-role-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.signature-hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: rgba(226, 232, 240, 0.65);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.signature-mode-toggle {
|
|
display: inline-flex;
|
|
gap: 4px;
|
|
padding: 3px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.signature-mode-btn {
|
|
border: none;
|
|
border-radius: 7px;
|
|
padding: 6px 12px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
color: rgba(226, 232, 240, 0.75);
|
|
background: transparent;
|
|
}
|
|
|
|
.signature-mode-btn.active {
|
|
color: #0f172a;
|
|
background: #e2e8f0;
|
|
}
|
|
|
|
.signature-mode-btn:hover:not(.active) {
|
|
color: #f8fafc;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.signature-lock-notice {
|
|
margin: 0 0 16px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(212, 175, 55, 0.25);
|
|
background: rgba(212, 175, 55, 0.08);
|
|
color: rgba(254, 243, 199, 0.95);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.signature-lock-notice.locked {
|
|
border-color: rgba(34, 197, 94, 0.3);
|
|
background: rgba(34, 197, 94, 0.08);
|
|
color: rgba(220, 252, 231, 0.95);
|
|
}
|
|
|
|
.passkey-sign-block {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.passkey-sign-label {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #cbd5e1;
|
|
}
|
|
|
|
.passkey-sign-badge {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
border-radius: 10px;
|
|
border: 1px solid rgba(34, 197, 94, 0.35);
|
|
background: rgba(34, 197, 94, 0.08);
|
|
color: #dcfce7;
|
|
}
|
|
|
|
.passkey-sign-badge.invalid {
|
|
border-color: rgba(251, 191, 36, 0.45);
|
|
background: rgba(251, 191, 36, 0.08);
|
|
color: #fef3c7;
|
|
}
|
|
|
|
.passkey-sign-badge-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.passkey-sign-date {
|
|
font-size: 11px;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.passkey-sign-invalid-hint {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 11px;
|
|
width: 100%;
|
|
}
|
|
|
|
.passkey-sign-btn {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.passkey-sign-clear {
|
|
align-self: flex-start;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.passkey-sign-error {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: #fca5a5;
|
|
}
|
|
|
|
/* PWA install prompt */
|
|
.pwa-install-banner {
|
|
position: fixed;
|
|
left: 16px;
|
|
right: 16px;
|
|
bottom: calc(36px + env(safe-area-inset-bottom, 0px));
|
|
z-index: 1200;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 14px;
|
|
align-items: start;
|
|
padding: 16px 44px 16px 16px;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(212, 175, 55, 0.25);
|
|
background: rgba(11, 12, 16, 0.92);
|
|
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
|
|
animation: fadeIn 0.35s ease-out;
|
|
max-width: 560px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.pwa-install-inline {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 14px;
|
|
align-items: start;
|
|
padding: 16px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(212, 175, 55, 0.2);
|
|
background: rgba(255, 255, 255, 0.03);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.pwa-install-icon {
|
|
color: #fbbf24;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 12px;
|
|
background: rgba(251, 191, 36, 0.1);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pwa-install-body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.pwa-install-title {
|
|
margin: 0 0 6px 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.pwa-install-text {
|
|
margin: 0;
|
|
font-size: 13.5px;
|
|
line-height: 1.45;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.pwa-install-steps {
|
|
list-style: none;
|
|
margin: 12px 0 0 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.pwa-install-steps li {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 13.5px;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.pwa-ios-add-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 4px;
|
|
border: 1px solid rgba(148, 163, 184, 0.6);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.pwa-install-hint {
|
|
margin: 10px 0 0 0;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
|
|
.pwa-install-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.pwa-install-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
white-space: nowrap;
|
|
padding: 10px 14px !important;
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.pwa-install-dismiss-row {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.pwa-install-link {
|
|
background: transparent;
|
|
border: none;
|
|
color: #cbd5e1;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.pwa-install-link.muted {
|
|
color: #64748b;
|
|
}
|
|
|
|
.pwa-install-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: transparent;
|
|
border: none;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.pwa-install-banner .pwa-install-actions {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.pwa-install-banner {
|
|
grid-template-columns: auto 1fr;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.pwa-install-actions {
|
|
grid-column: 1 / -1;
|
|
}
|
|
}
|
|
|
|
/* PWA update prompt */
|
|
.pwa-update-banner {
|
|
position: fixed;
|
|
top: calc(12px + env(safe-area-inset-top, 0px));
|
|
left: 16px;
|
|
right: 16px;
|
|
z-index: 1300;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 14px;
|
|
align-items: center;
|
|
padding: 14px 44px 14px 14px;
|
|
border-radius: 14px;
|
|
border: 1px solid var(--app-accent-border);
|
|
background: var(--app-surface);
|
|
box-shadow: var(--app-card-shadow);
|
|
animation: fadeIn 0.35s ease-out;
|
|
max-width: 640px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.pwa-update-icon {
|
|
color: var(--app-accent-light);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 10px;
|
|
background: var(--app-accent-bg);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.pwa-update-body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.pwa-update-title {
|
|
margin: 0 0 4px 0;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.pwa-update-text {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.pwa-update-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 6px;
|
|
}
|
|
|
|
.pwa-update-btn {
|
|
white-space: nowrap;
|
|
padding: 10px 14px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pwa-update-link {
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted);
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.pwa-update-link:hover {
|
|
color: var(--app-text);
|
|
}
|
|
|
|
.pwa-update-close {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--app-text-muted);
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.pwa-update-close:hover {
|
|
color: var(--app-text);
|
|
background: var(--app-surface-inset);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.pwa-update-banner {
|
|
grid-template-columns: auto 1fr;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
.pwa-update-actions {
|
|
grid-column: 1 / -1;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
.app-version-footer {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 900;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
|
|
font-size: 11px;
|
|
line-height: 1.4;
|
|
color: #64748b;
|
|
background: rgba(11, 12, 16, 0.72);
|
|
border-top: 1px solid rgba(255, 255, 255, 0.06);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-version-footer a,
|
|
.app-version-footer button {
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-version-footer__version {
|
|
font-variant-numeric: tabular-nums;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.app-version-footer__sep {
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.app-version-footer__copyright {
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.app-version-footer__copyright a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.app-version-footer__copyright a:hover {
|
|
color: #e2e8f0;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.demo-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
text-transform: uppercase;
|
|
color: #fbbf24;
|
|
background: rgba(251, 191, 36, 0.12);
|
|
border: 1px solid rgba(251, 191, 36, 0.25);
|
|
}
|
|
|
|
.beta-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--app-accent-light);
|
|
background: var(--app-accent-bg);
|
|
border: 1px solid var(--app-accent-focus-ring);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.header-brand-title-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.role-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.01em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.role-badge--owner {
|
|
color: #86efac;
|
|
background: rgba(34, 197, 94, 0.12);
|
|
border: 1px solid rgba(34, 197, 94, 0.25);
|
|
}
|
|
|
|
.role-badge--crew {
|
|
color: #7dd3fc;
|
|
background: rgba(56, 189, 248, 0.12);
|
|
border: 1px solid rgba(56, 189, 248, 0.28);
|
|
}
|
|
|
|
.role-badge--read {
|
|
color: #cbd5e1;
|
|
background: rgba(148, 163, 184, 0.12);
|
|
border: 1px solid rgba(148, 163, 184, 0.25);
|
|
}
|
|
|
|
.backup-panel {
|
|
text-align: left;
|
|
}
|
|
|
|
.backup-export-form,
|
|
.backup-import-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.backup-panel .input-group label {
|
|
display: block;
|
|
font-size: 13.5px;
|
|
color: var(--app-text-muted);
|
|
margin-bottom: 6px;
|
|
font-weight: 500;
|
|
text-align: left;
|
|
}
|
|
|
|
.backup-panel .backup-section {
|
|
margin-bottom: 28px;
|
|
padding-bottom: 24px;
|
|
border-bottom: 1px solid var(--app-border-subtle);
|
|
}
|
|
|
|
.backup-panel .backup-section--import {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.backup-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0 0 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.backup-section-desc {
|
|
font-size: 13px;
|
|
margin: 0 0 14px;
|
|
}
|
|
|
|
.backup-actions-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.backup-preview {
|
|
margin-top: 16px;
|
|
padding: 14px 16px;
|
|
border-radius: var(--app-radius-card);
|
|
border: 1px solid var(--app-border-subtle);
|
|
}
|
|
|
|
.backup-preview-title {
|
|
margin: 0 0 10px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: var(--app-text-heading);
|
|
}
|
|
|
|
.backup-preview-stats {
|
|
margin: 0 0 8px;
|
|
padding-left: 18px;
|
|
font-size: 13px;
|
|
color: var(--app-text-muted);
|
|
}
|
|
|
|
.backup-preview-date {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.app-tour-root {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 10000;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.app-tour-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(2, 6, 23, 0.62);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-tour-backdrop--cutout {
|
|
background: rgba(2, 6, 23, 0.5);
|
|
}
|
|
|
|
.app-tour-spotlight {
|
|
position: fixed;
|
|
border-radius: 12px;
|
|
border: 2px solid #38bdf8;
|
|
box-shadow:
|
|
0 0 0 1px rgba(255, 255, 255, 0.22),
|
|
0 0 32px rgba(56, 189, 248, 0.5),
|
|
0 12px 40px rgba(0, 0, 0, 0.35);
|
|
pointer-events: none;
|
|
z-index: 10001;
|
|
}
|
|
|
|
body.app-tour-active .app-tour-target-active {
|
|
position: relative;
|
|
z-index: 10001 !important;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.app-tour-tooltip {
|
|
position: fixed;
|
|
z-index: 10002;
|
|
box-sizing: border-box;
|
|
width: min(420px, calc(100vw - 32px));
|
|
max-width: calc(100vw - 32px);
|
|
padding: 20px 20px 16px;
|
|
border-radius: 16px;
|
|
background: #1e293b;
|
|
border: 1px solid rgba(148, 163, 184, 0.45);
|
|
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.app-tour-tooltip:not(.centered) {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.app-tour-tooltip:not(.centered).app-tour-tooltip--anchored {
|
|
transform: none;
|
|
}
|
|
|
|
.app-tour-tooltip.centered {
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: min(420px, calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
|
|
max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
|
|
}
|
|
|
|
.app-tour-close {
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 32px;
|
|
height: 32px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: #94a3b8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.app-tour-close:hover {
|
|
background: rgba(148, 163, 184, 0.12);
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.app-tour-progress {
|
|
margin: 0 0 8px;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.app-tour-title {
|
|
margin: 0 0 8px;
|
|
font-size: 20px;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.app-tour-body {
|
|
margin: 0 0 16px;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.app-tour-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.app-tour-link {
|
|
border: none;
|
|
background: transparent;
|
|
color: #cbd5e1;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
}
|
|
|
|
.app-tour-link:hover {
|
|
color: #e2e8f0;
|
|
}
|
|
|
|
.app-tour-nav {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-left: auto;
|
|
}
|
|
|
|
.app-tour-nav-btn {
|
|
width: auto;
|
|
padding: 8px 14px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.app-tour-tooltip {
|
|
padding: 18px 16px 14px;
|
|
}
|
|
|
|
.app-tour-actions {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
|
|
.app-tour-nav {
|
|
margin-left: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.app-tour-nav-btn {
|
|
flex: 1;
|
|
justify-content: center;
|
|
min-width: 0;
|
|
}
|
|
}
|
|
|
|
body.app-tour-active .pwa-install-banner {
|
|
display: none !important;
|
|
}
|
|
|
|
body.app-tour-active .disclaimer-modal-overlay.feedback-modal-overlay--tour {
|
|
z-index: 9990;
|
|
pointer-events: none;
|
|
}
|
|
|
|
body.app-tour-active .feedback-modal-overlay--tour .disclaimer-modal-panel {
|
|
pointer-events: none;
|
|
}
|