
/* V16: product content editor and secure support UX */
.rich-editor-section,.product-media-box{border:1px solid #e3e6e3;border-radius:17px;background:#fff;margin:26px 0;padding:22px;box-shadow:none}
.rich-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:19px}.rich-editor-heading h3{font-size:24px;letter-spacing:-.035em;line-height:1.25;margin:5px 0 8px}.rich-editor-heading p,.product-media-box p{margin:0;color:#687069;font-size:15px;line-height:1.6}.rich-editor-label{border:1px solid #efd4c9;color:#c7371d;background:#fff5ef;padding:8px 12px;border-radius:8px;font-size:14px;font-weight:800;white-space:nowrap}.rich-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.rich-mode{border:1px solid #e4e5e4;background:#fff;padding:10px 16px;border-radius:9px;color:#5a5f5b;font-size:14px;font-weight:800}.rich-mode.active{border-color:#f04c2b;background:#fff5f0;color:#bf321a}.rich-editor-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;background:#f8f8f8;border:1px solid #e3e4e2;border-radius:11px 11px 0 0;padding:10px}.rich-editor-toolbar select{background:#fff;border:1px solid #dedfdd;border-radius:7px;padding:9px;min-height:40px;font-size:14px}.rich-editor-toolbar button,.rich-editor-toolbar .rich-upload{min-width:38px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid #e3e4e2;border-radius:7px;color:#282828;padding:0 10px;font-size:14px;font-weight:750;cursor:pointer}.rich-editor-toolbar button:hover,.rich-editor-toolbar .rich-upload:hover{background:#fff4ed;border-color:#eec4b6}.rich-content,.rich-html-source,.rich-preview{width:100%;min-height:350px;border:1px solid #e3e4e2;border-top:0;border-radius:0 0 11px 11px;padding:24px;background:#fff;color:#20201f;outline:0;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.rich-content:focus{border-color:#f04c2b}.rich-html-source{display:block;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;line-height:1.55;background:#101b17;color:#eaf4ed}.rich-html-source[hidden],.rich-content[hidden],.rich-preview[hidden],.rich-editor-toolbar[hidden]{display:none!important}.rich-content h2,.rich-preview h2,.product-rich-description h2{font-size:32px;line-height:1.2;letter-spacing:-.04em;color:#1b1b1b;margin:30px 0 15px}.rich-content h3,.rich-preview h3,.product-rich-description h3{font-size:24px;line-height:1.28;color:#1b1b1b;margin:23px 0 12px}.rich-content h4,.rich-preview h4,.product-rich-description h4{font-size:19px;margin:20px 0 10px}.rich-content p,.rich-preview p,.product-rich-description p{font-size:16px;line-height:1.75;margin:0 0 18px;color:#464646}.rich-content ul,.rich-preview ul,.product-rich-description ul,.rich-content ol,.rich-preview ol,.product-rich-description ol{padding-left:25px;margin:15px 0 23px}.rich-content li,.rich-preview li,.product-rich-description li{font-size:16px;margin:9px 0;color:#414141}.rich-content figure,.rich-preview figure,.product-rich-description figure{margin:25px 0}.rich-content img,.rich-preview img,.product-rich-description img{max-width:100%;height:auto;border-radius:12px;display:block;margin:14px 0}.rich-content figcaption,.rich-preview figcaption,.product-rich-description figcaption{font-size:14px;color:#646464;margin-top:8px}.rich-content table,.rich-preview table,.product-rich-description table{border-collapse:collapse;width:100%;margin:25px 0}.rich-content th,.rich-content td,.rich-preview th,.rich-preview td,.product-rich-description th,.product-rich-description td{padding:13px 15px;border:1px solid #e2e2df;text-align:left;font-size:15px}.rich-content th,.rich-preview th,.product-rich-description th{background:#f8f8f7}.rich-content a,.rich-preview a,.product-rich-description a{color:#dc3c1f;text-decoration:underline}.rich-content blockquote,.rich-preview blockquote,.product-rich-description blockquote{border-left:3px solid #ef4b2b;background:#faf9f8;padding:14px 20px;margin:24px 0}.rich-editor-bottom{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:12px;color:#697069}.rich-editor-bottom p,.rich-editor-bottom span{margin:0;font-size:14px}.product-media-box{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.product-media-box label:not(.btn){display:block;font-weight:800;font-size:16px;margin-bottom:8px}.product-cover-preview{height:190px;border:1px solid #e4e5e4;border-radius:11px;overflow:hidden;background:#f5f5f4;display:flex;align-items:center;justify-content:center;color:#737373;margin-top:14px}.product-cover-preview img{width:100%;height:100%;object-fit:cover}.product-cover-actions{display:grid;gap:12px}.product-cover-actions .btn{cursor:pointer}.product-rich-description{margin:26px 0 24px;border-top:1px solid #e5e4e1;padding-top:8px}.product-rich-description>*:first-child{margin-top:15px}.product-rich-description img{width:auto;max-width:100%}
.secure-access-box{border:1px solid #e4d9cb;border-radius:14px;padding:18px;background:#fffefa;margin-top:24px}.secure-access-top{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.secure-access-icon{height:38px;min-width:38px;background:#fff0e9;color:#d4391b;border-radius:10px;display:grid;place-items:center}.secure-access-top h3{font-size:19px;margin:4px 0 7px;letter-spacing:-.025em}.secure-access-top p,.secure-share-entry p,.access-reason{font-size:14px;color:#555b55;line-height:1.65;margin:0}.access-summary{display:grid;gap:11px;background:#f7f7f5;border:1px solid #e8e8e5;border-radius:10px;padding:14px;margin:14px 0}.access-summary>div{display:grid;gap:2px}.access-summary span{font-size:13px;color:#6a7068}.access-summary b{font-size:14px;color:#1c2a20;overflow-wrap:anywhere}.access-reason{padding-bottom:15px}.access-request-form{display:grid;gap:13px}.access-request-form .admin-form-grid{grid-template-columns:1fr}.secure-share-entry{border:1px solid #ebe9e5;border-radius:10px;padding:14px;background:#fff}.secure-share-entry>b{font-size:15px;display:block;margin-bottom:8px}.secure-share-disabled{padding:13px 12px;margin-top:14px;background:#f3f3f3;border-radius:8px;font-size:14px;line-height:1.6;display:flex;gap:9px;color:#616763}
@media(max-width:720px){.rich-editor-section,.product-media-box{padding:16px}.product-media-box{grid-template-columns:1fr}.rich-editor-heading{display:block}.rich-editor-label{display:inline-block;margin-top:12px}.rich-content,.rich-html-source,.rich-preview{padding:15px;min-height:300px}.rich-editor-bottom{display:block}.rich-editor-bottom span{display:block;margin-top:8px}.product-rich-description h2{font-size:26px}}

/* Dedicated access handoff panel spans ticket content, never squeezes into status sidebar. */
.ticket-detail>.secure-access-box{margin-top:26px;padding:24px;background:#fff;border-color:#e3e6e3}.ticket-detail>.secure-access-box .secure-access-top{max-width:820px}.ticket-detail>.secure-access-box .access-request-form{max-width:830px}.ticket-detail>.secure-access-box .access-request-form .admin-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-detail>.secure-access-box .access-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ticket-detail>.secure-access-box .access-request-form .field{min-width:0}.ticket-detail>.secure-access-box .secure-share-entry{max-width:820px}
@media(max-width:720px){.ticket-detail>.secure-access-box{padding:18px}.ticket-detail>.secure-access-box .access-request-form .admin-form-grid,.ticket-detail>.secure-access-box .access-summary{grid-template-columns:1fr}}
