/* Layout only. All business fields, guidance and original conditional rules remain intact. */
#drawer.entry-dialog{width:min(1120px,96vw);max-height:94dvh}#drawer.entry-dialog .drawer-head{padding:16px 24px}#drawer.entry-dialog #drawer-body{padding:16px 24px}
.business-entry{--entry-color:#477bc2;--entry-tint:#f2f7ff;border:2px solid var(--entry-color);border-radius:14px;background:var(--entry-tint);padding:18px;display:grid;gap:14px}.business-entry[data-entry-kind=treatment]{--entry-color:#9168b8;--entry-tint:#f8f4fc}.business-entry[data-entry-kind=suture]{--entry-color:#31937f;--entry-tint:#eff9f5}.business-entry[data-entry-kind=review]{--entry-color:#b98a30;--entry-tint:#fcf8ee}
.entry-heading{display:flex;align-items:center;gap:9px;color:var(--entry-color)}.entry-heading b{font-size:18px}.entry-heading small{margin-left:auto;color:#667789;font-size:12px}.entry-dot{width:10px;height:10px;border-radius:50%;background:var(--entry-color)}
#drawer.entry-dialog .business-entry .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;align-items:start}.business-entry label{align-content:start;gap:5px;font-size:13px}#drawer.entry-dialog .business-entry input:not([type=checkbox]),#drawer.entry-dialog .business-entry select{min-height:40px;padding:7px 10px;font-size:14px}.business-entry textarea{min-height:72px;font-size:14px}.business-entry .project-checks{margin:0;padding:10px 12px;background:#ffffffb3;display:flex;gap:8px;flex-wrap:wrap}.business-entry .project-checks label{display:flex;align-items:center;gap:6px}.business-entry input[type=checkbox]{width:16px;height:16px;min-height:0}.business-entry .form-section{padding:8px 0;margin:4px 0}
.business-entry .schedule-fieldset{margin:0;padding:10px 12px;border:1px solid #cad6e1;border-radius:8px;background:#ffffff80}.business-entry .schedule-controls{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.business-entry .schedule-controls select{width:auto}.business-entry .schedule-controls small{width:100%}.business-entry .quick-picker{margin:3px 0}.business-entry .quick-picker summary{font-size:12px}.business-entry .field-hint{display:block;line-height:1.5}.business-entry .journey-section{margin:0;padding:12px 14px;background:#ffffffa8}.business-entry .journey-section h3{margin:0 0 6px;font-size:15px}.business-entry .business-supplement{margin:8px 0;padding:12px 0}.business-entry .soft-note{margin:6px 0;padding:10px 12px;font-size:12px}.business-entry .entry-customer-status{margin:0;font-size:12px;color:#47637b}.business-entry .entry-source-link{margin:8px 0}.business-entry .entry-source-link small:empty{display:none}
.business-entry .entry-actions{position:sticky;bottom:0;z-index:3;display:flex;justify-content:flex-end;gap:10px;padding:12px 0 4px;margin:0;background:var(--entry-tint);border-top:1px solid #cad6e1}.business-entry .entry-actions .primary{background:var(--entry-color);min-height:42px}
.entry-source{margin-bottom:12px}.entry-source summary{font-size:13px;cursor:pointer}.entry-source form{display:grid;gap:10px}.entry-source textarea{min-height:130px}.entry-type-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.entry-type-row label{display:flex;align-items:center;gap:10px}.entry-type-row select{width:auto}.entry-warning{color:#805a25;font-size:12px}.entry-candidates{border-top:1px solid #cad6e1;padding-top:10px;font-size:12px;color:#526d82}.entry-candidates pre{white-space:pre-wrap;overflow-wrap:anywhere}
.entry-pulse{animation:entry-focus 1.1s ease-out 1}@keyframes entry-focus{0%,45%{box-shadow:0 0 0 5px color-mix(in srgb,var(--entry-color) 25%,transparent)}100%{box-shadow:0 0 0 0 transparent}}
@media(max-width:700px){#drawer.entry-dialog{width:98vw;max-width:98vw;max-height:96dvh}#drawer.entry-dialog #drawer-body{padding:12px}.business-entry{padding:12px;gap:12px}#drawer.entry-dialog .business-entry .form-grid{grid-template-columns:1fr}#drawer.entry-dialog .business-entry input:not([type=checkbox]),#drawer.entry-dialog .business-entry select{min-height:44px;font-size:16px}.entry-heading{flex-wrap:wrap}.entry-heading small{margin-left:0;width:100%}.entry-type-row{display:block}.business-entry .entry-actions{flex-wrap:wrap}.business-entry .entry-actions .primary{flex:1}}
@media(prefers-reduced-motion:reduce){.entry-pulse{animation:none}}
