
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#000;color:#fff;font-family:Arial,sans-serif}#root-content{max-width:500px;margin:auto;padding:12px}h1{font-size:27px}header p{color:#e7c883;font-size:12px}button,textarea{font:inherit}button{color:#fff;background:#0b1b24;border:1px solid #57717f;border-radius:8px;padding:14px;cursor:pointer}.dive-card{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left;margin:12px 0;padding:24px 14px}.dive-card small{color:#a6b5bd}.dive-card strong{font-size:20px}.next-page,.first-page{margin:10px}label{display:block;margin:24px 0}textarea{display:block;margin-top:10px;width:100%;min-height:180px;padding:14px;border-radius:8px;background:#172733;color:#fff}#error{color:#ffc2ab}#error:not(:empty){background:#fff4d6;color:#5a3200;border:1px solid #e6be68;border-radius:6px;padding:10px 12px;margin:8px 0;font-size:14px;line-height:1.45}h2{font-size:24px}label input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #57717f;border-radius:6px;background:#172733;color:#fff}img{width:100%;height:auto;max-height:240px;object-fit:cover}.dive-card img{max-height:140px}
.marine-choices label{margin:10px 0}.marine-choices input{display:inline;width:auto;margin-right:10px}details{margin:20px 0}.geographic-map svg{width:100%;height:auto;display:block;background:#0d3447;border:1px solid #57717f;border-radius:8px}.geographic-map>div{display:flex;gap:6px;margin:8px 0}.geographic-map button{padding:10px;font-size:13px}.place-card{display:flex;flex-direction:column;gap:10px;text-align:left;width:100%;margin:12px 0}.place-card small{display:block;color:#a6b5bd}pre{white-space:pre-wrap;overflow-wrap:anywhere}dialog{max-width:340px;background:#102330;color:#fff;border:1px solid #57717f;border-radius:8px;padding:20px}dialog::backdrop{background:#000b}dialog button{margin:8px 4px}.dive-card{display:block;background:#000;border:0;border-bottom:2px solid #4a5058;border-radius:0;padding:0 0 16px;margin:16px 0;text-align:left}.dive-card .card-photo{display:flex;align-items:center;justify-content:center;position:relative;aspect-ratio:1.7;border-radius:18px;overflow:hidden;background:#141a21;color:#7d858f;font-size:14px;width:100%}.dive-card .card-photo img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}.dive-card .card-meta{display:block;margin-top:14px;font-size:14px;letter-spacing:.3px}.dive-card strong{display:block;font-size:22px;line-height:1.15;margin-top:6px;overflow-wrap:anywhere}.dive-card .card-date{display:block;margin-top:6px;font-size:15px}#search{max-width:100%;padding:10px;background:#172733;color:#fff;border:1px solid #57717f;border-radius:6px}
.detail-home{display:block;font-size:13px;padding:8px 12px;margin:10px 0}.detail-fields input:focus{outline:1px solid #5aa9ff}.detail-screen .dive-title{display:flex;align-items:center;gap:8px;padding:10px 0}.dive-title>div{flex:1;min-width:0}.dive-title input{display:block;width:100%;background:none;border:0;color:#fff;font-size:22px;font-weight:700;padding:4px 0}.dive-title input[type=date]{font-size:15px;font-weight:400;color:#bbc6cc}.dive-title nav{display:flex;gap:4px}.dive-title button{padding:4px 12px;font-size:28px}.detail-bar{display:flex;gap:10px;align-items:center;background:#202a32;padding:8px}.detail-bar label{margin:0;min-width:0;font-size:11px}.detail-bar input{display:block;background:none;border:0;color:#fff;padding:4px 0;width:100%}.detail-bar label:nth-child(2){display:flex;align-items:center;font-size:20px}.detail-bar [data-field=n]{width:3ch;font:inherit}.detail-bar label:last-child{flex:1}.detail-badge{font-size:11px;border:1px solid #929da6;border-radius:5px;padding:6px}.detail-badge.ok{color:#62c780;border-color:#62c780}.detail-badge.over{color:#ffbf66;border-color:#ffbf66}.detail-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #56606a;border-bottom:1px solid #56606a}.detail-strip label{margin:0;padding:10px 2px;border-left:1px solid #56606a;text-align:center}.detail-strip label:first-child{border:0}.detail-strip img{width:auto;height:40px;max-width:80%;object-fit:contain;filter:invert(1)}.detail-strip b{display:block;font-size:11px;margin:6px 0}.detail-strip span{display:flex;align-items:baseline;justify-content:center;gap:3px}.detail-strip input{display:inline;width:60%;padding:0;background:none;border:0;text-align:right;font-size:28px;font-weight:700}.detail-strip small{font-size:12px}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;margin-top:12px}.detail-fields label{margin:0;padding:12px 0;border-bottom:1px solid #434d55;font-size:13px;min-width:0}.visibility-dots{display:flex;gap:3px;margin-top:5px}.visibility-dot{padding:2px;border:0;background:none;color:#777;font-size:17px}.visibility-dot[aria-pressed=true]{color:#40afff}.shore-choice{display:block;margin-top:6px;padding:4px 0;border:0;background:none;text-align:left;font-size:15px}.detail-fields details{grid-column:1/-1}.detail-fields input{padding:4px 0;border:0;background:none;font-size:15px}.calculation-details{font-size:13px}.detail-screen .profile{margin:0}.detail-screen .profile-gas-note,.detail-screen .profile-readout{font-size:12px;margin:6px 0}.detail-screen .profile-events{font-size:12px}.detail-screen .detail-photo:empty{display:none}.detail-screen .detail-photo img{display:block;max-height:none;width:100%;aspect-ratio:4/3;object-fit:cover}.detail-screen #notes{min-height:130px}.detail-screen .save{display:block;width:100%;margin:12px 0}

.country-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.country-track .country-card{margin:0;display:block;border:1px solid #53616c;border-radius:4px;overflow:hidden;min-width:0}.country-picture{display:block;width:100%;aspect-ratio:1.2;position:relative;padding:0;border:0;border-radius:0;overflow:hidden;background:#0b1922}.country-picture img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}.country-label{position:absolute;bottom:8px;left:8px;right:8px;font-size:11px;text-transform:uppercase;text-align:left;text-shadow:0 1px 4px #000}.country-actions{display:flex;align-items:center;min-height:44px}.country-actions button{border:0;background:#040c12;border-radius:0;min-height:44px;font-size:11px;padding:8px}.country-enter{flex:1;text-align:right}.gateway-banner{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.country-gateway>header{display:none}.country-gateway>p{font-size:12px;color:#a9c1ce}@media(orientation:landscape){.country-track{grid-template-columns:repeat(4,minmax(0,1fr))}}

.home-tools{display:flex;gap:6px;flex-wrap:wrap}.home-tools button{padding:8px;font-size:12px}.dive-list.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.grid-dive{min-width:0;position:relative;overflow:hidden;border:1px solid #53616c;border-radius:7px}.grid-dive .card-photo{display:block;aspect-ratio:1.4;position:relative;background:#172733;color:#9aaebd;font-size:12px}.grid-dive .card-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.grid-dive-text{display:block;width:100%;border:0;border-radius:0;padding:10px 8px;text-align:left;background:#030a0f}.grid-dive-text small,.grid-dive-text strong{display:block;overflow-wrap:anywhere}.grid-dive-text small{font-size:10px;color:#adbdc7}.grid-dive-text strong{font-size:13px;margin:7px 0}.grid-delete{position:absolute;right:0;top:0;width:44px;height:44px;min-height:44px;padding:0;background:#000a;border:0;border-radius:0;font-size:24px}

.map-site-rail{display:flex;gap:8px;overflow-x:auto;margin:10px 0}.map-site-rail .place-card{flex:0 0 140px;margin:0;font-size:13px;padding:10px}.selected-map-card{border:1px solid #32b8ef;border-radius:12px;padding:10px;margin:12px 0;background:linear-gradient(120deg,#081925,#020912)}.selected-map-card header{display:flex;align-items:start;gap:8px}.selected-map-card h2{font-size:20px;flex:1;margin:0}.close-map-card{padding:0;width:44px;height:44px;font-size:24px;flex:none}.map-card-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.map-card-photo img{width:100%;height:auto;max-height:none;border-radius:7px}.map-card-photo p{font-size:12px;color:#a7c4d5}.map-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}.map-card-metrics small,.map-card-metrics strong{display:block;font-size:12px;overflow-wrap:anywhere}.map-card-metrics small{color:#abc6d5;font-size:10px}.map-visit{max-width:100%;padding:8px 0;background:#102734;color:#fff;margin:8px 0}.selected-map-card>p{font-size:11px;color:#a9c5d4}.selected-map-card .saved-marine img{width:30px;height:30px}.sitetype-other-entry{display:flex;gap:8px;margin-top:10px}.sitetype-other-entry input{flex:1;padding:8px;font-size:14px}.sitetype-other-entry button{padding:8px 12px;font-size:13px}.mc-start-dive{flex:none;height:30px;padding:0 10px;border:1px solid #9bb;border-radius:8px;background:#fff;font-weight:700;color:#2f8fbf;font-size:12px}.selected-map-card .open-map-dive,.open-map-dive{padding:8px;font-size:12px;background:#fff;border:1px solid #9bb;border-radius:8px;color:#2f8fbf;font-weight:700}
.detail-photo{margin:10px 0}.open-photo{width:100%;padding:0;background:none;border:0;color:#b8cbd8}.open-photo img{margin-bottom:6px}.photo-viewer{width:min(92vw,1100px);max-width:92vw;max-height:90vh;padding:10px;overflow:auto}.photo-viewer .full-photo img{display:block;max-height:78vh;max-width:100%;width:auto;height:auto;margin:8px auto;object-fit:contain}.close-photo{min-height:44px}.detail-photo .open-photo{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;font-size:0}.detail-photo .open-photo img{position:absolute;max-width:none;max-height:none;aspect-ratio:auto;margin:0}.detail-photo .open-photo:disabled{font-size:14px}.edit-photo-position,.set-photo-position,.cancel-photo-position{min-height:44px}.position-zoom-in,.position-zoom-out{width:44px;height:44px}.detail-photo.no-photo .open-photo{aspect-ratio:auto;min-height:44px}.detail-photo.no-photo .edit-photo-position,.detail-photo.no-photo .replace-photo{display:none}.map-portrait{color:#36a6ff;font-size:13px}.map-legend{margin:8px 0}.map-legend>div{display:flex;align-items:center;gap:8px}.map-legend img{width:28px;height:34px;object-fit:contain}.map-mode-my[aria-pressed=true],.map-mode-famous[aria-pressed=true]{border-color:#39b6ff;color:#6acbff}.saved-marine{display:flex;flex-wrap:wrap;gap:8px}.saved-marine img{width:48px;height:48px;object-fit:contain}.marine-choices label{display:flex;align-items:center;gap:8px}.marine-choices input{width:auto}.map-card-photo .map-card-logo{width:72px;height:72px;object-fit:contain}.unpinned-dives{max-height:220px;overflow:auto}.pin-draft input{display:block;box-sizing:border-box;width:100%;padding:10px;margin:10px 0;font:inherit;background:#152c38;color:white;border:1px solid #57717f;border-radius:6px}
.research-banner{padding:12px;color:#e7c883;font:13px Arial}.modal-shade{position:fixed;inset:0;background:#000b;display:grid;place-items:center;z-index:10}.react-dialog{width:calc(100% - 36px);max-width:340px;max-height:85vh;overflow:auto;background:#102330;border:1px solid #57717f;border-radius:8px;padding:20px}.react-dialog pre{max-height:150px;overflow:auto;font-size:11px}.react-dialog button{margin:6px}.country-track img{width:100%}fieldset label input{display:inline;width:auto}
.dive-title label{margin:0;font-size:0}.dive-title input[data-field=date]{font-size:15px;font-weight:normal}.detail-photo .card-photo{display:block;min-height:50px}.detail-photo button{width:100%}.detail-photo img{max-height:260px;object-fit:contain}.dive-list.grid .dive-card{margin:0;min-width:0}.dive-list.grid .card-photo{aspect-ratio:1.3}.dive-list.grid strong{font-size:14px}form input{max-width:65%;padding:12px;background:#172733;color:white;border:1px solid #57717f;border-radius:6px}
.link-candidate{display:block;width:100%;text-align:left;margin:4px 0}
.link-candidate strong{display:inline-block;margin-right:6px}
.link-candidate small{display:block;opacity:.8}

.action-surface{border:0;margin:0;padding:0;min-width:0}.action-surface:disabled{opacity:.7}.action-wait{position:fixed;top:8px;left:50%;transform:translateX(-50%);z-index:20000;padding:12px 18px;background:#102330;border:1px solid #94c5dd;border-radius:8px;box-shadow:0 4px 16px #000b;max-width:90vw;text-align:center}

.react-dialog.add-country-modal{background:#0c171f;border-color:#65737f;border-radius:8px;padding:24px;max-width:370px}.add-country-modal h2{font-size:26px;margin:20px 0 28px}.add-country-modal label{font-size:17px;margin:20px 0}.add-country-modal select,.add-country-modal input[type=file]{display:block;width:100%;min-width:0;margin-top:10px;padding:12px;border:1px solid #8796a2;background:#1a2a35;color:#fff;font:inherit}.react-dialog.add-country-modal button{margin:6px 6px 0 0;padding:12px 10px;border-radius:5px;background:#07121a;border-color:#71808b;font-size:16px}.add-country-modal p:empty{display:none}
/* Retained Nov4 home/detail chrome over the current paged controller. */
.journal-home .app-title,.detail-screen .app-title{display:none}.journal-home{padding:4px!important}.journal-header{display:flex;align-items:center;gap:4px;min-height:72px}.journal-header h1{font-size:29px;line-height:1.04;letter-spacing:.4px;margin:0 0 0 48px;flex:1;max-width:205px}.journal-header img{width:34px;height:64px;object-fit:contain;flex:none}.journal-header button{padding:0;border:0}.journal-add{background:#1676ec;border-radius:50%;width:44px;height:44px;font-size:32px;flex:none}.journal-home .home-tools{justify-content:flex-end}.journal-home .home-tools button:first-child{display:none}.journal-home>.action-surface>p{color:#b4bec7;font-size:13px}.legacy-layout-control{display:none}.journal-search{display:flex;gap:8px;align-items:center}.journal-search input{flex:1;max-width:none;width:0;background:#cbd0d5;color:#24323d;font-size:11px;text-transform:uppercase}.journal-search>button{padding:10px;font-size:12px}.journal-search .layout-toggle{font-size:23px}.dive-list.journal{margin-top:28px}.dive-list.journal .dive-card{padding:0 0 20px;margin:0 0 20px}.journal-home .backup-bar{background:#10171c;border:1px solid #2b3944;border-radius:14px;padding:14px 12px;margin:30px 10px 0;text-align:center;min-height:270px;color:#b6c3d0;font-size:13px}.backup-bar h2{font-size:15px;margin:0;color:#fff}.backup-bar p{line-height:1.35}.backup-last{font-weight:bold}.backup-buttons{display:flex;gap:8px}.backup-buttons button{flex:1;padding:8px 5px;color:#6bc8ff;border-color:#35a9e0;font-size:14px}.credit-line{text-align:center;margin:44px 0;color:#999;font-size:11px}.credit-line p{margin:5px}.detail-screen{background:#fff!important;color:#111!important;padding:4px!important}.detail-screen .home-tools{justify-content:space-between;background:#000;padding:5px}.detail-screen .dive-title{background:#000;color:white;margin:0;padding:5px;gap:8px}.detail-screen .dive-title nav button{padding:8px}.detail-screen .detail-bar{background:#eee;color:#111;padding:7px}.detail-screen .detail-bar input{color:#111}.detail-screen .detail-bar label{color:#f00}.detail-screen .profile{position:relative;background:url('storage/retained-art/bg.webp') center/cover;margin:0}.detail-screen .profile svg{display:block;width:100%}.detail-screen .profile .profile-readout{background:#0009;color:white;margin:0;padding:3px;font-size:11px}.detail-screen .profile .profile-gas-note{background:white;color:#6b7787;font-size:12px;margin:0;padding:5px}.empty-profile{position:absolute;top:36%;left:25%;width:50%;background:#00213bcc;border-radius:18px;padding:12px;text-align:center;color:white;font-weight:bold;pointer-events:none}.detail-import{display:flex;gap:10px;margin:8px 6px}.detail-import button{background:white;border-color:#1593ff;color:red;padding:8px;font-size:14px;font-weight:bold}.detail-import button:first-child{flex:1}.detail-import button:last-child{color:#1593ff;border-radius:50%;width:36px;padding:0;font-style:italic}.detail-screen .detail-strip{background:#fff;color:#111}.detail-screen .detail-strip input{color:#111}.detail-screen .detail-strip label{border-color:#ddd}.detail-screen .detail-fields label,.detail-screen .detail-fields input{color:#111}.detail-screen .detail-fields input{border-bottom-color:#ccc}.detail-screen textarea{background:#f5f8fb;color:#111}.detail-screen .detail-photo{background:#d2eaf5;padding:8px}.detail-screen .detail-photo button,.detail-screen .detail-site-map button,.detail-screen .save,.detail-screen .back-top{background:white;color:#0877da;border-color:#249aff}.detail-screen .detail-photo input{color:#111}.detail-screen .react-dialog{color:#fff}.import-help video{width:100%;max-height:300px}.import-help p{font-size:14px;line-height:1.5}.detail-screen .profile-readout:empty{display:none}
.journal-header img{display:block!important;max-height:64px;object-fit:contain}.detail-screen .no-profile .profile-readout{display:none}.detail-screen .no-profile svg{pointer-events:none}.detail-screen .no-profile svg path,.detail-screen .no-profile svg circle,.detail-screen .no-profile svg [stroke-dasharray="3 4"],.detail-screen .no-profile svg [stroke-dasharray="2 4"]{visibility:hidden}.detail-screen .dive-title input::placeholder{color:#bbb;opacity:1}.detail-screen .detail-bar input[data-field=n]{color:#111}.detail-screen .detail-bar label:first-of-type{color:#111}.detail-screen .detail-bar input[data-extra="Dive Charter"]{width:100%;min-width:0}
.picture-export{margin:10px 8px}.make-picture{width:100%;background:white;color:#0877da;border-color:#249aff;font-weight:bold}.picture-preview{display:block;width:100%;max-height:55vh;object-fit:contain;background:#fff}.picture-export .react-dialog p{font-size:13px;line-height:1.4}
.inline-view-error{display:block;position:relative;background:#fff4d6;color:#5a3200;padding:14px;margin:0;font-size:14px;line-height:1.45;border:1px solid #e6be68}.detail-screen .profile .inline-view-error{background:#fff4d6;color:#5a3200}.detail-screen .profile:has(.inline-view-error){background:#fff4d6}
.profile-events{background:#fff;color:#263d4b;font-size:12px;line-height:1.45;margin:0;padding:8px 8px 8px 28px}.profile-range{display:block;width:100%;font-size:12px;padding:10px;border-radius:0;background:#102330;color:#fff}

.twback{position:fixed;inset:0;background:#00000073;z-index:50;display:flex;align-items:flex-end;justify-content:center}.twsheet{background:#fff;width:100%;max-width:480px;border-radius:18px 18px 0 0;padding:14px 16px 18px;box-sizing:border-box}.twtitle{font-weight:700;text-align:center;margin-bottom:6px;color:#1f2a37}.twwrap{position:relative;display:flex;justify-content:center;gap:4px;height:220px}.twband{position:absolute;left:0;right:0;top:88px;height:44px;background:#e8f1fb;border-radius:10px;pointer-events:none}.twcol{position:relative;width:88px;height:220px;overflow-y:scroll;scroll-snap-type:y mandatory;touch-action:pan-y;overscroll-behavior:contain;scrollbar-width:none}.twcol::-webkit-scrollbar{display:none}.twi{height:44px;line-height:44px;text-align:center;font-size:22px;color:#8a94a0;scroll-snap-align:center}.twi.on{color:#10233a;font-weight:700}.twsep{position:relative;line-height:220px;font-size:22px;font-weight:700;color:#10233a}.twbtns{display:flex;gap:8px;margin-top:10px}.twbtns button{flex:1;height:44px;border-radius:12px;border:1px solid #cfd8e3;background:#fff;font-size:16px;color:#1f2a37}.twbtns .pri{background:#1a73e8;border-color:#1a73e8;color:#fff;font-weight:700}.tbtn{display:block;width:100%;text-align:left;background:none;border:0;padding:0;font:inherit;font-size:16px;min-height:22px}
.detail-screen .detail-fields .tbtn{color:#888}.twback{z-index:20001}.twsheet{outline:none}.twcol:focus-visible{outline:2px solid #1a73e8;border-radius:8px}

/* Finite Nov4 chrome parity: retain paged data loading and explicit search. */
.journal-home .home-tools{margin:0 0 6px}.journal-home .home-tools button{padding:7px;font-size:12px}.journal-home #error:empty{display:none}.journal-header{min-height:72px}.journal-header h1{margin-left:48px;max-width:205px}.journal-search{gap:8px;position:relative}.journal-search input{height:42px;border:1px solid #7a8792;border-radius:11px;padding:10px 30px 10px 14px;font-size:11px;min-width:0}.journal-search .search-submit{position:absolute;right:52px;padding:0;width:26px;height:36px;background:transparent;border:0;color:#5a6670;font-size:24px}.journal-search .layout-toggle{width:44px;height:44px;flex:none;background:#14191f;border-color:#65717d;border-radius:10px;padding:0}.journal-home .backup-bar{margin-top:30px}.detail-screen .detail-fields>label{position:relative;padding:11px 6px 11px 36px;min-height:72px;margin:0;border-bottom:1px solid #ddd;font-size:14px;line-height:1.2}.detail-screen .detail-fields>label input{padding:0;margin:4px 0 0;border:0;background:none;border-radius:0;font-size:16px;color:#d62828;min-height:22px}.detail-screen .detail-fields>label input::placeholder{color:#999}.detail-screen .detail-fields .tbtn{font-size:16px;color:#d62828;padding:3px 0 0;margin:0;border:0;background:transparent;border-radius:0}.detail-screen .detail-fields>details{grid-column:1/-1}.time-duration{display:block;font-size:12px;color:#d62828;margin-top:3px}.detail-screen .dive-title label{margin:4px 0;font-size:0}.detail-screen .dive-title input{line-height:1.2}.detail-screen .detail-bar{min-height:48px}.detail-screen .dive-title nav button{background:none;border:0;font-size:34px;padding:0 6px}.detail-screen .detail-bar label input{padding:0}
.detail-screen .detail-fields>[data-cell="Start Time"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%20100%2018%209%209%200%20000-18zM12%207v5l3.5%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="End Time"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a9%209%200%20100%2018%209%209%200%20000-18zM12%207v5l3.5%202%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="maxPO2"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2018l4-10%204%206%202-3%204%207%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="max"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v9M8.5%208.5L12%2012l3.5-3.5M3%2016c3-2%206%202%209%200s6%202%209%200M3%2020.5c3-2%206%202%209%200s6%202%209%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="surface"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6.5%203h11M6.5%2021h11M8%203c0%205%204%206%204%209s-4%204-4%209M16%203c0%205-4%206-4%209s4%204%204%209%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="temp"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2014.5V5a2%202%200%20114%200v9.5a4%204%200%2011-4%200zM12%209v7M17%206h3M17%209.5h2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="maxO2"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2018l4-10%204%206%202-3%204%207%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="status"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h16M12%204v16%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="water"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203s6%207%206%2011a6%206%200%2001-12%200c0-4%206-11%206-11zM9.5%2014.5a2.7%202.7%200%20002.5%202.5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="tmin"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2014.5V5a2%202%200%20114%200v9.5a4%204%200%2011-4%200zM12%209v7M17%206h3M17%209.5h2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="current"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209c3-3%206%203%209%200s6%203%209%200M3%2015c3-3%206%203%209%200s6%203%209%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="surf"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2012c3-3%206%203%209%200s6%203%209%200%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
.detail-screen .detail-fields>[data-cell="buddy"]::before{content:"";position:absolute;left:5px;top:18px;width:24px;height:24px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204a3%203%200%20100%206%203%203%200%20000-6zM5%2020c0-4%203-6%207-6s7%202%207%206%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}

.import-help li{font-size:14px;line-height:1.45;margin:9px 0}.import-help ol{padding-left:24px}.import-help{max-height:85vh;overflow:auto}
/* Position transforms need an explicit4:3 containing block, never inline-image flow. */
.detail-screen .detail-photo .open-photo{position:relative;display:block;width:100%;aspect-ratio:4/3;overflow:hidden;padding:0;border-radius:10px;background:#cfe8f5;color:#456}.detail-screen .detail-photo .open-photo img{position:absolute;max-height:none;max-width:none;aspect-ratio:auto;margin:0;border:0;transform-origin:center;user-select:none;-webkit-user-drag:none}.detail-photo.no-photo .replace-photo{display:block}.detail-photo.no-photo>button:not(.open-photo){display:none}.detail-photo input[type=file]{max-width:100%;padding:8px;font-size:12px}.detail-photo label{margin:12px 0}.detail-photo>button:not(.open-photo){padding:9px;min-height:44px}
.proposed-entry{max-width:36rem;margin:0 auto;padding:12px}.proposed-entry h1{margin:24px 0}.proposed-entry p{line-height:1.45}.proposed-entry button{margin:8px 8px 8px 0;padding:12px}.proposed-entry label{display:block;margin:16px 0}.proposed-entry input[type=file]{display:block;max-width:100%;margin-top:8px}.proposed-entry fieldset{border:0;padding:0}.proposed-entry [role=alert]{color:#ffc8ae}
/* Retained reference artwork already has its intended colours. */
.detail-screen .detail-strip img{filter:none}
.detail-screen .detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.detail-screen .detail-fields>label input{width:100%;min-width:0;box-sizing:border-box}
.provider-map-canvas img{width:auto;height:auto;max-width:none;max-height:none;object-fit:fill}
.selected-map-card.famous-card{border-color:#cf2b1f}
.selected-map-card .map-card-photo .map-card-site-photo{width:72px;height:72px;object-fit:cover;border-radius:7px}
.selected-map-card .map-card-coords{font-size:12px;color:#a7c4d5;margin:2px 0}
.country-picker-open{min-height:40px;padding:8px 12px}
.country-list-modal h2{margin:0 0 8px}
.country-list-modal .country-list{display:flex;flex-direction:column;gap:6px;max-height:60vh;overflow-y:auto;margin:0 0 10px}
.country-list-modal .country-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #53616c;border-radius:8px;background:#0b1922;color:#e8f1fb;font-size:15px;text-align:left}
.country-list-modal .country-row-selected{border-color:#e6be68;border-width:2px}
.country-list-modal .country-flag{display:inline-flex;width:34px;height:26px;align-items:center;justify-content:center;font-size:19px;background:#13283a;border-radius:4px;flex:none}
.country-list-modal .country-row-name{flex:1}
.country-list-modal .country-list-close{width:100%;padding:12px;font-size:15px}
.map-banner{position:relative}
.map-banner .gateway-banner{display:block;width:100%;border-radius:12px}
.map-back{position:absolute;top:8px;right:8px;width:44px;height:44px;border-radius:12px;background:rgba(11,25,34,.85);border:1px solid #53616c;color:#fff;font-size:24px;line-height:1}
.map-top-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin:10px 0}
.map-top-grid button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px;border:1px solid #53616c;border-radius:12px;background:#0b1922;color:#e8f1fb;font-size:15px;font-weight:600;padding:8px;text-align:center}
.map-top-grid .map-total{border-color:#35a9e0}
.map-total-count{color:#e6be68;font-size:22px;font-weight:700}
.map-mode-icon{width:22px;height:27px;object-fit:contain;flex:none}
.map-top-grid .map-portrait{margin:0;align-self:center;text-align:center;color:#6bc8ff;font-weight:600}
.map-top-grid .map-mode-active{border-color:#e6be68;border-width:2px;color:#e6be68}
.map-stage{position:relative;margin-top:8px}
.map-stage .country-picker-open{position:absolute;top:8px;left:8px;z-index:6;display:flex;align-items:center;gap:8px;background:rgba(11,25,34,.92);border:1px solid #53616c;border-radius:999px;padding:8px 14px;color:#fff;font-size:16px;font-weight:600}
.map-stage .country-picker-open .country-flag{display:inline-flex;width:30px;height:22px;align-items:center;justify-content:center;font-size:17px;background:#13283a;border-radius:4px;flex:none;margin:0}
.map-stage .map-legend{position:absolute;right:6px;top:70px;z-index:6;margin:0}
.map-stage .map-legend>summary{list-style:none;cursor:pointer;background:rgba(11,25,34,.92);border:1px solid #53616c;border-radius:10px;padding:8px 7px;display:flex;flex-direction:column;gap:8px}
.map-stage .map-legend>summary::-webkit-details-marker{display:none}
.map-stage .map-legend>summary img{width:24px;height:29px;object-fit:contain}
.map-stage .map-legend-panel{position:absolute;right:0;top:calc(100% + 4px);width:210px;background:rgba(11,25,34,.96);border:1px solid #53616c;border-radius:10px;padding:10px}
.map-stage .map-legend-row{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px}
.map-stage .map-legend-row img{width:22px;height:27px;object-fit:contain;flex:none}
.map-stage .map-legend-row strong{display:block;font-size:12px;color:#fff}
.map-stage .map-legend-row p{margin:2px 0 0;font-size:11px;color:#a7c4d5}
.map-stage .map-legend-hide{width:100%;padding:8px;border-radius:8px}
.map-stage .unpinned-dives{position:absolute;left:6px;bottom:8px;z-index:6;width:min(46%,230px);background:rgba(11,25,34,.95);border:1px solid #53616c;border-radius:12px;padding:8px}
.map-stage .unpinned-dives>summary{list-style:none;cursor:pointer;font-size:14px;font-weight:700;color:#fff;text-align:left}
.map-stage .unpinned-dives>summary::-webkit-details-marker{display:none}
.map-stage .unpinned-dives .drag-handle{display:block;width:44px;height:5px;border-radius:3px;background:#cfd8e3;margin:0 auto 6px}
.map-stage .unpinned-dive{display:block;width:100%;background:#fff;color:#111;border-radius:8px;padding:8px 10px;margin:6px 0;text-align:left}
.map-stage .unpinned-dive strong{display:block;font-size:16px}
.map-stage .unpinned-dive .unpinned-date{font-size:13px;color:#333}
.map-stage .unpinned-dives .waiting-prev,.map-stage .unpinned-dives .waiting-next{width:100%;margin-top:4px}
.marine-modal .marine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:52vh;overflow-y:auto;margin-bottom:8px}
.marine-modal .marine-choice{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;background:#0b1922;border:1px solid #53616c;border-radius:8px}
.marine-modal .marine-choice input{width:20px;height:20px;margin:0}
.marine-modal .marine-choice img{width:64px;height:64px;object-fit:contain}
.marine-modal .marine-choice span{font-size:12px;color:#e8f1fb;text-align:center}
.marine-modal .marine-count{color:#e6be68;font-weight:700;text-align:center;margin:8px 0}
.marine-modal .marine-save{width:100%;padding:12px;margin:4px 0}
.marine-modal .marine-reset,.marine-modal .marine-cancel{padding:12px;margin:4px 4px 0 0}
.marine-open{width:100%;padding:12px;text-align:left}
.share-app{display:block;margin:0 auto 16px;padding:14px 26px;border-radius:12px;border:1px solid #6ea8d8;background:#16283a;color:#7fb3e8;font-weight:600;font-size:17px}
.update-share-panel{background:#0d1b26;border:1px solid #2a3f4f;border-radius:14px;padding:18px 16px;margin:18px 0;text-align:center}
.update-share-panel button{display:block;margin:10px auto;padding:13px 24px;border-radius:12px;border:1px solid #6ea8d8;background:#16283a;color:#7fb3e8;font-weight:600;font-size:16px}
.update-share-panel .app-version{color:#cfd8de;margin:12px 0 0;font-size:15px}
.back-to-top{display:block;margin:14px auto 30px;padding:13px 28px;border-radius:12px;border:1px solid #6ea8d8;background:#16283a;color:#7fb3e8;font-weight:600;font-size:16px}
.marine-modal .marine-choice{background:none;border:0;padding:4px 2px}
.marine-modal .marine-grid{gap:8px 10px;max-height:56vh}
.marine-modal .marine-save{background:#16283a;border:1px solid #6ea8d8;border-radius:12px;color:#e8f1fb;font-weight:700;font-size:17px;padding:14px}
.marine-modal .marine-reset,.marine-modal .marine-cancel{background:none;border:1px solid #6ea8d8;border-radius:12px;color:#e8f1fb;font-weight:600;font-size:16px;padding:12px 18px}
.sitetype-modal{background:#fff;border:1px solid #d7dde3;border-radius:16px;padding:12px;max-width:380px}
.sitetype-modal .sitetype-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-height:72vh;overflow-y:auto}
.sitetype-modal .sitetype-tile{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;padding:16px 6px;margin:0;background:#fff;border:1px solid #dfe4ea;border-radius:14px;color:#152433;font-family:Georgia,"Times New Roman",serif}
.sitetype-modal .sitetype-tile img{max-width:96px;max-height:64px;object-fit:contain}
.sitetype-modal .sitetype-tile span{font-size:16px;text-align:center;line-height:1.25;color:#152433}
.sitetype-modal .sitetype-tile.sel{border-color:#123a5c;box-shadow:inset 0 0 0 2px #123a5c}
.sitetype-open{width:100%;padding:12px;text-align:left}
.dive-list.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 26px;margin:26px 6px}
.grid-dive{overflow:visible;border:0;border-radius:0;background:transparent}
.dive-list.grid .card-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1;width:88%;max-width:118px;margin:0 auto;border:2px solid #7d8b96;border-radius:8px;background:#101c26;color:#e8eef2;font-size:34px}
.dive-list.grid .card-photo::after{content:"No photo yet";position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);color:#9aa7b1;font-size:13px;font-weight:400;white-space:nowrap}
.dive-list.grid .card-photo:has(img)::after{display:none}
.dive-list.grid .card-photo img{border-radius:6px}
.grid-dive-text{padding:46px 0 0;text-align:center;background:transparent}
.grid-dive-text small{font-size:11px;letter-spacing:1px;color:#9aa7b1;text-transform:uppercase}
.grid-dive-text strong{font-size:13px;margin:6px 0;text-transform:uppercase;color:#fff}
.dive-list.grid .grid-delete{display:none}

/* Keep source disclosure and provider controls clear of overlaid map tools. */
.map-stage .geographic-map{padding-top:54px}
.map-stage .geographic-map .map-provider-status{margin:0 0 12px}
.map-stage .map-legend{top:132px}
.map-stage .unpinned-dives{bottom:66px}

/* Allow all three map toolbar columns to shrink on narrow phones. */
.map-top-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.map-top-grid>*{min-width:0}
@media(max-width:359px){.map-top-grid button{font-size:13px;padding:6px;gap:4px}.map-top-grid .map-portrait{font-size:12px}}

/* Original page-2 photo presentation, source reference 16 Nov 2026. */
.detail-screen .detail-photo{padding:0;margin:0;background:#d3e7f2}
.detail-screen .detail-photo.photo-slot-1.no-photo{display:none}
.detail-screen .detail-photo.no-photo .open-photo{display:block;aspect-ratio:1.6;min-height:0;background:#d3e7f2;border:0;border-radius:0;color:transparent}
.detail-screen .original-photo-empty{margin:0;padding:3px 10px 6px;text-align:center;background:#f6fbfe;color:#454c52;font-size:15px;line-height:1.2}
.detail-screen .detail-photo .original-photo-add{display:flex;align-items:center;justify-content:center;box-sizing:border-box;margin:10px 12px 16px;min-height:48px;border:1px solid #4a94c1;border-radius:10px;background:#fff;color:#4a94c1;font-size:20px;cursor:pointer}
.detail-screen .detail-photo .original-photo-add input.replace-photo{display:none}
.detail-screen .detail-photo.no-photo .open-photo{pointer-events:none}
.detail-screen .detail-photo:not(.no-photo) .open-photo{border-radius:0}

/* Original page-1 references received 16 Nov 20:37; no data-model changes. */
.journal-home .home-tools{display:none}
.journal-header{min-height:82px;gap:6px}
.journal-header h1{margin:0;max-width:none;min-width:0;flex:1;font-size:28px;line-height:1.03;letter-spacing:0}
.journal-header .journal-maps{background:transparent;color:#eee;display:flex;flex-direction:column;align-items:center;flex:none;width:44px;font-size:26px;line-height:1}
.journal-header .journal-maps small{font-size:11px;font-weight:700;margin-top:3px;color:#eee6a2}
.journal-header img{width:34px;height:74px;max-height:74px}
.journal-header .journal-add{width:50px;height:50px;min-height:50px;border-radius:50%;background:#396fdb;color:white;font-size:43px;line-height:1;flex:none;font-weight:300}
.journal-header+p{font-size:16px;color:#aeb1b6;margin:10px 0 14px}
.journal-search input{height:50px;font-size:12px;padding-left:17px}
.journal-search .layout-toggle{height:50px;width:50px;font-size:25px}
.journal-search .search-submit{right:58px}
.dive-list.journal{border-top:2px solid #45494d;padding-top:18px;margin-top:18px}
.journal-entry{position:relative}
.journal-entry .dive-card .card-photo{border-radius:22px;font-family:Georgia,serif;font-size:18px;background:#151b21;color:#797e83}
.journal-entry .dive-card .card-meta{font-size:16px;margin-top:16px;color:#aeb1b6}
.journal-entry .dive-card strong{font-size:25px;line-height:1.15;position:relative;padding-right:23px}
.journal-entry .dive-card strong:after{content:'›';position:absolute;right:4px;top:-3px;font-size:33px;font-weight:400;color:#c5c9ce}
.journal-entry .dive-card .card-date{font-size:16px;margin-top:8px;color:#afb2b6}
.journal-delete{position:absolute;right:7px;top:8px;width:51px;height:51px;min-height:0;border:1px solid #929aa5;border-radius:50%;padding:0;background:#151b21;color:white;font-size:36px;line-height:1;font-weight:400}
.journal-home .backup-bar{margin:40px 12px 0;padding:28px 14px 14px;background:#12161b;border-color:#343940;border-radius:15px;min-height:0;font-size:16px;color:#aeb1b6}
.journal-home .backup-bar .share-app{width:100%;padding:15px 8px;margin-bottom:14px;font-size:18px;background:#142532;color:#8dc5ef;border-color:#6c9cbe}
.journal-home .backup-bar h2{font-size:18px;margin:0 0 4px}
.journal-home .backup-bar .backup-last{font-size:16px;font-weight:600;color:#ccc}
.backup-buttons{gap:10px}.backup-buttons button{min-height:51px;font-size:17px;font-weight:600;color:#91caf1;border-color:#528eb9;border-radius:12px}
.diagnostic-tools{margin-top:10px;font-size:12px;text-align:left;color:#aeb1b6}.backup-bar .diagnostic-tools>summary{text-align:center}
.update-share-panel{margin:46px 0 0;padding:18px 12px 22px;background:#0e1723;border-color:#46586e;border-radius:13px}
.update-share-panel button{font-family:Georgia,serif;background:#203f54;color:#eee;border-color:#81a6b6;font-size:21px;font-weight:400;padding:12px 20px}
.update-share-panel .app-version{font-family:Georgia,serif;font-size:17px;color:#ddd}
.credit-line{font-size:13px;line-height:1.5;margin-top:38px}
@media(max-width:350px){.journal-header h1{font-size:23px}.journal-header{gap:3px}.journal-header .journal-maps{width:35px;font-size:23px}.journal-header .journal-add{width:44px;height:44px;min-height:44px}.journal-header img{width:29px}}

/* Empty grid: original X is an actual confirmed delete control, not a photo. */
.dive-list.grid{border-top:2px solid #45494d;padding-top:42px;gap:32px 12px;margin:18px 0}
.dive-list.grid .card-photo:not(:has(img)){border:0;border-radius:0;background:transparent;width:100%;max-width:none;aspect-ratio:auto;height:102px;padding-top:60px;box-sizing:border-box;color:#7b7f84;font-size:12px;font-family:Georgia,serif}
.dive-list.grid .card-photo::after{display:none}
.dive-list.grid .grid-delete{display:block;position:absolute;top:0;right:calc(50% - 25px);width:50px;height:50px;min-height:0;border:1px solid #929aa5;border-radius:50%;background:#151b21;color:white;font-size:34px}
.grid-dive-text{padding:30px 0 0}
.grid-dive-text small{font-size:12px;letter-spacing:0}
.grid-dive-text strong{font-size:12px;margin:4px 0}
.journal-home .back-to-top{display:block;margin:28px auto 0;min-height:44px;padding:10px 24px;border:1px solid #528eb9;border-radius:10px;background:#142532;color:#91caf1}

/* Original page-2 reference family, received 16 Nov 20:38-20:39. */
.detail-screen .home-tools{display:none}.detail-screen>.app-title{display:none}
.detail-screen .dive-title{padding:8px 8px 8px 2px;min-height:82px;position:relative}
.detail-screen .dive-title .detail-home-back{background:transparent;border:0;color:white;font-size:44px;padding:0 10px 0 2px}
.detail-screen .dive-title input[data-field=site]{font-size:21px;font-weight:600}
.detail-screen .dive-title input[data-field=date]{font-size:20px;font-weight:600;color:white}
.detail-screen .detail-maps-reference{align-self:stretch;border:0;border-left:1px solid #666;border-radius:0;background:transparent;padding:4px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#eee6a2;font-size:14px}
.detail-maps-reference img{width:35px;height:35px;object-fit:contain}.detail-maps-reference small{font-size:13px;font-weight:700}
.detail-screen .dive-title .dive-neighbours{position:absolute;right:2px;top:92px;z-index:2;opacity:.6}.detail-screen .dive-neighbours button{font-size:18px}
.detail-screen .detail-bar{padding:10px 8px;gap:10px;min-height:65px;box-sizing:border-box}
.detail-screen .detail-badge{font-size:12px;border:2px solid #699666;padding:5px;color:#699666;max-width:55px;text-align:center}
.detail-screen .detail-bar label:nth-child(2){font-size:25px}.detail-screen .detail-bar label:last-child{font-size:13px;font-weight:600;color:#b63e35;text-transform:uppercase}
.detail-screen .detail-bar input[data-extra="Dive Charter"]{font-size:20px;font-weight:600;color:#888;text-transform:none}
.detail-screen .detail-import{margin:5px 7px;align-items:center;gap:10px}.detail-import button{border-color:#5794b9;border-radius:12px;font-size:16px;color:#b23831;padding:10px 8px;min-height:58px}.detail-import button:last-child{width:42px;height:42px;min-height:42px;font-size:28px;font-family:Georgia,serif;color:#5794b9}
.detail-screen .remove-profile{display:block;box-sizing:border-box;width:calc(100% - 14px);margin:8px 7px 10px;min-height:50px;border-radius:12px;border-color:#5794b9;color:#5794b9;background:white;font-size:16px;font-weight:600}
.detail-screen .detail-strip{border-top:1px solid #ddd;border-bottom:1px solid #ddd}.detail-screen .detail-strip label{padding:10px 2px 13px}.detail-screen .detail-strip img{height:57px}.detail-screen .detail-strip b{font-size:12px;margin:3px 0 1px}.detail-screen .detail-strip input{font-size:34px;font-weight:700;width:66%}.detail-screen .detail-strip small{font-size:16px;font-weight:600}
.picture-export{margin:12px 14px 5px}.picture-export>.make-picture{width:100%;min-height:53px;border-radius:13px;font-size:18px;font-weight:600;color:#356a9c;border-color:#5986b3;background:white}
.detail-screen .detail-photo.no-photo .open-photo{aspect-ratio:1.6}.detail-screen .original-photo-empty{font-size:15px}.detail-screen .detail-photo .original-photo-add{margin:10px 12px 18px;font-size:20px}
.detail-screen .detail-fields{gap:10px;margin:0 7px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}
.detail-screen .detail-fields>label{box-sizing:border-box;border:1px solid #ddd;box-shadow:0 1px 2px #00000008;border-radius:14px;min-height:106px;padding:22px 7px 15px 57px;font-size:15px;line-height:1.2;color:#777b83;display:flex;flex-direction:column;justify-content:center;background:white}
.detail-screen .detail-fields>label:before{left:12px;top:calc(50% - 16px);width:32px;height:32px;filter:invert(12%) sepia(12%) saturate(1700%) hue-rotate(183deg)}
.detail-screen .detail-fields>label input{color:#3560a5;font-weight:600;font-size:20px;line-height:1.2;min-height:25px;margin:2px 0 0}
.detail-screen .detail-fields>label input::placeholder{color:#afb1b6;font-size:17px;font-weight:400}
.detail-screen .detail-fields .tbtn{color:#111;font-size:18px;text-align:left;margin:2px 0;padding:0;font-weight:400}
.detail-screen .detail-fields .shore-choice{background:transparent;color:#aaa;padding:0;border:0;text-align:left;font-size:17px}
.detail-screen .time-duration{font-size:14px;color:#777;font-style:normal}
.detail-screen .detail-fields>details{order:100}.detail-screen .detail-fields>[data-cell="max"]{order:2}.detail-screen .detail-fields>[data-cell="surface"]{order:3}.detail-screen .detail-fields>[data-cell="Start Time"]{order:0}.detail-screen .detail-fields>[data-cell="End Time"]{order:1}.detail-screen .detail-fields>[data-cell="temp"]{order:4}.detail-screen .detail-fields>[data-cell="maxO2"]{order:5}.detail-screen .detail-fields>[data-cell="maxPO2"]{order:6}.detail-screen .detail-fields>[data-cell="water"]{order:7}.detail-screen .detail-fields>[data-cell="Shore or Boat Dive"]{order:8}.detail-screen .detail-fields>[data-cell="current"]{order:9}.detail-screen .detail-fields>[data-cell="surf"]{order:10}.detail-screen .detail-fields>[data-cell="buddy"]{order:11}.detail-screen .detail-fields>[data-cell="Visibility (m)"]{order:12}.detail-screen .detail-fields>[data-cell="Weight worn (kg)"]{order:13}.detail-screen .detail-fields>[data-cell="Exposure suit"]{order:14}.detail-screen .detail-fields>[data-cell="Cylinder size (L)"]{order:15}.detail-screen .detail-fields>[data-cell="Start pressure (bar)"]{order:16}.detail-screen .detail-fields>[data-cell="End pressure (bar)"]{order:17}.detail-screen .detail-fields>[data-cell="Safety stop (min)"]{order:18}.detail-screen .detail-fields>[data-cell="Camera"]{order:19}
.detail-screen .original-notes{margin:12px 7px 8px;padding:12px;border:1px solid #ddd;border-radius:15px;color:#777b83;font-size:16px}
.detail-screen .original-notes textarea{background:#e9eff8;border:0;border-radius:10px;min-height:85px;color:#222;font-size:18px;margin-top:8px;padding:10px}
.detail-screen .detail-site-map{margin:8px 7px 16px}.detail-screen .detail-site-map h2{font-size:16px;font-weight:400;color:#777b83;margin:0 0 8px}
.detail-screen .detail-site-map .open-site-map{border:1px dashed #aab0bb;border-radius:15px;min-height:73px;background:white;color:#777b83;font-size:16px}
.detail-screen .detail-site-map>p{font-size:12px;color:#777}
.original-map-add{display:flex;align-items:center;justify-content:center;margin:8px 0 0;min-height:50px;border:1px solid #5087b8;border-radius:14px;color:#467fba;font-size:20px}.original-map-add input{display:none}
.detail-screen .save{display:block;width:calc(100% - 38px);margin:18px 19px 16px;min-height:52px;border:0;border-radius:12px;background:#4b93cc;color:white;font-size:18px;font-weight:700}
.detail-screen .back-top{display:block;width:calc(100% - 38px);margin:0 19px;min-height:52px;border:1px solid #568eb5;border-radius:12px;background:white;color:#4b93cc;font-size:18px;font-weight:700}
.detail-screen .credit-line{color:#999;font-size:13px;margin:28px 0 40px}

.journal-header img.reference-maps-icon{width:29px;height:28px;object-fit:contain}

.detail-screen .detail-fields>[data-cell]:before{left:12px!important;top:calc(50% - 17px)!important;width:34px!important;height:34px!important}
.detail-screen .dive-title input{font-family:Arial,sans-serif}
.detail-screen .detail-site-map .open-site-map{width:100%}
.detail-screen .detail-site-map .remove-site-map{display:block;font-size:13px;margin:10px 0}
.detail-screen .detail-fields>[data-cell="Visibility (m)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-visibility.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Weight worn (kg)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-weight.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Exposure suit"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-wetsuit.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Cylinder size (L)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-cylinder.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Start pressure (bar)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-pressure.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="End pressure (bar)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-pressure.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Safety stop (min)"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-stop.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Camera"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-camera.png") center/contain no-repeat;filter:none}
.detail-screen .detail-fields>[data-cell="Shore or Boat Dive"]::before{content:"";position:absolute;background:url("storage/retained-art/reference-card-shore.png") center/contain no-repeat;filter:none}

/* Original page-3 country gateway, same lazy cover loading. */
.country-gateway .home-tools{display:none}.country-gateway .gateway-banner{width:100%;margin:0;aspect-ratio:1600/570;object-fit:contain}
.gateway-network{padding:13px 0 0;text-align:center;color:#b8bec4}.gateway-network svg{display:block;margin:0 auto}.gateway-network p{font-size:12px;margin:3px 0 14px}
.gateway-actions{display:flex;justify-content:center;gap:10px;margin:0 28px 14px}.gateway-actions button{font-size:16px;min-height:50px;white-space:nowrap;padding:10px;background:#071017;border:1px solid #56616c;border-radius:4px;color:#eee}
.country-track{gap:9px;margin:0 5px;grid-template-columns:repeat(2,minmax(0,1fr))}.country-track .country-card{border-color:#59616a;border-radius:4px}.country-label{font-size:12px;left:10px;bottom:10px}.country-picture{aspect-ratio:1.2}.country-actions{min-height:50px;background:#030c11}.country-actions button{min-height:50px;font-size:16px;padding:10px}.country-actions .country-edit{width:48px;color:#9fb8c3}.country-enter{font-size:16px}
@media(max-width:350px){.gateway-actions{margin-left:12px;margin-right:12px}.gateway-actions button{font-size:13px}}

#root-content.country-gateway,#root-content.mapping-screen{padding:0}.country-gateway .action-surface,.mapping-screen .action-surface{padding:0;border:0;margin:0;min-width:0}.country-gateway .country-track{margin:0 9px;gap:9px}.country-gateway .gateway-network{padding-top:15px}.country-gateway .gateway-actions{margin-bottom:14px}
.mapping-screen>.app-title,.mapping-screen .home-tools{display:none}.mapping-screen .map-banner .gateway-banner{height:78px;max-height:none;border-radius:0;object-fit:cover}.map-back{top:auto;bottom:0;right:10px;width:36px;height:36px;border-color:#fff}
.mapping-screen .map-top-grid{grid-template-columns:1.25fr 1fr .73fr;margin:0;padding:9px;gap:7px;background:#061720;border:1px solid #476578;border-radius:0 0 18px 18px}.mapping-screen .map-top-grid button{min-height:46px;border-radius:9px;font-size:12px;padding:7px 5px;gap:5px;background:#07131b}.mapping-screen .map-total{font-size:11px!important;white-space:nowrap}.mapping-screen .map-total-count{font-size:20px}.mapping-screen .map-top-grid .map-mode-active{color:#ffe16a;border-color:#ffe16a;box-shadow:0 0 12px #e5c83b66}.mapping-screen .map-portrait{font-size:12px;text-align:left;padding:0 18px;line-height:1.1}.map-nav-icon{font-size:20px}.mapping-screen .map-mode-icon{width:18px;height:23px}
.map-search-tools{margin:4px 9px;font-size:11px;color:#a9bdc7}.map-search-tools summary{cursor:pointer}.map-search-tools form{display:flex}.map-search-tools input{min-width:0;flex:1}
.mapping-screen .map-stage{margin-top:0}.mapping-screen .map-stage .country-picker-open{top:18px;left:9px;border-radius:12px;font-size:22px;padding:8px}.mapping-screen .map-stage .country-picker-open:after{content:'⌄';padding-left:10px;font-size:20px}.mapping-screen .map-stage .map-legend{right:0;top:5px}.mapping-screen .map-stage .map-legend>summary img{width:42px;height:52px}.mapping-screen .map-stage .map-legend>summary{padding:10px 9px;gap:9px;border-radius:12px 0 0 12px}.mapping-screen .map-stage .map-legend-panel{top:0;right:0;width:218px;padding:12px;min-height:300px;background:#020a10}.mapping-screen .map-legend[open]>summary{visibility:hidden}.mapping-screen .map-legend-row{display:flex;flex-direction:column;align-items:center;text-align:center}.mapping-screen .map-legend-row img{width:50px;height:62px}.mapping-screen .map-legend-row strong{font-size:15px}.mapping-screen .map-legend-row p{font-size:14px;color:#eee}.mapping-screen .map-legend-hide{display:block;width:auto;margin:8px auto}
.mapping-screen .map-stage .unpinned-dives{left:9px;bottom:0;width:43%;padding:8px;max-height:310px;background:#020b11e8}.mapping-screen .unpinned-dives>summary{font-size:16px}.mapping-screen .unpinned-dive strong{font-size:16px}.mapping-screen .unpinned-date{font-size:13px}
.map-rail-panel{border:1px solid #496272;border-radius:20px 20px 0 0;background:#010b11;padding:6px 9px 10px}.map-rail-title{display:flex;align-items:center;justify-content:space-between}.map-rail-title h2{font-size:14px;letter-spacing:1.5px;color:#ecc260;text-align:center;margin:5px}.map-rail-title button{border:0;background:transparent;color:#d83d3d;padding:3px 12px;font-weight:700;font-size:24px}.map-rail-panel .map-site-rail{margin:7px 0 0;gap:9px}.map-rail-panel .map-site-rail .place-card{position:relative;flex:0 0 60px;min-height:68px;overflow:hidden;border-radius:7px;padding:4px;font-size:9px;gap:0;justify-content:flex-end;background:#0b2531}.map-site-rail .place-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.map-site-rail .place-card span,.map-site-rail .place-card small{position:relative;z-index:1;font-size:9px;text-shadow:0 1px 2px #000;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-site-rail .place-card .missing-site-photo{font-size:8px;white-space:normal;color:#adc1cb;margin-bottom:7px}

.country-list-modal{width:calc(100vw - 28px);max-width:440px;max-height:78vh;padding:22px 26px;border:2px solid #86a9bb;border-radius:14px;background:#0b1e2a;color:white}.country-list-modal h2{font-size:24px;margin:0 0 22px}.country-list-modal .country-list{gap:18px;max-height:none;overflow:visible;margin:0 0 22px}.country-list-modal .country-row{min-height:54px;padding:10px 12px;font-size:24px;font-weight:700;border-radius:12px;background:#06131c}.country-list-modal .country-flag{font-size:26px;width:32px;height:24px;background:transparent}.country-list-modal .country-list-close{width:auto;padding:13px 14px;font-size:18px;font-weight:700;background:#152d3e}

.mapping-screen .map-stage .geographic-map{padding-top:0}.mapping-screen .provider-map-canvas{height:438px!important}.mapping-screen .geographic-map>svg{height:438px;width:100%;object-fit:cover;border-radius:0}.mapping-screen .map-provider-status{font-size:11px;padding:4px 9px;margin:0!important;position:relative;z-index:1;background:#071923;max-width:100%}.mapping-screen .map-stage .country-picker-open{top:40px}.mapping-screen .map-stage .unpinned-dives{bottom:42px}.mapping-screen .map-stage .geographic-map>div:last-child:not(.provider-map-canvas){margin:0}

.mapping-screen .map-stage .map-legend-panel{display:block}.mapping-screen .map-stage .map-legend-row{display:flex;flex-direction:column;width:100%}
.detail-screen .detail-fields>[data-cell="current"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="surf"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="buddy"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="Visibility (m)"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="Weight worn (kg)"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="Exposure suit"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="Cylinder size (L)"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="Start pressure (bar)"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="End pressure (bar)"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="Safety stop (min)"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="Camera"]{grid-column:1}

.map-text-sites{margin:7px 9px;color:#a6bac7;font-size:12px}.map-site-text-list{display:flex;flex-wrap:wrap;gap:6px}.map-site-text-list button{padding:8px;font-size:12px}
.place-editor{position:relative;padding:20px;background:#0a1e2b;border:2px solid #88abba;border-radius:14px;color:white}.place-editor:after{content:'';display:block;clear:both}.place-editor .place-editor-pin{float:right;width:76px;height:92px;max-height:none;object-fit:contain;margin:0 0 10px 8px}.place-editor h2{font-size:24px;margin:0 0 12px}.place-editor-intro{font-size:17px;line-height:1.4}.place-editor label{font-size:17px;font-weight:600;margin:18px 0 0}.place-editor p{line-height:1.45}.place-editor input,.place-editor textarea,.place-editor select{background:white;color:#111;border:1px solid #99acb8;border-radius:6px;padding:12px;font:inherit;font-size:19px;width:100%}.place-editor textarea{min-height:150px}.place-editor .coordinate-help{font-size:12px;color:#bdced8}.place-editor .place-coordinate-fields{clear:both;display:grid;grid-template-columns:1fr 1fr;gap:8px}.place-editor button{margin:8px 5px 0 0;font-weight:600;border-radius:11px;background:#162e3e}.place-editor .marine-open{display:block;width:100%;font-size:18px;color:#f0cc65}.marine-modal .marine-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.marine-modal .marine-choice{min-width:0;overflow:visible}.marine-modal .marine-choice img{width:100%;height:64px;object-fit:contain;max-width:100%;max-height:none;padding:3px}.marine-modal .marine-choice span{overflow-wrap:anywhere}.marine-modal .marine-count{color:#f2ce62;font-size:19px;font-weight:700}

.place-screen>.app-title,.place-screen .home-tools{display:none}#root-content.place-screen{padding:0;padding-top:45px;background:#04121b url('storage/country-banner-portrait.jpg') center top / 100% auto no-repeat}.place-screen .action-surface{border:0;padding:0;margin:0}.place-screen .place-editor{margin:0 14px 20px;max-height:82vh;overflow:auto}.place-editor label select{display:block;margin-top:3px}.place-editor .sitetype-open{width:100%;text-align:left;padding:14px;font-size:18px}.place-editor .latitude,.place-editor .longitude{font-size:15px;font-weight:400}.place-editor .saved-marine{margin-top:15px}.place-editor .saved-marine img{object-fit:contain}

/* Matched 360 CSS-pixel comparison of the 720px Samsung original. */
.journal-header{min-height:72px}.journal-header h1{font-size:26px;line-height:1.02}.journal-header img:not(.reference-maps-icon){height:68px;max-height:68px}.journal-header .journal-add{width:47px;height:47px;min-height:47px}.journal-home>.action-surface .journal-header+p{font-size:15px;margin:10px 0 14px}.journal-search input{height:46px;font-size:12px}.journal-search .layout-toggle{width:47px;height:47px;display:flex;align-items:center;justify-content:center}.dive-list.grid .grid-delete{top:-12px;right:-4px;width:48px;height:48px}.grid-dive-text{padding-top:16px}

.journal-home>.action-surface .journal-header+p{margin-bottom:9px}.dive-list.grid{padding-top:38px}.dive-list.grid .grid-dive-text strong{font-size:12px}.dive-list.grid .grid-dive-text small{font-size:11px}

.mapping-screen .map-stage .unpinned-dives{bottom:0;padding:0 7px 7px;max-height:290px;width:43%;border-color:#93b1c3;border-radius:13px;background:#030b11}.mapping-screen .unpinned-dives>summary{padding:8px 3px 0;font-size:15px;line-height:1.2}.mapping-screen .unpinned-dives .drag-handle{width:48px;height:13px;border-radius:4px;border-top:5px solid #d9e6ee;background:transparent;margin:1px auto 8px;touch-action:none;cursor:move}.mapping-screen .unpinned-dives .drag-handle:focus{outline:2px solid #eacb64}.mapping-screen .unpinned-dive{border:1px solid #9bafbd;border-radius:8px;margin:7px 0 0;padding:8px}.mapping-screen .unpinned-dive.selected{outline:3px solid #f4d564;outline-offset:-3px}.mapping-screen .drawer-triangle{font-size:13px;margin-right:3px}

.dive-device-badge{display:table;margin:8px 12px 8px auto;padding:5px 10px;border:1px solid #aab7bf;border-radius:5px;background:#fff;color:#15212b;font-size:14px;font-weight:700;letter-spacing:1px}.dive-device-badge[data-device-brand=garmin]{border-bottom:3px solid #228bc0}

.site-match-suggestions{padding:12px;border:1px solid #d9ba57;border-radius:10px;margin:12px 0}.site-match-suggestions button{display:block;width:100%;text-align:left;margin:8px 0;min-height:44px}.site-match-suggestions p{font-size:14px;line-height:1.4}
/* Keep the match heading clear of the scroll container's upper edge. */
.saved-site-matches{padding:22px 0 18px;scroll-margin-top:18px;border-top:1px solid #48616e;margin-top:18px}.saved-site-matches h3{margin:0 0 14px;line-height:1.35}.site-match-detail-compare{margin:16px 0}.site-match-detail-compare summary{padding:8px 0}.saved-site-matches button{margin-top:10px}

/* Cursor readout matches the original white information strip, 16 Nov references.
   Only presentation changes; stored profile/gas values and keyboard control are unchanged. */
.detail-screen .profile .profile-readout{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin:0;padding:7px 10px 3px;background:#fff;color:#222;font-size:21px;line-height:1.2}
.profile-current-time{font-weight:700}.profile-current-depth{white-space:nowrap}.profile-current-oxygen{color:#bb3b32;font-size:20px}.detail-screen .profile .profile-cursor-hint{background:#fff;color:#777;font-size:17px;margin:0;padding:1px 10px 6px}.detail-screen .profile .profile-gas-note{border-top:1px solid #eee;padding:4px 10px;line-height:1.3}
@media(max-width:350px){.detail-screen .profile .profile-readout{font-size:18px;gap:4px 9px}.profile-current-oxygen{font-size:18px}}

.profile-cursor-hint:before{content:'';display:inline-block;width:11px;height:11px;margin-right:6px;border-radius:50%;background:#ee3838;box-shadow:0 0 0 2px #fff,0 0 0 3px #777;vertical-align:1px}

.detail-screen .detail-badge.ok{border:0;padding:0;line-height:0}.detail-screen .reference-no-deco{width:49px;height:36px;display:block;object-fit:contain}

/* Empty dive-site map state: dashed box with guidance, same look as the open-map box. */
.detail-screen .detail-site-map .map-empty{display:flex;align-items:center;justify-content:center;text-align:center;padding:6px 12px}

/* Single bounded site photo: editor chooser, current-photo row, card pencil removal. */
.site-photo-editor{margin:8px 0}
.site-photo-current img{max-width:100%;max-height:180px;border-radius:10px;display:block}
.site-photo-remove{display:block;font-size:13px;margin:6px 0}
.site-photo-choose{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #5087b8;border-radius:14px;color:#467fba;font-size:16px;margin:6px 0}
.site-photo-choose input{display:none}
.site-photo-help{font-size:inherit;color:inherit}
.map-card-photo{position:relative;width:fit-content}
.site-photo-pencil{position:absolute;z-index:2;top:-8px;right:-8px;width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid #5087b8;color:#467fba;font-size:19px;line-height:1;padding:0;box-shadow:0 1px 4px #0006}.site-photo-pencil::after{content:"";position:absolute;inset:-8px;background:transparent}
/* Keep placeholder hints readable at phone width inside the two-column field grid. */
.detail-screen .detail-fields>label input::placeholder{font-size:14.5px}

.map-provider-unavailable{box-sizing:border-box;width:100%;min-height:260px;padding:28px 84px 28px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#071923;color:#fff;text-align:center}.map-provider-unavailable .map-unavailable-text{margin:0;font-size:16px;line-height:1.4;color:#fff}.map-provider-unavailable .map-provider-retry{min-width:140px;min-height:48px;padding:12px 24px;font-size:17px;border-radius:8px;border:1px solid #8ba8b5;background:#174f78;color:#fff}

/* exact original: no magnifier button on the search field (Enter still searches) */
.journal-search .search-submit{display:none!important}

/* exact page-4 header match (user's 16 Nov screenshot): 12-col grid, 11px text, line icons */
.mapping-screen .map-top-grid{grid-template-columns:repeat(12,minmax(0,1fr))}
.mapping-screen .map-top-grid>:nth-child(1){grid-column:span 5}.mapping-screen .map-top-grid>:nth-child(2){grid-column:span 4}.mapping-screen .map-top-grid>:nth-child(3){grid-column:span 3}
.mapping-screen .map-top-grid>:nth-child(n+4){grid-column:span 4}
.mapping-screen .map-top-grid button{font-size:11px;min-height:42px;padding:5px 4px;gap:5px}
.mapping-screen .map-top-grid .map-total{font-size:11px!important}
.mapping-screen .map-top-grid .map-countries,.mapping-screen .map-top-grid .map-divelog{white-space:nowrap}
.mapping-screen .map-top-grid .map-mode-my,.mapping-screen .map-top-grid .map-mode-famous{white-space:normal}
.mapping-screen .map-top-grid .map-portrait{padding:0 6px;text-align:center;font-size:12px}
.map-nav-icon{font-size:0!important;width:17px;height:17px;display:inline-block;background:center/contain no-repeat}
.map-countries .map-nav-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9.5'/%3E%3Cpath d='M2.5 12h19M4 7h16M4 17h16'/%3E%3C/svg%3E")}
.map-divelog .map-nav-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 6c-2-1.5-5-2-9-2v14c4 0 7 .5 9 2 2-1.5 5-2 9-2V4c-4 0-7 .5-9 2zM12 6v14'/%3E%3C/svg%3E")}
.map-provider-status{display:none}

.mapping-screen .map-top-grid button,.mapping-screen .map-top-grid .map-total{font-size:12px!important;font-weight:700}
.mapping-screen .map-top-grid .map-total-count{font-size:21px}

/* page-2 exact match: smaller date, readout 13px, hint 12px, brand wordmark in brand red (no outlined button) */
.detail-screen .dive-title input[data-field=date]{font-size:18px!important;font-weight:500!important}
.detail-screen .profile .profile-readout{font-size:13px!important;padding:8px 10px 2px!important;gap:2px 10px!important}
.detail-screen .profile .profile-cursor-hint{font-size:12px!important;padding:1px 10px 8px!important}
.dive-device-badge{border:0!important;background:transparent!important;padding:0 12px!important;margin:6px 0 4px auto!important;font-size:20px!important;letter-spacing:0!important;color:#d52b1e!important}
.dive-device-badge[data-device-brand=garmin]{color:#1b87c4!important}
.dive-device-badge[data-device-brand=shearwater]{color:#1c64a8!important}

.detail-screen .dive-title label:has(input[data-field=date]){position:relative;display:block}
.detail-screen .dive-title input[data-field=date]{color:transparent!important;background:transparent!important}
.detail-screen .dive-title input[data-field=date]::-webkit-datetime-edit{color:transparent}
.detail-screen .dive-title input[data-field=date]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.date-display{position:absolute;left:0;top:0;bottom:0;display:flex;align-items:center;pointer-events:none;color:#fff;font-size:15px;font-weight:500}
.date-display::after{content:"";width:7px;height:7px;border-right:2px solid #aaa;border-bottom:2px solid #aaa;transform:rotate(45deg) translateY(-2px);margin-left:20px}
.detail-screen .profile .profile-cursor-hint{display:flex;align-items:baseline;gap:8px}
.profile-brand{margin-left:auto;font-size:20px;font-weight:800;color:#d52b1e}
.profile-brand[data-brand=garmin]{color:#1b87c4}.profile-brand[data-brand=shearwater]{color:#1c64a8}
.profile-model{font-size:13px;font-weight:700;color:#2f7a2f}

.mapping-screen .map-stage .map-legend-panel{width:200px;padding:10px;min-height:0}
.mapping-screen .map-legend-row img{width:44px;height:54px}
.mapping-screen .map-legend-row strong{font-size:13px}
.mapping-screen .map-legend-row p{font-size:12px;margin:2px 0 6px}
.mapping-screen .map-legend-hide{font-size:13px;padding:6px 14px}

.map-search-tools{display:none!important}

.profile-notes-slot{padding:0 12px 6px}.profile-notes-slot:empty{display:none}.profile-notes-slot .profile-gas-note{margin:10px 0 4px;font-size:12px;color:#556}.profile-notes-slot .profile-events{margin:4px 0 0;padding-left:18px;font-size:12px;color:#334}

.journal-header h1{font-size:23px!important}
.journal-search input{font-size:11.5px!important;padding-left:15px!important}

input[data-extra="Dive Charter"]::placeholder{color:#8a8a8a;opacity:1;font-size:inherit}

.journal-home>.action-surface .journal-header+p{margin-top:8px!important}

.journal-delete{width:47px!important;height:47px!important}
.journal-header h1{line-height:1.13!important}
.journal-header img.reference-maps-icon{margin-left:3.5px}

.journal-header .journal-maps{margin-left:3.5px}

.journal-search input{height:46.5px!important}
.journal-search{padding:0 5px 0 3px!important;gap:4px!important;box-sizing:border-box!important}
.journal-header img.reference-maps-icon{width:27.5px!important;height:26.5px!important}

.mapping-screen .map-stage .country-picker-open{font-size:19px;padding:5px 7px;min-height:0}.mapping-screen .map-stage .country-picker-open:after{font-size:17px;padding-left:8px}.mapping-screen .map-stage .unpinned-dives{bottom:78px}

/* Back arrow: chevron centred inside its box. */
.mapping-screen .map-back{display:flex;align-items:center;justify-content:center;padding:0;line-height:1}
/* Country label sits directly under the My dives bar. */
.mapping-screen .map-stage .country-picker-open{top:6px}

/* Visibility rating dots: not shown in the original app (feature flag off) or the reference screenshots. Stored ratings untouched. */
.visibility-dots{display:none!important}

/* Detail-page Delete button is not in the original layout; delete stays on each logbook card (x). Reversible: remove this rule. */
.detail-delete-test{display:none!important}
.cluster-members:empty{display:none}
.map-stage .cluster-members{position:absolute;left:8px;right:8px;bottom:36px;z-index:8;max-height:48%;overflow:auto}
.cluster-members{display:flex;flex-direction:column;gap:8px;margin:8px 0 0;padding:12px;background:rgba(11,25,34,.95);border:1px solid #53616c;border-radius:12px;color:#fff}
.cluster-members .cluster-title{margin:0 0 2px;font-size:15px;font-weight:700;color:#fff}
.cluster-members .cluster-member{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:52px;padding:10px 14px;text-align:left;background:#0f2230;color:#fff;border:1px solid #53616c;border-radius:10px;font-size:16px}
.cluster-members .cluster-member small{font-size:13px;color:#b4bec7}
.cluster-members .cluster-close{width:100%;min-height:44px}

.mapping-screen .action-surface:disabled{opacity:1}
.cluster-members>*{flex:0 0 auto}.cluster-members .cluster-member{height:auto}.cluster-members .cluster-member strong{overflow-wrap:anywhere}
/*unpin-top*/.mapping-screen .map-stage .unpinned-dives{top:50px;bottom:auto}
/*card-white*/.selected-map-card{position:fixed;left:8px;right:8px;bottom:44px;z-index:30;margin:0;padding:8px;max-height:36vh;overflow:auto;background:#fff;border:2px solid #32b8ef;border-radius:14px;box-shadow:0 2px 10px #0008}.selected-map-card,.selected-map-card *{color:#10202b}.selected-map-card.famous-card{border-color:#cf2b1f}.selected-map-card h2{font-size:17px}.selected-map-card .close-map-card{width:36px;height:36px;font-size:20px;background:#fff;border:1px solid #9bb}.selected-map-card .map-card-body{grid-template-columns:84px minmax(0,1fr);gap:8px}.selected-map-card .map-card-photo{background:#000;border-radius:8px;padding:6px;display:flex;align-items:flex-start;justify-content:center;width:auto}.selected-map-card .map-visit{background:#fff;color:#10202b;border:1px solid #789;margin:4px 0}.selected-map-card .map-card-coords,.selected-map-card .map-card-metrics small,.selected-map-card>p{color:#456}.selected-map-card p{margin:2px 0;font-size:13px}
/*unpin-margin*/.mapping-screen .map-stage .unpinned-dives{margin:0}
/*card-size*/.selected-map-card{max-height:30vh;padding:6px 8px}.selected-map-card .map-card-photo{padding:4px}.selected-map-card .saved-marine img{width:24px;height:24px}.selected-map-card p{margin:1px 0;font-size:12px}
/*sitetype-fit*/.sitetype-modal .sitetype-grid{grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:hidden}.sitetype-modal .sitetype-tile{min-width:0}.sitetype-modal .sitetype-tile img{max-width:100%}.sitetype-modal .sitetype-tile span{overflow-wrap:anywhere}
/*sitetype-pad*/.sitetype-modal .sitetype-tile{padding:14px 2px;gap:8px}.sitetype-modal .sitetype-grid{gap:8px}.sitetype-modal .sitetype-tile span{font-size:15px}
/*marinepicker*/.marine-modal .marine-title{margin:0 0 6px;font-size:21px;line-height:1.2;color:#fff;font-weight:700}.marine-modal .marine-sub{margin:0 0 14px;font-size:15px;color:#e8f1fb}.marine-modal .marine-count{color:#fff;font-size:17px;font-weight:700;text-align:left;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid #8aa0b3}.marine-modal .marine-grid{gap:8px;padding:3px}.marine-modal .marine-choice{position:relative;background:#13233a;border:1px solid #5f7488;border-radius:10px;padding:10px 4px 8px;gap:2px}.marine-modal .marine-choice.sel{border:2px solid #e6be68;background:#2c4259;padding:9px 3px 7px}.marine-modal .marine-choice input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}.marine-modal .marine-choice img{height:60px;padding:0}.marine-modal .marine-choice span{font-size:13px;font-weight:700;color:#fff}
/*marinepicker2*/.marine-modal .marine-grid{max-height:36vh}
/*marinepicker3*/.marine-modal .marine-grid{max-height:44vh;align-content:start}.marine-modal .marine-choice{margin:0}
/*marinepicker4*/.marine-modal .marine-grid{max-height:40vh}
/*editaccess*/.selected-map-card .edit-map-site-top{width:36px;height:36px;padding:0;margin:0 0 0 auto;font-size:19px;flex:none;background:#fff;color:#123;border:1px solid #9bb;border-radius:8px}.selected-map-card header h2{flex:1 1 auto;min-width:0}.selected-map-card .edit-map-site-top+.close-map-card{margin-left:0}
/*cardref*/.selected-map-card{max-height:40vh;padding:8px 10px}.selected-map-card .mc-head{display:flex;align-items:flex-start;gap:6px}.selected-map-card .mc-title{flex:1 1 auto;min-width:0;text-align:center}.selected-map-card .mc-title h2{font-size:17px;line-height:1.15;margin:0}.selected-map-card .mc-country{margin:1px 0 0;font-size:13px;font-weight:700}.selected-map-card .mc-stars{margin:1px 0 0;font-size:15px;line-height:1;letter-spacing:1px;color:#e6a700}.selected-map-card .edit-map-site-top,.selected-map-card .close-map-card{width:32px;height:32px;flex:none;margin:0;padding:0;font-size:18px;border-radius:50%}.selected-map-card .mc-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:6px}.selected-map-card .mc-photo{position:relative;width:100%;height:76px;padding:0;background:#000;border-radius:8px;overflow:hidden;align-items:center}.selected-map-card .mc-photo .map-card-site-photo{width:100%;height:100%;object-fit:cover;border-radius:0}.selected-map-card .mc-nophoto{color:#9ab;font-size:11px;text-align:center;padding:4px}.selected-map-card .mc-fact{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:6px;align-items:center;margin-top:6px}.selected-map-card .mc-fact>img,.selected-map-card .mc-fact>svg,.selected-map-card .mc-fact>span{grid-row:1/3;width:22px;height:22px;object-fit:contain}.selected-map-card .mc-fact small{font-size:10px;color:#456;line-height:1.1}.selected-map-card .mc-fact strong{font-size:13px;line-height:1.15;overflow-wrap:anywhere}.selected-map-card .mc-flagrow{display:flex;align-items:center;justify-content:space-between}.selected-map-card .mc-flag{font-size:26px;line-height:1}.selected-map-card .mc-pin{width:28px;height:auto}.selected-map-card .mc-total{margin:6px 0 0;font-size:12px}.selected-map-card .mc-marine{border-top:1px solid #cdd;margin-top:6px;padding-top:4px;text-align:center}.selected-map-card .mc-marine .saved-marine{display:flex;flex-wrap:nowrap;justify-content:space-around;margin:0}.selected-map-card .mc-marine .saved-marine img{width:26px;height:26px}.selected-map-card .mc-marine small{font-size:11px;color:#456}.selected-map-card .mc-op{margin:4px 0 0;font-size:12px}.selected-map-card .mc-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.selected-map-card .mc-desc-toggle{flex:1;background:none;border:0;padding:4px;font-size:14px;font-weight:700;color:#2f8fbf}.selected-map-card .mc-edit{flex:none;min-width:52px;height:30px;padding:0 10px;border:1px solid #9bb;border-radius:8px;background:#fff;font-weight:700;color:#2f8fbf}.selected-map-card .mc-desc p{font-size:12px;margin:3px 0}.selected-map-card .mc-shared{color:#456;font-size:11px}
/*bannerrm*/.selected-map-card .map-visit{width:100%;max-width:100%;font-size:12px;box-sizing:border-box}
/*stripedit*/.selected-map-card .mc-hspace{width:32px;height:32px;flex:none}
/*keys-foot*/.selected-map-card .mc-foot{position:sticky;bottom:-8px;background:#fff;padding:4px 0 8px;border-top:1px solid #cdd}

/* help sheet: original look (reference: user's original-app screenshots, 20 Nov) */
.import-help .helpsheet{background:#fff;color:#111;border-radius:22px 22px 0 0;padding:16px 16px 18px;max-height:88vh;overflow:auto;text-align:left}
.import-help .helpsheet h3{margin:4px 0 12px;font-size:20px;color:#111}
.import-help .brandpick{display:block;width:100%;background:#fff;border:2px solid #4a90d0;border-radius:6px;padding:13px 14px;margin:10px 0;text-align:left;position:relative;cursor:pointer}
.import-help .brandpick::after{content:"\203A";position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#4a90d0;font-size:22px}
.import-help .brandtxt{font-weight:800;font-size:18px;letter-spacing:.04em}
.import-help .brandtxt.su,.import-help .brandtxt.ga{color:#c0392b}
.import-help .brandtxt.sh{color:#2a6fb5}
.import-help .brandrow{display:flex;gap:10px;align-items:baseline;padding:8px 2px;font-size:17px;color:#111}
.import-help .notyet{color:#c0392b;font-weight:700;font-size:15px}
.import-help .hclose{display:block;width:100%;background:#4a8fd4;color:#fff;border:0;border-radius:8px;padding:15px;margin:12px 0 0;font-size:21px;font-weight:700}
.import-help .hvideo{display:block;width:100%;background:#fff;color:#4a8fd4;border:2px solid #4a8fd4;border-radius:10px;padding:15px;margin:12px 0 0;font-size:21px;font-weight:700}
.import-help .hback{background:none;border:0;color:#2a6fb5;font-size:16px;padding:6px 0;margin:0 0 6px}
.import-help .hsteps{list-style:none;margin:10px 0;padding:0}
.import-help .hsteps li{display:flex;gap:14px;align-items:center;margin:14px 0;font-size:21px;line-height:1.25;color:#111}
.import-help .hsteps .hn{flex:0 0 42px;height:42px;border-radius:50%;background:#4a8fd4;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:21px}
.import-help .hsteps b{font-weight:800}
.import-help .hsteps em{display:block;font-style:normal;color:#c0392b;font-weight:700;font-size:17px}
.import-help .helpsheet>p{font-size:16px;line-height:1.4;color:#444}
.vidback{position:fixed;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;z-index:99999}
.vidbox{background:#fff;border-radius:14px;padding:10px;width:min(92vw,420px)}
.vidplayer{width:100%;max-height:70vh;background:#000;border-radius:8px}
.import-help{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;max-height:none!important;overflow:visible!important;width:100%!important;max-width:none!important}
.import-help .helpsheet{max-height:90vh;margin-top:auto}
.import-help .hback{display:block}.import-help .brandtxt{display:block;margin:2px 0 8px}
.import-help .brandpick .brandtxt{margin:0}
.modal-shade:has(.import-help){align-items:flex-end!important;padding:0!important}
/* page 2 photo gallery: original layout (user reference image-65769a09) */
.detail-screen .detail-photo{position:relative}
.detail-screen .detail-photo.gal-hidden{display:none!important}
.detail-photo .gal-counter{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.55);color:#fff;border-radius:8px;padding:3px 9px;font-size:15px;z-index:2}
.detail-photo .gal-prev,.detail-photo .gal-next{position:absolute;top:28%;width:44px!important;height:56px;background:rgba(0,0,0,.45);color:#fff;border:0;border-radius:8px;font-size:34px;line-height:1;z-index:2;padding:0}
.detail-photo .gal-prev{left:8px}.detail-photo .gal-next{right:8px}
.detail-photo .gal-meta{background:#000;color:#fff;border-radius:0 0 18px 18px;padding:10px 20px 12px;margin:-4px 0 0;font-size:15px}
.detail-photo .gal-meta b{display:block;font-size:16px}.detail-photo .gal-meta span{display:block;font-size:19px;margin-top:4px}
.detail-photo .gal-row{display:flex;gap:6px;padding:12px 8px 14px;background:#d3e7f2}
.detail-photo .gal-btn{flex:1 1 0;display:flex;align-items:center;justify-content:center;text-align:center;min-height:56px;box-sizing:border-box;border:2px solid #4a94c1;border-radius:12px;background:#fff;color:#2f6fa8;font-size:19px;font-weight:500;line-height:1.15;padding:4px 6px;margin:0!important;width:auto!important}
.detail-photo .gal-btn input[type=file]{display:none}
.detail-photo .gal-disabled{opacity:.45}
.detail-photo .gal-delete.warnbtn{background:#c0392b;color:#fff;border-color:#c0392b}
.detail-photo .gal-meta .none{opacity:.85}
.map-back:disabled{opacity:.4}
.place-editor .next-field-btn{display:block;margin:-4px 0 8px auto;padding:6px 14px;border:2px solid #4a94c1;border-radius:10px;background:#fff;color:#2f6fa8;font-size:15px}

/*picker-close*/.modal-close-top{position:sticky;top:0;z-index:2;display:block;width:100%;margin:0 0 8px;padding:12px;font-size:16px;font-weight:600;background:#fff;color:#123a5c;border:1px solid #123a5c;border-radius:12px}

/*close-style*/.react-dialog .modal-close-top{background:#123a5c!important;color:#fff!important;border:1px solid #fff!important;opacity:1!important;font-size:17px!important;min-height:44px}

/*cardfold*/.selected-map-card{max-height:min(352px,56vh)}

/*cardfit*/.selected-map-card{padding:6px 10px}
.selected-map-card .mc-photo{height:56px}
.selected-map-card .mc-marine{margin-top:4px;padding-top:3px}
.selected-map-card .mc-marine .saved-marine img{width:24px;height:24px}
.selected-map-card .mc-op{float:left;margin:2px 0 0;font-size:11px;line-height:14px}
.selected-map-card .map-card-coords{float:right;margin:2px 0 0;font-size:11px;line-height:14px}
.selected-map-card .mc-foot{clear:both}

/*chooserfit*/.react-dialog.marine-modal{display:flex;flex-direction:column;overflow:hidden;height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}
.react-dialog.marine-modal>*{flex:none}
.react-dialog.marine-modal .modal-close-top{padding:6px;min-height:38px!important;margin:0 0 6px;font-size:16px!important}
.react-dialog.marine-modal .marine-title{font-size:17px;margin:2px 0}
.react-dialog.marine-modal .marine-sub{font-size:13px;line-height:1.3;margin:0 0 2px}
.react-dialog.marine-modal .marine-count{margin:4px 0}
.react-dialog.marine-modal .marine-grid{flex:1 1 0;min-height:90px;max-height:none;overflow-y:auto;margin-bottom:6px}
.react-dialog.marine-modal .marine-choice img{width:52px;height:52px}
.react-dialog.marine-modal .marine-save{padding:10px!important;margin:2px 0!important}
.react-dialog.marine-modal .marine-reset,.react-dialog.marine-modal .marine-cancel{padding:8px 14px!important;margin:4px 4px 0 0!important}

/*marineright*/.selected-map-card .mc-right .mc-marine{margin:4px 0 0;padding:0;border:0;text-align:left}
.selected-map-card .mc-right .mc-marine .saved-marine{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:3px}
.selected-map-card .mc-right .mc-marine .saved-marine img{width:26px;height:26px}
.selected-map-card .mc-right .mc-marine small{display:block;font-size:10px;line-height:12px;margin-top:2px}

/*marine6*/.selected-map-card .mc-right .mc-marine .saved-marine{flex-wrap:nowrap;gap:2px}
.selected-map-card .mc-right .mc-marine .saved-marine img{flex:1 1 0;min-width:0;max-width:26px;width:auto;height:auto;aspect-ratio:1/1;object-fit:contain}

/*layout2*/.selected-map-card .mc-body{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:10px}
.selected-map-card .mc-photo{height:auto;aspect-ratio:1/1;min-height:120px;align-self:start}
.selected-map-card .mc-right .mc-fact{margin-top:6px}
.selected-map-card .mc-desc .mc-marine{margin:2px 0 6px;padding:0;border:0;text-align:left}
.selected-map-card .mc-desc .mc-marine .saved-marine{display:flex;flex-wrap:nowrap;gap:4px;justify-content:flex-start}
.selected-map-card .mc-desc .mc-marine .saved-marine img{flex:none;width:100%;max-width:44px;height:auto;aspect-ratio:1/1;object-fit:contain}
.selected-map-card .mc-desc .mc-marine small{display:block;font-size:11px;line-height:13px;margin-top:2px;color:#456}

/*divepairs*/.detail-screen .detail-fields>[data-cell="max"]{grid-column:1}
.detail-screen .detail-fields>[data-cell="surface"]{grid-column:2}
.detail-screen .detail-fields>[data-cell="Shore or Boat Dive"]{order:19;grid-column:1}
.detail-screen .detail-fields>[data-cell="Camera"]{order:20;grid-column:2}

/*divemarine*/.dive-marine{margin:4px 7px 16px}
.dive-marine h3{margin:0 0 6px;font-size:15px;font-weight:600;color:#777b83}
.dive-marine-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:8px 0}
.dive-marine-row img{width:100%;max-width:88px;aspect-ratio:1/1;object-fit:contain;justify-self:center}
.dive-marine-open{width:100%;box-sizing:border-box}

.mapping-screen .map-stage .country-picker-open:after{content:none;padding:0}
.mapping-screen .map-stage .country-picker-open{cursor:default}

/*sharestatus*/ .picture-working{margin:10px 8px;padding:10px;border:1px solid #249aff;border-radius:8px;background:#eaf4ff;color:#084a8a;font-weight:bold;text-align:center}

/*mapthumb*/ .site-map-thumb{display:block;width:100%;padding:0;border:1px solid #aab0bb;border-radius:15px;background:#0b1922;overflow:hidden;margin:0 0 8px}.site-map-thumb img{display:block;width:100%;height:auto}

.grid-delete{top:-12px!important;right:-4px!important;bottom:auto!important;width:48px!important;height:48px!important;min-height:0!important}
.journal-search input{padding-right:14px!important}
.search-all{flex:none;padding:10px 12px;font-size:12px;font-weight:600;letter-spacing:.4px;border-radius:10px;white-space:nowrap}

/*startdive-fix*/.modal-shade:has(.pin-draft-modal){z-index:40}
/*other-fit*/.sitetype-modal:has(.sitetype-other-entry) .sitetype-grid{max-height:52vh}

/* r5 batch */
html{background:#000}
body{padding-bottom:env(safe-area-inset-bottom)}
.detail-screen .detail-bar input[data-extra="Dive Charter"]{color:#111}
.detail-screen .detail-fields .tbtn,.detail-screen .detail-fields .shore-choice{color:#3560a5}
.detail-screen .detail-fields .tbtn.is-empty,.detail-screen .detail-fields .shore-choice.is-empty{color:#9db4d6}
.detail-screen .detail-photo button.gal-prev,.detail-screen .detail-photo button.gal-next{width:34px!important;height:44px;top:32%;background:rgba(110,110,110,.45);color:#fff;border:0;border-radius:8px;font-size:26px;line-height:1;padding:0}
.action-wait{color:#fff;font-size:15px;display:flex;align-items:center;gap:10px;white-space:nowrap}
.action-wait .aw-spin{width:16px;height:16px;border:3px solid #94c5dd;border-top-color:transparent;border-radius:50%;animation:aw-rot .8s linear infinite;flex:none}
.action-wait.is-ready{color:#9be3a8;border-color:#9be3a8}
@keyframes aw-rot{to{transform:rotate(360deg)}}
.map-stage .unpinned-dive .unpinned-site{display:block;font-size:12px;color:#444;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.cluster-name{position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:2px;color:#fff;background:#102330;border:1px solid #fff;border-radius:4px;padding:2px 5px;font-size:12px;line-height:1.2;width:max-content;max-width:150px;white-space:normal;overflow:hidden;text-overflow:clip;text-align:center;overflow-wrap:anywhere;z-index:7}
.map-pin-badge{position:absolute;right:-6px;top:-4px;min-width:20px;height:20px;padding:0 4px;box-sizing:border-box;border-radius:10px;background:#075d91;color:#fff;border:1px solid #fff;font:700 12px/18px Arial,sans-serif;text-align:center}
.detail-screen .fit-l{display:block;white-space:nowrap;overflow:hidden}
.detail-screen .dive-time-hint{font-size:12px;color:#c9d6e2;margin:4px 2px 8px}
.detail-screen .dive-title>div{position:relative}.detail-screen .dive-title .dive-flag{position:absolute;right:2px;top:6px;font-size:22px;line-height:1;pointer-events:none}.detail-screen .dive-title .has-flag input[data-field=site]{padding-right:32px}
#error:not(:empty){position:sticky;top:0;z-index:30;box-shadow:0 2px 8px #0008}
.detail-screen .dive-title .dive-flag{top:auto;bottom:12px;right:10px;font-size:26px}.detail-screen .dive-title .has-flag input[data-field=site]{padding-right:0}
html,body{overscroll-behavior-y:contain!important;overscroll-behavior-x:none}

/* 28 Nov batch: Total logged dives tab wraps instead of touching the button edges (holds at the largest font with 3-digit counts) */
.mapping-screen .map-top-grid .map-total{display:block;white-space:normal;line-height:1.15;padding:6px 8px;text-align:center;align-content:center}
/* 28 Nov batch: collapsed map legend much smaller, still tappable */
.mapping-screen .map-stage .map-legend>summary{padding:6px 8px;gap:5px}
.mapping-screen .map-stage .map-legend>summary img{width:28px;height:34px}
/* 28 Nov batch: smaller pin name boxes on the map */
.map-stage .cluster-name{font-size:10px;line-height:1.15;padding:1px 4px;max-width:110px;margin-top:7px;max-height:calc(2.3em + 4px)}

/* 28 Nov batch: cluster markers as the user's badge designs (blue diver = My dives, red dive-flag = Famous sites), count in the black base; 40px, confirmed design 28 Nov */
.map-stage .map-pin-cluster.clb{border-radius:50%;overflow:visible;box-sizing:border-box;padding:0}
.map-stage .clb-art{clip-path:circle(18px at 50% 18px)}
.map-stage .clb-num{clip-path:circle(18px at 50% -2.88px)}
.map-stage .clb-blue{border:2px solid #4fd2ff!important;box-shadow:0 0 3px #4fd2ffcc,0 1px 3px #0009,inset 0 0 0 1px #ffffff70;background:linear-gradient(#8fd8ff,#1c7fd6 42%,#0a3f8c 55.5%,#7fe0ff 55.5%,#7fe0ff 57.5%,#232a33 57.5%,#0c0f13 75%,#05070a)!important}
.map-stage .clb-red{border:2px solid #ff4040!important;box-shadow:0 0 3px #ff4040cc,0 1px 3px #0009,inset 0 0 0 1px #ffffff70;background:linear-gradient(#ff9a7a,#e31818 42%,#8c0606 53%,#ffb08a 53%,#ffb08a 55%,#232a33 55%,#0c0f13 75%,#05070a)!important}
.map-stage .map-pin-cluster.clb::before{content:'';position:absolute;left:12%;top:3%;width:76%;height:26%;border-radius:50%;background:radial-gradient(closest-side,#ffffff66,#ffffff00);pointer-events:none}
.map-stage .clb-art{position:absolute;left:0;top:0;width:100%;height:56%;pointer-events:none}
.map-stage .clb-blue .clb-art{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG0AAABXCAYAAAAOGcudAAAMB0lEQVR4nO2de4wdVR3HP9tu2Sywsm5Jw4bWKgFsaEAr1YqmKVaCa6oBYjURHwm+QngEI4JAIgH5xwfGKGJ8QaJE8YEtxPCwKC9TtFapUgooDxdswZb0kV2728su/fnH9xzmzOzMvTP3zr29G+abnMyd1zlnzm9+v/N7nbk9ZkaH0QfU3PYwYLzTHZjt6DkERKvQIuZ0qJ3eDrXzmkDFabMQneK0CiWiItosREW05nAmsPJQNV4pCMWwAvgNcDTwMvA8cA7wVCc7USkixbAZWAr0u/09wHPA2zrZiYrTiuFYRLB9wEFgCDii052o5rRieBmYBOYC8xCnHex0JyqiFcNmYBp4xZU5wG2d7kQ1pxXH14EPut+3AV/udAcqos1CVOJxFqLSHtuDi4A3Ay8B3wd2lVl5JR7LxbnAt4AFwbF9wHrgU2U1UhGtPKwA7iey4+YCA+7cLmDUXdMyKqKVh1FgMYrKgyLzILtuHDgKOA3Y0mpDlSJSDgaQtwRkbPcF56ZRWsVcShKRlSJSDo4Mfnu/5LTbehFZA44po7GK08rBi8D/Uo6HTHEQuKeMxiqilYeng981YCrYfxLNbTeV0VBFtPJwGiIMiKv6g3OLga+U1VClPZaPXwPvQw5lgP8i+61lrdGjIlr7MIzmutJREW0WoprTZiEqos1CVESbhaiINgtREa29eAyYAB4ps9KKaO3DZUQ5kieh3JJSUDmM24c3IHfWJPL6l+IshorT2on1xEM015dVcWVctxdLgVXAD4lCNS2jItosRCUe8+MKlFIw5srtifMPIc5qOypOS8fNSOvbhlbEjBAPtYy7/SeA84HVbtuPFmXMAbIG9jIUxjkK+Bsi/sNFOlcRbSZGgF8RpQmA5qM0TXuSODH3AB8G7ku59nBgP3GNcp6r9x7g/Xk7WInHONYC16JEnBBZplE/4rpbgM8gIrySce0/UKhmPxHBQOl2I4hrc6Gy04RLgGvQYPbXv/RV7HHbaeBCRLx/I8I/6M6tQeLyRGARWirl6/fpCH5/CTILvtio4deyeOwFvg2chwYuTQRmiUWQmNsD/As4PTi+EHlANrj9ZcCdKGMrfCFeQWkJ04iAk8DfgQ/k6XgjrHONHU+06vFlJEL2u4bGEfv/E/nZSs1dLxnHIa76COIsn9eRNhb1xqcPRaevSRzfDnyJiGhb0DgNIeJ4sTjXFdzxY4GLcz2BmdUrp5iw3cwmLMJUsD9hZgcsjgkz22tmo2b2iJk9YWZPmdnO4JoXzOxdDdovsywzs02u7b1mttttpxLPtTfleUKE59ZltDViZjcG+39w96XVG7a/0cxWNHqWPOJxCq3+6Cdi73DJqteAQvgPloUfK+slLh686OnJ9XY1j7XA1xBXzCFyLU0jLjuMuLsp7JtHjXiG1R+Bn7gyjZ7hC64Nf98a4EqkYFyHPCNDQZ2Trj9zkaj0H3qbBF5f74HyEG0UrQJJEmef22ZN3qHbxt83TqRK+99HA7sbdaIJXApcjvrul9wmiQMzc+89QsJNAzvQ8t27kKJxPPqeyCpgeUq94yiBdT+aVvqBwQZ9rgE/p0H6eJ457Xn0hiQJE3bAc1ajukPbZ8xd8yHkmysL1yPl4giiOaPXlbR+hpwX9nkqZf9eNF9f4Eo/UkbSFJYBd344cT7sg3+x/bk+xL11kYfTthMtLvDGZNKo3IXEwDakiPwZeBx5BVYAH0UT/3BwzzjRQL6JiHNbwWWkx628KEyK6Hp4Gr31xwCfQP38D3ByUGcW9+La81x8JHGu9QqJH8ffoWVSi4DPN+pYHqIlL3gW2Iq+XHM/ImpeLAWuQgvNw7nkWeBUWifcKMrmhegt9sZuOCfVkAbsBy8k5gYkAu9311yMiBYupICZK2NCo3ou9c2HXciN5eu4EvgOinI3RB6iXYveiLuAR/NUmgPDyL83QvRGHgTOoLVM3Ak0+GkiCKJBC9v0ysF3gd+juWsR4qi1bjtJRFxvImRxbHhtCE+0Dej5Q47diDj7R8Cmhk9ZokrdTFkeqLxeHb60hfq2uzr2JtTqAxY3WTxGzew6k4q+2MxWmdn1KdeFJk4WDgRlIrG/26TOhybOWtfP0GS6IM9zHmqiYWZnmtmYK56A68ysp4m6bnX3j6UMaIh1iQE8zh1LYirlWF5MBfdvrtPni9x1j9S5puuIhpldkXjg3aaBvqRgPQuDOsYsMqI9fmp6SZL37TS98eG1rWAqKAfM7IYG/T6uyHN2k+/xdhRnWkB8sr8DOLtAPSPA3cH+HuCrSLH4qzu2ECk+JyI76wzStcDQrsyLZFpBL/In3lmwnkx0E9EAXiAyC0Jtaxx4XcG6RoCdRIrNAPKgn0/8kxEw037zSgrkNxE80kyBd5JHwciJbounXchMgxOiEP/8AnXdQ1wTvQ24mkhbHCfu1UliDs2NTy8zNddTm6gnE91GtPUoauzF4yR68GMRpzyYcV8jbEJicBfighqRnZiWJdUXlGbgjXkfc3uyyXpS0W1EA/gYcdEUGq1L0SeM8uIEtDLzZGTwDhEnSD8ysEtLbyNy+s5DBvR60tMPmka3zWkeZyFxNkYUw/Nv/VbglJR7ViAx9EZEnPeg2FnS5dYJeAXmYeDdZVferUQDzT9XIVfSAHFl4Q7kRRhC2VKrmCnKaqS7kzqFGuLw0j9K3c1EAzlSV6OB92lr9YiQ9KaDCJfMx+gEbgE+2Y6KO020h1BaQr6wuhCaAaFfL03LhMgZDOLQenkerSJpKvi2asA7KM9XG0MYyW03ptCDXIREW1rgMA0fD34nP2GU/A3RX3x5ozgPwWqNL0m9Pi2GOI4cv20hGIhoRTvcDG4l8o7XUIbSvcANNE6lvg9pYB69KWWSyHPv5zJPzDTNsOaO+3NZqn/a/dNExPoF0Zd6fPsDtPdj1L2dEI8rkVh8kbi3I/Qa7EOB0x2ueAKPoT8rWIJE6gKKzUtJEer3vZrvuXED0jSPdvUfJFsKPYdepG+ioO+NKIrtxfIAco+17V8xOqFZ/dJth4lrdGFsaxC5nbKw1W33IUP1efQyDGXd4BASK0ye6Ufq+M1ICkwAn0afrg0VmX1EaRV3oFSAkOtBOSAQzaOgr/S0De0m2ibinBF+uHKb+72cdH+dD8tDFDDcATzjtqsy2vReFI/DiA9oHwp4JpWhm5BfcnlwXR/iwu8hoqVhEVESzyByn7X3LzMDl//8IuGBHOX2lJDFz0wBx/C6E0whE7N48HIi2A9zBp8xs8csf6xrwqIA5t2mwGtWn1cHbfzYzFbmeM4HXN98f1oJ4tYrvf538sSCEipfbAroJZNAz21w3ypTUqcl7huzeBTYLDvxMwnfh41mdk7Jg+jLZtfGbtPLVPbL78ur9SZPFArGpZTzggEds+gNL/L2XWsRQSaCerJSBkLiJbnvATM7q02D6EsYPM2VLtBEGTazPr9fVqWDFoXrd1o83N8oaptVrg7qSeOqCYuLPo8pk7hd06YBDMv8oN2NbWqjx8wGwmNpFx1esNJLgo572e63ufMe6pTrLJ5vkYW7XV8G2zR4aWUkaP+KNrWxxBJ0ybpwWY7KzjMtqgjf9ORb39egjrxl2CJlJcStbrCWtmnA6pU+04uy1/XlrDa0sdCkgMQYKcu4HkaLLrK8BI8SqeEhdiEVexCt2Wo2aJmFZSjU8Tglx6gKohflfJzm9jdSYPltASxFptEphG6xBlTOOveApSsF/q373CF48ztZfuCe8wWTtGkHp3tpN5w8Vy9yvR1lLaXhdOBPiBNfRMbkHsRhl1PugopuwznA29EzDyOje1vdO5rDFsTRMz6p2yjd4CWyU8jei8TCJPJmDKGV/d9oupvdj7VoZexJaFy2Ar9tQzuDbvvWtJONiNYoAnA2crT+BXFfx/9qscN4i9v2IU74LOXP28uRz3M5UZ5mDN0eue429KDv649S0h8jJHACCvUcRZ0VREWI5j3kFdqDJSiC0UP2136AYil0PnhZoXysQN8ggQYEg+J5j1vI1igrNIfVKP6WW4pVc9qhxQI0f+1AMb9cSbMV0Q4dwr81GaTA0uVW08IrUdkc+ogINp+Ca81bJdp28qfCVZBBPp9o/uqliW+o/B8BhtdSvklF8QAAAABJRU5ErkJggg==") center 42%/auto 92% no-repeat}
.map-stage .clb-red .clb-art{background:linear-gradient(45deg,#fff0 43%,#fff 43%,#fff 55%,#fff0 55%)}
.map-stage .clb-num{position:absolute;left:0;right:0;bottom:0;height:42%;display:flex;align-items:center;justify-content:center;color:#fff;font:700 12px/1 Helvetica,Arial,sans-serif;text-shadow:0 1px 1px #0008;pointer-events:none}
.map-stage .clb-num.clb-big{font-size:10px}

/* 28 Nov batch: smaller delete X tucked inside the dive photo corner; 44px hit area kept */
.journal-entry .journal-delete{width:44px!important;height:44px!important;right:10px;top:10px;border:0!important;padding:0;background:radial-gradient(circle at 50% 50%,#151b21 0 14px,#929aa5 14px 15px,rgba(0,0,0,0) 15.5px)!important;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}

/* 28 Nov batch: smaller grid delete X, fully inside the thumbnail corner, no screen-edge clipping; 44px hit area kept */
.grid-dive .grid-delete{top:6px!important;right:calc(6% + 4px)!important;bottom:auto!important;left:auto!important;width:44px!important;height:44px!important;min-height:0!important;border:0!important;padding:0;background:radial-gradient(circle at 50% 50%,#151b21 0 13px,#929aa5 13px 14px,rgba(0,0,0,0) 14.5px)!important;font-size:17px;line-height:1;display:flex;align-items:center;justify-content:center}

/* 28 Nov 13:37 - unpinned-dives readiness: red moving line while loading, green when ready (his design) */
.unpinned-dives .upin-light{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px;vertical-align:1px;flex:none}
.unpinned-dives .upin-red{background:#dd080b;animation:upinpulse 1s ease-in-out infinite}
.unpinned-dives .upin-green{background:#16a34a}
@keyframes upinpulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes upinslide{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
.unpinned-dives .upin-track{display:block;width:100%;height:0;border-radius:2px;background:transparent;overflow:hidden;margin:0}
.unpinned-dives .upin-track.on{height:3px;margin:0 0 3px;background:#3a1113}
.unpinned-dives .upin-track.on::before{content:"";display:block;height:100%;width:40%;background:#dd080b;border-radius:2px;animation:upinslide 1.1s ease-in-out infinite}

/* 28 Nov batch: empty-field hints and button values as bold as the blue values (like "25m") */
.detail-screen .detail-fields>label input::placeholder{font-weight:600;font-size:15px}
.detail-screen .detail-fields .shore-choice,.detail-screen .detail-fields .tbtn{font-weight:600;font-size:20px;line-height:1.2}
.detail-screen .detail-fields .shore-choice.is-empty,.detail-screen .detail-fields .tbtn.is-empty{font-size:15px}

/*search-banner*/
.map-search-banner{position:relative;z-index:9;margin:8px 10px 6px}
.map-search-banner .msb-bar{display:flex;align-items:center;height:48px;border:2px solid #5bc0ec;border-radius:24px;background:#020a10;box-shadow:0 2px 8px #0008;overflow:hidden}
.map-search-banner .msb-country{flex:1 1 0;display:flex;align-items:center;gap:10px;padding:0 8px 0 12px;min-width:0;cursor:default}
.map-search-banner .country-flag{display:inline-flex;width:30px;height:22px;align-items:center;justify-content:center;font-size:19px;flex:none;line-height:1}
.map-search-banner .msb-name{color:#fff;font-weight:700;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.map-search-banner .msb-divider{width:1px;height:22px;background:#5bc0ec;flex:none}
.map-search-banner .msb-search{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;padding:0 14px 0 10px;height:100%;border:0;border-radius:0;background:transparent;white-space:nowrap;min-width:0}
.map-search-banner .msb-glass{width:21px;height:21px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235bc0ec' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='6.5'/%3E%3Cpath d='M15 15l6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.map-search-banner .msb-text{color:#fff;font-weight:700;font-size:14px}
.map-search-banner .msb-text b{color:#ffe53b}
.map-search-banner .msb-panel{position:absolute;left:0;right:0;top:100%;margin-top:6px;background:#061720;border:1px solid #476578;border-radius:18px;padding:9px;box-shadow:0 6px 16px #000b}
.map-search-banner .msb-panel form{display:flex;gap:7px}
.map-search-banner .msb-panel input{flex:1;min-width:0;min-height:46px;padding:7px 10px;font-size:16px;font-weight:600;color:#e8f1fb;background:#07131b;border:1px solid #53616c;border-radius:9px;outline:0}
.map-search-banner .msb-panel input::placeholder{color:#7f93a1;font-weight:400}
.map-search-banner .msb-panel input:focus{border-color:#35a9e0;box-shadow:0 0 8px #35a9e066}
.map-search-banner .msb-panel form button{min-height:46px;padding:7px 14px;font-size:14px;font-weight:700;color:#ffe16a;background:#07131b;border:2px solid #ffe16a;border-radius:9px;box-shadow:0 0 12px #e5c83b66}
.map-search-banner .msb-results{max-height:350px;overflow:auto;margin-top:8px;display:flex;flex-direction:column;gap:7px}
.map-search-banner .msb-result{display:flex;align-items:center;gap:9px;text-align:left;min-height:44px;padding:7px 10px;font-size:14px;font-weight:600;color:#e8f1fb;background:#07131b;border:1px solid #53616c;border-radius:9px}
.map-search-banner .msb-result:active{border-color:#35a9e0}
.map-search-banner .msb-rn{color:#fff;font-weight:700}
.map-search-banner .msb-rc{color:#6bc8ff;font-weight:600}
.map-search-banner .msb-none{margin:8px 4px 2px;color:#6bc8ff;font-weight:600;font-size:13px}
.map-search-banner .msb-bar>.msb-search:only-child{flex:1 1 auto}
.map-search-banner .msb-pin{width:20px;height:25px;object-fit:contain;flex:none}
.map-search-banner .msb-rt{min-width:0}
/*sticky-top-0810*/.journal-home{padding-top:0!important}
.journal-sticky{position:sticky;top:0;z-index:9;background:#000;padding-top:4px}
.journal-selectbar{display:flex;align-items:center;gap:10px;border-top:2px solid #45494d;margin-top:10px;padding:8px 0 8px}
.journal-select{min-height:36px;padding:6px 16px;font-size:14px;font-weight:700;color:#fff;background:#14191f;border:1px solid #65717d;border-radius:10px}
.journal-select.is-on{color:#ffe16a;border:2px solid #ffe16a}
.journal-select-hint{font-size:13px;color:#ffe16a}
.dive-list.journal,.dive-list.grid{border-top:0!important}
.dive-list.journal{padding-top:10px!important;margin-top:0!important}
.dive-list.grid{padding-top:26px!important;margin-top:0!important}
.journal-header+p{margin:6px 0 10px!important}
/*diverating-0810*/.dive-rating{display:flex;align-items:center;gap:0;margin:15px 7px 10px;height:40px;padding:0 13px 0 13px;border:1px solid #ddd;border-radius:14px;color:#555;box-sizing:border-box}
.dive-rating-label{font-size:15px;font-weight:700;color:#555;flex:none;white-space:nowrap}
.dive-rating-stars{display:flex;flex:none;margin-left:23px;gap:1.8px}
.dive-rating-star{padding:0;border:0;background:none;min-height:0;line-height:0;width:24.4px;height:32px;display:flex;align-items:center;justify-content:center}
.dive-rating-star svg{display:block;width:24.4px;height:24.4px}
.dive-rating-star svg path{stroke:rgba(0,0,0,.12);stroke-width:.5;stroke-linejoin:round}
.dive-rating-count{font-size:14px;font-weight:700;color:#555;flex:none;white-space:nowrap;margin-left:auto}
.dive-header-stars{display:flex;gap:0;margin:-11px 0 -5px 1px;line-height:0}
.dive-header-stars svg{display:block;width:17.4px;height:17.4px;margin-right:.1px}
@media(max-width:350px){.dive-rating{padding:0 8px}.dive-rating-label{font-size:13px}.dive-rating-stars{margin-left:8px;gap:0}.dive-rating-star{width:21px}.dive-rating-star svg{width:21px;height:21px}.dive-rating-count{font-size:13px}}

.journal-selectbar{display:block;padding:0;margin-top:10px;min-height:0;height:0}
.journal-entry{position:relative;container-type:inline-size}
.dive-card .card-meta{display:flex;align-items:center;min-height:56px}
.dive-bin{position:absolute;display:flex;align-items:center;justify-content:center;padding:0;margin:0;min-height:0;border:0;border-radius:14px;background:#1a1e24;color:#e0605c;z-index:3;-webkit-tap-highlight-color:transparent}
.dive-bin svg{display:block;pointer-events:none}
.dive-bin-list{width:52px;height:52px;right:10px;top:calc(58.9cqw + 18px)}
.dive-bin-grid{width:46px;height:46px;right:3px;top:118px}
.grid-dive-text>small:first-child{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding-left:0;box-sizing:border-box;text-align:center}
.journal-selectbar{margin-bottom:8px}

.journal-search .menu-btn{width:47px;height:47px;flex:none;display:flex;align-items:center;justify-content:center;background:#14191f;border:1px solid #65717d;border-radius:10px;padding:0;color:#fff}
.journal-search .menu-btn svg{display:block;pointer-events:none}
.menu-shade{position:fixed;inset:0;z-index:15;background:transparent}
.menu-pop{position:absolute;right:5px;top:calc(100% + 6px);z-index:20;min-width:210px;background:#14191f;border:1px solid #65717d;border-radius:12px;padding:4px;box-shadow:0 8px 24px #000a}
.menu-pop .menu-item{display:block;width:100%;height:58px;text-align:left;padding:0 18px;margin:0;border:0;border-radius:8px;background:transparent;color:#fff;font-size:18px;font-weight:700;letter-spacing:.3px;min-height:0}
.menu-pop .menu-item+.menu-item{border-top:1px solid #2b3944;border-radius:0}
.menu-pop .menu-item-red{color:#ff5a55}
.dive-list.grid .grid-dive-text{padding-top:4px!important}
.grid-dive-text>small:first-child{display:block;min-height:0;padding:0 0 2px;text-align:center}
.dive-bin-grid{top:4px;right:3px}
.journal-entry .dive-card .card-meta{min-height:0;margin-top:10px;justify-content:center;text-align:center}
.journal-entry .dive-card strong{text-align:center;padding:0 26px;margin-top:4px}
.journal-entry .dive-card .card-date{text-align:center;margin-top:4px}
.dive-list.journal .dive-card{padding-bottom:12px;margin-bottom:12px}
.dive-bin-list{top:10px;right:10px}
.journal-entry .dive-card .card-meta,.dive-list.grid .grid-dive-text>small:first-child{color:#ffe16a!important;font-weight:600}
.journal-entry .dive-card .card-meta{line-height:1.05}
.journal-entry .dive-card strong{margin-top:0;line-height:1.1}
.dive-list.grid .grid-dive-text strong{margin:1px 0 3px!important;line-height:1.15}
.grid-dive-text>small:first-child{padding-bottom:0}
.dive-list.grid .grid-dive-text strong,.journal-entry .dive-card strong{overflow-wrap:break-word!important;word-break:normal!important}
.dive-list.grid .grid-dive-text strong{overflow-wrap:break-word!important}

.detail-screen .detail-fields>[data-cell="Site type"]{order:21;grid-column:1}
.detail-screen .detail-fields>[data-cell="Site type"] .stype-card-icon{position:absolute;left:12px;top:calc(50% - 16px);width:32px;height:32px;object-fit:contain;margin:0}

.dive-difficulty{margin:14px 0 6px}
.dive-difficulty .diff-banner{display:block;position:relative;width:85%;aspect-ratio:2048/722;padding:0;margin:0 auto;border:0;border-radius:12px;background:#fff;overflow:hidden;-webkit-tap-highlight-color:transparent}
.dive-difficulty .diff-banner img{position:absolute;display:block;max-width:none;user-select:none;-webkit-user-drag:none}
.dive-difficulty .diff-banner .diff-base{left:0;top:0;width:100%;height:100%}
.modal-shade .react-dialog.diff-modal{background:#343437;color:#e8e8ea;border:0;border-radius:26px;padding:6px 0;width:min(92vw,420px);max-width:none;overflow:hidden}
.diff-modal .modal-close-top{display:none!important}
.diff-modal .diff-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:76px;margin:0;padding:0 22px 0 26px;background:none;color:#e8e8ea;border:0;border-bottom:2px solid #4a4a4e;border-radius:0;font:400 24px Roboto,"Helvetica Neue",Arial,sans-serif;text-align:left}
.diff-modal .diff-row:last-child{border-bottom:0}
.diff-modal .diff-radio{flex:none;position:relative;width:26px;height:26px;box-sizing:border-box;border:3px solid #d0d0d3;border-radius:50%}
.diff-modal .diff-row.sel .diff-radio::after{content:"";position:absolute;inset:3px;border-radius:50%;background:#d0d0d3}
.dive-difficulty .diff-banner .diff-inner{position:absolute;left:0;top:0;width:100%;height:94.46%;display:block}
.detail-screen .dive-marine h3{font-size:18px;font-weight:700;color:#23272e;text-align:center}
.detail-screen .dive-marine .dive-marine-open{text-align:center}
.detail-screen .dive-marine .dive-marine-open{color:#fff;font-weight:600;text-shadow:none;opacity:1}

/* v7 batch Dec 1 */
/* 1. Dive page: empty status line must not take space (white band above black header) */
.detail-screen #error:empty{display:none}
/* 1b. Dive page: black header edge to edge at the top (crosses the screen's 4px gutter) */
.detail-screen .dive-title{margin:-4px -4px 0}
/* 2. Map page: banner, top tools and search bar stay fixed; only the map moves */
.mapping-screen{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}
.mapping-screen #error:empty{display:none}
.mapping-screen .action-surface{flex:1;min-height:0;display:flex;flex-direction:column}
.mapping-screen .map-stage{flex:1;min-height:0;display:flex;flex-direction:column}
.mapping-screen .map-stage>div:not(.cluster-members){flex:1;min-height:0;display:flex;flex-direction:column}
.mapping-screen .map-stage .geographic-map{flex:1;min-height:0;display:flex;flex-direction:column}
.mapping-screen .provider-map-canvas{flex:1;min-height:0;height:auto!important}
.mapping-screen .geographic-map>svg{height:100%}

/* v7 batch Dec 2: floating back-to-top (all pages except map) */
.float-back-top{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(6px + env(safe-area-inset-bottom));z-index:40;width:56px;height:56px;border-radius:50%;border:1px solid #6c9cbe;background:#142532;color:#91caf1;font-size:30px;line-height:1;font-weight:700;box-shadow:0 4px 14px #0009;padding:0}
.detail-screen .float-back-top{background:#4b93cc;border-color:#4b93cc;color:#fff;box-shadow:0 4px 14px #0004}

/* v7 batch Dec 2: creature names under each picture on the dive page */
.dive-marine-row{align-items:stretch}
.dive-marine-item{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:none;border:0;padding:2px 2px 6px;min-width:0}
.dive-marine-item img{width:100%;max-width:88px;aspect-ratio:1/1;object-fit:contain}
.dive-marine-item figcaption{margin-top:3px;font-size:14px;line-height:1.2;font-weight:400;color:#000;text-align:center;overflow-wrap:break-word;word-break:normal;hyphens:manual;max-width:100%}
/* v7: map card creatures: big icons like the dive page row, small black names */
.selected-map-card .mc-desc .mc-marine{margin:4px 0 8px;padding:0;border:0;text-align:center}
.selected-map-card .mc-desc .mc-marine .saved-marine{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:8px 2px}
.selected-map-card .mc-marine-item{margin:0;flex:0 0 calc((100% - 10px)/6);width:calc((100% - 10px)/6);display:flex;flex-direction:column;align-items:center;min-width:0}
.selected-map-card .mc-desc .mc-marine .saved-marine img{flex:none;width:100%;max-width:44px;height:auto;aspect-ratio:1/1;object-fit:contain}
.selected-map-card .mc-marine-item figcaption{margin-top:2px;font-size:9px;line-height:1.1;font-weight:400;color:#000;text-align:center;overflow-wrap:normal;word-break:normal;max-width:100%}
.selected-map-card .mc-desc .mc-marine small{display:block;margin-top:4px;font-size:11px;color:#000}
/* v7: picker names never break inside a word */
.marine-modal .marine-choice span{overflow-wrap:break-word!important;word-break:normal!important;hyphens:manual;font-size:12px;line-height:1.15}
/* hide the floating arrow while any dialog is open */
body:has(.react-dialog) .float-back-top,body:has(.marine-modal) .float-back-top{display:none}
/* v7: picker rows always whole at the bottom edge: fixed card height, window holds whole rows, rows snap */
.marine-modal .marine-grid{gap:8px 8px;max-height:56vh;max-height:calc(round(down,56vh + 8px,126px) - 8px);scroll-snap-type:y mandatory;overscroll-behavior:contain}
.marine-modal .marine-choice{height:118px;box-sizing:border-box;scroll-snap-align:start;justify-content:flex-start;overflow:hidden}
