/* Submission module — one stylesheet, system fonts, no external anything. */
:root{
  --paper:#F1EFE9; --card:#FCFCF9; --ink:#13171C; --ink-hi:#1D242D; --steel:#5A6874;
  --alu:#B7BFC5; --alu-soft:#DCE0E1; --green:#15604A; --green-ink:#0C3D2D;
  --gold:#A8801E; --gold-deep:#7C5F12; --gold-hair:rgba(201,162,68,.30);
  --danger:#8C2F2F; --blue:#2E5A7A; --r:10px;
  --mono:ui-monospace,"Cascadia Mono","SF Mono",Menlo,Consolas,monospace;
  --sans:system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--sans);color:var(--ink);background:var(--paper);
  background-image:linear-gradient(180deg,#E7E5DC 0,var(--paper) 220px);
  min-height:100vh;padding:18px 14px 56px;font-size:14.5px;line-height:1.5}
.shell{max-width:780px;margin:0 auto}
.shell.wide{max-width:1400px}

/* masthead */
.mast{position:relative;background:linear-gradient(180deg,var(--ink-hi) 0%,var(--ink) 82%);
  color:#F6F3EA;border:1px solid #0B0E12;border-radius:var(--r);padding:17px 22px;
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  box-shadow:0 12px 26px -16px rgba(19,23,28,.55),inset 0 1px 0 rgba(255,255,255,.07)}
.mast::before{content:'';position:absolute;inset:5px;border-radius:calc(var(--r) - 4px);
  border:1px solid var(--gold-hair);pointer-events:none}
