/* Daily Table's compact journal interface. */
:root{--ink:#26383a;--muted:#5c6d70;--paper:#f4f7f8;--line:#dce4e6;--green:#278541;--lime:#dff0df;--shadow:none;font-family:Arial,Segoe UI,sans-serif;font-size:16px;background:var(--paper)}
body{line-height:1.45}a{color:#08769d}a:hover{text-decoration:underline}button{font-size:14px;border-radius:6px;padding:9px 13px}button.small{font-size:14px}button.soft{background:#eaf3ec;border:1px solid #d3e5d7;color:#236a37}button.primary:hover{background:#1f7036}button:focus-visible,a:focus-visible{outline:3px solid #237ba3;outline-offset:3px}input,select,textarea{font-size:16px;border-radius:5px}label{font-size:14px}.caption{font-size:13px}.muted{font-size:14px}.eyebrow{font-size:12px;letter-spacing:1px}.pill{font-size:12px}.row-title{font-size:16px}.row-sub{font-size:14px}.card{border-radius:7px;padding:20px}.card h2,.card h3{font-family:inherit;font-weight:700}.card h2{font-size:19px}.card-head{margin-bottom:16px}.card-head a{font-size:14px;color:#08769d}.empty strong{font-family:inherit;font-size:18px}.empty{font-size:14px}.stat-value,.ring strong,.goal-card .big{font-family:inherit}.bar i{background:var(--green)}.bar{height:7px;background:#e5ecee}.section-space{margin-top:18px}
.dp-shell{display:block}.dp-shell .sidebar{position:relative;height:auto;padding:16px max(24px,calc((100% - 1180px)/2)) 0;background:#fff;border:0;border-top:5px solid var(--green);border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:15px}.dp-shell .brand{padding:0;gap:10px}.dp-shell .brand strong{font-family:inherit;font-size:26px;letter-spacing:-1px;color:#287c3d}.dp-shell .brand img{width:32px;height:32px}.dp-shell .navlabel{display:none}.dp-shell .sidebar-foot{grid-column:2;grid-row:1;margin:0;padding:0;font-size:12px;text-align:right}.dp-shell .nav{grid-column:1/-1;display:flex;flex-direction:row;gap:0;overflow:visible;flex-wrap:wrap}.dp-shell .nav a{border-radius:0;gap:7px;padding:12px 14px;font-size:14px;color:#52666a;border-bottom:3px solid transparent}.dp-shell .nav a.active{background:#eef6ef;color:#216f36;border-bottom-color:var(--green)}.dp-shell .nav a:hover{background:#f1f6f3;text-decoration:none}.dp-shell .main{max-width:1228px;padding:0 24px 40px;margin:auto}.dp-shell .topbar{height:55px;min-height:55px;border-bottom:0}.topbar .location{font-size:13px}.dp-mobile-brand{display:none}.dp-shell .page-head{margin:12px 0 22px;align-items:center}.page-head .eyebrow{display:none}.dp-shell .page-head h1{font-family:inherit;font-size:29px;font-weight:700;letter-spacing:-.6px;margin:0 0 5px}.page-head p{font-size:15px}.page-head .actions{gap:7px;max-width:55%}.page-head .actions button{font-size:14px}.dp-shell .topbar .avatar{font-family:inherit;background:#e8f2ea}.dp-shell .topbar input{font-size:14px;width:145px}
.dp-date-nav{background:#fff;border:1px solid var(--line);border-top:3px solid var(--green);padding:16px 20px;border-radius:7px;margin-bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dp-date-nav h2{font-family:inherit;font-size:18px;margin:4px 0 0}.dp-date-nav .actions{gap:7px}.dp-date-nav label{font-size:12px;gap:3px}.dp-date-nav input{padding:7px;width:154px}.dp-date-nav button{min-height:39px}
.dp-diary-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px;align-items:start}.dp-meal-list,.dp-diary-summary{min-width:0}.dp-diary-summary{display:grid;gap:16px}.dp-meal{background:#fff;border:1px solid var(--line);border-radius:7px;margin-bottom:16px;overflow:hidden}.dp-meal-head{padding:13px 16px;background:#edf4f6;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.dp-meal-head h2{font-size:18px;margin:0;color:#26566c}.dp-meal-head .caption{font-size:12px}.dp-food-row{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:8px 18px;padding:14px 16px;border-bottom:1px solid #edf0f1;align-items:center}.dp-food-name{min-width:0}.dp-food-name p{font-size:13px;color:var(--muted);margin:4px 0 0;overflow-wrap:anywhere}button.dp-text-button{border:0;border-radius:0;background:transparent;color:#08769d;text-align:left;padding:0;font-weight:600;min-height:0;line-height:1.45;white-space:normal;overflow-wrap:anywhere;font-size:16px}button.dp-text-button:hover{text-decoration:underline;background:transparent}.dp-row-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px}.dp-row-actions button{padding:3px 8px;font-size:12px;min-height:30px;border-color:#e5ecee}.dp-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;text-align:right;min-width:0;font-variant-numeric:tabular-nums}.dp-facts dt{font-size:12px;color:var(--muted);font-weight:400}.dp-facts dd{font-size:14px;margin:3px 0 0;font-weight:600;white-space:nowrap}.dp-empty-meal{font-size:14px;margin:0;padding:20px 16px;color:var(--muted)}.dp-meal-foot{padding:10px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fbfcfc}.dp-meal-foot .actions{gap:5px}.dp-meal-foot button{padding:5px 9px;font-size:12px;min-height:32px}.dp-meal-total{display:flex;gap:15px;align-items:center}.dp-meal-total>span{font-size:12px;font-weight:700}.dp-meal-total .dp-facts{width:210px}.dp-day-total{background:#e5f1e8;padding:16px;border:1px solid #c9dfcf;border-radius:6px;display:flex;justify-content:space-between;gap:16px;align-items:center}.dp-day-total h2{font-size:18px;margin:0}.dp-day-total .dp-facts{width:250px}.dp-calorie-card{border-top:3px solid var(--green)}.dp-remaining{font-size:40px;font-weight:700;line-height:1.3;margin:5px 0 14px;color:#24753a;letter-spacing:-1px}.dp-remaining small{font-size:15px;font-weight:400;letter-spacing:0;color:var(--muted)}.dp-summary-pair{display:flex;justify-content:space-between;gap:10px;margin-top:12px;font-size:14px}.dp-macro-summary{display:grid;gap:14px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.dp-macro-summary .macro-label{font-size:13px;gap:6px}.dp-shortcuts{display:grid;gap:0;margin-top:10px}.dp-shortcuts>a,.dp-shortcuts>button{padding:10px 0;font-size:14px;border-bottom:1px solid #edf0f1;font-weight:400}.dp-fast summary{cursor:pointer;font-weight:600;font-size:16px}
.dp-recipe-toolbar{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.dp-recipe-toolbar>label:first-child{flex:1 1 260px}.dp-recipe-toolbar input{width:100%}.dp-recipe-toolbar>label:nth-child(2){flex:0 1 180px}.dp-recipe-list{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden}.dp-result-count{padding:12px 20px;background:#edf4f6;margin:0;font-size:14px;color:#36596b;font-weight:600}.dp-recipe-row{display:flex;align-items:center;gap:20px;padding:20px;border-bottom:1px solid var(--line)}.dp-recipe-row:last-child{border:0}.dp-recipe-icon{background:#eaf3ed;width:62px;height:62px;border-radius:8px;display:grid;place-items:center;color:#34824b;flex:none}.dp-recipe-info{flex:1;min-width:0}.dp-recipe-info h2{margin:0;font-size:18px}.dp-recipe-info h2 button{font-size:18px}.dp-recipe-info p{margin:5px 0 10px}.dp-recipe-nutrition{display:flex;align-items:end;gap:18px;flex-wrap:wrap}.dp-recipe-nutrition .dp-facts{text-align:left;width:280px}.dp-recipe-row>.actions{flex:none;gap:6px}
.dp-picker-context{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#edf4f6;padding:12px;border-radius:6px;margin-bottom:14px}.dp-picker-context p{margin:0}.dp-picker-context label{flex:0 1 190px}.dp-picker-search{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.picker-tabs{gap:4px;border-bottom:1px solid var(--line);padding-bottom:8px}.picker-tabs button{border:0;border-radius:4px;padding:9px 11px;font-size:14px}.picker-tabs [aria-selected=true]{background:#e4f1e7;color:#206f36;box-shadow:inset 0 -3px #278541}.dp-food-result{align-items:center}.dp-food-facts{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.dp-food-facts span{white-space:nowrap}.dp-food-result p{margin:4px 0;font-size:13px}.dp-food-result strong{color:#08769d}.food-suggestions [role=option] span{font-size:13px}.modal-head h2,dialog h2{font-family:inherit;font-weight:700;font-size:22px}.food-nutrition-summary{background:#edf4f6}.nutrition-details{border-radius:6px}.recipe-art{background:#edf4f6}.compact-planner{font-size:14px}.plan-meal strong{font-size:14px}.plan-meal .meal-type{font-size:12px}.plan-buttons button{font-size:12px}.plan-empty{font-size:13px}.day-label{font-size:14px}
@media(max-width:1050px){.dp-shell .sidebar{padding-left:20px;padding-right:20px}.dp-shell .nav a{padding:10px;font-size:13px}.dp-shell .nav a svg{display:none}.dp-diary-layout{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.dp-food-row{grid-template-columns:minmax(0,1fr)}.dp-food-row .dp-facts{width:240px;text-align:left}.dp-row-actions{grid-column:1;justify-content:flex-start}.dp-meal-total{width:100%;justify-content:space-between}}
@media(max-width:800px){.dp-diary-layout{grid-template-columns:minmax(0,1fr)}.dp-diary-summary{grid-row:1;grid-template-columns:1fr}.dp-diary-summary>section:not(.dp-calorie-card),.dp-fast{display:none}.dp-calorie-card{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.dp-calorie-card .card-head{grid-column:1/-1}.dp-calorie-card>.eyebrow,.dp-calorie-card>.dp-remaining,.dp-calorie-card>.bar{grid-column:1}.dp-calorie-card>.dp-macro-summary{grid-column:2;grid-row:2/6;margin:0;padding:0;border:0;align-self:center}.dp-calorie-card>.caption{grid-column:1/-1}.dp-calorie-card>.dp-summary-pair{grid-column:1/-1}.dp-shell .page-head .actions{max-width:100%}.dp-recipe-row{flex-wrap:wrap}.dp-recipe-row>.actions{margin-left:82px}.dp-shell .main{padding:0 16px 110px}.dp-date-nav .actions{display:flex}.dp-date-nav label{grid-column:auto;grid-row:auto}.dp-shell .page-head{flex-wrap:wrap;gap:12px}}
@media(max-width:700px){.dp-mobile-brand{display:inline;font-weight:700;font-size:20px;color:#287c3d;letter-spacing:-.7px}.dp-shell .topbar{display:flex;justify-content:space-between;padding:12px 0;margin-bottom:5px;border-bottom:1px solid var(--line)}.dp-shell .topbar .location{display:none}.dp-shell .topbar .date{gap:5px}.dp-shell .topbar input{font-size:16px;width:140px;flex-basis:140px}.topbar .avatar,.topbar .date>svg{display:none}.dp-shell .page-head h1{font-size:26px}.dp-shell .page-head p{font-size:14px}.dp-shell .page-head .actions{width:100%;justify-content:flex-start}.dp-shell .page-head .actions>button{flex:1 1 auto;min-height:44px}.dp-date-nav{padding:14px}.dp-date-nav .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}.dp-date-nav .actions label{grid-column:1/-1;grid-row:1}.dp-date-nav input{width:100%;min-height:44px}.dp-date-nav button{min-height:44px}.dp-meal-head{padding:12px}.dp-food-row{padding:14px 12px}.dp-food-row .dp-facts{width:100%;max-width:340px}.dp-row-actions{justify-content:flex-end}.dp-row-actions button,.dp-meal-foot button{min-height:44px;font-size:14px;padding:8px 12px}.dp-meal-foot{padding:10px 12px}.dp-facts dt{font-size:12px}.dp-facts dd{font-size:14px}.dp-meal-total .dp-facts{width:220px}.dp-day-total{display:block}.dp-day-total .dp-facts{margin-top:10px;width:100%;text-align:left}.dp-recipe-toolbar{padding:16px}.dp-recipe-toolbar>label:nth-child(2){flex:1 1 160px}.dp-recipe-row{padding:16px;gap:12px}.dp-recipe-icon{width:42px;height:42px}.dp-recipe-row>.actions{margin-left:54px;max-width:calc(100% - 54px)}.dp-recipe-info .dp-facts{width:100%;max-width:270px}.dp-recipe-info h2 button{font-size:17px}.dp-recipe-row button{min-height:44px}.dp-recipe-info h2 button{min-height:0}.dp-picker-context label{flex:1 1 160px}.dp-picker-search button{flex:1}.dp-shell .mobile-nav a,.dp-shell .mobile-nav button{font-size:13px;color:#436168}.dp-shell .mobile-nav .primary{color:white}.mobile-nav [aria-current=page]{background:#e5f2e8;color:#216f36!important;font-weight:700}.dp-shortcuts>a,.dp-shortcuts>button{min-height:44px}.dp-calorie-card{padding:16px}.dp-remaining{font-size:32px}.dp-macro-summary .macro-label{display:block}.dp-macro-summary .macro-label strong{display:block;font-size:12px}.dp-meal-list>.caption{font-size:13px}}
@media(max-width:360px){.dp-calorie-card{grid-template-columns:1fr}.dp-calorie-card>.dp-macro-summary{grid-column:1;grid-row:auto;margin-top:14px}.dp-calorie-card>.card-head{flex-wrap:wrap}.dp-meal-total{display:block}.dp-meal-total .dp-facts{margin-top:6px;width:100%;text-align:left}.dp-mobile-brand{font-size:18px}.dp-shell .topbar input{width:135px;flex-basis:135px}}
@media print{.dp-shell .sidebar,.dp-shell .topbar,.dp-shortcuts,.dp-row-actions{display:none!important}.dp-diary-layout{display:block}.dp-diary-summary{display:block}.dp-food-row{grid-template-columns:1fr 240px}.dp-shell .main{padding:0}.dp-meal{break-inside:avoid}}
@media(max-width:800px){.dp-diary-summary{display:contents}.dp-meal-list{order:1}.dp-diary-summary>.dp-calorie-card{order:0}.dp-diary-summary>section:not(.dp-calorie-card){display:block;order:2}.dp-diary-summary>.dp-fast{display:block;order:3}}
@media(max-width:700px){.dp-recipe-info{flex:1 1 calc(100% - 54px)}.dp-recipe-row>.actions{flex-basis:calc(100% - 54px)}}
