/* Summith Conversations / October 15: compact, zero-overlay action layout */
.sm-book-overlay{padding:12px}
.sm-book-shell{
 width:min(940px,100%);height:min(660px,calc(100dvh - 24px));
 max-height:none;min-height:0;border-radius:18px;
}
.sm-book-head{min-height:56px;padding:8px 16px;flex:0 0 auto}
.sm-book-identity img{width:111px;max-width:111px}
.sm-book-identity span{font-size:10px}
.sm-book-layout{grid-template-columns:244px minmax(0,1fr);min-height:0;overflow:hidden}
.sm-book-aside{min-height:0;gap:12px;padding:24px 20px}
.sm-book-aside h2{font-size:29px;line-height:1.14}
.sm-book-aside>p{font-size:12px;line-height:1.55}
.sm-book-promise{font-size:11px;gap:8px;padding:12px 0}
.sm-book-side-meta{font-size:10px;line-height:1.7;padding-top:12px}
.sm-book-main{
 min-width:0;min-height:0;overflow:hidden;
 display:flex;flex-direction:column;
 padding:13px 20px 13px;
}
.sm-book-progress{flex:0 0 auto;margin:0 0 11px;gap:5px}
.sm-book-progress-item{font-size:10px;gap:5px}
.sm-book-progress-item i{width:21px;height:21px;flex:0 0 21px}
.sm-book-stage{
 flex:1 1 auto;min-height:0;overflow-y:auto;
 scrollbar-width:thin;overscroll-behavior:contain;
}
.sm-book-intro{margin-bottom:10px}
.sm-book-intro h3{font-size:29px;line-height:1.14;margin:3px 0 4px}
.sm-book-intro p{font-size:12px;line-height:1.45}
.sm-book-topic-grid{
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:7px;margin:8px 0 11px;
}
.sm-book-topic{
 display:grid!important;grid-template-columns:17px minmax(0,1fr);
 align-content:center;align-items:center;min-height:41px;
 padding:7px 9px!important;gap:7px;border-radius:9px!important;
}
.sm-book-topic strong{font-size:12px;line-height:1.25}
.sm-book-topic .sm-book-radio{grid-row:auto;width:14px;height:14px;margin:0}
.sm-book-two-cols{gap:7px 12px}
.sm-book-main label:not(.sm-book-consent):not(.sm-book-honey){font-size:11px;gap:4px}
.sm-book-main :is(input:not([type=checkbox]),select,textarea){
 min-height:38px;padding:8px 10px;font-size:12px;border-radius:8px;
}
.sm-book-topic-select{display:none!important}
.sm-book-compact-goal{margin-top:10px;display:grid;gap:5px!important}
.sm-book-compact-other{margin-top:8px;display:grid;gap:5px!important}
.sm-book-foot{
 position:relative;z-index:5;flex:0 0 auto;
 margin:9px 0 0;padding:10px 0 0;
 min-height:53px;background:#FBFAF7;
 border-top:1px solid #DED7C8;
}
.sm-book-next,.sm-book-calendar-btn,.sm-book-done{
 min-height:41px;padding:9px 18px!important;font-size:12px;
}
.sm-book-cal{padding:10px;border-radius:11px}
.sm-book-cal-bar{margin-bottom:6px}
.sm-book-cal-bar strong{font-size:12px}
.sm-book-cal-bar button{height:30px;width:30px}
.sm-book-weekdays{margin-bottom:5px}
.sm-book-day{height:30px;aspect-ratio:auto;font-size:11px}
.sm-book-calendar-layout{gap:12px}
.sm-book-slots{max-height:240px;gap:5px;scrollbar-width:thin}
.sm-book-slot{min-height:36px;font-size:12px}
.sm-book-slot-panel{padding:6px 0}
.sm-book-slot-panel>p{font-size:11px;margin:3px 0 9px}
.sm-book-consent{margin:11px 0 3px}
.sm-book-review>div{padding:10px 13px}
.sm-book-review-notice{margin-top:11px;padding:10px}
.sm-book-after{font-size:11px}
html[data-theme=dark] .sm-book-foot{background:#171A20}
@media (max-width:790px){
 .sm-book-shell{width:min(680px,100%);height:min(700px,calc(100dvh - 18px))}
 .sm-book-layout{grid-template-columns:1fr;overflow:hidden}
 .sm-book-aside{min-height:0;padding:12px 18px;gap:3px}
 .sm-book-aside h2{font-size:22px;line-height:1.15}
 .sm-book-aside>p,.sm-book-promise,.sm-book-side-meta{display:none}
 .sm-book-main{padding:12px 17px;min-height:0;overflow:hidden}
 .sm-book-topic-grid{display:none!important}
 .sm-book-topic-select{display:grid!important;margin-bottom:10px}
 .sm-book-calendar-layout{grid-template-columns:minmax(0,1fr) minmax(160px,.8fr)}
 .sm-book-stage{overflow-y:auto}
}
@media (max-width:570px){
 .sm-book-overlay{padding:0}
 .sm-book-shell{width:100%;height:100dvh;max-height:100dvh;min-height:0;border:0;border-radius:0}
 .sm-book-head{min-height:55px;padding:8px 13px}
 .sm-book-aside{padding:9px 14px}
 .sm-book-aside h2{font-size:20px}
 .sm-book-main{padding:12px 13px;overflow:hidden}
 .sm-book-progress{margin-bottom:8px}
 .sm-book-intro h3{font-size:25px}
 .sm-book-intro p{font-size:11px}
 .sm-book-two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sm-book-calendar-layout{grid-template-columns:1fr;gap:8px}
 .sm-book-cal{padding:8px}
 .sm-book-cal-bar{margin-bottom:4px}
 .sm-book-day{height:29px}
 .sm-book-slots{grid-template-columns:repeat(4,minmax(0,1fr));max-height:105px}
 .sm-book-slot-panel{padding:2px 0}
 .sm-book-foot{min-height:52px;padding-top:8px;margin-top:7px}
 .sm-book-calendar-btn,.sm-book-save-image{width:auto}
 .sm-book-graphic-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-height:590px) and (min-width:791px){
 .sm-book-aside{gap:6px;padding:15px 18px}
 .sm-book-aside h2{font-size:26px}
 .sm-book-progress{margin-bottom:6px}
 .sm-book-main{padding:9px 15px}
 .sm-book-intro h3{font-size:26px}
 .sm-book-topic{min-height:35px}
 .sm-book-topic-grid{gap:5px;margin:5px 0 6px}
 .sm-book-two-cols{gap:6px}
 .sm-book-foot{padding-top:7px;margin-top:6px}
}
/* Secure rescheduling dialog, deliberately compact. */
.sm-book-manage-body{display:grid;align-content:start;gap:14px;margin-top:16px;flex:1;min-height:0}
.sm-book-manage-body h3{font:600 30px/1.15 'Playfair Display',Georgia,serif;margin:0}
.sm-book-manage-body>p{font-size:13px;line-height:1.6;margin:0}
.sm-book-manage-summary{padding:13px 16px;background:#F5F2ED;border:1px solid #DED7C8;border-radius:11px}
.sm-book-manage-summary strong{display:block;font-size:16px;color:#0F1115}
.sm-book-manage-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.sm-book-manage-fields label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#0F1115}
.sm-book-manage-fields select{display:block;max-width:100%;min-height:45px;padding:9px 11px;background:#FBFAF7;color:#0F1115;border:1px solid #DED7C8;border-radius:9px}
.sm-book-manage-hint{padding:10px 13px;border-left:3px solid #FCB315}
.sm-book-manage-success{display:grid;justify-items:start;gap:13px;padding:23px 0}
.sm-book-manage-success h3{margin:0}
.sm-book-manage-success strong{font-size:17px}
.sm-book-manage-error{padding:15px;border-left:4px solid #FCB315;background:#F5F2ED}
.sm-book-reschedule-link{font:700 12px/1.4 'DM Sans',system-ui,sans-serif;color:#0F1115;text-decoration:underline;text-decoration-color:#BFA56A}
html[data-theme=dark] .sm-book-manage-fields label{color:#F5F2ED}
html[data-theme=dark] .sm-book-manage-summary{background:#171A20;color:#F5F2ED;border-color:#BFA56A}
html[data-theme=dark] .sm-book-manage-summary strong{color:#F5F2ED}
html[data-theme=dark] .sm-book-manage-fields select{background:#171A20;color:#F5F2ED;border-color:#BFA56A}
html[data-theme=dark] .sm-book-reschedule-link{color:#F5F2ED}
@media(max-width:570px){
 .sm-book-manage-body h3{font-size:25px}
 .sm-book-manage-fields{grid-template-columns:1fr}
}
