@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{
  --bg:#f7f1ea;
  --bg-deep:#efe6db;
  --panel:#fffaf4;
  --text:#1f1a16;
  --muted:#6b5f55;
  --border:#e3d7c8;
  --grid:#dacdbf;
  --grid2:#cabcae;

  --accent:#0f766e;
  --primary:#d97706;
  --danger:#c2410c;
  --cutoff:#d1432b;

  --bottleneck-bg:#e8f3f1;
  --bottleneck-border:#0f766e;

  --shadow: 0 10px 26px rgba(40,28,18,.12), 0 3px 10px rgba(40,28,18,.08);
  --shadow-soft: 0 14px 30px rgba(15,23,42,.10);
  --glow: 0 0 0 2px rgba(15,118,110,.10);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 400px at 10% -10%, rgba(15,118,110,.18), transparent 60%),
    radial-gradient(760px 380px at 90% 0%, rgba(217,119,6,.16), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg-deep));
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

body::before,
body::after{
  content:"";
  position:fixed;
  inset:auto;
  z-index:-1;
  pointer-events:none;
}
body::before{
  width:520px;
  height:520px;
  right:-120px;
  top:10%;
  background:conic-gradient(from 140deg, rgba(15,118,110,.14), rgba(217,119,6,.12), transparent 60%);
  border-radius:40% 60% 55% 45%;
  filter:blur(2px);
}
body::after{
  width:420px;
  height:420px;
  left:-140px;
  bottom:-120px;
  background:radial-gradient(circle, rgba(15,118,110,.18), transparent 65%);
  border-radius:54% 46% 62% 38%;
}

/* Sticky page header */
.topbar{
  position:sticky;
  top:0;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:20px;
  padding:14px 18px;
  background:rgba(255,250,244,.92);
  border-bottom:1px solid rgba(227,215,200,.9);
  backdrop-filter: blur(14px);
  z-index:30;
  font-size:13px;
  box-shadow:var(--shadow-soft);
  animation:floatIn .5s ease-out both;
}

