.live-selected{background:white}.live-selected #main{width:100%;max-width:none;min-width:0;border:0;border-radius:0;background:white;overflow:visible}.live-selected .appbar{height:60px;width:100%;max-width:none;padding:0 20px;border-bottom:1px solid #d6e3d9}.live-selected .brand{font-size:13px;gap:9px}.live-selected .brand .rack-icon{width:24px;height:28px}.live-selected .brand svg{width:22px;height:22px}.live-selected .tabs{padding:0 22px;gap:24px;margin-bottom:20px}.live-selected .tabs button{font-size:12px;min-height:44px;padding:12px 2px}.live-selected .rack-card{color:inherit;text-decoration:none}.live-selected .results-bar .view-toggle{margin-left:auto}.live-selected .clear-selection{border:0;min-height:38px;padding:6px 4px;font-size:11px;color:var(--green);font-weight:500}.location-dates{display:flex;gap:8px 20px;flex-wrap:wrap;margin-top:10px}.location-dates p{font-size:10px;color:var(--muted);margin:0}.location-dates p:last-child{margin-left:auto}.live-selected .inline-update .compact-evidence{margin:0}.live-selected .inline-update .compact-evidence h3{font-size:13px}.live-selected .inline-update .field>span{font-size:12px}.live-selected .inline-update textarea{font-size:13px;min-height:76px}.live-selected .inline-update .photo-actions button{font-size:12px;min-height:46px;padding:10px 7px;gap:7px}.live-selected .inline-update .photo-actions{margin:12px 0 17px}.live-selected .inline-update .full{margin-top:14px;font-size:13px}.live-selected .inline-update .draft-location{margin-bottom:20px}.live-selected .inline-update .draft-location .place-line strong{font-size:11px;font-weight:600}.live-selected .author-detail{margin-top:10px}.live-selected .author-detail summary{font-size:11px;min-height:32px}.live-selected .inline-update .automatic-time{font-size:10px;line-height:1.6}.live-selected .compact-update{width:420px}.live-selected .compact-update .dialog-head{padding:16px 18px}.live-selected .compact-update .dialog-head h2{font-size:15px}.live-selected .compact-update .dialog-foot{padding:13px 18px}.live-selected .compact-update .dialog-foot button{font-size:12px}.live-selected .draft-location .quiet{min-height:34px;font-size:11px}.live-selected .occupied-info{min-width:0}.selected-occupied .detail-body.occupied{display:flex;flex-direction:column}.selected-occupied .gallery{order:-1;margin-bottom:22px}.selected-occupied .saved-photo:first-child img{height:260px}.selected-occupied .occupied-age{background:#fff;border-color:var(--line)}.selected-occupied .saved-photo:first-child{grid-column:1/-1}.selected-occupied .saved-photo>span{font-size:10px;line-height:1.7}.selected-occupied .photo-card:first-child img{object-fit:contain}.live-selected #rack-panel.history{display:block}.draft-retained{border:1px solid #ebd8ae;background:#fff8e9;border-radius:10px;padding:14px;grid-column:1/-1;font-size:12px;line-height:1.6}.draft-retained button{margin-top:10px}.live-selected .photo-card .photo-caption{padding:10px;font-size:11px}
@media(min-width:760px){.selected-occupied .detail-body.occupied{display:grid;grid-template-columns:1fr 1.2fr;gap:30px}.selected-occupied .gallery{order:0}.selected-occupied .saved-photo:first-child img{height:300px}.live-selected .tabs{padding:0 28px}}

