/* Product demos: Diwan (light) and Moltaqa (dark), drawn in the products' own Material 3 tokens.
   Each demo is a design box (720 wide, 358 wide in the phone column) scaled to the window it sits in. */
.dm{position:absolute;inset:0;overflow:hidden;font-family:'Archivo',ui-sans-serif,system-ui,sans-serif;font-size:13px;line-height:18px;color:#1f1f1f;text-align:left;-webkit-font-smoothing:antialiased}
.dm[dir="rtl"]{text-align:right;font-family:'IBM Plex Sans Arabic','Archivo',ui-sans-serif,sans-serif}
.dm-box{position:absolute;left:0;top:0;width:660px;transform-origin:0 0}
.dm.compact .dm-box{width:358px}
.dm *{box-sizing:border-box}
.dm .ms{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;direction:ltr;font-feature-settings:'liga';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 20;font-size:20px;flex:none;opacity:0}
.icons-ready .dm .ms{opacity:1}
.dm .ms.fill{font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 20}
.dm .ms.s16{font-size:16px}.dm .ms.s18{font-size:18px}.dm .ms.s24{font-size:24px}
.dm .num{font-variant-numeric:tabular-nums}
.dm .bar{display:block;height:6px;border-radius:3px;background:#e6e8ea}
.dm-dark .bar{background:#333537}

/* cursor: a pointing hand, moved on the compositor, pressed from the fingertip */
.dm-cur{position:absolute;left:0;top:0;width:28px;height:28px;z-index:9;pointer-events:none;opacity:0;will-change:transform,opacity;transform:translate3d(-40px,-40px,0)}
.dm-cur svg{display:block;width:28px;height:28px;transform-origin:10.85px 5.37px;overflow:visible}

/* ───────── Diwan ───────── */
/* the camera: the scene inside the window, pushed in and pulled back; its edges feather while it is in */
@property --dm-fe{syntax:'<length>';inherits:false;initial-value:0px}
.dm-cam{position:absolute;left:0;top:0;width:100%;height:100%;transform-origin:0 0;will-change:transform}
.dm[data-demo="diwan"] .dm-box{--dm-fe:0px;transition:--dm-fe 1.2s cubic-bezier(.42,0,.25,1);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 var(--dm-fe),#000 calc(100% - var(--dm-fe)),transparent),linear-gradient(to bottom,transparent,#000 var(--dm-fe),#000 100%);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent,#000 var(--dm-fe),#000 calc(100% - var(--dm-fe)),transparent),linear-gradient(to bottom,transparent,#000 var(--dm-fe),#000 100%);mask-composite:intersect}
.dm[data-demo="diwan"] .dm-box.zoomed{--dm-fe:18px}
.dm-diwan{background:#F8FAFE;height:100%}
.dm-diwan .shell{display:grid;grid-template-columns:76px 1fr;height:100%}
.dm-diwan .rail{background:#F2F6F7;padding:14px 4px 72px;display:flex;flex-direction:column;align-items:center;gap:2px;overflow:hidden}
.dm-diwan .rail .it{display:flex;flex-direction:column;align-items:center;gap:2px;width:68px;padding:4px 0;color:#444746;font-size:10.5px;line-height:13px;text-align:center}
.dm-diwan .rail .it .pill{position:relative;width:40px;height:26px;border-radius:13px;display:grid;place-items:center}
.dm-diwan .rail .it.on{color:#3F51B5;font-weight:500}
.dm-diwan .rail .it.on .pill{background:#CCD2EF;color:#0A004F}
.dm-diwan .rail .aim{display:block;opacity:0;transition:opacity .2s}
.icons-ready .dm-diwan .rail .aim{opacity:1}
.dm-diwan .rail .badge{position:absolute;top:-1px;right:5px;min-width:14px;height:14px;padding:0 3px;border-radius:7px;background:#b3261e;color:#fff;font-size:9px;line-height:14px;font-weight:500;text-align:center}
.dm-diwan .rail hr{width:36px;border:0;border-top:1px solid #dadce0;margin:6px 0}
.dm-diwan .ms.tg-b{color:#8e24aa}.dm-diwan .ms.tg-p{color:#137333}.dm-diwan .ms.tg-a{color:#b06000}
.dm-diwan .rail .ms.tg-b,.dm-diwan .rail .ms.tg-p{font-size:18px}
.dm-diwan .rail .ws{margin-top:auto;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10.5px;color:#444746}
.dm-diwan .rail .ws-t{width:32px;height:32px;border-radius:9px;background:#e4e7f7;color:#3f51b5;display:grid;place-items:center;font-size:13px;font-weight:500}
.dm-diwan .main{position:relative;display:flex;flex-direction:column;padding:14px 18px 0;min-width:0;height:100%}
.dm-diwan .top{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex:none}
.dm-diwan .top .field{flex:1;height:34px;border-radius:17px;background:#F2F6F7;display:flex;align-items:center;gap:8px;padding:0 12px;color:#5f6368;font-size:12px}
.dm-diwan .top .new{height:34px;padding:0 14px;border-radius:17px;background:#3F51B5;color:#fff;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}
.dm-diwan .top .me{width:30px;height:30px;border-radius:50%;background:#FBE9E7;color:#C62828;display:grid;place-items:center;font-size:11px;font-weight:500;position:relative}
.dm-diwan .scenes{position:relative;flex:1;min-height:0}
.dm-diwan .scene{position:absolute;inset:0;opacity:0;transform:translateY(8px);transition:opacity .4s ease-out,transform .5s cubic-bezier(.22,1,.36,1);pointer-events:none}
.dm-diwan .scene.on{opacity:1;transform:none}

/* the Meetings list */
.dm-diwan .lh{display:flex;align-items:center;gap:10px;height:40px;margin-bottom:6px}
.dm-diwan .lh h3{margin:0;font-size:18px;line-height:24px;font-weight:400;color:#1f1f1f}
.dm-diwan .lh .dt{font-size:11.5px;color:#444746}
.dm-diwan .wk{margin-inline-start:auto;display:flex;align-items:center;gap:2px;color:#444746}
.dm-diwan .wk .d{display:flex;flex-direction:column;align-items:center;width:30px;gap:1px}
.dm-diwan .wk .d em{font-style:normal;font-size:8.5px;line-height:10px;color:#5f6368;letter-spacing:.02em}
.dm-diwan .wk .d b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:11.5px;font-weight:400;color:#1f1f1f}
.dm-diwan .wk .d.on b{background:#3F51B5;color:#fff;font-weight:500}
.dm-diwan .fl{display:flex;gap:6px;margin-bottom:12px}
.dm-diwan .chip{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 10px;border:1px solid #c4c7c5;border-radius:8px;font-size:11.5px;font-weight:500;color:#444746;white-space:nowrap}
.dm-diwan .grp{display:flex;align-items:center;gap:6px;height:24px;margin:4px 0 6px;font-size:11.5px;font-weight:500;color:#444746}
.dm-diwan .grp em{margin-inline-start:auto;font-style:normal;font-weight:400;color:#5f6368}
.dm-diwan .mr{display:flex;align-items:center;gap:10px;height:54px;padding:0 14px;margin-bottom:6px;background:#fff;border:1px solid #e3e5e8;border-radius:14px;transition:background .2s,border-color .2s}
.dm-diwan .mr.hov{background:#F0F4F9;border-color:#d3d8e0}
.dm-diwan .mr .st{color:#80868b}.dm-diwan .mr .st.on{color:#E2A91C}
.dm-diwan .mr .th{width:40px;height:28px;border-radius:8px;background:#eceff1;display:grid;place-items:center;color:#5f6368;flex:none}
.dm-diwan .mr .mt{display:flex;flex-direction:column;min-width:0;flex:1}
.dm-diwan .mr .tt{font-size:12.5px;line-height:17px;font-weight:500;color:#1f1f1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-diwan .mr small{font-size:11px;line-height:15px;color:#5f6368;white-space:nowrap}
.dm-diwan .mr small i{font-style:normal;margin:0 5px;color:#9aa0a6}
.dm-diwan .mr .mtag{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#444746;width:84px;white-space:nowrap}
.dm-diwan .mr .cnt{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#5f6368;width:30px}
.dm-diwan .av{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:8.5px;font-weight:500;flex:none}

/* the meeting's report */
.dm-diwan .cin{position:relative;height:100%;overflow:hidden;padding:0 16px}
.dm-diwan .card{height:100%;overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.12);padding:0}
.dm-diwan .back{display:flex;align-items:center;gap:6px;height:26px;margin:0 -16px 6px;padding:10px 16px 8px;border-bottom:1px solid #eef0f2;font-size:11.5px;font-weight:500;color:#444746;box-sizing:content-box}
.dm-diwan .dhead{position:sticky;top:0;z-index:4;background:#fff;margin:0 -16px;padding:4px 16px 0;transition:padding .16s ease}
.dm-diwan .dhead.stuck{padding:7px 16px;box-shadow:0 1px 0 #eef0f2}
.dm-diwan .dhead.stuck .meta{display:none}
.dm-diwan .head{display:flex;align-items:center;gap:12px}
.dm-diwan .head .lead{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
.dm-diwan .head .tag{flex:none}
.dm-diwan .acts{display:flex;align-items:center;gap:6px;flex:none}
.dm-diwan .hbtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:30px;padding:0 11px 0 9px;border:1px solid #c4c7c5;border-radius:15px;color:#3F51B5;font-size:11.5px;white-space:nowrap;transition:padding .16s ease,color .4s ease-out,background-color .4s ease-out,border-color .4s ease-out}
.dm[dir="rtl"] .dm-diwan .hbtn{padding:0 9px 0 11px}
.dm-diwan .hbtn .al{font-weight:500}
.dm-diwan .hbtn.mv{width:30px;padding:0;border-color:transparent;color:#444746}
.dm-diwan .dhead.stuck .hbtn:not(.mv){width:30px;padding:0!important;gap:0}
.dm-diwan .dhead.stuck .hbtn .al{display:none}
.dm-diwan .ld .hbtn{color:transparent;background:#ECEEF1;border-color:transparent}
.dm-diwan .head .star{color:#E2A91C}
.dm-diwan .head h4{margin:0;font-size:15px;line-height:22px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;transition:font-size .16s ease}
.dm-diwan .dhead.stuck h4{font-size:14px}
.dm-diwan .tag{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:11px;background:#fcf0cc;color:#7c5200;font-size:11px;font-weight:500}
.dm-diwan .meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 10px;color:#5f6368;font-size:11.5px}
.dm-diwan .meta span{display:inline-flex;align-items:center;gap:4px}
.dm-diwan .tabs{position:sticky;top:var(--dhead-h,0px);z-index:3;background:#fff;display:flex;gap:18px;border-bottom:1px solid #e6e8ea;margin:0 -16px;padding:0 16px;overflow:hidden;white-space:nowrap}
.dm-diwan .tabs>span{position:relative;padding:6px 0 10px;font-size:12.5px;font-weight:500;color:#5f6368}
.dm-diwan .tabs>span.on{color:#0b57d0}
.dm-diwan .tabs sup{font-size:10px;font-weight:400;color:#5f6368;margin-inline-start:3px;vertical-align:2px}
.dm-diwan .tabs .tmore{margin-inline-start:auto;display:flex;align-items:center;padding:0 0 4px 6px;color:#444746;background:linear-gradient(to right,rgba(255,255,255,0),#fff 8px);position:sticky;inset-inline-end:0}
.dm[dir="rtl"] .dm-diwan .tabs .tmore{background:linear-gradient(to left,rgba(255,255,255,0),#fff 8px);padding:0 6px 4px 0}
.dm-diwan .tabs{gap:16px}
.dm-diwan .tabs>span.on::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px 3px 0 0;background:#0b57d0}
.dm-diwan .cols{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:16px;padding-top:12px;align-items:start}
.dm-diwan .pane{position:relative;min-height:0}
.dm-diwan .tools{display:flex;gap:6px;height:30px;margin-bottom:6px}
.dm-diwan .tchip{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 4px 0 10px;border:1px solid #c4c7c5;border-radius:15px;font-size:11.5px;font-weight:500;color:#1f1f1f;white-space:nowrap;min-width:0;transition:background .15s,border-color .15s}
.dm[dir="rtl"] .dm-diwan .tchip{padding:0 10px 0 4px}
.dm-diwan .tchip.tl{color:#444746;font-weight:400}
.dm-diwan .tchip.tl .lb{overflow:hidden;text-overflow:ellipsis}
.dm-diwan .tchip small{font-size:10.5px;font-weight:400;color:#5f6368;margin-inline-end:2px}
.dm-diwan .tchip.open{background:#EEF2FB;border-color:#9aa7d8}
.dm-diwan .scroll{position:static}
@property --dm-sf{syntax:'<length>';inherits:false;initial-value:0px}
.dm-diwan .sc{padding-top:4px}
.dm-diwan h5{margin:0 0 6px;font-size:12.5px;line-height:17px;font-weight:500}
.dm-diwan .p{color:#1f1f1f;font-size:12px;line-height:18px;margin:0 0 14px}
.dm-diwan .ch{display:flex;align-items:center;gap:8px;height:24px;font-size:12px;color:#1f1f1f}
.dm-diwan .ch i{color:#5f6368;width:14px;font-style:normal;text-align:end;flex:none}
.dm-diwan .ch span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-diwan .ch em{margin-inline-start:auto;font-style:normal;color:#5f6368;font-size:11px;white-space:nowrap}
.dm-diwan .sc .ch:last-of-type{margin-bottom:14px}
.dm-diwan .sc ul{margin:0 0 14px;padding-inline-start:16px;font-size:12px;line-height:18px;color:#1f1f1f}
.dm-diwan .sc li{margin-bottom:6px}
.dm-diwan .sc li::marker{color:#5f6368}
.dm-diwan .nm{font-weight:500;background:#E8EEFC;color:#1f1f1f;border-radius:4px;padding:0 4px;margin:0 1px;transition:background-color .4s ease-out,color .4s ease-out}
.dm-diwan .ld .nm{background:transparent;color:transparent}
.dm-diwan .sc h6{margin:2px 0 4px;font-size:12px;line-height:17px;font-weight:500;color:#1f1f1f}
.dm-diwan .dsc .p{color:#444746;margin-bottom:12px}
.dm-diwan .dsc:last-of-type .p{margin-bottom:14px}

/* the report's skeleton: each part keeps its geometry in grey, text as one bar per line */
.dm-diwan .t{border-radius:4px;transition:color .4s ease-out,background-color .4s ease-out;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.dm-diwan .ld .t,.dm-diwan .ld.t{color:transparent!important;background-color:#ECEEF1}
.dm-diwan .ld .ms,.dm-diwan .ld .aim{visibility:hidden}
.dm-diwan .tag,.dm-diwan .tchip,.dm-diwan .av,.dm-diwan .video,.dm-diwan .ln,.dm-diwan .ttabs span{transition:color .4s ease-out,background-color .4s ease-out,border-color .4s ease-out}
.dm-diwan .ld .tag,.dm-diwan .ld.tools .tchip{color:transparent;background:#ECEEF1;border-color:transparent}
.dm-diwan .ld.tools .tchip small{color:transparent}
.dm-diwan .ld .av{background:#ECEEF1!important;color:transparent!important}
.dm-diwan .video::after{content:"";position:absolute;inset:0;background:#ECEEF1;opacity:0;transition:opacity .4s ease-out}
.dm-diwan .ld.video::after{opacity:1}
.dm-diwan .ld .ln{background:#ECEEF1} .dm-diwan .ld .ln i{opacity:0}
.dm-diwan .ln i{transition:opacity .4s ease-out}
.dm-diwan .ld.tabs span.on::after{opacity:0}
.dm-diwan .tabs span::after{transition:opacity .4s ease-out}
.dm-diwan .ld.ttabs span.on{background:transparent}
.dm-diwan .ld.ch i{color:transparent}
.dm-diwan .ld li::marker,.dm-diwan .ld sup{color:transparent}

.dm-diwan .snap *,.dm-diwan .snap *::after{transition:none!important}

/* the Template menu (M3 menu, after Diwan's own) */
.dm-diwan .tm{position:absolute;top:0;left:0;z-index:6;display:flex;flex-direction:column;background:#fff;border:1px solid #e3e5e8;border-radius:12px;box-shadow:0 4px 8px 3px rgba(60,64,67,.14),0 1px 3px rgba(60,64,67,.3);overflow:hidden;opacity:0;transform:scale(.96) translateY(-4px);transform-origin:top left;transition:opacity .18s ease-out,transform .22s cubic-bezier(.2,0,0,1);pointer-events:none}
.dm[dir="rtl"] .dm-diwan .tm{transform-origin:top right}
.dm-diwan .tm.on{opacity:1;transform:none}
.dm-diwan .tm-h{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;padding:0 12px 0 14px;border-bottom:1px solid #e6e8ea;flex:none}
.dm[dir="rtl"] .dm-diwan .tm-h{padding:0 14px 0 12px}
.dm-diwan .tm-h b{font-size:13.5px;font-weight:500}
.dm-diwan .tm-new{display:inline-flex;align-items:center;gap:3px;height:26px;padding:0 10px 0 7px;border:1px solid #747775;border-radius:13px;font-size:11px;font-weight:500;color:#1f1f1f}
.dm-diwan .tm-l{position:relative;overflow:hidden;padding:2px 0 4px}
.dm-diwan .tm-g{padding:8px 14px 2px;font-size:10.5px;font-weight:500;color:#5f6368}
.dm-diwan .tr{display:flex;align-items:center;gap:10px;height:48px;padding:0 12px 0 14px}
.dm[dir="rtl"] .dm-diwan .tr{padding:0 14px 0 12px}
.dm-diwan .tr.sel{background:#F0F4F9}
.dm-diwan .tc{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex:none}
.dm-diwan .tc.b{background:#dde8fc;color:#0b57d0}.dm-diwan .tc.t{background:#ddf1ee;color:#00695c}.dm-diwan .tc.n{background:#eceef0;color:#5f6368}.dm-diwan .tc.g{background:#e6f4ea;color:#137333}
.dm-diwan .tr .tx{display:flex;flex-direction:column;min-width:0;flex:1}
.dm-diwan .tr b{font-size:12px;line-height:16px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-diwan .tr small{font-size:10.5px;line-height:14px;color:#5f6368;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-diwan .tr .ok{color:#0b57d0}
.dm-diwan .tm-f{display:flex;align-items:center;gap:6px;height:38px;padding:0 14px;border-top:1px solid #e6e8ea;font-size:12px;font-weight:500;color:#3F51B5;flex:none}

.dm-diwan .replay{position:sticky;top:calc(var(--dhead-h,0px) + 46px)}
.dm-diwan .video{position:relative;aspect-ratio:16/10;border-radius:12px;background:#1d2421;overflow:hidden}
.dm-diwan .vg{position:absolute;inset:0;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px;padding:3px 3px 6px}
.dm-diwan .vt{position:relative;border-radius:7px;display:grid;place-items:center;overflow:hidden}
.dm-diwan .vt::before{content:"";position:absolute;inset:0;background:radial-gradient(120% 90% at 50% 20%,rgba(255,255,255,.10),transparent 60%)}
.dm-diwan .vt.on{box-shadow:inset 0 0 0 2px #7FD39B}
.dm-diwan .va{position:relative;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:11.5px;font-weight:500}
.dm-diwan .vt em{position:absolute;left:5px;bottom:4px;padding:1px 5px;border-radius:4px;background:rgba(0,0,0,.4);color:#fff;font-style:normal;font-size:8.5px;line-height:12px}
.dm[dir="rtl"] .dm-diwan .vt em{left:auto;right:5px}
.dm-diwan .video .play{z-index:1}
.dm-diwan .video .play::before{content:"";position:absolute;inset:-200px;background:rgba(10,14,12,.18);z-index:-1;pointer-events:none}
.dm-diwan .video .play{position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;background:#fff;display:grid;place-items:center;color:#1f1f1f;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.dm-diwan .video .len{position:absolute;z-index:1;right:8px;bottom:8px;padding:2px 6px;border-radius:4px;background:rgba(0,0,0,.55);color:#fff;font-size:10px}
.dm[dir="rtl"] .dm-diwan .video .len{right:auto;left:8px}
.dm-diwan .video .prog{position:absolute;z-index:1;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.35)}
.dm-diwan .video .prog i{display:block;height:100%;width:38%;background:#fff}
.dm-diwan .ttabs{display:flex;gap:2px;margin:12px 0 8px;white-space:nowrap;overflow:hidden}
.dm-diwan .ttabs>span{height:24px;padding:0 9px;border-radius:12px;font-size:11px;line-height:24px;color:#5f6368}
.dm-diwan .ttabs>span.on{background:#d7e6fe;color:#0b57d0;font-weight:500}
.dm-diwan .spk{display:grid;grid-template-columns:18px 40px 1fr 30px;align-items:center;gap:6px;height:24px;font-size:11px}
.dm-diwan .spk .ln{position:relative;height:6px;border-radius:3px;background:#eceef1}
.dm-diwan .spk .ln i{position:absolute;top:0;height:100%;border-radius:3px}
.dm-diwan .spk em{font-style:normal;color:#5f6368;text-align:end;font-size:10.5px}

/* the account menu */
.dm-diwan .menu{position:absolute;top:50px;right:18px;width:188px;background:#fff;border-radius:12px;box-shadow:0 4px 8px 3px rgba(60,64,67,.14),0 1px 3px rgba(60,64,67,.3);padding:6px 0;opacity:0;transform:scale(.96) translateY(-4px);transform-origin:top right;transition:opacity .18s ease-out,transform .22s cubic-bezier(.2,0,0,1);pointer-events:none;z-index:7}
.dm[dir="rtl"] .dm-diwan .menu{right:auto;left:18px;transform-origin:top left}
.dm-diwan .menu.on{opacity:1;transform:none}
.dm-diwan .menu .mi{display:flex;align-items:center;gap:10px;height:32px;padding:0 12px;font-size:12px;color:#1f1f1f}
.dm-diwan .menu .mi.sel{background:#F0F4F9}
.dm-diwan .menu .lbl{padding:6px 12px 2px;font-size:10.5px;color:#5f6368}
.dm-diwan .menu hr{border:0;border-top:1px solid #e6e8ea;margin:4px 0}
.dm-diwan .menu .mi .chk{margin-inline-start:auto;color:#0b57d0}

/* phone column */
.dm.compact .dm-diwan .shell{grid-template-columns:1fr}
.dm.compact .dm-diwan .rail{display:none}
.dm.compact .dm-diwan .main{padding:10px 10px 0}
.dm.compact .dm-diwan .top .new span.t{display:none}
.dm.compact .dm-diwan .wk,.dm.compact .dm-diwan .chip.c3,.dm.compact .dm-diwan .mr .mtag,.dm.compact .dm-diwan .mr .av{display:none}
.dm.compact .dm-diwan .mr{padding:0 12px;gap:8px}
.dm.compact .dm-diwan .cols{grid-template-columns:1fr}
.dm.compact .dm-diwan .replay{display:none}
.dm.compact .dm-diwan .cin{padding:0 12px}
.dm.compact .dm-diwan .dhead{margin:0 -12px;padding:4px 12px 0}
.dm.compact .dm-diwan .dhead.stuck{padding:7px 12px}
.dm.compact .dm-diwan .hbtn:not(.mv){width:30px;padding:0!important;gap:0}
.dm.compact .dm-diwan .hbtn .al{display:none}
.dm.compact .dm-diwan .back{margin:0 -12px 6px;padding:8px 12px 8px}
.dm.compact .dm-diwan .meta span:nth-child(n+3),.dm.compact .dm-diwan .head .tag{display:none}
.dm.compact .dm-diwan .tabs{margin:0 -12px;padding:0 12px;gap:14px}
.dm.compact .dm-diwan .tchip.tl .lb{display:none}
.dm.compact .dm-diwan .tchip.tl{padding:0 2px 0 8px}
.dm.compact .dm-diwan .menu{right:10px}
.dm.compact[dir="rtl"] .dm-diwan .menu{right:auto;left:10px}

/* ───────── Moltaqa ───────── */
/* after Fedi's Multaqa design, dark theme: #131314 ground, #1e1f20 surfaces, #3c4043 hairlines, #A6BAFF accent */
.dm-moltaqa{background:#131314;color:#e3e3e3;height:100%}
.dm-moltaqa .ms.s14{font-size:14px;width:14px;height:14px}
.dm-moltaqa .scene{position:absolute;left:0;top:0;right:0;height:var(--fh,100%);opacity:0;transition:opacity .45s;pointer-events:none}
.dm-moltaqa .scene.on{opacity:1}
.dm-moltaqa .mono{font-family:'Archivo',ui-sans-serif,sans-serif;font-variant-numeric:tabular-nums}
/* calendar */
.dm-moltaqa .cal{display:grid;grid-template-columns:64px 1fr;grid-template-rows:minmax(0,1fr);height:100%}
.dm-moltaqa .rail{padding:14px 6px;display:flex;flex-direction:column;align-items:center;gap:6px}
.dm-moltaqa .rail .it{display:flex;flex-direction:column;align-items:center;gap:3px;width:56px;padding:4px 0;color:#9aa0a6;font-size:10.5px}
.dm-moltaqa .rail .it .pill{width:40px;height:26px;border-radius:13px;display:grid;place-items:center;color:#c4c7c5}
.dm-moltaqa .rail .it.on{color:#A6BAFF;font-weight:500} .dm-moltaqa .rail .it.on .pill{background:#242D8E;color:#d3ddfe}
.dm-moltaqa .cmain{position:relative;display:flex;flex-direction:column;padding:12px 16px 14px 4px;min-width:0;min-height:0}
.dm-moltaqa .ctop{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex:none}
.dm-moltaqa .ctop .field{flex:1;height:34px;border-radius:17px;background:#1e1f20;display:flex;align-items:center;gap:8px;padding:0 4px 0 12px;color:#9aa0a6;font-size:12px;min-width:0}
.dm-moltaqa .ctop .field>span:first-of-type{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-moltaqa .ctop .jn{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border-radius:13px;background:#28292a;color:#80868b;font-size:11px;font-weight:500}
.dm-moltaqa .ctop .new{height:34px;padding:0 14px 0 10px;border-radius:17px;background:#A6BAFF;color:#0F0365;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:500}
.dm-moltaqa .ctop .me{width:30px;height:30px;border-radius:50%;background:#A8C7FA;color:#062E5C;display:grid;place-items:center;font-size:11px;font-weight:500}
.dm-moltaqa .chead{display:flex;align-items:center;gap:6px;margin-bottom:10px;flex:none;color:#c4c7c5}
.dm-moltaqa .chead .today{height:28px;padding:0 12px;border-radius:14px;border:1px solid #5f6368;background:#1e1f20;color:#e3e3e3;font-size:11.5px;font-weight:500;line-height:26px;margin-right:2px}
.dm-moltaqa .chead .mon{font-size:14px;font-weight:500;color:#e3e3e3;margin-left:4px}
.dm-moltaqa .chead .dd{margin-left:-4px}
.dm-moltaqa .chead .seg{margin-left:auto;display:flex;border:1px solid #5f6368;border-radius:14px;overflow:hidden;font-size:11px;font-weight:500}
.dm-moltaqa .chead .seg span{display:inline-flex;align-items:center;gap:3px;padding:0 10px;height:26px;color:#c4c7c5}
.dm-moltaqa .chead .seg span+span{border-left:1px solid #5f6368}
.dm-moltaqa .chead .seg span.on{background:#242D8E;color:#A6BAFF;padding-left:7px}
.dm-moltaqa .month{flex:1;min-height:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) repeat(2,minmax(0,.55fr));grid-template-rows:26px repeat(5,minmax(0,1fr));border:1px solid #3c4043;border-radius:12px;overflow:hidden;background:#1a1a1c}
.dm-moltaqa .mh{display:grid;place-items:center;font-size:9.5px;font-weight:500;letter-spacing:.4px;color:#9aa0a6;border-bottom:1px solid #3c4043}
.dm-moltaqa .cell{position:relative;display:flex;flex-direction:column;gap:3px;padding:4px 4px 0;border-right:1px solid #2e3033;border-bottom:1px solid #2e3033;min-width:0;overflow:hidden}
.dm-moltaqa .cell.d6{border-right:0}
.dm-moltaqa .cell:nth-last-child(-n+7){border-bottom:0}
.dm-moltaqa .cell.out{background:#161618}
.dm-moltaqa .dn{display:grid;place-items:center;width:22px;height:22px;margin:0 0 1px 1px;border-radius:50%;font-size:11.5px;color:#e3e3e3;flex:none}
.dm-moltaqa .cell.out .dn,.dm-moltaqa .cell.past .dn{color:#80868b}
.dm-moltaqa .cell.today{box-shadow:inset 0 2px 0 #A6BAFF}
.dm-moltaqa .cell.today .dn{background:#A6BAFF;color:#0F0365;font-weight:500}
.dm-moltaqa .chip{display:flex;align-items:center;gap:4px;height:19px;padding:0 5px;border-radius:5px;background:#1e1f20;border:1px solid #3c4043;font-size:10px;line-height:17px;white-space:nowrap;overflow:hidden;flex:none}
.dm-moltaqa .chip em{font-style:normal;color:#9aa0a6;flex:none}
.dm-moltaqa .chip b{font-weight:500;color:#e3e3e3;overflow:hidden;text-overflow:ellipsis}
.dm-moltaqa .cell.past .chip{opacity:.5}
.dm-moltaqa .chip.live{background:#3a2a29;border-color:#5c3a37}
.dm-moltaqa .chip.live i{width:6px;height:6px;border-radius:50%;background:#F28B82;flex:none}
.dm-moltaqa .gone{display:none!important}
.dm-moltaqa .more{font-size:10px;font-weight:500;color:#9aa0a6;padding:0 5px;line-height:15px}
.dm-moltaqa .pop{position:absolute;width:286px;background:#28292b;border:1px solid #3c4043;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.55);padding:14px 14px 12px;opacity:0;transform:translateY(-4px) scale(.98);transform-origin:top left;transition:opacity .2s,transform .25s cubic-bezier(.2,0,0,1);z-index:5;font-size:11.5px;color:#c4c7c5}
.dm-moltaqa .pop.on{opacity:1;transform:none}
.dm-moltaqa .pop .phd{display:flex;align-items:flex-start;gap:10px;margin-bottom:10px}
.dm-moltaqa .pop .pi{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#4a2523;color:#F28B82;flex:none}
.dm-moltaqa .pop h5{margin:2px 0 1px;font-size:13.5px;font-weight:500;color:#e3e3e3}
.dm-moltaqa .pop small{font-size:11px;color:#9aa0a6}
.dm-moltaqa .pop .x{margin-left:auto;color:#9aa0a6}
.dm-moltaqa .pop .pr{display:flex;align-items:center;gap:10px;min-height:28px}
.dm-moltaqa .pop .pr>.ms:first-child{color:#9aa0a6}
.dm-moltaqa .pop .pr .mono{font-size:10.5px;color:#e3e3e3}
.dm-moltaqa .pop .avs{display:flex}
.dm-moltaqa .pop .avs i{width:20px;height:20px;border-radius:50%;border:2px solid #28292b;display:grid;place-items:center;font-style:normal;font-size:7.5px;font-weight:500;margin-left:-5px}
.dm-moltaqa .pop .avs i:first-child{margin-left:0}
.dm-moltaqa .pop .nm{color:#e3e3e3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.dm-moltaqa .pop .ext{margin-left:auto;display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border-radius:10px;background:#3d3420;color:#f3d48a;font-size:10px;font-weight:500}
.dm-moltaqa .pop .pf{display:flex;align-items:center;justify-content:space-between;margin-top:10px}
.dm-moltaqa .pop .ed{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px 0 10px;border-radius:15px;border:1px solid #5f6368;color:#e3e3e3;font-size:11.5px;font-weight:500}
.dm-moltaqa .pop .join{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 16px 0 12px;border-radius:16px;background:#A6BAFF;color:#0F0365;font-size:12px;font-weight:500}
/* room */
.dm-moltaqa .room{position:absolute;inset:0;padding:12px 14px 4px;display:flex;flex-direction:column;background:#1a1a1d}
.dm-moltaqa .rtop{display:flex;align-items:center;gap:6px;margin-bottom:10px;flex:none}
.dm-moltaqa .rtop .rt{min-width:0;flex:1}
.dm-moltaqa .rtop .t,.dm-moltaqa .rtop .s{overflow:hidden;text-overflow:ellipsis}
.dm-moltaqa .rtop .t{font-size:14px;font-weight:500;color:#e3e3e3;white-space:nowrap}
.dm-moltaqa .rtop .s{display:flex;align-items:center;gap:3px;font-size:10.5px;color:#9aa0a6;white-space:nowrap}
.dm-moltaqa .rtop .rec{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 4px 0 10px;border-radius:15px;background:#232325;font-size:11px;font-weight:500;color:#fff}
.dm-moltaqa .rtop .rec .dot{width:7px;height:7px;border-radius:50%;background:#E5483D}
.dm-moltaqa .rtop .rec .rb{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#151517}
.dm-moltaqa .rtop .rec .rb.st{color:#F28B82;margin-left:-2px}
.dm-moltaqa .rtop .cb{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:40px;height:30px;border-radius:15px;background:#232325;color:#fff;font-size:11px}
.dm-moltaqa .rtop .cb.wide{width:54px}
.dm-moltaqa .rtop .cb b{font-weight:500}
.dm-moltaqa .rtop .cdot{position:absolute;top:5px;right:9px;width:6px;height:6px;border-radius:50%;background:#A6BAFF}
.dm-moltaqa .tiles{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
.dm-moltaqa .tile{position:relative;border-radius:12px;background:#232327;overflow:hidden;opacity:0;transform:scale(.97);transition:opacity .4s,transform .5s,box-shadow .35s}
.dm-moltaqa .tile.in{opacity:1;transform:none}
.dm-moltaqa .tile .big{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:500}
.dm-moltaqa .tile .nm{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 6px;border-radius:7px;background:rgba(60,60,64,.85);font-size:10.5px;font-weight:500;color:#e3e3e3;white-space:nowrap;max-width:calc(100% - 16px);overflow:hidden}
.dm-moltaqa .tile .nm .off{color:#F28B82}
.dm-moltaqa .tile .nm .ext{color:#f3d48a}
.dm-moltaqa .tile.speaking{box-shadow:inset 0 0 0 2px #A6BAFF}
.dm-moltaqa .tray{position:relative;height:64px;display:flex;align-items:center;justify-content:center;flex:none}
.dm-moltaqa .tray .code{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:16px;background:#232325;font-size:11px;color:#fff}
.dm-moltaqa .tray .mid{display:flex;align-items:center;gap:6px;padding:5px;border-radius:30px;background:#0b0b0c}
.dm-moltaqa .tray .pair{display:inline-flex;align-items:stretch;height:40px;border-radius:20px;background:#232325;color:#fff}
.dm-moltaqa .tray .pb{display:grid;place-items:center;width:40px}
.dm-moltaqa .tray .pc{display:grid;place-items:center;width:24px;padding-right:4px;color:#c4c7c5}
.dm-moltaqa .tray .sep{width:1px;height:22px;background:#3c4043;margin:0 2px}
.dm-moltaqa .tray .b{display:grid;place-items:center;width:44px;height:40px;border-radius:20px;background:#232325;color:#fff}
.dm-moltaqa .tray .leave{display:grid;place-items:center;width:52px;height:40px;border-radius:20px;background:#E5483D;color:#fff;margin-left:2px}
/* a short window (and phones) shows the two weeks around today, so each day has room for its meetings */
.dm-moltaqa.two .month{grid-template-rows:24px repeat(2,minmax(0,1fr))}
.dm-moltaqa.two .month>.cell:nth-child(-n+14),.dm-moltaqa.two .month>.cell:nth-child(n+29){display:none}
.dm-moltaqa.two .month>.cell:nth-child(n+22){border-bottom:0}
/* phone column: the working week, four tiles, the tray's core */
.dm.compact .dm-moltaqa .cal{grid-template-columns:1fr}
.dm.compact .dm-moltaqa .rail{display:none}
.dm.compact .dm-moltaqa .cmain{padding:10px 10px 12px}
.dm.compact .dm-moltaqa .ctop .new span.t,.dm.compact .dm-moltaqa .ctop .jn{display:none}
.dm.compact .dm-moltaqa .chead .seg,.dm.compact .dm-moltaqa .chead .dd{display:none}
.dm.compact .dm-moltaqa .month{grid-template-columns:repeat(5,minmax(0,1fr))}
.dm.compact .dm-moltaqa .mh.d5,.dm.compact .dm-moltaqa .mh.d6,.dm.compact .dm-moltaqa .cell.d5,.dm.compact .dm-moltaqa .cell.d6{display:none}
.dm.compact .dm-moltaqa .cell.d4{border-right:0}

.dm.compact .dm-moltaqa .chip em{display:none}
.dm.compact .dm-moltaqa .pop{width:240px}
.dm.compact .dm-moltaqa .pop .ext{display:none}
.dm.compact .dm-moltaqa .room{padding:10px 10px 4px}
.dm.compact .dm-moltaqa .rtop .cb,.dm.compact .dm-moltaqa .rtop .rec .rb,.dm.compact .dm-moltaqa .rtop .rec .rl{display:none}
.dm.compact .dm-moltaqa .rtop .rec{padding:0 10px}
.dm.compact .dm-moltaqa .tile .big{width:38px;height:38px;margin:-24px 0 0 -19px;font-size:13px}
.dm.compact .dm-moltaqa .tile .nm{left:6px;bottom:6px;height:20px;font-size:10px}
.dm.compact .dm-moltaqa .tiles{gap:6px}
.dm.compact .dm-moltaqa .tray{height:56px}
.dm.compact .dm-moltaqa .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.dm.compact .dm-moltaqa .tile.t5,.dm.compact .dm-moltaqa .tile.t6{display:none}
.dm.compact .dm-moltaqa .tray .code,.dm.compact .dm-moltaqa .tray .pc,.dm.compact .dm-moltaqa .tray .b.opt{display:none}
.dm.compact .dm-moltaqa .tray .b{width:40px}

@media (prefers-reduced-motion:reduce){
  .dm-cur{display:none}
  .dm-diwan .ai.new{opacity:1;transform:none}
  .dm-moltaqa .tile{opacity:1;transform:none}
}