.mast h1{font-size:16.5px;font-weight:800;letter-spacing:.085em;text-transform:uppercase}
.mast .sub{font-family:var(--mono);font-size:10px;color:var(--alu);letter-spacing:.14em;margin-top:3px}
.mast .right{margin-left:auto;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mast a,.mast button.link{font-family:var(--mono);font-size:10px;letter-spacing:.1em;color:var(--alu);
  background:none;border:0;cursor:pointer;text-transform:uppercase;text-decoration:none;padding:0}
.mast button.link{line-height:inherit;margin:0}  /* a button keeps "normal" otherwise */
.mast a:hover,.mast button.link:hover{color:#F5E8C8}
.who{font-family:var(--mono);font-size:11px;color:#F5E8C8}

/* cards + typography */
.card{background:var(--card);border:1px solid var(--alu-soft);border-radius:var(--r);
  padding:17px 19px;margin-top:14px;box-shadow:inset 0 1px 0 #fff,0 1px 3px rgba(19,23,28,.05)}
.card h2{font-size:15px;font-weight:700;margin-bottom:4px;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.card h2 .aux{margin-left:auto;font-family:var(--mono);font-size:10px;letter-spacing:.09em;
  color:var(--steel);text-transform:uppercase;font-weight:400}
.lead{font-size:12.8px;color:var(--steel);margin:0 0 12px}
.hint{font-size:12.3px;color:var(--steel);line-height:1.5}
.mono{font-family:var(--mono)}
h3.sec{font-family:var(--mono);font-size:10px;letter-spacing:.1em;color:var(--steel);
  text-transform:uppercase;margin:18px 0 8px;padding-bottom:6px;border-bottom:1px solid var(--alu-soft)}
h3.sec:first-of-type{margin-top:4px}

/* fields */
.field{margin-bottom:11px}
.field>label{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.09em;
  color:var(--steel);text-transform:uppercase;margin-bottom:4px}
input[type=text],input[type=email],input[type=password],input[type=number],select,textarea{
  width:100%;font:inherit;font-size:14px;color:var(--ink);background:#fff;
  border:1px solid var(--alu);border-radius:8px;padding:8px 10px;transition:border-color .12s,box-shadow .12s}
textarea{min-height:190px;resize:vertical;line-height:1.55}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);
  box-shadow:0 0 0 3px rgba(21,96,74,.14)}
input:disabled,select:disabled{background:#F4F3EF;color:var(--steel)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:11px}
.counter{font-family:var(--mono);font-size:11.5px;color:var(--steel);margin-top:4px}

/* buttons */
.btn{font:inherit;font-size:13.5px;font-weight:600;border-radius:8px;padding:8px 14px;cursor:pointer;
  border:1px solid var(--alu);background:linear-gradient(180deg,#fff,#F4F3EE);color:var(--ink);
  transition:border-color .12s,background .12s}
.btn:hover{border-color:var(--steel)}
.btn:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.btn.primary{background:linear-gradient(180deg,#1B6E54,var(--green) 60%,#124C39);
  border-color:var(--green-ink);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.btn.primary:hover{filter:brightness(1.07)}
.btn.sm{font-size:12px;padding:5px 10px}
.btn.ghost{background:none;border-style:dashed}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.btnrow{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}

/* repeatable rows: keywords and authors */
.rows{display:flex;flex-direction:column;gap:9px}
.kw{display:flex;gap:8px;align-items:center}
.kw input{flex:1}
.kw .n,.au .n{font-family:var(--mono);font-size:10px;letter-spacing:.09em;color:var(--steel);
  text-transform:uppercase;flex:0 0 auto;min-width:74px}
.au{border:1px solid var(--alu-soft);border-radius:9px;background:#fff;padding:11px 13px;
  box-shadow:inset 0 1px 0 #fff}
.au.presenting{border-color:var(--green);background:#F5F8F6}
.au .head{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.au .head .n{flex:1}
.tick{display:inline-flex;align-items:center;gap:7px;font-size:12.8px;cursor:pointer;
  border:1px solid var(--alu-soft);border-radius:7px;padding:5px 9px;background:#fff;user-select:none}
.tick input{width:auto;margin:0;accent-color:var(--green)}
.tick.on{border-color:var(--green);background:#EDF3F0;color:var(--green-ink);font-weight:600}
.rm{border:0;background:none;color:var(--steel);cursor:pointer;font-size:17px;line-height:1;padding:2px 5px;border-radius:5px}
.rm:hover{color:var(--danger);background:#F7EFEF}

/* pills + notices */
.pill{display:inline-block;font-family:var(--mono);font-size:10px;letter-spacing:.07em;
  text-transform:uppercase;padding:3px 8px;border-radius:999px;border:1px solid var(--alu);
  background:#fff;color:var(--steel);white-space:nowrap}
.pill.green{border-color:#A9C9B9;background:#EDF5F1;color:var(--green-ink)}
.pill.gold{border-color:#DCC58A;background:#FBF5E6;color:var(--gold-deep)}
.pill.ink{border-color:#0B0E12;background:var(--ink);color:#F6F3EA}
/* the new section titles run to fifty characters: let them wrap, not overflow */
.pill.wrap{white-space:normal;line-height:1.35}
/* "What each section covers", folded under the section choice */
.guide{margin:0 0 6px;font-size:12.8px}
.guide summary{cursor:pointer;color:var(--blue);width:max-content}
.guide dl{margin-top:8px;border:1px solid var(--alu-soft);border-radius:8px;background:#fff;
  padding:9px 13px}
.guide dt{font-weight:600;margin-top:7px}
.guide dt:first-child{margin-top:0}
.guide dd{color:var(--steel);margin:1px 0 0}
.note{border:1px solid var(--alu-soft);border-left:3px solid var(--gold);border-radius:8px;
  background:#FBF8F0;padding:10px 13px;font-size:13px;margin-top:11px}
.note.bad{border-left-color:var(--danger);background:#FBF2F2}
.note.good{border-left-color:var(--green);background:#F0F6F3}
.empty{border:1px dashed var(--alu);border-radius:9px;padding:24px;text-align:center;
  color:var(--steel);font-size:13px;background:#FBFAF6}

/* the submitted-papers list */
.paper{border:1px solid var(--alu-soft);border-radius:9px;background:#fff;padding:12px 14px;margin-bottom:9px}
.paper .top{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.paper .ti{font-weight:600;font-size:14px;flex:1;min-width:190px;line-height:1.35}
.paper .meta{font-size:12px;color:var(--steel);margin-top:5px;display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.paper .acts{display:flex;gap:6px;flex-wrap:wrap}
.paper .details{margin-top:10px;border-top:1px dashed var(--alu-soft);padding-top:4px}
.paper .abstract{white-space:pre-wrap;font-size:13px;line-height:1.55;color:var(--ink);margin:0 0 6px}

/* admin table — fixed widths, or one long abstract squeezes every other column
   into a single character per line. */
.toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}
.toolbar input[type=text]{flex:1;min-width:190px}
.tablewrap{margin-top:13px;border:1px solid var(--alu);border-radius:var(--r);background:#fff;
  overflow:auto;max-height:70vh}
/* The declared column widths only hold if the table may reach its natural
   width; otherwise the browser scales them down and every cell wraps to one
   word per line. The wrapper scrolls sideways instead. */
table{border-collapse:separate;border-spacing:0;font-size:13px;table-layout:fixed;
  width:2000px;max-width:none}
th,td{text-align:left;padding:8px 11px;border-bottom:1px solid var(--alu-soft);vertical-align:top;
  overflow-wrap:anywhere}
col.c-id{width:104px} col.c-submitter{width:170px} col.c-uid{width:96px}
col.c-title{width:230px} col.c-abstract{width:300px} col.c-keywords{width:180px}
col.c-section{width:200px} col.c-panel{width:180px} col.c-updated{width:120px}
col.c-decision{width:170px}
col.c-authors{width:290px}
thead th{position:sticky;top:0;z-index:2;background:#EDEAE2;font-family:var(--mono);font-size:10px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--steel);font-weight:600;white-space:nowrap;
  border-bottom:1px solid var(--alu);cursor:pointer;user-select:none}
thead th:hover{color:var(--ink)}
thead th .dir{color:var(--gold-deep)}
/* a sortable column's name is a button, so the keyboard can sort too */
thead th .sortbtn{font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;
  background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:left;width:100%}
thead th .sortbtn:focus-visible{outline:2px solid var(--green);outline-offset:2px}
tbody tr:nth-child(even){background:#FBFAF6}
tbody tr:hover{background:#F3F6F4}
td.num{font-family:var(--mono);white-space:nowrap}
/* An abstract is long by nature. Show the opening and let the reader open it. */
td.abs{color:var(--steel);font-size:12.4px;line-height:1.45}
td.abs .clip{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}
td.abs.open .clip{display:block}
td.abs .more{margin-top:4px;font-family:var(--mono);font-size:10px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--blue);background:none;border:0;cursor:pointer;padding:0}
td.abs .more:hover{text-decoration:underline}
/* a small action under a cell's value, like "Read all" */
.cellbtn{display:block;margin-top:6px;font-family:var(--mono);font-size:10px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--blue);background:none;border:0;cursor:pointer;padding:0}
.cellbtn:hover{text-decoration:underline}
.cellbtn.danger{color:var(--danger);margin-top:8px}
.hint.told{color:var(--green)}
.hint.warn{color:var(--danger)}
#lettersCard textarea{font-family:inherit;line-height:1.5}

/* the Decisions and Letters tabs: ordinary tables, as wide as the page */
.tablebox{overflow-x:auto;margin-top:8px}
table.dtable{width:100%;max-width:100%;table-layout:auto;font-size:13px}
table.dtable thead th{cursor:default;position:static}
table.dtable td.num{white-space:nowrap}
.subtab .count.plain{background:var(--alu-soft);color:var(--ink)}
.subtab.on .count.plain{background:#F6F3EA;color:var(--ink)}
button.subtab{font:inherit;font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;
  text-transform:uppercase;cursor:pointer}
.dbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:space-between}
.dbar .subtabs{margin-top:10px}
.dtoggle{font:inherit;background:none;border:1px solid var(--alu-soft);border-radius:6px;
  width:26px;height:26px;cursor:pointer;color:var(--steel);line-height:1}
.dtoggle:hover{color:var(--ink);border-color:var(--alu)}
.dtitle{font:inherit;font-weight:700;text-align:left;background:none;border:0;padding:0;
  cursor:pointer;color:var(--ink)}
.dtitle:hover{text-decoration:underline}
tr.drow.open td{border-bottom:0}
tr.dexprow td{background:#FBFAF6}
.dexp{padding:2px 0 8px;max-width:980px}
.dexp h4{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);margin:12px 0 4px}
.dgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 16px;
  font-size:12.8px}
.dgrid .k{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--steel)}
.dabs{white-space:pre-wrap;line-height:1.55;font-size:13.2px}
.paneledit{display:flex;flex-direction:column;gap:6px;min-width:220px}
.paneledit input{font-size:13px;padding:6px 9px}
td.pcell{min-width:160px}
/* in these tables a word breaks only when it must, and a button never does */
table.dtable th,table.dtable td{overflow-wrap:break-word}
table.dtable .cellacts{flex-wrap:nowrap}
table.dtable .btn{white-space:nowrap}
.corr{margin-top:12px}

/* which conference: above the masthead, when several run on this server */
/* With the EPS account: whose account, and the way back to the dashboard */
.acctbar{font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:var(--steel);
  margin:0 0 9px;display:flex;gap:6px;flex-wrap:wrap;align-items:baseline}
.acctbar b{color:var(--ink)}
.confbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;
  font-size:12.6px;color:var(--steel)}
.confbar label{font-family:var(--mono);font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.confbar select{width:auto;min-width:220px;font-weight:700;color:var(--ink);padding:6px 10px}
.corr h3{font-size:14.5px;font-weight:700;display:flex;gap:9px;align-items:baseline;flex-wrap:wrap;
  margin-bottom:6px}
.lrow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:3px 0}
.lsubj{color:var(--steel);font-size:12.5px;flex:1;min-width:160px}
.corr .letter{margin:6px 0 10px;border:1px solid var(--alu-soft);border-radius:8px}
td.decision .pill{font-weight:600}
select.narrow{width:auto;min-width:200px}
td .secpick{width:100%;font-size:12.4px;padding:6px 8px}
td .cellacts{display:flex;gap:6px;margin-top:6px}
.hint.block{display:block;margin-top:3px}
/* pills in the table wrap inside their column instead of running into the next one */
td .pill{white-space:normal;max-width:100%;overflow-wrap:anywhere;line-height:1.35}
td.authors{min-width:260px}
.au-line{display:block;padding:2px 0}
.au-line .nm{font-weight:600;color:var(--ink)}
.kwlist{display:flex;gap:4px;flex-wrap:wrap}
.stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}
.stat{flex:1;min-width:110px;border:1px solid var(--alu-soft);border-radius:9px;background:var(--card);
  padding:11px 13px}
.stat .v{font-family:var(--mono);font-size:21px;font-weight:600}
.stat .l{font-family:var(--mono);font-size:9.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--steel);margin-top:2px}

/* toasts */
.toasts{position:fixed;right:16px;bottom:16px;display:flex;flex-direction:column;gap:8px;z-index:60}
.toast{background:var(--ink);color:#F6F3EA;border-radius:8px;padding:10px 14px;font-size:13px;
  box-shadow:0 8px 20px -8px rgba(0,0,0,.5);animation:rise .18s ease-out}
.toast.bad{background:var(--danger)}
@keyframes rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}

footer{margin-top:22px;text-align:center;font-family:var(--mono);font-size:10px;
  letter-spacing:.1em;color:var(--steel);text-transform:uppercase}

@media (max-width:620px){
  .grid2,.grid3{grid-template-columns:1fr}
  .mast{padding:14px 16px}
  td.abs{max-width:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* the page after a paper has been submitted */
.done{display:flex;gap:13px;align-items:flex-start}
.done-mark{flex:0 0 auto;width:34px;height:34px;border-radius:50%;display:flex;
  align-items:center;justify-content:center;font-size:18px;font-weight:700;color:#fff;
  background:linear-gradient(180deg,#1B6E54,var(--green) 60%,#124C39);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.receipt{margin-top:14px;border:1px solid var(--alu-soft);border-radius:9px;background:#fff;
  padding:12px 14px;box-shadow:inset 0 1px 0 #fff}
.receipt>div{display:flex;gap:12px;padding:6px 0;border-bottom:1px solid var(--alu-soft);
  font-size:13.5px;align-items:baseline;flex-wrap:wrap}
.receipt>div:last-child{border-bottom:0}
.receipt .k{flex:0 0 118px;font-family:var(--mono);font-size:10px;letter-spacing:.09em;
  text-transform:uppercase;color:var(--steel)}
.receipt .big{font-size:17px}
footer a{color:var(--steel)}

/* the outbox on the organizer's page */
.mails{margin-top:10px;border:1px solid var(--alu-soft);border-radius:9px;overflow:hidden}
.mailrow{display:grid;grid-template-columns:22px 86px 1fr 1.6fr 120px auto;gap:11px;align-items:center;
  padding:8px 12px;border-bottom:1px solid var(--alu-soft);font-size:12.8px;background:#fff}
.mailrow:last-child{border-bottom:0}
.mailrow.picked{background:#EDF3F0}
.mailrow .pick input{width:auto;margin:0;accent-color:var(--green)}
.mailrow .subj{color:var(--steel)}
.mailrow .err{display:block;color:var(--danger);font-size:12px;margin-top:2px}
.mailrow .act{justify-self:end;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
/* "on its way", "out of date": two lines in the narrow column, never cut off */
.mailrow .pill{white-space:normal;max-width:100%;line-height:1.35;text-align:center}
/* the Sections editor on the Settings tab */
.secrow{display:grid;grid-template-columns:26px 1fr 78px auto;gap:10px;align-items:start;
  padding:9px 0;border-bottom:1px solid var(--alu-soft)}
.secrow:last-child{border-bottom:0}
.secrow .n{font-family:var(--mono);font-size:10px;color:var(--steel);padding-top:10px}
.secrow .secfields{display:flex;flex-direction:column;gap:6px}
.secrow .hint{padding-top:9px}
.secrow .acts{display:flex;gap:5px;padding-top:2px;width:150px}
.secrow .acts [data-sec=remove],.secrow .acts [data-sec=keep]{flex:1}
.secrow.removed .secfields input{text-decoration:line-through;color:var(--steel)}
.secmove{font-size:12.8px;color:var(--danger);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.secmove select{width:auto;min-width:240px}
@media(max-width:720px){
  .secrow{grid-template-columns:22px 1fr}
  .secrow .hint,.secrow .acts{grid-column:2}
  .secrow .acts{width:auto}
}
/* the Accounts tab */
.accounts{margin-top:12px;border:1px solid var(--alu-soft);border-radius:9px;overflow:hidden}
.acctrow{display:grid;grid-template-columns:1.3fr auto 1.2fr auto;gap:12px;align-items:center;
  padding:9px 12px;border-bottom:1px solid var(--alu-soft);background:#fff;font-size:12.8px}
.acctrow:last-child{border-bottom:0}
.acctrow:nth-child(even){background:#FBFAF6}
.acctrow .acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.logrow{display:grid;grid-template-columns:130px 1fr 1.6fr 1.2fr;gap:11px;align-items:baseline;
  padding:7px 12px;border-bottom:1px solid var(--alu-soft);font-size:12.6px;background:#fff}
.logrow:last-child{border-bottom:0}
@media(max-width:900px){
  .acctrow{grid-template-columns:1fr auto}
  .acctrow .acts{grid-column:1 / -1;justify-content:flex-start}
  .logrow{grid-template-columns:1fr}
}
@media(max-width:820px){
  .mailrow{grid-template-columns:22px 76px 1fr;row-gap:4px}
  .mailrow .subj,.mailrow .hint.mono,.mailrow .act{grid-column:3}
  .mailrow .act{justify-self:start}
}
/* one letter, opened, exactly as the person receives it */
.letter{border-bottom:1px solid var(--alu-soft);background:#FDFCF8;padding:13px 16px 15px}
.letter dl{display:grid;grid-template-columns:78px 1fr;gap:3px 12px;font-size:12.8px;margin-bottom:10px}
.letter dt{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);padding-top:2px}
.letter .body{white-space:pre-wrap;font-size:13px;line-height:1.55;background:#fff;
  border:1px solid var(--alu-soft);border-radius:8px;padding:12px 14px;overflow-wrap:anywhere}
/* a letter written in the editor: its HTML in a frame of its own (letter.css
   inside), the plain text below on request */
.lframe{display:block;width:100%;height:220px;border:1px solid var(--alu-soft);border-radius:8px;
  background:#fff}
.ltext{margin-top:8px}
.ltext summary{cursor:pointer;font-size:12.5px;color:var(--steel)}
.ltext .body{margin-top:6px}

/* the editor of the decision letters (Quill, vendor/quill/quill.snow.css),
   set to look like the e-mail: same font, no space between paragraphs */
.ledhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;
  margin-bottom:6px}
.ledhead .lbl{font-family:var(--mono);font-size:10px;letter-spacing:.09em;color:var(--steel);
  text-transform:uppercase}
.subtabs.ledtabs{margin-top:0}
.lph{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-bottom:7px}
.lph .hint{margin-right:3px}
.lph .btn.sm{font-size:11.5px;padding:3px 8px}
.ledit .ql-toolbar.ql-snow{border-color:var(--alu);border-radius:8px 8px 0 0;background:#F8F7F2}
.ledit .ql-container.ql-snow{border-color:var(--alu);border-radius:0 0 8px 8px;background:#fff}
.ledit .ql-editor{min-height:260px;max-height:70vh;font-family:Arial,sans-serif;font-size:14px;
  line-height:1.5;color:#1a1a1a}
.ledit .ql-editor h2{font-size:21px}
.ledit .ql-editor h3{font-size:17px}
.ledit .ql-editor blockquote{margin:0;padding-left:12px;border-left:3px solid #cccccc}
.ledit .ql-snow .ql-tooltip{z-index:2}
.ledit .ql-snow .ql-tooltip input[type=text]{border-radius:4px;box-shadow:none}
#lettersCard textarea.lhtml{font-family:var(--mono);font-size:12.5px;line-height:1.5;
  min-height:260px}
.pill.red{border-color:#E1B4B4;background:#FBF2F2;color:var(--danger)}

/* organizer tabs. Six of them do not fit on a phone: they wrap to a second
   row rather than widen the page, which the phone would then shrink to fit. */
.tabs{display:flex;flex-wrap:wrap;gap:4px;margin-top:14px;border-bottom:1px solid var(--alu)}
.tab{font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--steel);text-decoration:none;padding:9px 15px;border:1px solid transparent;
  border-bottom:0;border-radius:8px 8px 0 0;margin-bottom:-1px}
.tab:hover{color:var(--ink)}
.tab.on{color:var(--ink);background:var(--card);border-color:var(--alu);font-weight:600}
.tab .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);
  margin-left:7px;vertical-align:1px}
.tabs + .note,.tabs + .card,.tabs + .stats{margin-top:14px}
@media (max-width:620px){.tab{padding:9px 11px}}
/* the parts of Settings, one at a time */
.subtabs{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.subtab{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);text-decoration:none;padding:7px 13px;border:1px solid var(--alu-soft);
  border-radius:999px;background:var(--card)}
.subtab:hover{color:var(--ink);border-color:var(--alu)}
.subtab.on{color:#F6F3EA;background:var(--ink);border-color:var(--ink);font-weight:600}
.subtab .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--gold);
  margin-left:7px;vertical-align:1px}
.subtab .count{display:inline-block;margin-left:7px;padding:0 6px;border-radius:999px;
  background:var(--gold);color:#fff;font-size:9.5px;line-height:16px;letter-spacing:0}
.subtabs + .card,.subtabs + .note{margin-top:12px}
.tab .count{display:inline-block;margin-left:7px;padding:0 6px;border-radius:999px;
  background:var(--gold);color:#fff;font-size:9.5px;line-height:16px;letter-spacing:0}

/* the Mail tab: folders | list | reading pane */
.mailbox{display:grid;grid-template-columns:180px minmax(250px,340px) minmax(0,1fr);gap:12px;
  margin-top:14px;align-items:start}
.mailbox .card{margin-top:0;padding:12px}
.mbfolders{display:flex;flex-direction:column;gap:2px}
.mbnew{margin-bottom:8px}
.mbfolder{display:flex;justify-content:space-between;align-items:center;gap:8px;font:inherit;
  font-size:13.3px;text-align:left;background:none;border:0;border-radius:7px;padding:7px 9px;
  cursor:pointer;color:var(--ink)}
.mbfolder:hover{background:#F3F4F1}
.mbfolder.on{background:#E9EEEC;font-weight:600}
.mbfolder .count{padding:0 6px;border-radius:999px;background:var(--gold);color:#fff;
  font-size:10px;line-height:16px}
.mblist{padding:0 !important;overflow:hidden}
.mbbar{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid var(--alu-soft)}
.mbbar .btn{margin-left:auto}
.mbrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;width:100%;font:inherit;
  text-align:left;background:none;border:0;border-bottom:1px solid var(--alu-soft);
  padding:9px 12px;cursor:pointer;color:var(--ink)}
.mbrow:hover{background:#F6F7F4}
.mbrow.on{background:#E9EEEC}
.mbrow.unread{box-shadow:inset 3px 0 0 var(--gold)}
.mbrow.unread .mbwho,.mbrow.unread .mbsubj{font-weight:700}
.mbwho{font-size:13.2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mbwhen{font-family:var(--mono);font-size:10.5px;color:var(--steel);white-space:nowrap}
.mbsubj{grid-column:1 / -1;font-size:12.8px;color:var(--steel);overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.mbmark{color:var(--green);margin-right:5px;font-weight:700}
.mbpager{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px}
.mbread{min-height:300px}
.mbfolders .hint{overflow-wrap:anywhere}
.mbtitle{font-size:16px;font-weight:700;margin-bottom:8px;overflow-wrap:anywhere}
.mbhead{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;font-size:12.8px;margin:0}
.mbhead dt{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);padding-top:2px}
.mbhead dd{margin:0;overflow-wrap:anywhere}
.mbacts{margin-top:10px}
.mbattach{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.mbtext{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:13.6px;line-height:1.55;
  margin:12px 0 0;padding-top:12px;border-top:1px solid var(--alu-soft)}
/* Which mailbox the Mail tab shows, at the top of its column, when there is
   more than the conference's own (user, 21 Oct 2026) */
.mbswitch{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;padding-bottom:10px;
  border-bottom:1px solid var(--alu-soft)}
.mbswitch.wide{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 6px;margin:4px 0 0;
  padding-bottom:0;border-bottom:0}
.mbswitchlabel{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);padding:0 9px 3px}
.mbwhich span:first-child{min-width:0;overflow-wrap:break-word}
/* A mailbox that cannot be read: its reason on hover (review, 21 Oct 2026) */
.mbwarn{flex:none;width:16px;height:16px;border-radius:50%;background:var(--danger);color:#fff;
  font-size:10px;font-weight:700;line-height:16px;text-align:center}
.mbfrom{margin:0 0 10px;font-size:13px;overflow-wrap:anywhere}
.mbfrom span{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--steel);margin-right:8px}
.mbdockfrom{opacity:.75}
@media (max-width:980px){
  .mailbox{grid-template-columns:1fr}
  .mbfolders{flex-direction:row;flex-wrap:wrap}
  .mbnew{margin-bottom:0;margin-right:6px}
  .mbfolders .hint{flex-basis:100%;margin-top:4px}
  .mbread{min-height:0}
  .mbswitch{flex-basis:100%;flex-direction:row;flex-wrap:wrap;align-items:center;margin-bottom:6px;
    padding-bottom:6px}
}
/* The e-mail being written: a window of its own at the foot of the screen,
   over the Mail tab, which keeps its layout beneath; the text scrolls inside
   it. Minimized, a bar - "Draft: ...", Open, Discard (user, 21 Oct 2026). Below
   the toasts, which must stay readable. */
.mbcompose{position:fixed;right:20px;bottom:0;z-index:40;display:flex;flex-direction:column;
  width:min(640px,calc(100vw - 40px));height:min(680px,calc(100vh - 48px));
  background:var(--card);border:1px solid var(--alu);border-bottom:0;border-radius:12px 12px 0 0;
  box-shadow:0 -10px 34px -12px rgba(19,23,28,.42)}
.mbchead{display:flex;align-items:center;gap:8px;padding:9px 12px 9px 16px;background:#E9EEEC;
  border-bottom:1px solid var(--alu-soft);border-radius:11px 11px 0 0}
.mbchead b{flex:1;min-width:0;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.mbcbody{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;padding:12px 16px 2px}
/* The text box takes the height left over and alone scrolls: sized by its
   ten rows it could not shrink, so the window's body scrolled as well and the
   From line slid under the header (review, 21 Oct 2026). */
.mbcbody .field.mbtextfield{flex:1 1 0;min-height:0;display:flex;flex-direction:column;
  margin-bottom:8px}
.mbcbody textarea{flex:1 1 0;min-height:96px;resize:none;font-family:inherit;line-height:1.5}
.mbcfoot{padding:8px 16px 12px;border-top:1px solid var(--alu-soft)}
.mbcfoot .btnrow{margin-top:8px}
.mbcfoot .note{margin-top:8px}
.mbdock{position:fixed;right:20px;bottom:0;z-index:40;display:flex;align-items:center;gap:8px;
  width:min(440px,calc(100vw - 40px));padding:8px 10px 8px 14px;background:var(--ink);
  color:#F6F3EA;border-radius:10px 10px 0 0;box-shadow:0 -6px 22px -10px rgba(19,23,28,.5)}
.mbdocktitle{flex:1;min-width:0;font-size:13px;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
/* A message shown meanwhile sits above the bar and the window's buttons,
   never over them: a click on Open landed on "Sent to ..." instead (tests,
   21 Oct 2026). */
body:has(.mbdock) .toasts{bottom:62px}
body:has(.mbcompose) .toasts{bottom:84px}
@media (max-width:640px){
  .mbcompose{left:0;right:0;width:auto;height:calc(100vh - 10px);height:calc(100dvh - 10px)}
  .mbdock{left:0;right:0;width:auto;border-radius:0}
}

/* Batch e-mails (user, 27 Oct 2026): a window like the e-mail being written,
   wider and taller, whose body scrolls as one; minimized, a bar at the left,
   so that it never covers the draft's at the right. On a phone the whole
   screen, like the draft. */
.mbcompose.bwin{width:min(1000px,calc(100vw - 40px));height:calc(100vh - 24px);
  height:calc(100dvh - 24px)}
.bwin .bbody{flex:1;min-height:0;overflow:auto;padding:12px 16px 6px}
.bwin .ledit .ql-editor{min-height:220px;max-height:none}
.bwin textarea#bFooter{min-height:0;font-family:inherit;font-size:13px;line-height:1.5}
.bwin textarea.lhtml{font-family:var(--mono);font-size:12.5px;min-height:220px}
.bwin .letter{border:1px solid var(--alu-soft);border-radius:8px}
.mbdock.bdock{right:auto;left:20px}
.bpick{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 11px}
.bpick .field{margin-bottom:8px}
.bsum{margin-top:8px;font-size:13.2px}
.brows{max-height:280px;overflow:auto;border:1px solid var(--alu-soft);border-radius:8px;
  margin-top:6px;background:#fff}
/* a person's letter open on a batch card: room for it (review, 27 Oct 2026) */
.brows.bopen{max-height:min(85vh,1200px)}
.brow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 64px auto;gap:4px 10px;
  align-items:center;padding:5px 10px;border-bottom:1px solid var(--alu-soft);font-size:12.6px}
.brow:last-child{border-bottom:0}
.brow > span{min-width:0;overflow-wrap:anywhere}
.brow .err{display:block;color:var(--danger);font-size:12px}
.bskip .brow{grid-template-columns:64px minmax(0,1.3fr) minmax(0,1fr)}
.bskip summary{cursor:pointer;font-size:12.8px;color:var(--steel)}
.brow.bperson{grid-template-columns:86px minmax(0,1fr) 120px auto}
.brow.bperson .pill{text-align:center;white-space:normal}
.bnav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.bitem{border:1px solid var(--alu-soft);border-radius:9px;padding:11px 13px;margin-top:10px;
  background:#fff}
.bhead{display:flex;gap:9px;align-items:baseline;flex-wrap:wrap}
.bhead b{flex:1;min-width:180px;overflow-wrap:anywhere}
.bitem > .hint{margin-top:3px;overflow-wrap:anywhere}
.bitem progress{display:block;width:100%;height:10px;margin-top:9px;accent-color:var(--green)}
.bcounts{font-size:12.8px;margin-top:5px;color:var(--steel)}
.bcounts b{color:var(--ink)}
.bitem .btnrow{margin-top:9px}
@media (max-width:640px){
  .mbcompose.bwin{width:auto;height:calc(100vh - 10px);height:calc(100dvh - 10px)}
  .mbdock.bdock{left:0;right:0}
  /* both bars at once: the batch's above the draft's */
  body:has(.mbdock:not(.bdock)) .mbdock.bdock{bottom:48px}
  .brow,.brow.bperson,.bskip .brow{grid-template-columns:minmax(0,1fr);row-gap:2px}
  .brow > .btn{justify-self:start}
  .brow.bperson .pill{justify-self:start}
}

/* the mail server settings */
.presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12.8px;color:var(--steel)}
/* ...and the other mailboxes of the Mail tab (21 Oct 2026) */
.mbxlist{display:flex;flex-direction:column;gap:8px}
.mbxrow{display:flex;justify-content:space-between;align-items:flex-start;gap:8px 12px;
  flex-wrap:wrap;padding:10px 12px;border:1px solid var(--alu-soft);border-radius:9px}
.mbxwhat{display:flex;flex-direction:column;gap:3px;flex:1;min-width:200px;overflow-wrap:anywhere}
.mbxwhat .note{margin:4px 0 0}
.mbxrow .btnrow{margin-top:0}
.inline{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.inline input{flex:1;min-width:210px}
.note.state{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:6px}
.note.state p{flex:1;min-width:220px;margin:0}
.field .note{display:block;margin-top:6px}
.hidden{display:none!important}
/* the test-phase notice, on every page while it is switched on */
.testbar{background:#FBF1D6;border:1px solid #DCC58A;border-left:4px solid var(--gold);
  border-radius:var(--r);padding:10px 14px;margin-bottom:12px;font-size:13.2px;color:#4A3A0C}
/* an organizer's "View as author": not the test notice's gold */
.testbar.viewbar{background:#E9EFF7;border-color:#B8C6DA;border-left-color:#3D5A85;color:#1E3352}
.viewbar form{display:inline-block;margin:0 0 0 8px;vertical-align:middle}
/* the privacy notice and the legal notice */
.legal{max-width:none;line-height:1.62;font-size:14.2px}
.legal h2{font-size:19px;margin-bottom:2px}
.legal h3{font-size:15px;font-weight:700;margin:20px 0 6px;color:var(--ink)}
.legal p{margin:0 0 10px}
.legal ul{margin:0 0 10px 20px}
.legal li{margin-bottom:5px}
.legal a{color:var(--blue)}
.link-btn{font:inherit;font-size:12.8px;color:var(--blue);background:none;border:0;padding:0;
  cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.link-btn:hover{color:var(--ink)}

/* Small spacing helpers. These exist so that no script has to write a style
   attribute: the content security policy forbids inline styles, which is what
   keeps an injected style from being applied to the page. */
.mt-6{margin-top:6px}
.mt-8{margin-top:8px}
.mt-11{margin-top:11px}
.m-0{margin:0}
.m-tight{margin:4px 0 0}
.plain{text-decoration:none}
.narrow-card{max-width:470px;margin-left:auto;margin-right:auto}

.mblist .empty{margin:12px}

/* the state of a paper's letters, under its title on the Decisions tab */
td .note{font-size:12.4px;padding:7px 9px}
table.dtable td .note .cellacts{flex-wrap:wrap}
.note ul{margin:6px 0 0 18px;padding:0}
/* in the log: an accepted paper withdrawn by its authors */
.logrow.alert{background:#FBF2F2;box-shadow:inset 3px 0 0 var(--danger)}
