/* First step: two clear archive paths, plus a lightweight anonymous shortcut. */
body[data-workflow-step="1"]{display:flex;flex-direction:column;min-height:100dvh;padding-bottom:var(--workflow-dock-height,100px)}
body[data-workflow-step="1"]>main{display:flex;flex-direction:column;flex:1;min-height:0}
body[data-workflow-step="1"] #workflow-customer{display:flex;flex-direction:column;flex:1;min-height:0;padding-top:clamp(28px,4vw,64px);padding-bottom:24px}
body[data-workflow-step="1"]>footer{margin-top:auto;flex-shrink:0}
#workflow-customer h1{margin:12px 0 14px;font-size:clamp(30px,3.5vw,48px)}
#workflow-customer .workflow-lead{margin:0 0 26px;font-size:18px;max-width:65ch}
#workflow-customer .workflow-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:8px 0 24px}
#workflow-customer .workflow-entry-grid button{position:relative;min-height:180px;padding:30px;gap:12px;border-radius:18px;transition:background .15s,transform .15s}
#workflow-customer .workflow-entry-grid button:hover{background:#e8e8e8}
#workflow-customer .workflow-entry-grid button::after{content:'↗';position:absolute;right:28px;top:27px;color:#666;font-size:24px}
#workflow-customer .workflow-entry-grid button b{font-size:25px;font-weight:500;padding-right:28px}
#workflow-customer .workflow-entry-grid button span{font-size:16px;line-height:1.8;max-width:90%}
#workflow-customer #workflow-anonymous{grid-column:1/-1;min-height:94px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:26px;background:#e8e8e8;padding:24px 30px}
#workflow-customer #workflow-anonymous b{font-size:20px;white-space:nowrap;padding-right:0}
#workflow-customer #workflow-anonymous span{padding-right:30px}
#workflow-customer #workflow-anonymous::after{content:'→';top:50%;transform:translateY(-50%)}
#workflow-customer .workflow-help{margin:0;margin-top:auto;padding-top:32px;font-size:14px;line-height:1.8}
#workflow-customer-card{margin:0 0 22px;padding:18px 22px;background:#dfdfdf;border-radius:12px}
#workflow-customer-card[hidden]{display:none!important}#workflow-customer-card strong{font-size:21px}#workflow-customer-card p{font-size:15px}
/* Focused picker modal; the complete records workspace remains available separately. */
.customer-entry-dialog{width:min(680px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:90dvh;padding:28px;border:0;border-radius:22px;background:#f5f5f5;color:#292929;box-shadow:0 24px 100px #0002;overscroll-behavior:contain;overflow-y:auto}
.customer-entry-dialog::backdrop{background:#0006;backdrop-filter:blur(5px)}
.entry-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.entry-dialog-head h2{font-size:29px;line-height:1.4;margin:9px 0 10px;color:#292929}.entry-dialog-head p{font-size:15px;line-height:1.8;color:#666;margin:0}
.entry-close{flex:none;width:48px;height:48px;min-height:48px;font-size:28px;background:#e6e6e6;color:#444;border-radius:50%;padding:0}
.entry-mode-switch{display:flex;gap:6px;padding:5px;background:#e3e3e3;border-radius:12px;margin:24px 0 8px}
.entry-mode-switch button{flex:1;min-height:48px;border-radius:9px;background:transparent;font-size:16px;color:#555}.entry-mode-switch button[aria-pressed=true]{background:#333;color:#fff}
#entry-status{font-size:14px;line-height:1.8;color:#666;min-height:0;margin:12px 0}#entry-status:empty{display:none}#entry-status[data-error=true]{background:#e4e4e4;color:#292929;padding:12px;border-radius:8px}
.customer-entry-dialog .record-field{font-size:15px;color:#555;margin:18px 0 8px}
.entry-search-wrap{display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:0 10px}
.entry-search-wrap input{flex:1;min-width:0;width:100%;font:inherit;font-size:17px;border:0;outline:0;background:transparent;padding:15px 6px;min-height:54px;color:#292929}
.entry-search-wrap button{font-size:14px;min-height:44px;padding:8px;background:#eee;border-radius:7px;color:#555}
#entry-count{font-size:13px;color:#777;margin:14px 0 10px}
#entry-customer-list{display:flex;flex-direction:column;gap:8px;max-height:min(36dvh,400px);overflow-y:auto;padding:0 2px 4px;min-height:110px}
.entry-customer-row{display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;padding:17px 18px;border-radius:12px;background:#fff;color:#333;min-height:92px;flex-shrink:0}
.entry-customer-row>div{display:flex;flex-direction:column;gap:5px;min-width:0}.entry-customer-row strong{font-size:18px;font-weight:500;overflow-wrap:anywhere}.entry-customer-row span{font-size:15px}.entry-customer-row small{font-size:12px;color:#777;line-height:1.6}.entry-row-check{flex-shrink:0;background:#eee;padding:8px 12px;border-radius:8px;font-size:14px!important}
.entry-customer-row[aria-pressed=true]{background:#333;color:#fff}.entry-customer-row[aria-pressed=true] small{color:#ddd}.entry-customer-row[aria-pressed=true] .entry-row-check{background:#ffffff24;color:#fff}
.entry-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;margin-top:12px}
#entry-selection-summary{font-size:15px;color:#666;display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}#entry-selection-summary strong{font-size:18px;color:#333}#entry-selection-summary span{font-size:14px}.entry-selection button{font-size:16px;min-height:52px;white-space:nowrap}
.entry-empty{padding:22px;text-align:center;background:#eee;border-radius:12px;font-size:16px;color:#666}.entry-empty button{margin-top:12px}
.entry-form-intro{margin:22px 0;background:#e9e9e9;padding:18px;border-radius:12px;font-size:16px;line-height:1.8}.entry-form-intro strong{font-weight:500}.entry-form-intro p{font-size:14px;color:#666;margin:7px 0 0}
#entry-create-form input{font:inherit;font-size:17px;min-height:54px;border:0;outline:0;background:#fff;padding:14px;border-radius:10px;width:100%;color:#333}#entry-create-form input:focus,.entry-search-wrap:focus-within{background:#e5e5e5}
.entry-form-note{font-size:14px;color:#777;margin:20px 0 12px}#entry-create-form>button{width:100%;min-height:54px;font-size:16px}
.customer-entry-dialog [hidden]{display:none!important}
@media(max-width:599px){#workflow-customer h1{font-size:30px}#workflow-customer .workflow-lead{font-size:16px;margin-bottom:20px}#workflow-customer .workflow-entry-grid{grid-template-columns:1fr;gap:12px}#workflow-customer .workflow-entry-grid button{min-height:126px;padding:22px;border-radius:14px}#workflow-customer .workflow-entry-grid button b{font-size:22px}#workflow-customer .workflow-entry-grid button span{font-size:15px}#workflow-customer .workflow-entry-grid button::after{right:20px;top:20px;font-size:21px}#workflow-customer #workflow-anonymous{min-height:94px;align-items:flex-start;flex-direction:column;gap:5px;padding:20px 22px}#workflow-customer #workflow-anonymous b{font-size:20px}#workflow-customer #workflow-anonymous span{font-size:14px}#workflow-customer .workflow-help{font-size:13px;padding-top:24px}.customer-entry-dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);padding:22px 16px;max-height:92dvh;border-radius:18px}.entry-dialog-head{gap:10px}.entry-dialog-head h2{font-size:25px}.entry-dialog-head p{font-size:14px}.entry-mode-switch{margin-top:20px}.entry-mode-switch button{font-size:15px}.entry-selection{flex-direction:column;align-items:stretch;gap:12px}.entry-selection button{width:100%}#entry-selection-summary{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}.entry-customer-row{padding:15px 14px}.entry-customer-row small{font-size:12px}#entry-customer-list{max-height:32dvh}.entry-dialog-head .overline{font-size:10px}}

/* Entry actions advance directly, so step one does not need a floating action dock. */
body[data-workflow-step="1"]{padding-bottom:0}
body[data-workflow-step="1"]>.workflow-footer{display:none!important}
#workflow-customer #workflow-anonymous{min-height:136px;padding:30px}
@media(max-width:599px){#workflow-customer #workflow-anonymous{min-height:126px;padding:26px 22px;justify-content:center}}

#entry-review-summary{padding:16px 18px;background:#e6e6e6;border-radius:12px;margin:20px 0 0}#entry-review-summary>strong{font-size:15px;font-weight:500;color:#333}#entry-review-summary p{font-size:15px;line-height:1.8;color:#555;margin:6px 0}#entry-review-summary small{display:block;font-size:13px;line-height:1.8;color:#777;margin-top:9px}.customer-entry-dialog[data-entry-purpose=review] #entry-customer-list{max-height:24dvh}.customer-entry-dialog[data-entry-purpose=review] .entry-form-intro{margin:18px 0}.workflow-review-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.workflow-review-tools button{min-height:50px;font-size:15px;padding:11px 14px}
@media(max-width:599px){#entry-review-summary{padding:14px;margin-top:16px}#entry-review-summary p{font-size:14px}#entry-review-summary small{font-size:12px}.customer-entry-dialog[data-entry-purpose=review] .entry-dialog-head h2{font-size:23px}.customer-entry-dialog[data-entry-purpose=review] #entry-customer-list{max-height:21dvh;min-height:90px}.workflow-review-tools{grid-template-columns:1fr 1fr;gap:8px}.workflow-review-tools #workflow-review-edit{grid-column:1/-1}.workflow-review-tools button{font-size:14px}}

.customer-entry-dialog[data-entry-purpose=review][data-entry-mode=create] .entry-form-intro{display:none}
