/* SalonPro Georgia: compact owner start screen on Android.
   Display only: preserves booking/CRM data and accessible full salon URL. */
@media (max-width:650px){
  .owner-workspace #content.page{padding-top:11px}
  .owner-workspace .owner-home{gap:11px}
  .owner-workspace .owner-home-hero{
    display:block;
    padding:17px 17px 16px;
    border-radius:19px;
    box-shadow:0 12px 28px #194d3520;
  }
  .owner-workspace .owner-home-overline{
    font-size:.57rem;
    letter-spacing:.07em;
    line-height:1.4;
    gap:6px;
  }
  .owner-workspace .owner-home-hero h1{
    font-size:clamp(1.55rem,7.2vw,1.85rem);
    line-height:1.16;
    margin:8px 0 6px;
  }
  .owner-workspace .owner-home-hero-main>p:not(.owner-home-share-note){
    font-size:.76rem;
    line-height:1.45;
  }
  .owner-workspace .owner-home-link-label{
    font-size:.58rem;
    letter-spacing:.04em;
    margin:12px 0 5px;
  }
  .owner-workspace .owner-home-url{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
    max-height:calc(2.8em + 16px);
    min-width:0;
    font-size:.7rem;
    line-height:1.4;
    padding:8px 10px;
    border-radius:10px;
    overflow-wrap:anywhere;
  }
  .owner-workspace .owner-home-hero-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
    gap:7px;
    margin-top:10px;
  }
  .owner-workspace .owner-home-share{
    grid-column:1/-1;
    min-height:44px;
    border-radius:11px;
    padding:8px 10px;
    font-size:.75rem;
    line-height:1.25;
    box-shadow:none;
    justify-content:center;
  }
  .owner-workspace .owner-home-visit,
  .owner-workspace .owner-home-copy{
    min-width:0;
    width:100%;
    min-height:42px;
    padding:8px 5px;
    font-size:.68rem;
    line-height:1.28;
    border-radius:10px;
    justify-content:center;
    text-align:center;
    gap:5px;
    white-space:normal;
  }
  .owner-workspace .owner-home-share-note{
    margin-top:10px;
    font-size:.65rem;
    line-height:1.38;
    gap:7px;
  }
  /* Notifications must never cover the fixed bottom menu. */
  #toast{
    bottom:calc(91px + env(safe-area-inset-bottom));
    right:12px;
    left:auto;
    max-width:min(82vw,320px);
    pointer-events:none;
  }
  #toast .toast{
    padding:9px 12px;
    border-radius:10px;
    font-size:.74rem;
    line-height:1.4;
  }
}


/* Share actions use their complete labels on desktop and accessible names
   on mobile even when abbreviated visually. */
.owner-workspace .owner-action-label-short{display:none}

