/* Shop QR landing and generator. Shares documents.css tokens; adds form, card and print layout. */
[hidden]{display:none!important}
:root{--error:var(--fg-critical)}
.shop-card h2{margin-bottom:8px}.shop-eyebrow{font-size:13px;font-weight:700;color:var(--brand);margin:0 0 6px}
.shop-rows{display:grid;gap:8px;margin:0 0 20px}.shop-rows div{display:flex;flex-wrap:wrap;gap:4px 16px}.shop-rows dt{font-size:13px;color:var(--muted);min-width:64px}.shop-rows dd{margin:0;font-size:16px}
button.document-button{font:inherit;font-size:14px;font-weight:700;color:var(--brand);cursor:pointer}
.document-button.shop-primary{background:var(--brand);color:var(--fg-neutral-inverted);border-color:var(--brand)}
.shop-form{display:grid;gap:20px}.shop-field{display:grid;gap:6px}.shop-field label{font-size:15px;font-weight:700}.shop-field .required{color:var(--error)}
.shop-field input,.shop-field select{min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font:inherit;font-size:16px}
.shop-field input:focus-visible,.shop-field select:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.shop-field [aria-invalid=true]{border-color:var(--error)}.shop-hint{font-size:13px;line-height:1.6;color:var(--muted);margin:0!important}
.shop-error{font-size:13px;line-height:1.6;color:var(--error);margin:0!important}.shop-suffix{display:flex;align-items:center;gap:8px}.shop-suffix input{flex:1;min-width:0}
.shop-status{min-height:24px;font-size:14px;color:var(--muted)}
.shop-print-card{display:grid;justify-items:center;gap:12px;padding:28px 20px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--bg-layer-default);text-align:center;margin:0 0 16px}
.shop-print-card img{width:120px;height:auto}.shop-print-card h2{margin:0;font-size:22px}.shop-print-card p{margin:0!important;font-size:15px;line-height:1.7;color:var(--muted)}
.shop-qr{width:min(240px,70vw);aspect-ratio:1}.shop-qr svg{display:block;width:100%;height:100%}
.shop-link{font-size:12px!important;line-height:1.6!important;color:var(--muted);word-break:break-all}
@media print{.document-header,.document-footer,.document-title,.shop-form-section,.shop-result-actions,.shop-result-meta-section,.shop-status{display:none!important}
  body{background:var(--bg-layer-default)}.document-main{padding:0;max-width:none}.document-section{border:0;padding:0}
  .shop-print-card{border:0;min-height:90vh;align-content:center}.shop-qr{width:75mm}.shop-print-card h2{font-size:26pt}.shop-print-card p{font-size:13pt}}
