.obai-prompt-check{display:flex;gap:9px;align-items:center;margin:12px 0;font:inherit;cursor:pointer}.obai-prompt-check>i{color:#fca244}.obai-prompt-check input{position:absolute;opacity:0;width:1px;height:1px}.obai-prompt-check:focus-within{outline:2px solid #fca244;outline-offset:4px}.obai-prompt-check.is-checked .obds-choice-mark{background:#fca244;color:#0f1827}.obai-prompt-box{background:linear-gradient(145deg,#fff8ee,#fff);border:1px solid #f5d1a6;border-radius:20px;padding:20px;margin:16px 0;color:#0f1827;font:inherit}.obai-prompt-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;max-height:440px;overflow:auto;margin-bottom:16px;font:inherit}.obai-prompt-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.obai-prompt-actions .obai-execute{flex:2;min-width:210px;background:#fca244;color:#0f1827}.obai-prompt-actions .ghost{flex:1}.obai-files{margin:12px 0}.obai-file-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:14px;border:1px solid #fed7aa;border-radius:16px;margin:8px 0;background:#fffaf4}.obai-file-label{display:flex;gap:10px;align-items:center;flex:1;min-width:140px;overflow-wrap:anywhere}.obai-file-label>i{color:#fca244;font-size:26px}.obai-dialog{width:min(900px,94vw);max-height:90dvh;overflow:auto;border:1px solid #fed7aa;border-radius:22px;padding:22px;color:#0f1827;background:#fff;font-family:inherit;box-shadow:0 24px 90px #0005}.obai-dialog::backdrop{background:#0f1827b3}.obai-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.obai-dialog button,.obai-dialog a{font:inherit;padding:10px 16px;border-radius:12px;border:1px solid #fed7aa;background:#fff8ed;color:#0f1827;cursor:pointer;text-decoration:none}.obai-file-frame{width:100%;height:65vh;border:0}.obai-file-image{max-width:100%;height:auto;display:block;margin:12px auto}.obai-dialog [disabled]{opacity:.6;cursor:wait}@media(max-width:550px){.obai-prompt-box{padding:14px}.obai-dialog{padding:14px}.obai-prompt-actions{flex-direction:column}.obai-file-row .obds-btn{flex:1}}

/* 1.2.366: consistent fields and attachment spacing */
html body .obds-wrap .obai-prompt-check{margin:14px 0 24px!important}
html body .obds-wrap .obai-output-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px;grid-column:1/-1;width:100%}
html body .obds-wrap .obai-output-field>span{color:#64748b;font-size:13px;font-weight:800;display:flex;align-items:center;gap:7px}
html body .obds-wrap .obai-output-field select{width:100%;box-sizing:border-box}
html body .obds-wrap .obai-upload-heading{display:block;margin-top:20px!important;margin-bottom:8px!important}
html body .obds-wrap .obds-drop-hint{display:block;margin:0 0 12px!important;line-height:1.7}
html body .obds-wrap .obds-drop-hint[hidden]{display:none!important}

html body .obds-wrap .obai-upload-heading,html body .obds-wrap .obai-upload-heading i{color:#0f1827!important}
html body .obds-wrap .obai-prompt-check{font-weight:950!important;justify-content:flex-start!important}
html body .obds-wrap .obai-prompt-check>span{font-weight:950!important}
html body .obds-wrap .obai-prompt-check .obds-choice-mark{margin:0!important;flex:0 0 auto}
.obai-stage-preview{margin:18px 0;overflow:hidden;border-radius:18px}.obai-stage-preview>img{display:block;width:100%;height:auto}
.obai-update-dialog{font-family:inherit;width:min(720px,calc(100vw - 28px));max-height:90dvh;box-sizing:border-box;padding:0;border:1px solid #fed7aa;border-radius:26px;background:#fff;box-shadow:0 30px 120px #0006;overflow:auto;color:#0f1827;animation:obai-notice-enter .3s ease-out}
.obai-update-dialog::backdrop{background:#0f1827aa;backdrop-filter:blur(7px)}
.obai-update-header{position:relative;padding:28px;background:radial-gradient(ellipse at top left,#ffe0b3,transparent 65%),#fffaf3;border-bottom:1px solid #ffedd5}
.obai-update-badge{display:inline-flex;background:#0f1827;color:#fff;border-radius:30px;padding:7px 13px;font-size:12px;font-weight:800;letter-spacing:.3px}
.obai-update-header h2{font-family:inherit;font-weight:900;font-size:28px;line-height:1.5;color:#0f1827;margin:15px 0 5px}.obai-update-header p{font:inherit;color:#64748b;margin:0;line-height:1.8}
.obai-update-close{position:absolute;inset-inline-end:20px;top:20px;border:1px solid #fed7aa;background:#fff;border-radius:12px;padding:9px 15px;font:inherit;font-weight:800;color:#0f1827;cursor:pointer}
.obai-update-dialog>img{display:block;width:100%;height:auto}.obai-update-close:focus-visible{outline:3px solid #FCA244;outline-offset:3px}
@keyframes obai-notice-enter{from{opacity:0;transform:translateY(15px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.obai-update-dialog{animation:none}}
@media(max-width:500px){.obai-update-header{padding:22px 18px}.obai-update-header h2{font-size:23px}.obai-update-close{inset-inline-end:14px;top:16px}}

/* 1.2.368: both quick and detailed mode attachment headings, icon and text */
html body .obds-wrap label.obai-upload-heading,
html body .obds-wrap label.obai-upload-heading i,
html body .obds-wrap label.obai-upload-heading span,
html body .obds-wrap label.obai-upload-heading small{color:#0f1827!important;opacity:1!important}
html body .obds-wrap .obai-file-recovery{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:6px 12px;margin:8px 0}
html body .obds-wrap .obai-file-recovery p{flex:0 1 auto;margin:0}
html body .obds-wrap .obai-file-recovery button.obai-retry-file{
 appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;width:auto!important;min-width:0!important;min-height:34px;height:auto!important;
 margin:0;padding:4px 11px!important;border:1px solid #e8c9aa;border-radius:20px;background:#fff8f0!important;box-shadow:none!important;
 color:#8a430c!important;-webkit-text-fill-color:currentColor;font:inherit;font-size:13px!important;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer
}
html body .obds-wrap .obai-file-recovery button.obai-retry-file:is(:hover,:focus-visible){border-color:#ce8543;background:#fff0dd!important}
html body .obds-wrap .obai-file-recovery button.obai-retry-file:focus-visible{outline:2px solid #9a541e;outline-offset:2px}
html body .obds-wrap .obai-file-recovery button.obai-retry-file:disabled{opacity:.65;cursor:wait}
html body .obds-wrap .obai-stage-actions{display:flex;justify-content:center;margin:12px 0 10px}
html body .obds-wrap .obai-cancel-file{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:#0f1827;color:#fff;border:1px solid #0f1827;border-radius:12px;font-weight:900;cursor:pointer;padding:12px 18px;font-family:inherit;max-width:100%}
html body .obds-wrap .obai-cancel-file:hover{background:#25354a}
html body .obds-wrap .obai-cancel-file:disabled{opacity:.6;cursor:wait}
html body .obds-wrap .obai-stage-preview .obds-card-processing{margin-top:8px}
html body .obds-wrap .obai-stage-message{font-weight:800;color:#0f1827;text-align:center;line-height:1.6}
html body .obds-wrap .obai-revision-output{margin-bottom:12px}

/* 1.2.370: Quick mode needs its own color override (including WebKit text fill). */
html body .obds-wrap [data-obds-mode-panel="quick"] form[data-obds-quick] label.obai-upload-heading.obai-quick-upload-dark,
html body .obds-wrap [data-obds-mode-panel="quick"] form[data-obds-quick] label.obai-upload-heading.obai-quick-upload-dark i,
html body .obds-wrap [data-obds-mode-panel="quick"] form[data-obds-quick] label.obai-upload-heading.obai-quick-upload-dark span{color:#0F1827!important;-webkit-text-fill-color:#0F1827!important;opacity:1!important;text-shadow:none!important;filter:none!important;}

/* 1.2.373: readable prompts and shared responsive viewer controls. */
.obai-prompt-text{white-space:normal;line-height:1.9}.obai-prompt-text h4{font-family:inherit;font-weight:900;font-size:17px;line-height:1.6;margin:18px 0 8px;padding-inline-start:10px;border-inline-start:3px solid #fca244;color:#0f1827}.obai-prompt-text h4:first-child{margin-top:0}.obai-prompt-text p{margin:0 0 12px;white-space:pre-wrap}.obai-prompt-text strong{font-weight:900}.obai-prompt-text ul{padding-inline-start:22px;margin:6px 0 14px}.obai-prompt-text li{padding:3px 0}
html body .obds-wrap .obai-prompt-check{margin:4px 0 10px!important;min-height:36px!important;padding:0!important;align-self:start}
html body .obds-wrap .obai-upload-heading{margin-top:6px!important;margin-bottom:6px!important}
html body .obds-wrap .obds-account-save,html body .obds-wrap .obds-account-save i{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .obds-wrap .obds-account-logout{background:#0f1827!important;border-color:#0f1827!important;color:#fff!important;-webkit-text-fill-color:#fff!important}html body .obds-wrap .obds-account-logout i{color:#fff!important;-webkit-text-fill-color:#fff!important}
.obai-file-row{gap:8px;padding:10px 12px}.obai-file-action{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:52px;min-height:48px;padding:6px 10px;background:#fff;border:1px solid #e5e7eb;border-radius:13px;color:#0f1827;text-decoration:none;font-family:inherit;font-weight:700;font-size:11px;line-height:1.2;cursor:pointer}.obai-file-action i{font-size:19px;color:#a6560d}.obai-file-action:hover{background:#fff0dc;border-color:#fca244}.obai-file-action span{font-size:11px}.obai-file-label{min-width:100px;font-size:13px}
.obai-dialog button.obai-round{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#fca244;color:#fff;flex-shrink:0}.obai-round:focus-visible,.obai-file-action:focus-visible{outline:3px solid #3182ce;outline-offset:3px}
.obai-print-dialog{padding:0;width:min(1040px,calc(100vw - 20px));max-height:94vh;max-height:94dvh;overflow:hidden;background:#edf0f5}.obai-print-dialog .obai-dialog-head{margin:0;padding:12px 16px;background:#0f1827;color:#fff}.obai-preview-tools{display:flex;justify-content:center;align-items:center;gap:10px;padding:10px}.obai-preview-tools span{min-width:70px;text-align:center;font-variant-numeric:tabular-nums}.obai-page-stage{height:58vh;height:58dvh;overflow:auto;padding:16px;box-sizing:border-box;overscroll-behavior:contain}.obai-preview-paper{width:100%;max-width:none;margin:0 auto;box-shadow:0 8px 28px #0f182724;background:#fff}.obai-preview-paper canvas,.obai-preview-paper img{display:block;width:100%;height:auto;max-width:none;margin:0}.obai-preview-status{text-align:center;color:#64748b;font-size:12px;line-height:1.7}.obai-preview-footer{display:flex;justify-content:center;padding:12px max(16px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom));background:#fff}.obai-dialog a.obai-primary-download{display:inline-flex;gap:9px;align-items:center;justify-content:center;background:#0f1827;color:#fff;border:0;min-width:150px}.obai-primary-download i{font-size:22px}.obai-primary-download span{font-size:13px}
html body .obds-wrap .obds-viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;flex-wrap:wrap}
html body .obds-wrap .obds-viewer-tools{display:flex;align-items:center;gap:7px;flex-shrink:0}
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-download,.obds-history-viewer-close,.obds-history-viewer-nav){position:static!important;inset:auto!important;transform:none!important;display:inline-flex;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fca244!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important}
html body .obds-wrap .obds-viewer-tools [hidden]{display:none!important}html body .obds-wrap .obds-viewer-tools i{color:#fff!important;font-size:20px!important}html body .obds-wrap .obds-viewer-bar .obds-history-viewer-title{position:static!important;margin:0!important;padding:0!important;font-size:13px;flex:1}
html body .obds-wrap .obds-history-viewer-box{padding:0 8px 8px!important;max-height:94vh;max-height:94dvh}html body .obds-wrap .obds-history-viewer-media{max-height:calc(94dvh - 78px)!important;overflow:auto}html body .obds-wrap .obds-history-viewer-media img{max-height:calc(94dvh - 84px)!important}
@media(max-width:550px){.obai-file-row{flex-wrap:nowrap}.obai-file-label{min-width:0}.obai-file-label>span{overflow-wrap:anywhere}.obai-file-action{padding:6px;min-width:48px}.obai-dialog{box-sizing:border-box}.obai-preview-tools{gap:7px}.obai-page-stage{padding:10px;height:58dvh}.obds-viewer-bar{flex-direction:column;align-items:stretch!important}.obds-viewer-tools{justify-content:center}.obds-history-viewer-title{text-align:center}}

.obai-preview-footer{flex-wrap:wrap;gap:8px}.obai-print-spec{flex-basis:100%;margin:0;text-align:center;font-size:11px;line-height:1.7;color:#64748b}

/* 1.2.374: consistent control colors and compact prompt spacing. */
html body .obds-wrap textarea.obai-prompt-details{display:block;margin-bottom:2px!important}
html body .obds-wrap .obai-prompt-check{display:flex!important;width:fit-content;min-height:28px!important;height:auto!important;margin:0 0 3px!important;padding:0!important;line-height:1.4}
html body .obds-wrap .obai-prompt-check + .obai-upload-heading{margin-top:0!important;margin-bottom:3px!important}
html body .obds-wrap .obai-prompt-check + .obds-trial-upload-row{margin-top:0!important;padding-top:0!important}
html body .obds-wrap .obai-file-row .obai-file-action{color:#a6560d!important;-webkit-text-fill-color:#a6560d!important;background:#fff!important;border-color:#e5e7eb!important;transition:background .18s,color .18s,border-color .18s}
html body .obds-wrap .obai-file-row .obai-file-action :is(i,span){color:inherit!important;-webkit-text-fill-color:inherit!important}
html body .obds-wrap .obai-file-row .obai-file-action:is(:hover,:focus-visible){background:#a6560d!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#a6560d!important}
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-download,.obds-history-viewer-close,.obds-history-viewer-nav){transition:background .18s,color .18s}
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-download,.obds-history-viewer-close,.obds-history-viewer-nav):not(:disabled):is(:hover,:focus-visible){background:#fff!important;color:#fca244!important}
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-download,.obds-history-viewer-close,.obds-history-viewer-nav):not(:disabled):is(:hover,:focus-visible) i{color:#fca244!important}
.obai-dialog button.obai-round:not(:disabled):is(:hover,:focus-visible){background:#fff;color:#fca244}
.obai-dialog a.obai-primary-download:is(:hover,:focus-visible){background:#fff;color:#0f1827;box-shadow:inset 0 0 0 1px #0f1827}
.obai-dialog .obai-round i,.obai-dialog .obai-primary-download :is(i,span){color:inherit}
.obai-preview-status[hidden]{display:none!important}

/* Icon-only file actions with download feedback. */
html body .obds-wrap .obai-file-row .obai-file-action{flex-direction:row;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;gap:0}
.obai-dialog a.obai-primary-download{min-width:44px;width:44px;height:44px;padding:0;border-radius:50%}
.obai-file-action[aria-busy=true],.obai-primary-download[aria-busy=true]{opacity:.55;cursor:wait}
.obai-download-error{font-size:12px;color:#b42318;flex-basis:100%;text-align:center}

/* 1.2.376: trial headings and transparent file controls. */
html body .obds-free-trial .obds-trial-section-title,html body .obds-free-trial .obds-trial-section-title i{color:#fca244!important;-webkit-text-fill-color:#fca244!important}
body:has(.obds-free-trial) :is(#obdm-lc-launcher,#obdm-lc-launcher-preview,#obdm-lc-widget){display:none!important}
html body .obds-wrap .obai-file-row .obai-file-action{background:transparent!important;border:0!important;box-shadow:none!important;color:#fca244!important;-webkit-text-fill-color:#fca244!important;transition:color .18s,transform .18s}
html body .obds-wrap .obai-file-row .obai-file-action:is(:hover,:focus-visible){background:transparent!important;color:#d96d06!important;-webkit-text-fill-color:#d96d06!important;transform:translateY(-2px) scale(1.08)}
html body .obds-wrap .obai-file-row .obai-file-action:active{transform:scale(.94)}

.obai-dialog a.obai-primary-download{background:transparent!important;color:#fca244!important;box-shadow:none!important;transition:color .18s,transform .18s}.obai-dialog a.obai-primary-download:is(:hover,:focus-visible){background:transparent!important;color:#d96d06!important;box-shadow:none!important;transform:translateY(-2px) scale(1.08)}

.obai-stage-image-link{display:block;cursor:zoom-in}.obai-stage-image-link>.obds-img{display:block;width:100%;height:auto}

/* 1.2.388: prompt versions and readable hover/focus on desktop and touch. */
html body .obds-wrap .obai-prompt-actions .obds-btn{transition:background .18s,color .18s,border-color .18s;transform:none!important}
html body .obds-wrap .obai-prompt-actions .obai-execute{background:#fca244!important;border-color:#fca244!important;color:#0f1827!important;-webkit-text-fill-color:#0f1827!important}
html body .obds-wrap .obai-prompt-actions .obai-regenerate{background:#fff!important;border-color:#e5e7eb!important;color:#0f1827!important;-webkit-text-fill-color:#0f1827!important}
html body .obds-wrap .obai-prompt-actions .obds-btn:not(:disabled):is(:hover,:focus-visible){background:#0f1827!important;border-color:#0f1827!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .obds-wrap .obai-prompt-actions .obds-btn i{color:inherit!important;-webkit-text-fill-color:inherit!important}
html body .obds-wrap .obai-prompt-actions .obds-btn:focus-visible{outline:3px solid #fca244;outline-offset:3px}
html body .obds-wrap .obai-prompt-actions .obds-btn:disabled{opacity:.55;cursor:wait}
html body .obds-wrap .obai-copy-prompt,.obai-dialog .obai-copy-prompt{font-size:12px!important;line-height:1.5!important;padding:8px 12px!important;min-height:40px;font-weight:600!important}
html body .obds-wrap .obai-copy-prompt i,.obai-dialog .obai-copy-prompt i{font-size:12px!important}
.obai-old-prompt{border:1px solid #f5d1a6;border-radius:14px;margin:10px 0}.obai-old-prompt>summary{cursor:pointer;padding:14px;font-weight:700;color:#0f1827}.obai-old-prompt .obai-prompt-box{margin:0;border:0}.obai-prompt-version-title{display:block;margin-bottom:12px}.obai-prompt-date{display:block;color:#64748b;margin-bottom:10px}

/* v390: accessible prompt disclosure and aligned optional field labels. */
html body .obds-wrap .obai-old-prompt{border:1px solid #f5d1a6;border-radius:18px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
html body .obds-wrap .obai-old-prompt>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:16px 18px;background:linear-gradient(120deg,#fff9f0,#fff);font-size:15px;line-height:1.6;transition:background .2s,color .2s}
.obai-old-prompt>summary::-webkit-details-marker{display:none}
.obai-prompt-heading{display:flex;align-items:center;gap:10px;flex:1}.obai-prompt-heading>i{color:#dc8b30}
.obai-prompt-latest{font-size:11px;border:1px solid #f5d1a6;background:#fff2df;padding:3px 9px;border-radius:20px;color:#93551b}
.obai-prompt-chevron{font-size:12px;transition:transform .22s}
.obai-old-prompt[open]>summary .obai-prompt-chevron{transform:rotate(180deg)}
html body .obds-wrap .obai-old-prompt:is([open],:hover){border-color:#fca244;box-shadow:0 5px 18px #fca24418}
html body .obds-wrap .obai-old-prompt>summary:hover{background:#fff0da}
html body .obds-wrap .obai-old-prompt>summary:focus-visible{outline:3px solid #fca244;outline-offset:-3px}
.obai-old-prompt[open]>.obai-prompt-box{border-top:1px solid #f5d1a6;border-radius:0;animation:obai-prompt-reveal .2s ease-out}
@keyframes obai-prompt-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.obai-prompt-date{font-size:12px;line-height:1.6;color:#64748b;margin-bottom:14px}
html body .obds-wrap .obds-trial-options-body .obds-trial-field>span{color:#0f1827;font-weight:800;display:flex;align-items:center;gap:8px}
html body .obds-wrap .obds-trial-options-body .obds-trial-field>span>i{font-size:16px;width:20px;min-width:20px;text-align:center;color:#fca244}
.obai-font-options .obds-option-card small{overflow-wrap:anywhere}
.obai-files{position:relative;clear:both;min-width:0}
@media(prefers-reduced-motion:reduce){.obai-old-prompt,.obai-old-prompt>summary,.obai-prompt-chevron{transition:none!important}.obai-old-prompt[open]>.obai-prompt-box{animation:none}}

/* Share the shape-picker theme, without global button text-fill/uppercase leakage. */
html body .obds-wrap .obai-font-options .obds-option-card{font-family:inherit;text-transform:none!important}
html body .obds-wrap .obai-font-options .obds-option-card strong{color:#0f1827!important;-webkit-text-fill-color:#0f1827!important;text-transform:none!important}
html body .obds-wrap .obai-font-options .obds-option-card small{color:#9a5800!important;-webkit-text-fill-color:#9a5800!important;text-transform:none!important}

/* Version history uses the same layout in the prompt dialog and admin details. */
:is(.obai-dialog,.obds-admin-modal) .obai-old-prompt>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:16px;background:linear-gradient(120deg,#fff9f0,#fff);font-size:15px;line-height:1.6}
:is(.obai-dialog,.obds-admin-modal) .obai-prompt-heading{display:flex;gap:9px;align-items:center;flex:1;min-width:0}
:is(.obai-dialog,.obds-admin-modal) .obai-prompt-latest{background:#fff1dd;color:#9a4c02;border-radius:20px;padding:3px 8px;white-space:nowrap;font-size:11px}
:is(.obai-dialog,.obds-admin-modal) .obai-prompt-chevron{transition:transform .2s}
:is(.obai-dialog,.obds-admin-modal) .obai-old-prompt[open]>summary .obai-prompt-chevron{transform:rotate(180deg)}

/* 1.2.401: hide page controls even when themed buttons set display. */
.obai-dialog [hidden]{display:none!important}
.obai-print-dialog{background:#0f1827;color:#e2e8f0;border:1px solid #334155}.obai-print-dialog .obai-dialog-head{color:#fff;border-color:#334155}.obai-print-dialog .obai-page-stage{background:#080e19}.obai-print-dialog .obai-preview-tools,.obai-print-dialog .obai-preview-footer{background:#0f1827;color:#e2e8f0}

/* 1.2.404: request design thumbnails; existing toolbar and labels remain intact. */
html body .obds-wrap .obds-history-viewer.has-thumbnails .obds-history-viewer-box{display:flex;flex-direction:column;overflow:hidden}
html body .obds-wrap .obds-history-viewer.has-thumbnails .obds-viewer-bar{flex-shrink:0}
html body .obds-wrap .obds-history-viewer.has-thumbnails .obds-history-viewer-media{min-height:0;flex:1 1 auto}
html body .obds-wrap .obds-history-viewer.has-thumbnails .obds-history-viewer-media :is(img,video){max-height:calc(94dvh - 260px)!important;max-width:100%;object-fit:contain}
html body .obds-wrap .obds-viewer-thumbs{display:flex;gap:10px;padding:12px 4px 4px;overflow-x:auto;flex:0 0 auto;direction:rtl}
html body .obds-wrap .obds-viewer-thumbs[hidden]{display:none!important}
html body .obds-wrap .obds-viewer-thumb{flex:0 0 150px;min-width:0;margin:0;padding:6px;border:2px solid #334155!important;border-radius:12px;background:#18243a!important;color:#c6d3e4!important;box-shadow:none!important;cursor:pointer;font:inherit;text-align:center}
html body .obds-wrap .obds-viewer-thumb[aria-current="true"]{border-color:#fca244!important;background:#2a2c31!important;color:#fff!important}
html body .obds-wrap .obds-viewer-thumb :is(img,video){display:block;width:100%;height:110px;object-fit:contain;border-radius:7px;background:#0b1220;pointer-events:none}
html body .obds-wrap .obds-viewer-thumb span{display:block;margin-top:6px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
html body .obds-wrap .obds-viewer-thumb:focus{outline:none}
html body .obds-wrap .obds-viewer-thumb:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}
@media(max-width:550px){html body .obds-wrap .obds-viewer-thumb{flex-basis:120px}html body .obds-wrap .obds-viewer-thumb :is(img,video){height:85px}html body .obds-wrap .obds-history-viewer.has-thumbnails .obds-history-viewer-media :is(img,video){max-height:calc(94dvh - 280px)!important}}

/* 405: captions use the site typography and stay centered in every viewer. */
.obds-history-viewer-title,.obds-history-viewer-meta,.obds-viewer-thumb,.obds-history-preview span,.obds-admin-file-name,.obds-admin-file-meta,.obai-file-label,.obai-preview-footer{text-align:center!important}
.obds-admin-detail-text>span{font-family:inherit!important;direction:rtl!important;text-align:right!important}
.obai-batch-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* 408: contain summary backgrounds within all four prompt borders. */
html body .obai-dialog .obai-old-prompt{display:block!important;box-sizing:border-box!important;width:100%;min-width:0;border:1px solid #f5d1a6!important;border-radius:14px!important;overflow:hidden!important;margin:10px 0;background:#fff}
html body .obai-dialog .obai-old-prompt>summary{box-sizing:border-box;width:100%;margin:0!important;border:0!important;border-radius:0!important}
/* Administration only: IDs remain in storage and row attributes. */
html body .obds-admin .obai-request-number-column,html body .obds-admin .obds-admin-req-cell{display:none!important}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision){background:transparent!important;background-image:none!important;color:#fca244!important;border:0!important;box-shadow:none!important;border-radius:0!important;outline:none!important;transform:none!important;-webkit-tap-highlight-color:transparent;transition:color .15s;appearance:none}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision) i{color:inherit!important;-webkit-text-fill-color:currentColor!important}
@media(hover:hover) and (pointer:fine){html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):hover{background:transparent!important;color:#0f1827!important}}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):active{background:transparent!important;color:#0f1827!important}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):focus-visible{outline:2px solid #fca244!important;outline-offset:3px}
html body .obds-admin #obds-admin-modal .obds-admin-modal-close{box-shadow:none!important;background:#1b2940!important;color:#f4f7fb!important;-webkit-tap-highlight-color:transparent}
@media(hover:hover) and (pointer:fine){html body .obds-admin #obds-admin-modal .obds-admin-modal-close:hover{background:#f4f7fb!important;color:#1b2940!important}}
html body .obds-admin #obds-admin-modal .obds-admin-modal-close:active{background:#f4f7fb!important;color:#1b2940!important}

/* 409: quieter secondary details and expiry, scoped to admin. */
html body .obds-admin .obds-admin-design-name-more{background:transparent!important;border:0!important;box-shadow:none!important;color:rgba(100,116,139,.38)!important;opacity:1!important;-webkit-tap-highlight-color:transparent}
html body .obds-admin .obds-admin-design-name-more i{color:inherit!important;-webkit-text-fill-color:currentColor!important}
html body .obds-admin .obds-admin-design-name-more:is(:hover,:focus-visible){color:#64748b!important}
html body .obds-admin .obds-admin-expiry{background:transparent!important;border-color:transparent!important;color:#fca244!important;font-weight:500}
html body .obds-admin .obds-admin-expiry:is(.expiring,.expired){color:#dc2626!important}

/* 410: readable primary icons with quieter, proportional badges. */
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision){width:44px!important;height:44px!important;min-width:44px;flex-shrink:0;font-size:23px!important;position:relative}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision)>i{font-size:23px!important;line-height:1}
html body .obds-admin :is(.obds-admin-img-badge,.obai-copy-count,.obds-admin-view .obds-admin-prompt-badge){top:0!important;right:0!important;left:auto!important;min-width:17px!important;width:auto!important;height:17px!important;padding:0 3px!important;border:1.5px solid #fff!important;border-radius:999px!important;font-size:10px!important;line-height:14px!important;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center}
html body .obds-admin .obds-admin-view .obds-admin-prompt-badge{left:0!important;right:auto!important;width:17px!important;padding:0!important}
html body .obds-admin .obds-admin-view .obds-admin-prompt-badge i{font-size:8px!important}
.obds-admin-mobile-label{display:none}
@media(max-width:782px){
 html body .obds-admin .obds-admin-table td:has(>.obds-admin-mobile-label):before{display:none!important}
 html body .obds-admin .obds-admin-mobile-label{display:inline-flex;align-items:center;gap:6px;min-width:96px;flex-shrink:0;text-align:right;font-weight:950;color:#0f1827}
 html body .obds-admin .obds-admin-mobile-label i{font-size:12px;color:#b0b8c4!important;-webkit-text-fill-color:#b0b8c4!important;font-weight:900}
 html body .obds-admin .obds-admin-actions{gap:4px!important}
}

/* 411: smaller action glyphs; image glyph and touch target remain unchanged. */
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision),
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision)>i{font-size:18px!important}
@media(hover:hover) and (pointer:fine){
 html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):hover{color:#ff8c24!important;filter:drop-shadow(0 0 5px #fca24499)}
}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):active{color:#ff8c24!important;filter:drop-shadow(0 0 5px #fca24499)}
/* Keep client viewer surfaces and layout; add only revision copy. */
html body .obds-wrap .obds-history-viewer-title{color:#fca244!important}
.obai-client-revision{flex:0 0 auto;padding:8px 16px;text-align:center;color:#fca244;min-width:0}
html body .obai-client-revision .obai-revision-excerpt,html body .obai-attachment-gallery .obai-revision-excerpt{color:#fca244;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}
html body .obai-client-revision .obai-revision-more{background:transparent!important;border:0!important;box-shadow:none!important;color:#fca244!important;font:inherit;font-size:12px;padding:4px;cursor:pointer}
html body .obai-revision-dialog{z-index:2147483647;outline:none!important}
html body .obai-revision-dialog .obai-revision-close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:transparent!important;color:#e2e8f0!important;border:0!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;border-radius:8px;padding:0;font-size:26px;cursor:pointer;outline:none}
html body .obai-revision-dialog .obai-revision-close:focus-visible{outline:2px solid #94a3b8;outline-offset:2px}
/* Neutral controls, no sticky touch hover or auto-focused close button. */
html body .obai-print-dialog .obai-dialog-head button.obai-round,
html body .obai-print-dialog .obai-dialog-head button.obai-round:is(:hover,:focus),
html body .obds-wrap .obds-viewer-tools .obds-history-viewer-close,
html body .obds-wrap .obds-viewer-tools .obds-history-viewer-close:is(:hover,:focus){background:transparent!important;color:#e2e8f0!important;box-shadow:none!important;filter:none!important;text-shadow:none!important}
html body .obai-print-dialog .obai-preview-tools button.obai-round,
html body .obai-print-dialog .obai-preview-tools button.obai-round:is(:hover,:focus),
html body .obds-wrap .obds-viewer-tools .obds-history-viewer-nav,
html body .obds-wrap .obds-viewer-tools .obds-history-viewer-nav:is(:hover,:focus){background:transparent!important;color:#fca244!important;box-shadow:none!important}
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-close,.obds-history-viewer-nav):is(:hover,:focus) i{color:inherit!important}
html body .obai-print-dialog button.obai-round:active,
html body .obds-wrap .obds-viewer-tools :is(.obds-history-viewer-close,.obds-history-viewer-nav):active{background:transparent!important;color:#fca244!important;opacity:.7}
html body .obai-print-dialog .obai-preview-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
html body .obai-print-dialog .obai-preview-footer .obai-print-info{margin:0;text-align:center}
html body .obai-print-dialog .obai-preview-footer .obai-primary-download{align-self:center}

/* 412: orange revision headings, white copy and an adjacent overflow-only action. */
html body :is(.obai-client-revision,.obai-attachment-gallery) .obai-revision-line{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;margin-top:6px}
html body :is(.obai-client-revision,.obai-attachment-gallery) .obai-revision-excerpt{color:#fff!important;flex:1;min-width:0;margin:0;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body :is(.obai-client-revision,.obai-attachment-gallery) .obai-revision-more{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;align-self:center;font:inherit;font-size:11px!important;line-height:1.5;padding:2px 7px!important;min-height:24px;border:1px solid #fca24466!important;border-radius:7px;background:#fca24414!important;color:#fca244!important;box-shadow:none!important;cursor:pointer}
html body .obai-revision-more[hidden]{display:none!important}
/* Match file preview/download hover and press feedback. */
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision){filter:none!important;transition:color .18s,transform .18s!important}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision),html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision)>i{font-size:16px!important}
html body .obds-admin :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision),html body .obds-admin .obds-admin-expiry{color:#94a3b8!important}
html body .obds-admin .obds-admin-table tr:is(:hover,:focus-within) :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision,.obds-admin-expiry){color:#fca244!important}
html body .obds-admin .obds-admin-table tr:active :is(.obds-admin-iconbtn,.obds-admin-status-retry,.obds-admin-review-decision,.obds-admin-expiry){color:#fca244!important}
html body .obds-admin .obds-admin-table tr .obds-admin-expiry:is(.expiring,.expired){color:#dc2626!important}
html body .obds-admin .obds-admin-table tr :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):is(:hover,:focus-visible){background:transparent!important;color:#d96d06!important;-webkit-text-fill-color:currentColor!important;filter:none!important;box-shadow:none!important;transform:translateY(-2px) scale(1.08)!important}
html body .obds-admin .obds-admin-table tr :is(.obds-admin-iconbtn,.obds-admin-view,.obds-admin-status-retry,.obds-admin-review-decision):active{transform:scale(.94)!important;filter:none!important}
html body .obds-admin .obds-admin-design-name,html body .obds-admin .obds-admin-design-name :is(i,.obds-admin-design-name-text){color:rgba(100,116,139,.38)!important;-webkit-text-fill-color:currentColor!important}
html body .obds-admin .obds-admin-row-title{color:#fca244!important}
@media(max-width:782px){html body .obds-admin .obds-admin-mobile-label{color:#b0b8c4!important;-webkit-text-fill-color:#b0b8c4!important}}

/* 413: anchors and buttons share the exact same row-state color, including icon fill. */
html body .obds-admin #obds-admin-rows tr{--obai-action-color:#94a3b8}
html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within,:active){--obai-action-color:#fca244}
html body .obds-admin #obds-admin-rows .obds-admin-actions .obds-admin-iconbtn,
html body .obds-admin #obds-admin-rows .obds-admin-actions .obds-admin-iconbtn i{color:var(--obai-action-color)!important;-webkit-text-fill-color:var(--obai-action-color)!important}
html body .obds-admin #obds-admin-rows .obds-admin-actions .obds-admin-iconbtn:is(:hover,:focus-visible),
html body .obds-admin #obds-admin-rows .obds-admin-actions .obds-admin-iconbtn:is(:hover,:focus-visible) i{color:#d96d06!important;-webkit-text-fill-color:#d96d06!important}
html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within,:active) td[data-label="تاريخ"],
html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within,:active) .obds-admin-phones,
html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within,:active) .obds-admin-phones :is(span,i){color:#fca244!important;-webkit-text-fill-color:#fca244!important}
html body .obds-admin #obds-admin-rows .obds-admin-design-name,
html body .obds-admin #obds-admin-rows .obds-admin-design-name :is(i,span,button){color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important}
html body .obds-admin #obds-admin-rows .obds-admin-design-name-more:is(:hover,:focus-visible),
html body .obds-admin #obds-admin-rows .obds-admin-design-name-more:is(:hover,:focus-visible) i{color:#64748b!important;-webkit-text-fill-color:#64748b!important}
/* Keep dimensions above download, even if another stylesheet changes flex ordering. */
html body .obai-print-dialog .obai-preview-footer .obai-print-info{order:0!important}
html body .obai-print-dialog .obai-preview-footer .obai-primary-download{order:1!important}

/* 414: coordinated row feedback, artwork thumbnails and legible copy badges. */
html body .obds-admin #obds-admin-rows tr.obai-row-selected{--obai-action-color:#fca244}
html body .obds-admin #obds-admin-rows tr .obds-admin-phones,
html body .obds-admin #obds-admin-rows tr .obds-admin-phones :is(span,i){color:var(--obai-action-color)!important;-webkit-text-fill-color:var(--obai-action-color)!important}
html body .obds-admin #obds-admin-rows .obds-admin-view:has(.obai-admin-design-thumb){width:56px!important;height:48px!important;overflow:visible!important}
html body .obds-admin #obds-admin-rows .obai-admin-design-thumb{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px;background:#f1f5f9;border:1px solid #e2e8f0}
html body .obds-admin #obds-admin-rows .obds-admin-view.disabled{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important}
html body .obds-admin #obds-admin-rows .obds-admin-actions .phone-copy .obai-copy-count{display:inline-flex!important;align-items:center;justify-content:center;min-width:18px;height:18px;line-height:1;padding:0 4px;background:#94a3b8!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #fff;border-radius:99px;opacity:1!important;z-index:2;font-family:Arial,sans-serif!important}
html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within,:active,.obai-row-selected) .obds-admin-actions .phone-copy .obai-copy-count{background:#fff!important;color:#9a4c02!important;-webkit-text-fill-color:#9a4c02!important;border-color:#d96d06!important}
@media(max-width:782px){
 html body .obds-admin #obds-admin-rows tr.obai-row-selected{background:#fffcf8!important;border-color:#f3dfcb!important;box-shadow:0 4px 12px rgba(15,24,39,.05)!important}
 html body .obds-admin #obds-admin-rows tr.obai-row-selected td{background:transparent!important}
 html body .obds-admin #obds-admin-rows tr.obai-row-selected :is(.obds-admin-expiry,.obds-admin-status-retry){color:#fca244!important}
}

html body .obds-admin .obds-admin-filters [hidden]{display:none!important}
.obds-drop-hint[hidden]{display:none!important}
@media(max-width:782px){
 html body .obds-admin #obds-admin-rows tr.obai-row-selected .obds-admin-design-name,
 html body .obds-admin #obds-admin-rows tr.obai-row-selected .obds-admin-design-name :is(i,span,button),
 html body .obds-admin #obds-admin-rows tr.obai-row-selected .obds-admin-mobile-label,
 html body .obds-admin #obds-admin-rows tr.obai-row-selected .obds-admin-mobile-label i{color:#536f78!important;-webkit-text-fill-color:#536f78!important}
}

.obai-revision-base [data-obai-base-preview]{display:block;width:auto;max-width:100%;height:80px;object-fit:contain;margin:8px auto 0}.obai-revision-base [data-obai-base-preview][hidden]{display:none!important}

@media (hover:hover) and (pointer:fine){
 html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within) .obds-admin-design-name,
 html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within) .obds-admin-design-name :is(i,span,button){color:#536f78!important;-webkit-text-fill-color:#536f78!important}
 html body .obds-admin #obds-admin-rows tr:is(:hover,:focus-within) .obds-admin-row-title{font-weight:900!important;color:#994c10!important;-webkit-text-fill-color:#994c10!important}
}
@media(max-width:782px){
 html body .obds-admin #obds-admin-rows tr.obai-row-selected .obds-admin-row-title{font-weight:900!important;color:#994c10!important;-webkit-text-fill-color:#994c10!important}
}
/* 419: quiet idle statuses, explicit review decisions and maintenance state. */
#obds-admin-rows .obai-customer-names{display:flex;flex-direction:column;align-items:flex-start;max-width:100%;min-width:0}
#obds-admin-rows .obai-customer-names .obds-admin-row-title{max-width:min(100%,300px)}
@media(max-width:900px){#obds-admin-rows .obai-customer-names{align-items:flex-end}}
#obds-admin-rows .obai-person-filter{border:0;background:none;padding:0;cursor:pointer;font-family:inherit;text-align:inherit}
#obds-admin-rows .obai-person-filter:focus-visible{outline:2px solid #536f78;outline-offset:4px}
@media(hover:hover) and (pointer:fine){
.obds-admin #obds-admin-rows tr[data-pending="0"]:not(:hover):not(:focus-within) .obds-admin-status,.obds-admin #obds-admin-rows tr[data-pending="0"]:not(:hover):not(:focus-within) .obds-admin-status i{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;background:#f8fafc!important;border-color:#e9edf2!important;box-shadow:none!important}
}
@media(hover:none),(pointer:coarse){
.obds-admin #obds-admin-rows tr[data-pending="0"]:not(.obai-row-selected) .obds-admin-status,.obds-admin #obds-admin-rows tr[data-pending="0"]:not(.obai-row-selected) .obds-admin-status i{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important;background:#f8fafc!important;border-color:#e9edf2!important;box-shadow:none!important}
}
.obai-hover-artwork{position:fixed!important;z-index:100100;object-fit:contain;pointer-events:none;border-radius:12px;box-shadow:0 12px 48px #0f182744;background:#fff;outline:6px solid #fff}
.obds-admin-review-actions .button.obai-review-prominent{min-width:120px;min-height:46px;padding:8px 22px;border-radius:12px;font-size:16px;font-weight:800;line-height:28px;border:2px solid transparent;box-shadow:0 3px 9px #0f182720}
.obds-admin-review-actions .button.obai-review-prominent.approve{color:#fff!important;background:#15803d!important;border-color:#166534!important}
.obds-admin-review-actions .button.obai-review-prominent.cancel{color:#fff!important;background:#b91c1c!important;border-color:#991b1b!important}
.obds-wrap[data-obai-maintenance-hidden]{display:none!important}
@media(hover:none),(pointer:coarse){
 #obds-admin-rows button.obds-admin-view{touch-action:pan-y pinch-zoom;-webkit-touch-callout:none}
 #obds-admin-rows .obds-admin-view img{-webkit-touch-callout:none;user-select:none}
}
.obai-maintenance-toggle{display:inline-flex;align-items:center;gap:8px;margin-inline-start:12px;font-weight:800;cursor:pointer}
.obai-maintenance{box-sizing:border-box;max-width:760px;margin:48px auto;padding:clamp(28px,6vw,64px) 24px;border:1px solid #e4eaf0;border-radius:28px;text-align:center;background:linear-gradient(145deg,#fffcf8,#f3f7f9);color:#173347;box-shadow:0 16px 44px #1733470a;font-family:inherit}
.obai-maintenance h2{color:#173347;font-size:clamp(23px,4vw,34px);line-height:1.6;margin:18px 0 12px}.obai-maintenance p{color:#536f78;line-height:2;font-size:16px}
.obai-maintenance-motion{display:flex;align-items:center;justify-content:center;gap:12px;height:68px}.obai-maintenance-motion span{width:18px;height:18px;border-radius:6px;background:#536f78;animation:obai-update-pulse 1.8s ease-in-out infinite}.obai-maintenance-motion span:nth-child(2){animation-delay:.2s;background:#fca244}.obai-maintenance-motion span:nth-child(3){animation-delay:.4s}
@keyframes obai-update-pulse{0%,70%,100%{transform:translateY(0) rotate(0);opacity:.5}35%{transform:translateY(-18px) rotate(90deg);opacity:1}}
@media(prefers-reduced-motion:reduce){.obai-maintenance-motion span{animation:none}}
.obds-wrap[hidden]{display:none!important}
