.bookshelf-home > .site-footer{width:min(1000px,calc(100% - 48px));margin:40px auto}
.bookshelf-corridor{
  --page-edge:7.5rem;
  --page-gutter:clamp(.85rem,4vw,3.4rem);
  --note-start:3.55rem;
  --note-step:clamp(5.35rem,9svh,6rem);
  position:relative;isolation:isolate;display:flex;width:min(80.5rem,calc(100% - 2rem));margin:2rem auto;padding-inline:var(--page-edge);box-sizing:border-box;
}
.bookshelf-notes{position:absolute;inset:0;pointer-events:none}
.bookshelf-notes .bookshelf-note{pointer-events:auto}
.bookshelf-note{
  position:absolute;box-sizing:border-box;display:grid;place-items:center;
  top:calc(var(--note-start) + var(--note-index,0) * var(--note-step));
  width:calc(var(--page-edge) + 1.25rem);min-height:4rem;padding:.35rem 1.8rem .35rem .35rem;
  clip-path:polygon(0 0,100% 0,100% 96%,98% 100%,0 100%);
  background:var(--note-color);font-family:var(--room-font-ui);font-size:1.125rem;letter-spacing:.035em;white-space:nowrap;
}
.bookshelf-note--rooms{--note-color:color-mix(in srgb,var(--room-danger) 36%,var(--room-surface));left:.65rem;rotate:2.5deg}
.bookshelf-note--search{--note-index:1;--note-color:var(--room-control-hover);left:.28rem;rotate:-1.8deg}
.bookshelf-note--follows{--note-index:2;--note-color:color-mix(in srgb,var(--room-success) 54%,var(--room-surface));left:.45rem;rotate:2deg}
.bookshelf-note--notifications{--note-index:3;--note-color:color-mix(in srgb,var(--room-warning) 42%,var(--room-surface));left:.25rem;rotate:-2deg}
.bookshelf-note--messages{--note-index:4;--note-color:var(--room-frame);left:.45rem;rotate:1.8deg}
.bookshelf-note-label{position:relative}
.bookshelf-unread-badge{position:absolute;top:0;left:calc(100% + .15rem);transform:translateY(-45%);display:grid;place-items:center;box-sizing:border-box;min-width:1.1rem;height:1.1rem;padding-inline:.22rem;border-radius:1rem;background:var(--room-danger);color:white;font:700 .7rem/1 var(--room-font-ui);letter-spacing:0;font-variant-numeric:tabular-nums;writing-mode:horizontal-tb}
.bookshelf-unread-badge[hidden]{display:none}
.bookshelf-note:not([aria-current]){z-index:0;background:color-mix(in srgb,var(--note-color) 85%,black)}
.bookshelf-note[aria-current]{z-index:2;place-items:center;padding:.35rem}
.bookshelf-corridor .bookshelf-note{user-select:none;color:var(--room-ink);text-decoration:none}
.bookshelf-note:focus-visible{outline:0;box-shadow:inset 0 0 0 3px var(--room-focus)}
.bookshelf-paper{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;fill:var(--room-surface);stroke:var(--room-line);stroke-width:.8}
.bookshelf-panel{--bookshelf-content-width:57rem;--bookshelf-paper-height:clamp(44rem,88svh,54rem);isolation:isolate;z-index:1;position:relative;box-sizing:border-box;flex:1;min-width:0;min-height:var(--bookshelf-paper-height);text-align:center;padding:2.4rem var(--page-gutter) 3.2rem}
.bookshelf-panel--inbox{display:flex;block-size:var(--bookshelf-paper-height)}
.corridor-inbox-workspace{
  display:flex;flex-direction:column;inline-size:min(100%,var(--bookshelf-content-width));min-inline-size:0;
  margin-inline:auto;text-align:start;
}
.corridor-inbox-workspace > .bookshelf-page-header{flex:none}
.corridor-inbox-scroll{
  flex:1;min-block-size:0;min-inline-size:0;overflow:auto;scrollbar-gutter:stable;
  scrollbar-color:var(--room-line) transparent;padding-inline-end:.75rem;
}
.corridor-inbox-scroll:focus-visible{outline:2px solid var(--room-focus);outline-offset:2px}
.corridor-inbox-workspace > .bookshelf-pagination{flex:none;margin-block-start:auto;padding-block:.75rem 0}
.bookshelf-panel--entrance{display:grid;align-content:center;grid-template-rows:auto 7rem 5rem}
.bookshelf-panel--rooms{display:grid;grid-template-rows:1fr auto;gap:1.5rem}
.corridor-room-stage{display:grid;place-items:center;min-width:0}
.bookshelf-panel .corridor-room-intro{max-width:28em;margin:0;font:400 clamp(1.2rem,2.6vw,1.65rem)/1.65 var(--room-font-display)}
.corridor-room-figure{width:min(100%,42rem);margin:0}
.bookshelf-panel .corridor-room-snapshot{display:block;overflow:hidden;border:1px var(--room-border-style) var(--room-line);border-radius:var(--room-radius-panel)}
.corridor-room-snapshot img{display:block;width:100%;height:auto;aspect-ratio:16/9}
.corridor-room-figure figcaption{margin-block-start:.7rem;color:var(--room-muted);overflow-wrap:anywhere}
.corridor-discovery-start{display:grid;justify-self:end;justify-items:end;gap:1.75rem}
.corridor-entrance .corridor-discovery-start{display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem}
@media (width > 800px) and (not ((hover: none) and (pointer: coarse))){
  .bookshelf-corridor--home .bookshelf-panel--discovery-home{display:grid;place-items:center}
  .bookshelf-panel--discovery-home > :is(.bookshelf-project-header,.bookshelf-project-empty,.bookshelf-grid,.bookshelf-pagination){display:none}
}
.bookshelf-panel--collection{grid-template-rows:1fr auto;gap:.625rem}
.corridor-collection-stage{container:collection-preview / inline-size;display:grid;align-content:start;min-width:0;padding-block-start:.85rem;text-align:center}
.corridor-collection-heading{display:grid;gap:.625rem;margin-block-end:1.25rem}
.bookshelf-panel .corridor-collection-heading h1{
  min-width:0;margin:0;font:700 clamp(1.3rem,3vw,2rem)/1.2 var(--room-font-display);
}
.corridor-collection-heading .corridor-collection-title{width:fit-content;max-width:100%;margin-inline:auto;color:var(--room-ink)}
.corridor-collection-title > span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.corridor-collection-author,.corridor-collection-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;color:var(--room-muted)}
.corridor-collection-summary{min-height:1lh;font:400 17px/1.8 var(--room-font-content)}
.corridor-collection-grid{
  --collection-column-gap:24px;
  width:min(100%,var(--recommendation-card-width));margin-inline:auto;
  grid-template-columns:minmax(0,1fr);text-align:start;gap:.75rem var(--collection-column-gap);
}
.corridor-collection-slot{position:relative;min-width:0}
.corridor-collection-slot:nth-child(n+3){display:none}
@container collection-preview (min-width:664px){
  .corridor-collection-grid{
    width:calc(2 * var(--recommendation-card-width) + var(--collection-column-gap));
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .corridor-collection-slot{grid-column:span 2}
  .corridor-collection-slot:nth-child(odd):last-child{grid-column:2 / span 2}
  .corridor-collection-slot:nth-child(n+3){display:block}
}
@media(max-width:800px){.corridor-collection-summary{font-size:16px}}
.corridor-collection-slot .recommendation-item-heading{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.corridor-collection-slot .recommendation-reason-block:has(.recommendation-reason-toggle:not([hidden]):not([open])) > .recommendation-reason{-webkit-line-clamp:2}
.corridor-collection-slot:has(.recommendation-reason-toggle[open]){min-block-size:var(--collection-card-height);z-index:2}
.corridor-collection-slot .recommendation-row:has(.recommendation-reason-toggle[open]){
  position:absolute;inset:0 auto auto 0;max-block-size:var(--collection-expanded-limit);
  overflow:auto;
}
.corridor-collection-slot .recommendation-reason-toggle[open] .corridor-recommendation-expand,
.corridor-collection-slot .recommendation-reason-toggle:not([open]) .corridor-recommendation-collapse{display:none}
.corridor-collection-open{
  justify-self:center;min-width:44px;min-height:44px;
  margin-block-end:1rem;font:400 1.125rem/1 var(--room-font-ui);letter-spacing:.1em;
}
.bookshelf-panel--entrance .bookshelf-tools{align-self:start}
:is(.bookshelf-panel,.mobile-home-header) h1{margin:0 0 .75rem;line-height:1.2}
.bookshelf-front,.bookshelf-panel--entrance .bookshelf-tools{width:min(100%,39rem);margin-inline:auto}
.bookshelf-front{text-align:center;margin-block:0 3rem}
.bookshelf-kicker{margin:0 0 .8rem;color:var(--room-muted);font-size:clamp(.8rem,1.3vw,.95rem);letter-spacing:.07em;line-height:1.5}
.bookshelf-panel .bookshelf-front h1{font-family:var(--room-font-display);font-weight:700}
.bookshelf-panel .bookshelf-front h1{margin:0;font-size:clamp(2rem,5vw,3.25rem);line-height:1.2;letter-spacing:.045em}
.bookshelf-heading{font:400 clamp(1.5rem,2.75vw,2rem)/1.2 var(--room-font-display)}
.bookshelf-panel > :is(.bookshelf-page-header,.bookshelf-grid,.bookshelf-pagination,.corridor-follow-content){
  max-width:var(--bookshelf-content-width);
  margin-inline:auto;
}
.bookshelf-page-header{
  --control-row:2.75rem;
  display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;
  padding-block-start:clamp(.5rem,1.25vw,.9rem);margin-block-end:2.25rem;
}
.bookshelf-page-header h1{margin:0}
.bookshelf-panel > .bookshelf-project-header{
  position:sticky;inset-block-start:0;z-index:2;
  margin-block-end:1.5rem;padding-block-end:.75rem;background:var(--room-surface);
}
.bookshelf-project-empty{color:var(--room-muted);margin:1rem 0}
.corridor-notifications-heading{text-align:start}
.corridor-notifications{padding-inline:0}
.corridor-notifications.layout-list--notifications > .notification-item{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:1.25rem;row-gap:.2rem;padding:.8rem 0;text-align:left}
.notification-item-text,.notification-excerpt{min-width:0;overflow-wrap:anywhere}
.notification-excerpt{grid-column:1;color:var(--room-muted);font-size:.9rem}
.corridor-notifications time{grid-column:2;grid-row:1 / span 2;align-self:end;color:var(--room-muted);font-size:.8rem;white-space:nowrap}
.bookshelf-tools{--field-width:min(44%,20rem);position:relative}
.bookshelf-panel--entrance .bookshelf-tools{--field-width:min(62%,20rem);display:grid;grid-template-rows:3.75rem auto}
.bookshelf-panel--entrance .bookshelf-number{grid-row:2}
.bookshelf-number{--control-gap:.75rem;display:grid;grid-template-columns:minmax(0,1fr) var(--field-width) minmax(0,1fr);align-items:center;column-gap:var(--control-gap)}
.bookshelf-number:has(.bookshelf-error){position:relative}
.bookshelf-error{position:absolute;inset:calc(100% + .35rem) 0 auto;margin:0;color:var(--room-danger);font-size:.875rem;line-height:1.3}
.bookshelf-number input{grid-column:2;width:100%;min-width:0;box-sizing:border-box}
.bookshelf-number button{justify-self:start;white-space:nowrap}
.bookshelf-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,18rem));justify-content:center;gap:1.5rem;margin-block:0 1.75rem}
.bookshelf-empty{position:absolute;inset:0;display:grid;place-items:center;margin:0;color:var(--room-muted)}
.bookshelf-slot{display:grid;justify-items:stretch;min-width:0}
.layout-project-card.bookshelf-card--unavailable{
  display:grid;place-items:center;text-align:center;
  background-image:
    conic-gradient(from 90deg at 46% 52%,color-mix(in srgb,var(--room-line) 40%,transparent) 0% 25%,transparent 25% 50%,color-mix(in srgb,var(--room-line) 24%,transparent) 50% 75%,transparent 75% 100%),
    conic-gradient(from 90deg at 62% 45%,color-mix(in srgb,var(--room-muted) 27%,transparent) 0% 25%,transparent 25% 50%,color-mix(in srgb,var(--room-primary) 16%,transparent) 50% 75%,transparent 75% 100%);
  background-size:3.7rem 3.2rem,5.6rem 4.3rem;
  background-position:0 0,1.5rem .75rem;
}
.bookshelf-card--unavailable p{padding:.45rem .7rem;background:var(--room-surface);border:inherit;font-size:.9375rem}
.bookshelf-pagination{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.6rem;padding-block:1rem}
.bookshelf-pagination div{display:flex;align-items:center;align-content:center;gap:.6rem;flex-wrap:wrap;min-height:2rem}
.bookshelf-pages-before{justify-content:flex-end}
.bookshelf-pages-after{justify-content:flex-start}
.bookshelf-pagination a{white-space:nowrap}
.bookshelf-pagination button:disabled{background:none;border:0;padding:0;min-height:0;color:var(--room-disabled);font:inherit;opacity:1;white-space:nowrap;cursor:default}
@media (width > 800px) and (not ((hover: none) and (pointer: coarse))){
  .bookshelf-pagination--desktop-compact{display:flex;justify-content:flex-start;gap:1.5rem;padding-block:1.5rem 0}
  .bookshelf-pagination--desktop-compact > :is(strong,div:not(:has(a))){display:none}
  .bookshelf-panel > .bookshelf-pagination--edges{grid-template-columns:1fr 1fr}
}
.bookshelf-pagination strong{padding-inline:.3rem;font-variant-numeric:tabular-nums}
.bookshelf-panel > .bookshelf-pagination--edges{max-width:none;margin-inline:0;padding-block:0}
.bookshelf-pagination--edges .bookshelf-pages-before{justify-content:flex-start}
.bookshelf-pagination--edges .bookshelf-pages-after{justify-content:flex-end}
.mobile-page-navigation__open,.mobile-page-navigation__label{display:none}
.bookshelf-panel--collection .corridor-collection-open{grid-area:1 / 1 / 2 / -1}
@media(max-width:54rem){.bookshelf-panel{--bookshelf-content-width:37.5rem}.bookshelf-grid{grid-template-columns:repeat(2,minmax(0,18rem))}}
@media(max-width:34rem){.bookshelf-corridor{--page-edge:2.6rem;--page-gutter:.65rem;--note-step:6.4rem;width:calc(100% - 1rem);margin-top:1.5rem}.bookshelf-panel{--bookshelf-content-width:18rem}.bookshelf-grid{grid-template-columns:minmax(0,1fr)}.bookshelf-tools{--field-width:43%}.bookshelf-number button{padding-inline:.35rem;font-size:.8rem}.bookshelf-number{--control-gap:.25rem}.bookshelf-pagination,.bookshelf-pagination div{gap:.35rem}.bookshelf-pagination a{font-size:.8rem}}
@media(max-width:34rem){
  .bookshelf-note{width:calc(var(--page-edge) + .6rem);min-height:5.5rem;padding:.45rem .9rem .45rem .25rem;writing-mode:vertical-rl;font-size:.875rem}
  .bookshelf-note--rooms{left:.17rem}
  .bookshelf-note--search{left:.03rem}
  .bookshelf-note--follows{left:.12rem}
  .bookshelf-note--notifications{left:.1rem}
  .bookshelf-note--messages{left:.12rem}
  .bookshelf-unread-badge{left:calc(50% + .2rem);transform:translate(-50%,-105%)}
  .corridor-notifications.layout-list--notifications > .notification-item{grid-template-columns:minmax(0,1fr)}
  .corridor-notifications time{grid-column:1;grid-row:auto;justify-self:end}
  .corridor-discovery-start .button{padding-inline:.55rem}
  .bookshelf-panel--entrance .bookshelf-tools{--field-width:43%}
  .bookshelf-number button{padding-inline:.45rem;min-width:0}
}
@media(max-width:22rem){.bookshelf-tools,.bookshelf-panel--entrance .bookshelf-tools{--field-width:38%}}
.bookshelf-slot{grid-template-columns:minmax(0,1fr)}
.bookshelf-page-header .bookshelf-tools{
  display:grid;
  grid-template-rows:minmax(var(--control-row),auto);
  row-gap:.75rem;
}
.bookshelf-panel--entrance .bookshelf-search-tools{--field-width:min(68%,26rem,calc(100% - 12rem))}
.bookshelf-search-tools--results{--field-width:min(16rem,calc(100% - 40.25rem))}
.bookshelf-select{min-width:0}
.bookshelf-select select{display:block;width:100%;min-width:0}
.bookshelf-search-kind-field{grid-column:1;justify-self:end;width:min(100%,5.25rem)}
.bookshelf-search-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--control-gap);min-width:0}
.bookshelf-sort{display:flex;align-items:center;gap:var(--control-gap);min-width:0}
.bookshelf-sort .bookshelf-select{flex:1}
.bookshelf-page-header .bookshelf-number :is(input,select,button){
  margin-block:0;min-height:var(--control-row);
}
.bookshelf-search-heading{display:flex;justify-content:center;min-width:0;white-space:nowrap}
.bookshelf-search-heading span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:74rem){
  .bookshelf-search-tools--results{--field-width:min(62%,24rem,calc(100% - 12rem))}
  .bookshelf-search-tools--results .bookshelf-number{
    grid-template-rows:repeat(2,minmax(var(--control-row),auto));
    row-gap:.75rem;
  }
  .bookshelf-search-actions{display:contents}
  .bookshelf-search-tools--results .bookshelf-sort{grid-area:2/1/3/-1;justify-self:end;width:min(100%,14.25rem)}
  .bookshelf-page-header .bookshelf-tools:not(.bookshelf-search-tools){
    grid-template-rows:repeat(2,minmax(var(--control-row),auto));
  }
}
@media(34rem < width <= 54rem){
  .bookshelf-page-header .bookshelf-tools:not(.bookshelf-search-tools){--field-width:min(44%,calc(100% - 11.5rem))}
  .bookshelf-page-header .bookshelf-number button{padding-inline:.65rem}
}
@media(max-width:34rem){
  .bookshelf-panel--entrance .bookshelf-search-tools,.bookshelf-search-tools--results{--field-width:calc(100% - 8.5rem)}
  .bookshelf-page-header .bookshelf-tools:not(.bookshelf-search-tools){--field-width:min(43%,calc(100% - 9rem))}
  .bookshelf-page-header .bookshelf-number button{padding-inline:.45rem;font-size:.8rem}
  .bookshelf-search-kind-field select{padding-inline-start:.3rem;font-size:.8rem}
  .bookshelf-search-tools .bookshelf-number input{font-size:.875rem}
}
@media(max-width:34rem){
  .bookshelf-pagination button:disabled{font-size:.8rem}
  .bookshelf-pagination div{min-height:3.5rem;align-content:center}
}