.shop-procedures{border:0;margin:0;padding:0;display:grid;gap:10px}.shop-procedures legend{font-size:15px;font-weight:700;padding:0;margin-bottom:6px}
.shop-procedure-list{display:grid;gap:10px}.shop-procedure-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,128px) auto;gap:8px;align-items:center}
.shop-procedure-row input{min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font:inherit;font-size:16px;min-width:0}
.shop-procedure-row input[aria-invalid=true]{border-color:var(--error)}.shop-procedure-row input:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.shop-procedure-days{display:flex;align-items:center;gap:6px}.shop-procedure-days input{width:100%}.shop-procedure-days span{font-size:14px;white-space:nowrap;color:var(--muted)}
.shop-procedure-remove{min-width:44px;min-height:44px;border:0;background:none;color:var(--muted);font:inherit;font-size:14px;cursor:pointer}
.shop-procedure-summary{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:4px}.shop-procedure-summary li{font-size:15px;line-height:1.7}
@media(max-width:400px){.shop-procedure-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'name remove' 'days days'}.shop-procedure-row>input{grid-area:name}.shop-procedure-days{grid-area:days}.shop-procedure-remove{grid-area:remove}}
/* Owner page (/shop) */
.portal-social{display:grid;gap:10px;margin:16px 0 8px}.portal-social-button{min-height:52px;width:100%;justify-content:center}
.portal-divider{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px;margin:20px 0!important}.portal-divider::before,.portal-divider::after{content:"";flex:1;border-top:1px solid var(--line)}
.portal-actions{display:flex;flex-wrap:wrap;gap:16px}.portal-actions .document-button{min-height:48px}
.portal-text-button{border:0;background:none;padding:12px 0;min-height:44px;color:var(--muted);font:inherit;font-size:14px;text-decoration:underline;cursor:pointer;justify-self:start}
.portal-danger{color:var(--error)}
.portal-owner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}.portal-owner h2{margin:0 0 4px}
.portal-owner-form{margin-bottom:20px}
.portal-shops{display:grid;gap:16px;margin-bottom:16px}
.portal-shop{display:grid;gap:10px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg-layer-default)}.portal-shop h3{margin:0;font-size:19px;word-break:keep-all;overflow-wrap:anywhere}.portal-shop p{margin:0;line-height:1.7;word-break:keep-all}
.portal-shop-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;justify-items:start}
.portal-shop-qr-action{grid-column:2;grid-row:1 / span 2;justify-self:end;align-self:center;display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface,var(--bg-layer-default));color:var(--brand);cursor:pointer}
.portal-shop-qr-action:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.portal-badge{display:inline-block;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700;background:var(--bg-brand-weak);color:var(--fg-brand-strong)}
.portal-badge-approved{background:var(--bg-positive-weak);color:var(--fg-positive-strong)}.portal-badge-rejected,.portal-badge-suspended{background:var(--bg-critical-weak);color:var(--fg-critical-strong)}
.portal-review-note{padding:12px 14px;border-radius:12px;background:var(--bg-layer-fill);font-size:15px}
.portal-qr{display:grid;justify-items:center;gap:10px;padding:12px 0}
.portal-consent{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--bg-layer-fill)}.portal-consent h3{margin:0;font-size:16px}.portal-consent ul{margin:0;padding-left:20px;display:grid;gap:4px;line-height:1.7;font-size:14px;word-break:keep-all}
.portal-check{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.6;min-height:44px;padding-top:4px}.portal-check input{width:22px;height:22px;margin:0;flex:none;accent-color:var(--brand)}
@media print{[data-portal-view],.document-title,.shop-status{display:none!important}[data-portal-print]{display:block!important}}
.portal-qr .portal-actions,.portal-owner .portal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.portal-qr .portal-actions .document-button,.portal-owner .portal-actions .document-button{justify-content:center;text-align:center}
.portal-shop-fields{display:grid;gap:20px}
.portal-count{font-weight:700;color:var(--brand)}
/* Owner customer tools (shop-customers.js) */
.shop-field textarea,.portal-rule input:not([type=checkbox]){padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font:inherit;font-size:16px;line-height:1.6;min-width:0}
.shop-field textarea{resize:vertical;min-height:112px}.shop-field textarea:focus-visible,.portal-rule input:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.portal-compose{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg-layer-default);margin:16px 0 24px}.portal-compose h3,.portal-customers-head h3{margin:0;font-size:17px}
.portal-customers-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.portal-customers{display:grid;gap:12px;margin-bottom:24px}
.portal-customer{display:grid;gap:8px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--bg-layer-default)}.portal-customer p{margin:0;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.portal-customer-name strong{font-size:17px}.portal-next{font-weight:700;color:var(--brand)}
.portal-visits{list-style:none;margin:0;padding:0;display:grid;gap:2px}.portal-visits li{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:15px}
.portal-visits .portal-text-button{padding:8px 0}
.portal-panel{padding-top:12px;border-top:1px solid var(--line)}
.portal-rules{display:grid;gap:12px}.portal-rule{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px}
.portal-rule-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,112px);gap:8px}.portal-rule input:not([type=checkbox]){min-height:48px}
.portal-rule .shop-procedure-remove{justify-self:end}.portal-rules-editor{display:grid;gap:12px}
.portal-history summary{min-height:44px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.portal-history-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.portal-history-list li{display:grid;gap:2px;padding-bottom:12px;border-bottom:1px solid var(--line)}.portal-history-list li:last-child{border-bottom:0}
.portal-history-list p{margin:0;line-height:1.7;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}
.portal-empty{color:var(--muted);line-height:1.7;word-break:keep-all}
.portal-customer>.portal-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.portal-customer>.portal-actions .document-button{justify-content:center;text-align:center;padding-left:8px;padding-right:8px}
.portal-history summary::before{content:"▸";margin-right:8px;color:var(--muted)}.portal-history[open]>summary::before{content:"▾"}
.portal-rule .shop-procedure-days,.portal-rule .shop-procedure-remove{grid-area:auto}
@media(max-width:400px){.portal-rule-main{grid-template-columns:minmax(0,1fr)}}

/* Match FINDE's action boundaries and optional-detail spacing. */
.portal-rule-options{border:1.5px solid var(--line);border-radius:12px;padding:0 12px}
.portal-rule-options summary{min-height:48px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.portal-rule-options summary::after{content:"+";margin-left:auto;color:var(--brand)}
.portal-rule-options[open] summary::after{content:"−"}
.portal-rule-options[open]{padding-bottom:12px}
.portal-rule-options .shop-field{margin-top:12px}
.portal-rule-main>.shop-field,.portal-rule-options>.shop-field{font-size:14px;font-weight:700}
.portal-rule-main input,.portal-rule-options input:not([type=checkbox]){width:100%;font-weight:400}
.portal-rule .shop-procedure-days{display:flex;align-items:center;gap:8px;min-width:0}
.portal-rule .shop-procedure-days input{flex:1;width:0}
.shop-hint,.shop-error,.portal-check{word-break:keep-all;overflow-wrap:anywhere}

/* Choose recipients before opening the message editor. */
.portal-selection{display:grid;gap:8px;margin:16px 0 24px}
.portal-selection .document-button{justify-self:start;margin:0}
.portal-selection .document-button:disabled{opacity:.5;cursor:default}
.portal-compose[aria-labelledby]{scroll-margin-top:16px}

/* Conversations use existing portal cards, fields and buttons. */
.inquiry-body{white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;line-height:1.7}
.inquiry-photo{display:block;max-width:100%;max-height:24rem;object-fit:contain;margin-block:1rem}

/* FINDE owner-authored public profile; same card/selection boundaries as the app. */
.shop-public-profile{display:grid;gap:16px;margin-block:24px;color:var(--fg-neutral)}
.shop-public-profile p{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;line-height:1.65}
.profile-tabs{display:flex;gap:8px;overflow-x:auto;padding-block:4px}
.profile-tabs button{flex:0 0 auto;padding:8px 14px;min-height:44px;background:var(--bg-layer-default);border:1px solid var(--stroke-neutral-muted);border-radius:8px;color:var(--fg-neutral-muted)}
.profile-tabs button[aria-selected=true]{border-color:var(--stroke-brand);background:var(--bg-brand-weak);color:var(--fg-brand-strong);font-weight:700}
.profile-cover-rail,.profile-price-photos{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory}
.profile-photo{padding:0;border:0;background:transparent;border-radius:16px;overflow:hidden;cursor:pointer}
.profile-photo img{display:block;width:100%;height:100%;object-fit:cover}
.profile-cover-rail>.profile-photo{flex:0 0 100%;aspect-ratio:2/1;scroll-snap-align:start}
.profile-section{display:grid;gap:12px;padding:16px;border:1px solid var(--stroke-neutral-muted);border-radius:16px;background:var(--bg-layer-default);margin-bottom:16px}
.profile-section h3,.profile-section h4,.profile-section p{margin:0}.profile-section h3{font-size:16px;line-height:1.5}
.profile-designer{display:flex;gap:16px;align-items:flex-start}.profile-designer>div{flex:1;min-width:0}.profile-designer .profile-photo{width:108px;height:108px;flex:none;border-radius:12px}
.profile-price{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-block:12px;border-bottom:1px solid var(--stroke-neutral-weak)}.profile-price>div{display:grid;gap:4px}.profile-price strong{white-space:nowrap}.profile-price small{color:var(--fg-neutral-muted)}
.profile-price-photos .profile-photo{width:112px;height:112px;flex:none}.profile-price-photos img{object-fit:contain}
.profile-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-work-grid .profile-section{padding:0;border:0;background:transparent;align-content:start}.profile-work-grid .profile-photo{width:100%;aspect-ratio:3/4}
.profile-eyebrow{font-size:13px;color:var(--fg-brand);font-weight:700}.profile-photo-dialog{max-width:90vw;width:640px;border:1px solid var(--stroke-neutral-muted);border-radius:16px;padding:16px}.profile-photo-dialog img{width:100%;max-height:75vh;object-fit:contain}.profile-photo-dialog::backdrop{background:var(--overlay-dim74)}
.profile-owner{display:grid;gap:16px}.profile-owner[hidden]{display:none}.profile-edit-photo{display:flex;gap:16px;align-items:center}.profile-edit-photo img{width:112px;height:112px;object-fit:cover;border-radius:12px}
@media(max-width:359px){.profile-work-grid{grid-template-columns:1fr}}

/* Owner profile: use one category at a time, reserve filled emphasis for save. */
.profile-owner-section{display:grid;gap:16px}.profile-owner-section h3{margin:0;font-size:16px;line-height:1.5}
.profile-owner-section .portal-history{padding-block:8px;border-bottom:1px solid var(--line)}
.profile-owner-section .portal-history:last-of-type{border-bottom:0}
.profile-owner .profile-tabs{gap:8px}.profile-owner .profile-tabs button{font-size:14px}

/* Quiet owner editor: strong emphasis belongs to selection and save. */
.profile-owner-section h3{font-size:13px;font-weight:500;color:var(--muted)}
.profile-owner-section .portal-history>summary{font-size:16px;font-weight:500}
.profile-owner-section .portal-history{border-color:var(--stroke-neutral-weak)}
.profile-owner .document-button:not(.shop-primary):not([role=tab]){border:1px solid var(--line);background:transparent;color:var(--ink);font-weight:500}

.profile-designer>.profile-designer-photos{flex:none;width:108px;display:grid;gap:4px}
.profile-designer-photo-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.profile-designer-photo-rail>.profile-photo{scroll-snap-align:start}
.profile-edit-gallery{display:flex;gap:16px;overflow-x:auto}.profile-edit-gallery .profile-edit-photo{display:grid;align-content:start;flex:0 0 112px}

.profile-designer p{text-wrap:wrap}

/* Selected flat designer directory: one separator per row, booking belongs to its designer. */
.profile-designer-item{padding:16px 0;margin:0;background:transparent}
.profile-designer-item+.profile-designer-item{border-top:1px solid var(--line)}
.profile-designer-item h3,.profile-designer-item p{margin:0}
.profile-designer-item h3{font-size:16px;line-height:1.5;margin-bottom:4px}
.profile-designer-booking{display:inline-flex;align-items:center;min-height:44px;gap:4px;padding:4px 0;text-decoration:none;font-weight:700;color:var(--brand);line-height:1.5}
.profile-designer-booking:focus-visible{outline:2px solid var(--brand);outline-offset:4px}

/* Designer cards lead to a separate editing page; save stays outside its scrolling body. */
.profile-designer-card{display:flex;align-items:center;gap:16px;width:100%;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--bg-layer-default);color:var(--ink);font:inherit;text-align:left;cursor:pointer;min-height:44px}
.profile-designer-card img{width:112px;height:112px;object-fit:cover;border-radius:12px}.profile-designer-card-copy{display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}
.profile-designer-card:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
.profile-owner-dialog{width:min(680px,100vw);height:90dvh;max-height:90dvh;max-width:100vw;padding:0;border:1px solid var(--line);border-radius:16px;color:var(--ink);background:var(--paper);box-sizing:border-box}
.profile-owner-dialog[open]{display:flex;flex-direction:column}.profile-owner-dialog::backdrop{background:var(--overlay-dim48)}
.profile-page-header{display:flex;align-items:center;gap:16px;padding:16px;flex-shrink:0}.profile-page-header h2{margin:0;font-size:18px;line-height:1.5;overflow-wrap:anywhere}
.profile-page-body{overflow-y:auto;padding:16px;flex:1;min-height:0}
.profile-save-footer{display:grid;gap:8px;padding:16px;background:var(--paper);position:sticky;bottom:0;z-index:1;border-top:1px solid var(--line);flex-shrink:0}.profile-save-footer p{margin:0}.profile-save-footer button{width:100%}
.profile-owner-dialog .document-button{min-height:44px}.profile-photo-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.profile-photo-gallery img{flex:0 0 100%;min-width:100%;scroll-snap-align:start;object-fit:contain}.profile-photo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
@media(max-width:600px){.profile-owner-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0}.profile-page-header{padding-top:max(16px,env(safe-area-inset-top))}.profile-save-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}}
.profile-page-header>.document-button{width:auto;flex:0 0 auto;margin:0}.profile-page-header h2{flex:1;min-width:0}

