/* v76 — explicit opaque surfaces, responsive upload and review. */
#photo73-modal{--photo-bg:#fff;--photo-panel:#f6f7f9;--photo-ink:#18181b;--photo-muted:#62626b;--photo-line:#dedee4;position:fixed;inset:0;z-index:100060;background:#080a106e;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:1rem;direction:rtl;box-sizing:border-box}
html[data-theme=dark] #photo73-modal{--photo-bg:#232327;--photo-panel:#2d2d33;--photo-ink:#f5f5f7;--photo-muted:#c0c0c8;--photo-line:#494951}
#photo73-modal *{box-sizing:border-box}#photo73-modal .photo73-card{width:min(1040px,100%);max-height:92dvh;overflow:auto;padding:1.5rem;border-radius:24px;background:var(--photo-bg);color:var(--photo-ink);border:1px solid var(--photo-line);box-shadow:0 24px 80px #0004;text-align:start;font-size:15px;line-height:1.7}
#photo73-modal h2,#photo73-modal h3,#photo73-modal p{color:inherit;margin:0}#photo73-modal h2{font-size:1.55rem;line-height:1.5}#photo73-modal h3{font-size:1.2rem}#photo73-modal .photo76-header,#photo73-modal .photo76-title{display:flex;align-items:center;gap:.8rem}#photo73-modal .photo76-header{justify-content:space-between}#photo73-modal .photo76-symbol{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--photo-line);background:var(--photo-panel);border-radius:14px;font-size:28px}#photo73-modal .photo76-eyebrow{font-size:.75rem;color:var(--photo-muted);display:block}
#photo73-modal .btn{font:inherit;min-height:44px;border-radius:12px;padding:.65rem 1rem;line-height:1.6;margin:0;box-shadow:none}#photo73-modal #photo73-close{width:40px;min-height:40px;padding:0;font-size:25px;background:var(--photo-panel)!important;border:1px solid var(--photo-line)!important;color:var(--photo-ink)!important;flex-shrink:0}#photo73-modal button:disabled{opacity:.45;cursor:not-allowed}
#photo73-modal .photo76-steps{list-style:none;display:flex;gap:1rem;justify-content:center;padding:.9rem 0;margin:1rem 0 1.2rem;border-block:1px solid var(--photo-line);font-size:.82rem;color:var(--photo-muted)}#photo73-modal .photo76-steps li{display:flex;align-items:center;gap:.5rem}#photo73-modal .photo76-steps b{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--photo-panel);border:1px solid var(--photo-line)}#photo73-modal[data-step="1"] .photo76-steps li:nth-child(1),#photo73-modal[data-step="2"] .photo76-steps li:nth-child(2),#photo73-modal[data-step="3"] .photo76-steps li:nth-child(3){font-weight:700;color:var(--photo-ink)}
#photo73-modal .photo76-layout{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem;align-items:start}#photo73-modal .photo76-intro{font-size:.9rem;margin-bottom:1rem;color:var(--photo-muted)}#photo73-modal .photo76-drop{display:flex;position:relative;align-items:center;justify-content:center;flex-direction:column;gap:.45rem;border:1.5px dashed var(--photo-line);border-radius:17px;padding:1.3rem;cursor:pointer;background:var(--photo-panel);text-align:center;min-height:156px}#photo73-modal .photo76-drop:hover{border-color:var(--accent,#111)}#photo73-modal .photo76-drop:focus-within{outline:3px solid var(--accent,#111);outline-offset:3px}#photo73-modal .photo76-drop svg{width:30px;height:30px}#photo73-modal .photo76-drop span{font-size:.72rem;color:var(--photo-muted)}#photo73-modal #photo73-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;padding:0;margin:0;border:0}#photo73-modal .photo76-filename{font-size:.75rem;overflow-wrap:anywhere;color:var(--photo-muted);margin:.45rem 0 .8rem;min-height:1.5em}#photo73-modal .photo76-buttons{display:flex;gap:.6rem}#photo73-modal .photo76-buttons #photo73-read{flex:1}#photo73-modal .photo76-privacy{font-size:.72rem;color:var(--photo-muted);margin-top:.7rem}#photo73-modal .photo76-preview{padding:1rem;border:1px solid var(--photo-line);border-radius:17px;background:var(--photo-panel)}#photo73-modal .photo76-preview-label{font-size:.8rem;font-weight:700;display:block;margin-bottom:.6rem}#photo73-modal .photo76-imagebox{height:244px;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;border-radius:10px}#photo73-modal .photo76-imagebox img{max-width:100%;max-height:100%;object-fit:contain}#photo73-modal [hidden]{display:none!important}#photo73-modal #photo76-placeholder{color:var(--photo-muted);font-size:.9rem}#photo73-modal #photo76-placeholder small{font-size:.74rem}
#photo73-modal .photo76-statusbar{display:flex;align-items:center;gap:.6rem;background:var(--photo-panel);border-radius:10px;padding:.7rem .9rem;margin-top:1rem;font-size:.8rem}#photo73-modal .photo76-statusdot{width:7px;height:7px;border-radius:50%;background:var(--accent,#111);flex-shrink:0}#photo73-modal .photo76-review{border-top:1px solid var(--photo-line);margin-top:1.2rem;padding-top:1.2rem}#photo73-modal .photo76-review-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}#photo73-modal .photo76-review-head p,#photo73-modal .photo76-help{font-size:.8rem;color:var(--photo-muted)}#photo73-modal .photo76-metrics{display:flex;gap:.6rem;flex-wrap:wrap;font-size:.75rem}#photo73-modal .photo76-metrics span{background:var(--photo-panel);padding:.5rem .7rem;border-radius:10px}#photo73-modal .photo76-metrics b{font-size:1.05rem;margin-inline-end:.3rem}#photo73-modal .photo76-help{margin-top:1rem}#photo73-modal .photo73-warning{background:#b581161a;border-inline-start:3px solid #b58116;padding:.65rem;margin:.7rem 0;font-size:.8rem;border-radius:8px}#photo73-modal .photo73-scroll{overflow:auto;margin:1rem 0;border:1px solid var(--photo-line);border-radius:12px}#photo73-modal table{border-collapse:collapse;width:100%;min-width:1140px;font-size:.8rem}#photo73-modal td,#photo73-modal th{padding:.55rem;border:1px solid var(--photo-line);vertical-align:top}#photo73-modal th{background:var(--photo-panel);white-space:nowrap}#photo73-modal textarea,#photo73-modal select{width:100%;min-width:105px;box-sizing:border-box;padding:.5rem;background:var(--photo-bg);color:var(--photo-ink);border:1px solid var(--photo-line);border-radius:8px;font:inherit;line-height:1.6}#photo73-modal textarea{resize:vertical;min-height:88px}#photo73-modal select{font-size:.7rem;max-width:160px;margin-top:.4rem}#photo73-modal .photo73-uncertain{background:#b581161a}#photo73-modal .photo76-review-tag{display:block;font-size:.66rem;margin-top:.35rem;color:var(--photo-ink)}#photo73-modal .photo76-savebar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}#photo73-modal .photo73-confirm{display:flex;align-items:center;gap:.6rem;font-size:.82rem}#photo73-modal .photo73-confirm input{width:18px;height:18px;flex-shrink:0}
@media(max-width:650px){#photo73-modal{padding:.5rem}#photo73-modal .photo73-card{padding:1rem;border-radius:18px;max-height:95dvh}#photo73-modal .photo76-layout{grid-template-columns:1fr;gap:1rem}#photo73-modal .photo76-imagebox{height:180px}#photo73-modal .photo76-steps{gap:.6rem;font-size:.7rem}#photo73-modal .photo76-steps li{gap:.3rem}#photo73-modal .photo76-title{gap:.5rem}#photo73-modal h2{font-size:1.25rem}#photo73-modal .photo76-savebar>button{width:100%}}
#photo73-modal .photo76-order{display:flex;flex-direction:column;gap:.4rem;font-size:.78rem;margin:.8rem 0}#photo73-modal .photo76-order select{max-width:none;margin:0;font-size:.8rem;min-height:42px}
