/* R27 camera source and review dialog. Safe system file and date pickers remain native. */
.r27-cover{position:fixed;inset:0;z-index:2400;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.72);padding:12px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));}
.r27-sheet{box-sizing:border-box;width:min(100%,470px);max-height:min(88dvh,780px);overflow:auto;border:1px solid rgba(126,149,185,.29);border-radius:22px;background:#141e33;color:#f4f8ff;padding:20px;box-shadow:0 24px 80px rgba(0,0,0,.4);font:500 14px/1.5 Inter,system-ui,sans-serif;}
.r27-sheet h2{font-size:21px;line-height:1.25;margin:0 0 8px;color:inherit}.r27-sheet p{color:#c1cde1;margin:4px 0 14px;font-size:13px}.r27-sheet label{display:block;color:inherit;font-size:13px;font-weight:700;margin:12px 0 5px}.r27-sheet input,.r27-sheet select{box-sizing:border-box;width:100%;min-height:46px;padding:11px 12px;border-radius:11px;border:1px solid #61718b;background:#222f47;color:#fff;font:inherit;color-scheme:dark;}
.r27-sheet input:focus-visible,.r27-sheet select:focus-visible,.r27-sheet button:focus-visible{outline:3px solid #50cef0;outline-offset:2px}.r27-sheet .r27-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.r27-sheet button{font:700 14px/1.35 Inter,system-ui,sans-serif;padding:13px 16px;min-height:46px;border-radius:12px;border:1px solid #71839d;background:transparent;color:inherit;cursor:pointer}.r27-sheet button.r27-primary{background:linear-gradient(115deg,#08788a,#364fb2);color:#fff;border-color:transparent;flex:1}.r27-sheet button:disabled{opacity:.6;cursor:wait}.r27-sheet .r27-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r27-sheet .r27-check{display:flex;align-items:center;gap:8px;margin:12px 0}.r27-sheet .r27-check input{min-height:20px;width:20px;flex:none;accent-color:#16839c}.r27-sheet .r27-check span{font-size:13px}.r27-sheet .r27-warning{color:#ffc17b;font-size:13px;font-weight:700}.r27-sheet .r27-preview{display:block;width:100%;height:116px;object-fit:contain;background:#0a1325;border-radius:13px;margin-bottom:12px}.r27-sheet .r27-status{font-size:13px;color:#ffd19a;min-height:17px}
html[data-theme="light"] .r27-sheet{background:#fff;color:#10223b;border-color:#c6d4e4;box-shadow:0 16px 55px rgba(11,28,50,.25)}html[data-theme="light"] .r27-sheet p{color:#445571}html[data-theme="light"] .r27-sheet input,html[data-theme="light"] .r27-sheet select{background:#f5f8fd;color:#10223b;border-color:#8ba0b9;color-scheme:light}html[data-theme="light"] .r27-sheet .r27-warning{color:#885000}html[data-theme="light"] .r27-sheet button{border-color:#8ba0b9}
@media(max-width:359px){.r27-sheet .r27-row{grid-template-columns:1fr}.r27-sheet{padding:16px}}
@media(prefers-reduced-motion:reduce){.r27-sheet{scroll-behavior:auto}}