/* Shop photos share the customer aspect ratio; all removal controls retain a 44px target. */
.profile-edit-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-edit-gallery .profile-photo-tile{width:100%}.profile-photo-tile{display:block;position:relative;overflow:hidden;border-radius:12px;background:var(--line);width:min(100%,240px)}
.profile-photo-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.profile-photo-remove{position:absolute;top:0;right:0;width:44px;height:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);font-size:26px;display:grid;place-items:center;cursor:pointer;padding:0}
.shop-crop-canvas{display:block;width:100%;height:auto;touch-action:none;border-radius:12px;background:var(--line)}
.profile-identity{display:grid;gap:16px}.profile-identity-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.profile-identity h2{margin:0}
.profile-primary-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-primary-actions>a{flex:1;min-height:44px;text-align:center}
.profile-edit-action{justify-self:end;min-height:44px}.profile-home-notice{display:grid;gap:8px;width:100%;text-align:left;border:1px solid var(--line);border-radius:16px;padding:16px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}
.profile-info-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;min-height:44px;padding:8px 0}.profile-info-row p{margin:0}

.profile-cover-editor-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;border-radius:16px}.profile-cover-editor-rail>.profile-photo-tile{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;min-width:0}

.profile-home-work-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.profile-home-work-grid .profile-photo{width:100%;aspect-ratio:3/4;border-radius:0}.profile-inline-edit{width:100%;border:0;background:transparent;color:var(--shop-text,inherit);text-align:left;cursor:pointer;font:inherit}.profile-inline-edit>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}

/* Profile edit actions stay with their section or the item they remove. */
.profile-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.profile-editor-heading>span{flex:1;min-width:0}
.profile-icon-action.document-button{flex:none;width:44px;min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;color:var(--ink)}
.profile-page-header h2{flex:1;min-width:0}

/* Shared customer/owner identity: category above, prominent name and fixed edit column. */
.profile-identity{gap:8px}.profile-identity-heading{flex-wrap:nowrap}.profile-identity h2{flex:1;min-width:0;font-size:24px;line-height:1.4;font-weight:700;word-break:keep-all;overflow-wrap:anywhere}
.profile-category{font-size:13px;line-height:1.6;color:var(--muted)}
.profile-basic-edit.document-button{width:44px;min-width:44px;min-height:44px;padding:0;flex:none;display:inline-flex;align-items:center;justify-content:center}
.profile-info-row.profile-inline-edit{flex-wrap:nowrap;gap:8px}.profile-inline-edit>span:first-child{flex:none}.profile-inline-edit>.profile-edit-glyph{width:44px;flex:0 0 44px;text-align:center}

/* Team account actions are a separate destination, outside profile editing. */
.profile-participation-menu{padding:8px 0;border-bottom:1px solid var(--line)}
.profile-owner .profile-participation-action.document-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;border:0;text-align:left}
.profile-participation-action>span{flex:none}

/* Owner mode: the same three jobs as the app, sized for web pointer and touch. */
.portal-work-menu{display:grid;margin-top:8px}
.portal-work-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:72px;padding:16px 0;border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.portal-work-row+.portal-work-row{border-top:1px solid var(--line)}
.portal-work-row>span:first-child{display:grid;gap:4px;min-width:0}.portal-work-row strong{font-size:16px;font-weight:500;line-height:1.5}
.portal-work-row .shop-hint{font-size:13px;line-height:1.6;word-break:keep-all;overflow-wrap:anywhere}.portal-work-row>span:last-child{font-size:24px;color:var(--muted);flex:none}
.portal-work-row:focus-visible{outline:2px solid var(--brand);outline-offset:4px}.portal-work-row:hover{color:var(--brand)}
.portal-work-extra{border-top:1px solid var(--line);padding-top:8px}.portal-work-extra summary{font-size:13px;font-weight:500;color:var(--muted)}
.portal-common-settings{padding-block:16px;margin-bottom:16px;border-block:1px solid var(--line)}.portal-common-settings>.document-button{display:flex;width:100%;justify-content:space-between}
.portal-customer-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,180px);gap:12px;margin-block:16px}
.portal-customer-controls input,.portal-customer-controls select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font:inherit}
.portal-customer-controls input:focus-visible,.portal-customer-controls select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.portal-customer-detail>summary{font-weight:500;justify-content:flex-start}.portal-customer-detail[open]{display:grid;gap:12px}
.portal-customer-detail>.portal-actions{display:flex;flex-wrap:wrap;gap:12px}.portal-customer-detail .portal-visits li+li{border-top:1px solid var(--line)}
.portal-customer-detail .portal-visits li{min-height:52px;gap:16px;line-height:1.65}.portal-customer-detail .portal-visits span{min-width:0;word-break:keep-all;overflow-wrap:anywhere}
.portal-customer-detail .portal-visits .portal-text-button{flex:none}.portal-customer-detail .portal-next{font-size:14px;line-height:1.7}
.profile-contact-actions{display:flex;align-items:center;gap:12px;margin-top:8px}.profile-contact-actions .document-button{margin:0;min-height:44px;background:transparent}.profile-instagram-icon{width:44px;padding:8px;flex:none}
@media(max-width:600px){.portal-customer-controls{grid-template-columns:minmax(0,1fr)}.portal-shop{padding:16px}.portal-work-row{min-height:72px}.portal-customer-detail>.portal-actions{display:grid;grid-template-columns:minmax(0,1fr)}.profile-contact-actions .document-button{width:auto}}
.shop-procedure-detail{padding-block:8px;border-bottom:1px solid var(--line)}.shop-procedure-detail:last-child{border-bottom:0}.shop-procedure-detail>.shop-procedure-row{padding-top:12px}.shop-procedure-detail>summary{font-weight:500}
button.document-button:disabled{opacity:.45;cursor:not-allowed}

