/* JR Confecções — Pós-venda PRO, cliente + administrador */
.v9-customer-dashboard{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;width:100%;max-width:1120px;margin:42px auto 90px;text-align:left}
.v9-panel{border:1px solid #e5e8ed;border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(20,27,37,.035);padding:clamp(18px,2.5vw,32px);color:#1c2026;min-width:0}
.v9-panel h2{font-size:clamp(19px,2.1vw,28px);line-height:1.3;margin:4px 0 12px;letter-spacing:-.8px}
.v9-panel p{font-size:14px;line-height:1.65;color:#535b67}
.v9-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:22px}
.v9-section-heading span:first-child,.v9-admin-header>span{font-size:10px;letter-spacing:2px;font-weight:850;color:#ed102f}
.v9-section-heading p{margin:8px 0 0}.v9-tag{display:inline-block;padding:6px 10px;border-radius:8px;background:#f1f3f6;color:#38404b;font-size:11px;font-weight:750;white-space:normal}
.v9-timeline{display:grid;gap:0;margin-top:20px}.v9-event{display:flex;gap:18px;position:relative;min-height:63px}.v9-event:not(:last-child)::after{content:'';position:absolute;top:33px;bottom:0;left:15px;border-left:1px dashed #cdd1d7}.v9-event>b{width:31px;height:31px;border-radius:50%;background:#ed1230;color:#fff;display:grid;place-items:center;flex-shrink:0;z-index:1}.v9-event strong{display:block;font-size:13px}.v9-event small{display:block;color:#848b95;font-size:11px;margin-top:5px}
.v9-art-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px;margin-bottom:25px}.v9-art-card{padding:18px;border:1px solid #e2e6eb;border-radius:13px;background:#fbfbfc;display:flex;flex-direction:column;gap:12px}.v9-art-card strong{display:block;font-size:14px}.v9-art-card small{display:block;color:#7d838c;margin:7px 0 10px}.v9-art-card a{font-size:13px;color:#d10c24;font-weight:700}.v9-art-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v9-art-buttons button{background:#12161b;color:white;border:0;border-radius:7px;padding:10px 7px;font-size:12px;font-weight:700;cursor:pointer}.v9-art-buttons button+button{background:#fff;color:#c0192c;border:1px solid #f0c3c9}
.v9-live-dot{font-size:11px!important;letter-spacing:0!important;color:#127852!important;background:#e9f8ef;padding:7px 10px;border-radius:20px;white-space:nowrap}
.v9-messages{display:flex;flex-direction:column;gap:12px;max-height:480px;overflow:auto;background:#f6f7f8;border:1px solid #e7e9ee;padding:20px;border-radius:15px;min-height:150px;margin:16px 0}.v9-bubble{align-self:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:14px 17px;max-width:85%;overflow-wrap:anywhere}.v9-bubble.staff{align-self:flex-end;background:#fff1f3;border-color:#f6d7dd}.v9-bubble small{color:#737c88;font-size:10px}.v9-bubble p{white-space:pre-wrap;font-size:14px;color:#232831;margin:10px 0}.v9-bubble a{font-weight:700;font-size:12px;color:#ce112a}.v9-empty-chat{margin:auto;color:#7b818a;font-size:13px}
.v9-chat-form label,.v9-settings-form label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:12px}.v9-chat-form textarea,.v9-settings-form input,.v9-access-form input{box-sizing:border-box;width:100%;border:1px solid #d7dce3;border-radius:9px;padding:13px 14px;background:#fff;color:#15191f;font:inherit;font-size:13px}.v9-chat-form textarea:focus,.v9-settings-form input:focus{outline:2px solid #fbc7cf;border-color:#e91230}.v9-send-row,.v9-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:15px}.v9-chat-form>p{font-size:11px!important;color:#87909b!important}.v9-file-label{display:flex!important;gap:8px;cursor:pointer;border:1px dashed #c9cdd5;border-radius:9px;padding:10px 12px;background:#fff;font-size:12px!important;max-width:100%;overflow-wrap:anywhere}.v9-file-label input{max-width:220px;width:100%;font-size:11px;font-weight:400}.v9-access-form{display:grid;gap:12px}
.v9-admin-header{padding:25px 28px;border-radius:20px;background:linear-gradient(115deg,#121820,#303843);color:#fff;margin-bottom:22px}.v9-admin-header h1{font-size:clamp(24px,3vw,36px);letter-spacing:-1px;margin:10px 0}.v9-admin-header p{max-width:700px;color:#bcc4ce;line-height:1.6;font-size:13px}.v9-admin-metrics{display:flex;gap:13px;flex-wrap:wrap;margin-top:20px}.v9-admin-metrics>div{background:#ffffff15;border:1px solid #ffffff20;border-radius:12px;padding:12px 20px;min-width:120px}.v9-admin-metrics strong{display:block;font-size:27px}.v9-admin-metrics small{font-size:10px;color:#cdd2da}
.v9-admin-layout{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);gap:22px}.v9-order-list{border-radius:17px;background:#fff;border:1px solid #e4e7ee;padding:14px;max-height:850px;overflow:auto}.v9-order-list h3{font-size:15px;padding:4px 9px 12px}.v9-order-list button{display:block;width:100%;padding:15px 11px;border:1px solid transparent;border-bottom-color:#eceef1;background:#fff;text-align:left;cursor:pointer;border-radius:8px}.v9-order-list button.selected,.v9-order-list button:hover{border:1px solid #ffd4dc;background:#fff5f6}.v9-order-list strong{font-size:12px;display:block}.v9-order-list button strong span{font-size:9px;color:#dd1430}.v9-order-list small{display:block;margin-top:6px;color:#727b87;line-height:1.5;font-size:11px}.v9-order-workspace,.v9-order-workspace .v9-customer-dashboard{margin:0}.v9-toolbar,.v9-status-edit{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;background:white;border-radius:13px;border:1px solid #e3e6ed;margin-bottom:14px;flex-wrap:wrap}.v9-toolbar a{font-size:12px;color:#d30d26}.v9-status-edit{margin:15px 0 30px}.v9-status-edit label{display:flex;flex-direction:column;font-weight:750;font-size:12px;gap:8px}.v9-status-edit select{min-width:230px;padding:11px;border-radius:8px;background:#fff;border:1px solid #cbd2da}.v9-status-edit p{font-size:12px;color:#65707c;max-width:320px}
.v9-email-layout{display:grid;grid-template-columns:minmax(300px,440px) minmax(0,1fr);gap:20px}.v9-settings-form{display:flex;flex-direction:column;gap:16px}.v9-settings-form h2{margin:0}.v9-check{display:flex!important;flex-direction:row!important;align-items:center}.v9-check input{width:auto}.v9-mail-queue{display:grid;gap:10px;max-height:640px;overflow-y:auto}.v9-mail-row{border-bottom:1px solid #e7e8eb;padding:12px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.v9-mail-row strong{display:block;font-size:12px}.v9-mail-row small{display:block;font-size:11px;color:#66707d;margin-top:3px}.v9-mail-row button{font-size:11px;border:1px solid #ccc;background:#fff;border-radius:6px;padding:7px}.v9-custom-setting{margin-top:18px;padding:17px 20px;border-radius:12px;background:#fff6f7;border:1px solid #f6ced6}.v9-custom-setting label{display:flex;gap:10px;align-items:center;font-size:13px}.v9-custom-setting input{width:19px;height:19px;accent-color:#e30613}.v9-custom-setting p{font-size:12px;line-height:1.6;margin:8px 0 0 29px;color:#646875}
@media(max-width:850px){.v9-admin-layout,.v9-email-layout{grid-template-columns:1fr}.v9-order-list{max-height:250px}.v9-admin-header{padding:20px}.v9-customer-dashboard{margin:22px auto 50px}.v9-section-heading{flex-direction:column}.v9-live-dot{white-space:normal}.v9-art-grid{grid-template-columns:1fr}}
@media(max-width:480px){.v9-panel{padding:16px;border-radius:14px}.v9-messages{padding:12px}.v9-bubble{max-width:95%;padding:11px}.v9-send-row .btn{width:100%}.v9-art-buttons{grid-template-columns:1fr}.v9-admin-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.v9-admin-metrics>div{min-width:0}.v9-order-list{padding:8px}}

.v9-product-custom-notice{border:1px solid #f4c3cc;background:#fff6f7;border-radius:12px;padding:15px;margin:16px 0}.v9-product-custom-notice strong{font-size:12px;color:#c41731;letter-spacing:.5px}.v9-product-custom-notice p{font-size:12px;line-height:1.6;color:#545861;margin:7px 0 0}.v9-template-selector{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 25px}.v9-template-selector button{border:1px solid #d6dce3;border-radius:999px;padding:8px 13px;background:#fff;color:#28303b;font-size:11px;cursor:pointer}.v9-template-selector button:hover{border-color:#ea1737;color:#b01029}.v9-settings-form textarea{width:100%;min-height:150px;box-sizing:border-box;border:1px solid #d7dce3;border-radius:9px;padding:14px;font:inherit;font-size:12px}.v9-panel pre{white-space:pre-wrap;word-break:break-word;font-size:12px;line-height:1.8;padding:14px;background:#f4f5f7;border:1px solid #e3e7eb;border-radius:9px}.v9-panel code{background:#f7f0f1;color:#b00c26;padding:5px;border-radius:5px;word-break:break-all}

#jrUnreadChatBadge{position:fixed;bottom:22px;right:24px;z-index:999;background:#e30613;color:#fff;border:0;box-shadow:0 8px 30px #1113;border-radius:30px;padding:12px 20px;font-weight:800;cursor:pointer}#jrUnreadChatBadge[hidden]{display:none}
