.wb-shell { max-width: 1120px; }
.wb-shell p { max-width: 86ch; }
.wb-shell .wb-picker, .wb-shell .wb-card, .wb-shell .wb-evidence-group {
  margin-block: 20px;
}
.wb-shell .wb-picker, .wb-shell .wb-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 9px;
  padding: clamp(18px, 2.4vw, 28px);
}
.wb-shell h2 { font-size: clamp(1.65rem, 2.4vw, 2.15rem); margin-bottom: 8px; }
.wb-shell h3 { font-size: 1.38rem; margin-bottom: 8px; line-height: 1.22; }
.wb-shell .wb-controls { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.wb-shell .wb-controls label, .wb-shell .wb-controls select { max-width: 100%; }
.wb-shell .wb-card > p, .wb-shell .wb-picker > p, .wb-shell .wb-evidence-group > p, .wb-shell .wb-option, .wb-shell .wb-total { color: var(--muted); }
.wb-shell .wb-priority-grid, .wb-shell .wb-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 15px 22px;
  margin-top: 17px;
}
.wb-shell .wb-priority-grid > div { border-top: 1px solid var(--line); padding-top: 13px; }
.wb-shell .wb-priority-grid label, .wb-shell .wb-option label, .wb-shell .wb-plan-grid label {
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-weight: 630;
  gap: 4px;
  font-size: .94rem;
  line-height: 1.45;
}
.wb-shell .wb-priority-grid input, .wb-shell .wb-priority-grid select, .wb-shell .wb-option input, .wb-shell .wb-option select,
.wb-shell .wb-option textarea, .wb-shell .wb-plan-grid :is(input,select,textarea) {
  width: 100%;
  font-weight: 400;
  min-height: 42px;
}
.wb-shell .wb-priority-grid p { font-size: .93rem; margin: 4px 0 7px; }
.wb-shell .wb-custom { margin-bottom: 7px; }
.wb-shell summary { cursor: pointer; font-size: 1.16rem; line-height: 1.45; font-weight: 650; color: var(--ink); }
.wb-shell details[open] > summary { margin-bottom: 12px; }
.wb-shell .wb-status { white-space: nowrap; color: var(--muted); font-size: .85rem; font-weight: 400; margin-left: 8px; }
.wb-shell .wb-columns { display: grid; grid-template-columns: repeat(var(--wb-count),minmax(0,1fr)); gap: 15px; margin-top: 16px; }
.wb-shell .wb-option {
  padding: 13px;
  background: #f6f6ec;
  border: 1px solid #d7deca;
  border-radius: 6px;
  min-width: 0;
  margin: 0;
}
.wb-shell .wb-option legend { padding: 0 6px; font-weight: 650; font-size: 1rem; color: var(--ink); }
.wb-shell .wb-option label { margin: 8px 0; }
.wb-shell .wb-evidence { margin-block: 10px; padding-block: 15px; }
.wb-shell .wb-synthesis { background: #edf1e4; border-color: #c3ceb7; }
.wb-shell .wb-synthesis h3 { margin: 19px 0 4px; }
.wb-shell .wb-empty-priority { padding: 11px 14px; background: #efefe6; margin-top: 10px; border-radius: 5px; }
.wb-shell .wb-print-action { display: flex; gap: 16px; align-items: center; }
.wb-shell .wb-print-action p { font-size: .9rem; color: var(--muted); }
.wb-shell .wb-print { display:none; }
@media (max-width: 760px) {
  .wb-shell .wb-columns { grid-template-columns: 1fr; }
  .wb-shell .wb-priority-grid { gap: 11px; }
}
@media (max-width: 550px) {
  .wb-shell .wb-priority-grid, .wb-shell .wb-plan-grid { grid-template-columns: 1fr; }
  .wb-shell .wb-print-action { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media print {
  .wb-shell .wb-interactive { display:none!important; }
  .wb-shell .wb-print { display:block!important; font: 11pt/1.4 Georgia,serif; color:black; }
  .wb-shell .wb-print p { margin: 3px 0; white-space: pre-wrap; overflow-wrap:anywhere; max-width: none; }
  .wb-shell .wb-print h1 { font-size:24pt; margin-bottom: 3pt; }
  .wb-shell .wb-print h2 { font-size:16pt; margin: 16pt 0 5pt; break-after:avoid; }
  .wb-shell .wb-print h3 { font-size:12pt; margin:8pt 0 4pt; break-after:avoid; }
  .wb-shell .wb-print .wb-print-item { border-top:1px solid #bbb; padding:3pt 0; break-inside:avoid; }
  .wb-shell .wb-print a { color:black; overflow-wrap:anywhere; }
  .wb-shell .wb-print li { margin:3pt 0; }
}