/* FINDE web workspace: fixed tools, readable rows and a single calm working canvas. */
.shop-portal-page{--workspace-rail:220px;--workspace-toolbar:76px;--workspace-gutter:32px}
.shop-workspace-active{--paper:var(--bg-layer-default);--line:var(--stroke-neutral-weak);--weak:var(--bg-brand-weak);background:var(--bg-layer-basement);font-size:15px}
.shop-workspace-active>.document-header,.shop-workspace-active>.document-footer,.shop-workspace-active>.document-main>.document-title{display:none}
.shop-workspace-active>.document-main{max-width:none;min-height:100vh;margin-left:var(--workspace-rail);padding:calc(var(--workspace-toolbar) + var(--workspace-gutter)) var(--workspace-gutter) var(--workspace-gutter)}
.workspace-rail{position:fixed;inset:0 auto 0 0;width:var(--workspace-rail);padding:24px 16px;display:flex;flex-direction:column;gap:24px;background:var(--bg-layer-default);border-right:1px solid var(--line);z-index:30;overflow-y:auto}
.workspace-brand{display:flex;align-items:center;min-height:44px;padding:0 12px}.workspace-brand img{width:140px;max-width:100%;height:auto}
.workspace-shop-label{display:grid;gap:8px;font-size:12px;color:var(--muted)}
.workspace-shop-select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:var(--bg-layer-default);font:inherit;font-size:15px}
.workspace-nav{display:grid;gap:4px}.workspace-nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;padding:12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink);font:inherit;font-size:15px;text-align:left;cursor:pointer;line-height:1.6;word-break:keep-all}
.workspace-nav-item svg{width:20px;height:20px;flex:none}.workspace-nav-item[aria-current=page]{border-color:var(--brand);background:var(--weak);color:var(--brand);font-weight:700}.workspace-nav-item:hover:not(:disabled){background:var(--weak)}
.workspace-nav-item:disabled{color:var(--fg-disabled);cursor:default}.workspace-account{display:grid;gap:4px;margin-top:auto;padding-top:16px;border-top:1px solid var(--line)}
.workspace-account-button{min-height:44px;padding:10px 12px;text-align:left;border:0;background:transparent;color:var(--muted);font:inherit;font-size:14px;cursor:pointer}
.workspace-topbar{position:fixed;inset:0 0 auto var(--workspace-rail);min-height:var(--workspace-toolbar);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px var(--workspace-gutter);background:var(--bg-layer-default);border-bottom:1px solid var(--line);z-index:25}
.workspace-titles{min-width:0}.workspace-topbar h1{margin:0;font-size:20px;letter-spacing:-.03em;line-height:1.5}.workspace-context{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 2px}
.workspace-top-actions{display:flex;align-items:center;gap:20px;flex:none}.workspace-owner-name{font-size:14px;color:var(--muted)}.workspace-qr.document-button{min-height:40px;margin:0;padding:8px 14px;border-radius:8px;background:var(--bg-layer-default);font-size:13px}
.workspace-nav-item:focus-visible,.workspace-account-button:focus-visible,.workspace-shop-select:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.workspace-sr-only{position:absolute;overflow:hidden;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}
.shop-workspace-active .document-section{border:0;padding:28px 32px;background:var(--bg-layer-default);border-radius:10px;min-width:0}
.shop-workspace-active .document-section h2{font-size:26px;line-height:1.5;margin-bottom:24px}
.shop-workspace-active .document-section p{line-height:1.7;font-size:14px}
.shop-workspace-active .document-button{border-radius:8px;min-height:44px;margin:0;background:var(--bg-layer-default);font-size:14px;font-family:inherit}
.shop-workspace-active .shop-primary{background:var(--brand);color:var(--fg-neutral-inverted)}.shop-workspace-active .document-button:hover:not(:disabled){filter:brightness(.97)}
.shop-workspace-active .shop-status:not(:empty){position:fixed;bottom:20px;left:calc(var(--workspace-rail) + 32px);right:32px;max-width:780px;margin:0;padding:14px 20px;border-radius:10px;background:var(--bg-neutral-inverted);color:var(--fg-neutral-inverted);line-height:1.7;z-index:60}
.shop-workspace-active .portal-owner{display:none}.shop-workspace-active .portal-shop{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:24px 0;background:var(--bg-layer-default)}.shop-workspace-active .portal-shop:first-child{padding-top:0}
.shop-workspace-active .portal-shop-head{align-items:center}.shop-workspace-active .portal-shop-head h3{font-size:22px}.shop-workspace-active .portal-shop>.shop-hint{font-size:14px}.shop-workspace-active .portal-shop>p:not(.shop-hint):not(.portal-review-note){display:none}
.shop-workspace-active .portal-work-row{padding:18px 0}.shop-workspace-active .portal-work-extra{margin-top:8px}
.shop-workspace-active [data-portal-customers-back]{padding:0 0 8px;text-decoration:none;min-height:36px;font-size:13px}.shop-workspace-active [data-portal-view=customers]>.shop-eyebrow{display:none}
.portal-customer-quick{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:0 0 24px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.shop-workspace-active .portal-customers-head{margin:0;gap:16px}.shop-workspace-active .portal-customers-head h3{font-size:19px}
.shop-workspace-active .portal-customer-controls{grid-template-columns:minmax(0,1fr) 180px;margin:16px 0}.shop-workspace-active .portal-customer-controls input,.shop-workspace-active .portal-customer-controls select{border-radius:8px;font-size:14px;min-height:44px}
.shop-workspace-active [aria-label="고객 검색 결과"]:empty{display:none}
.portal-customer-columns,.portal-customer-summary{display:grid;grid-template-columns:minmax(160px,1.3fr) minmax(110px,1fr) minmax(95px,.8fr) minmax(95px,.8fr) 20px;align-items:center;gap:16px}
.portal-customer-columns{padding:14px 0 14px 44px;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted)}
.shop-workspace-active .portal-customers{display:block;margin:0 0 24px}.shop-workspace-active .portal-customer{display:grid;grid-template-columns:28px minmax(0,1fr);gap:16px;padding:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.portal-customer-pick{align-self:start;padding-top:24px;min-height:56px;margin:0;gap:0}.portal-customer-pick input{margin:0;width:18px;height:18px}
.shop-workspace-active .portal-customer-detail{padding:0;border:0}.shop-workspace-active .portal-customer-detail>summary{display:grid;min-height:76px;padding:16px 0;cursor:pointer;font-size:14px;list-style:none;font-weight:400;line-height:1.7}
.portal-customer-detail>summary::-webkit-details-marker{display:none}.shop-workspace-active .portal-customer-detail>summary::before{display:none}
.portal-customer-identity{display:grid;gap:2px;min-width:0}.portal-customer-identity strong{font-size:16px;font-weight:700}.portal-customer-identity>.shop-hint{font-size:13px}
.portal-customer-cell{min-width:0;font-size:14px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}.portal-customer-chevron{font-size:24px;color:var(--muted);text-align:right}
.portal-customer-detail[open] .portal-customer-chevron{transform:rotate(90deg)}.shop-workspace-active .portal-customer-detail[open]{display:block;padding-bottom:20px}
.shop-workspace-active .portal-customer-detail>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.shop-workspace-active .portal-customer-detail>.portal-actions{gap:8px;margin-block:12px}
.shop-workspace-active .portal-customer-detail>p{margin:8px 0}.shop-workspace-active .portal-selection{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:0 0 20px;margin:0;border-bottom:1px solid var(--line)}.shop-workspace-active .portal-selection p{margin:0}
.portal-customer-notice{margin:20px 0 0;color:var(--muted);font-size:13px}.portal-customer-notice summary{font-size:13px;min-height:44px;cursor:pointer}.portal-customer-notice p{padding-top:8px}
.shop-workspace-active .portal-common-settings{margin-top:20px}.shop-workspace-active .portal-common-settings>summary{font-size:15px;color:var(--ink)}
.shop-workspace-active .portal-compose{margin:20px 0;padding:20px;border-radius:8px}.shop-workspace-active .profile-owner{max-width:1060px;margin-inline:auto}.shop-workspace-active .profile-public-frame{max-width:100%}
.shop-workspace-active [data-portal-view=form] .shop-form{max-width:760px}.shop-workspace-active [data-portal-view=operators],.shop-workspace-active [data-portal-view=team]{max-width:1080px;margin-inline:auto}
@media(max-width:1080px){.shop-portal-page{--workspace-rail:200px;--workspace-gutter:24px}.portal-customer-columns,.portal-customer-summary{grid-template-columns:minmax(125px,1.2fr) minmax(90px,1fr) minmax(85px,.8fr) minmax(85px,.8fr) 16px;gap:12px}}
@media(max-width:800px){.shop-portal-page{--workspace-rail:0px;--workspace-toolbar:190px;--workspace-gutter:16px}.workspace-rail{inset:0 0 auto;width:auto;height:116px;padding:12px 16px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;border-right:0;border-bottom:1px solid var(--line);overflow:visible}.workspace-brand{padding:0;min-height:36px}.workspace-brand img{width:100px}.workspace-shop-label{font-size:0;gap:0;align-self:center}.workspace-shop-select{min-height:40px;font-size:14px}.workspace-nav{grid-column:1/-1;display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.workspace-nav-item{width:auto;min-height:40px;white-space:nowrap;padding:8px 10px;font-size:13px;gap:6px;flex:none}.workspace-nav-item svg{display:none}.workspace-account{display:none}.workspace-topbar{top:116px;padding:10px 16px;min-height:74px;gap:12px}.workspace-top-actions{gap:12px}.workspace-owner-name{display:none}.workspace-context{font-size:11px}.workspace-topbar h1{font-size:19px}.shop-workspace-active>.document-main{margin-left:0}.shop-workspace-active .document-section{padding:20px 16px}.shop-workspace-active .document-section h2{font-size:24px}.shop-workspace-active .shop-status:not(:empty){left:16px;right:16px;bottom:16px}.portal-customer-columns{display:none}.shop-workspace-active .portal-customer-controls{grid-template-columns:minmax(0,1fr)}.portal-customer-summary{grid-template-columns:1fr 1fr;gap:10px;position:relative;padding-right:24px!important}.portal-customer-identity{grid-column:1/-1;padding-right:20px}.portal-customer-cell{font-size:13px}.portal-customer-cell::before{content:attr(data-label);display:block;font-size:11px;color:var(--muted)}.portal-customer-chevron{position:absolute;right:0;top:18px}.portal-customer-pick{padding-top:20px}.portal-customer-quick .document-button{flex:1;min-width:130px}.shop-workspace-active .portal-selection{display:grid}.shop-workspace-active .portal-selection .document-button{width:100%}}
/* The customer toolbar groups actions first, then count/search/sort on one baseline. */
.shop-workspace-active [data-portal-customers-back]{display:none}
.shop-workspace-active [data-portal-customers-shop]{margin:0 0 6px;color:var(--muted);font-size:14px}
.shop-workspace-active .portal-customer-quick{margin-bottom:20px}
.portal-customer-toolbar{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.8fr);gap:24px;align-items:center;margin-bottom:12px}
.shop-workspace-active .portal-customer-toolbar .portal-customer-controls{margin:0}
.shop-workspace-active .portal-customer-toolbar .portal-customers-head{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:16px}
.shop-workspace-active .portal-customer-toolbar .portal-check{font-size:12px;color:var(--muted);gap:8px;padding:0;min-height:36px}
.shop-workspace-active .portal-customer-toolbar .portal-check input{width:18px;height:18px}
.shop-workspace-active .portal-customer-cell{font-size:15px}
.workspace-mobile-account{display:none}
@media(max-width:1080px){.portal-customer-toolbar{grid-template-columns:minmax(170px,.8fr) minmax(0,1.8fr);gap:16px}}
@media(max-width:800px){.portal-customer-toolbar{grid-template-columns:minmax(0,1fr);gap:8px}.shop-workspace-active .portal-customer-cell{font-size:13px}.workspace-mobile-account{display:block;position:relative;font-size:13px;flex:none;min-width:44px}.workspace-mobile-account>summary{cursor:pointer;padding:10px;min-height:44px;white-space:nowrap;list-style:none;color:var(--muted)}.workspace-mobile-account[open]{background:var(--bg-layer-default);box-shadow:0 0 0 1px var(--line);border-radius:8px}.workspace-mobile-account .workspace-account-button{position:absolute;right:0;top:100%;width:120px;background:var(--bg-layer-default);border:1px solid var(--line);z-index:40}.workspace-mobile-account .workspace-account-button:last-child{top:calc(100% + 44px)}}
@media print{.workspace-rail,.workspace-topbar{display:none!important}.shop-workspace-active>.document-main{margin:0;padding:0}}
/* Imported owner-supplied text stays plain and readable in review and profile rows. */
.profile-page-body .portal-customer p,.profile-info-row p{white-space:pre-line}

.payment-methods{border:0;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px}.payment-methods legend{margin-bottom:8px}.payment-methods .document-button{flex:1 1 calc(50% - 4px);width:auto;min-width:0;margin:0;background:var(--paper);border-color:var(--line);color:var(--ink);font-weight:400}.payment-methods .document-button[aria-pressed=true]{border-color:var(--brand);background:var(--weak);color:var(--brand);font-weight:700}

/* Desktop owner work: persistent directory and a separate, readable inspector. */
.workspace-records{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);gap:28px;align-items:start;margin-top:20px;min-width:0}
.workspace-record-list{min-width:0}.workspace-record-detail{min-width:0;border-left:1px solid var(--line);padding-left:28px;position:sticky;top:100px;max-height:calc(100dvh - 124px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.workspace-record-empty{padding:72px 24px;color:var(--muted);text-align:center;word-break:keep-all}.workspace-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:var(--paper);padding:0 0 16px;z-index:2}
.shop-workspace-active .workspace-detail-heading h2{font-size:21px;margin:0}.workspace-record-detail .portal-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.workspace-record-detail>.portal-rule-options{margin-bottom:16px}
.shop-workspace-active .workspace-records .portal-customer-summary,.workspace-records .portal-customer-columns{grid-template-columns:minmax(120px,1.4fr) minmax(80px,.8fr) minmax(80px,.8fr) minmax(80px,.8fr) 16px;gap:10px}
.workspace-record-list .portal-customer-detail[open]>.portal-customer-summary{background:var(--weak);box-shadow:inset 3px 0 var(--brand)}
.workspace-record-detail .portal-panel{border-top:1px solid var(--line);padding:20px 0}.workspace-record-detail .portal-visits{margin-top:12px}
.workspace-directory-row{display:flex!important;text-align:left;width:100%;justify-content:flex-start!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;padding:20px 12px!important}
.workspace-admin-nav{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:28px}
.workspace-admin-nav [aria-current=page]{background:var(--weak);color:var(--brand);border-color:var(--brand)}
.workspace-admin-panel{display:grid;gap:24px;min-width:0}.workspace-admin-panel>h2,.workspace-admin-panel>p{margin:0!important}.workspace-admin-panel .portal-history{padding:16px 0;border-block:1px solid var(--line)}
.workspace-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-block:16px;align-items:end}.workspace-form-grid .shop-field input{width:100%;min-width:0}.workspace-form-grid>.document-button{justify-self:start}
.workspace-form-grid select{padding:12px;border:1px solid var(--line);border-radius:8px;min-height:48px;color:var(--ink);background:var(--bg-layer-default);font:inherit}
.workspace-table-scroll{overflow-x:auto;min-width:0;max-width:100%}.workspace-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.workspace-table th{font-size:13px;color:var(--muted);font-weight:500;background:var(--bg-layer-basement)}.workspace-table td,.workspace-table th{padding:16px 12px;border-bottom:1px solid var(--line);line-height:1.65;vertical-align:middle}.workspace-table td{word-break:keep-all;overflow-wrap:anywhere}.workspace-table th:first-child{min-width:140px}
.workspace-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-block:1px solid var(--line);padding:24px 0}.workspace-metrics>div{display:grid;gap:8px}.workspace-metrics span{color:var(--muted);font-size:14px}.workspace-metrics strong{font-size:30px;color:var(--ink)}.workspace-result-total{font-weight:700}
.workspace-resource-error{padding:32px 0}.workspace-resource-error p{max-width:60ch}.workspace-record-detail .shop-form{padding-bottom:16px}
@media(min-width:1100px){
 .shop-workspace-active .profile-artist-workspace{max-width:none!important}
 .profile-artist-directory{display:grid!important;grid-template-columns:280px minmax(0,1fr);gap:12px 32px;align-items:start;position:relative}
 .profile-artist-directory>.profile-designer-card{grid-column:1;min-height:88px;padding:12px;border-radius:8px}.profile-artist-directory>.profile-designer-card img{width:56px;height:56px;border-radius:8px}
 .profile-designer-card[aria-pressed=true]{border-color:var(--brand);background:var(--weak)}
 .profile-artist-directory>.profile-artist-inspector{grid-column:2;grid-row:1 / span 100;position:sticky;top:100px;width:100%;margin:0;height:auto;max-height:calc(100dvh - 124px);border:0;border-left:1px solid var(--line);border-radius:0;padding-left:24px;box-shadow:none}
 .profile-artist-inspector .profile-page-header{padding:0 0 20px}.profile-artist-inspector .profile-page-body{padding:0 0 20px}.profile-artist-inspector .profile-save-footer{padding:16px 0}
 .profile-artist-inspector .profile-edit-gallery{grid-template-columns:repeat(3,minmax(0,1fr));max-width:420px}
}
@media(max-width:1399px) and (min-width:1100px){.workspace-records{grid-template-columns:minmax(340px,1fr) minmax(310px,1fr);gap:20px}.workspace-record-detail{padding-left:20px}.shop-workspace-active .workspace-records .portal-customer-summary{grid-template-columns:minmax(130px,1fr) minmax(80px,.7fr) 16px}.workspace-records .portal-customer-summary>.portal-customer-cell:nth-of-type(2),.workspace-records .portal-customer-summary>.portal-customer-cell:nth-of-type(3){display:none}.workspace-records .portal-customer-columns{display:none}}
@media(max-width:1099px){.workspace-records{grid-template-columns:minmax(0,1fr)}.workspace-record-detail{position:static;max-height:none;border-left:0;padding-left:0}.workspace-records:not(.has-selection)>.workspace-record-detail{display:none}.workspace-records.has-selection>.workspace-record-list{display:none}.workspace-form-grid{grid-template-columns:minmax(0,1fr)}.workspace-detail-heading{padding-top:8px}.profile-artist-directory{display:grid;gap:12px}}
/* The fixed toolbar already names the shop and job; avoid repeating that header. */
.shop-workspace-active [data-portal-customers-shop],.shop-workspace-active [data-portal-customers-title]{display:none}
@media(min-width:1100px){.shop-workspace-active .profile-artist-workspace>button,.shop-workspace-active .profile-artist-workspace>h2,.shop-workspace-active .profile-artist-workspace>p{display:none}.profile-artist-workspace>.profile-participation-menu{padding:0 0 20px;border:0;display:flex;justify-content:flex-end}.profile-artist-workspace>.profile-participation-menu>.document-button{width:auto}}
.workspace-source-row{padding:20px 0;border-bottom:1px solid var(--line)}.workspace-source-row h3{font-size:15px;line-height:1.6}.workspace-source-row:last-child{border-bottom:0}
.workspace-admin-panel>.document-button{justify-self:start;width:auto}.workspace-record-detail .portal-visits .portal-text-button{white-space:nowrap}
@media(max-width:800px){.shop-workspace-active .workspace-records .portal-customer-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.workspace-records .portal-customer-columns{display:none}}
@media(min-width:1100px){.profile-artist-inspector .profile-page-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-content:start}.profile-artist-inspector .profile-page-body>.profile-editor-heading,.profile-artist-inspector .profile-page-body>.profile-edit-gallery,.profile-artist-inspector .profile-page-body>label:has(textarea),.profile-artist-inspector .profile-page-body>a{grid-column:1/-1}.profile-artist-inspector .profile-edit-gallery:empty{display:none}.profile-artist-inspector .profile-page-body textarea{min-height:100px}}

