
#kompa{padding:24px 8px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:light dark}#kompa .phone{max-width:350px;margin:auto;padding:28px 22px;background:light-dark(#f5f4ef,#19251f);color:light-dark(#234237,#e4eee7);border:1px solid light-dark(#d6ddd5,#3b4f40);border-radius:34px}#kompa header{display:flex;align-items:center;gap:12px;letter-spacing:2px;font-weight:600}#kompa small{color:light-dark(#5e6e62,#b2c6b8);font-size:12px}#kompa h1{font-size:30px;margin:8px 0;font-weight:600}#kompa .hello{margin:28px 0 22px}#kompa p{line-height:1.5;margin:8px 0}#kompa nav{display:flex;padding:4px;gap:5px;border-radius:14px;background:light-dark(#e4e8df,#2c3b30);margin-bottom:22px}#kompa button{flex:1;min-height:44px;border:0;border-radius:11px;background:transparent;color:inherit;font:inherit}#kompa button[aria-pressed=true]{background:light-dark(#fff,#465e4b)}#kompa h2{font-size:16px;margin:24px 0 10px}#kompa .focus{padding:18px;border-radius:20px;background:light-dark(#e0e9dc,#304834)}#kompa .focus strong{display:block;font-size:20px;margin:8px 0}#kompa .row{padding:16px 0;border-bottom:1px solid light-dark(#dce2d7,#3a4d3f)}#kompa .row strong{display:block;margin:5px 0}#kompa details{font-size:14px;line-height:1.5}#kompa summary{min-height:44px;padding:12px 0}#kompa footer{font-size:11px;text-align:center;line-height:1.6;margin-top:25px;color:light-dark(#647164,#b5c3b5)}#kompa [hidden]{display:none}
#kompa *{box-sizing:border-box}#kompa .phone{max-width:393px}#kompa .hello{margin:0 0 18px}#kompa h1{display:flex;align-items:center;gap:8px;font-size:clamp(18px,5.3vw,23px);white-space:nowrap;letter-spacing:-.5px;margin:8px 0 0}#kompa h1 svg{width:23px;height:23px;flex-shrink:0}#kompa .task{margin:0;padding:9px 0}#kompa .task summary{padding:6px 0;font-size:15px;min-height:44px}#kompa .task summary strong{display:inline;margin:0;font-weight:600}#kompa .task summary small{display:block;padding-left:18px;margin-top:3px;font-size:12px}#kompa .task-detail{padding:8px 0 5px 18px;font-size:14px}#kompa .hello{text-align:center}#kompa h1{justify-content:center}#kompa .outlook-title{text-align:center;margin-top:6px}#kompa .content-scroll{height:430px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:light-dark(#94a48f,#6d8873) transparent;padding-right:9px;border-bottom:1px solid light-dark(#dce2d7,#3a4d3f)}#kompa .content-scroll::-webkit-scrollbar{width:4px}#kompa .content-scroll::-webkit-scrollbar-thumb{background:light-dark(#94a48f,#6d8873);border-radius:8px}#kompa footer{margin-top:0;padding-top:18px;font-size:13px;letter-spacing:1px}#kompa .phone{padding-bottom:22px}#kompa .focus{background:var(--deadline-bg,light-dark(#e0e9dc,#304834));color:light-dark(#383c2d,#f1eadc)}#kompa .focus small{color:inherit}#kompa .focus[data-level="calm"]{--deadline-bg:light-dark(#e0e9dc,#304834)}#kompa .focus[data-level="reminder"]{--deadline-bg:light-dark(#eee5cc,#46402c)}#kompa .focus[data-level="near"]{--deadline-bg:light-dark(#edd7aa,#59442b)}#kompa .focus[data-level="soon"]{--deadline-bg:light-dark(#ecc295,#62412c)}#kompa .focus[data-level="due"]{--deadline-bg:light-dark(#e9ad87,#713f2d)}#kompa .focus[data-level="overdue"]{--deadline-bg:light-dark(#e4b1a8,#653a36)}#kompa .focus[data-level="late"]{--deadline-bg:light-dark(#dda098,#75403b)}#kompa .focus[data-level="very-late"]{--deadline-bg:light-dark(#d78f89,#81413d)}#kompa footer{letter-spacing:0;font-size:13px;line-height:1.6;padding-top:15px}#kompa footer{font-size:clamp(11px,2.7vw,13px);white-space:nowrap;letter-spacing:-.2px}@media(max-width:360px){#kompa .phone{padding-left:16px;padding-right:16px}}#kompa .project{position:relative;padding:8px 0}#kompa .project>.task>summary{padding-right:44px}#kompa .check{width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}#kompa .check input{width:19px;height:19px;margin:0;accent-color:light-dark(#385e47,#99bea0)}#kompa .project-check{position:absolute;right:0;top:8px}#kompa .steps{padding:8px 0 6px 17px}#kompa .step{display:flex;align-items:flex-start;border-bottom:1px solid light-dark(#e0e5db,#35483b);padding:5px 0}#kompa .step details{flex:1;min-width:0}#kompa .step summary{font-size:14px;padding:10px 0}#kompa .step summary::marker{color:light-dark(#7b9c71,#a6c295)}#kompa .step p{font-size:12px;padding:0 6px 8px 16px;color:light-dark(#5e6e62,#b2c6b8)}#kompa .step.is-done summary{color:light-dark(#737a73,#a2aaa3);text-decoration:line-through}#kompa .project.is-done>.task>summary{color:light-dark(#737a73,#a2aaa3)}#kompa .project.is-done>.task>summary strong{text-decoration:line-through}#kompa .steps>small{display:block;margin:6px 0}#kompa .check:has(input:checked){opacity:.7}#kompa .project>.task>summary{padding-right:0}#kompa .step-progress{display:flex;width:100%;height:8px;gap:3px;border-radius:8px;overflow:hidden;margin:10px 0 5px}#kompa .step-progress>span{flex:1;min-width:0;background:light-dark(#d9e0d2,#364c3d)}#kompa .step-progress>span.filled{background:light-dark(#618257,#99bb86)}#kompa .project.is-done .step-progress>span.filled{background:light-dark(#7d9275,#8fa584)}#kompa .step-progress{width:calc(100% - 36px);height:4px;margin:8px 18px 5px;gap:3px;border-radius:4px}#kompa .content-scroll::-webkit-scrollbar{width:4px!important;height:4px!important}#kompa .content-scroll::-webkit-scrollbar-thumb{border:0!important;border-radius:4px!important}#kompa .content-scroll::-webkit-scrollbar-track{background:transparent!important}@supports selector(::-webkit-scrollbar){#kompa .content-scroll{scrollbar-width:auto!important;scrollbar-color:auto!important}}#kompa .project-time{display:table;margin:7px 0 0 18px;padding:2px 7px;border-radius:6px;background:light-dark(#e0e9dc,#304834);font-size:12px;font-weight:400}#kompa .step{flex-wrap:wrap}#kompa .timer{flex:0 0 100%;padding:0 0 8px 16px}#kompa .timer button{display:block;width:100%;text-align:left;min-height:44px;padding:6px 9px;background:light-dark(#e5ecdf,#304534);font-size:12px;border-radius:9px}#kompa .timer button:disabled{opacity:.65}#kompa .timer button[data-running="true"]{box-shadow:inset 0 0 0 1px light-dark(#678361,#a1bf94)}#kompa .time-track{height:4px;border-radius:4px;overflow:hidden;background:light-dark(#d2ddcb,#435a47);margin:5px 0 0}#kompa .time-fill{height:100%;background:light-dark(#69885c,#a0c190)}#kompa [data-budget="near"]{background:light-dark(#eee0bb,#57472c)}#kompa [data-budget="over"]{background:light-dark(#ebc99e,#65472b)}#kompa [data-budget="far"]{background:light-dark(#e2ada4,#6d3d37)}#kompa .day-time{display:flex;justify-content:space-between;gap:8px;margin-top:16px;font-size:12px}#kompa .day-time strong{font-weight:500;font-variant-numeric:tabular-nums}#kompa .swipe-shell{position:relative;overflow:hidden;border-radius:10px;margin:7px 0;background:light-dark(#cbdcc3,#3b5540)}#kompa .swipe-action{position:absolute;right:0;top:0;bottom:0;width:91px;border-radius:0;min-height:44px;font-size:12px;padding:4px;color:light-dark(#234237,#e4eee7)}#kompa .step{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px;border:0;padding:5px 7px;background:light-dark(#e5ecdf,#304534);border-radius:10px;touch-action:pan-y;transition:transform .18s ease}#kompa .revealed .step{transform:translateX(-94px)}#kompa .step>details{min-width:0}#kompa .step summary{padding:9px 0;font-size:13px;min-height:38px}#kompa .step .timer{display:flex;align-items:center;gap:2px;padding:0;flex:initial;min-height:38px}#kompa .timer .clock-text{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}#kompa .timer button{width:34px;min-height:38px;padding:0;text-align:center;background:transparent;border-radius:7px;font-size:15px}#kompa .timer button[data-running="true"]{box-shadow:none;color:light-dark(#244d32,#d1eac4)}#kompa .step.is-done{background:light-dark(#e4e6e0,#354039)}#kompa .step.is-done .clock-text{color:light-dark(#737a73,#a2aaa3)}#kompa .step p{padding-left:10px}#kompa .step[data-budget="near"]{background:light-dark(#eee0bb,#57472c)}#kompa .step[data-budget="over"]{background:light-dark(#ebc99e,#65472b)}#kompa .step[data-budget="far"]{background:light-dark(#e2ada4,#6d3d37)}#kompa .step.is-done[data-budget]{background:light-dark(#e4e6e0,#354039)}@media(prefers-reduced-motion:reduce){#kompa .step{transition:none}}
#kompa [hidden]{display:none!important}#kompa .step:has(details[open]){grid-template-columns:minmax(0,1fr) auto}#kompa .step details[open] p{overflow-wrap:anywhere}#kompa .date-time{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}#kompa .date-time small{font-weight:400;font-size:12px}#kompa [data-day-time]{font-variant-numeric:tabular-nums}#kompa .time-pair{white-space:nowrap;font-variant-numeric:tabular-nums}#kompa .date-time{column-gap:5px}#kompa .date-time small{font-size:11px}#kompa .timer-icon.is-pause{display:inline-flex;align-items:center;justify-content:center;gap:4px;vertical-align:middle;width:16px;height:16px}#kompa .timer-icon.is-pause::before,#kompa .timer-icon.is-pause::after{content:"";display:block;width:3px;height:14px;background:currentColor;border-radius:1px}#kompa .step .detail-done{min-height:44px;width:auto;font-size:12px;padding:5px 8px;text-align:left;background:transparent}#kompa .timer[hidden]{display:none!important}#kompa .time-coverage{font-size:11px!important}#kompa .timer:has(button[hidden]) .clock-text{color:light-dark(#5e6e62,#b2c6b8);font-size:11px;padding-right:5px}#kompa .phone{position:relative}#kompa h1 .brand-logo{display:block;width:30px;height:30px;object-fit:contain;flex-shrink:0;background:light-dark(transparent,#e8eee3);border-radius:50%}#kompa .brand-loading{display:none;min-height:530px;align-items:center;justify-content:center;flex-direction:column;gap:24px}#kompa .brand-loading img{width:192px;height:192px;object-fit:contain;background:light-dark(transparent,#e8eee3);border-radius:50%}#kompa .phone.is-loading>.brand-loading{display:flex}#kompa .phone.is-loading>.app-ready{display:none}#kompa .brand-progress{width:calc(100% - 45px);height:4px;border-radius:4px;overflow:hidden;background:light-dark(#d9e0d2,#364c3d)}#kompa .brand-progress>span{display:block;width:0%;height:100%;background:light-dark(#618257,#99bb86);border-radius:4px}#kompa .content-scroll{scrollbar-width:none!important}#kompa .content-scroll::-webkit-scrollbar{display:none!important}#kompa .fixed-scroll-track{position:absolute;right:22px;width:4px;pointer-events:none}#kompa .fixed-scroll-thumb{position:absolute;left:0;top:0;width:4px;border-radius:4px;background:light-dark(#94a48f,#6d8873);pointer-events:auto;touch-action:none;cursor:grab}#kompa .fixed-scroll-thumb:active{cursor:grabbing}@media(max-width:360px){#kompa .fixed-scroll-track{right:16px}}#kompa h1.wordmark-heading{margin:13px 0 6px}#kompa h1 .brand-logo{width:min(190px,70%);height:auto;aspect-ratio:15/4;object-fit:contain;border-radius:0;background:light-dark(transparent,#e8eee3)}#kompa .brand-loading img{width:min(290px,90%);height:auto;aspect-ratio:15/4;border-radius:0;object-fit:contain}
html{height:100%;background:#f5f4ef}body{margin:0}#kompa{padding:0;min-height:100dvh}#kompa .phone{border:0;border-radius:0;max-width:430px;width:100%;height:100dvh;display:flex;flex-direction:column;padding:max(16px,env(safe-area-inset-top)) 22px max(16px,env(safe-area-inset-bottom))}#kompa .app-ready{display:flex;flex-direction:column;min-height:0;flex:1}#kompa .content-scroll{flex:1;height:auto;min-height:0;overflow:auto}#kompa .connection-message{padding:26px 8px;line-height:1.6}#kompa .connection-message h2{font-size:20px;line-height:1.3;margin-top:0}#kompa .muted,#kompa .view-status{font-size:13px;color:light-dark(#5e6e62,#b2c6b8)}#kompa a{color:light-dark(#285448,#b0d3ba);display:inline-block;padding:12px 0}#kompa .brand-loading{flex:1;min-height:0}#kompa .phone.is-loading>.app-ready{display:none}#kompa .brand-loading{display:none}#kompa .phone.is-loading>.brand-loading{display:flex}#kompa footer{padding-top:15px}#kompa .date-time{flex-wrap:wrap}#kompa nav button{min-height:44px}#kompa .date-time small.time-pair{display:inline;font-weight:400}@media(min-width:600px){#kompa .phone{margin:auto;box-shadow:0 0 0 1px #d6ddd5}}

/* The installable Kompera home screen. */
body { margin: 0; background: light-dark(#efeee8, #161c18); color-scheme: light dark; }
#kompa { padding: max(14px, env(safe-area-inset-top)) 12px max(14px, env(safe-area-inset-bottom)); }
#kompa .home {
  max-width: 430px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 26px;
  background: light-dark(#f5f4ef, #19251f);
}
#kompa .home-header { gap: 12px; padding: 3px 4px; letter-spacing: 0; }
#kompa .home-header img { border-radius: 13px; }
#kompa .home-header h1 {
  display: block;
  margin: 0 0 3px;
  text-align: left;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.7px;
}
#kompa .home-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid light-dark(#d6ddd5, #3b4f40);
  border-radius: 17px;
  background: light-dark(#fffefa, #22312a);
}
#kompa .home-card h2 { margin: 0 0 8px; }
#kompa .home-card nav { margin: 0 0 6px; }
#kompa .home textarea {
  width: 100%;
  display: block;
  padding: 10px;
  resize: vertical;
  min-height: 70px;
  border: 1px solid light-dark(#cad7cd, #617568);
  border-radius: 11px;
  background: light-dark(#f6f7f1, #18251e);
  color: inherit;
  font: inherit;
  font-size: 16px;
}
#kompa .capture-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#kompa .capture-actions button { flex: 1 1 auto; padding: 0 8px; font-size: 14px; }
#kompa button.dictate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: light-dark(#315844, #b9d6bd);
  color: light-dark(white, #14271d);
  font-weight: 600;
}
#kompa button.dictate[aria-pressed="true"] {
  background: light-dark(#934638, #eab3a7);
  color: light-dark(white, #411b13);
}
#kompa button.save-draft { background: light-dark(#e7ece4, #374e40); }
#kompa button:disabled { opacity: .55; }
#kompa .capture-status { margin: 7px 0 0; font-size: 13px; }
#kompa .file-links { list-style: none; margin: 0; padding: 0; }
#kompa .file-links li + li { border-top: 1px solid light-dark(#e0e6df, #3b4f40); }
#kompa .file-links a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}
#kompa .file-links a:hover { text-decoration: underline; }
#kompa :is(a, button, textarea):focus-visible { outline: 2px solid #4c83c9; outline-offset: 2px; }
#kompa .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

#kompa .home-header { justify-content: center; text-align: center; padding: 15px 4px; }
#kompa .home-header h1 { text-align: center; font-size: clamp(27px, 8vw, 34px); letter-spacing: .09em; }
#kompa .workspace { min-height: 230px; padding: 18px; }
#kompa .workspace h2 { margin-bottom: 12px; font-size: 18px; }
#kompa .tasks { list-style: none; margin: 0; padding: 0; }
#kompa .tasks li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; padding: 5px 0;
}
#kompa .tasks li + li { border-top: 1px solid light-dark(#e0e6df, #3b4f40); }
#kompa .tasks li > div { min-width: 0; overflow-wrap: anywhere; }
#kompa .tasks small { display: block; margin-top: 4px; font-variant-numeric: tabular-nums; }
#kompa .tasks .play-task {
  flex: 0 0 44px; min-width: 44px; color: light-dark(#315844, #b9d6bd);
  background: transparent;
}
#kompa #more-tasks { padding: 0 6px; text-decoration: underline; font-size: 14px; }
#kompa #completed { margin-top: 8px; }
#kompa #completed summary { padding: 8px 0; min-height: 32px; }
#kompa .task-entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 6px; align-items: start; }
#kompa .task-entry textarea { min-height: 44px; resize: none; }
#kompa .task-entry .capture-actions { margin: 0; gap: 6px; flex-wrap: nowrap; }
#kompa .task-entry .capture-actions button { width: 44px; padding: 0; }
#kompa .task-entry button.save-draft { font-size: 24px; }
#kompa .task-entry .capture-status { grid-column: 1 / -1; padding-left: 4px; }
#kompa .file-menu summary { padding: 4px; min-height: 32px; color: light-dark(#52685a, #bbcdc0); }

body { background: light-dark(#eef2e9, #19251f); }
#kompa .home { background: transparent; border: 0; border-radius: 0; }
#kompa .home-header { flex-direction: column; gap: 3px; padding: 8px 4px 14px; }
#kompa .home-header .dance-mark {
  display: block;
  width: clamp(98px, 29vw, 126px);
  aspect-ratio: 3 / 2;
  background: currentColor;
  -webkit-mask: url("/assets/kompera-tanzpaar.png?v=8") center / contain no-repeat;
  mask: url("/assets/kompera-tanzpaar.png?v=8") center / contain no-repeat;
}
#kompa .home-header h1 {
  margin: 0 0 4px;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: .12em;
}
#kompa .workspace { min-width: 0; padding: 14px 4px; }
#kompa .home footer { padding-top: 10px; white-space: normal; }

#kompa .day-meta { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0 7px; }
#kompa .day-meta .day-total { font-weight: 650; font-variant-numeric: tabular-nums; }

#kompa .tasks > li { margin: 5px 0; padding: 6px 9px; border: 0; border-radius: 10px; background: light-dark(#e5ece0, #26382f); }
#kompa .tasks > li[data-attention="overdue"] { background: light-dark(#f5dcd4, #55382f); }
#kompa .tasks > li[data-attention="over-plan"] { background: light-dark(#f4e7c6, #4c4028); }
#kompa .tasks > .project-row { display: block; }
#kompa .project-toggle { display: flex; width: 100%; align-items: center; gap: .25em; text-align: left; overflow-wrap: anywhere; }
#kompa .project-toggle strong { flex-shrink: 0; }
#kompa .project-toggle span:not(.project-indicator) { min-width: 0; white-space: pre-wrap; }
#kompa .project-indicator { margin-left: auto; padding: 0 4px; }
#kompa .project-tasks > li:not([data-attention]) { background: transparent; }
#kompa .task-options { grid-column: 1 / -1; }
#kompa .task-options summary { min-height: 32px; padding: 5px 4px; }
#kompa .task-options-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 4px; }
#kompa .task-options-fields label { min-width: 0; font-size: 13px; }
#kompa .task-options-fields input, #kompa .task-options-fields select {
  display: block; width: 100%; min-width: 0; min-height: 38px;
  margin-top: 3px; padding: 4px; border: 1px solid light-dark(#cad7cd, #617568); border-radius: 6px;
  color: inherit; background: light-dark(#f6f7f1, #18251e); font: inherit; font-size: 16px;
}

#kompa { box-sizing: border-box; }
#kompa .home {
  display: flex;
  height: calc(100dvh - max(14px, env(safe-area-inset-top)) - max(14px, env(safe-area-inset-bottom)));
}
#kompa .home > :not(.workspace) { flex-shrink: 0; }
#kompa .home .workspace { flex: 1 1 230px; min-height: 0; overflow-y: auto; }
#kompa .home .task-entry, #kompa .home .file-menu { max-height: 40dvh; overflow-y: auto; }
#kompa .task-periods { margin-bottom: 8px; }
#kompa .bottom-actions { display: flex; justify-content: center; align-items: center; gap: 14px; }
#kompa .bottom-actions button {
  display: grid; place-items: center; flex: 0 0 44px; min-height: 44px;
  border-radius: 50%; background: light-dark(#e0e9dc, #374e40); font-size: 16px;
}
#kompa .bottom-actions button.dictate {
  flex-basis: 56px; min-height: 56px; background: light-dark(#315844, #b9d6bd);
}
#kompa .bottom-actions button.dictate[aria-pressed="true"] { background: light-dark(#934638, #eab3a7); }
#kompa #capture-status { margin: 0; text-align: center; }
#kompa #capture-status:empty { display: none; }
#kompa .file-menu small { display: block; padding: 8px 0; }

#kompa .conversation-task { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
#kompa .conversation-view p { overflow-wrap: anywhere; }
#kompa .conversation-actions { display: grid; gap: 6px; margin-top: 14px; }
#kompa .conversation-actions button {
  padding: 8px 12px; text-align: left; overflow-wrap: anywhere;
  background: light-dark(#e5ece0, #26382f);
}
#kompa .conversation-actions input {
  width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid light-dark(#c9d4c8, #465e4b); border-radius: 11px;
  background: light-dark(#f5f6f0, #19251f); color: inherit; font: inherit;
}

#kompa #keyboard-fallback:not([hidden]) { display: block; margin: 4px auto 0; min-height: 44px; }

/* Compact header and shared planning area. */
#kompa {
  padding: max(4px, env(safe-area-inset-top)) 6px max(4px, env(safe-area-inset-bottom));
}
#kompa .home {
  height: calc(100dvh - max(4px, env(safe-area-inset-top)) - max(4px, env(safe-area-inset-bottom)));
  min-height: 360px;
  padding: 0 6px;
  gap: 5px;
}
#kompa .home-header {
  flex-direction: column;
  gap: 3px;
  padding: 0 2px;
}
#kompa .header-title {
  position: relative;
  isolation: isolate;
  font-size: clamp(23px, 6.2vw, 28px);
  padding-top: 1.05em;
  padding-top: 1.5cap;
}
#kompa .home-header .dance-mark {
  position: absolute;
  z-index: -1;
  bottom: .18em;
  left: 50%;
  transform: translateX(-50%);
  width: 2.835em;
  width: 4.05cap;
  height: 1.89em;
  height: 2.7cap;
  background: light-dark(#bac9b6, #435b49);
}
#kompa .home-header h1 { font-size: 1em; margin: 0; }
#kompa .header-day-row {
  display: flex;
  align-items: center;
  column-gap: clamp(6px, 2.2vw, 10px);
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(11px, 3.2vw, 13px);
  font-weight: 500;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