.corridor-follow-tabs{
  display:flex;justify-content:flex-start;gap:clamp(.75rem,3vw,2rem);
  text-align:start;
}
.corridor-follow-tabs a{
  display:flex;align-items:center;justify-content:flex-start;min-height:var(--control-row);padding:.45rem 0;
  border-bottom:2px solid transparent;color:var(--room-muted);line-height:1.35;text-decoration:none;
}
.corridor-follow-tabs a[aria-current=page]{
  color:var(--room-ink);font-weight:700;border-bottom-color:var(--room-primary);
}
.corridor-follow-list{text-align:start}
.corridor-follow-identity{display:grid;gap:.2rem}
.corridor-follow-author{font-size:.85rem;color:var(--room-muted)}
.corridor-follow-actions{
  display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;
  gap:.35rem .85rem;margin-inline-start:auto;
}
.corridor-follow-actions form{margin:0}
.corridor-follow-status{
  padding:.18rem .5rem;border:1px var(--room-border-style) var(--room-line);
  border-radius:var(--room-radius-field);font-size:.8rem;color:var(--room-muted);
}
@media(max-width:34rem){
  .corridor-follow-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}
  .corridor-follow-tabs a{font-size:.875rem}
  .corridor-follow-list>.corridor-follow-row{gap:.35rem .8rem}
}

