.sc-dialog,.sc-sheet{--sc-teal:#087981;--sc-ink:#183b42;--sc-line:#d5e5e6;color:var(--sc-ink);background:#fff;border:0;border-radius:18px;padding:0;max-width:none;box-shadow:0 22px 80px #143c4740;box-sizing:border-box;font:inherit}
.sc-dialog *,.sc-sheet *{box-sizing:border-box}
.sc-dialog{--sc-dialog-limit:min(calc(var(--sc-vh,100dvh) - 36px),760px);width:min(540px,calc(100vw - 32px));max-height:var(--sc-dialog-limit);overflow:hidden}
.sc-dialog::backdrop,.sc-sheet::backdrop{background:#102c38a6}
body:has(.sc-dialog[open]){overflow:hidden}
.sc-form{display:flex;flex-flow:column;max-height:var(--sc-dialog-limit);min-height:0;min-width:0;overflow:hidden;margin:0}
.sc-head,.sc-footer{display:flex;align-items:center;gap:12px;padding:13px 20px;background:white;flex:none}
.sc-head{justify-content:space-between;border-bottom:1px solid var(--sc-line)}
.sc-head :is(h2,h3){margin:0;color:var(--sc-ink);font:700 1.22rem/1.3 inherit;font-family:inherit;font-size:1.22rem;line-height:1.3;font-weight:720}
.sc-dialog button,.sc-sheet button,.sc-dialog input,.sc-dialog select,.sc-dialog textarea{font-family:inherit;font-size:1rem}
.sc-dialog button,.sc-sheet button{cursor:pointer}
.sc-dialog button:disabled,.sc-sheet button:disabled{cursor:default;opacity:.56}
.sc-dialog :focus-visible,.sc-sheet :focus-visible{outline:3px solid #0d969b;outline-offset:2px}
.sc-close{width:40px;height:40px;background:#edf5f5;color:#21555a;border:0;border-radius:50%;line-height:1;padding:0;font-size:1.6rem!important}
.sc-scroll{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;min-width:0;scroll-padding:12px}
.sc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:12px 18px 4px}
.sc-tab,.sc-tool,.sc-choice,.sc-done,.sc-text{border:0;background:transparent;color:var(--sc-teal);font-weight:650}
.sc-tab{min-width:0;white-space:normal;border-radius:10px;padding:8px 5px;color:#3b6064;font-size:.9rem!important;line-height:1.25}
.sc-tab[aria-pressed=true],.sc-choice[aria-pressed=true]{color:#075f63;background:#d8f0ef}
.sc-fields{display:grid;gap:14px;padding:17px 20px 23px;min-width:0}
.sc-who{display:flex;align-items:center;gap:10px;overflow-wrap:anywhere}
.sc-avatar{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:#d9eeec;color:#07676a;font-weight:730}
.sc-body,.sc-control :is(input,select,textarea){width:100%;min-width:0;padding:11px 12px;border:1px solid #bed5d7;border-radius:9px;background:white;color:#173b40;line-height:1.45;scroll-margin-block:12px}
.sc-body{resize:vertical;min-height:84px;max-height:220px}
.sc-control{display:grid;gap:6px;min-width:0}
.sc-control>span,.sc-poll legend{font-size:.9rem;font-weight:680}
.sc-tools{display:flex;gap:6px;flex-wrap:wrap}
.sc-tool{min-height:40px;padding:8px 14px;border:1px solid #cce0e1;border-radius:20px}
.sc-tool[data-set=true]{border-color:#48a3a5;background:#e1f5f2}
.sc-media-pickers{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:8px;min-width:0}
.sc-media-pickers>.sc-error{grid-column:1/-1}
.sc-picker{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:64px;min-width:0;border:1px solid #9bc7ca;background:#eaf7f6;padding:8px 5px;color:var(--sc-teal);border-radius:10px;cursor:pointer;font-weight:650;font-size:.9rem;line-height:1.25;text-align:center}
.sc-picker svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sc-picker:focus-within{outline:3px solid #0d969b;outline-offset:2px}
.sc-file{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.sc-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:10px}
.sc-attachment{min-width:0;overflow:hidden;background:#f3f8f8;border-radius:8px;padding:5px}
.sc-file-name{margin:0 0 5px;font-size:.875rem;line-height:1.35;overflow-wrap:anywhere}
.sc-attachment :is(img,video){display:block;width:100%;max-height:195px;object-fit:contain;background:#e6efef;border-radius:5px}
.sc-attachment audio{max-width:100%;width:100%}
.sc-check{display:flex;align-items:center;gap:8px;min-height:42px}
.sc-check input{width:18px;height:18px;accent-color:var(--sc-teal)}
.sc-control input[type=range]{accent-color:var(--sc-teal)}
.sc-text,.sc-done{padding:7px}
.sc-poll{border:1px solid var(--sc-line);border-radius:10px;display:grid;gap:10px;padding:12px}
.sc-footer{border-top:1px solid var(--sc-line);justify-content:flex-end;flex-wrap:wrap}
.sc-status{flex:1 1 140px;min-width:0;margin:0;font-size:.92rem;line-height:1.35;overflow-wrap:anywhere}
.sc-status:empty{display:none}
.sc-submit{border:0;background:var(--sc-teal);color:white;border-radius:9px;min-height:44px;padding:9px 24px;font-weight:700}
.sc-sheet{width:min(390px,calc(100vw - 28px));max-height:min(var(--sc-vh,100dvh),90vh);overflow:auto;overscroll-behavior:contain}
.sc-sheet-inner{display:grid;gap:8px;padding:15px 18px}
.sc-choice{min-height:44px;text-align:left;padding:9px 14px;border-radius:8px}
.sc-dialog [hidden]{display:none!important}
@media(max-width:600px){
 .sc-dialog{--sc-dialog-limit:min(calc(var(--sc-vh,100dvh) - 16px),82dvh);position:fixed;inset:calc(var(--sc-vt,0px) + 8px) 12px auto;margin:0 auto;width:calc(100vw - 24px);height:auto;max-width:480px;border-radius:16px}
 .sc-head{padding:9px 13px}
 .sc-footer{padding:9px 13px}
 .sc-tabs{padding-left:12px;padding-right:12px}.sc-tab{padding:8px}
 .sc-fields{padding:12px 13px 16px;gap:11px}.sc-tool{padding:8px 12px}
 .sc-sheet{position:fixed;top:var(--sc-vt,0px);bottom:auto;left:50%;right:auto;transform:translateX(-50%);margin:10px 0 0;width:calc(100vw - 20px);max-height:calc(var(--sc-vh,100dvh) - 20px)}
 .sc-sheet .sc-head{padding:9px 13px}
}
@media(prefers-reduced-motion:reduce){.sc-scroll{scroll-behavior:auto}}
.sc-cover-preview{display:block;width:100%;height:auto;border-radius:8px}
.sc-avatar{position:relative;overflow:hidden}.sc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sc-note{margin:0;color:#395c61;line-height:1.45;font-size:.92rem}
.sc-entry,.sc-source{display:grid;min-width:0;gap:10px}
.sc-entry>.sc-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.sc-source{padding-top:2px}.sc-source .sc-check{margin:0;padding:6px 10px;border-radius:8px;background:#eff8f7}
.sc-entry .sc-tool{background:#f1f9f8}.sc-entry .sc-tool[data-set=true]{background:#dff2f0}
.sc-dialog .sc-control>span,.sc-sheet .sc-control>span{color:#195e63}
.sc-tools .sc-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:5px 9px;border-radius:10px}
.sc-tool-label{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0}
.sc-tool-label svg{width:16px;height:16px;flex:none;color:#096c73;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sc-tool-value{display:block;max-width:100%;font-size:.875rem;font-weight:500;color:#355e64;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-tool-value:empty,.sc-linked-post .sc-note:empty{display:none}
.sc-linked-post{display:grid;gap:6px}
.sc-linked-post button{justify-self:start;min-height:44px}
.sc-error{margin:-5px 0 0;color:#8b2737;font-size:.94rem;line-height:1.38}
.sc-dialog [aria-invalid=true],.sc-picker:has([aria-invalid=true]){outline:2px solid #ae3745;outline-offset:1px}
.sc-sheet[open]{display:flex;flex-direction:column;overflow:hidden}
.sc-sheet-inner{overflow:auto;min-height:0;overscroll-behavior:contain;scroll-padding-block:12px}
.sc-close,.sc-done,.sc-tab{min-height:44px}.sc-close{min-width:44px}
@media (hover:none) and (max-height:540px) and (min-width:601px){
 .sc-dialog{--sc-dialog-limit:calc(var(--sc-vh,100dvh) - 16px);position:fixed;inset:calc(var(--sc-vt,0px) + 8px) 0 auto;margin:0 auto;height:auto}
 .sc-head,.sc-footer{padding-block:6px}
}
.sc-collection{display:grid;gap:8px;min-width:0;width:100%}.sc-collection-stage{position:relative;display:grid;place-items:center;min-width:0;overflow:hidden;border-radius:9px;background:#112a34}.sc-collection-stage :is(canvas,img){width:100%;height:auto;max-height:46dvh;object-fit:contain;display:block}.sc-collection [hidden]{display:none!important}
.sc-collection-nav,.sc-collection-order{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sc-collection-nav button,.sc-collection-order button{min-height:44px;padding:6px 9px}.sc-collection-nav button:disabled,.sc-collection-order button:disabled{opacity:.42}
.sc-collection-rail{display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain}.sc-thumbnail{width:64px;height:64px;flex:none;border:2px solid transparent;overflow:hidden;border-radius:7px;padding:0;background:#e1ebed}.sc-thumbnail[aria-pressed=true]{border-color:#087991}.sc-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.sc-collection-hint:empty,.sc-collection-edits:empty{display:none}.sc-collection-hint{margin:0;font-size:14px}.sc-slide-settings,.sc-sound-panel{padding:9px 10px;background:#f2f7f8;border-radius:8px}.sc-slide-settings summary,.sc-sound-panel summary,.sc-slide-position summary{cursor:pointer;font-weight:650;min-height:30px}.sc-slide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sc-slide-settings textarea{resize:vertical}
.sc-slide-format,.sc-sound-body,.sc-sound-info{display:grid;gap:8px}.sc-sound-panel{margin:8px 0}.sc-sound-info audio{width:100%}.sc-sound-list{max-height:200px;overflow:auto}.sc-sound-list button{display:block;width:100%;text-align:left}.sc-slide-settings input[type=color]{height:40px;width:100%}.sc-collection select,.sc-collection textarea,.sc-collection input{font-size:16px;max-width:100%}

.sc-story-actor{color:#095c69;font-size:.875rem;font-weight:650}
.sc-story-preview{display:grid;isolation:isolate;place-items:center;min-width:0;min-height:12rem;max-height:62dvh;overflow:auto;border-radius:.7rem;background:#103b47;color:#fff}
.sc-story-preview img,.sc-story-preview video{display:block;max-width:100%;max-height:46dvh;object-fit:contain}
.sc-story-preview audio{width:100%}
.sc-story-preview p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;padding:.75rem 1rem;text-align:center}
.sc-places{display:grid;gap:.5rem;max-height:44dvh;overflow:auto}.sc-places button{text-align:start;min-height:44px}

.sc-guide{margin:0;font-size:.95rem;line-height:1.5;color:#33585d}
.sc-optional{border:1px solid var(--sc-line);border-radius:10px;padding:0 12px;background:#f7fbfb}
.sc-optional>summary{cursor:pointer;min-height:44px;padding:11px 0;font-weight:650;line-height:1.35}
.sc-optional-body{display:grid;gap:12px;padding:2px 0 14px}
.sc-options,.sc-collection-tools{display:flex;gap:7px;flex-wrap:wrap}
.sc-options button,.sc-collection-tools button{min-height:44px}
.sc-layout-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sc-layout-choice{display:grid;justify-items:center;align-content:start;gap:7px;border:1px solid #c5dadd;border-radius:10px;padding:9px;background:white;color:var(--sc-ink);font-size:.9rem!important;text-align:center}
.sc-layout-choice[aria-pressed=true]{border:2px solid var(--sc-teal);padding:8px;background:#e8f7f4}
.sc-layout-mini{position:relative;display:block;width:100%;max-width:105px;aspect-ratio:4/3;background:#e7eeee;overflow:hidden;border-radius:4px}
.sc-layout-mini>span{position:absolute;display:block;background:#69a7ad;border:2px solid #e7eeee;border-radius:3px}
.sc-tool-preview{display:block;width:100%;max-height:220px;object-fit:contain;border-radius:8px;background:#edf4f4}
.sc-editor-options{display:grid;gap:12px}
.sc-editor-options :is(input,select,textarea){font-size:16px;max-width:100%}
.sc-editor-options input[type=color]{height:40px;width:100%}
.sc-slide-format summary{cursor:pointer;min-height:44px;padding-block:10px;font-weight:650}
.sc-published{display:grid;gap:10px;padding:7px 0}
.sc-view-publication{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:9px;padding:10px 16px;background:var(--sc-teal);color:white;text-decoration:none;font-weight:700}
.sc-external{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.sc-external :is(a,button){font:600 .875rem system-ui;min-height:44px;border-radius:9px;padding:10px;border:1px solid #cbdedc;background:#eef8f6;color:#075e63;text-decoration:none}
.sc-external a[href*=wa.me]{background:#e2f8e9;color:#095b34}