#kompa .header-day-row > [data-current-date] {
  flex: 0 0 auto;
  white-space: nowrap;
}
#kompa .work-totals {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px clamp(4px, 1.8vw, 8px);
}
#kompa .work-totals > span { white-space: nowrap; }
#kompa .task-periods { display: grid; grid-template-columns: 21px repeat(7, minmax(0, 1fr)) 21px; gap: 1px; margin: 0; }
#kompa .task-periods button { display: grid; place-content: center; min-width: 0; padding: 0; font-size: 12px; line-height: 1.2; }
#kompa .task-periods small { font-size: 11px; }
#kompa .home .workspace {
  padding: 10px;
  scroll-padding-block: 10px;
}
#kompa .home .task-entry, #kompa .home .file-menu { max-height: none; overflow: visible; }
#kompa .entry-question { grid-column: 1 / -1; margin: 0 0 7px; font-weight: 600; }
#kompa .task-entry textarea { min-height: 140px; }
#kompa .task-entry button.save-draft { font-size: 14px; width: auto; padding: 0 10px; }
#kompa .home footer { padding: 0; font-size: 10px; }
#kompa .workspace .tasks .reschedule-task { flex: 0 0 auto; padding: 0 6px; font-size: 12px; }
#kompa .task-controls { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
#kompa button.dictate[data-listening] { animation: mic-listening 1.45s ease-out infinite; }
@keyframes mic-listening { from { box-shadow: 0 0 0 0 #b36c5890; } to { box-shadow: 0 0 0 10px #b36c5800; } }
@media (prefers-reduced-motion: reduce) { #kompa button.dictate[data-listening] { animation: none; } }
#kompa .task-entry { grid-template-columns: minmax(0, 1fr); }
#kompa .task-entry .capture-actions { justify-content: flex-end; }
#kompa .task-entry .capture-actions button { flex: 0 0 auto; margin-top: 6px; }
#kompa .workspace #conversation-message:empty { display: none; }
#kompa .workspace .task-controls > button:last-child { flex: 0 0 40px; }
#kompa .workspace .tasks li { gap: 6px; }
#kompa .workspace .task-controls > button { min-width: 30px; }
#kompa .workspace .task-controls > button.reschedule-task { flex: 0 0 auto; }

#kompa .day-summary {
  width: fit-content;
  max-width: calc(100% - 12px);
  padding-inline: clamp(6px, 2.2vw, 10px);
}
#kompa .work-progress { width: 0; min-width: 100%; }
#kompa .work-progress summary {
  list-style: none;
  padding: 5px 0 7px;
  min-height: 0;
  cursor: pointer;
}
#kompa .work-progress summary::-webkit-details-marker { display: none; }
#kompa #day-progress {
  position: relative;
  display: block;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: light-dark(#dce4d8, #3b5145);
  --progress-fill: light-dark(#345b46, #abd2ad);
}
#kompa #day-progress::before, #kompa #day-progress::after {
  content: "";
  position: absolute;
  inset-block: 0;
  background: var(--progress-fill);
}
#kompa #day-progress::before { right: 50%; width: var(--bp-fill, 0%); }
#kompa #day-progress::after { left: 50%; width: var(--design-fill, 0%); }
#kompa .week-totals { display: grid; gap: 2px; padding-bottom: 5px; }
#kompa #day-pause {
  display: block;
  height: 3px;
  margin-top: 3px;
  border-radius: 999px;
  background: linear-gradient(to right, light-dark(#b78557, #e1b080) var(--pause-fill, 0%), transparent 0);
}
#kompa .workspace .tasks > li { display: block; padding: 0; background: transparent; }
#kompa .task-card {
  padding: 6px 9px;
  border-radius: 10px;
  touch-action: pan-y pinch-zoom;
}
#kompa .project-tasks { margin-inline-start: 12px; }
#kompa .workspace :is(#tasks, #completed-tasks) > li + li { margin-top: 14px; }
#kompa .task-card[data-attention="overdue"] .task-note { color: light-dark(#963f33, #f0a89a); }
#kompa .task-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 5px;
}
#kompa .task-title { grid-area: 1 / 1; width: 100%; min-width: 0; overflow-wrap: anywhere; }
#kompa .task-line > .task-controls { grid-area: 1 / 2; justify-self: end; }
#kompa .task-line > .task-controls button { min-height: 32px; }
#kompa button.task-title {
  padding: 0; min-height: 22px; text-align: left; font-weight: 650;
  background: transparent;
}
#kompa .task-meta { grid-area: 2 / 1 / 3 / 3; align-self: baseline; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; line-height: 1.25; }
#kompa .workspace .task-meta > small { margin: 0; }
#kompa .task-meta .project-code { font-size: 11px; font-weight: 400; white-space: nowrap; }
#kompa .task-times {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-inline-start: auto;
  color: light-dark(#526b57, #b9cdbd);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#kompa .workspace .tasks .task-time {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  min-height: 22px;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
#kompa .workspace .tasks small.task-time { min-height: 0; }
#kompa .task-duration { min-inline-size: 7ch; text-align: end; }
#kompa .task-countdown { min-inline-size: 8ch; text-align: end; }
#kompa .inline-focus-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
#kompa .inline-focus-actions button { flex: 0 0 auto; font-size: 12px; text-decoration: underline; }
#kompa .focus-presets {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; width: min(100%, 260px); margin: 0 0 5px auto;
}
#kompa .focus-presets button, #kompa .focus-presets input {
  min-width: 0; width: 100%; min-height: 44px; padding: 0 2px; text-align: center;
  border: 1px solid light-dark(#c5d3c4, #6a7f70); border-radius: 9px;
  background: light-dark(#ecf2e9, #395346); color: inherit; font: inherit; font-size: 16px;
}
#kompa .focus-presets input { appearance: textfield; }
#kompa .focus-presets input::-webkit-inner-spin-button,
#kompa .focus-presets input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
#kompa .focus-presets button[aria-pressed="true"],
#kompa .focus-presets input[data-selected] { background: light-dark(#fff, #53795e); }
#kompa .task-controls button:disabled { opacity: .42; }
#kompa #demo-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 8px; }
#kompa #reset-demo { flex: 0 0 auto; font-size: 12px; text-decoration: underline; }
#kompa #demo-empty-link { display: inline-block; margin-block: 5px 12px; font-size: 14px; }

#kompa .home > .workspace-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 10px;
  grid-template-rows: minmax(0, 1fr);
  flex: 1 1 230px;
  min-height: 0;
}
#kompa .home .workspace { scrollbar-width: none; }
#kompa .home .workspace::-webkit-scrollbar { display: none; }
#kompa #workspace-rail { position: relative; touch-action: none; }
#kompa #workspace-thumb {
  position: absolute;
  inset-inline-start: 3px;
  width: 5px;
  height: 100%;
  border-radius: 5px;
  background: light-dark(#94a48f, #6d8873);
}
#kompa #workspace-rail[data-scrollable] { cursor: grab; }
#kompa #workspace-rail[data-scrollable]:active { cursor: grabbing; }

