/* FlinkDoku 0.9 – shared owner/guest interaction and visual system. */
:root{--fd-cyan:#087f95;--fd-cyan-dark:#076c80;--fd-ink:#22353e;--fd-muted:#596e79;--fd-line:#dce5e9;--fd-paper:#f3f6f8;--fd-light:#e8f5f8}
.fd-body{font-size:16px;line-height:1.55;text-rendering:optimizeLegibility}.fd-body h1{font-size:clamp(27px,2.4vw,36px);font-weight:720;letter-spacing:-.8px;line-height:1.2}.fd-body h2{font-size:21px;letter-spacing:-.35px}.fd-body h3{font-size:17px}.fd-btn{min-height:44px;border-radius:10px;font-size:14px;font-weight:650;padding:11px 16px}.fd-primary{color:white;background:var(--fd-cyan);border-color:var(--fd-cyan);box-shadow:0 2px 3px #173c4510}.fd-primary:hover{background:#066c80;border-color:#066c80;color:white}.fd-icon-btn{min-width:44px;min-height:44px}.fd-link-btn{min-height:44px}.fd-body button:focus-visible,.fd-body a:focus-visible,.fd-body summary:focus-visible{outline:3px solid #12a4c0;outline-offset:3px}.fd-body button:disabled{cursor:not-allowed}.fd-muted,.fd-help,.fd-project-description{color:var(--fd-muted)}
.fd-sidebar{width:240px;padding:26px 18px 18px;background:#fff}.fd-logo{width:42px;height:42px;border-radius:12px;background:#20b0cf}.fd-logo svg{width:29px;height:29px}.fd-brand strong{font-size:26px;letter-spacing:-1px}.fd-brand-copy{font-size:12px;line-height:1.6;margin:16px 8px 22px;max-width:190px}.fd-owner{padding:12px;margin-bottom:20px;border-color:var(--fd-line);background:#f8fafb}.fd-nav{font-size:14px;color:#4b616c;border-radius:10px}.fd-nav-active{color:#076c80;background:#e8f5f8}.fd-side-title{margin-top:22px;color:#657b85}.fd-main{margin-left:240px}.fd-topbar{height:64px;padding:0 32px;background:#fff}.fd-save-state{color:#526d79}.fd-page{padding:30px 32px 56px;max-width:1440px}.fd-page-heading{margin-bottom:28px;align-items:flex-start;gap:20px}.fd-heading-actions{flex:0 1 auto!important;justify-content:flex-end;gap:10px}.fd-page-heading p{font-size:15px;line-height:1.6}.fd-eyebrow{letter-spacing:1.4px;font-size:11px;margin-bottom:8px}.fd-section-heading{margin-bottom:18px;gap:16px}.fd-section-heading h2{margin:0}.fd-count{font-size:12px;border-radius:7px;min-width:28px;background:#e9f0f3;color:#4d6673;padding:3px 8px;vertical-align:middle}.fd-search{background:white;min-height:46px;border-color:var(--fd-line);border-radius:10px;max-width:420px}.fd-search input{font-size:16px}.fd-hero{padding:30px;border-radius:16px}.fd-hero h2{font-size:34px;line-height:1.2}.fd-project-grid{gap:18px;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.fd-project-card{border-radius:14px;border-color:var(--fd-line);padding:22px;text-align:left;min-height:210px;box-shadow:0 2px 3px #1a3c4903;transition:border-color .15s,box-shadow .15s}.fd-project-card:hover{border-color:#88b8c5;box-shadow:0 5px 20px #214e5e0b}.fd-project-card p{color:var(--fd-muted);font-size:14px}.fd-folder{width:44px;height:44px;border-radius:10px}.fd-card-meta{font-size:12px;color:#5e7480}.fd-photo-grid{gap:20px;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr))}.fd-photo-card{border:1px solid var(--fd-line);border-radius:14px;box-shadow:0 2px 5px #203d4b04;transition:border-color .15s,box-shadow .15s}.fd-photo-card:hover{border-color:#8cbcc9;box-shadow:0 6px 20px #214e5e0c}.fd-photo-open>img,.fd-photo-open>.fd-pdf-thumb,.fd-photo-open>.fd-photo-placeholder,.fd-photo-open>.fd-source-video,.fd-guest-photo-preview{height:205px;min-height:205px;object-fit:cover}.fd-photo-info{padding:18px 58px 18px 20px}.fd-photo-info h3{margin-bottom:7px;font-size:16px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.fd-photo-info p{font-size:13px;color:#596f7b}.fd-photo-delete{right:10px;bottom:18px;color:#677d87}.fd-photo-delete:hover{background:#fff1ee;color:#a13b30}.fd-photo-placeholder{color:#586f7b;background:#eaf1f4}.fd-pdf-thumbnail{background:#eaf1f4}.fd-pdf-thumb-badge{font-size:11px;color:#405c68}.fd-points-panel{border:1px solid var(--fd-line);border-radius:14px;padding:24px;background:#fff;gap:16px}.fd-point-card{border:1px solid var(--fd-line);border-radius:12px;padding:18px;background:#fff;box-shadow:0 1px 3px #1e3e4b04}.fd-card-heading{gap:10px;min-height:42px}.fd-card-heading h3{font-size:16px}.fd-number{border-radius:9px;width:34px;height:34px;min-width:34px;font-size:14px;background:var(--fd-light);color:var(--fd-cyan-dark)}.fd-point-excerpt{font-size:14px;line-height:1.6;margin:12px 0;color:#526a76}.fd-card-open{font-size:13px;padding:12px 0 0;min-height:44px;color:var(--fd-cyan-dark)}.fd-mini-media>span{font-size:12px;color:#526b77;margin-bottom:7px}.fd-point-previews{gap:10px;margin-top:14px}.fd-mini-media img,.fd-mini-media video{border-radius:8px;object-fit:contain;background:#edf3f5}.fd-mini-media audio{width:100%;min-width:0}.fd-photo-workspace{border-color:var(--fd-line);border-radius:14px;overflow:hidden}.fd-view-toolbar{gap:8px;padding:12px;background:white}.fd-view-toolbar .fd-btn{border:1px solid transparent}.fd-view-toolbar .fd-tool-active{color:#076c80;border-color:#b7dce5;background:#e8f5f8}.fd-mode-hint{padding:11px 18px;font-size:13px;background:#f8fafb;color:#536d78;border-top:1px solid #edf2f5}.fd-photo-footer{padding:12px 18px;font-size:12px;color:#56717e}.fd-viewer{background:#e8eff3}.fd-marker{box-shadow:0 2px 7px #163e4f44}.fd-title-row{gap:8px}.fd-title-row h1{margin-bottom:0}
.fd-more{position:relative;align-self:center}.fd-more summary{list-style:none;display:flex;align-items:center;gap:7px;cursor:pointer;border:1px solid var(--fd-line);background:white;padding:10px 14px;border-radius:10px;min-height:44px;font-size:14px;font-weight:650}.fd-more summary::-webkit-details-marker{display:none}.fd-more-panel{position:absolute;right:0;top:calc(100% + 8px);width:235px;z-index:30;background:white;border:1px solid var(--fd-line);border-radius:12px;box-shadow:0 12px 36px #243d4925;padding:8px}.fd-more-panel>.fd-btn{width:100%;border:0;justify-content:flex-start;font-size:13px}
.fd-dialog{border:1px solid #d8e2e7;border-radius:18px;width:min(680px,calc(100vw - 32px));padding:0;max-height:calc(100dvh - 40px);box-shadow:0 24px 90px #18394433;overflow:auto}.fd-dialog::backdrop,.fd-guest-detail::backdrop{background:#20394778;backdrop-filter:blur(3px)}.fd-dialog-header{position:sticky;top:0;z-index:5;padding:20px 24px;border-bottom:1px solid #e8eef1;background:#fff;gap:14px}.fd-dialog-header h2{font-size:23px;margin:0;letter-spacing:-.5px}.fd-dialog-body{padding:22px 24px}.fd-field{margin:0 0 18px}.fd-field>label{font-size:13px;font-weight:650;color:#36515e;margin-bottom:7px;display:block}.fd-field input,.fd-field textarea,.fd-field select,.fd-input-wrap input,.fd-input-wrap textarea{font-size:16px;min-height:48px;border:1px solid #cbd9df;border-radius:10px;background:#fff;color:var(--fd-ink);padding:12px;line-height:1.5}.fd-input-wrap{min-width:0}.fd-input-wrap .fd-dictation-button{border-radius:8px}.fd-field textarea{resize:vertical;min-height:100px}.fd-field input:focus,.fd-field textarea:focus{border-color:#0a8ba3;outline:2px solid #0a8ba326;outline-offset:1px}.fd-dialog-actions{border-top:1px solid #e5ecef;margin-top:20px;padding-top:18px;gap:10px;flex-wrap:wrap}.fd-dialog-actions .fd-danger{margin-right:auto}.fd-composer .fd-dialog-body{padding-bottom:0}.fd-composer-context{display:flex;align-items:center;gap:8px;color:#526d79;font-size:13px;margin:0 0 18px;overflow-wrap:anywhere}.fd-composer-context svg{width:17px;height:17px}.fd-inline-media-actions,.fd-guest-add-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 22px}.fd-inline-media-actions .fd-add-option,.fd-guest-add-actions .fd-add-option{border:1px solid #cfe2e8;background:#f4fafb;border-radius:12px;padding:14px 8px;min-height:90px;display:flex;flex-direction:column;gap:9px;align-items:center;justify-content:center;color:#294956;font-size:13px;font-weight:650;text-align:center}.fd-inline-media-actions .fd-add-option:hover,.fd-guest-add-actions .fd-add-option:hover{background:#e5f4f8;border-color:#81b9c9}.fd-inline-media-actions svg,.fd-guest-add-actions svg{width:26px;height:26px;color:#087f95}.fd-composer-footer{position:sticky;bottom:0;z-index:4;background:#fff;padding:16px 0 20px;margin-top:20px;align-items:center;box-shadow:0 -8px 16px #ffffffd9}.fd-draft-state{font-size:12px;color:#647b86;margin-right:auto;max-width:190px}.fd-draft-card{border-radius:12px;border-color:var(--fd-line);overflow:hidden;background:#f8fafb}.fd-draft-card>.fd-draft-visual>img,.fd-draft-card>.fd-draft-visual>video{object-fit:contain;background:#eaf1f4;max-height:185px}.fd-draft-card>.fd-draft-visual>.fd-pdf-thumbnail{height:180px}.fd-draft-caption{padding:8px 12px;font-size:12px;align-items:center}.fd-draft-undo{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#edf7f9;border:1px solid #cce5ec;border-radius:10px;padding:7px 12px;font-size:13px;margin-top:12px}.fd-draft-undo .fd-btn{white-space:nowrap}.fd-composer-progress:not(:empty),.fd-upload-progress:not(:empty){background:#edf7f9;color:#13677a;padding:12px;border-radius:10px;font-size:14px}.fd-composer-progress:empty,.fd-form-error:empty{display:none}.fd-form-error{color:#a02f29;font-size:14px;line-height:1.55}.fd-media-dialog{width:min(1000px,calc(100vw - 32px))}.fd-media-card{border-radius:12px;padding:18px;border-color:var(--fd-line)}.fd-media-card h4{font-size:16px;margin:8px 0 12px;overflow-wrap:anywhere}.fd-media-actions{gap:8px}.fd-inline-capture{margin-bottom:20px;border:1px solid #c9dce3;border-radius:12px;background:#f8fbfc;padding:16px}.fd-toast{border-radius:12px;box-shadow:0 8px 28px #15384928;max-width:calc(100vw - 30px);font-size:14px}
.fd-share-target{font-size:18px;font-weight:650;color:var(--fd-ink)}.fd-share-modes{border:0;padding:0;margin:20px 0 24px;min-width:0}.fd-share-modes legend{font-size:14px;font-weight:650;margin-bottom:10px}.fd-share-mode{display:flex;align-items:center;gap:12px;border:1px solid var(--fd-line);border-radius:10px;padding:13px 14px;margin:8px 0;cursor:pointer}.fd-share-mode:has(input:checked){border-color:#08879e;background:#eaf7fa;box-shadow:0 0 0 1px #08879e}.fd-share-mode input{width:19px;height:19px;accent-color:#087f95;flex-shrink:0}.fd-share-mode strong{font-size:14px;display:block}.fd-share-mode small{font-size:12px;display:block;color:#5a737f;margin-top:2px}.fd-share-options{border-top:1px solid var(--fd-line);padding:16px 0;margin:10px 0 22px}.fd-share-options>summary{cursor:pointer;font-size:14px;font-weight:650;color:var(--fd-cyan-dark);min-height:44px}.fd-share-card{border-radius:12px;padding:18px}.fd-share-card select{border:1px solid #cbd9df;border-radius:9px;background:white;font-size:14px;padding:9px;min-height:44px;max-width:100%;color:var(--fd-ink)}.fd-share-buttons{gap:8px}.fd-share-buttons .fd-btn{font-size:13px}.fd-share-settings select,.fd-share-settings input{font-size:16px}.fd-share-created{background:#edf8f9;border-radius:12px}.fd-share-created .fd-share-card{background:#fff}
.fd-guest-brand{padding:18px max(24px,calc((100vw - 1240px)/2));background:#fff;border-bottom:1px solid var(--fd-line);color:var(--fd-ink);display:flex;justify-content:space-between;align-items:center;gap:14px}.fd-guest-brand strong{font-size:26px;letter-spacing:-1px}.fd-guest-brand>span{font-size:12px;color:#506b78}.fd-guest-content{max-width:1240px;margin:0 auto;padding:30px 24px 56px}.fd-guest-expiry{font-size:12px;color:#4f6c79;margin-bottom:15px}.fd-guest-point{border-radius:12px;padding:20px;border-color:var(--fd-line);background:#fff}.fd-guest-point h2{font-size:17px}.fd-guest-point-heading{gap:10px}.fd-guest-point>.fd-note{font-size:14px}.fd-guest-media h3{font-size:14px}.fd-guest-media img,.fd-guest-media video{background:#eaf1f4;object-fit:contain;border-radius:9px}.fd-guest-detail{padding:0;border-radius:18px;max-height:calc(100dvh - 40px);border:1px solid var(--fd-line);box-shadow:0 24px 90px #18394433}.fd-guest-detail-head{padding:18px 24px;border-bottom:1px solid #e4ecef;background:#fff;position:sticky;top:0;z-index:5;margin:0;gap:10px;flex-wrap:wrap}.fd-guest-detail-head h2{font-size:22px;margin:0;margin-right:auto}.fd-guest-edit-body{padding:22px 24px}.fd-guest-detail>.fd-guest-point{margin:22px;border:0}.fd-guest-stage-item{border-radius:12px;border:1px solid var(--fd-line);background:#f8fafb}.fd-guest-stage-item>.fd-draft-visual>.fd-pdf-thumbnail{height:180px}.fd-reply{background:#f6f9fa;border:1px solid #e3ebef;border-radius:10px;padding:15px}.fd-reply p{font-size:14px;line-height:1.6}.fd-reply-form label{font-size:13px;color:#36515e;font-weight:650}.fd-guest-canvas{border-radius:14px}.fd-canvas-help{font-size:13px;color:#536d78;background:#f8fafb}.fd-canvas-toolbar .fd-btn{margin-left:0}.fd-guest-gate{border-radius:16px;box-shadow:0 8px 30px #264a5b0b}
.fd-ext .dialog{width:min(720px,calc(100vw - 32px));border:1px solid #d8e2e7;border-radius:18px;box-shadow:0 24px 90px #18394433;padding:24px;color:#22353e}.fd-ext .dialog.wide{width:min(940px,calc(100vw - 32px))}.fd-ext .dialog h2{font-size:24px;letter-spacing:-.5px}.fd-ext .dialog .subtitle{font-size:14px;color:#596e79;line-height:1.6}.fd-ext .content-options{display:grid;grid-template-columns:1fr;gap:10px;margin:22px 0 8px}.fd-ext .content-option{min-height:78px;padding:15px 18px;display:flex;align-items:center;gap:15px;border:1px solid #dce5e9;border-radius:12px;background:#fff;text-align:left;transition:border-color .15s,background .15s}.fd-ext .content-option:hover{border-color:#8bbfcf;background:#f4fafc}.fd-ext .content-option>span{background:#eaf6f9;color:#087f95;border-radius:11px;width:44px;height:44px;display:grid;place-items:center;flex-shrink:0}.fd-ext .content-option>div{flex:1;min-width:0}.fd-ext .content-option strong{display:block;font-size:16px;font-weight:650;color:#243e4b}.fd-ext .content-option small{display:block;font-size:13px;color:#5d7580;line-height:1.5;margin-top:3px}.fd-ext .content-option>svg{color:#64808d}.fd-ext .dialog .button{border-radius:10px;min-height:44px;font-size:14px;padding:11px 16px}.fd-ext .dialog .button.primary{background:#087f95;color:white;border-color:#087f95}.fd-ext .dialog .button.primary:hover{background:#066c80}.fd-ext .dialog input:not([type=checkbox]):not([type=range]):not([type=color]),.fd-ext .dialog textarea{font-size:16px;border-color:#cbd9df;border-radius:10px;color:#22353e}.fd-ext .dialog label{font-size:13px;color:#36515e;font-weight:600}.fd-ext .dialog .hint{font-size:13px;color:#596e79;line-height:1.65}.fd-ext .dialog footer{border-top:1px solid #e2eaee;padding-top:18px;gap:10px}.fd-ext .file-queue{margin-top:20px}.fd-ext .file-queue-item{display:flex;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #e5edf0;font-size:14px}.fd-ext .file-queue-item>span{flex:1;overflow-wrap:anywhere;min-width:0}.fd-ext .file-queue-item small{font-size:12px;color:#55727e}.fd-ext .word-options{margin:0 20px 14px;padding:10px 14px;border:1px solid #dce5e9;border-radius:10px;background:#fff;font-size:13px}.fd-ext .word-options summary{cursor:pointer;min-height:30px;color:#076c80;font-weight:650}.fd-ext .word-options p{font-size:13px;line-height:1.6;max-width:680px;margin:8px 0 12px}.fd-ext .word-options .button{min-height:44px}.fd-ext .word-options [role=status]{color:#14683f}
@media(min-width:1100px){.fd-photo-layout{gap:24px}.fd-points-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.fd-points-panel>.fd-section-heading,.fd-points-panel>.fd-empty-points{grid-column:1/-1}}
@media(max-width:1050px){.fd-sidebar{width:240px}.fd-main{margin-left:0}.fd-topbar{padding:0 20px}.fd-page{padding:26px 22px 50px}.fd-heading-actions{justify-content:flex-start}.fd-page-heading{flex-wrap:wrap}.fd-photo-heading>.fd-title-row{flex-basis:100%}.fd-topbar>.fd-brand,.fd-topbar>.fd-icon-btn{display:flex}.fd-topbar{justify-content:space-between}.fd-sidebar:not(.fd-sidebar-open){transform:translateX(-100%)}.fd-sidebar-open{transform:none}.fd-topbar .fd-brand strong{font-size:22px}.fd-topbar .fd-logo{width:34px;height:34px}.fd-topbar .fd-logo svg{width:25px;height:25px}}
@media(max-width:600px){.fd-body{font-size:15px}.fd-page{padding:22px 16px 40px}.fd-topbar{height:60px;padding:0 13px}.fd-topbar .fd-save-state{font-size:0;gap:0}.fd-topbar .fd-save-state svg{width:22px;height:22px}.fd-page-heading{gap:16px;margin-bottom:24px}.fd-heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.fd-page-heading h1{font-size:27px;letter-spacing:-.7px}.fd-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.fd-section-heading .fd-search,.fd-section-heading>input{width:100%;max-width:none}.fd-project-card{min-height:190px;padding:20px}.fd-photo-grid{grid-template-columns:1fr;gap:16px}.fd-photo-open>img,.fd-photo-open>.fd-pdf-thumb,.fd-photo-open>.fd-source-video,.fd-guest-photo-preview{height:210px;min-height:210px}.fd-hero{padding:22px}.fd-hero h2{font-size:29px}.fd-hero-art{display:none}.fd-points-panel{padding:16px;gap:14px}.fd-point-card{padding:16px}.fd-view-toolbar{gap:5px;padding:10px}.fd-view-toolbar .fd-btn{padding:10px;font-size:13px}.fd-zoom>span{display:none}.fd-view-toolbar select{font-size:14px;min-height:44px}.fd-dialog,.fd-media-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:16px}.fd-dialog-header{padding:16px 18px}.fd-dialog-header h2{font-size:22px}.fd-dialog-body{padding:18px}.fd-inline-media-actions,.fd-guest-add-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:18px}.fd-inline-media-actions .fd-add-option,.fd-guest-add-actions .fd-add-option{flex-direction:row;min-height:64px;gap:8px;padding:12px 8px;font-size:12px}.fd-inline-media-actions svg,.fd-guest-add-actions svg{width:23px;height:23px}.fd-composer-footer{gap:8px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.fd-draft-state{width:100%;max-width:none;flex-basis:100%;margin:0 0 4px}.fd-composer-footer>.fd-btn{flex:1}.fd-draft-previews{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-draft-card>.fd-draft-visual>img,.fd-draft-card>.fd-draft-visual>video{height:135px}.fd-draft-card>.fd-draft-visual>.fd-pdf-thumbnail{height:135px}.fd-draft-caption{padding:7px;font-size:11px}.fd-draft-caption>span{word-break:break-word}.fd-draft-undo{align-items:flex-start;font-size:12px}.fd-guest-brand{padding:16px;align-items:flex-start;flex-direction:column;gap:4px}.fd-guest-brand strong{font-size:24px}.fd-guest-content{padding:22px 16px 40px}.fd-guest-content-grid{gap:16px}.fd-guest-detail{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:16px}.fd-guest-detail-head{padding:14px 18px}.fd-guest-edit-body{padding:18px}.fd-guest-detail>.fd-guest-point{margin:8px;padding:10px}.fd-guest-point{padding:16px}.fd-share-mode{padding:12px}.fd-more-panel{width:215px}.fd-ext .dialog,.fd-ext .dialog.wide{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);padding:20px 18px;border-radius:16px}.fd-ext .dialog h2{font-size:23px}.fd-ext .content-option{padding:13px 12px;gap:12px;min-height:80px}.fd-ext .content-option strong{font-size:15px}.fd-ext .content-option small{font-size:12px}.fd-ext .content-options{margin-top:18px}.fd-ext .word-options{margin:0 12px 10px}.fd-ext .word-options .button{font-size:13px}.fd-dictation-button{min-width:40px;min-height:40px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.fd-draft-card>.fd-draft-visual>.fd-pdf-thumbnail{height:180px}.fd-draft-card>.fd-draft-visual>.fd-pdf-thumbnail img{object-fit:contain;height:100%;width:100%}.fd-guest-stage-item>.fd-draft-visual>.fd-pdf-thumbnail{height:180px}.fd-guest-stage-item>.fd-draft-visual>.fd-pdf-thumbnail img{object-fit:contain;height:100%;width:100%}.fd-ext .dialog.wide:has(.content-options){width:min(680px,calc(100vw - 32px))}@media(max-width:600px){.fd-project-grid{grid-template-columns:1fr}.fd-ext .dialog.wide:has(.content-options){width:calc(100vw - 16px)}.fd-draft-card>.fd-draft-visual>.fd-pdf-thumbnail{height:135px}}
.fd-map-thumbnail{height:240px;width:100%;position:relative;isolation:isolate;overflow:hidden;background:#e9f1f4;display:grid;place-items:center;text-align:center}
.fd-map-preview-stage{position:absolute;top:0;left:0;pointer-events:none}
.fd-map-preview-image{width:100%;height:240px;display:block;object-fit:cover;pointer-events:none}
.fd-map-thumb-status{position:relative;z-index:1;font-size:13px;line-height:1.5;color:#536a77;background:#f5fafde8;padding:9px 14px;max-width:90%;border-radius:8px}
.fd-map-thumbnail[data-state=partial] .fd-map-thumb-status{position:absolute;top:8px;left:8px;right:8px;font-size:11px}
.fd-map-thumb-badge{position:absolute;bottom:10px;left:12px;z-index:1;padding:5px 9px;border-radius:7px;background:#fffffff0;color:#385663;font-size:11px;font-weight:600;box-shadow:0 1px 5px #203f5520}
.fd-map-credit{font-size:10px;line-height:1.5;padding:7px 12px;background:#f4f8fa;color:#526974;text-align:left;overflow-wrap:anywhere}
.fd-map-credit a{color:#526974;text-decoration:underline}
.fd-map-card .fd-photo-delete{top:256px;bottom:auto}

/* Stable media container: preparation updates the preview without replacing fields. */
.fd-draft-visual{min-width:0;overflow:hidden}.fd-draft-visual>.fd-help{display:block;padding:16px;min-height:120px;margin:0}.fd-draft-caption{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:4px 8px}.fd-draft-caption>span{grid-column:1;white-space:normal;overflow-wrap:anywhere}.fd-draft-caption>small{grid-column:1;font-size:11px;line-height:1.4;color:#526d79}.fd-draft-caption>.fd-icon-btn{grid-column:2;grid-row:1 / 3}.fd-draft-caption>.fd-form-error{color:#a02f29}.fd-draft-visual>img{image-orientation:from-image}

.fd-share-send-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.fd-share-send-actions>.fd-btn{display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 8px;min-height:48px;background:#fff;border:1px solid #9baebe;border-radius:12px;text-decoration:none;font-size:13px}.fd-share-send-actions>.fd-btn:hover{background:#e8f5fa}.fd-share-send-actions svg{width:19px;height:19px;flex-shrink:0}.fd-share-created .fd-share-send-actions{margin-bottom:0}@media(max-width:480px){.fd-share-send-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.fd-share-send-actions>.fd-btn:first-child{grid-column:1/-1}.fd-share-send-actions>.fd-btn{font-size:14px}}