@media (max-width:650px){
  /* The owner's salon name is already in the hero and the page header:
     remove redundant eyebrow, tighten the descriptive rhythm. */
  .owner-workspace .owner-home-overline{display:none}
  .owner-workspace .owner-home-hero{
    padding:15px 15px 14px;
    border-radius:18px;
  }
  .owner-workspace .owner-home-hero h1{margin:0 0 6px;font-size:clamp(1.4rem,6.5vw,1.75rem)}
  .owner-workspace .owner-home-hero-main>p:not(.owner-home-share-note){
    font-size:.72rem;line-height:1.37;
  }
  .owner-workspace .owner-home-link-label{margin:9px 0 5px}
  /* The full URL is still in the DOM, title and actual copy/share actions.
     Do not clip it at mid-line or leave an orphan third line. */
  .owner-workspace .owner-home-url{
    display:block;
    width:100%;max-width:100%;
    height:auto;max-height:none;
    padding:8px 10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    overflow-wrap:normal;
    word-break:normal;
    -webkit-line-clamp:unset;
  }
  .owner-workspace .owner-home-hero-actions{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
    margin-top:9px;
  }
  .owner-workspace .owner-home-hero-actions :is(.owner-home-share,.owner-home-visit,.owner-home-copy){
    grid-column:auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:4px;
    min-width:0;
    width:100%;
    min-height:56px;
    padding:6px 3px;
    border-radius:10px;
    font-size:.66rem;
    font-weight:750;
    line-height:1.15;
    text-align:center;
    white-space:normal;
  }
  .owner-workspace .owner-home-hero-actions :is(.owner-home-share,.owner-home-visit,.owner-home-copy) svg{
    width:18px;height:18px;flex:0 0 18px;
  }
  .owner-workspace .owner-action-label-full{display:none}
  .owner-workspace .owner-action-label-short{display:inline}
  .owner-workspace .owner-home-copy{
    border:1px solid #daeada76;
    color:#f3fff8;
    background:#ffffff12;
  }
  .owner-workspace .owner-home-share-note{margin-top:9px;line-height:1.35}

  /* Keep sections scrollable in a short bottom sheet, but place each
     Georgian label on one full-width row rather than breaking final letters
     into narrow two-column tiles. */
  .owner-workspace #mobileMorePanel.mobile-more-panel:not([hidden]){
    padding:12px 13px 14px;
    border-radius:18px;
    max-height:min(62dvh,520px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
  .owner-workspace .mobile-more-title{
    position:sticky;
    top:-12px;
    z-index:1;
    padding:8px 0 10px;
    margin:0 0 8px;
    background:#fffefa;
    align-items:center;
  }
  .owner-workspace .mobile-more-title-content{gap:2px}
  .owner-workspace .mobile-more-title-content strong{
    font-size:.94rem;line-height:1.2;
  }
  .owner-workspace .mobile-more-title-content small{font-size:.64rem;line-height:1.35}
  .owner-workspace .mobile-more-grid{gap:11px}
  .owner-workspace .mobile-more-section h3{
    margin:0 0 5px 2px;
    font-size:.61rem;
    letter-spacing:.05em;
  }
  .owner-workspace .mobile-more-group-grid{
    grid-template-columns:minmax(0,1fr);
    gap:5px;
  }
  .owner-workspace .mobile-extra-link{
    min-height:44px;
    padding:9px 11px;
    gap:10px;
    border-radius:11px;
    font-size:.77rem;
    font-weight:720;
    line-height:1.32;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
  }
  .owner-workspace .mobile-extra-link>.ico{
    flex:0 0 23px;display:flex;align-items:center;justify-content:center;
  }
  .owner-workspace .mobile-extra-link>span:not(.ico):not(.mobile-more-unread){
    min-width:0;
    overflow-wrap:normal;
    word-break:normal;
    white-space:normal;
  }
}


/* Owner's selected-day agenda: local filters only, never re-fetch or store PII. */
.owner-workspace .owner-agenda-tools{
  display:grid;gap:9px;min-width:0;padding:11px;
  border:1px solid #d8e8dc;border-radius:13px;
  background:#f6faf7;
}
.owner-workspace .owner-agenda-search-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:7px;min-width:0;
}
.owner-workspace .owner-agenda-search{
  display:flex;align-items:center;gap:8px;min-width:0;
  min-height:44px;padding:0 11px;
  border:1px solid #cddfd2;border-radius:10px;background:#fff;
  color:#497959;
}
.owner-workspace .owner-agenda-search:focus-within{
  outline:2px solid #80bc95;outline-offset:1px;
}
.owner-workspace .owner-agenda-search>svg{
  flex:0 0 17px;width:17px;height:17px;
}
.owner-workspace .owner-agenda-search input{
  display:block;width:100%;min-width:0;height:42px;
  padding:0;border:0;background:transparent;outline:none;
  color:#315744;font:inherit;font-size:.8rem;
  text-overflow:ellipsis;
}
.owner-workspace .owner-agenda-clear{
  min-height:44px;padding:8px 10px;border:1px solid #d1e4d5;
  border-radius:10px;background:#fff;color:#3d7351;
  font:inherit;font-size:.73rem;font-weight:760;cursor:pointer;
}
.owner-workspace .owner-agenda-clear[hidden]{display:none!important}
.owner-workspace .owner-agenda-filters{
  display:flex;flex-wrap:wrap;gap:6px;min-width:0;
}
.owner-workspace .owner-agenda-filter{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:0;min-height:44px;gap:5px;padding:7px 10px;
  border:1px solid #d3e5d7;border-radius:10px;
  background:#fff;color:#456b52;
  font:inherit;font-size:.73rem;font-weight:760;line-height:1.25;
  text-align:center;white-space:normal;word-break:normal;
  overflow-wrap:normal;hyphens:none;cursor:pointer;
}
.owner-workspace .owner-agenda-filter b{
  flex:0 0 auto;color:#2e7250;font-size:.7rem;
  font-variant-numeric:tabular-nums;
}
.owner-workspace .owner-agenda-filter[aria-pressed="true"]{
  color:#fff;background:#2c7050;border-color:#2c7050;
}
.owner-workspace .owner-agenda-filter[aria-pressed="true"] b{color:#fff}
.owner-workspace .owner-agenda-filter:focus-visible,
.owner-workspace .owner-agenda-clear:focus-visible{
  outline:3px solid #7ebc96;outline-offset:2px;
}
.owner-workspace .owner-agenda-count{
  margin:0;color:#668274;font-size:.72rem;line-height:1.3;
}
.owner-workspace .owner-agenda-no-match{
  margin:0;padding:15px 12px;border:1px dashed #c7dacb;
  border-radius:10px;background:#f8fbf7;color:#547761;
  font-size:.79rem;line-height:1.4;
}
.owner-workspace .owner-agenda-no-match[hidden],
.owner-workspace .owner-day-visit[hidden]{display:none!important}
@media(max-width:650px){
  .owner-workspace .owner-agenda-tools{
    padding:10px;gap:8px;border-radius:11px;
  }
  .owner-workspace .owner-agenda-filters{gap:5px}
  .owner-workspace .owner-agenda-filter{
    min-height:44px;font-size:.69rem;padding:7px 9px;
  }
}
@media(max-width:355px){
  .owner-workspace .owner-agenda-filter{font-size:.65rem;padding:7px 6px}
  .owner-workspace .owner-agenda-search input{font-size:.74rem}
}