/* PC 매장관리 다듬기 (2026-11-12): 소셜 로그인 · 키보드 초점 · 본문 최대 폭 · 목록 정렬/쪽 · 예약 안내 · 인쇄 */
/* 소셜 로그인 버튼: 앱(finde-provider-login-button.tsx)과 같은 색·높이 52·모서리 12·글자 16/600, 왼쪽 브랜드 마크 */
.portal-social .portal-social-button{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:10px;min-height:52px;margin:0;padding:12px 18px;border-radius:12px;border-width:1px;font-size:16px;line-height:24px;font-weight:600;text-align:center}
.portal-social-mark{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.portal-social-mark svg{display:block}
.portal-social-button:hover{opacity:.92}.portal-social-button:active{opacity:.85}
.portal-social-button[data-portal-provider="custom:kakao"]{background:#FEE500;border-color:#FEE500;color:rgba(0,0,0,.85)}
.portal-social-button[data-portal-provider="custom:naver"]{background:#03A94D;border-color:#03A94D;color:#fff}
.portal-social-button[data-portal-provider="google"]{background:#fff;border-color:#747775;color:#1F1F1F;font-weight:500}
.portal-social-button[data-portal-provider="apple"]{background:#000;border-color:#000;color:#fff}
.portal-social-button[data-portal-last] .portal-social-label::after{content:"최근 사용";margin-left:8px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.08);font-size:12px;font-weight:500;vertical-align:1px}
.portal-social-button:is([data-portal-provider="custom:naver"],[data-portal-provider="apple"])[data-portal-last] .portal-social-label::after{background:rgba(255,255,255,.22)}
.portal-same-account{margin:12px 0 0!important}
.shop-portal-page :is(button,a,summary,[tabindex]):focus-visible{outline:3px solid var(--brand);outline-offset:2px}
.shop-portal-page :is(input,select,textarea):focus-visible{outline:3px solid var(--brand);outline-offset:2px}
@media(min-width:1100px){.shop-workspace-active>.document-main>:not(.shop-status){max-width:1280px;margin-inline:auto}}
.portal-sort-head{display:inline-flex;align-items:center;gap:4px;justify-self:start;min-height:32px;margin:-4px -6px;padding:4px 6px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.portal-sort-head::after{content:"↕";font-size:11px;opacity:.45}
.portal-sort-head[aria-pressed=true]{color:var(--ink);font-weight:700}
.portal-sort-head[data-direction=down]::after{content:"↓";opacity:1}.portal-sort-head[data-direction=up]::after{content:"↑";opacity:1}
.portal-sort-head:hover{background:var(--weak)}
.portal-pager{display:flex;align-items:center;justify-content:center;gap:16px;padding:20px 0}
.portal-pager p{margin:0!important}.portal-pager .document-button{min-width:88px;justify-content:center}
@media(max-width:1399px) and (min-width:1100px){
 .workspace-records .portal-customer-columns{display:grid}
 .shop-workspace-active .workspace-records .portal-customer-summary,.workspace-records .portal-customer-columns{grid-template-columns:minmax(120px,1.3fr) minmax(76px,.8fr) minmax(76px,.8fr) 16px}
 .workspace-records .portal-customer-summary>.portal-customer-cell:nth-of-type(2),.workspace-records .portal-customer-columns>:nth-child(2){display:none}
 .workspace-records .portal-customer-summary>.portal-customer-cell:nth-of-type(3){display:block}
}
.portal-booking-note{display:grid;gap:8px;margin:0 0 24px;padding:20px;border-radius:12px;background:var(--bg-brand-weak,#f1edea)}
.portal-booking-note h3{margin:0;font-size:16px;line-height:1.5}.portal-booking-note p{margin:0!important;word-break:keep-all;overflow-wrap:anywhere}
.portal-booking-note .shop-hint{color:var(--fg-neutral-strong,#5e5955)}.portal-booking-note .document-button{justify-self:start;margin-top:4px}
.portal-passes-list{display:grid;gap:6px;margin:0 0 16px;padding-left:20px;line-height:1.7}
.workspace-admin-nav .workspace-print-button{margin-left:auto}
@media print{
 body[data-print-target=administration] [data-portal-print]{display:none!important}
 body[data-print-target=administration] [data-portal-view=administration]{display:block!important}
 body[data-print-target=administration] .workspace-admin :is(nav,button,form,.portal-actions){display:none!important}
 .workspace-table-scroll{overflow:visible}.workspace-table tr{break-inside:avoid}.workspace-table th{background:transparent}
 .workspace-record-detail{position:static;max-height:none;overflow:visible;border:0;padding:0}
}
/* 회원권·포인트 장부 (shop-passes.js) */
.portal-passbook{display:grid;gap:16px;min-width:0}.portal-passbook-content{display:grid;gap:16px;min-width:0}.portal-passbook-content[inert]{opacity:.6}
.portal-passbook-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.portal-passbook-head h3{margin:0;font-size:18px;word-break:keep-all;overflow-wrap:anywhere}
.portal-passbook-actions{display:flex;flex-wrap:wrap;gap:8px}.portal-passbook p{margin:0;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.portal-passbook-message:empty{display:none}
.portal-passbook-content>*,.portal-passbook-card>*,.portal-passbook-points>*,.portal-passbook-form>*{min-width:0}.portal-passbook details{min-width:0;max-width:100%}
.portal-passbook-register{padding:4px 16px 16px}.portal-passbook-register>summary{min-height:48px;display:flex;align-items:center;font-weight:700;cursor:pointer}
.portal-passbook-form{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default,#fff);min-width:0}.portal-passbook-form h5{margin:0;font-size:16px}
.portal-passbook-register-form{border:0;padding:0;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.portal-passbook-register-form>fieldset,.portal-passbook-register-form>.portal-check,.portal-passbook-register-form>p,.portal-passbook-register-form>.portal-actions{grid-column:1/-1}
.portal-passbook-choice{display:flex;flex-wrap:wrap;gap:4px 20px;border:0;margin:0;padding:0;min-width:0}.portal-passbook-choice legend{font-size:14px;font-weight:700;margin-bottom:4px;padding:0}
/* owner-walk: 회원권 종류 라디오 글자가 한 글자씩 세로로 깨지던 것 — 선택지는 줄이지 않고 한 줄로 */
.portal-passbook-choice .portal-check{flex:none;white-space:nowrap;align-items:center;overflow-wrap:normal}
.portal-passbook-card{display:grid;gap:6px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--bg-layer-default,#fff);min-width:0}.portal-passbook-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.portal-passbook-card h4{margin:0;font-size:17px;word-break:keep-all;overflow-wrap:anywhere}.portal-passbook-card h4:focus{outline:none}
.portal-badge-neutral{background:var(--weak,#f2f1f0);color:var(--muted)}
.portal-passbook-slot:empty{display:none}
.portal-passbook-table td,.portal-passbook-table th{padding:10px 8px;white-space:nowrap}.portal-passbook-table td:nth-child(4){white-space:normal;min-width:120px}.portal-passbook-table .portal-text-button{padding:4px 0;min-height:32px;white-space:nowrap}
.portal-passbook-quick{display:flex;flex-wrap:wrap;gap:8px}.portal-chip{min-height:40px;padding:6px 14px;border-radius:999px}
.portal-passbook-refund-lines{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin:0}.portal-passbook-refund-lines dt{color:var(--muted);font-size:14px}.portal-passbook-refund-lines dd{margin:0;font-weight:500}.portal-passbook-refund-lines dt:last-of-type,.portal-passbook-refund-lines dd:last-of-type{font-weight:700;color:var(--brand)}
.portal-passbook-points{display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.portal-passbook-points h4{margin:0;font-size:17px}
.portal-passbook-controls{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center}.portal-passbook-controls .portal-check{white-space:nowrap;padding-top:0;align-items:center}.portal-passbook-controls input[type=search]{min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;font:inherit;font-size:16px;min-width:min(320px,100%);background:var(--bg-layer-default,#fff);color:var(--ink)}
.portal-passbook-customers{list-style:none;margin:0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.portal-passbook-customer{display:grid;grid-template-columns:minmax(80px,1fr) minmax(110px,auto) minmax(0,1.6fr);gap:4px 12px;align-items:center;width:100%;min-height:56px;padding:10px 12px;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.portal-passbook-customer:hover{background:var(--weak,#f6f5f4)}.portal-passbook-customer[aria-current=true]{background:var(--weak,#f6f5f4);box-shadow:inset 3px 0 var(--brand)}.portal-passbook-customer:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
.portal-passbook-known{font-size:13px;color:var(--muted);overflow-wrap:anywhere}
@media(max-width:700px){.portal-passbook-register-form{grid-template-columns:minmax(0,1fr)}.portal-passbook-customer{grid-template-columns:minmax(0,1fr) auto}.portal-passbook-known{grid-column:1/-1}}
.portal-passbook-print{display:none}
@media print{
 body[data-print-target=passes]>*:not([data-passes-print]){display:none!important}
 body[data-print-target=passes] [data-passes-print]{display:block!important;color:#000}
 .portal-passbook-print h1{font-size:20px;margin:0 0 4px}.portal-passbook-print .workspace-table{font-size:12px}.portal-passbook-print .portal-passbook-card{break-inside:avoid;border-color:#999}
}
/* 고객 명단(마이그레이션 134): 장부 고객 목록·가져오기 미리보기 표. 색은 토큰만 써요(다크 모드는 tokens.css 가 맡아요). */
.portal-ledger-list{list-style:none;margin:12px 0 0;padding:0}.portal-ledger-row p{margin:4px 0!important;word-break:keep-all}.portal-ledger-row .document-actions{margin-top:8px}
.portal-table-wrap{overflow-x:auto;margin:12px 0;border:1px solid var(--line);border-radius:12px}
.portal-table{width:100%;border-collapse:collapse;font-size:14px}.portal-table th,.portal-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.portal-table th{color:var(--muted);font-weight:600;background:var(--bg-layer-fill)}
.portal-passbook-controls select{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font:inherit}
.shop-field textarea{min-height:96px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg-layer-default);color:var(--ink);font-size:16px}
/* 예약판(마이그레이션 135): 아티스트 시간표·주간·월간 달력. 색은 모두 토큰(다크 모드 고정 색 없음). 가로 스크롤은 시간표·달력 안에서만. */
.booking-preview{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px}
.booking-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin:8px 0}
.booking-views{display:flex;gap:4px;flex-wrap:wrap}.booking-views [aria-selected=true]{background:var(--bg-brand-weak);color:var(--fg-brand-strong);border-color:var(--brand)}
.booking-nav{display:flex;align-items:center;gap:8px}.booking-nav strong{min-width:9em;text-align:center;word-break:keep-all}
.booking-area{margin-top:8px;min-width:0}.booking-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;border:1px solid var(--line);border-radius:12px}
.booking-timetable{display:grid;grid-template-columns:56px repeat(var(--booking-cols),minmax(140px,1fr));min-width:calc(56px + var(--booking-cols) * 140px)}
.booking-col-head{position:sticky;top:0;height:36px;display:flex;align-items:center;justify-content:center;font-weight:700;background:var(--bg-layer-default);border-bottom:1px solid var(--line);z-index:2}
.booking-times .booking-time{height:28px;font-size:12px;color:var(--muted);text-align:right;padding-right:6px;box-sizing:border-box;transform:translateY(-6px)}
.booking-col{border-left:1px solid var(--line);min-width:0}.booking-col-body{position:relative}
.booking-slot{position:absolute;left:0;right:0;height:28px;border:0;border-top:1px dashed var(--line);background:transparent;cursor:pointer;padding:0}
.booking-slot:hover,.booking-slot:focus-visible{background:var(--bg-brand-weak)}
.booking-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;box-sizing:border-box;text-align:left;border:1px solid var(--brand);border-radius:8px;padding:4px 6px;background:var(--bg-brand-weak);color:var(--ink);font:inherit;font-size:13px;cursor:pointer;overflow:hidden}
.booking-col-body .booking-chip{position:absolute;left:3px;right:3px;width:auto;z-index:1}
.booking-chip .portal-badge{padding:1px 6px;font-size:11px}.booking-chip-time{font-size:12px;color:var(--muted)}.booking-chip-name{font-weight:700}
.booking-chip.booking-overlap{border-color:var(--error)}
/* l6: 1시간 이하 칸은 줄을 줄여 시술명이 가려지지 않게(28px 한 칸 기준, 큰 글씨에서도 넘치면 말줄임). */
.booking-chip.booking-chip-short{flex-direction:row;flex-wrap:wrap;align-content:flex-start;column-gap:6px;row-gap:0;padding:3px 6px;line-height:1.25}
.booking-chip.booking-chip-short .booking-chip-proc{flex-basis:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.booking-chip.booking-chip-tiny{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;padding:1px 6px;line-height:1.2;white-space:nowrap}
.booking-chip.booking-chip-tiny .booking-chip-time{display:none}
.booking-chip.booking-chip-tiny .booking-chip-proc{min-width:0;overflow:hidden;text-overflow:ellipsis}
.booking-chip-short .booking-chip-name,.booking-chip-tiny .booking-chip-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.booking-chip.booking-cancelled,.booking-chip.booking-no_show{opacity:.55;border-style:dashed;background:var(--bg-layer-fill)}
.booking-chip.booking-completed{border-color:var(--line);background:var(--bg-layer-fill)}
.booking-chip:focus-visible,.booking-slot:focus-visible,.booking-day-head:focus-visible{outline:2px solid var(--brand);outline-offset:1px}
.booking-chip:disabled,.booking-slot:disabled{cursor:not-allowed;opacity:.5}
.booking-calendar{display:grid;grid-template-columns:repeat(7,minmax(96px,1fr));min-width:672px}
.booking-weekday{padding:6px;text-align:center;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line)}
.booking-day{display:flex;flex-direction:column;gap:4px;padding:4px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);min-height:96px;min-width:0}
.booking-calendar-week .booking-day{min-height:220px}
.booking-day-head{align-self:flex-start;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;padding:2px 6px;border-radius:999px;cursor:pointer}
.booking-today .booking-day-head{background:var(--brand);color:var(--fg-neutral-inverted)}
.booking-other-month{background:var(--bg-layer-fill)}.booking-other-month .booking-day-head{color:var(--muted)}
.booking-editor{margin:8px 0 16px}.booking-form{display:grid;gap:12px;max-width:560px}
.booking-time-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.booking-people{display:flex;flex-wrap:wrap;gap:6px}.booking-person{display:inline-flex;align-items:center;gap:4px}
.booking-suggestion{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px;border:1px solid var(--line);border-radius:10px}
@media (max-width:560px){.booking-time-fields{grid-template-columns:1fr 1fr}.booking-toolbar{align-items:stretch}.booking-nav{justify-content:space-between;width:100%}}

/* G7c 매출·매일 기록·메뉴 순서(마이그레이션 136): 기존 토큰만 써요(다크 모드는 토큰이 맞춰요). */
.portal-sales-toolbar,.portal-sales-actions,.portal-sales-views{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.portal-sales-toolbar{justify-content:space-between;margin-bottom:8px}
.shop-workspace-active .portal-sales-title{display:none}
.portal-sales-control,.portal-sales-toolbar select,.portal-sales-dates .shop-field input{
  min-height:42px;box-sizing:border-box;padding:7px 12px;border:1px solid var(--line);border-radius:8px;
  background:var(--bg-layer-default);color:var(--ink);font:inherit;font-size:14px;line-height:1.4
}
.portal-sales-control{cursor:pointer;white-space:nowrap}
.portal-sales-control.shop-primary{width:auto;border-color:var(--brand);background:var(--brand);color:var(--fg-neutral-inverted);font-weight:700}
.portal-sales-control[aria-pressed="true"]{background:var(--bg-brand-weak);color:var(--fg-brand-strong);font-weight:700}
.portal-sales-control:focus-visible,.portal-sales-file-action:focus-visible,.portal-sales-toolbar select:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.portal-sales-dates{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin:8px 0}
.portal-sales-dates[hidden]{display:none}
.portal-sales-dates .shop-field{font-size:13px;gap:4px}
.portal-sales-files{position:relative}
.portal-sales-files>summary{display:flex;align-items:center;gap:8px;list-style:none}
.portal-sales-files>summary::-webkit-details-marker{display:none}
.portal-sales-files>summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:translateY(-2px) rotate(45deg)}
.portal-sales-file-menu{
  position:absolute;z-index:1;inset:calc(100% + 4px) 0 auto auto;min-width:160px;display:grid;padding:4px;
  border:1px solid var(--line);border-radius:8px;background:var(--bg-layer-default)
}
.portal-sales-file-action{padding:8px;min-height:42px;border:0;border-radius:4px;background:transparent;color:var(--ink);font:inherit;font-size:14px;text-align:start;white-space:nowrap;cursor:pointer}
.portal-sales-file-action:hover:not(:disabled){background:var(--bg-layer-fill)}
.portal-sales-file-action:disabled{color:var(--muted);cursor:default;opacity:.6}
.portal-sales-dates+.shop-hint:empty{display:none}
.portal-sales-summary{padding:14px 0}
.portal-sales-summary h3{margin:0;color:var(--muted);font-size:14px;font-weight:600}
.shop-portal-page .document-section .portal-sales-total{font-size:28px;line-height:1.35;font-weight:800;color:var(--ink);margin:4px 0;font-variant-numeric:tabular-nums}
.portal-sales-breakdown>summary{display:list-item;min-height:40px;width:fit-content;padding:8px 0;box-sizing:border-box;color:var(--brand);font-size:14px;cursor:pointer}
.portal-sales-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.portal-sales-split h4{margin:0 0 6px;font-size:14px;color:var(--muted)}
.portal-sales-split li{padding-block:3px}
.portal-sales-views{margin-bottom:12px}
.portal-sales-table .portal-empty{margin:0;padding:8px 0}
.portal-sales-table .workspace-table{min-width:620px}
.portal-sales-table .workspace-table td{overflow-wrap:normal}
@media(max-width:480px){
  .portal-sales-actions{margin-inline-start:auto}
  .portal-sales-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .portal-sales-dates .shop-field input{width:100%;min-width:0;padding-inline:8px}
  .portal-sales-dates>button{justify-self:start}
}
.portal-row-voided td,.portal-row-voided{color:var(--muted);text-decoration:line-through}
.portal-pick-list{list-style:none;margin:4px 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.portal-choice{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:8px 0;display:grid;gap:6px}
.portal-choice legend{padding:0 6px;font-weight:700}
.portal-answers{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:6px 12px;margin:8px 0}
.portal-answers dt{color:var(--muted)}.portal-answers dd{margin:0;color:var(--ink);word-break:keep-all}
.portal-menu-order{border:1px solid var(--line);border-radius:16px;background:var(--bg-layer-default);color:var(--ink);max-width:min(480px,calc(100vw - 32px));padding:20px}
.portal-menu-order::backdrop{background:var(--overlay-dim48)}
.portal-menu-order-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:6px}
.portal-menu-order-row{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;padding:4px 10px;border:1px solid var(--line);border-radius:10px}
.portal-menu-order-row button{min-width:44px;min-height:40px}
@media print{.portal-menu-order{display:none}}
.portal-help{margin-top:4px;border-top:1px solid var(--line);padding-top:8px}
.portal-help>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--muted);font-size:14px;text-decoration:underline;list-style:none}
.portal-help>summary::-webkit-details-marker{display:none}
.portal-help[open]>summary{color:inherit;text-decoration:none;font-weight:700}
.portal-help-steps{margin:4px 0 8px;padding-left:20px;display:grid;gap:8px;font-size:15px;line-height:1.6}
.portal-help-steps strong{display:block}

.portal-work-group + .portal-work-group{margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.portal-work-group h4{margin:0;color:var(--ink);font-size:16px;line-height:1.5}
.portal-home-tasks{display:none}
.shop-workspace-active .portal-home-customer-search{display:none}
.portal-team-entry{min-height:44px}
.portal-work-row .portal-task-mobile-count{color:var(--fg-brand-strong);font-weight:700}
@media(min-width:801px){
  .shop-workspace-active .portal-work-menu{display:none}
  .shop-workspace-active .portal-home-customer-search{display:inline-flex;width:auto;min-width:220px;padding-inline:28px;margin-top:12px}
  .shop-workspace-active .portal-home-tasks{display:block;margin-top:24px}
  .portal-home-tasks h4{margin:0;font-size:17px;line-height:1.5}
  .portal-home-tasks .portal-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:12px}
  .portal-task-grid>.portal-work-row{border:1px solid var(--line);border-radius:8px;padding:14px 16px;background:var(--bg-layer-basement)}
  .portal-task-grid>.portal-work-row:hover{border-color:var(--brand);background:var(--bg-brand-weak)}
  .portal-home-tasks .portal-work-row strong{font-weight:700}
  .portal-task-count{color:var(--fg-brand-strong);font-size:22px;font-weight:700}
}
.portal-shop-picker .portal-work-row{min-height:56px}
.portal-shop-picker .portal-work-row>strong{min-width:0;overflow-wrap:anywhere}
.workspace-home-button{min-height:44px;padding:6px 8px;border:0;background:transparent;color:var(--brand);font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}
.workspace-home-button:focus-visible{outline:2px solid var(--brand)}
.workspace-topbar .workspace-titles{flex:1}
@media(max-width:800px){
  .shop-portal-page{--workspace-toolbar:76px}
  .shop-workspace-active>.workspace-rail{display:none}
  .workspace-topbar{top:0}
  .workspace-topbar h1{overflow-wrap:anywhere}
  .workspace-top-actions{gap:4px}
  .workspace-home-button{font-size:13px}
}

.shop-workspace-active [data-portal-view="customers"]:not(.portal-selecting-recipients) .portal-customer{grid-template-columns:minmax(0,1fr)}
.shop-workspace-active [data-portal-view="customers"]:not(.portal-selecting-recipients) .portal-customer-columns{padding-left:0}
.shop-workspace-active .portal-customer-toolbar{margin-block:20px 12px}
.shop-workspace-active .portal-rule-options>.portal-actions{margin-block:12px}

/* 오늘 예약과 고객 업무를 PC에서는 나란히, 좁은 화면에서는 시간순으로 보여요. */
.portal-today-desk{display:grid;align-items:start;gap:24px;margin:0 0 28px;padding-bottom:24px;border-bottom:1px solid var(--line);min-width:0}
.portal-today-desk[hidden]{display:none}
.shop-workspace-active .portal-today-desk:not([hidden])~[data-portal-shops] .portal-home-customer-search{display:none}
.desk-booking-board,.desk-customer-side{min-width:0}
.desk-booking-board .booking-preview{margin:4px 0 12px}
.shop-workspace-active .portal-today-desk h2{font-size:20px;margin:0 0 12px;line-height:1.4}
.desk-board-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
.desk-board-actions button{min-height:44px}
.desk-booking-board>.shop-hint:empty{display:none}
.desk-booking-board .booking-scroll{max-height:62dvh}
.desk-booking-board .booking-chip[aria-pressed=true]{border-color:var(--fg-brand-strong);box-shadow:inset 0 0 0 1px var(--fg-brand-strong);color:var(--fg-brand-strong);background:var(--bg-brand-weak)}
.desk-today-counts{margin:0 0 8px;font-weight:700;font-variant-numeric:tabular-nums}
.desk-booking-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.desk-booking-list .booking-chip{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}
.desk-booking-list .booking-chip-time{grid-row:1;grid-column:2}
.desk-booking-list .booking-chip-name{grid-row:1;grid-column:1;overflow-wrap:anywhere}
.desk-customer-side>input{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);font:inherit}
.desk-customer-results{list-style:none;margin:0;padding:0}
.desk-customer-results .portal-work-row{min-height:44px;padding:8px 4px}
.desk-customer-results .portal-work-row>span{display:inline}
.desk-customer-side>.workspace-record-detail{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto;border:0;padding:0;scroll-margin-top:calc(var(--workspace-toolbar) + 12px)}
.desk-customer-side .workspace-detail-heading{position:static;gap:12px;padding:12px 0 0;margin-top:12px;border-top:1px solid var(--line)}
.desk-customer-side .workspace-record-empty{padding:20px 0;text-align:left}
.desk-customer-content>p{margin:6px 0;word-break:keep-all;overflow-wrap:anywhere}
.desk-reservation-summary{font-weight:700}
.desk-customer-content>h3{margin:20px 0 6px;font-size:16px}
.desk-customer-content .portal-visits li{padding-block:8px}
.desk-customer-content .portal-actions{margin-block:12px}
.desk-visit-panel .shop-form{max-width:none}
@media(min-width:1024px){
  .portal-today-desk.desk-with-bookings{grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr)}
  .desk-with-bookings>.desk-customer-side{border-left:1px solid var(--line);padding-left:24px}
  .desk-booking-board .desk-booking-list{display:none}
}
@media(max-width:1023px){
  .desk-booking-board .booking-scroll{display:none}
  .desk-customer-side .workspace-record-empty{display:none}
}
@media(max-width:800px){
  .workspace-topbar:not([data-workspace-area="home"]) :is(.workspace-qr,.workspace-switch-shop){display:none}
  .workspace-record-detail .workspace-detail-heading>.document-button{width:auto;flex:none}
  [data-portal-view="customers"]:has(.workspace-records.has-selection) :is(.portal-customer-toolbar,[aria-label="고객 검색 결과"]){display:none}
  .shop-workspace-active .portal-compose{scroll-margin-top:calc(var(--workspace-toolbar) + 12px)}
}