.mobile-home-header,.mobile-home-navigation,.mobile-home-inbox-tabs,
.mobile-home-search,.mobile-home-section-tabs.mobile-home-follow-tabs,.mobile-room-entry{display:none}
.mobile-home-mine-heading,.mobile-home-mine-list{max-width:var(--bookshelf-content-width);margin-inline:auto;text-align:start}
.mobile-action-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.mobile-mine-create.layout-icon-action,.mobile-search-clear.layout-icon-action{
  width:44px;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;
  color:var(--room-ink);font:400 1.65rem/1 var(--room-font-ui);
}
.mobile-home-section-tabs{display:flex;gap:1.25rem}
.mobile-home-section-tabs a,.mobile-home-inbox-tabs a{
  position:relative;display:inline-flex;align-items:center;min-height:44px;gap:.25rem;
  color:var(--room-muted);text-decoration:none;
}
.mobile-home-section-tabs a[aria-current],.mobile-home-inbox-tabs a[aria-current]{
  color:var(--room-ink);font-weight:700;box-shadow:inset 0 -2px var(--room-primary);
}
.mobile-home-section-tabs[data-section-switching] a[aria-current],
.mobile-home-inbox-tabs[data-section-switching] a[aria-current]{box-shadow:none}
.mobile-home-tabs[data-section-switching] a[aria-current]::after{display:none}

