/* Every authenticated product view uses these components, including rare and
   role-restricted flows. Product HTML supplies content, never the page layout. */
.payment-scene .scene-content{background:radial-gradient(ellipse at 100% 0,#b82b4012,transparent 65%),linear-gradient(135deg,#ffffff0b,#ffffff01 65%),#14161bf0;border-top-color:#ffffff38}
.payment-scene .payment-send-amount{padding:18px 0 22px;border-bottom:1px solid #ffffff12}
.payment-scene .payment-send-amount>b{display:block;font-size:12px;font-weight:400;color:#aab2c0;margin-bottom:8px}
.payment-scene .payment-send-amount code{display:block;font:500 clamp(22px,5vw,34px)/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:none;letter-spacing:-.7px;color:#f7f7fa}
.payment-scene[data-payment-status="paid"] .scene-content>p:first-child>b,.payment-scene[data-payment-status="paid_review"] .scene-content>p:first-child>b{font-size:34px;font-weight:500}
.payment-scene[data-payment-status="review"] .scene-content,.payment-scene[data-payment-status="expired"] .scene-content{border-top-color:#d9567060}
.glass-cabinet{background:radial-gradient(ellipse at 90% 5%,#6e213025,transparent 42%),radial-gradient(ellipse at 0 65%,#434b5912,transparent 55%),#0b0c0f}
.native-scene.screen-card{padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;margin-bottom:24px}
.scene-header h2{font-size:25px;line-height:1.3;font-weight:550;margin:0 0 22px;letter-spacing:-.7px}
.scene-content{display:flex;flex-direction:column;gap:0;border:1px solid #ffffff17;border-top-color:#ffffff2c;background:linear-gradient(135deg,#ffffff09,#ffffff01 65%),#14161bf0;border-radius:24px;padding:24px;margin:0 0 18px;box-shadow:inset 0 1px #ffffff07,0 12px 30px #0002;font-size:14px;line-height:1.75;white-space:pre-line;min-width:0;overflow-wrap:anywhere}
.scene-content:empty{display:none}.scene-content>p{margin:0 0 12px}.scene-content>p:last-child{margin-bottom:0}.scene-content>p:empty{display:none}.scene-content h3{font-size:17px;font-weight:550;margin:18px 0 12px}.scene-content h3:first-child{margin-top:0}
.scene-content pre{margin:8px 0 16px;padding:18px;background:#090b0f9c;border:1px solid #ffffff13;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9;user-select:text}.scene-content code{background:#ffffff06;border-radius:5px;overflow-wrap:anywhere}.scene-content .scene-amount{background:none;border:0;padding:0;margin:6px 0 16px;font:500 40px/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-1.5px;color:#f7f7fa}
.scene-fact{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:18px;align-items:baseline;padding:13px 0;border-bottom:1px solid #ffffff0e;white-space:normal;font-size:13px}.scene-fact:first-child{padding-top:0}.scene-fact:last-child{padding-bottom:0;border:0}.scene-fact>span{color:#969eae}.scene-fact>strong{text-align:right;font-weight:500;min-width:0;overflow-wrap:anywhere}
.scene-facts{margin:0}.scene-fact dt{color:#969eae}.scene-fact dd{margin:0;text-align:right;font-weight:500;overflow-wrap:anywhere}.scene-financial>.scene-fact:first-child{display:flex;flex-direction:column;gap:9px;padding-bottom:23px;margin-bottom:6px}.scene-financial>.scene-fact:first-child dd{font-size:40px;line-height:1.2;letter-spacing:-1.5px;color:#f4f5f8}
.scene-content table{width:100%;border-collapse:collapse;font-size:12px;white-space:normal;table-layout:fixed}.scene-content td,.scene-content th{padding:12px 6px;border-bottom:1px solid #ffffff12;text-align:left;overflow-wrap:anywhere}.scene-content th{color:#98a1b2;font-weight:500}.scene-content blockquote,.scene-content aside{border:1px solid #d9567035;border-left:2px solid #d95670;border-radius:12px;padding:15px 17px;margin:12px 0;background:#c82e4309;font-size:13px;white-space:pre-line}.scene-content footer{font-size:12px;color:var(--muted)}
.scene-help{white-space:normal;border-top:1px solid #ffffff12;margin:12px 0 0;padding:0;color:#aab2c0;font-size:12px}.scene-help:first-child{border:0;margin-top:0}.scene-help summary{min-height:44px;display:list-item;cursor:pointer;padding:11px 0;color:#aeb7c8}.scene-help[open] summary{color:#f2f3f5}.scene-help p{line-height:1.8}.scene-help code{color:#dfe4ed}
.scene-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
.scene-tile.control{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;gap:20px;width:100%;min-width:0;min-height:148px;padding:21px;border-radius:24px;border:1px solid #ffffff1b;border-top-color:#ffffff31;background:linear-gradient(135deg,#ffffff0b,#ffffff02 65%),#16191ff2;color:#f1f2f6;box-shadow:inset 0 1px #ffffff06,0 8px 25px #0002;overflow:hidden}
.scene-tile.control:hover{background-color:#22262f;border-color:#ffffff3b;text-decoration:none;transform:translateY(-1px)}
.scene-destinations>.scene-tile:nth-child(n+3){flex-direction:row;align-items:center;gap:12px;min-height:80px;padding:17px 15px;border-radius:20px}.scene-destinations>.scene-tile:nth-child(n+3) .scene-action-icon{width:30px;height:30px;background:none;border:0;box-shadow:none}.scene-destinations>.scene-tile:nth-child(n+3) small{display:none}.scene-destinations>.scene-tile:nth-child(n+3) .scene-chevron{display:none}.scene-destinations>.scene-tile:nth-child(n+3) strong{font-size:12px}
.scene-content.scene-help-only{padding:0 4px;background:none;border:0;box-shadow:none;border-radius:0;margin:0 0 12px}.scene-help-only>.scene-help{margin:0}
.scene-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:39px;height:39px;border-radius:13px;border:1px solid #ffffff12;background:linear-gradient(140deg,#ffffff0b,#ffffff02);color:#d3dae7;box-shadow:inset 0 1px #ffffff08}
.scene-action-icon .outline-icon{width:20px;height:20px}.scene-action-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.scene-action-copy strong{font-size:14px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}.scene-action-copy small{font-size:11px;line-height:1.6;color:#919aab;font-weight:400}.scene-tile .scene-chevron{position:absolute;right:18px;top:29px;color:#747e90;width:13px;height:13px;margin:0}
.scene-tile.primary,.scene-tile.success{background:radial-gradient(ellipse at 100% 0,#b52d4522,transparent 70%),linear-gradient(135deg,#ffffff09,#ffffff02),#19191f;border-color:#d452693b}.scene-tile.primary .scene-action-icon,.scene-tile.success .scene-action-icon{color:#f1a3b4;background:#c82e4312;border-color:#c82e4330}
.scene-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.scene-action.control{display:flex;align-items:center;gap:12px;min-width:0;min-height:64px;text-align:left;justify-content:flex-start;padding:12px 15px;border:1px solid #ffffff1c;border-top-color:#ffffff28;border-radius:18px;background:linear-gradient(145deg,#ffffff06,#ffffff01),#171a20;color:#e8ecf3;white-space:normal}.scene-action .scene-action-icon{width:32px;height:32px;border:0;background:none;box-shadow:none;color:#a9b4c7}.scene-action .scene-action-copy strong{font-size:12px;font-weight:500}.scene-action.primary{background:linear-gradient(135deg,#d53d54,#af2239);border-color:#f173874a;color:white;box-shadow:inset 0 1px #ffffff16,0 7px 25px #8b19302b}.scene-action.primary .scene-action-icon{color:#fff}.scene-action.danger{border-color:#e05c7138;background:#c82e430a;color:#ffadbd}.scene-action.danger .scene-action-icon{color:#f38da3}
.scene-actions>.scene-action:only-child{grid-column:1/-1}.scene-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.scene-filters .control{min-height:44px;min-width:0;border-radius:24px;padding:10px 16px;font-size:12px;background:#ffffff03}.scene-filters .selected{background:#ffffff11;border-color:#ffffff35;color:#fff}
.scene-list{border:1px solid #ffffff19;border-top-color:#ffffff29;border-radius:24px;background:linear-gradient(145deg,#ffffff04,#ffffff01),#12151b;overflow:hidden;margin:0 0 18px}.scene-list .mail-row,.scene-list .mailbox-row{width:100%;border-radius:0;border:0;border-bottom:1px solid #ffffff0e;margin:0;background:none}.scene-list>*:last-child{border-bottom:0}.scene-list .mailbox-row{display:grid;grid-template-columns:30px minmax(0,1fr) 18px;gap:10px 14px;padding:22px!important;min-width:0;text-align:left}.scene-list .mailbox-row>strong{grid-column:2;grid-row:1;font-size:14px}.scene-list .mailbox-row>.mailbox-meta{grid-column:2;grid-row:2}.scene-list .mailbox-row>.outline-icon:first-child{grid-column:1;grid-row:1/3;color:#a8b4c9}.scene-list .mailbox-row>.outline-icon:last-child{grid-column:3;grid-row:1/3}
.scene-pagination{display:flex;justify-content:center;gap:10px;margin:18px 0}.scene-pagination .control{min-width:44px;min-height:44px;font-size:12px;border-radius:14px}.scene-back{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 0}.scene-back .scene-action{border:0;background:none;box-shadow:none;color:#929eaf;padding-left:0;min-height:44px}.scene-back .scene-action-icon{display:none}.scene-back .scene-action strong{font-size:12px}.scene-inline-action{min-height:44px;border-radius:14px;padding:12px 16px;font-size:12px}.scene-message{background:#11141a;line-height:1.9}.scene-message>p{white-space:pre-line}
main:has(.native-form)>.input-form{border:1px solid #ffffff22;border-top-color:#ffffff31;border-radius:24px;margin:0 0 20px;padding:25px;background:linear-gradient(135deg,#ffffff09,#ffffff02),#16191f;box-shadow:inset 0 1px #ffffff08,0 12px 30px #0002}.native-form .scene-back{display:none}.native-form{margin-bottom:0!important}.input-form input{min-height:56px;background:#090c119c;border-color:#ffffff20;border-radius:16px}.input-form label{font-size:13px;color:#dbe0e9;margin-bottom:12px}.input-form .primary{min-height:52px;border-radius:16px}.cancel-input{background:none;border:0;color:#9aa5b7;font-size:12px;margin-top:10px}
@media(min-width:1050px){.scene-destinations{grid-template-columns:repeat(3,minmax(0,1fr))}.scene-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.native-scene.screen-card{padding:0;margin-bottom:18px}.scene-content{padding:20px;border-radius:22px;font-size:13px}.scene-destinations{gap:10px}.scene-tile.control{padding:18px 16px;min-height:146px;border-radius:22px;gap:18px}.scene-action-copy strong{font-size:13px}.scene-action-copy small{font-size:10px}.scene-tile .scene-chevron{right:14px;top:28px}.scene-actions{gap:9px}.scene-action.control{padding:12px;gap:7px;min-height:66px}.scene-action .scene-action-copy strong{font-size:11px}.scene-action .scene-action-icon{width:25px}.scene-fact{font-size:12px;gap:12px}.scene-content .scene-amount{font-size:36px}main:has(.native-form)>.input-form{padding:21px 18px;border-radius:22px}.scene-list .mailbox-row{padding:20px 16px!important;gap:8px 10px}.scene-list .mailbox-row>strong{font-size:12px}}
@media(max-width:350px){.scene-tile.control{min-height:138px;padding:16px 12px}.scene-action-copy strong{font-size:12px}.scene-action-copy small{font-size:10px}.scene-action-icon{width:34px;height:34px}.scene-actions{grid-template-columns:1fr}.scene-fact{grid-template-columns:1fr;gap:4px}.scene-fact>strong{text-align:left}}
@media(prefers-reduced-motion:reduce){.scene-tile.control:hover{transform:none}}
