/* A personal action list, with room for real notes and no horizontal board. */
#guide-plan {margin:48px 0 56px;scroll-margin-top:150px;border-block:1px solid var(--line);padding-block:36px;}
.guide-plan-heading {display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:24px;}
.guide-plan-heading>div {min-width:0;max-width:700px;}
.guide-plan-heading h2 {font-size:30px;line-height:1.25;letter-spacing:-.04em;margin:12px 0;}
.guide-plan-heading p {font-size:13px;line-height:1.8;color:var(--muted);margin:0;}
.guide-plan-heading>.button {flex-shrink:0;min-height:46px;gap:10px;}
.guide-plan-stats {display:flex;gap:0;margin:0 0 26px;padding:20px 0;background:var(--ink);color:var(--white);border-radius:12px 12px 30px 12px;}
.guide-plan-stats>div {flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;padding-inline:24px;border-inline-end:1px solid #ffffff38;}
.guide-plan-stats>div:last-child {border-inline-end:0;}
.guide-plan-stats dd {order:-1;margin:0;color:var(--atlas-lime);font-size:32px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;}
.guide-plan-stats dt {font-size:11px;line-height:1.5;}
.guide-plan-filters {display:grid;grid-template-columns:minmax(150px,190px) minmax(170px,220px) minmax(0,1fr);gap:18px;align-items:end;margin-bottom:14px;}
.guide-plan-filters label {display:grid;gap:8px;font-size:11px;min-width:0;}
.guide-plan-filters select {width:100%;min-width:0;min-height:46px;}
.guide-plan-filters p {font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 10px;text-align:end;}
.guide-plan-result-count {font-size:11px;color:var(--muted);margin:0 0 12px;}
.guide-action-list {padding:0;list-style:none;display:grid;gap:12px;margin:0;}
.guide-action {display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.33fr);gap:24px;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--white);min-width:0;}
.guide-action.is-complete {background:#edf1e7;}
.guide-action-body,.guide-action-side {min-width:0;}
.guide-action-meta {display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:12px;font-size:10px;}
.guide-action-category {background:#edf0e8;border-radius:4px;padding:5px 9px;}
.guide-action-category.is-business {background:var(--atlas-lime);}
.guide-action-status {display:inline-flex;align-items:center;gap:6px;color:var(--muted);}
.guide-action-status i {width:5px;height:5px;background:currentColor;border-radius:50%;}
.guide-action h3 {margin:0 0 8px;font-size:17px;line-height:1.5;font-weight:650;letter-spacing:-.02em;overflow-wrap:anywhere;}
.guide-action h3 bdi {unicode-bidi:plaintext;}
.guide-action-notes {font-size:12px;line-height:1.8;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px;}
.guide-action-resource {display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:600;line-height:1.7;min-height:34px;color:var(--ink);text-underline-offset:4px;overflow-wrap:anywhere;}
.guide-action-resource>span {flex-shrink:0;}
.guide-action-side {display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:18px;}
.guide-action-date {display:flex;flex-direction:column;gap:6px;align-items:flex-end;font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;}
.guide-action-date>span {font-size:10px;}
.guide-action-date.is-due {color:#874126;}
.guide-action-buttons {display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.guide-plan-edit,.guide-plan-complete {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;font-size:11px;padding:9px 13px;border:1px solid #a6b3b2;border-radius:24px;background:transparent;color:var(--ink);}
.guide-plan-edit:hover {background:#edf1e7;}
.guide-plan-complete {background:var(--ink);color:var(--white);border-color:var(--ink);}
.guide-plan-complete:hover {background:#284950;}
.guide-plan-empty {display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 20px;background:#eceee5;padding:28px;border-radius:12px;}
.guide-plan-empty-mark {width:48px;height:48px;display:grid;place-items:center;background:var(--atlas-lime);border-radius:50%;font-size:25px;}
.guide-plan-empty h3 {font-size:22px;line-height:1.4;letter-spacing:-.03em;margin:0 0 8px;}
.guide-plan-empty p {font-size:12px;line-height:1.8;color:var(--muted);margin:0;max-width:660px;}
.guide-plan-empty>.text-button,.guide-plan-empty>h3 {grid-column:1/-1;justify-self:start;}
.guide-plan-suggestions {grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px;}
.guide-plan-suggestions button {background:var(--white);color:var(--ink);border:1px solid #cbd3c4;border-radius:7px;display:flex;gap:15px;justify-content:space-between;align-items:center;padding:15px;text-align:start;min-width:0;font-size:12px;line-height:1.65;}
.guide-plan-suggestions button>span:last-child {flex:0 0 auto;font-size:18px;}
.guide-plan-suggestions button:hover {border-color:var(--ink);background:#f7f9f1;}
.guide-plan-footer {margin-top:22px;display:flex;gap:24px;justify-content:space-between;align-items:flex-start;}
.guide-plan-export-actions {display:flex;gap:12px 24px;flex-wrap:wrap;flex-shrink:0;}
.guide-plan-export-actions .text-button {display:flex;gap:10px;align-items:center;min-height:44px;font-size:11px;}
.guide-plan-footer p {margin:6px 0 0;font-size:10px;color:var(--muted);line-height:1.8;max-width:440px;}
.guide-plan-footer p>span {display:block;}
#guide-plan button:disabled {opacity:.48;cursor:default;}
.guide-plan-limit {font-size:12px;line-height:1.7;color:#874126;background:#f4e6dc;padding:12px 16px;border-radius:7px;}
#guide-action-dialog {width:min(680px,calc(100% - 32px));max-width:680px;max-height:calc(100dvh - 32px);padding:28px;border-radius:18px;background:var(--paper);overflow:auto;overscroll-behavior:contain;}
.guide-action-dialog-top {display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;}
.guide-action-dialog-top .eyebrow {font-size:10px;}
.guide-action-dialog-top .icon-button {width:44px;height:44px;min-width:44px;min-height:44px;font-size:24px;background:#e8edde;}
#guide-action-heading {font-size:28px;line-height:1.3;letter-spacing:-.035em;margin:0 0 14px;}
.guide-action-dialog-intro {font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 24px;}
#guide-action-form {display:grid;gap:20px;}
#guide-action-form label {display:grid;gap:9px;min-width:0;font-size:12px;}
#guide-action-form label>span {display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;align-items:baseline;}
#guide-action-form small {font-size:10px;font-weight:400;color:var(--muted);}
#guide-action-form :is(input,select,textarea) {min-width:0;width:100%;min-height:46px;font-size:14px;}
#guide-action-form textarea {resize:vertical;line-height:1.7;padding:12px 14px;min-height:108px;}
.guide-action-form-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.guide-action-linked {padding:15px 18px;display:grid;gap:6px;background:#e8edde;border-radius:7px;min-width:0;}
.guide-action-linked>span {font-size:10px;color:var(--muted);}
.guide-action-linked a {color:var(--ink);font-size:12px;line-height:1.7;text-underline-offset:4px;display:flex;gap:12px;align-items:center;justify-content:space-between;overflow-wrap:anywhere;}
.guide-action-linked a>span {flex-shrink:0;}
#guide-action-feedback {margin:0;color:#874126;font-size:12px;line-height:1.7;}
#guide-action-feedback:empty {display:none;}
.guide-action-form-footer {display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding-top:20px;}
.guide-action-form-footer .button {min-height:46px;}
.guide-action-form-footer .text-button {min-height:44px;}
.guide-plan-summary {border:1px solid var(--line);border-radius:12px;padding:22px;background:var(--white);margin:20px 0;min-width:0;}
.guide-plan-summary-heading {display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin-bottom:18px;}
.guide-plan-summary-heading .eyebrow {font-size:10px;}
.guide-plan-summary-heading a {display:inline-flex;gap:12px;align-items:center;min-height:44px;font-size:12px;font-weight:600;text-underline-offset:4px;}
.guide-plan-summary .guide-plan-stats {margin-bottom:16px;padding-block:16px;}
.guide-plan-summary .guide-plan-stats>div {padding-inline:16px;}
.guide-plan-summary .guide-plan-stats dd {font-size:26px;}
.guide-plan-summary>p {font-size:12px;line-height:1.8;color:var(--muted);margin:0;}
.guide-plan-summary-next {display:grid;gap:4px;}
.guide-plan-summary-next>span {font-size:10px;}
.guide-plan-summary-next strong {color:var(--ink);font-size:13px;overflow-wrap:anywhere;}
[dir="rtl"] :is(.guide-plan-heading h2,.guide-action h3,.guide-plan-empty h3,#guide-action-heading) {letter-spacing:0;line-height:1.55;}
[dir="rtl"] .guide-plan-empty-mark {transform:scaleX(-1);}
@media(max-width:1000px){
  .guide-plan-heading {align-items:flex-start;}
  .guide-plan-filters {grid-template-columns:repeat(2,minmax(0,1fr));}
  .guide-plan-filters p {grid-column:1/-1;margin:0;text-align:start;}
  .guide-plan-suggestions {grid-template-columns:repeat(2,minmax(0,1fr));}
  .guide-plan-footer {flex-direction:column;gap:8px;}
  .guide-plan-footer p {max-width:none;}
}
@media(max-width:800px){
  #guide-plan {scroll-margin-top:88px;}
  #guide-action-form :is(input,select,textarea),.guide-plan-filters select {font-size:16px;}
}
@media(max-width:620px){
  #guide-plan {margin-block:34px;padding-block:28px;}
  .guide-plan-heading {flex-direction:column;gap:18px;}
  .guide-plan-heading h2 {font-size:27px;}
  .guide-plan-heading>.button {width:100%;justify-content:center;}
  .guide-plan-stats>div {padding-inline:14px;}
  .guide-plan-stats dd {font-size:28px;}
  .guide-plan-stats dt {font-size:10px;}
  .guide-action {grid-template-columns:1fr;padding:19px;gap:16px;}
  .guide-action-side {align-items:stretch;gap:12px;}
  .guide-action-date {flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;}
  .guide-action-buttons {justify-content:flex-end;border-top:1px solid var(--line);padding-top:12px;}
  .guide-plan-empty {grid-template-columns:1fr;padding:22px;gap:16px;}
  .guide-plan-empty-mark {width:40px;height:40px;font-size:22px;}
  .guide-plan-empty h3 {font-size:21px;}
  .guide-plan-suggestions {grid-column:1;grid-template-columns:1fr;margin-top:0;}
  .guide-plan-suggestions button {min-height:56px;}
  .guide-plan-filters {gap:12px;}
  .guide-plan-filters select {font-size:16px;}
  .guide-plan-export-actions {gap:5px 20px;}
  #guide-action-dialog {width:calc(100% - 24px);max-height:calc(100dvh - 24px);padding:20px;}
  #guide-action-heading {font-size:25px;}
  .guide-action-form-grid {grid-template-columns:1fr 1fr;gap:16px 12px;}
  .guide-action-form-grid>label:last-child {grid-column:1/-1;}
  .guide-action-form-footer {gap:16px;flex-wrap:wrap;}
  .guide-action-form-footer .button {flex:1;}
  .guide-plan-summary {padding:18px;}
  .guide-plan-summary .guide-plan-stats>div {padding-inline:12px;}
}
@media(max-width:360px){
  .guide-plan-filters,.guide-action-form-grid {grid-template-columns:1fr;}
  .guide-plan-stats>div {padding-inline:10px;}
  .guide-plan-stats dt {font-size:9px;}
}
@media(prefers-reduced-motion:no-preference){
  .guide-plan-suggestions button,.guide-plan-edit,.guide-plan-complete {transition:background-color .18s,border-color .18s;}
}
.guide-action-remove-area {padding-top:4px;}
.guide-action-remove {color:#874126;font-size:11px;min-height:44px;}
.guide-action-removal>blockquote {border-inline-start:3px solid var(--atlas-coral);margin:24px 0;padding:14px 18px;background:#eee9df;font-size:16px;line-height:1.8;font-weight:600;border-radius:0 8px 8px 0;overflow-wrap:anywhere;}
[dir="rtl"] .guide-action-removal>blockquote {border-radius:8px 0 0 8px;}
.guide-action-removal>p {font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 24px;}
.guide-action-removal .guide-action-remove-confirm {background:#874126;border-color:#874126;}
.guide-action-removal .guide-action-remove-confirm:hover {background:#71381f;border-color:#71381f;}