/* Owner-selected reading order: age, one photo post, place, comments, updates, release. */
.selected-occupied .occupied-age>div:last-child{min-width:0;overflow-wrap:anywhere}
.inline-save-actions{display:grid;gap:10px}.inline-save-actions.has-location-save{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-save-actions>button{min-width:0;min-height:46px;font-size:12px;padding:11px 8px}
html.photo-viewer-open,body.photo-viewer-open{overflow:hidden;overscroll-behavior:none}
#photo-dialog.photo-fullscreen{position:fixed;inset:0;width:100vw;width:100dvw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;overflow:hidden;overscroll-behavior:none;touch-action:pan-y;background:#12231d;color:#fff}
#photo-dialog.photo-fullscreen[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#photo-dialog.photo-fullscreen .dialog-head{min-width:0;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));gap:8px;background:#12231d;border-color:#ffffff24}
#photo-dialog.photo-fullscreen h2{color:#fff;font-size:15px;flex:1;min-width:0}#photo-dialog.photo-fullscreen .dialog-head button{min-height:44px;color:white;background:transparent;border-color:#ffffff60;font-size:12px}
#photo-dialog.photo-fullscreen .photo-stage{min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;overflow:hidden;overscroll-behavior:contain;touch-action:none;user-select:none}
#photo-dialog.photo-fullscreen .photo-stage>img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain;background:transparent;transform-origin:center;cursor:zoom-in;user-select:none;-webkit-user-drag:none}
#photo-dialog.photo-fullscreen .photo-stage>img[hidden]{display:none}#photo-dialog.photo-fullscreen .photo-load-error{padding:24px;font-size:14px;line-height:1.7;max-width:420px;color:white;text-align:center}
#photo-dialog.photo-fullscreen .photo-stage.is-zoomed>img{cursor:zoom-out}
#photo-dialog.photo-fullscreen .photo-stage[data-photo-dragging=true],#photo-dialog.photo-fullscreen .photo-stage[data-photo-dragging=true]>img{cursor:grabbing}
#photo-dialog.photo-fullscreen .post-caption{min-width:0;max-height:24vh;max-height:24dvh;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;padding:12px 16px max(12px,env(safe-area-inset-bottom));color:#e2eee8;background:#12231d;border-top:1px solid #ffffff24}
#photo-dialog.photo-fullscreen .post-caption :is(p,small){color:inherit;line-height:1.6;font-size:12px}#photo-dialog.photo-fullscreen .post-caption p{white-space:pre-wrap;margin:0 0 8px}
.selected-occupied .detail-body.occupied{display:flex;flex-direction:column;gap:24px;max-width:none;margin:0}.selected-occupied .detail-body.occupied>*{order:0;min-width:0;width:100%}.selected-occupied .gallery{margin:0}.selected-occupied .occupied-age{margin:0;background:#fff}.occupied-location .location-card{margin:0;background:#fff;border-color:#dce4df}.occupied-location .location-card>div:first-of-type{margin-top:8px}.journey-disclosure{margin-top:16px;border-top:1px solid #e3e9e5}.journey-disclosure>summary{display:flex;gap:9px;align-items:center;min-height:48px;cursor:pointer;list-style:none;color:#536b5d;font-size:12px;font-weight:600}.journey-disclosure>summary::-webkit-details-marker{display:none}.journey-disclosure>summary>.ui-icon:last-child{margin-left:auto;width:13px;height:13px}.journey-disclosure[open]>summary>.ui-icon:last-child{transform:rotate(90deg)}.journey-disclosure .location-journey{border:0;border-radius:0;margin:0;padding:8px 0 4px;background:transparent}.journey-disclosure .location-journey>.section-heading{display:none}.journey-disclosure .journey-stops strong{font-size:13px}.journey-disclosure .journey-range{font-size:11px}.journey-disclosure .journey-date{font-size:11px}
.rack-photo-post{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.rack-photo-post .saved-photo{display:block;width:100%;position:relative;border:0;border-radius:0;padding:0;background:#f1f4f2}.selected-occupied .rack-photo-post .saved-photo img{display:block;width:100%;height:auto;max-height:420px;aspect-ratio:4/3;object-fit:contain;background:#f1f4f2}.rack-photo-post .illustration-label{position:absolute;left:10px;bottom:10px;padding:3px 6px;background:#ffffffea;border-radius:4px;font-size:9px;color:#63776b}.post-caption{padding:14px 16px}.post-caption .detail-note{padding:0;margin:0 0 9px;border:0;background:transparent;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.post-caption small{font-size:11px;line-height:1.6;color:var(--muted)}.post-caption.additional-note{border-top:1px solid #e5eae7}.view-more-photos{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;border:0;border-top:1px solid var(--line);border-radius:0;font-size:12px;background:#fafcfb;color:var(--green)}.no-rack-photo{padding:30px 16px;text-align:center;font-size:12px;color:var(--muted)}.selected-occupied .occupied-photos>.section-heading{margin-bottom:12px}.photo-album{display:grid;gap:16px;padding:18px}.photo-album .photo-card{display:block;width:100%;padding:0;overflow:hidden}.photo-album img{display:block;width:100%;height:180px;object-fit:contain;background:#f2f5f3}.photo-album .post-caption{text-align:left}.photo-album .post-caption p{font-size:12px;line-height:1.6;margin:0 0 8px;white-space:pre-wrap}.photo-album .post-caption small{font-size:10px}
.selected-occupied .occupied-comments{order:0;max-width:none;margin:0;padding-top:24px}.occupied-update-actions h2,.release-rack h2{font-size:15px;line-height:1.5;margin:0 0 12px}.occupied-update-actions>div{display:grid;gap:10px}.occupied-update-actions button{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;padding:14px 16px;border:1px solid var(--line);background:white}.occupied-update-actions button>span{flex:1}.occupied-update-actions strong{display:block;font-size:13px;line-height:1.5}.occupied-update-actions small{display:block;font-size:11px;font-weight:400;color:var(--muted);line-height:1.6;margin-top:4px}.occupied-update-actions button>.ui-icon:last-child{width:13px}.release-rack{background:#f8faf9;border:1px solid #dce5df;border-radius:12px;padding:18px}.release-rack p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 16px}.release-rack button{display:flex;gap:8px;align-items:center;justify-content:center;min-height:48px;font-size:13px}.release-location-review{border-top:1px solid var(--line);padding-top:16px}.release-location-review .place-line{justify-content:space-between;flex-wrap:wrap}.release-location-review button{font-size:12px;min-height:44px}.release-location-review .location-edit{margin-top:14px}.release-location-review .choice-row{display:flex;gap:8px;margin-bottom:14px}.release-location-review .choice-row button{flex:1}.release-location-review .choice-row button[aria-pressed=true]{border-color:var(--green);background:#edf5ef}
@media(min-width:760px){.selected-occupied .detail-body.occupied{display:flex;padding:28px 32px;gap:28px}.occupied-update-actions>div{grid-template-columns:1fr 1fr}.photo-album{grid-template-columns:1fr 1fr}.release-rack{padding:22px}}

.release-location-review .location-edit{border:0;padding:0;min-width:0}

/* Selected C Raised tile branding, centered within the existing header slots. */
.live-selected .brand .rack-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0}.selected-brand-logo{display:block;width:36px;height:36px;object-fit:contain}.title-icon>img{display:block;width:40px;height:40px;object-fit:contain}

/* Selected E Framed brand and retained header alternatives. */
/* Five combined headers. One logo/title/menu replaces both previous bands. */
.header-design{position:relative;color:#173a30;background:#fff;border-bottom:1px solid #d8e3de}
.header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px 22px}
.header-brand{display:flex;align-items:center;gap:12px;min-width:0}
.header-brand>img{display:block;width:44px;height:44px;object-fit:contain;flex-shrink:0}
.header-brand .header-name{margin:0;font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.04em;white-space:nowrap;color:inherit}
.header-menu-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d1e1d7;border-radius:11px;background:#fff;color:#285b46;flex-shrink:0}
.header-menu-button>.ui-icon{display:block;width:20px;height:20px}
.header-menu-button:hover,.header-menu-button[aria-expanded=true]{background:#e1eee6;border-color:#96baa6}
.header-a{background:#edf6f0}.header-a .header-top{min-height:76px}
.header-b .header-top{min-height:64px;padding-block:10px}.header-b .header-brand{gap:9px}.header-b .header-brand>img{width:38px;height:38px}.header-b .header-brand .header-name{font-size:22px}.header-b .header-menu-button{background:transparent;border-color:transparent}.header-b .header-menu-button:hover,.header-b .header-menu-button[aria-expanded=true]{background:#edf5f0;border-color:#d1e1d7}
.header-c{padding:12px 14px;border-bottom:0}.header-c .header-top{padding:10px 12px;min-height:64px;border:1px solid #d4e3d9;border-radius:19px;background:#edf5f0;box-shadow:0 3px 10px #1e4e3507}.header-c .header-brand{gap:9px}.header-c .header-brand .header-name{font-size:22px}.header-c .header-brand>img{width:40px;height:40px}.header-c .header-menu-button{border-radius:50%;border-color:#d5e4da}
.header-d{background:#205e4d;color:#fff;border-color:#205e4d}.header-d .header-top{min-height:72px}.header-d .header-menu-button{background:#ffffff0d;border-color:#ffffff30;color:#fff}.header-d .header-menu-button:hover,.header-d .header-menu-button[aria-expanded=true]{background:#ffffff24;border-color:#ffffff60}
.header-e{background:#f4f8f5}.header-e .header-top{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:0;padding:0;min-height:74px}.header-e .header-brand{padding:14px 22px;border-right:1px solid #d8e5dc;min-height:74px;background:#eaf4ee}.header-e .header-brand .header-name{font-size:22px}.header-e .header-menu-button{justify-self:center;border-radius:10px;background:#fff}
.header-connection{padding:10px 22px;background:#fff3dd;border-top:1px solid #eddbb8;color:#795117;font-size:12px;line-height:1.6;margin:0}
.sample-more{position:absolute;top:calc(100% - 4px);right:22px;width:228px;max-width:calc(100% - 32px);border:1px solid #d4e2d8;background:#fff;color:#173a30;border-radius:13px;padding:7px;box-shadow:0 10px 30px #17352f1f;display:grid;z-index:4}.sample-more[hidden]{display:none}.sample-more button{display:flex;align-items:center;gap:10px;min-height:44px;border:0;background:transparent;text-align:left;font-size:12px;padding:10px;border-radius:7px}.sample-more button>.ui-icon{width:16px;height:16px;color:#577764}.sample-more button:hover{background:#f0f6f2}.sample-more .close-sample-menu{justify-content:center;margin-top:4px;border-top:1px solid #e3ece6;border-radius:0;color:#60776f;font-size:11px}
:is(.header-example,#main.home-racks) .page-body{padding:24px 22px}:is(.header-example,#main.home-racks) .search input{width:100%}:is(.header-example,#main.home-racks) .filters{margin-bottom:16px}:is(.header-example,#main.home-racks) .filters button{min-height:46px}:is(.header-example,#main.home-racks) .search{max-width:none}:is(.header-example,#main.home-racks) .results-bar{margin:18px 0 14px}:is(.header-example,#main.home-racks) .rack-cards.grid{grid-template-columns:repeat(2,minmax(0,1fr))}

@media(min-width:760px){.header-top{padding-inline:32px}.header-c{padding-inline:22px}.header-c .header-top{padding-inline:12px}.header-e .header-top{padding:0;grid-template-columns:minmax(0,1fr) 88px}.header-e .header-brand{padding-inline:32px}:is(.header-example,#main.home-racks) .page-body{padding:28px 32px}:is(.header-example,#main.home-racks) .rack-cards.grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}:is(.header-example,#main.home-racks) .search{max-width:560px}}
@media(max-width:360px){.header-top{padding-inline:16px;gap:10px}.header-brand{gap:8px}.header-brand .header-name{font-size:22px}.header-e .header-top{padding:0;grid-template-columns:minmax(0,1fr) 62px}.header-e .header-brand{padding-inline:16px}.header-e .header-brand .header-name{font-size:21px}.header-c{padding-inline:10px}.header-c .header-top{padding-inline:10px}.header-c .header-brand .header-name{font-size:21px}}
#app-header{width:100%;max-width:none;margin:0}.merged-header #connection{max-width:none;font-size:12px;line-height:1.6;text-align:left;color:#795117}.header-connection[hidden]{display:none}

/* The working app follows the window width. The 428px phone frame is only a preview. */
.live-selected .rack-title .back-preview-title{display:flex;align-items:center;gap:10px;min-width:0}
.live-selected .rack-title .back-preview-title h1{margin:0}
.live-selected #main .rack-title .back-preview-control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;gap:8px;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid var(--line);border-radius:8px;background:#f0f6f2;color:var(--green);font-size:13px;text-decoration:none;white-space:nowrap}
.live-selected .rack-title .back-preview-control>span:first-child{font-size:23px;line-height:1}
.live-selected .rack-title .back-preview-control .back-preview-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.rack-photo-carousel .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.photo-carousel-nav{display:flex;align-items:center;gap:8px;flex-shrink:0}
.photo-carousel-nav button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid var(--line);border-radius:8px;background:white;color:var(--green);font-size:25px;line-height:1}
.photo-carousel-nav button:disabled{opacity:.35;cursor:default}
.photo-carousel-count{min-width:44px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}
.photo-carousel-viewport{touch-action:pan-y pinch-zoom}
.rack-photo-carousel .saved-photo{position:relative}
.rack-photo-carousel .saved-photo img{display:block;width:100%;height:auto;max-height:420px;aspect-ratio:4/3;object-fit:contain;background:#f1f4f2;user-select:none}
.rack-photo-carousel:focus-visible{outline:3px solid #a76719;outline-offset:4px}
.photo-note-label{display:block;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:8px}
.live-selected{--page-gutter:22px;min-height:100vh;min-height:100dvh}
.live-selected #main{margin-inline:0}
.live-selected #main .page-body{padding-inline:var(--page-gutter)}
.live-selected #main .back,.live-selected #main .rack-title,.live-selected #main .tabs{padding-inline:var(--page-gutter)}
.live-selected .header-e .header-brand{padding-inline:var(--page-gutter)}
.live-selected .header-brand .header-name{white-space:normal;overflow-wrap:anywhere}
.live-selected .banner{max-width:none;margin-inline:var(--page-gutter)}
.live-selected .results-bar{flex-wrap:wrap}
.live-selected .filters,.live-selected .filters button,.live-selected .search,.live-selected .sort{min-width:0}
.live-selected #main>.detail-body.available,.live-selected .arrangement-months,.live-selected .use-history{max-width:none;margin-inline:0}
.live-selected .card-main .age-label{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.live-selected .card-main header strong,.live-selected .available-since{overflow-wrap:anywhere}
@media(min-width:760px){
 .live-selected{--page-gutter:32px}
 .live-selected #main.home-racks .rack-cards.list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
 .live-selected #main .arrangement-months .use-list{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}
 .live-selected #main.home-racks .sort{max-width:560px}
 .live-selected .occupied-update-actions>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 .live-selected{--page-gutter:16px}
}

/* Selected desktop List: Clear register. Phone cards and Grid retain their layout. */
.clear-register{display:none;width:100%;min-width:0;overflow:auto;border:1px solid var(--line);border-radius:10px}
.clear-register .desk-table{width:100%;min-width:730px;table-layout:fixed;border-collapse:collapse;text-align:left;font-size:13px;line-height:1.6}
.clear-register .register-col-rack{width:105px}
.clear-register .register-col-status{width:125px}
.clear-register .register-col-age{width:220px}
.clear-register .register-col-discussion{width:100px}
.clear-register .register-col-open{width:62px}
.clear-register th,.clear-register td{padding:10px 16px;border-bottom:1px solid #e5ece7;vertical-align:middle}
.clear-register thead th{height:44px;background:#f4f8f5;font-size:11px;font-weight:600;color:#587163;white-space:nowrap}
.clear-register tbody th,.clear-register tbody td{height:61px}
.clear-register tbody td:nth-child(4){white-space:nowrap}
.clear-register tbody tr:last-child>*{border-bottom:0}
.clear-register tbody tr:hover{background:#f7faf8}
.clear-register tbody th{width:105px}
.clear-register th:last-child,.clear-register td:last-child{width:62px}
.clear-register .register-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;min-width:40px;padding:8px 4px;color:var(--green);font-size:13px;font-weight:600;text-decoration:none;border:0;background:transparent;border-radius:6px}
.clear-register .register-open{color:#6a8575}
.clear-register tbody th .register-link{font-size:14px;font-weight:700;padding:8px 0}
.clear-register .place{display:inline-flex;align-items:center;gap:8px;max-width:100%;overflow-wrap:anywhere}
.clear-register .place>span{min-width:0}
.clear-register .status{white-space:nowrap}
.clear-register .rack-comment-symbol{position:relative}
@media(min-width:760px){
 .live-selected #main.home-racks .clear-register{display:block}
 .live-selected #main.home-racks .clear-register+.rack-cards.list{display:none}
}

/* Selected A Comfortable width: shared by Current, History and preview A. */
.live-selected #main.comfortable-width .arrangement-months .use-list{grid-template-columns:minmax(0,1fr)}
.live-selected #main.comfortable-width .arrangement-months .history-month,
.live-selected #main.comfortable-width .arrangement-months .history-month-heading,
.live-selected #main.comfortable-width .arrangement-months .use-history,
.live-selected #main.comfortable-width .arrangement-months .use-entry{width:100%;max-width:none}
.live-selected #main.comfortable-width .arrangement-months{width:100%;max-width:818px;margin-inline:0}
@media(min-width:760px){
 .live-selected #main.comfortable-width>.detail-body{width:100%;max-width:960px;min-width:0;margin:0;padding:28px 32px 40px}
}

/* All transient update information floats above the page, never adds a row. */
.live-selected #notice{position:fixed;right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:min(360px,calc(100% - 32px));max-width:none;margin:0;padding:0;z-index:20;pointer-events:none}
.rack-toast{display:flex;align-items:flex-start;gap:10px;padding:14px 12px 14px 14px;border:1px solid #c9ddcf;border-radius:12px;background:#fff;box-shadow:0 8px 28px #17352f24;pointer-events:auto;color:#173a30}
.rack-toast .toast-symbol{display:grid;place-items:center;background:#e4f2e9;color:#176b57;border-radius:8px;width:30px;height:30px;flex-shrink:0}
.rack-toast.attention{border-color:#dfc995}.rack-toast.attention .toast-symbol{background:#fff3d9;color:#8b5a14}
.rack-toast>div{flex:1;min-width:0}.rack-toast strong{font-size:13px;line-height:1.5}.rack-toast p{font-size:12px;line-height:1.6;margin:3px 0 0;overflow-wrap:anywhere}
.rack-toast .toast-close{display:grid;place-items:center;min-width:44px;width:44px;min-height:44px;padding:0;border:0;background:transparent;font-size:22px;flex-shrink:0}
.live-selected .merged-header #connection{position:absolute;top:calc(100% + 8px);right:16px;width:min(360px,calc(100% - 32px));max-width:360px;border:1px solid #eddbb8;border-radius:10px;box-shadow:0 5px 20px #17352f15;z-index:3}
.live-selected #main .draft-retained{position:fixed;top:90px;right:16px;left:auto;max-width:360px;width:calc(100% - 32px);z-index:12;margin:0;box-shadow:0 8px 28px #17352f24}
@media(min-width:760px){.live-selected #notice{right:24px;bottom:24px}}

/* Selected desktop Header and rail. The original E header has no size overrides.
   The viewport is the shell; only the right content occupies a scroll region. */
.desktop-rail{display:none}
.rack-side-nav ul{list-style:none;margin:0;padding:0}
.rack-side-nav li+li{margin-top:6px}
.rack-side-nav a{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border:1px solid transparent;border-radius:5px;color:#3c594b;text-decoration:none;font-size:14px;font-weight:500;line-height:1.5}
.rack-side-nav a>.ui-icon{width:18px;height:18px;flex-shrink:0}
.rack-side-nav .sidebar-count{margin-left:auto;min-width:28px;text-align:center;font-size:12px;font-variant-numeric:tabular-nums}
.rack-side-nav a:hover{background:#edf4ef;color:#145a45}
.rack-side-nav a[aria-current=page]{background:#176b57;color:#fff;font-weight:700;border-left:4px solid #0c4939;padding-left:11px}
.rack-side-nav a:focus-visible{outline:3px solid #176b57;outline-offset:3px}
.clear-register th.register-column-heading{padding:0 16px}
.clear-register .register-heading{display:flex;align-items:center;gap:8px;width:100%;height:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:600;line-height:inherit;text-align:left;white-space:nowrap;box-sizing:border-box}
.clear-register .register-sort-button{border-radius:3px}
.clear-register .register-sort-button>span{font-size:14px;color:var(--green)}
.clear-register .register-sort-button:hover{color:var(--green);text-decoration:underline;text-underline-offset:3px}
.live-selected #main.home-racks .browse-toolbar{position:relative;margin:0 0 14px;gap:10px}
.browse-toolbar .rack-result-count{display:inline-flex;align-items:center;justify-content:center;width:72px;min-width:72px;flex:0 0 72px;height:40px;min-height:40px;padding:8px 10px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;color:#294f40;line-height:1.5;white-space:nowrap}
.browse-toolbar .browse-controls button{justify-content:center;width:60px;min-width:60px;min-height:38px;padding:8px 10px;font-size:11px;line-height:1.5;white-space:nowrap}
.browse-toolbar .browse-controls button+button{border-left:1px solid var(--line)}
.browse-toolbar .browse-controls button:is([aria-expanded=true],[data-search-active=true]){background:#e7f1e9;color:var(--green)}
.rack-search-popover{position:absolute;top:calc(100% + 8px);right:0;width:min(360px,100%);padding:16px;border:1px solid #cedfd4;border-radius:12px;background:white;color:#17352f;box-shadow:0 8px 28px #17352f20;z-index:8}
.rack-search-popover[hidden]{display:none!important}
.live-selected #main .rack-search-popover .search{margin:0;max-width:none}
.rack-search-popover .search>span{display:block;font-size:12px;font-weight:600;margin-bottom:8px}
.rack-search-popover .search input{width:100%;font-size:14px}
.search-popover-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.search-popover-actions button{min-height:44px;padding:8px 12px;font-size:12px}
@media(max-width:360px){.live-selected #main.home-racks .browse-toolbar{gap:8px}}
@media(min-width:760px){.live-selected #main.home-racks .sort.register-sort{display:none}}
@media(min-width:1024px){
 .desktop-rack-shell{display:grid;grid-template-columns:224px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:"header header" "rail workspace";height:100vh;height:100dvh;min-height:0;overflow:hidden}
 .desktop-rack-shell>[data-rack-header]{grid-area:header;min-width:0;position:relative;z-index:5}
 .desktop-rack-shell>[data-rack-rail]{grid-area:rail;display:block;min-width:0;min-height:0;overflow:auto;background:#f5f8f6;border-right:1px solid #dce6df;padding:24px 12px}
 .desktop-rack-shell>[data-rack-workspace]{grid-area:workspace;min-width:0;min-height:0;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;margin:0;background:white}
 .live-selected.desktop-rack-shell>#main{overflow:auto;margin:0}
 .desktop-rack-shell>#main.home-racks .filters{display:none}
}

/* Phone navigation follows the owner's four-tab reference. Desktop rail stays. */
#mobile-rack-nav{display:none}
.account-page{max-width:580px;margin:0 auto;padding:28px var(--page-gutter,22px) 40px}
.account-page h1{font-size:24px;margin:0 0 26px;letter-spacing:-.03em}
.account-identity{display:flex;align-items:center;gap:14px;margin:0 0 26px;min-width:0}
.account-avatar{display:grid;place-items:center;flex:0 0 56px;height:56px;border-radius:50%;background:#eaf4ee;color:var(--green)}
.account-avatar>.ui-icon{width:26px;height:26px}
.account-identity strong{display:block;font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.account-identity small{display:block;font-size:13px;color:var(--muted);line-height:1.6;overflow-wrap:anywhere}
.account-actions{display:grid;gap:12px}
.account-actions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;text-align:left}
.account-actions>button>span{flex:1}
.account-actions>.account-logout{color:#9b3228;margin-top:10px}
.account-edit-form{display:grid;gap:18px}
.account-edit-form .field{margin:0}
.account-edit-form .form-error{margin:0}
.account-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-edit-form .account-username{margin:0;font-size:13px;color:var(--muted);line-height:1.7}
@media(max-width:1023px){
 body.live-selected{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}
 .live-selected #main.home-racks .filters{display:none}
 .live-selected #main.home-racks .browse-toolbar{margin-top:0}
 .live-selected .header-e .header-top{grid-template-columns:minmax(0,1fr)}
 .live-selected .header-e .header-brand{border-right:0}
 .live-selected .header-menu-button,.live-selected #workspace-menu{display:none}
 #mobile-rack-nav:not([hidden]){position:fixed;z-index:30;inset:auto 12px calc(10px + env(safe-area-inset-bottom,0px));max-width:600px;margin-inline:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px;background:#fff;border:1px solid #d8e3de;border-radius:22px;box-shadow:0 5px 22px #17352f16}
 #mobile-rack-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:58px;padding:7px 2px;border-radius:16px;color:#60776f;text-decoration:none;font-size:11px;line-height:1.25;font-weight:500;white-space:nowrap;touch-action:manipulation}
 #mobile-rack-nav a>.ui-icon{width:23px;height:23px;stroke-width:1.8}
 #mobile-rack-nav a[aria-current=page]{background:#e8f3ed;color:#176b57;font-weight:700}
 #mobile-rack-nav a:focus-visible{outline:none;background:#e8f3ed;color:#176b57}
 .live-selected .notification-layer{bottom:calc(98px + env(safe-area-inset-bottom,0px))}
 .live-selected #notice{bottom:calc(98px + env(safe-area-inset-bottom,0px))}
 .account-page{padding-top:24px}
}

.credential-show{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}
.credential-show input{width:18px;height:18px;min-height:0;accent-color:var(--green)}
.account-feedback{font-size:13px;color:var(--green);line-height:1.6;margin:0 0 20px}
