body>header{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:start;gap:10px;direction:ltr}
body>header #menuToggle{grid-column:1;grid-row:1;align-self:start}
body>header .language-picker{grid-column:2;grid-row:1;margin:0;align-self:start}
body>header .brand{grid-column:3;grid-row:1;justify-self:end;text-align:right;margin:0;min-width:0;max-width:210px;overflow-wrap:anywhere}
body>header .brand span{line-height:1.4;margin-top:4px}
body>header>.row{grid-column:1/-1;grid-row:2;justify-content:flex-start;justify-self:start;margin:0}
html[dir=rtl] body>header .brand{direction:rtl}
.task-note-inline{border:1px solid #e5d9cc;border-top:0;border-radius:0 0 12px 12px;padding:0 14px 14px;margin:-8px 0 20px;background:#fcfaf7}
.task-note-inline textarea{min-height:90px}.task-note-inline label{font-size:1rem}.task-note-inline p{line-height:1.5}
#entryHistory{width:100%;padding:12px;min-height:44px;background:#fff;color:#33271f;border:1px solid #bba994;border-radius:10px;font:inherit}
#datedJournal textarea{min-height:100px}#datedJournal button:disabled{opacity:.55;cursor:default}
@media(max-width:400px){body>header{gap:8px}body>header .language-picker summary{padding:10px 9px}body>header .brand{font-size:1.2rem}body>header .brand span{font-size:.875rem}}
/* Align the current-situation and next-action controls. */
#situations,#now>.card:first-child>.row:first-of-type{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:16px 0}
#actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
#situations>.chip,#actions>.chip,#now>.card:first-child>.row:first-of-type>.chip{width:100%;min-width:0;min-height:48px;margin:0;white-space:normal;overflow-wrap:anywhere;line-height:1.45;text-align:start;display:flex;align-items:center}
#situationMessage,#actionMessage{margin:0;overflow-wrap:anywhere}
#situationMessage+.button,#actionMessage+.button{display:block;width:100%;margin-top:16px;min-height:48px;line-height:1.45;white-space:normal;overflow-wrap:anywhere;text-align:center}
@media(max-width:359px){#actions{grid-template-columns:minmax(0,1fr)}}
.card .welcome-question{font-size:1.5rem;font-weight:800;line-height:1.3;margin:0 0 18px;color:#503829;overflow-wrap:anywhere}

.three-box-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.three-box{min-width:0;border:1px solid #d7c5b3;border-radius:14px;background:#fcfaf7;padding:18px}.three-box>label:first-child{font-size:1.25rem;margin-top:0}.three-box p{margin:6px 0 10px}.three-box textarea{min-height:120px;max-width:100%;font-size:16px}.three-box #journalwhen{min-height:80px}.three-box-project:focus{outline:3px solid #bd7545;outline-offset:3px}.three-box-project button{min-height:44px}#start-three-boxes{margin-top:12px}@media(max-width:850px){.three-box-grid{grid-template-columns:minmax(0,1fr)}}
.three-box-hints{margin-top:18px}.three-box-hints>summary{padding:14px;min-height:44px;cursor:pointer;font-weight:700}.three-box-hints[open]>summary{margin-bottom:12px}#journal-three-boxes{margin-top:12px}