#kompa .task-controls button[data-timer-icon] {
  display: inline-grid;
  place-items: center;
  color: light-dark(#315844, #b9d6bd);
}
#kompa .task-controls button[data-timer-icon]::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
}
#kompa .task-controls button[data-timer-icon="play"]::before {
  clip-path: polygon(16% 0, 94% 50%, 16% 100%);
}
#kompa .task-controls button[data-timer-icon="pause"]::before {
  background: linear-gradient(to right, transparent 1px, currentColor 1px 5px,
    transparent 5px 9px, currentColor 9px 13px, transparent 13px);
}
#kompa .task-controls button[data-timer-icon="stop"]::before { clip-path: inset(1px); }

#kompa .task-step-progress {
  display: flex;
  gap: 3px;
  height: 4px;
  margin-top: 6px;
}
#kompa .task-step-progress > span {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 3px;
  background:
    linear-gradient(to right, light-dark(#953f42, #c76568) var(--step-deep-red, 0%), transparent 0),
    linear-gradient(to right, light-dark(#c66e68, #e59385) var(--step-red, 0%), transparent 0),
    linear-gradient(to right, light-dark(#e8b88f, #e8ad84) var(--step-apricot, 0%), transparent 0),
    linear-gradient(to right, var(--step-work-color) var(--step-work, 0%), transparent 0),
    light-dark(#cdd8cb, #56685b);
}

#kompa .project-tasks .task-title { font-size: 14px; }
#kompa .workspace .project-tasks .task-note { font-size: 11px; }
#kompa .new-subtask-row .new-subtask-plus { min-height: 32px; }

#kompa .bottom-actions { gap: clamp(5px, 2.4vw, 12px); }
#kompa #open-ideas[aria-pressed="true"] { outline: 2px solid #ab665c; outline-offset: 2px; }
#kompa #open-ideas[data-listening] { animation: mic-listening 1.45s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { #kompa #open-ideas[data-listening] { animation: none; } }
#kompa .idea-form { display: grid; gap: 6px; }
#kompa .idea-form textarea {
  width: 100%;
  resize: vertical;
  padding: 8px 10px;
  border: 1px solid light-dark(#c9d4c8, #465e4b);
  border-radius: 10px;
  color: inherit;
  background: light-dark(#f5f6f0, #19251f);
  font: inherit;
  font-size: 16px;
}
#kompa .idea-form p:empty { display: none; }
#kompa .shortcut-list { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
#kompa .shortcut-list > li {
  padding: 8px 10px;
  border-radius: 10px;
  overflow-wrap: anywhere;
  background: light-dark(#e5ece0, #26382f);
}
#kompa .shortcut-list li > ul { padding-inline-start: 20px; margin-top: 5px; }
#kompa .idea-list p { margin: 0; white-space: pre-wrap; }

#kompa .task-periods button[aria-pressed="true"],
#kompa .bottom-actions button[aria-current="true"]:not(.dictate[aria-pressed="true"]) {
  background: #fff;
  color: #234133;
}
#kompa .task-periods button[aria-pressed="true"] small { color: #526353; }

#kompa .task-line .task-controls > .row-actions-toggle {
  order: 1;
  min-width: 24px;
  flex: 0 0 24px;
  line-height: 1;
}
#kompa .row-actions { display: flex; justify-content: flex-end; flex-wrap: nowrap; gap: 5px; padding-top: 4px; }
#kompa .row-actions button, #kompa .shortcut-list .archive-label + button {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 0 10px;
  background: light-dark(#dce8dc, #3c5445);
}
#kompa .shortcut-list .archive-label { display: block; margin-top: 4px; }
#kompa .task-finished .task-title::before { content: '✓ ' / ''; }
#kompa .task-step-progress > span {
  --step-work-color: light-dark(#7da087, #819d87);
}
#kompa .task-step-progress > .is-done {
  --step-work-color: light-dark(#315844, #bad9bd);
}

#kompa #open-entry { font-size: 25px; line-height: 1; }
#kompa .capture-actions #new-undated {
  width: auto;
  padding: 0 8px;
  font-size: 13px;
  text-decoration: underline;
}
#kompa .capture-actions .dictate { min-width: 44px; padding: 0 8px; }
#kompa .idea-form .capture-actions button { text-align: center; }
#kompa .idea-form .capture-actions .dictate {
  background: light-dark(#315844, #b9d6bd);
}
#kompa .idea-form .capture-actions .dictate[aria-pressed="true"] {
  background: light-dark(#934638, #eab3a7);
}
#kompa .workspace .task-meta .task-note-toggle {
  min-height: 28px;
  padding: 0 4px;
  font-size: 12px;
  text-decoration: underline;
}
#kompa .attached-note { padding: 6px 8px; white-space: pre-wrap; overflow-wrap: anywhere; }

#kompa .task-times, #kompa .workspace .tasks .task-time { gap: 3px; }
#kompa .task-duration { min-inline-size: 5ch; text-align: center; }
#kompa .task-countdown { text-align: center; }
#kompa .task-time-separator { flex: 0 0 1ch; text-align: center; }
#kompa .project-tasks .is-current-subtask { background: light-dark(#f7faef, #304338); }

#kompa .project-row > .task-card > .task-line > .task-title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#kompa .capture-actions #new-undated[aria-pressed="true"] { background: #fff; color: #234133; }
#kompa .undated-task {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
#kompa .undated-task > span { flex: 1 1 100%; }
#kompa .undated-task > button { flex: 0 0 auto; font-size: 12px; }

#kompa .task-periods .day-page-arrow { font-size: 19px; }
#kompa .task-entry { row-gap: 8px; padding-inline: 4px; }
#kompa .task-entry > .task-options-fields { padding: 0; }
#kompa .task-entry > .entry-actions { padding-inline: 0; }
#kompa .task-entry .entry-date { align-items: stretch; }
#kompa .entry-date-field { position: relative; }
#kompa .entry-date-field .date-placeholder { display: none; }
#kompa .entry-date-field[data-empty] .date-placeholder {
  position: absolute;
  display: block;
  inset-inline-start: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: light-dark(#67746b, #a8b5ac);
  font-size: 14px;
}
#kompa .entry-date-field[data-empty]:focus-within .date-placeholder { display: none; }
#kompa .entry-date-field[data-empty]:not(:focus-within) input { color: transparent; }
#kompa .entry-date-field[data-empty]:not(:focus-within) input::-webkit-datetime-edit { opacity: 0; }
#kompa .entry-date-field input,
#kompa .entry-date #new-undated {
  box-sizing: border-box;
  min-height: 42px;
  margin: 0;
  padding-inline: 9px;
  border: 1px solid light-dark(#cad7cd, #617568);
  border-radius: 8px;
  background: light-dark(#f6f7f1, #18251e);
}
#kompa .entry-date-field input::-webkit-date-and-time-value { text-align: start; }
#kompa .entry-date #new-undated { font-size: 14px; }
#kompa .entry-date #new-undated[aria-pressed="true"] {
  color: light-dark(#234133, #dcefe1);
  background: light-dark(#e0e9dc, #374e40);
}
#kompa .task-entry .entry-identity { grid-template-columns: minmax(0, 2fr) minmax(106px, 1fr); }
#kompa .entry-identity .entry-pera,
#kompa .entry-title-field {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid light-dark(#cad7cd, #617568);
  border-radius: 8px;
  background: light-dark(#fff, #263a30);
}
#kompa .entry-identity .entry-pera { gap: 4px; padding-inline-start: 8px; }
#kompa .entry-pera > span { font-weight: 650; }
#kompa .entry-identity input,
#kompa .task-entry .entry-subtask textarea {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 8px 6px;
  border: 0;
  background: transparent;
  font-size: 16px;
}
#kompa .entry-title-field > input { flex: 1 1 0; padding-inline-start: 9px; }
#kompa .task-entry input::placeholder,
#kompa .task-entry textarea::placeholder { color: light-dark(#67746b, #a8b5ac); opacity: 1; }
#kompa .task-entry .entry-subtask {
  border: 1px solid transparent;
  border-radius: 8px;
  background: light-dark(#f5f7f0, #223329);
}
#kompa #entry-subtasks { display: grid; gap: 6px; }
#kompa .entry-text-row { display: flex; align-items: center; }
#kompa .task-entry .entry-subtask textarea {
  max-height: 180px;
  padding-inline-start: 9px;
  field-sizing: content;
}
#kompa .entry-tools { display: flex; flex: 0 0 auto; align-items: center; }
#kompa .entry-tools button { width: 32px; min-height: 42px; padding: 0; }
#kompa .entry-tools .accept-dictation { font-size: 20px; }
#kompa .entry-tools .dictate {
  display: grid;
  place-items: center;
  background: transparent;
  color: inherit;
}
#kompa .entry-tools .dictate[aria-pressed="true"] {
  background: transparent;
  color: light-dark(#934638, #ffc1ab);
}
#kompa .entry-tools .dictation-stop,
#kompa .entry-tools .dictate[aria-pressed="true"] svg { display: none; }
#kompa .entry-tools .dictate[aria-pressed="true"] .dictation-stop { display: inline; }
#kompa .entry-text-row .subtask-toggle {
  display: grid;
  flex: 0 0 28px;
  min-height: 42px;
  place-items: center;
  padding: 0;
}
#kompa .entry-text-row .subtask-toggle::before { margin-inline-end: 0; }
#kompa .task-entry .entry-subtask textarea { padding-inline-start: 0; }
#kompa .subtask-options { padding: 0 8px 8px; }
#kompa .subtask-options .entry-date-field { grid-column: 1 / -1; }
#kompa .task-entry input[type="hidden"] { display: none; }
#kompa .missing-detail {
  display: inline-block;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-inline: 2px;
  border-radius: 50%;
  background: light-dark(#ab4234, #f08e7f);
  align-self: center;
}

#kompa .entry-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 4px; }
#kompa .entry-actions button { background: light-dark(#e0e9dc, #374e40); font-size: 14px; }
#kompa .entry-actions .entry-ai {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: .8;
}
#kompa .entry-actions .save-draft {
  color: light-dark(#fff, #20352a);
  background: light-dark(#315844, #b9d6bd);
}
#kompa .entry-actions .save-draft:disabled { opacity: .48; }
#kompa .task-meta .task-overdue {
  color: light-dark(#9a4839, #ffc1ab);
}

#kompa .task-card .task-title.overdue-title,
#kompa .task-meta .task-overdue {
  color: light-dark(#934415, #ffbc91);
}
#kompa .row-actions .task-action-icon,
#kompa .undated-list .task-action-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 7px;
  background: light-dark(#dce8dc, #3c5445);
}
#kompa .task-action-icon svg { width: 17px; height: 17px; pointer-events: none; }
#kompa .undated-project-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#kompa .undated-list .undated-task { flex-wrap: nowrap; }
#kompa .undated-list .undated-task > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }

#kompa .project-description-entry,
#kompa .project-description-view {
  min-width: 0;
  border-radius: 8px;
  background: light-dark(#fff, #263a30);
}
#kompa .project-description-entry { border: 1px solid light-dark(#cad7cd, #617568); }
#kompa .description-header {
  display: flex;
  align-items: center;
}
#kompa #description-toggle {
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  text-align: start;
  font-size: 14px;
  font-weight: 650;
}
#kompa #description-toggle::before,
#kompa .subtask-toggle::before {
  content: '';
  display: inline-block;
  width: .38em;
  height: .38em;
  margin-inline-end: .55em;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: translateY(-.12em) rotate(-45deg);
}
#kompa #description-toggle[aria-expanded="true"]::before,
#kompa .subtask-toggle[aria-expanded="true"]::before { transform: translateY(-.2em) rotate(45deg); }
#kompa #description-toggle small { margin-inline-start: 5px; font-weight: 400; white-space: nowrap; }
#kompa .description-footer { display: flex; justify-content: flex-end; padding: 0 6px 6px; }
#kompa .task-entry .project-description-entry textarea {
  display: block;
  width: 100%;
  min-height: 90px;
  max-height: 45dvh;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  field-sizing: content;
  font-size: 16px;
  line-height: 1.45;
}
#kompa button.description-ai {
  width: auto;
  flex: 0 0 auto;
  min-height: 34px;
  padding-inline: 8px;
  color: inherit;
  background: light-dark(#e9efe6, #374e40);
  opacity: .8;
  font-size: 12px;
}
#kompa .project-description-view { margin-block: 6px; padding: 7px 9px; }
#kompa .project-description-view strong { font-size: 13px; }
#kompa .project-description-view .description-ai { margin-inline-start: 8px; }
#kompa .project-description-view p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
#kompa .task-meta .description-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  min-height: 26px;
  padding: 0;
}
#kompa .task-meta .description-toggle svg { width: 15px; height: 15px; }

