/* ===== WORD LOOK for the petition editor: the colours and shapes of Word (colourful theme) — a blue tab bar with
   the quick-access buttons, a white ribbon with grey group labels, a grey desk under the page, and Word's status bar
   with the zoom slider. Editor only, screen only; the paper and printing are not touched. ===== */
@media screen{
.wpt{--wb:#185ABD;--wbd:#124A9C;--wtx:#323130;--wmu:#605E5C;--whv:#EDEBE9;--wpr:#C7E0F4;border-radius:8px;border:1px solid #D2D0CE;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.08);color:var(--wtx);font-family:'Segoe UI','Noto Sans Arabic',Tahoma,sans-serif}
/* the blue bar: quick access (save, undo, redo) and the tabs */
.wpt .rbt{background:linear-gradient(180deg,var(--wb),var(--wbd));border-bottom:0;padding:6px 8px 0;gap:2px}
.wpt .rbt button,.wpt .rqa button{color:#fff}
.wpt .rqa{display:inline-flex;gap:2px;align-items:center;padding-inline-end:8px;margin-inline-end:6px;border-inline-end:1px solid rgba(255,255,255,.25)}
.wpt .rqa button{background:transparent;border:0;border-radius:4px;min-height:28px;min-width:28px}
.wpt .rqa button:hover{background:rgba(255,255,255,.18)}
.wpt .rtab{color:#fff!important;background:transparent!important;border-radius:4px 4px 0 0!important;font-weight:600!important;opacity:.95;box-shadow:none!important;height:32px}
.wpt .rtab:hover{background:rgba(255,255,255,.16)!important;opacity:1}
.wpt .rtab.on{background:#fff!important;color:var(--wb)!important;opacity:1}
.wpt .rtab.on:after{display:none}
/* the ribbon */
.wpt .rbp{background:#fff;min-height:96px;padding:6px 6px 2px}
.wpt .rg{border-inline-start:1px solid #E1DFDD!important;padding:0 10px}
.wpt .rgl{color:var(--wmu);font-size:11px;font-weight:400!important;opacity:1;margin-top:2px}
.wpt .rbb,.wpt [data-a=pwc]{border-radius:4px!important;border:1px solid transparent!important;background:transparent!important;color:var(--wtx)}
.wpt .rbb:hover,.wpt [data-a=pwc]:hover{background:var(--whv)!important;border-color:transparent!important;box-shadow:none!important}
.wpt .rbb.on,.wpt [data-a=pwc].on{background:var(--wpr)!important;border-color:#9DC3E6!important}
.wpt .rbb.rbg{min-width:52px}
.wpt .rbb.rbg .bi{font-size:22px;line-height:1}
.wpt select,.wpt input[type=text],.wpt input[type=number]{border:1px solid #C8C6C4!important;border-radius:2px!important;background:#fff!important;color:var(--wtx);min-height:26px!important;font-size:12px;box-shadow:none!important}
.wpt select:hover,.wpt input:hover{border-color:#605E5C!important}
.wpt select:focus,.wpt input:focus{border-color:var(--wb)!important;outline:0}
/* styles gallery: white boxes like Word */
.wpt .rsg button,.wpt .rsa{border:1px solid #E1DFDD!important;border-radius:2px!important;background:#fff!important}
.wpt .rsg button:hover{border-color:#C8C6C4!important;background:#F3F2F1!important}
/* the desk and the page */
.wpd{background:#E6E6E6!important;border-radius:0 0 8px 8px!important;box-shadow:inset 0 1px 0 #D2D0CE!important}
.wsh{box-shadow:0 0 0 1px #C8C6C4,0 2px 6px rgba(0,0,0,.18)!important}
#pwrh,#pwrv{border-color:#C8C6C4!important}
/* Word's status bar under the page */
.wpf.wsb{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#F3F2F1;border:1px solid #E1DFDD;border-radius:0 0 8px 8px;margin-top:0;padding:3px 12px;min-height:30px;font-size:12px;color:#605E5C;font-family:'Segoe UI','Noto Sans Arabic',Tahoma,sans-serif}
.wpf.wsb>span:nth-child(2){margin-inline-end:auto}
.wpvw{display:inline-flex;gap:2px}
.wpvw button,.wpz button{border:0;background:transparent;color:#605E5C;border-radius:3px;min-height:24px;min-width:26px;padding:0 4px;cursor:pointer;font-size:13px}
.wpvw button:hover,.wpz button:hover{background:#E1DFDD}
.wpvw button.on{background:#E1DFDD;color:#323130}
.wpz{display:inline-flex;align-items:center;gap:4px}
.wpz input[type=range]{width:110px;accent-color:#605E5C;min-height:0!important;padding:0;border:0!important;background:transparent!important;box-shadow:none!important}
.wpz b{font-weight:400;min-width:38px;text-align:center}
@media (max-width:700px){.wpz input[type=range]{width:70px}.wpvw{display:none}}
}
/* page number, header and footer lines on each page (they print with the page) */
.wsh{position:relative}
.wpmk{position:absolute;pointer-events:none;user-select:none;font-family:'Noto Naskh Arabic',serif;font-size:14px;line-height:1.4;color:#333;z-index:2}
/* ===== /WORD LOOK ===== */
