/* Fleet operations — navy, sea blue, fine borders, generous photographic cards. */
.ops-vessels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:24px 0}.ops-vessel{background:#fff;border:1px solid #dde6ec;border-radius:20px;overflow:hidden;box-shadow:0 8px 28px #102e4608}.ops-vessel-cover{height:205px;position:relative;background:#e1edf4}.ops-vessel-cover img{width:100%;height:100%;object-fit:cover}.ops-vessel-cover>.badge{position:absolute;bottom:15px;left:15px;box-shadow:0 4px 15px #0002}.ops-vessel-content{padding:23px}.ops-vessel-content h2{font-size:21px;line-height:1.3;margin:9px 0 18px}.ops-specs{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding-bottom:18px;border-bottom:1px solid #e8eef3}.ops-specs strong,.ops-specs small{display:block}.ops-specs strong{font-size:15px}.ops-specs small{font-size:11px;color:#647889;margin-top:4px}.ops-dl{font-size:12px;margin:16px 0}.ops-dl>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0}.ops-dl dt{color:#617586}.ops-dl dd{margin:0;font-weight:600;text-align:right}.ops-equipment{font-size:12px;color:#657888;min-height:34px;line-height:1.6}.ops-vessel details{border-top:1px solid #e8eef3;padding:15px 0;margin:12px 0 0}.ops-vessel summary{cursor:pointer;font-size:12px;font-weight:600}.ops-vessel .actions{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}.ops-task{border-bottom:1px solid #e4edf3;padding:13px 0;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ops-task small{display:block;font-size:11px;color:#657888;margin-top:5px}.ops-task p{font-size:12px}.ops-period-label{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:18px 0 24px;color:#617586;font-size:13px}.ops-period-label strong{color:#102e46}.ops-period-label .btn{margin-left:6px}.ops-roster{min-width:950px}.ops-roster th{min-width:130px}.ops-roster th:first-child{min-width:190px}.ops-roster th small{display:block;margin:6px 0 10px;color:#657888;font-weight:400}.ops-shift{background:#f0f8fd;border:1px solid #d4e9f7;border-left:3px solid #009ee3;border-radius:10px;padding:13px 10px;text-align:left;color:#102e46;width:100%;cursor:pointer;font:inherit;transition:background .2s}.ops-shift:hover{background:#e0f2ff}.ops-shift strong{display:block;font-size:12px;white-space:nowrap}.ops-shift small{display:block;font-size:10px;color:#637a8b;margin:4px 0}.ops-shift.rest{background:#f3f4f7;border-color:#dfe4eb;border-left-color:#a5afbb}.ops-shift.base{border-left-style:dashed}.ops-shift.selected{background:#102e46;color:white;border-color:#102e46}.ops-shift.selected small{color:#c6e7f9}.ops-year{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.ops-month{border:1px solid #dde7ed;border-radius:16px;background:white;padding:22px;text-align:left;color:#102e46;cursor:pointer;font:inherit}.ops-month:hover{border-color:#009ee3}.ops-month span{display:block;text-transform:capitalize;font-weight:600}.ops-month strong{display:block;font-size:34px;margin:20px 0 6px}.ops-month small{color:#6c8091;font-size:11px}.ops-month-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));gap:7px;min-width:770px}.ops-month-grid>strong{font-size:11px;text-align:center;padding:12px}.ops-month-grid>div{border:1px solid #e5edf2;padding:9px;min-height:113px;border-radius:10px}.ops-month-grid>div>span{display:block;font-size:12px;margin-bottom:6px}.ops-month-grid .ops-shift{padding:8px 5px}.ops-month-grid .ops-shift strong{font-size:10px}.ops-outside{opacity:.4}.px-panel:has(.ops-month-grid){overflow:auto}.ops-employee-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:25px 0}.ops-weekdays{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.ops-weekdays label,.ops-checkbox{display:flex!important;align-items:center;gap:8px;font-size:13px}.ops-weekdays input,.ops-checkbox input{width:18px!important;min-height:18px!important;height:18px!important;margin:0!important;accent-color:#009ee3}.ops-checkbox{padding:10px 0}.ops-service-cover{display:flex;gap:22px;align-items:center;margin-bottom:20px}.ops-service-cover img{width:180px;height:125px;object-fit:cover;border-radius:14px}.ops-service-cover h3{margin:9px 0;font-size:22px}.ops-service-cover p{font-size:13px}.ops-stats-filter{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important}.ops-stats-filter label,.px-filter-surface label{font-size:11px;color:#607789;display:flex;flex-direction:column;gap:7px;flex:1;min-width:120px}.ops-stats-filter input,.ops-stats-filter select{width:100%;min-width:0!important}.ops-stats-filter .btn{align-self:end;height:44px}.ops-rank-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 20px;flex-wrap:wrap}.ops-rank-toolbar h2{font-size:23px;margin-bottom:7px}.ops-rank-toolbar p{font-size:12px;color:#6d8090}.ops-rank-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ops-ranking{background:linear-gradient(145deg,#fff,#f4f9fc);border-radius:20px}.ops-ranking .px-panel-head h2{font-size:24px;letter-spacing:-.6px;margin:8px 0}.ops-ranking .px-panel-head p{font-size:11px;color:#6d8090}.ops-trophy{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;color:#87691c;background:#faf2d6;font-size:28px}.ops-rank{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid #e1ebf2}.ops-rank:first-of-type .ops-rank-photo img{border:2px solid #d0b56c}.ops-rank-photo{position:relative;flex:none}.ops-rank-photo img{width:82px;height:67px;object-fit:cover;border-radius:12px}.ops-rank-photo b{position:absolute;bottom:-5px;left:-5px;color:#fff;background:#102e46;border:2px solid #fff;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:11px}.ops-rank>div:nth-child(2){flex:1;min-width:0}.ops-rank strong{font-size:12px;display:block;line-height:1.5}.ops-rank small,.ops-rank span{font-size:10px;display:block;color:#647c8d;margin-top:3px}.ops-rank-value{text-align:right;flex-shrink:0}.ops-rank-value strong{font-size:20px;letter-spacing:-.6px}.ops-ranking .empty-state{padding:30px 15px}.portal-content td>small{display:block;color:#6c8091;font-size:10px;margin-top:5px}.modal form>label{display:flex;flex-direction:column;gap:7px;font-size:13px;margin:14px 0}.modal .form-grid>label{display:flex;flex-direction:column;gap:7px;font-size:13px}.ops-rank-grid+.px-info-note{margin:20px 0 28px}
@media(min-width:1700px){.ops-vessels{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1300px){.ops-vessels{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-rank-grid{grid-template-columns:1fr}.ops-year{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.ops-vessels{grid-template-columns:1fr;gap:18px}.ops-vessel-cover{height:220px}.ops-vessel-content{padding:20px}.ops-year{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ops-month{padding:16px}.ops-employee-days{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-stats-filter{grid-template-columns:1fr 1fr!important;gap:12px!important}.ops-rank-photo img{width:60px;height:58px}.ops-rank{gap:10px}.ops-rank-value strong{font-size:17px}.ops-service-cover{align-items:flex-start;flex-direction:column}.ops-service-cover img{width:100%;height:170px}.ops-rank-toolbar h2{font-size:21px}.ops-ranking{padding:20px}.ops-period-label{font-size:12px}}
.ops-ranking-date{display:flex;align-items:end;gap:12px;margin-top:14px}.ops-ranking-date label{font-size:11px;color:#607789;display:flex;flex-direction:column;gap:5px}.ops-ranking-date input{min-height:36px;padding:7px 10px;font-size:12px}.ops-ranking-date button{margin-bottom:1px}
/* Billing workspace */
.bill-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(115deg,#102e46,#175371);padding:32px 36px;border-radius:20px;color:white;margin-bottom:20px;position:relative;overflow:hidden}.bill-hero .px-eyebrow{color:#8dcdf0;letter-spacing:2px;font-size:10px}.bill-hero h2{font-size:31px;letter-spacing:-1px;margin:12px 0}.bill-hero p{font-size:13px;color:#c1d9e6}.bill-hero-seal{font-size:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ffffff25;border-radius:50%;width:126px;height:126px;flex-shrink:0;color:#ffed00}.bill-hero-seal span{font-size:7px;letter-spacing:1px;color:#d0e0e8;margin-top:8px}.bill-filter{margin:22px 0;padding:26px;border-radius:18px;border-color:#dce7ef}.bill-search{margin-bottom:22px}.bill-filter label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;color:#607789}.bill-search input{font-size:15px;padding:16px 18px;background:#f6faff;border:1px solid #d5e6f2;border-radius:10px;min-width:0}.bill-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.bill-filter-grid input,.bill-filter-grid select{min-width:0;width:100%;font-size:12px}.bill-advanced{border-top:1px solid #e3ecf3;margin-top:20px;padding-top:18px}.bill-advanced summary{font-size:12px;cursor:pointer;color:#37627d;font-weight:600}.bill-advanced .bill-filter-grid{margin-top:18px}.bill-filter-actions{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:24px}.bill-filter-actions small{font-size:10px;color:#748b9b}.bill-ledger{padding:0;overflow:hidden;border-radius:18px}.bill-ledger .px-panel-head{padding:25px 26px;margin:0}.bill-ledger h2{font-size:21px;margin:8px 0}.bill-ledger .px-panel-head p{font-size:11px;color:#718698}.bill-ledger table{min-width:1170px;margin-bottom:0}.bill-ledger th{font-size:9px;letter-spacing:.7px;text-transform:uppercase;background:#f5f9fc;padding:15px}.bill-ledger td{padding:20px 15px;font-size:12px;border-bottom:1px solid #eaf0f5;vertical-align:top}.bill-ledger td>strong{font-size:12px}.bill-ledger td>small,.bill-document small,.bill-boat small{display:block;color:#708799;font-size:10px;margin-top:5px}.bill-document{display:flex;align-items:start;gap:10px;min-width:200px}.bill-document>span{width:32px;height:38px;border:1px solid #d4e5f0;border-radius:6px;color:#009ee3;display:grid;place-items:center;background:#f3faff;font-size:19px;flex-shrink:0}.bill-document strong{font-size:11px;word-break:break-word}.bill-draft{display:block;color:#8a99a6;font-size:9px;margin-top:7px}.bill-boat{display:flex;align-items:center;gap:10px;min-width:185px}.bill-boat img{width:45px;height:40px;border-radius:7px;object-fit:cover}.bill-boat strong{font-size:11px}.bill-link{background:none;color:#0089c4;font-size:10px;padding:7px 0 0;text-align:left;display:block}.bill-row-actions{display:flex;flex-direction:column;gap:7px;min-width:135px}.bill-row-actions .btn{padding:7px 10px;font-size:10px;white-space:nowrap}.bill-pending{color:#95651e;font-weight:600}.bill-preview-heading{padding:22px;border-radius:12px;background:linear-gradient(115deg,#102e46,#175371);color:white;margin-bottom:20px}.bill-preview-heading .px-eyebrow{color:#9ed9f5;font-size:9px}.bill-preview-heading h2{margin:12px 0}.bill-preview-heading>strong{display:block;font-size:12px;font-weight:400;color:#d1e7f3}
/* Daily fleet: natural document height, no internal horizontal or vertical scroll. */
.cal-scroll.cal-day-expanded{max-height:none;height:auto;overflow:visible;overscroll-behavior:auto}.cal-day-expanded .cal-day-grid{width:100%;min-width:0}.cal-day-expanded .cal-axis,.cal-day-expanded .cal-day-row{grid-template-columns:minmax(145px,21%) minmax(0,1fr)}.cal-day-expanded .cal-resource,.cal-day-expanded .cal-sticky-label{position:static;min-width:0;padding:10px}.cal-day-expanded .cal-axis{position:static}.cal-day-expanded .cal-boat-label{min-width:0}.cal-day-expanded .cal-boat-label strong{overflow-wrap:anywhere}.cal-day-expanded .cal-day-track,.cal-day-expanded .cal-axis-hours{min-width:0}.cal-day-expanded .cal-position{min-width:0}.cal-day-expanded .cal-event-time{white-space:normal;overflow-wrap:anywhere}.cal-day-expanded .cal-free-label{left:10px}.cal-full-day .cal-footnote{line-height:1.6}
@media(max-width:1000px){.bill-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.bill-hero{padding:25px}.bill-hero h2{font-size:25px}.bill-hero-seal{display:none}.bill-filter{padding:18px}.bill-filter-actions{flex-direction:column;align-items:start}.bill-filter-grid{gap:12px}.bill-filter label{font-size:10px}.bill-ledger .px-panel-head{padding:20px}.bill-search input{font-size:12px;padding:13px}.cal-day-expanded .cal-axis,.cal-day-expanded .cal-day-row{grid-template-columns:112px minmax(0,1fr)}.cal-day-expanded .cal-boat-label{gap:5px}.cal-day-expanded .cal-boat-label img{width:27px;height:28px}.cal-day-expanded .cal-boat-label strong{font-size:9px}.cal-day-expanded .cal-boat-label small{font-size:7px}.cal-day-expanded .cal-resource{padding:6px}.cal-day-expanded .cal-axis-hours{margin:0 8px}.cal-day-expanded .cal-axis-hours>span{font-size:7px}.cal-day-expanded .day-event{padding:4px}.cal-day-expanded .day-event strong{font-size:8px}.cal-day-expanded .day-event .cal-event-time{font-size:7px}.cal-day-expanded .cal-day-track{margin:0 8px}.cal-day-expanded .cal-free-label{font-size:8px;left:4px;max-width:75%}}
/* Employee month: complete seven-column calendar, including on mobile. */
.emp-calendar{padding:0;border-radius:20px;overflow:hidden}.emp-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:25px;background:linear-gradient(115deg,#f1f8fd,#fff)}.emp-calendar-toolbar h2{font-size:26px;letter-spacing:-.7px;text-transform:capitalize;margin:9px 0 0}.emp-calendar-toolbar .px-eyebrow{font-size:9px}.emp-calendar-toolbar .actions{gap:7px}.emp-calendar-toolbar .actions button:first-child,.emp-calendar-toolbar .actions button:last-child{min-width:38px}.emp-calendar-jump{display:flex;align-items:end;gap:10px}.emp-calendar-jump label{font-size:10px;color:#647e91;display:flex;flex-direction:column;gap:6px}.emp-calendar-jump input{font-size:12px;padding:8px 10px;min-height:36px}.emp-calendar-weekdays,.emp-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.emp-calendar-weekdays{border-top:1px solid #e0eaf1;border-bottom:1px solid #e0eaf1;background:#f6fafc}.emp-calendar-weekdays span{text-align:center;font-size:10px;font-weight:600;color:#6b8191;padding:13px 0;text-transform:uppercase;letter-spacing:.6px}.emp-calendar-day{min-width:0;min-height:148px;background:white;border-right:1px solid #e4edf3;border-bottom:1px solid #e4edf3;padding:13px 10px;display:flex;align-items:flex-start;flex-direction:column;gap:7px;color:#102e46;text-align:left;font:inherit;cursor:pointer;position:relative}.emp-calendar-day:nth-child(7n){border-right:0}.emp-calendar-day:hover{background:#f0f8fe}.emp-calendar-day:focus-visible{outline:2px solid #009ee3;outline-offset:-3px;z-index:1}.emp-calendar-day.outside{background:#f8fafc;color:#8397a5}.emp-calendar-day.outside .emp-day-shift{opacity:.6}.emp-calendar-day.rest{background:#f4f5f8}.emp-calendar-day.selected{background:#eaf6fe;box-shadow:inset 0 0 0 2px #009ee3}.emp-day-number{font-size:13px;font-weight:600;line-height:1.8;min-width:25px;text-align:center}.emp-calendar-day.today .emp-day-number{background:#102e46;color:white;border-radius:50%}.emp-day-shift{font-size:12px;display:flex;gap:3px;flex-wrap:wrap;line-height:1.5}.emp-day-source{font-size:9px;color:#718798}.emp-day-trips{display:inline-block;font-size:9px;padding:4px 7px;background:#dff2ff;color:#0974ac;border-radius:5px;font-weight:600}.emp-day-boat{font-size:9px;line-height:1.5;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#60798b}.emp-day-warning{font-size:9px;color:#9d6b1b;line-height:1.4}.emp-calendar-legend{padding:18px 24px;display:flex;gap:18px;flex-wrap:wrap;align-items:center;font-size:10px;color:#6d8292}.emp-calendar-legend>span{display:flex;gap:6px;align-items:center}.emp-calendar-legend i{width:8px;height:8px;display:inline-block;border-radius:50%}.emp-work-dot{background:#009ee3}.emp-rest-dot{background:#abb2bf}
@media(max-width:850px){.emp-calendar-day{padding:10px 7px;min-height:135px}.emp-day-shift{font-size:10px}.emp-calendar-toolbar h2{font-size:23px}}@media(max-width:540px){.emp-calendar-toolbar{padding:18px 14px;gap:15px}.emp-calendar-toolbar h2{font-size:21px}.emp-calendar-toolbar>.actions{margin-left:auto}.emp-calendar-jump{width:100%}.emp-calendar-jump label{flex:1}.emp-calendar-day{min-height:112px;padding:7px 3px;gap:4px}.emp-day-number{font-size:11px;min-width:20px;line-height:1.8}.emp-day-shift{font-size:9px;gap:0;flex-direction:column;line-height:1.35}.emp-time-divider{display:none}.emp-day-source{font-size:7px;line-height:1.35;overflow-wrap:anywhere}.emp-day-trips{font-size:7px;padding:3px}.emp-day-boat{display:none}.emp-day-warning{font-size:7px;overflow-wrap:anywhere}.emp-calendar-weekdays span{font-size:8px;padding:10px 0}.emp-calendar-legend{padding:15px 12px;font-size:9px;gap:10px}.emp-calendar-toolbar .px-eyebrow{font-size:8px}.emp-calendar-day.selected{box-shadow:inset 0 0 0 1.5px #009ee3}}
