:root { --bs-primary: #123f45; --bs-primary-rgb: 18, 63, 69; --bs-link-color: #123f45; --bs-link-hover-color: #0b3035; }
body { background: #faf8f3; color: #243b3e; }
a { color: #176168; }
a:hover { color: #123f45; }
.btn-primary { --bs-btn-color: #fff; --bs-btn-bg: #123f45; --bs-btn-border-color: #123f45; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #0b3035; --bs-btn-hover-border-color: #0b3035; --bs-btn-focus-shadow-rgb: 18, 63, 69; --bs-btn-active-bg: #0b3035; --bs-btn-active-border-color: #0b3035; }
.btn-outline-primary { --bs-btn-color: #123f45; --bs-btn-border-color: #123f45; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #123f45; --bs-btn-hover-border-color: #123f45; --bs-btn-active-bg: #0b3035; --bs-btn-active-border-color: #0b3035; }
.form-check-input:checked { background-color: #123f45; border-color: #123f45; }
.form-check-input:focus, .btn:focus-visible { border-color: #4d8589; box-shadow: 0 0 0 .2rem rgba(18, 63, 69, .14); }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.rimo-brand { display: inline-flex; align-items: center; gap: .7rem; color: #123f45; font-size: 1.4rem; font-weight: 800; letter-spacing: .04em; line-height: 1; text-decoration: none; white-space: nowrap; }
.rimo-brand:hover { color: #123f45; }
.rimo-brand img { display: block; max-width: 100%; height: auto; }
.rimo-brand small { display: block; margin-top: .25rem; font-size: .55rem; letter-spacing: .38em; font-weight: 700; }
.rimo-brand-mark { display: inline-grid; width: 2.65rem; height: 2.65rem; place-items: center; border-radius: .8rem; background: #123f45; color: #fff; font-size: 1.45rem; }
#sidebar .sidebar-header { padding-top: 1.6rem; padding-bottom: .7rem; }
#sidebar .sidebar-wrapper { background: #fff; }
#sidebar .sidebar-item.active .sidebar-link { background: #123f45; }
#sidebar .sidebar-item.active .sidebar-link:hover { background: #0b3035; }
#sidebar .sidebar-item:not(.active) .sidebar-link { color: #345457; }
#sidebar .sidebar-item:not(.active) .sidebar-link:hover { color: #123f45; background: #edf4f0; }
#sidebar .sidebar-menu { padding-top: .5rem; }
#sidebar .sidebar-title { letter-spacing: .075em; text-transform: uppercase; font-size: .72rem; }
#sidebar .sidebar-item .sidebar-link { border-radius: .75rem; }
#sidebar .sidebar-item .sidebar-link:focus-visible, .rimo-shortcut:focus-visible, .burger-btn:focus-visible, .sidebar-hide:focus-visible { outline: 3px solid #f97316; outline-offset: 2px; }
.rimo-topbar { min-height: 5rem; padding: .85rem 1.75rem; margin-bottom: 1.5rem; border-radius: 1rem; background: #fff; box-shadow: 0 5px 20px rgba(18, 63, 69, .05); }
.rimo-topbar-title { font-size: 1.02rem; font-weight: 700; color: #123f45; }
.rimo-topbar .burger-btn { font-size: 1.75rem; line-height: 1; }
.rimo-user { line-height: 1.15; }
.rimo-user strong, .rimo-user small { display: block; }
.rimo-user small { margin-top: .2rem; color: #79869a; font-size: .75rem; }
.rimo-avatar { display: inline-grid; width: 2.45rem; height: 2.45rem; flex: none; place-items: center; border-radius: .8rem; background: #e8f1ef; color: #123f45; font-weight: 800; }
#main.layout-navbar { min-height: 100vh; padding: 1.5rem 2rem 0; }
.rimo-content { min-width: 0; }
.rimo-content h1 { color: #123f45; font-weight: 750; }
.rimo-content h2, .rimo-content h3 { color: #1c4d52; }
.rimo-content > .d-flex:first-child, .rimo-content > .row:first-child { margin-bottom: 1.25rem; }
.rimo-footer { padding: 1.5rem 0 2rem; color: #8995a8; font-size: .85rem; }
.rimo-content .card, .rimo-content .table-responsive.bg-white, .rimo-content .calendar-day { border: 1px solid #e4e9e5; border-radius: 1rem; box-shadow: 0 7px 24px rgba(18, 63, 69, .045) !important; }
.rimo-content .card-body { padding: 1.4rem; }
.rimo-content .table-responsive.bg-white { overflow: auto; }
.rimo-content .table { color: #35435b; }
.rimo-content .table thead th { padding: .95rem 1rem; background: #f7faf7; color: #65758d; font-size: .75rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid #e4e9e5; }
.rimo-content .table td { padding: .85rem 1rem; vertical-align: middle; }
.rimo-content .table tbody tr:last-child td { border-bottom: 0; }
.rimo-content .table-striped > tbody > tr:nth-of-type(odd) > * { background: #fff; }
.rimo-content .table-striped > tbody > tr:nth-of-type(even) > * { background: #fcfdfa; }
.rimo-content .table .btn, .rimo-content .table .form-select, .rimo-content .table .form-control { white-space: nowrap; }
.rimo-content .form-label { font-weight: 650; color: #435270; }
.rimo-content .form-control, .rimo-content .form-select { border-color: #d8e1dd; border-radius: .65rem; }
.rimo-content .form-control:focus, .rimo-content .form-select:focus { border-color: #4d8589; box-shadow: 0 0 0 .2rem rgba(18, 63, 69, .14); }
.rimo-content .btn { border-radius: .65rem; }
.rimo-content .form-card { max-width: 900px; }
.rimo-content details > summary { color: #123f45; cursor: pointer; font-weight: 650; }
.rimo-content details[open] > summary { margin-bottom: .75rem; }
.rimo-content .alert { border-radius: .75rem; }
.rimo-empty { display: grid; justify-items: center; gap: .5rem; padding: 2rem; border: 1px dashed #ceded6; border-radius: 1rem; background: #fcfdfa; color: #79869a; text-align: center; }
.rimo-empty i { font-size: 2rem; color: #87aaa2; }
.rimo-flow { display: flex; flex-wrap: wrap; gap: .5rem; }
.rimo-flow-step { padding: .55rem .9rem; border-radius: 999px; background: #e8f1ef; color: #6b7890; font-size: .84rem; font-weight: 700; }
.rimo-flow-step.active { background: #123f45; color: #fff; }
.rimo-flow-step.done { background: #e7f5ed; color: #24734b; }
.rimo-next-action { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 1.5rem; border: 1px solid #c6ded8; border-radius: 1rem; background: #f0f7f3; }
.rimo-next-action strong { display: block; margin-bottom: .3rem; color: #123f45; }
.rimo-next-action p { color: #536d69; font-size: .91rem; }
.rimo-money-card { display: grid; gap: .3rem; padding: 1.15rem 1.4rem; border: 1px solid #e4e9e5; border-radius: 1rem; background: #fff; box-shadow: 0 7px 24px rgba(18, 63, 69, .045); }
.rimo-money-card span { color: #6b7890; font-size: .84rem; }
.rimo-money-card strong { color: #1c4d52; font-size: 1.65rem; line-height: 1.2; }
.rimo-money-card-due { border-color: #bad8d0; background: #f7faf7; }
.rimo-money-card-due strong { color: #123f45; }
.rimo-action-panel { padding: 1rem; border: 1px solid #e4e9e5; border-radius: .8rem; background: #f7faf7; scroll-margin-top: 1rem; }
.rimo-session-close { min-width: 220px; max-width: 280px; }
.rimo-session-close .form-select { white-space: normal !important; }
.rimo-welcome { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; overflow: hidden; padding: 2rem 2.2rem; border-radius: 1.15rem; background: linear-gradient(120deg, #123f45, #2a6063); color: #fff; }
.rimo-welcome h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.rimo-welcome p { color: #e9f1ec; }
.rimo-eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rimo-welcome-symbol { width: 112px; height: 112px; flex: none; border-radius: 1.2rem; opacity: .82; }
.rimo-shortcut { position: relative; color: inherit; text-decoration: none; transition: transform .16s, box-shadow .16s; }
.rimo-shortcut:hover { transform: translateY(-3px); color: inherit; box-shadow: 0 14px 30px rgba(18, 63, 69, .12) !important; }
.rimo-shortcut-icon { display: inline-grid; width: 3rem; height: 3rem; place-items: center; border-radius: .8rem; background: #e8f1ef; color: #123f45; font-size: 1.35rem; }
.rimo-shortcut-arrow { position: absolute; top: 1.4rem; right: 1.4rem; color: #91aaa4; }
#auth.rimo-auth { height: auto; min-height: 100vh; min-height: 100dvh; background: #fff; }
#auth .rimo-auth-layout { min-height: 100vh; min-height: 100dvh; }
#auth #auth-left.rimo-auth-left { display: flex; min-height: 100vh; min-height: 100dvh; flex-direction: column; justify-content: center; max-width: 710px; margin: auto; padding: 3rem clamp(1.5rem, 5vw, 5rem); }
#auth .rimo-auth-brand { align-self: flex-start; margin-bottom: clamp(3rem, 9vh, 6rem); }
#auth .rimo-auth-brand img { width: 220px; height: auto; }
#auth .rimo-auth-form { width: 100%; max-width: 480px; }
#auth .rimo-auth-form .rimo-eyebrow { margin-bottom: .75rem; color: #f97316; }
#auth #auth-left .auth-title { margin: 0 0 .65rem; color: #123f45; font-size: clamp(2.25rem, 4vw, 3.3rem); line-height: 1.12; }
#auth #auth-left .auth-subtitle { max-width: 26rem; margin-bottom: 2rem; color: #607775; font-size: 1.05rem; line-height: 1.6; }
#auth .rimo-auth-form .form-label { color: #345457; font-weight: 700; }
#auth .rimo-auth-form .form-control { border: 1px solid #d8e1dd; border-radius: .8rem; color: #123f45; font-size: 1rem; }
#auth .rimo-auth-form .form-control:focus { border-color: #4d8589; box-shadow: 0 0 0 .2rem rgba(18, 63, 69, .14); }
#auth .rimo-auth-form .form-control-icon { top: 2.75rem; }
#auth .rimo-auth-form .btn { border-radius: .8rem; }
#auth .rimo-auth-help { margin-top: 2rem; color: #809390; font-size: .9rem; text-align: center; }
#auth #auth-right.rimo-auth-right { position: relative; display: flex; align-items: flex-end; min-height: 100vh; min-height: 100dvh; overflow: hidden; padding: clamp(2.5rem, 6vw, 6rem); color: #fff; background: radial-gradient(circle at 78% 20%, #28666a 0, transparent 38%), linear-gradient(145deg, #123f45, #0b3035); }
#auth #auth-right.rimo-auth-right::before { position: absolute; top: -12rem; right: -12rem; width: 36rem; height: 36rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 50%; content: ''; }
#auth .rimo-auth-message { position: relative; max-width: 530px; }
#auth .rimo-auth-symbol { display: block; width: 96px; height: 96px; margin-bottom: 2rem; border-radius: 1.25rem; }
#auth .rimo-auth-message .rimo-eyebrow { color: #ff9a50; }
#auth .rimo-auth-message h2 { color: #fff; font-size: clamp(2.4rem, 4vw, 4.2rem); font-weight: 800; line-height: 1.08; }
#auth .rimo-auth-message p:last-child { color: #dcebe7; font-size: 1.15rem; line-height: 1.6; }
@media (max-width: 767px) { #main.layout-navbar { padding: .75rem 1rem 0; } .rimo-topbar { margin-bottom: 1.1rem; padding: .75rem 1rem; } .rimo-content .card-body { padding: 1.1rem; } .rimo-content .table-responsive { overflow-x: auto; } .rimo-next-action { align-items: stretch; flex-direction: column; padding: 1rem; } .rimo-welcome { padding: 1.5rem; } .rimo-welcome-symbol { width: 80px; height: 80px; } }
@media (max-width: 575px) { .rimo-welcome-symbol { display: none; } .rimo-content .d-flex:has(> h1) { align-items: flex-start !important; } .rimo-content .table { min-width: 560px; } }
@media (max-width: 767px) { #auth #auth-left.rimo-auth-left { padding: 2rem 1.5rem; } #auth .rimo-auth-brand { margin-bottom: 3rem; } #auth .rimo-auth-brand img { width: 190px; } }


.calendar-grid { display: grid; gap: .75rem; }
.calendar-grid-week { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-grid-day { grid-template-columns: minmax(0, 1fr); }
.calendar-day { min-width: 0; background: #fff; border: 1px solid #dce3e9; border-radius: .5rem; overflow: hidden; }
.calendar-day-heading { display: flex; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; background: #e9eff3; }
.calendar-day-heading { background: #edf4f0; color: #1c4d52; border-bottom: 1px solid #e4e9e5; }
.calendar-day-events { display: grid; align-content: start; gap: .55rem; padding: .65rem; min-height: 7rem; }
.calendar-event { min-width: 0; overflow-wrap: anywhere; border-left: .25rem solid #5c7489; border-radius: .3rem; background: #f3f6f8; padding: .5rem .6rem; font-size: .875rem; }
.calendar-event { border-radius: .55rem; padding: .65rem .75rem; }
.calendar-event-confirmed { border-color: #16845b; background: #eaf7f0; }
.calendar-event-rescheduled { border-color: #7356a9; background: #f2edfa; }
.calendar-event-current { border-color: #bc7600; background: #fff6e4; }
.calendar-event-completed { border-color: #517990; background: #eef4f7; }
.calendar-event-cancelled, .calendar-event-missed { border-color: #ac5252; background: #f8eeee; }
@media (max-width: 1100px) { .calendar-grid-week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 650px) { .calendar-grid-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .calendar-grid-week { grid-template-columns: minmax(0, 1fr); } }
