.import-demo-controls{display:flex;flex-direction:column;flex-shrink:0;background:var(--canvas);border-bottom:1px solid var(--line)}
.import-demo-controls .source-choices{justify-content:center;padding:6px 12px}
.import-demo-controls .source-choices button{font-size:14px;min-height:38px;padding:7px 13px}
.import-demo-controls>label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;color:var(--muted);padding:0 16px 10px}
.import-demo-controls select{min-width:0;background-color:var(--surface);color:var(--ink);border:1px solid var(--line);padding:7px 30px 7px 10px;font-size:14px;max-width:65%}
.share-demo-top small{font-size:12px}.share-demo-top strong{font-size:14px}
.share-sheet.import-sheet{padding:0;max-height:96%;display:flex;flex-direction:column;overflow:hidden}
.import-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;flex-shrink:0;background:var(--surface)}
.import-heading h2{font:600 20px/1.25 'DM Sans',sans-serif;margin:0;letter-spacing:-.02em}
.import-wordmark img{width:114px}.import-wordmark{display:block}
.import-preview-grid{overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}
.import-hero{width:100%;height:clamp(170px,27dvh,255px);object-fit:cover;border-radius:0}
.import-photo-empty{background:var(--soft);color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;font-size:14px;min-height:120px}
.import-photo-empty .icon{width:30px;height:30px}
.import-copy{padding:20px 22px 24px}
.import-copy h2{font:600 27px/1.18 'DM Sans',sans-serif;letter-spacing:-.035em;margin:8px 0 10px;overflow-wrap:anywhere}
.import-source{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.import-source a{display:inline-flex;gap:7px;align-items:center;text-decoration:underline;text-underline-offset:3px}.import-source .icon{width:14px;height:14px}
.import-stats{display:flex;flex-wrap:wrap;gap:10px 18px;margin:16px 0;font-size:14px;color:var(--muted)}
.import-stats>span{display:flex;align-items:center;gap:6px}.import-stats .icon{width:17px;height:17px}
.import-notice{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:13px 15px;margin:16px 0;font-size:14px}
.import-notice strong{display:block;margin-bottom:4px}.import-notice p{line-height:1.5;color:var(--muted)}
.import-sections{border-top:1px solid var(--line);margin-top:14px}
.import-sections details{border-bottom:1px solid var(--line)}
.import-sections summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:15px 0;font-size:16px;font-weight:600;min-height:52px}
.import-sections summary::-webkit-details-marker{display:none}.import-sections summary>span:last-child{font-size:14px;font-weight:400;color:var(--muted);display:flex;gap:8px;align-items:center}
.import-sections summary .icon{width:16px;height:16px}.import-sections details[open] summary .icon{transform:rotate(90deg)}
.import-sections ul,.import-sections ol{margin:0;padding:0 0 16px 22px;font-size:16px}.import-sections li+li{margin-top:9px}.import-sections details>p{padding-bottom:14px;font-size:14px}
.import-sections summary:focus-visible{outline:3px solid var(--sage);outline-offset:2px;border-radius:4px}
.import-copy .import-collection{margin-top:20px}
.import-footer{padding:13px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);flex-shrink:0}
.import-footer .form-error{font-size:14px;margin:0}.import-footer .form-error:not(:empty){margin-bottom:12px}
.import-actions{display:flex;justify-content:flex-end;gap:8px}.import-actions>.button{min-height:46px;padding:10px 16px;font-size:14px}.import-actions>.quiet{margin-right:auto}
.import-edit-body{padding:6px 22px 24px;display:grid;gap:19px;overflow-y:auto;min-height:0;overscroll-behavior:contain}
#import-edit-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.import-edit-photo{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.import-edit-cover{width:100%;height:190px;object-fit:cover;border-radius:10px;margin-bottom:3px}
.import-edit-photo label{cursor:pointer}.import-missing-label{font-size:13px;font-weight:400;color:var(--muted)}
.import-edit-body .field{margin:0}.import-missing-field input,.import-missing-field textarea{border-color:var(--sage);box-shadow:0 0 0 1px var(--sage)}
.import-draft-dialog{width:min(820px,calc(100% - 32px));max-height:94dvh;overflow:hidden;padding:0}
.import-draft-dialog>.import-sheet{display:flex;flex-direction:column;max-height:90dvh}
.import-draft-dialog .import-preview-grid{display:grid;grid-template-columns:1fr 1fr}
.import-draft-dialog .import-hero{height:100%;min-height:320px;max-height:600px;object-fit:cover}
.import-draft-dialog .import-copy{padding:26px}
.import-sheet .share-success{padding:35px 24px}.import-sheet .share-success h2{font:600 27px/1.2 'DM Sans',sans-serif}
.draft-card-link{display:block;width:100%;padding:0;border:0;text-align:left;background:var(--surface);color:inherit}
.draft-badge{display:inline-block;border:1px solid #ffffff80;background:#1b1f3b70;padding:3px 9px;border-radius:6px;margin-bottom:9px;font-size:13px;color:#fff}
.draft-card-link .card-meta{white-space:normal}
.recipe-card .import-photo-empty{aspect-ratio:1.55;height:100%;min-height:230px}
.detail-hero.import-photo-empty{min-height:260px}
.edit-photo>.import-photo-empty{width:100%;height:100%;padding-bottom:36px}
.trash-item>.import-photo-empty{width:53px;height:45px;min-height:45px;border-radius:7px;flex-shrink:0}.trash-item>.import-photo-empty span{display:none}.trash-item>.import-photo-empty .icon{width:22px;height:22px}
.recipe-pick>.import-photo-empty{width:70px;min-height:70px;height:70px;border-radius:9px;flex-shrink:0}.recipe-pick>.import-photo-empty span{display:none}
.plan-meal .import-photo-empty{min-height:80px;font-size:12px}
@media(max-width:600px){
 .import-draft-dialog{width:100%;max-height:100dvh;border-radius:0}.import-draft-dialog>.import-sheet{max-height:98dvh}
 .import-draft-dialog .import-preview-grid{display:block}.import-draft-dialog .import-hero{height:230px;min-height:0}
 .import-copy,.import-draft-dialog .import-copy{padding:18px 20px 22px}
 .import-heading{padding:12px 16px}.import-footer{padding-left:14px;padding-right:14px}.import-actions>.button{padding:10px 13px}
 .share-demo-dialog[open]{height:100dvh;max-height:100dvh}.share-demo-dialog .source-screen{min-height:0}
 .import-edit-body{padding:6px 18px 20px}.import-copy h2{font-size:25px}
}
@media(max-height:550px){.import-hero{height:150px}.import-heading{padding:8px 16px}.import-demo-controls{flex-direction:row;align-items:center}.import-demo-controls>label{padding:6px;font-size:0}.import-demo-controls select{max-width:140px}.import-demo-controls .source-choices{padding:4px}.share-demo-top{padding:6px 12px}}
