/* Compact operational surfaces, preserving the existing blue-grey identity. */
#form-studio{--studio-line:#cbd7df;--studio-muted:#526b7d;--studio-accent:#2f607d;color:#233e50;min-width:0}#form-studio :is(input,select){min-height:40px;font-size:14px}#form-studio p{font-size:13px;line-height:1.65;color:var(--studio-muted);margin:8px 0}#form-studio h3{font-size:19px;margin:0}#form-studio h4{font-size:15px;margin:0 0 10px;font-weight:650}#form-studio button{white-space:normal}#form-studio :is(button,input,select):focus-visible,.studio-entry :is(button,input,select,textarea):focus-visible{outline:2px solid #2f607d;outline-offset:3px}#form-studio :is(input,textarea){caret-color:#2f607d}#form-studio ::selection,.studio-entry ::selection{background:#d9e8f1;color:#18374c}
.studio-toolbar{display:flex;align-items:start;justify-content:space-between;gap:24px;padding:20px 24px;border-bottom:1px solid var(--studio-line);background:#f3f7f9}.studio-publish{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.studio-publish [role=status]{font-size:12px;color:#526b7d}.studio-tabs{display:flex;gap:8px;padding:12px 24px;border-bottom:1px solid var(--studio-line);flex-wrap:wrap}.studio-tabs button{border:0;border-radius:6px;background:transparent;padding:10px 14px;color:#526b7d;font-size:14px}.studio-tabs [aria-current=page]{background:#e3edf3;color:#244e68;font-weight:650}.studio-tabs button:hover{background:#edf3f7}.studio-selectors{display:flex;align-items:end;gap:16px;padding:20px 24px;flex-wrap:wrap}.studio-selectors label{min-width:200px;max-width:100%;font-size:13px}.studio-selectors p{flex:1;min-width:180px}.studio-help,.studio-footnote,.studio-sources{margin:12px 24px!important}.studio-message{margin:16px 24px;padding:12px;background:#fff6e8;border:1px solid #dfc69d;border-radius:6px;color:#76501d;font-size:14px}
.studio-designer{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,32%);gap:24px;padding:0 24px 24px}.studio-module-list{display:grid;gap:20px;min-width:0}.studio-module{border:1px solid var(--studio-line);border-radius:8px;background:#fff;padding:16px;min-width:0}.studio-module-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.studio-module-head>div{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.studio-module-head label{display:flex;align-items:center;gap:8px;font-size:12px}.studio-module-head select{width:auto}.studio-module[draggable=true]{cursor:grab}.studio-module .text-button,.studio-field-list .text-button,.studio-node .text-button{padding:7px;min-height:36px;font-size:12px}.studio-field-list{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-template-columns:repeat(var(--studio-columns,3),minmax(0,1fr));gap:8px}.studio-field-list li{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border:1px solid #d7e0e7;border-radius:5px;background:#f7fafb;min-width:0;font-size:13px;overflow-wrap:anywhere}.studio-field-list li>div{display:flex;justify-content:flex-end}.studio-preview{align-self:start;position:sticky;top:90px;background:#f2f6f8;padding:20px;min-width:0}.studio-preview section{padding:12px 0;border-bottom:1px solid var(--studio-line);font-size:13px}.studio-preview section>div{display:grid;grid-template-columns:repeat(var(--studio-columns,3),minmax(0,1fr));gap:8px;margin-top:10px}.studio-preview span{padding:7px;background:#fff;border:1px solid #dbe4ea;border-radius:4px;font-size:11px;overflow-wrap:anywhere}
.studio-catalog-workspace{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:8px 24px 24px}.studio-catalog-workspace>section{min-width:0}.studio-node{margin-left:16px}.studio-node[style="--node-depth:0"]{margin-left:0}.studio-node-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:10px 0;border-bottom:1px solid #dbe4ea;cursor:grab}.studio-node-row label{font-size:12px;min-width:0}.studio-node-row>label:first-child{flex:1;min-width:160px}.studio-node-row>label:last-child{flex-basis:100%}.studio-node-row>label:last-child select{font-size:12px}.studio-child-drop{padding:9px;margin:4px 0;font-size:12px;color:#526b7d;border:1px dashed #b9cbd8;border-radius:5px}.studio-child-drop:hover,.studio-assignment-drop:hover{background:#edf5fa}.studio-assignment-drop{align-self:start;position:sticky;top:90px;border:1px dashed #9db7ca;border-radius:8px;padding:18px;background:#f3f7fa;min-width:0}.studio-assignment-drop label{font-size:13px}.studio-add-node{display:grid;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--studio-line)}.studio-add-node label{font-size:13px}.studio-doctor-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:0 24px 24px}.studio-doctor-services>section{padding:16px;border:1px solid var(--studio-line);border-radius:8px}.studio-assignment-node{padding:7px 0;margin-left:16px;font-size:13px}.studio-assignment-node .check-label{align-items:start}.studio-sources a{color:#285d7d;text-decoration:underline;text-underline-offset:3px}
.studio-entry{--studio-columns:3;display:grid;gap:20px}.studio-form-module{min-width:0;margin:0;padding:16px 0;border-top:1px solid #cbd7df}.studio-form-module>h3{margin:0 0 12px;font-size:16px;color:#315f7d;font-weight:650}.studio-form-module>.form-grid,#drawer .studio-entry .studio-form-module .form-grid{display:grid;grid-template-columns:repeat(var(--studio-columns,3),minmax(0,1fr));gap:10px 16px;align-items:start}.studio-entry .studio-form-module label{font-size:13px;gap:5px;min-width:0}.studio-entry .studio-form-module input:not([type=checkbox]),.studio-entry .studio-form-module select{min-height:40px;padding:8px 10px;font-size:14px}.studio-entry .studio-form-module textarea{font-size:14px;min-height:72px}.studio-entry .studio-form-module .project-checks,.studio-service-choices{grid-column:1/-1}.studio-entry .studio-form-module .project-checks{background:transparent;border:0;padding:0;display:flex;flex-wrap:wrap;gap:8px;margin:0}.studio-entry .studio-form-module .project-checks legend{font-size:13px;margin-bottom:8px}.studio-entry .studio-form-module .project-checks label{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #c9d7e2;border-radius:6px}.studio-entry .studio-form-module .project-checks label:has(:checked){background:#e8f1f7;border-color:#7fa4be}.studio-service-choices p{font-size:12px;color:#526b7d;margin:8px 0}.studio-service-choices .studio-choice{display:flex;align-items:start;gap:8px;font-size:13px;margin:8px 0;padding:9px 12px;background:#f4f8fb;border-radius:5px}.studio-choice input{flex:none;margin-top:3px}.studio-entry input[type=checkbox]{width:16px;height:16px;min-height:0}.studio-entry .studio-form-module .field-hint{font-size:12px;line-height:1.5}.studio-entry .studio-form-module .full{grid-column:1/-1}
.studio-finance{background:#f5f8fb;border:1px solid #cbd9e4;border-radius:10px;padding:18px}.studio-finance-intro{font-size:12px;color:#526b7d;margin:0 0 14px}.studio-money-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:14px 0;border-block:1px solid #d1dde6;font-variant-numeric:tabular-nums}.studio-money-flow>div{display:grid;gap:6px;min-width:0}.studio-money-flow span{font-size:12px;color:#4d667a}.studio-money-flow strong{font-size:19px;font-weight:650;overflow-wrap:anywhere}.studio-money-flow>div:last-child strong{color:#2d6580}.studio-money-warning{font-size:12px;color:#735320;line-height:1.65;margin:10px 0 20px}.studio-finance-body{display:grid;gap:20px}.studio-finance-body h4{font-size:14px;color:#315f7d;margin:0 0 10px;font-weight:650}.studio-finance-body>section{padding:0;min-width:0}.studio-finance .portrait-agreement{border:0!important;padding:0!important;margin:0!important;background:transparent!important}.studio-finance .portrait-agreement h3{display:none}.studio-finance .portrait-agreement p,.studio-finance>p,.studio-finance .soft-note{font-size:12px;line-height:1.65}.studio-finance .portrait-agreement>.muted{margin:0 0 10px}.studio-finance [data-finance-part=quote]:not(:has(input)){display:none}.studio-entry .schedule-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.studio-entry .schedule-controls .schedule-end-day-label{font-size:12px;color:#526b7d}.studio-entry .schedule-controls select{width:auto;max-width:100%;font-size:12px}.studio-entry .schedule-controls small{flex-basis:100%}.studio-entry .form-grid:empty{display:none}
@media(max-width:1100px){.studio-designer{grid-template-columns:minmax(0,1fr)}.studio-preview{position:static}.studio-catalog-workspace{grid-template-columns:minmax(0,1fr)}.studio-assignment-drop{position:static}.studio-toolbar{flex-direction:column}.studio-publish{justify-content:flex-start}}
@media(max-width:900px){#drawer .studio-entry .studio-form-module .form-grid{grid-template-columns:repeat(min(var(--studio-columns,3),2),minmax(0,1fr))}.studio-doctor-services{grid-template-columns:1fr}}
@media(max-width:600px){.studio-toolbar,.studio-selectors,.studio-tabs{padding:16px}.studio-designer,.studio-catalog-workspace{padding:0 16px 16px;gap:16px}.studio-field-list{grid-template-columns:1fr}.studio-module{padding:12px}.studio-preview{padding:16px}.studio-selectors label{min-width:0;width:100%}.studio-doctor-services{padding:0 16px 16px}.studio-node{margin-left:10px}.studio-module-head{align-items:start}.studio-module-head>div{width:100%;justify-content:space-between}#drawer .studio-entry .studio-form-module .form-grid{grid-template-columns:1fr}.studio-entry .studio-form-module input:not([type=checkbox]),.studio-entry .studio-form-module select{min-height:44px;font-size:16px}.studio-money-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-finance{padding:12px}.studio-finance-body{gap:20px}.studio-publish .primary{width:100%}.studio-module .text-button,.studio-field-list .text-button,.studio-node .text-button{min-height:44px}}

.studio-choice-group{margin:8px 0;padding:4px 0 4px 12px;border-left:1px solid #cbd9e4}.studio-choice-group summary{cursor:pointer;font-size:13px;font-weight:600;color:#315f7d;min-height:32px;padding:5px 0}.studio-field-list small{font-size:11px;color:#526b7d}

/* One toolbox, one naturally growing canvas. Shared sizing also reaches live forms. */
.studio-visual-editor{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;padding:0 24px 24px;align-items:start}
.studio-toolbox{position:sticky;top:90px;max-height:calc(100dvh - 110px);overflow:auto;padding:16px;background:#f2f6f8;border:1px solid #c9d9e4;border-radius:8px;min-width:0;scrollbar-width:thin;scrollbar-color:#9aafbd #f2f6f8}
.studio-toolbox>details{border-top:1px solid #cbd9e3}.studio-toolbox>details>summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:14px 0;min-height:44px;font-size:14px;font-weight:650;color:#24485f}.studio-toolbox>details>summary::before{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin:0 6px 0 2px;flex:none}.studio-toolbox>details[open]>summary::before{transform:rotate(45deg)}.studio-toolbox summary small{margin-left:auto;font-size:11px;font-weight:400;color:#526b7d}
.studio-toolbox-fields{padding-bottom:12px}.studio-toolbox-field{display:flex;align-items:center;gap:4px;min-height:40px;border-bottom:1px solid #dde6ec;font-size:12px;color:#29485e}.studio-toolbox-field>span{flex:1;overflow-wrap:anywhere}.studio-toolbox-field>small{font-size:10px;color:#526b7d}.studio-toolbox-field>button:not(.studio-drag-handle){font-size:11px;min-height:36px;padding:4px 6px;border:0;background:transparent;color:#285b79}
#form-studio .studio-new-field{width:100%;min-height:40px;margin-top:12px;padding:8px;border:1px dashed #9bb6c8;background:#fff;color:#285b79;border-radius:5px;font-size:12px;text-align:left}.studio-new-field:hover{background:#e2edf5!important}
.studio-drag-handle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;min-height:36px;padding:0;border:0;border-radius:4px;background:transparent;color:#5c7a8d;cursor:grab;touch-action:none;user-select:none}.studio-drag-handle:hover{background:#dce9f1;color:#244f6d}.studio-drag-handle:active{cursor:grabbing}.studio-editor-help{margin-top:16px;padding-top:12px;border-top:1px solid #cbd7df;font-size:12px}.studio-editor-help [role=status]{font-size:12px;line-height:1.6;color:#285671}
.studio-canvas-area{min-width:0;border:1px solid #c6d5df;border-radius:8px;overflow:clip}.studio-canvas-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;background:#fff;border-bottom:1px solid #cbd7df}.studio-canvas-top>div{display:grid;gap:6px;font-size:15px}.studio-canvas-top span{font-size:12px;color:#526b7d}.studio-canvas-top button{font-size:12px;padding:8px}.studio-canvas-scroll{padding:20px;background:#eaf0f4;min-width:0}.studio-visual-editor .studio-module-list{gap:24px}.studio-visual-editor .studio-module{padding:16px;cursor:default;scroll-margin-top:100px}.studio-visual-editor .studio-module-head{justify-content:start;gap:8px}.studio-visual-editor .studio-module-head h4{margin:0;font-size:15px}.studio-module-head>small{flex:1;font-size:11px;color:#526b7d}.studio-selected{border-color:#6895b1}
.studio-visual-editor .studio-field-list{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;margin-top:16px;min-height:64px;align-items:start}.studio-visual-editor .studio-field-list>li{grid-column:auto / span var(--field-width,4);padding:8px 10px 4px;background:#fff;position:relative;cursor:default;min-width:0;align-self:start;gap:6px}.studio-visual-editor .studio-field-list>.studio-preserved-control{grid-column:1/-1;padding:16px;background:#f5f8fa;border-style:dashed;color:#526b7d}
.studio-visual-editor .studio-field-caption{justify-content:start;align-items:center;gap:4px;min-height:32px;font-size:12px;flex-wrap:wrap}.studio-field-caption>span{overflow-wrap:anywhere}.studio-field-caption .studio-drag-handle{width:24px;min-height:32px}.studio-mock-control{display:block;width:100%;box-sizing:border-box;border:1px solid #ccd8e1;border-radius:4px;padding:10px;color:#526b7d;background:#f9fbfc;font-size:12px}.studio-mock-long{min-height:var(--field-min-height,96px);height:var(--field-min-height,96px);resize:none;pointer-events:none;font-family:inherit}
.studio-field-list>li>.studio-field-layout{display:flex;justify-content:space-between;align-items:center;gap:4px;border-top:1px solid #e2e9ee;margin-top:4px}.studio-field-layout>button{background:transparent;border:0;color:#526b7d;font-size:10px;padding:4px;min-height:32px}.studio-field-layout>button[aria-pressed=true]{background:#e3eef5;color:#285b79;border-radius:4px}.studio-field-layout>span{margin-left:auto;font-size:10px;font-variant-numeric:tabular-nums;color:#526b7d}.studio-field-layout>.studio-field-resize{cursor:nwse-resize;touch-action:none;min-width:36px;display:grid;place-items:center}.studio-field-resize:hover{background:#e1edf5;color:#285b79}
.studio-toolbox-projects{border-block:1px solid #cbd9e3;margin-top:16px;padding:8px 0}.studio-toolbox-projects summary{cursor:pointer;min-height:36px;font-size:12px;color:#294b63;list-style:none}.studio-toolbox-projects summary>span{display:flex;align-items:center;gap:4px;overflow-wrap:anywhere}.studio-toolbox-projects details:not(.studio-reference-library) details{margin-left:10px;border-left:1px solid #cbd9e3;padding-left:4px}.studio-toolbox-projects details>summary::marker{color:#526b7d}.studio-toolbox-projects label{font-size:11px}.studio-toolbox-projects select{max-width:100%;width:100%;font-size:12px!important}.studio-reference-library>summary,.studio-reference-direction>summary{padding:10px 0;font-weight:650}.studio-option-branch>summary>span{font-weight:400}.studio-reference-direction{border-top:1px solid #dbe4eb}.studio-reference-library{margin-top:12px}
.studio-visual-editor .studio-canvas-service-options{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:12px;align-items:start}.studio-canvas-service{flex:1 1 140px;min-width:0}.studio-canvas-service>label{font-weight:650}.studio-canvas-branch{padding:6px 0 0 10px;border-left:1px solid #d2dee7;font-size:11px;line-height:1.6;color:#526b7d;overflow-wrap:anywhere}.studio-canvas-branch>.studio-canvas-branch{display:flex;flex-wrap:wrap;gap:6px}.studio-drop-hint{font-size:11px!important;color:#526b7d!important;padding:8px 0 0;border-top:1px dashed #b5c9d6}
.studio-is-dragging{opacity:.45}.studio-drag-ghost{position:fixed;z-index:10000;pointer-events:none;left:0;top:0;max-width:250px;padding:12px 18px;border-radius:6px;background:#244e69;color:#fff;box-shadow:0 8px 26px #18354c26;font-size:14px}.studio-drop-before{box-shadow:0 -3px 0 #2b789d!important}.studio-drop-after{box-shadow:0 3px 0 #2b789d!important}.studio-drop-inside{outline:2px solid #2b789d;outline-offset:-2px;background:#dfedf5!important}
.studio-service-field{min-width:0;grid-column:1/-1}.studio-entry .studio-form-module .studio-service-field .project-checks{width:100%}
#drawer .studio-entry .studio-form-module .studio-adaptive-grid,.studio-entry .studio-form-module .studio-adaptive-grid,.studio-real-preview .studio-adaptive-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));align-items:start;gap:12px 16px}
.studio-entry .studio-form-module .studio-sized-field,.studio-real-preview .studio-sized-field{grid-column:auto / span var(--field-width,4);min-width:0}.studio-entry .studio-sized-field textarea,.studio-real-preview .studio-sized-field textarea{min-height:var(--field-min-height,96px);resize:vertical;max-width:100%;box-sizing:border-box}.studio-entry .studio-service-field .studio-choice{display:inline-flex;max-width:100%;margin-right:8px;overflow-wrap:anywhere}.studio-entry .studio-choice-group{min-width:0}
@media(max-width:1100px){.studio-visual-editor{grid-template-columns:220px minmax(0,1fr);gap:16px;padding-inline:16px}.studio-canvas-scroll{padding:12px}.studio-visual-editor .studio-field-caption{font-size:11px}.studio-visual-editor .studio-module-head>small{flex-basis:100%}}
@media(max-width:700px){.studio-visual-editor{grid-template-columns:1fr;padding:0 12px 16px}.studio-toolbox{position:static;max-height:none;overflow:visible;padding:12px}.studio-canvas-top{padding:12px}.studio-visual-editor .studio-field-list>li{grid-column:1/-1!important}.studio-visual-editor .studio-module{padding:12px}.studio-drag-handle{min-height:44px;width:36px}.studio-field-caption .studio-drag-handle{min-height:40px}.studio-field-layout>button,.studio-field-layout>.studio-field-resize{min-height:44px}.studio-toolbox-field{min-height:44px}.studio-visual-editor .studio-field-list{gap:12px}}
@media(max-width:600px){.studio-entry .studio-form-module .studio-sized-field,.studio-real-preview .studio-sized-field{grid-column:1/-1!important}}
.settings-content:has(#form-studio){overflow:visible}
#form-studio .studio-tabs button:is(:hover,:focus-visible,[aria-current=page]){background:#e3edf3;color:#244e68}
#form-studio .studio-tabs button:active{background:#d6e4ec;color:#233e50}

/* Entry area only; preserve module order, configured widths, states and every business control. */
#drawer .entry-density{gap:10px}#drawer .entry-density.business-entry{padding:12px}
#drawer .entry-density .studio-form-module{padding:10px 0}#drawer .entry-density .studio-form-module>h3{margin-bottom:8px;font-size:15px}
#drawer .entry-density .studio-form-module .form-grid{gap:8px 12px}#drawer .entry-density .studio-form-module label{gap:4px}
#drawer .entry-density .studio-form-module input:not([type=checkbox]),#drawer .entry-density .studio-form-module select{min-height:36px;padding:6px 9px;font-size:14px}
#drawer .entry-density .studio-form-module .project-checks label{padding:5px 9px;min-height:32px}#drawer .entry-density .studio-form-module .project-checks legend{margin-bottom:5px}
#drawer .entry-density .studio-sized-field textarea{min-height:var(--field-min-height,72px);resize:vertical}
#drawer .entry-density .studio-finance{padding:12px}#drawer .entry-density .studio-finance-body{gap:12px}#drawer .entry-density .studio-finance-body h4{margin-bottom:7px}
#drawer .entry-density .studio-money-flow{padding:9px 0;gap:8px}#drawer .entry-density .studio-money-flow strong{font-size:17px}#drawer .entry-density .studio-money-warning{margin:7px 0 10px}
#drawer .entry-density .journey-section{padding:10px 12px}#drawer .entry-density .suture-care{padding:10px 12px;margin:0}
#drawer .entry-density .entry-actions{padding:9px 0 3px}#drawer .entry-density .entry-explanation:empty{display:none}
@media(max-width:700px){#drawer .entry-density .studio-form-module input:not([type=checkbox]),#drawer .entry-density .studio-form-module select{min-height:44px;font-size:16px}#drawer .entry-density .project-checks label{min-height:44px}#drawer .entry-density .studio-form-module{padding:9px 0}}

/* Approved face registration only. CSS joins sections without replacing any form control or handler. */
#drawer:has(.face-registration-sheet){width:min(1250px,98vw);max-height:98dvh}#drawer:has(.face-registration-sheet) .drawer-head{padding:13px 20px}#drawer:has(.face-registration-sheet) #drawer-body{padding:10px 18px}
#drawer .face-registration-sheet{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px;padding:12px 15px 0}#drawer .face-registration-sheet>*{grid-column:1/-1}
#drawer .face-registration-sheet>.studio-form-module:is([data-studio-module=identity],[data-studio-module=services],[data-studio-module=schedule],[data-studio-module=notes]),#drawer .face-registration-sheet>.studio-form-module:is([data-studio-module=identity],[data-studio-module=services],[data-studio-module=schedule],[data-studio-module=notes])>.form-grid{display:contents}
#drawer .face-registration-sheet>.studio-form-module:is([data-studio-module=identity],[data-studio-module=services],[data-studio-module=schedule],[data-studio-module=notes])>h3{display:none}
#drawer .face-registration-sheet [data-face-field]{grid-column:auto / span var(--face-span);min-width:0}#drawer .face-registration-sheet .studio-config-removed{display:none}
#drawer .face-registration-sheet .entry-heading{order:0}#drawer .face-registration-sheet>.entry-customer-status{order:1;margin:0;font-size:12px;min-height:18px}#drawer .face-registration-sheet>.entry-warning{order:2;margin:0}#drawer .face-registration-sheet>.entry-warning:empty{display:none}
#drawer .face-registration-sheet .studio-form-module>.form-grid>.studio-sized-field:not([data-face-field]){order:130}#drawer .face-registration-sheet>[data-studio-module=custom]{order:130}#drawer .face-registration-sheet>.entry-linked,#drawer .face-registration-sheet>#surgery-inline{order:160}#drawer .face-registration-sheet>.entry-actions{order:200}
#drawer .face-registration-sheet [data-face-field=services]{align-self:start}#drawer .face-registration-sheet [data-face-field=services] .project-checks legend{margin-bottom:5px}#drawer .face-registration-sheet .project-checks label{padding:5px 8px;font-size:13px;min-height:32px}#drawer .face-registration-sheet .project-checks{gap:6px}
#drawer .face-registration-sheet [data-face-field=serviceDetail] textarea{height:var(--face-note-height,56px);min-height:var(--face-note-height,56px);resize:vertical}
#drawer .face-registration-sheet [data-face-field=appointmentDate],#drawer .face-registration-sheet [data-face-field=appointmentStart],#drawer .face-registration-sheet [data-face-field=appointmentEnd],#drawer .face-registration-sheet [data-face-field=consultationLocation]{border-top:1px solid #ccdce9;padding-top:10px}
#drawer .face-registration-sheet label{font-size:12px;gap:4px}#drawer .face-registration-sheet input:not([type=checkbox]),#drawer .face-registration-sheet select{height:35px;min-height:35px;padding:6px 8px;font-size:14px}
#drawer .face-registration-sheet .field-hint{min-height:1.5em!important;font-size:11px;line-height:1.5}#drawer .face-registration-sheet .quick-picker{margin:0}#drawer .face-registration-sheet .quick-picker summary{font-size:11px}#drawer .face-registration-sheet .schedule-controls{gap:5px 6px;margin:2px 0 0}#drawer .face-registration-sheet .schedule-controls select{height:28px;min-height:28px;padding:3px 5px;font-size:11px}#drawer .face-registration-sheet .schedule-controls button{font-size:11px;padding:0;min-height:26px}#drawer .face-registration-sheet .schedule-controls small{margin:0}
#drawer .face-registration-sheet [data-face-field=note] textarea{height:60px;min-height:60px;resize:vertical}#drawer .face-registration-sheet .entry-candidates{order:180;display:flex;align-items:center;gap:7px 15px;flex-wrap:wrap;padding-top:7px;margin:0;font-size:11px}#drawer .face-registration-sheet .entry-candidates>p{margin:0}#drawer .face-registration-sheet .entry-candidates>details{margin-left:auto}#drawer .face-registration-sheet .entry-candidates>details[open]{flex-basis:100%}
#drawer .face-registration-sheet .entry-actions{padding:9px 0;margin-top:0;gap:8px}#drawer .face-registration-sheet .entry-actions button{min-height:36px;font-size:13px;padding:7px 14px}
#drawer:has(.face-registration-sheet) .entry-source{margin-bottom:5px;font-size:12px}#drawer:has(.face-registration-sheet) .entry-type-row{justify-content:flex-end;min-height:34px;margin-bottom:8px}#drawer:has(.face-registration-sheet) .entry-type-row select{min-height:34px;height:34px;font-size:13px}
@media(max-width:900px){#drawer .face-registration-sheet [data-face-field]{grid-column:auto / span 6}#drawer .face-registration-sheet [data-face-field=entryGender],#drawer .face-registration-sheet [data-face-field=entryAge]{grid-column:auto / span 3}#drawer .face-registration-sheet [data-face-field=note]{grid-column:1/-1}}
@media(max-width:600px){#drawer .face-registration-sheet [data-face-field]{grid-column:1/-1!important}#drawer .face-registration-sheet input:not([type=checkbox]),#drawer .face-registration-sheet select{font-size:16px;min-height:44px;height:44px}#drawer .face-registration-sheet .project-checks label{min-height:44px}#drawer .face-registration-sheet .entry-candidates>details{margin-left:0}}

#drawer .face-registration-sheet>[data-studio-module=feedback]{order:170}#drawer .face-registration-sheet>.business-supplement:not(:has([data-business-field])){display:none}
#drawer .face-registration-sheet .schedule-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px}#drawer .face-registration-sheet .schedule-controls .schedule-end-day-label{font-size:10px}#drawer .face-registration-sheet .schedule-controls button{grid-column:1/-1;justify-self:start;min-height:18px;line-height:1.4}#drawer .face-registration-sheet .schedule-controls small{grid-column:1/-1}
#drawer .face-registration-sheet.business-entry{border-width:1px;border-radius:9px}
#drawer #drawer-body:has(.face-registration-sheet){display:grid;grid-template-columns:1fr auto;gap:0}#drawer #drawer-body:has(.face-registration-sheet)>.entry-source{grid-column:1;grid-row:1;align-self:start;z-index:1;margin-top:8px;margin-right:210px}#drawer #drawer-body:has(.face-registration-sheet)>#paste-review{grid-column:1/-1;grid-row:1}
#drawer #drawer-body:has(.face-registration-sheet)>.entry-source[open]{grid-column:1/-1;grid-row:1;margin-right:0}#drawer #drawer-body:has(.face-registration-sheet):has(>.entry-source[open])>#paste-review{grid-row:2}
@media(max-width:600px){#drawer #drawer-body:has(.face-registration-sheet){display:block}#drawer #drawer-body:has(.face-registration-sheet)>.entry-source{margin:0 0 8px}}

#drawer .face-registration-sheet .entry-candidates{grid-column:1/-1}

/* Consultation record maintenance shares the approved registration sheet. */
#drawer .face-record-sheet>[data-studio-module=feedback],#drawer .face-record-sheet>[data-studio-module=feedback]>.form-grid{display:contents}
#drawer .face-record-sheet>[data-studio-module=feedback]>h3{display:none}
#drawer .face-record-sheet [data-face-field=faceStatus],#drawer .face-record-sheet [data-face-field=grade]{border-top:1px solid #ccdce9;padding-top:8px}
#drawer .face-record-sheet .arrival-moment{order:125;grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}#drawer .face-record-sheet .arrival-moment[hidden]{display:none}
#drawer .face-record-sheet #consultation-feedback{order:133;grid-column:1/-1;margin:0;padding:8px 0;border:0;background:transparent}#drawer .face-record-sheet #consultation-feedback[hidden]{display:none}
#drawer .face-record-sheet [data-face-action]{min-height:32px;padding:5px 10px}#drawer .face-record-sheet [data-face-action]:first-child{margin-left:auto}#drawer .face-record-sheet .actions:has([data-face-action]){order:134;grid-column:1/-1;margin:0}
#drawer .face-record-sheet .journey-history{order:180;grid-column:1/-1;margin:0;padding:7px 0;font-size:12px}#drawer .face-record-sheet .journey-history .notes-section{padding:0}#drawer .face-record-sheet .merged-feedback-originals{display:contents}
#drawer .face-record-sheet>.actions{order:200;position:sticky;bottom:0;background:var(--surface,#fff);margin:0;padding:8px 0;z-index:3}
#drawer .face-record-sheet>.muted{order:0;margin:0;font-weight:600}#drawer .face-record-sheet>.business-supplement:not(:has([data-business-field])){display:none}
#drawer .face-record-sheet .studio-form-module>.form-grid>.studio-sized-field:not([data-face-field]){order:130}
#drawer .face-record-sheet [data-face-field=note] textarea{min-height:48px;height:48px}

#drawer .face-record-sheet [data-face-field=services],#drawer .face-record-sheet [data-face-field=appointmentDate],#drawer .face-record-sheet [data-face-field=faceStatus]{grid-column-start:1}
#drawer .face-record-sheet>#surgery-inline[hidden]{display:none!important}

/* One finance module; original inputs and their financial handlers are retained. */
#drawer .studio-entry .studio-finance{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;padding:12px 0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px}
#drawer .studio-entry .studio-finance>h3{grid-column:1/-1;margin:0 0 3px}#drawer .studio-entry .studio-finance :is(.studio-finance-body,[data-finance-part],.portrait-agreement,.form-grid){display:contents}
#drawer .studio-entry .studio-finance :is(h4,.portrait-agreement>h3){display:none}#drawer .studio-entry .studio-finance label{grid-column:auto / span var(--field-width,4);min-width:0}
#drawer .studio-entry .studio-finance label.full{grid-column:1/-1}#drawer .studio-entry .studio-finance :is([data-message-quote],#receipt-preview,.studio-money-warning){grid-column:1/-1;margin:0;padding:4px 0;background:transparent;font-size:12px}
#drawer .studio-entry .studio-finance [hidden]{display:none!important}#drawer .studio-entry .studio-finance>.soft-note:empty{display:none}
@media(max-width:600px){#drawer .studio-entry .studio-finance label{grid-column:1/-1}}

/* Approved preview, with more breathing room; only two requested surfaces. */
#drawer:has(.sectioned-entry){width:min(1280px,98vw);max-height:96dvh}#drawer:has(.sectioned-entry) .drawer-head{padding:18px 26px}#drawer:has(.sectioned-entry) .drawer-head h2{font-size:24px;line-height:1.4}#drawer:has(.sectioned-entry) #drawer-body{padding:18px 24px 0;display:block}
#drawer .sectioned-entry{display:block;padding:0;border:0;border-radius:0;background:#fff;animation:none}
#drawer .sectioned-entry>.studio-form-module,#drawer .sectioned-entry .suture-care{display:block;background:#f3f6f9;border:0;border-radius:10px;padding:20px 22px;margin:0 0 16px;min-width:0}
#drawer .sectioned-entry>.studio-form-module>.form-grid,#drawer .sectioned-entry .suture-care>.form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px 20px;align-items:start}
#drawer .sectioned-entry .studio-form-module h3,#drawer .sectioned-entry .suture-care>h3{display:block;font-size:20px;line-height:1.4;font-weight:650;letter-spacing:.1px;color:#254f6c;margin:0 0 16px}
#drawer .sectioned-entry>[data-studio-module=services]{background:#f8f6fb}#drawer .sectioned-entry>[data-studio-module=schedule]{background:#f0f5fa}#drawer .sectioned-entry>[data-studio-module=feedback]{background:#eaf3ff}
#drawer .sectioned-entry .sectioned-module-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px;flex-wrap:wrap}#drawer .sectioned-entry .sectioned-module-head p{margin:0 0 16px;font-size:14px;color:#48697f}
#drawer .sectioned-entry .studio-form-module .studio-sized-field,#drawer .sectioned-entry [data-section-field]{grid-column:auto / span var(--field-width,4);grid-column-start:auto;min-width:0;order:initial}
#drawer .sectioned-entry .studio-form-module label{font-size:13px;line-height:1.5;gap:7px;color:#3f5a6e}
#drawer .sectioned-entry :is(input:not([type=checkbox]),select){height:44px;min-height:44px;padding:10px 12px;font-size:15px;line-height:1.5;border-color:#c9d8e4;border-radius:7px;background:#fff}
#drawer .sectioned-entry textarea{font-size:15px;line-height:1.6;padding:11px 13px;min-height:84px;resize:vertical;border-color:#c9d8e4;border-radius:7px;background:#fff}
#drawer .sectioned-entry [data-section-field=serviceDetail] textarea{height:max(84px,var(--face-note-height,84px),var(--field-min-height,84px));min-height:max(84px,var(--face-note-height,84px),var(--field-min-height,84px))}#drawer .sectioned-entry [data-section-field=note] textarea{height:max(88px,var(--field-min-height,88px));min-height:max(88px,var(--field-min-height,88px))}
#drawer .sectioned-entry [data-section-field]{border-top:0;padding-top:0}#drawer .sectioned-entry .section-priority{background:#e1edfd;border-radius:8px;padding:12px}#drawer .sectioned-entry .section-attention{background:#fff1d6;border-radius:8px;padding:12px}
#drawer .sectioned-entry .project-checks{display:flex;flex-wrap:wrap;gap:9px;padding:0;border:0;background:transparent}#drawer .sectioned-entry .project-checks legend{font-size:13px;margin-bottom:9px}#drawer .sectioned-entry .project-checks label{display:flex;align-items:center;gap:7px;margin:0!important;padding:9px 12px;font-size:14px;min-height:40px;background:#fff;border-radius:7px}
#drawer .sectioned-entry .field-hint{font-size:11px;line-height:1.6;margin-top:3px;min-height:0!important}#drawer .sectioned-entry .quick-picker{margin:5px 0 0}#drawer .sectioned-entry .quick-picker summary{font-size:12px}#drawer .sectioned-entry .schedule-controls{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:6px 0 0}#drawer .sectioned-entry .schedule-controls select{min-height:32px;height:32px;padding:5px 8px;font-size:12px}#drawer .sectioned-entry .schedule-controls .schedule-end-day-label{font-size:11px}#drawer .sectioned-entry .schedule-controls button{font-size:12px;min-height:28px}#drawer .sectioned-entry .schedule-controls small{font-size:11px}
#drawer .sectioned-entry .arrival-moment{grid-column:1/-1}#drawer .sectioned-entry .arrival-moment{display:flex;gap:20px;flex-wrap:wrap}#drawer .sectioned-entry .arrival-moment label{min-width:220px;flex:1}
#drawer .sectioned-entry #consultation-feedback{padding:12px 0;margin:8px 0 0;border:0;background:transparent}#drawer .sectioned-entry .journey-history{padding-top:12px;margin:8px 0 0;font-size:13px}#drawer .sectioned-entry .notes-section{padding-bottom:0}
#drawer .sectioned-entry .studio-finance{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px 20px;padding:20px 22px;margin:0 0 16px;background:#f3f6f9;border:0;border-radius:10px}#drawer .sectioned-entry .studio-finance>h3{margin:0 0 0;grid-column:1/-1}
#drawer .sectioned-entry .studio-finance :is(.studio-finance-body,[data-finance-part],.portrait-agreement,.form-grid){display:contents}#drawer .sectioned-entry .studio-finance :is(h4,.portrait-agreement>h3){display:none}#drawer .sectioned-entry .studio-finance :is([data-message-quote],#receipt-preview,.studio-money-warning){font-size:12px;line-height:1.7;grid-column:1/-1;padding:3px 0}
#drawer .sectioned-entry .entry-heading{margin:0 0 16px}#drawer .sectioned-entry .entry-heading b{font-size:22px}#drawer .sectioned-entry .entry-customer-status:empty,#drawer .sectioned-entry .entry-warning:empty{display:none}
#drawer .sectioned-entry>.entry-actions,#drawer .sectioned-entry>.actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:12px;padding:16px 0;margin:0;background:#fff;border-top:1px solid #d5e0e9;z-index:3}
#drawer .sectioned-entry>.entry-actions button,#drawer .sectioned-entry>.actions button{font-size:15px;min-height:44px;padding:10px 22px;border-radius:7px}#drawer .sectioned-entry .entry-actions .primary{background:#2f607d}
#drawer .sectioned-entry>.business-supplement:not(:has([data-business-field])),#drawer .sectioned-entry>[data-studio-module=notes]:not(:has(input,select,textarea,button,details)){display:none}
#drawer .sectioned-entry [hidden],#drawer .sectioned-entry .studio-config-removed{display:none!important}
@media(max-width:900px){#drawer .sectioned-entry .studio-form-module .studio-sized-field,#drawer .sectioned-entry [data-section-field]{grid-column:auto / span 6}#drawer .sectioned-entry [data-section-field=note],#drawer .sectioned-entry [data-section-field=sourceConsultation]{grid-column:1/-1}}
@media(max-width:600px){#drawer:has(.sectioned-entry) #drawer-body{padding:12px 10px 0}#drawer:has(.sectioned-entry) .drawer-head{padding:14px 16px}#drawer:has(.sectioned-entry) .drawer-head h2{font-size:21px}#drawer .sectioned-entry>.studio-form-module,#drawer .sectioned-entry .suture-care,#drawer .sectioned-entry .studio-finance{padding:16px 14px;margin-bottom:12px}#drawer .sectioned-entry .studio-form-module h3,#drawer .sectioned-entry .suture-care>h3{font-size:18px}#drawer .sectioned-entry .studio-form-module .studio-sized-field,#drawer .sectioned-entry [data-section-field]{grid-column:1/-1!important}#drawer .sectioned-entry :is(input:not([type=checkbox]),select){font-size:16px}#drawer .sectioned-entry .arrival-moment label{min-width:0;width:100%}#drawer .sectioned-entry .project-checks label{min-height:44px}}
#drawer .face-record-sheet.sectioned-entry>.studio-form-module{display:block}
#drawer .face-record-sheet.sectioned-entry>.studio-form-module>.form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px 20px;align-items:start}
#drawer .face-record-sheet.sectioned-entry .studio-form-module h3{display:block;font-size:20px;line-height:1.4;margin:0 0 16px}
@media(max-width:600px){#drawer .face-record-sheet.sectioned-entry .studio-form-module h3{font-size:18px}}

#drawer .sectioned-entry .section-priority,#drawer .sectioned-entry .section-attention{align-self:start}

/* Approved surgery density adjustment; business controls and conditional rules stay intact. */
#drawer #simple-maintenance:not(.face-record-sheet)>.customer-business-stage,
#drawer #simple-maintenance:not(.face-record-sheet)>.journey-jump{display:none}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .drawer-head{padding:14px 22px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .drawer-head h2{font-size:21px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) #drawer-body{padding:14px 20px 0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.studio-form-module,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance{padding:14px 16px;margin-bottom:12px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.studio-form-module>.form-grid,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>.form-grid,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance{gap:12px 14px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-form-module h3,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>h3{font-size:18px;line-height:1.4;margin-bottom:12px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance>h3{margin-bottom:0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-heading{margin-bottom:10px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-heading b{font-size:20px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned label{font-size:13px;line-height:1.45;gap:5px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned :is(input:not([type=checkbox]),select){height:40px;min-height:40px;font-size:14px;padding:8px 10px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned textarea{font-size:14px;line-height:1.5;padding:8px 10px;min-height:64px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=serviceDetail] textarea{height:max(64px,var(--face-note-height,64px),var(--field-min-height,64px));min-height:max(64px,var(--face-note-height,64px),var(--field-min-height,64px))}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=note] textarea{height:max(68px,var(--field-min-height,68px));min-height:max(68px,var(--field-min-height,68px))}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .section-priority,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .section-attention{padding:9px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks{gap:7px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks label{padding:7px 9px;font-size:13px;min-height:36px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls select{height:32px;min-height:32px;font-size:12px;padding:4px 7px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.entry-actions{padding:12px 0;gap:10px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.entry-actions button{font-size:14px;min-height:40px;padding:8px 18px}
@media(max-width:600px){
 #drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) #drawer-body{padding:12px 10px 0}
 #drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.studio-form-module,
 #drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care,
 #drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance{padding:14px 12px}
 #drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned :is(input:not([type=checkbox]),select){font-size:16px;height:44px;min-height:44px}
 #drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks label{min-height:44px}
}

/* Pasted surgery reference layout only. Published field dimensions still take precedence. */
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .drawer-head{padding:12px 20px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .drawer-head h2{font-size:21px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) #drawer-body{padding:10px 18px 0}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .entry-source{margin-bottom:6px;font-size:12px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .entry-type-row{justify-content:flex-end;margin-bottom:6px;min-height:32px;font-size:12px}
#drawer:has(:is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned) .entry-type-row select{min-height:32px;height:32px;font-size:13px;padding:4px 8px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.studio-form-module,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance{padding:10px 12px;margin-bottom:8px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.studio-form-module>.form-grid,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>.form-grid,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance{gap:8px 12px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-form-module h3,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>h3{font-size:16px;font-weight:650;line-height:1.4;margin-bottom:8px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance>h3{margin-bottom:0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-heading{margin-bottom:6px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-heading b{font-size:18px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned label{font-size:12px;line-height:1.4;gap:4px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned :is(input:not([type=checkbox]),select){height:34px;min-height:34px;font-size:13px;padding:6px 9px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned textarea{font-size:13px;line-height:1.5;padding:7px 9px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .section-priority,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .section-attention{padding:7px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks{gap:6px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks legend{font-size:12px;margin-bottom:5px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks label{padding:5px 7px;font-size:12px;min-height:32px;white-space:nowrap}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=serviceDetail] textarea{height:max(56px,var(--face-note-height,56px),var(--field-min-height,56px));min-height:max(56px,var(--face-note-height,56px),var(--field-min-height,56px))}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=note] textarea{height:max(56px,var(--field-min-height,56px));min-height:max(56px,var(--field-min-height,56px))}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-studio-module=schedule]>.form-grid>.schedule-controls{grid-column:1/-1;display:flex;align-items:center;gap:6px;margin:0;min-width:0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls select{min-height:28px;height:28px;font-size:12px;padding:3px 6px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls small{flex:0 1 auto;font-size:11px;margin:0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]:has(>.quick-picker){position:relative}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]>.quick-picker{margin:0;justify-self:start}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]>.field-hint{margin:0;line-height:1.35;font-size:10px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .quick-picker summary{font-size:11px;min-height:18px;line-height:18px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>p,
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>small{font-size:11px;line-height:1.45;margin:4px 0;display:block}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>.soft-note{padding:4px 0;background:transparent}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-candidates{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding-top:6px;margin-top:6px;font-size:11px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-candidates>p{margin:0;font-size:11px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-candidates>details{margin-left:auto}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .entry-candidates>details[open]{flex-basis:100%}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.entry-actions{padding:8px 0;gap:8px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned>.entry-actions button{font-size:13px;min-height:36px;padding:7px 16px}
@media(max-width:900px){#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-form-module .studio-sized-field,#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]{grid-column:auto/span 6}#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=note],#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field=sourceConsultation]{grid-column:1/-1}}
@media(max-width:600px){#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-form-module .studio-sized-field,#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]{grid-column:1/-1!important}#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned :is(input:not([type=checkbox]),select){font-size:16px;height:44px;min-height:44px}#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .project-checks label{min-height:44px}#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls{flex-wrap:wrap}#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls select{height:36px;min-height:36px}}

#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]>.quick-picker:not([open]){position:absolute;top:0;right:0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field]>.quick-picker[open]{position:static}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .schedule-controls small{width:auto;max-width:none;display:inline;flex-basis:auto}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance :is([data-message-quote],#receipt-preview,.studio-money-warning){font-size:11px;line-height:1.45;padding:0;margin:2px 0}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned [data-section-field] .field-hint{min-height:0!important}

#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>.form-grid>.schedule-controls{grid-column:1/-1;display:flex;align-items:center;gap:6px;margin:0;min-width:0}

#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance :is([data-message-quote],#receipt-preview,.studio-money-warning){order:100}

/* Existing consultation records: restore the compact colored reference form only. */
#drawer:has(#simple-maintenance.face-record-sheet.sectioned-entry) .drawer-head{padding:12px 20px}
#drawer:has(#simple-maintenance.face-record-sheet.sectioned-entry) .drawer-head h2{font-size:21px}
#drawer:has(#simple-maintenance.face-record-sheet.sectioned-entry) #drawer-body{padding:10px 18px 0}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry>.studio-form-module{padding:10px 12px;margin-bottom:8px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry>.studio-form-module>.form-grid{gap:10px 12px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .studio-form-module h3{font-size:15px;line-height:1.4;margin-bottom:8px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .sectioned-module-head p{font-size:12px;margin:0 0 8px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry label{font-size:12px;gap:4px;line-height:1.4}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry :is(input:not([type=checkbox]),select){height:34px;min-height:34px;padding:6px 9px;font-size:13px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry textarea{font-size:13px;line-height:1.5;padding:7px 9px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry :is([data-section-field=serviceDetail],[data-section-field=note]) textarea{height:max(56px,var(--field-min-height,56px));min-height:max(56px,var(--field-min-height,56px))}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .project-checks{gap:6px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .project-checks label{padding:5px 7px;font-size:12px;min-height:32px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .project-checks legend{font-size:12px;margin-bottom:5px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .section-priority,#drawer #simple-maintenance.face-record-sheet.sectioned-entry .section-attention{padding:7px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry [data-section-field]:has(>.quick-picker){position:relative}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry [data-section-field]>.quick-picker:not([open]){position:absolute;top:0;right:0;margin:0}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .quick-picker summary{font-size:10px;line-height:18px;min-height:18px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .schedule-controls{gap:4px;margin-top:4px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .schedule-controls select{height:26px;min-height:26px;padding:3px 5px;font-size:11px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .schedule-controls button{font-size:11px;padding:0;min-height:24px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .schedule-controls .schedule-end-day-label{font-size:10px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .field-hint{font-size:10px;line-height:1.35;margin:0}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry>.actions{padding:8px 0;gap:8px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry>.actions button{min-height:36px;padding:7px 16px;font-size:13px}
@media(max-width:600px){#drawer #simple-maintenance.face-record-sheet.sectioned-entry :is(input:not([type=checkbox]),select){font-size:16px;height:44px;min-height:44px}#drawer #simple-maintenance.face-record-sheet.sectioned-entry .project-checks label{min-height:44px}}

#drawer #simple-maintenance.face-record-sheet.sectioned-entry .section-priority{padding:0;background:transparent}

#drawer #simple-maintenance.face-record-sheet.sectioned-entry>.studio-form-module{padding:8px 12px;margin-bottom:6px}
#drawer #simple-maintenance.face-record-sheet.sectioned-entry .studio-form-module h3{margin-bottom:6px}

/* Only the two requested surgery entry surfaces use the consultation-style cards. */
#drawer #simple-maintenance.surgery-record-sheet #surgery-inline{display:contents}
#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>h3{display:none}
#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>.studio-form-module:not(.studio-finance){display:block;background:#f0f5fa;border:0;border-radius:10px;padding:10px 12px;margin:0 0 8px;min-width:0}
#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>.studio-form-module:not(.studio-finance)>.form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px 12px;align-items:start}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-form-module h3,#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .studio-finance>h3,#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .suture-care>h3{font-size:18px;margin-bottom:9px}
#drawer :is(#paste-save,#simple-maintenance.surgery-record-sheet).surgery-sectioned .section-priority{padding:0;background:transparent}
#drawer #simple-maintenance.surgery-record-sheet .sectioned-module-head p{font-size:12px;margin-bottom:9px}
#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>.muted{font-size:12px;margin:0 0 8px}
#drawer #simple-maintenance.surgery-record-sheet .studio-finance{background:#eaf3ff}
@media(max-width:900px){#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>.studio-form-module [data-section-field]{grid-column:auto/span 6}}
@media(max-width:600px){#drawer #simple-maintenance.surgery-record-sheet #surgery-inline>.studio-form-module [data-section-field]{grid-column:1/-1!important}}
