
html:has(main.cr-page),body:has(main.cr-page){background:#f7f8fa}
.cr-page{box-sizing:border-box;width:calc(100% - 32px);max-width:736px;margin:36px auto 50px}
.cr-surface{box-sizing:border-box;padding:28px;background:#fff;border-radius:16px;color:#444;font:14px/1.9 Vazirmatn,Tahoma,sans-serif;text-align:right}
.cr-page>.cr-surface{border:1px solid #e9ebef;box-shadow:0 8px 32px #20304b08}
.cr-surface h2{font-size:20px;font-weight:700;margin:0 0 16px;padding:0 0 12px;border-bottom:2px solid #ffc000;color:#292929}
.cr-surface form,.cr-surface label{display:grid;gap:5px;min-width:0}.cr-surface form{gap:16px}.cr-surface label{font-weight:600;font-size:14px}
.cr-surface input,.cr-surface select,.cr-surface textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #ddd;border-radius:8px;padding:10px 12px;background:#fff;color:#333;font:400 13px/1.8 Vazirmatn,Tahoma,sans-serif;outline:none}
.cr-surface input,.cr-surface select{height:46px}.cr-surface input:focus,.cr-surface select:focus,.cr-surface textarea:focus{border-color:#d4a600;box-shadow:0 0 0 3px #ffc00018}
.cr-surface input::placeholder,.cr-surface textarea::placeholder{color:#999}.cr-surface input{ text-align:right}.cr-surface textarea{resize:vertical;height:110px;min-height:110px}
.cr-surface button,.cr-surface .cr-link-button{border:0;border-radius:9px;padding:10px 18px;font:600 13px/1.8 Vazirmatn,Tahoma,sans-serif;cursor:pointer;background:#ffc000;color:#111;text-decoration:none;text-align:center}
.cr-surface #cr-submit{width:100%;height:52px;margin-top:6px;font-size:14px}
.cr-surface button:disabled{opacity:.5}.cr-surface a{color:#916100;font-size:12px}.cr-surface p{margin:0}
.cr-surface .cr-guidance{background:#fff8e1;border:1px solid #ffecb3;border-radius:10px;padding:15px;font-size:13px;line-height:1.95}
.cr-guidance>strong{display:flex;align-items:center;gap:6px;margin-bottom:10px;color:#555;font-size:13px}.cr-guidance ul{list-style:none;padding:0 20px 0 0;margin:0}.cr-guidance li{position:relative;margin:0;line-height:1.95}.cr-guidance li::before{content:'';position:absolute;right:-15px;top:10px;width:7px;height:7px;background:#ff9a2d;border:1px solid #222;transform:rotate(45deg)}
.cr-surface .cr-guidance .cr-privacy{font-size:13px;line-height:1.95;margin-top:14px;color:#666}.cr-privacy::before{content:'⚠';color:#b28b00;margin-left:6px;font-size:16px}
.cr-surface .cr-intro{font-size:14px;color:#555;line-height:1.9;margin:2px 0 6px}
.cr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.cr-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.cr-surface #cr-auth{display:grid;gap:10px;margin-top:-7px}.cr-auth-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.cr-surface #cr-send,.cr-surface #cr-check{border:1px solid #eedb99;background:#fff8df;padding:5px 12px;min-height:32px;font-size:12px;border-radius:7px}
.cr-surface #cr-verify{display:flex;align-items:flex-end;gap:12px}.cr-surface #cr-verify label{max-width:180px}.cr-surface #cr-message{color:#9a5b17;margin:0;font-size:12px}.cr-surface #cr-message:empty{display:none}
.cr-surface [hidden]{display:none!important}.cr-unavailable{display:grid;gap:20px}.cr-unavailable p{line-height:2}
#popup-consult{z-index:22000;box-sizing:border-box;padding:12px}body:has(#popup-consult[style*="flex"]){overflow:hidden}
#popup-consult .tp-popup-content.tp-popup-large{padding:0;width:736px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;border-radius:16px;background:#fff}
#popup-consult .tp-popup-close{position:absolute;left:12px;top:12px;width:28px;height:28px;line-height:24px;padding:0;border:0;border-radius:6px;background:#fff;color:#777;font-size:22px;cursor:pointer;z-index:1}
#popup-consult .cr-surface h2{padding-left:24px}
@media(max-width:600px){.cr-page{margin:24px auto 40px}.cr-surface{padding:22px 18px}.cr-surface h2{font-size:17px}.cr-grid{grid-template-columns:minmax(0,1fr);gap:12px}.cr-surface .cr-guidance{padding:12px}.cr-surface .cr-intro{font-size:13px}.cr-surface label{font-size:13px}#popup-consult .tp-popup-content.tp-popup-large{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.cr-auth-actions{flex-wrap:wrap}.cr-surface #cr-auth{margin-top:0}}

.cr-auth-method{display:flex;gap:12px;align-items:center;font-size:12px;color:#666;margin:0 0 6px}.cr-auth-method label{display:inline-flex!important;align-items:center;gap:4px}.cr-auth-method input{width:13px!important;height:13px!important;margin:0!important;accent-color:#e9ae00}

/* Compact consultation flow; only the selected contact is shown. */
.cr-surface form{gap:12px}.cr-surface .cr-guidance{padding:8px 12px}.cr-guidance summary{cursor:pointer;font-weight:600}.cr-guidance>strong{margin-top:10px}.cr-surface textarea{height:86px;min-height:86px}.cr-surface #cr-auth{margin-top:0;gap:10px}.cr-surface .cr-auth-method{font-size:15px;flex-wrap:wrap;gap:12px;margin:0}.cr-auth-method label{background:#f7f8fa;border:1px solid #ddd;border-radius:8px;padding:6px 12px}.cr-auth-method label:has(input:checked){background:#fff5d5;border-color:#e6b322}.cr-surface .cr-auth-method input{width:16px!important;height:16px!important}.cr-surface #cr-send{background:#ffc000;border-color:#ffc000;font-size:13px;padding:7px 14px}.cr-surface #cr-message:not(:empty){padding:10px 12px;border:1px solid #aed5bf;border-radius:8px;background:#edf8f1;color:#17633c;font-size:14px}.cr-surface #cr-message[data-error="1"]{background:#fff0f1;border-color:#efb3b8;color:#942035;font-weight:600}.cr-names{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