.brand{display:flex; align-items:center; gap:14px; min-width:0}
.brand > div{display:flex; flex-direction:column; gap:2px; min-width:0}
.logo{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(15,118,110,.4);
  background:linear-gradient(140deg, #fef3c7, #ecfdf3);
  border-radius:12px;
  font-size:18px;
  box-shadow:0 0 0 4px rgba(15,118,110,.08);
}
.title{font-weight:700; letter-spacing:.2px; font-size:14px}
.subtitle{color:var(--muted); font-size:12px; margin-top:0}

.actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; align-items:center}
.authStatus{
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px 6px;
  border-radius:10px;
  border:1px dashed rgba(15,118,110,.25);
  font-size:12px;
  color:var(--muted);
}
.authAvatar{
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(140deg, #fde68a, #bbf7d0);
  border:1px solid rgba(15,118,110,.35);
  color:#134e4a;
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
}
.authStatus span{
  max-width:220px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.btn{
  border:1px solid var(--border);
  background:linear-gradient(180deg, #ffffff, #fff6ec);
  color:var(--text);
  padding:8px 13px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  user-select:none;
  box-shadow:0 4px 10px rgba(15,23,42,.08);
}

.menu{
  position:relative;
}
.menu > summary{
  list-style:none;
}
.menu > summary::-webkit-details-marker{
  display:none;
}
.menu[open] > summary{
  box-shadow:0 6px 16px rgba(15,23,42,.14);
}
.menuPanel{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:220px;
  background:#fffdf9;
  border:1px solid rgba(227,215,200,.9);
  border-radius:14px;
  padding:10px;
  box-shadow:0 18px 40px rgba(15,23,42,.16);
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:40;
}
.menuGroup{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.menuTitle{
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.menuItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(227,215,200,.75);
  background:#fffaf2;
  font-weight:600;
  font-size:12px;
  cursor:pointer;
  color:var(--text);
}
.menuItem:hover{
  background:#fff2e2;
}
.menuItem:disabled{
  opacity:.5;
  cursor:not-allowed;
}
.menuItem.danger{
  color:#a11f1f;
  border-color:rgba(200,30,30,.25);
  background:#fff1ef;
}
.menuItem.danger:hover{
  background:#ffe7e3;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(15,118,110,.45)}
.btn:active{transform:translateY(0); box-shadow:none}
.btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.btn-secondary{
  border-color:rgba(15,118,110,.25);
  background:linear-gradient(180deg, #fffaf4, #f7f1ea);
}
.btn-secondary:hover{box-shadow:var(--glow)}
.btn-danger{
  border-color:rgba(194,65,12,.35);
  color:var(--danger);
  background:linear-gradient(180deg, #fff6ed, #ffefe2);
}
.btn-danger:hover{border-color:rgba(194,65,12,.65)}
.jiraConnected{border-color:#86d5c5; background:#e8f8f5; color:#0f766e}
.jiraConnecting{border-color:#f2c27a; background:#fff3df; color:#b45309}
.jiraError{border-color:#f2a79a; background:#fff1ee; color:#b42318}

.container{
  max-width:1440px;
  margin:16px auto;
  padding:0 16px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
  width:100%;
  min-height:0;
  overflow:hidden;
}
.card{
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:16px;
  box-shadow:var(--shadow);
}
.container > .card:last-of-type{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}

.controls{padding:16px; animation:floatIn .6s ease-out both; animation-delay:.05s}
.controlsHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.controlsTitle{
  font-weight:700;
  color:var(--text);
}
.controlsToggleBtn{
  min-width:104px;
}
.controlsTop{
  display:grid;
  grid-template-columns: 220px 260px 1fr 320px;
  gap:12px;
  align-items:start;
}
.controlsBottom{margin-top:12px}
.controls.collapsed .controlsTop,
.controls.collapsed .controlsBottom{
  display:none;
}
.controls.collapsed .controlsHeader{
  margin-bottom:0;
}
.control-full{width:100%}
.controlsTop .control-full{grid-column: 1 / -1}
.control label{display:block; color:var(--muted); font-size:12px; margin-bottom:6px}
.control select, .control input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fffdfa;
  color:var(--text);
  outline:none;
  font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
}
.control select:focus, .control input:focus{
  border-color: rgba(15,118,110,.6);
  box-shadow:0 0 0 3px rgba(15,118,110,.15);
}
.control select:disabled, .control input:disabled{
  opacity:.65;
  cursor:not-allowed;
}
.control-wide{grid-column: span 1}

.chips{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fffdf9;
  font-size:13px;
  color:var(--text);
}

thead th.bottleneck{background:var(--bottleneck-bg); box-shadow: inset 0 -3px 0 var(--bottleneck-border)}
.availChip.bottleneck{border-color:var(--bottleneck-border); background:var(--bottleneck-bg)}
.availChip.overCap.bottleneck{background:#ffe9e9; border-color:#c81e1e}

.cutoffCtl{display:flex; flex-direction:column; gap:6px}
.muted{color:var(--muted); font-size:12px}

/* Table: spreadsheet feel */
.tableWrap{
  overflow:auto;
  border-radius:16px;
  flex:1;
  min-height:0;
  background:#fffdf9;
  animation:floatIn .65s ease-out both;
  animation-delay:.08s;
}

table{width:100%; border-collapse:collapse; table-layout:fixed}

thead th{
  position:sticky;
  top: 0;
  background:linear-gradient(180deg, #fff6ec, #fffdf9);
  border:1px solid var(--grid2);
  padding:9px 12px;
  text-align:left;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
  z-index:5;
  font-family: "IBM Plex Mono", "Courier New", monospace;
}
.rowNumHeader{
  text-align:center;
  background:linear-gradient(180deg, #fff6ec, #fffdf9);
  border-right:none;
}
.rowActionHeader{
  text-align:center;
  border-left:none;
}
.rowAddBtn{
  width:28px;
  height:28px;
  border-radius:999px;
  border:1px solid rgba(15,118,110,.35);
  background:linear-gradient(180deg, #ffffff, #eefcf7);
  color:#0f4c45;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(15,23,42,.08);
}
.rowAddBtn:disabled{
  opacity:.5;
  cursor:not-allowed;
}

.thMain{font-weight:600; line-height:1.15}
.thSub{font-weight:500; color:var(--muted); font-size:11px; line-height:1.05; margin-top:2px}

/* Availability panel (above table) */
.availability{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  gap:10px;
  align-items:flex-end;
  overflow-x:visible;
  padding-bottom:0;
}
.availChip{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:6px;
  min-width:unset;
  padding:6px 8px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fffdfa;
  box-shadow:0 3px 8px rgba(40,28,18,.05);
}
.availChip label{
  margin:0;
  font-size:10px;
  color:var(--muted);
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.availInputs{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.availChip input{
  width:78px;
  padding:5px 6px;
  border-radius:9px;
  border:1px solid var(--border);
  background:#fffdf9;
  text-align:center;
  outline:none;
  font-family: "IBM Plex Mono", "Courier New", monospace;
}
.availChip input:focus{border-color: rgba(15,118,110,.6); box-shadow:0 0 0 2px rgba(15,118,110,.15)}
.availChip.overCap{
  border-color:#c81e1e;
  background:#ffe9e9;
}
.availChip.overCap label{color:#c81e1e}
.availMeta{
  display:flex;
  flex-direction:column;
  gap:2px;
  font-size:10px;
  color:var(--muted);
  white-space:nowrap;
}
.availName{
  font-weight:700;
  color:var(--text);
  font-size:11px;
  letter-spacing:.2px;
}
.availEffective{
  font-size:10px;
  color:var(--muted);
}

tbody td{
  border:1px solid var(--grid2);
  padding:0;
  vertical-align:top;
  background:var(--panel);
}

/* Slight highlight for cells that have a note / comment */
tbody td.hasComment{background:#fff5d6}
tbody tr:hover td.hasComment{background:#ffefc1}

tbody tr:hover td{background:#fffdf5}
.rowSelected:hover td{background:#eef6f5}
.priorityViolation td{
  box-shadow: inset 0 0 0 1px #c81e1e;
}
.pctDoneCell{
  text-align:center;
  font-size:13px;
  font-weight:600;
  vertical-align:middle;
}
.pctDoneEmoji{
  font-size:20px;
  line-height:1;
  display:inline-block;
}
.nameCell .cellDisplay{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nameDisplay{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}
.nameText{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  display:block;
}
.jiraSpinner{
  display:inline-flex;
  width:14px;
  height:14px;
  align-items:center;
  justify-content:center;
  font-size:12px;
  color:#0f766e;
  animation:spin 1.6s linear infinite;
}
@keyframes spin{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

/* Inputs */
.cellInput{
  width:100%;
  padding:7px 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:var(--text);
  outline:none;
  min-height:34px;
  font: inherit;
}
.cellInput:focus{
  background:#e6f3f2;
  box-shadow: inset 0 0 0 2px rgba(15,118,110,.35);
}

/* Text cells behave like wrapped cells (always visible) */
.cellArea{
  resize:none;
  overflow:hidden;
  white-space:pre-wrap;
  word-break:break-word;
}

.cellNum{ text-align:center; }

.cellDisplay{
  padding:7px 8px;
  min-height:34px;
  white-space:pre-wrap;
  word-break:break-word;
}

.cellLink{color:var(--accent); text-decoration:underline}
.cellLink:hover{text-decoration:underline}

.hidden{display:none !important}

/* Date picker overlay */
.dateCell{position:relative; cursor:default}
.dateCell:hover{background:#fffdf5}
.datePicker{position:absolute; inset:0; width:100%; height:100%}

/* Row number + action columns */
.rowNumCell{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  color:var(--muted);
  font-size:12px;
  border-right:none;
  border-left:none;
  border-top:none;
  border-bottom:none;
  background:var(--panel);
}
.rowNumCell + td{border-left:none}
.rowNumBadge{
  width:26px;
  height:26px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(140deg, #fef3c7, #ecfdf3);
  box-shadow:0 0 0 1px rgba(15,118,110,.2), 0 0 10px rgba(15,118,110,.35);
  color:#2a4b45;
  font-weight:600;
}
.rowSelected td{background:#eaf6f2}
.rowSelected .rowNumCell{
  color:#0f4a42;
  background:#eaf6f2;
}
.rowSelected .rowNumBadge{
  background:#dff2ed;
  box-shadow:0 0 0 1px rgba(15,118,110,.3), 0 0 12px rgba(15,118,110,.45);
}
.rowDraggable .rowNumCell{cursor:grab}
.rowDraggable .rowNumCell:active{cursor:grabbing}
tr.dragging{opacity:.65}
tr.dragOverTop td{box-shadow: inset 0 3px 0 var(--accent)}
tr.dragOverBottom td{box-shadow: inset 0 -3px 0 var(--accent)}

.rowActionCell{
  padding:0;
  text-align:center;
  font-size:12px;
  font-weight:600;
  color:var(--text);
  cursor:pointer;
  user-select:none;
}
.rowActionCell{
  background:linear-gradient(180deg, #fff6ec, #fffdf9);
}
.rowActionCell::before{
  content:'';
  display:block;
  height:6px;
}
.rowActionCell::after{
  content:'';
  display:block;
  height:6px;
}
.rowActionCell.disabled{opacity:.45; cursor:not-allowed}
.rowActionCell:hover{background:#fff3e1}

/* Checkbox cells: keep td as table-cell to avoid layout glitches */
.checkboxCell{vertical-align:middle; padding:0}
.checkboxInner{display:flex; align-items:center; justify-content:center; min-height:34px; height:100%}
.checkboxInner input{transform: scale(1.05)}

/* Sprint cutoff line */
.cutoffRow td{border-top:4px solid var(--cutoff)}

/* Overdue due date highlighting */
.overdueTask td{
  border-top:2px solid #b42318 !important;
  border-bottom:2px solid #b42318 !important;
}
.overdueTask td:first-child{
  border-left:2px solid #b42318 !important;
}
.overdueTask td:last-child{
  border-right:2px solid #b42318 !important;
}
.dueDateOverdue .cellDisplay{
  color:#7a1010;
  font-weight:800;
}

/* Over capacity highlight (effort > available) */
thead th.overCap{
  background:#b91c1c !important;
  color:#fff !important;
  border-color:#8b0e0e !important;
}
thead th.overCap .availLabel{color:#fff}
thead th.overCap .thSub{color:#fff}

.hint{
  padding:12px 14px;
  color:var(--muted);
  font-size:12px;
  background:linear-gradient(90deg, rgba(15,118,110,.08), transparent);
  border-top:1px solid rgba(227,215,200,.6);
}
.footer{
  padding:16px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  animation:floatIn .7s ease-out both;
  animation-delay:.12s;
}

body.locked .topbar,
body.locked .container,
body.locked .footer{
  filter:blur(6px);
  pointer-events:none;
  user-select:none;
}

.authOverlay{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at top, rgba(15,118,110,.15), rgba(15,23,42,.6));
  z-index:80;
  padding:24px;
}
.authOverlay.hidden{display:none}
.authCard{
  width:min(560px, 92vw);
  background:linear-gradient(160deg, #fff6ec, #f7f1ea);
  border-radius:20px;
  padding:28px;
  text-align:center;
  box-shadow:0 20px 50px rgba(15,23,42,.3);
  border:1px solid rgba(255,255,255,.4);
}
.authGandalf{
  font-size:48px;
  margin-bottom:8px;
}
.authQuote{
  font-size:18px;
  font-weight:700;
  color:#0f766e;
  margin-bottom:10px;
}
.authMessage{
  color:var(--muted);
  margin-bottom:16px;
}
.authActions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
}

/* Dialog */
.dialog{
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--panel);
  color:var(--text);
  width:min(560px, 92vw);
  box-shadow:var(--shadow);
}
.dialog[open]{animation:dialogPop .16s ease-out}
.dialog::backdrop{background:rgba(15,23,42,.35); animation:dialogFade .16s ease-out}
.dialogBody{padding:16px; display:flex; flex-direction:column; gap:10px}
.dialogTitle{font-weight:800; font-size:15px}
.dialogGrid{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.dlgField label{display:block; color:var(--muted); font-size:12px; margin:0 0 6px 0}
#cellValue, #cellUrl, #reasonText{
  width:100%;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fffdfa;
  color:var(--text);
  padding:10px;
  outline:none;
  font-family: "Space Grotesk", "Trebuchet MS", "Segoe UI", sans-serif;
}
#cellValue:focus, #cellUrl:focus, #reasonText:focus{
  border-color: rgba(15,118,110,.6);
  box-shadow:0 0 0 3px rgba(15,118,110,.15);
}
.dialogActions{display:flex; justify-content:flex-end; gap:10px}
.dialogHint{color:var(--muted); font-size:12px}
.jiraForm .dlgField input{width:100%}
.fieldHint{font-size:11px; color:var(--muted); margin-top:6px}
.fieldError{font-size:12px; color:var(--danger); margin-top:6px; min-height:16px}
.jiraForm .dialogActions{margin-top:4px}

.actionList{display:grid; grid-template-columns: 1fr 1fr; gap:8px}
.actionItem{font-size:12px; padding:8px 10px}
.rowMove{display:flex; gap:8px; align-items:center}
.rowMove input{
  flex:1;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#fffdfa;
  color:var(--text);
}
.rowMove select{
  flex:1;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#fffdfa;
  color:var(--text);
}
.rowMove input:focus{border-color: rgba(15,118,110,.6); box-shadow:0 0 0 2px rgba(15,118,110,.15)}
.rowMove select:focus{border-color: rgba(15,118,110,.6); box-shadow:0 0 0 2px rgba(15,118,110,.15)}

.dialogLog{
  border:1px solid rgba(15,118,110,.25);
  background:#0f172a;
  color:#e2e8f0;
  font-family: "IBM Plex Mono", "Courier New", monospace;
  font-size:12px;
  line-height:1.4;
  padding:10px 12px;
  border-radius:12px;
  min-height:72px;
  max-height:160px;
  overflow:auto;
  white-space:pre-wrap;
}

.tagList{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:6px 0 8px;
}

.tagChip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid #eadfcb;
  background:#fff5e6;
  font-size:12px;
}

.tagRemove{
  border:none;
  background:transparent;
  color:#8a5b2b;
  font-size:14px;
  line-height:1;
  cursor:pointer;
}

.tagInputRow{
  display:flex;
  gap:8px;
  align-items:center;
}

.tagInputRow input{
  flex:1;
}

/* Floating tooltip (avoids table clipping) */
.floatingTooltip{
  position:fixed;
  z-index:60;
  background:#1b1410;
  color:#fff7ed;
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
  line-height:1.4;
  min-width:240px;
  max-width:360px;
  white-space:pre-line;
  box-shadow:0 10px 26px rgba(0,0,0,.24);
  pointer-events:none;
  opacity:1;
  transition:opacity .08s ease;
}
.floatingTooltip.hidden{opacity:0}

.validateList{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:360px;
  overflow:auto;
  padding-right:4px;
}
.validateItem{
  border:1px solid rgba(200,30,30,.25);
  border-radius:12px;
  padding:10px 12px;
  background:#fff7f2;
}
.validateTitle{
  font-weight:700;
  margin-bottom:4px;
}
.validateMeta{
  font-size:12px;
  color:var(--muted);
}

.auditFilters{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:12px;
  margin-bottom:12px;
}

.auditList{
  display:flex;
  flex-direction:column;
  gap:10px;
  max-height:420px;
  overflow:auto;
  padding-right:4px;
}
.auditActions{
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}

.auditItem{
  border:1px solid rgba(227,215,200,.9);
  border-radius:12px;
  padding:10px 12px;
  background:#fffdf6;
}
.auditHeader{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:12px;
  color:var(--muted);
}
.auditTitle{
  font-weight:700;
  margin-top:4px;
  font-size:13px;
}
.auditMeta{
  margin-top:4px;
  font-size:12px;
  color:var(--muted);
}
.validateErrors{
  border-top:1px dashed rgba(15,118,110,.3);
  padding-top:8px;
  margin-top:8px;
}
.validateError{
  font-size:12px;
  color:var(--danger);
}

@keyframes dialogPop{
  from{opacity:0; transform:translateY(8px) scale(.98)}
  to{opacity:1; transform:translateY(0) scale(1)}
}
@keyframes dialogFade{
  from{background:rgba(15,23,42,0)}
  to{background:rgba(15,23,42,.35)}
}
@keyframes floatIn{
  from{opacity:0; transform:translateY(10px)}
  to{opacity:1; transform:translateY(0)}
}

@media (max-width: 1050px){
  .controlsTop{grid-template-columns:1fr 1fr;}
  .dialogGrid{grid-template-columns:1fr;}
}
@media (max-width: 900px){
  .topbar{
    grid-template-columns:1fr;
    justify-items:stretch;
  }
  .actions{
    justify-content:flex-start;
  }
}