@media (max-width: 800px), (hover: none) and (pointer: coarse) {
  body.mobile-home-page{
    --mobile-home-header-inset:16px;
    --mobile-home-brand-height:64px;
    --mobile-home-tabs-height:47px;
    --mobile-home-header-height:calc(var(--mobile-home-brand-height) + 1px + env(safe-area-inset-top));
    --mobile-home-content-header:calc(var(--mobile-home-header-height) + var(--mobile-home-tabs-height));
    --mobile-home-bottom-nav:68px;
    --mobile-home-nav-inset:calc(var(--mobile-home-bottom-nav) + env(safe-area-inset-bottom));
    --mobile-bottom-dock-height:52px;
    --mobile-bottom-dock-inline-inset:max(calc(16px + var(--layout-safe-inline-inset)), calc((100% - 28rem) / 2));
    --mobile-thread-status-height:2rem;
    --mobile-bottom-dock-space:0px;
    padding-bottom:var(--mobile-home-nav-inset);
  }
  body.mobile-home-page:has(.mobile-bottom-dock:not([hidden])){--mobile-bottom-dock-space:var(--mobile-bottom-dock-height)}
  body.mobile-home-page:has(.corridor-thread-dock.mobile-bottom-dock){
    --mobile-bottom-dock-space:calc(var(--mobile-thread-status-height) + var(--mobile-bottom-dock-height));
  }
  .bookshelf-home > .site-footer{
    width:min(30rem,calc(100% - 32px));margin:0 auto;padding-block:.5rem 1rem;
    gap:0 1rem;
  }
  .bookshelf-home > .site-footer a{min-height:44px}
  .bookshelf-home > .site-footer .site-footer__links a{padding-inline:.375rem}
  .bookshelf-home > .site-footer .site-footer__filing{white-space:nowrap}
  .bookshelf-home > .site-footer{margin-block-end:var(--mobile-bottom-dock-space)}
  .mobile-home-page > .community-masthead,.bookshelf-notes{display:none}
  .bookshelf-home{
    display:flex;flex-direction:column;min-height:calc(100svh - var(--mobile-home-nav-inset));
  }
  .bookshelf-corridor--home{
    display:block;flex:1;width:100%;margin:0;padding:0;isolation:auto;
  }
  .mobile-home-header{
    display:block;position:sticky;top:0;z-index:30;background:var(--room-page-background);
  }
  .mobile-home-brand-row{
    --layout-mobile-brand-height:var(--mobile-home-header-height);
  }
  .mobile-home-tabs{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
    margin-inline:calc(var(--mobile-home-header-inset) + var(--layout-safe-inline-inset));
  }
  .mobile-home-tabs[hidden]{display:none}
  .mobile-home-tabs a{
    display:grid;place-items:center;isolation:isolate;position:relative;min-height:var(--mobile-home-tabs-height);
    color:var(--room-muted);text-decoration:none;text-align:center;overflow-wrap:anywhere;font-size:1rem;font-weight:500;
  }
  .mobile-home-tabs a[aria-current]{color:var(--room-ink);font-weight:700}
  .mobile-home-tabs a[aria-current]::after{
    content:"";position:absolute;inset:auto 0 0;margin-inline:auto;width:min(100%,2rem);
    height:3px;border-radius:3px 3px 0 0;background:var(--room-primary);
  }
  .mobile-home-tabs a:focus-visible{outline-offset:-3px}
  .mobile-home-navigation{
    display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:31;
    padding:0 calc(8px + var(--layout-safe-inline-inset)) env(safe-area-inset-bottom);background:var(--room-page-background);
    border-top:1px solid var(--layout-divider);
  }
  .mobile-home-navigation a{
    display:grid;place-items:center;min-height:calc(var(--mobile-home-bottom-nav) - 1px);
    color:var(--room-ink);text-decoration:none;
  }
  .mobile-home-navigation a:focus-visible{outline-offset:-3px}
  .mobile-home-navigation :is(svg,.visual-room-icon){display:block;width:23px;height:23px;flex:none}
  .mobile-home-nav-icon{display:grid;place-items:center;position:relative;width:46px;height:36px}
  .mobile-home-nav-icon>.mobile-home-nav-filled,
  .mobile-home-navigation a[aria-current] .mobile-home-nav-outline{display:none}
  .mobile-home-navigation a[aria-current] .mobile-home-nav-filled{display:block}
  .mobile-home-nav-icon .bookshelf-unread-badge{left:calc(50% + 7px);top:0;transform:translateY(-20%)}
  .mobile-home-inbox-tabs{display:flex;gap:1.75rem;margin-block-end:.75rem}
  .mobile-home-inbox-tabs .bookshelf-note-label{margin-inline-end:.45rem}
  .mobile-home-inbox-tabs .bookshelf-unread-badge{left:calc(100% + .15rem);transform:translateY(-45%)}
  .mobile-redundant-heading{
    position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
  }
  .mobile-home-page .operation-notices{bottom:calc(var(--mobile-home-nav-inset) + var(--mobile-bottom-dock-space) + 16px)}

  .bookshelf-corridor--home .bookshelf-panel{
    --bookshelf-content-width:100%;
    width:min(100%,30rem);min-height:0;margin-inline:auto;padding:1.25rem 1rem 1.5rem;
  }
  .bookshelf-corridor--home :is(.bookshelf-paper,.bookshelf-front,.corridor-entrance,.corridor-follow-tabs){display:none}
  .bookshelf-corridor--home .bookshelf-panel--entrance{
    grid-template-rows:auto;gap:1.25rem;padding-block:2rem;
  }
  .bookshelf-corridor--home .bookshelf-panel--entrance.bookshelf-panel--search{
    display:block;padding-block-start:1.25rem;
  }
  .bookshelf-corridor--home .bookshelf-front{margin-block:0}
  .bookshelf-corridor--home .bookshelf-page-header{gap:1rem;margin-block-end:1rem;padding-block-start:0}
  .bookshelf-corridor--home .bookshelf-panel--projects{padding-block-start:0}
  .bookshelf-corridor--home .bookshelf-panel--mine{
    display:flex;flex-direction:column;padding-block-end:.5rem;
    block-size:calc(100dvh - var(--mobile-home-header-height) - var(--mobile-home-nav-inset));
  }
  .bookshelf-panel--mine :is(.mobile-home-mine-heading,.mobile-home-mine-list){width:100%}
  .mobile-home-mine-heading{flex:none}
  .mobile-home-mine-scroll{
    flex:1;min-height:0;overflow:auto;scrollbar-color:var(--room-line) transparent;
    scrollbar-gutter:stable;padding-inline-end:.375rem;
  }
  .mobile-room-entry{
    display:flex;flex:none;justify-content:flex-end;padding-block-start:.25rem;
  }
  .mobile-room-entry a{gap:.45rem}
  .mobile-room-entry .visual-room-icon{width:1.125rem;height:1.125rem}
  .bookshelf-home .bookshelf-project-header{
    inset-block-start:var(--mobile-home-content-header);
    margin-block-end:.25rem;padding-block:1.25rem .75rem;background:var(--room-page-background);text-align:center;
  }
  .mobile-home-header > .bookshelf-project-header{
    box-sizing:border-box;width:min(calc(100% - 2 * var(--layout-safe-inline-inset)),30rem);margin-inline:auto;
    margin-block-end:0;padding-inline:1rem;gap:1rem;
  }
  @media (max-height: 500px) {
    .mobile-home-header > .bookshelf-project-header{padding-block:.5rem .25rem;gap:.375rem}
    .mobile-home-header > .bookshelf-project-header h1{margin-block-end:0}
  }
  @media (orientation: landscape) and (max-height: 500px) {
    body.mobile-home-page:has(.bookshelf-panel--projects){
      --mobile-home-brand-height:44px;
      --mobile-home-tabs-height:44px;
      --mobile-home-bottom-nav:48px;
      --mobile-bottom-dock-height:45px;
    }
    .mobile-home-header > .bookshelf-project-header{
      container:bookshelf-header / inline-size;
      width:min(calc(100% - 2 * var(--layout-safe-inline-inset)),40rem);
      grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
      align-items:center;gap:.375rem .5rem;padding-block:.25rem;
    }
    .mobile-home-header > .bookshelf-project-header > :where(h1,.bookshelf-tools){grid-column:1/-1}
    .mobile-home-header > .bookshelf-project-header h1{font-size:1.125rem}
    @container bookshelf-header (min-width:30rem) {
      .mobile-home-header > .bookshelf-project-header > h1{grid-column:2}
      .mobile-home-header > .bookshelf-project-header > .bookshelf-tools{grid-column:3}
    }
  }
  .bookshelf-home .bookshelf-tools{display:grid;grid-template-rows:auto;gap:.75rem}
  .bookshelf-home .bookshelf-page-header .bookshelf-tools:not(.bookshelf-search-tools){grid-template-rows:auto}
  .bookshelf-home .bookshelf-number{
    grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;
    grid-row:auto;gap:.625rem;
  }
  .bookshelf-home .bookshelf-number input{grid-column:auto;margin:0;font-size:1rem}
  .bookshelf-home .bookshelf-number :is(button,input,select){min-height:44px}
  .bookshelf-home .bookshelf-number button{padding-inline:.75rem;font-size:.875rem}
  .bookshelf-home .bookshelf-error{position:static;grid-column:1/-1}
  .bookshelf-home .bookshelf-error:empty{display:none}
  .bookshelf-corridor--home .desktop-search-chrome{display:none}
  .mobile-home-search{display:grid;gap:.625rem;margin-block-end:1.25rem;text-align:start}
  .mobile-search-field{
    display:flex;align-items:center;min-height:46px;min-width:0;
    border-radius:var(--room-radius-field);background:var(--room-field-background);
  }
  .mobile-search-field:focus-within{outline:2px solid var(--room-focus);outline-offset:2px}
  .mobile-search-field button.layout-icon-action{
    flex:none;width:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;
  }
  .mobile-search-field button > svg{width:20px;height:20px}
  .mobile-search-field input[type="search"]{
    flex:1;min-width:0;width:100%;min-height:44px;margin:0;padding:0 .75rem 0 0;
    border:0;background:transparent;box-shadow:none;outline:none;font-size:1rem;
  }
  .mobile-search-field input::-webkit-search-cancel-button{appearance:none}
  .mobile-search-clear{flex:none}
  .corridor-follow-content{text-align:start}
  .mobile-home-section-tabs.mobile-home-follow-tabs{
    display:flex;gap:clamp(.5rem,4vw,1.25rem);margin-block-end:.5rem;
  }
  .mobile-home-follow-tabs a{font-size:.875rem;white-space:nowrap}
  .mobile-search-result-controls{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
  .mobile-search-sort{min-width:0;margin:0}
  .mobile-search-sort select{min-width:0;max-width:100%;font-size:.8rem}
  .bookshelf-corridor--home .bookshelf-grid{gap:.75rem;margin-block-end:1rem}
  .bookshelf-corridor--home .bookshelf-empty{position:static;padding-block:.75rem}
  .bookshelf-corridor--home .bookshelf-slot:has(.layout-project-card-space){display:none}
  .bookshelf-corridor--home .bookshelf-slot :is(.layout-project-card,.layout-collection-card){
    width:100%;height:auto;min-height:0;
  }
  .bookshelf-corridor--home .bookshelf-pagination div{min-height:44px}
  .bookshelf-corridor--home .bookshelf-pagination a{display:inline-flex;align-items:center;min-height:44px}
  .bookshelf-panel--search .bookshelf-pagination:not(.mobile-page-navigation){display:none}
  .bookshelf-corridor--home .bookshelf-panel:has(.mobile-bottom-dock:not([hidden])){
    padding-block-end:calc(1.25rem + var(--mobile-bottom-dock-space));
  }
  .bookshelf-corridor--home .bookshelf-panel .mobile-bottom-dock{
    position:fixed;
    inset:auto 0 var(--mobile-home-nav-inset);
    z-index:2;
    box-sizing:border-box;
    width:100%;
    min-height:var(--mobile-bottom-dock-space);
    margin:0;
    padding-block:0;
    background:var(--room-page-background);
  }
  .mobile-page-navigation{
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.375rem;
    padding-inline:var(--mobile-bottom-dock-inline-inset);border-block-start:1px solid var(--layout-divider);
  }
  .mobile-page-navigation .bookshelf-pages-before{grid-area:1/1;justify-content:flex-start}
  .mobile-page-navigation .bookshelf-pages-after{grid-area:1/3;justify-content:flex-end}
  .mobile-page-navigation .bookshelf-pages-before > :not(:first-child),
  .mobile-page-navigation .bookshelf-pages-after > :not(:last-child),
  .mobile-page-navigation .corridor-collection-open__dots{display:none}
  .bookshelf-corridor--home .mobile-page-navigation :is(a,button:disabled){
    min-height:44px;
    font:400 .875rem/1.3 var(--room-font-ui);
  }
  .mobile-page-navigation .bookshelf-pages-before > :first-child,
  .mobile-page-navigation .bookshelf-pages-after > :last-child{display:inline-flex;align-items:center;gap:.4rem}
  .mobile-page-navigation .bookshelf-pages-before > :first-child::before,
  .mobile-page-navigation .bookshelf-pages-after > :last-child::after{
    content:"";
    width:.375rem;height:.375rem;flex:none;
    border:solid currentColor;border-width:0 1.5px 1.5px 0;
  }
  .mobile-page-navigation .bookshelf-pages-before > :first-child::before{rotate:135deg}
  .mobile-page-navigation .bookshelf-pages-after > :last-child::after{rotate:-45deg}
  .mobile-page-navigation :is(strong,.mobile-page-navigation__open,.corridor-collection-open),
  .bookshelf-panel--collection .mobile-page-navigation .corridor-collection-open{
    grid-area:1/2;margin:0;justify-self:center;white-space:nowrap;letter-spacing:normal;
  }
  .mobile-page-navigation strong:focus{outline:none}
  .mobile-page-navigation__label{display:inline}
  .bookshelf-corridor--home [data-mobile-page-swipe]{touch-action:pan-y pinch-zoom}
  .bookshelf-corridor--home .corridor-follow-identity{min-width:0;overflow-wrap:anywhere}

  .bookshelf-corridor--home .bookshelf-panel--rooms{grid-template-rows:auto auto;gap:1rem}
  .bookshelf-corridor--home .bookshelf-panel--rooms:has(.mobile-page-navigation){
    min-height:calc(100dvh - var(--mobile-home-content-header) - var(--mobile-home-bottom-nav) - env(safe-area-inset-bottom));
    grid-template-rows:minmax(min-content,1fr);
  }
  .bookshelf-corridor--home .bookshelf-panel--rooms:has(.mobile-page-navigation) > :is(.corridor-room-stage,.corridor-collection-stage){
    align-content:center;
  }
  @media (orientation: landscape) and (max-height: 34rem) {
    .bookshelf-corridor--home .bookshelf-panel--rooms:has(> .corridor-room-stage > .corridor-room-figure){
      --room-preview-available:calc(100dvh - var(--mobile-home-content-header) - var(--mobile-home-nav-inset) - var(--mobile-bottom-dock-space));
      --room-preview-inset:clamp(0px,calc((var(--room-preview-available) - 2rem) / 2),.5rem);
      --room-preview-height:max(0px,calc(var(--room-preview-available) - 2 * var(--room-preview-inset)));
      padding-block:var(--room-preview-inset) calc(var(--room-preview-inset) + var(--mobile-bottom-dock-space));
    }
    .bookshelf-corridor--home .corridor-room-stage:has(> .corridor-room-figure){
      block-size:var(--room-preview-height);
      grid-template-rows:minmax(0,1fr);
    }
    .bookshelf-corridor--home .corridor-room-figure{
      display:grid;block-size:100%;grid-template-rows:minmax(0,1fr) auto;
    }
    .bookshelf-corridor--home .corridor-room-photo{
      container-type:size;display:grid;place-items:end center;
    }
    .bookshelf-corridor--home .corridor-room-snapshot{
      box-sizing:border-box;inline-size:min(100cqi,calc((100cqb - 2px) * 16 / 9 + 2px));
    }
    .bookshelf-corridor--home .corridor-room-figure figcaption{margin-block-start:var(--room-preview-inset)}
  }
  @media (orientation: landscape) and (max-height: 20rem) {
    .mobile-home-page:has(.corridor-room-figure){
      --mobile-home-brand-height:44px;
      --mobile-home-tabs-height:44px;
    }
    .bookshelf-corridor--home .corridor-room-figure{
      grid-template-columns:min(45%,calc(var(--room-preview-height) * 16 / 9)) minmax(0,max-content);
      grid-template-rows:minmax(0,1fr);justify-content:center;align-items:center;column-gap:.75rem;
    }
    .bookshelf-corridor--home .corridor-room-photo{align-self:stretch;place-items:center}
    .bookshelf-corridor--home .corridor-room-figure figcaption{
      min-width:0;margin:0;text-align:start;line-height:1.25;
      overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    }
  }
  .bookshelf-corridor--home .corridor-discovery-start{
    grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:.625rem;justify-items:stretch;
  }
  .bookshelf-corridor--home .corridor-discovery-start .button{min-height:44px;white-space:nowrap}
  .bookshelf-corridor--home .corridor-collection-stage{padding-block-start:0}
  .bookshelf-corridor--home .corridor-collection-open{margin-block-end:0}
  .bookshelf-corridor--home .corridor-collection-slot .recommendation-row:has(.recommendation-reason-toggle[open]){
    position:static;max-block-size:none;overflow:visible;
  }
  .bookshelf-corridor--home .corridor-collection-slot:has(.recommendation-reason-toggle[open]){min-block-size:0}

  .bookshelf-corridor--home .bookshelf-panel--inbox{block-size:auto}
  .bookshelf-corridor--home .corridor-inbox-scroll{overflow:visible;scrollbar-gutter:auto;padding-inline-end:0}
  .bookshelf-corridor--home #corridor-message-detail{scroll-margin-block-start:var(--mobile-home-header-height)}
  .bookshelf-corridor--home .corridor-notifications time{justify-self:start}
}