#kompa .entry-options select,
#kompa .subtask-options select {
  min-height: 42px;
  margin-top: 0;
  padding-inline: 8px;
  border-radius: 8px;
}
#kompa .plan-time-field {
  display: flex;
  align-items: center;
  min-width: 0;
  border: 1px solid light-dark(#cad7cd, #617568);
  border-radius: 8px;
  background: light-dark(#f6f7f1, #18251e);
}
#kompa .plan-time-field input {
  flex: 0 1 4ch;
  min-width: 2ch;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: end;
  margin-inline-start: auto;
  font-variant-numeric: tabular-nums;
}
#kompa .plan-time-colon,
#kompa .plan-minutes {
  flex: 0 0 auto;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
#kompa .plan-minutes { margin-inline-end: auto; padding-inline-end: 4px; }
#kompa .plan-time-steps { display: grid; flex: 0 0 25px; }
#kompa .plan-time-steps button {
  min-height: 20px;
  padding: 0;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1;
}

#kompa #entry-subtasks > [data-standard-step="1"] { order: 1; }
#kompa #entry-subtasks > [data-standard-step="2"] { order: 2; }
#kompa .project-planning p { margin: 3px 0; font-size: 13px; }

#kompa .task-entry .entry-identity { grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); }
#kompa .entry-identity .entry-pera { background: light-dark(#f3f6ed, #24362b); }
#kompa .entry-step-menu { position: relative; }
#kompa .entry-step-menu summary { cursor: pointer; display: grid; place-items: center; min-width: 27px; min-height: 38px; list-style: none; }
#kompa .entry-step-menu summary::-webkit-details-marker { display: none; }
#kompa .entry-step-menu button { position: absolute; right: 0; top: 100%; z-index: 2; white-space: nowrap; }
#kompa .entry-step-menu { flex: 0 0 auto; }
#kompa .task-entry { row-gap: 6px; }
#kompa .task-entry .task-options-fields { gap: 6px; }
#kompa .task-entry .entry-options,
#kompa .task-entry .subtask-options,
#kompa .task-entry .project-planning-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#kompa .task-entry .project-planning-line { padding: 0; }
#kompa .project-planning-line select {
  min-height: 42px;
  margin: 0;
  padding-inline: 8px;
  border-radius: 8px;
}
#kompa #project-estimate {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 3px;
  border-radius: 8px;
  background: light-dark(#f6f7f1, #18251e);
  font-size: clamp(11px, 3.3vw, 14px);
  font-variant-numeric: tabular-nums;
}
#kompa #project-slot:empty { display: none; }
#kompa #project-slot { color: light-dark(#963f33, #f0a89a); }
#kompa #open-month {
  width: 100%;
  padding: 6px 0;
  text-align: start;
}
#kompa .project-row { border-radius: 12px; background: light-dark(#f1f4e9, #26362d); }
#kompa .project-row.is-locked { background: light-dark(#e2ecdc, #314936); }
#kompa .project-commitment { color: light-dark(#785137, #f0c8ab); white-space: nowrap; }
#kompa .month-panel { display: grid; gap: 8px; width: 100%; }
#kompa .month-header { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
#kompa .month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
#kompa .month-grid button { display: grid; place-items: center; min-height: 40px; min-width: 0; padding: 3px 0; font-size: 13px; }
#kompa .month-grid button small { font-size: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#kompa .month-grid button[data-available="none"] { background: light-dark(#f1e4d7, #4b3a32); }

