main>section,#entry>section{background:white;border:1px solid #ccd9d7;border-radius:12px;padding:clamp(1rem,2.5vw,1.7rem);margin:1rem 0}
h2{font-size:1.4rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:.65rem 1rem;margin:1rem 0}
.scroll{overflow:auto;margin:1rem 0}table{border-collapse:collapse;width:100%;font-size:.9rem}td,th{padding:.5rem;text-align:right;border-bottom:1px solid #d0ded9;font-variant-numeric:tabular-nums}th{background:#edf3f1}td:first-child,th:first-child{text-align:start}th{vertical-align:bottom}td input{min-width:7rem}details{padding:.7rem;border-bottom:1px solid #ccd9d7}summary{cursor:pointer;font-weight:650}.months{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:.55rem}.actions{justify-content:flex-start}button[aria-pressed=true]{background:#d3eee4}.total{font-weight:700;color:#075448}#status{color:#744820;font-weight:600}.lead{margin-bottom:1rem}#scope{margin:1rem 0}

.ddo-header-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding-block: .4rem; }
.ddo-language { flex-direction: row; align-items: center; gap: .4rem; }
.ddo-language select { width: auto; padding-block: .2rem; background: #102e3d; }
:root[lang^="ur"] { font-family: "Segoe UI", Tahoma, sans-serif; }
:root[lang^="ur"] :is(h1,h2,h3) { letter-spacing: normal; line-height: 1.5; }
:root[dir="rtl"] :is(input[type="number"],input[type="date"],input[type="month"]) { direction: ltr; text-align: right; }
:root[dir="rtl"] :is([data-ddo-icon="back"],[data-ddo-icon="next"])::before { transform: scaleX(-1); }
[data-ddo-icon="expand"]{--ddo-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H4v5m11-5h5v5M4 15v5h5m11-5v5h-5'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion:no-preference){
  :is(.ddo-action,button[data-ddo-icon]){transition:background-color .15s ease,border-color .15s ease,transform .15s ease}
  :is(.ddo-action,button[data-ddo-icon]:not(:disabled)):active{transform:translateY(1px)}
}
@media print{@page{size:landscape;margin:8mm}#status,.actions,header,.lead{display:none!important}main>section{border:0;padding:0;margin:0}.scroll{overflow:visible}table{font:8pt/1.25 Arial}td,th{padding:2pt}tr{break-inside:avoid}h1{font-size:14pt}}

#postings th[scope="row"] { min-width: 12rem; font-weight: 600; }

.ddo-home {
  padding-block: clamp(1.25rem, 4vw, 2.75rem) 2.5rem;
}
.ddo-home-hero {
  overflow: hidden;
  padding: clamp(1.6rem, 5vw, 3.8rem);
  border-radius: 20px;
  color: #fff;
  background:
    repeating-radial-gradient(circle at 96% 112%, transparent 0 37px, #b0e7d719 38px 39px, transparent 40px 54px),
    linear-gradient(115deg, #102e3d 22%, #10574f 100%);
}
.ddo-home-hero h1 {
  max-width: 18ch;
  margin: 0 0 .75rem;
}
.ddo-home-hero p {
  max-width: 52ch;
  margin: 0;
  color: #deeae9;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}
.ddo-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}
.ddo-workflow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid #ccd9d7;
  border-radius: 14px;
  background: white;
  box-shadow: 0 3px 10px #132a3708;
}
.ddo-workflow-annual {
  border-color: #8fbdb1;
  background: #fbfffd;
}
.ddo-workflow h2 {
  margin: .9rem 0 .4rem;
}
.ddo-workflow p {
  margin: 0 0 1.2rem;
  color: #435963;
}
.ddo-workflow .ddo-action {
  width: 100%;
  margin-top: auto;
}
.ddo-workflow .ddo-action + .ddo-action {
  margin-top: .5rem;
}
.ddo-home [hidden] { display: none !important; }
#officePeriodDialog {
  box-sizing: border-box;
  width: min(70rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overscroll-behavior: contain;
  border: 1px solid #ccd9d7;
  border-radius: 14px;
  padding: clamp(1rem, 2.5vw, 1.7rem);
  color: inherit;
  background: #fff;
}
#officePeriodDialog::backdrop { background: #102e3d99; }
.office-dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: .75rem; }
.office-dialog-heading h2 { margin: 0; }
#officePeriodStatus { margin: .5rem 0 0; }
#officePeriodStatus:empty, #reportHeadingsStatus:empty { display: none; }
@media print {
  #officePeriodDialog, #officePeriodDialog::backdrop { display: none !important; }
}
.ddo-workflow-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  color: #086556;
  background: #e0f2eb;
}
.ddo-workflow-employees .ddo-workflow-icon {
  color: #245c78;
  background: #e5f0f7;
}
.ddo-workflow-monthly .ddo-workflow-icon {
  color: #865a1b;
  background: #f8efdc;
}
.ddo-workflow-icon > span {
  position: relative;
  width: 21px;
  height: 21px;
}
.ddo-icon-budget {
  border: 1.5px solid;
  border-radius: 3px;
}
.ddo-icon-budget::before,
.ddo-icon-budget::after {
  position: absolute;
  inset: 5px 3px auto;
  border-top: 1.5px solid;
  content: "";
}
.ddo-icon-budget::after {
  top: 10px;
  box-shadow: 0 4px currentColor;
}
.ddo-icon-employee::before,
.ddo-icon-employee::after {
  position: absolute;
  border: 1.5px solid;
  content: "";
}
.ddo-icon-employee::before {
  inset: 0 6px auto;
  height: 7px;
  border-radius: 50%;
}
.ddo-icon-employee::after {
  inset: auto 1px 1px;
  height: 8px;
  border-radius: 8px 8px 3px 3px;
}
.ddo-icon-monthly {
  border: solid;
  border-width: 0 0 1.5px 1.5px;
  border-radius: 0 0 0 3px;
  background:
    linear-gradient(currentColor, currentColor) 4px bottom / 3px 7px,
    linear-gradient(currentColor, currentColor) 10px bottom / 3px 12px,
    linear-gradient(currentColor, currentColor) 16px bottom / 3px 17px;
  background-repeat: no-repeat;
}
.ddo-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  min-height: 46px;
  padding: .6rem .8rem;
  border: 1px solid #a2b8b5;
  border-radius: 8px;
  background: #fff;
  color: #15594d;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}
.ddo-action::after {
  flex: 0 0 7px;
  height: 7px;
  margin-right: .12rem;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
  content: "";
}
.ddo-action:hover {
  background: #e8f4ef;
  border-color: #498c7e;
}
.ddo-action-primary {
  color: #fff;
  background: #086556;
  border-color: #086556;
}
.ddo-action-primary:hover {
  background: #075044;
  border-color: #075044;
}
.ddo-checklist-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .45rem;
  border-radius: 6px;
  background: #f8efdc;
  color: #754613;
  font-size: .8rem;
}
.ddo-checklist-status.is-ready {
  background: #e7f5ea;
  color: #15594d;
}
.ddo-checklist-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  line-height: 1;
}
.ddo-home-note {
  margin: .9rem 0 0;
  color: #435963;
  font-size: .9rem;
}
.ddo-worksheet-heading {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #ccd9d7;
}
.ddo-worksheet-heading p { color: #435963; }

@media screen {
  .ddo-workflow-employees{border-color:#b5ccda;background:#f8fcff}
  .ddo-workflow-monthly{border-color:#ddcda9;background:#fffdf7}
  .ddo-worksheet-heading{border-top:0;border-left:3px solid #28796b;border-radius:8px;background:#edf7f3;padding:1rem}
  button[data-ddo-icon]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px}
  button[data-ddo-icon]:not(.loading)::before{
    content:"";
    flex:none;
    width:1.05rem;
    height:1.05rem;
    background:currentColor;
    mask:var(--ddo-icon) center/contain no-repeat;
  }
  [data-ddo-icon="add"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M5%2012h14%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="check"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2012%204%204%2010-10%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="copy"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M16%204H6a2%202%200%200%200-2%202v10%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="download"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v12m-4-4%204%204%204-4M4%2016v4h16v-4%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="edit"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%206%204%204M5%2019l4-1L20%207l-4-4L5%2014l-1%205z%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="print"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%208V4h10v4M7%2016H4V9h16v7h-3M7%2013h10v7H7zM16%2011h1%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="calendar"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%226%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%204v4m8-4v4M4%2011h16%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="back"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m11%206-6%206%206%206M5%2012h14%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="next"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m13%206%206%206-6%206m6-6H5%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="increase"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2016%206-6%204%204%207-8m-5%200h5v5%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="hold"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%205v14m6-14v14%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="folder"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207V5h7l2%202h9v12H3V7z%22%2F%3E%3C%2Fsvg%3E")}
  [data-ddo-icon="close"]{--ddo-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%2F%3E%3C%2Fsvg%3E")}
}

@media (721px <= width <= 930px) {
  .ddo-workflow .ddo-action { min-height: 3.7rem; }
}
@media (max-width: 720px) {
  .ddo-workflow-grid {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .ddo-workflow {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .25rem .75rem;
    padding: .85rem;
  }
  .ddo-workflow-icon {
    grid-row: span 2;
    align-self: start;
    width: 40px;
    height: 40px;
  }
  .ddo-workflow h2 {
    margin: 0;
    font-size: 1.2rem;
  }
  .ddo-workflow p {
    margin: 0;
    font-size: .92rem;
    line-height: 1.4;
  }
  .ddo-workflow .ddo-action {
    grid-column: 1 / -1;
    margin-top: .45rem;
  }
}
@media print {
  .ddo-home { padding: 0; }
  .ddo-home-hero,
  .ddo-workflow-grid,
  .ddo-home-note { display: none; }
}