#kompa .bottom-actions { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
#kompa .bottom-actions button { inline-size: min(100%, 44px); justify-self: center; padding: 0; }
#kompa .task-entry .entry-date { grid-template-columns: minmax(0, 1.2fr) 40px minmax(0, 1fr); }
#kompa #open-date-month {
  display: grid; place-items: center; min-height: 42px; padding: 0; border: 1px solid light-dark(#cad7cd, #617568);
  border-radius: 8px; background: light-dark(#f6f7f1, #18251e);
}
#kompa .month-grid button[data-available="free"] { background: light-dark(#e1ebda, #34503c); }
#kompa .routine-panel { display: grid; gap: 12px; width: 100%; min-width: 0; }
#kompa .routine-panel h3 { font-size: 17px; font-weight: 600; margin: 0; }
#kompa .routine-panel .routine-motto {
  font: 500 clamp(24px, 7vw, 34px)/1.17 Georgia, serif;
  color: light-dark(#315844, #b9d6bd);
  margin: 6px 0 10px;
}
#kompa .routine-checks, #kompa .routine-answer-actions { display: flex; gap: 6px; }
#kompa .routine-panel button { padding: 4px 8px; background: light-dark(#e0e9dc, #374e40); }
#kompa .routine-panel button[aria-pressed="true"] { background: light-dark(#fff, #465e4b); }
#kompa .routine-answer { display: grid; gap: 6px; }
#kompa .routine-answer textarea {
  width: 100%; min-height: 96px; border: 1px solid light-dark(#cad7cd, #617568); border-radius: 8px; padding: 8px;
  background: light-dark(#fff, #263a30); color: inherit; font: inherit; font-size: 16px;
}
#kompa .routine-answer-actions button:last-child { flex: 0 0 44px; display: grid; place-items: center; }
#kompa .routine-message:empty { display: none; }
