/* HYDROTECH V37 · Local walkthrough; polished visual extensions without touching login */
.v37-journey{display:flex;flex-direction:column;gap:11px;background:#fff;border:1px solid #cbdce8;border-left:3px solid #075690;border-radius:13px;padding:15px 18px;margin-bottom:12px;color:#123451}
.v37-journey-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.v37-journey-heading>div{display:flex;flex-direction:column;gap:5px}.v37-journey strong{font-weight:400;font-size:13px}.v37-journey small{color:#5b7185;line-height:1.6;font-size:12px}
.v37-steps{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.v37-steps span{background:#eaf3f9;border:1px solid #cfe1ed;border-radius:8px;padding:9px 11px;font-size:11px;font-weight:400;white-space:nowrap;color:#155688}.v37-steps span:last-child{background:#e9f8ef;color:#146f4b}
.v37-kanban .deal-card{appearance:none;width:100%;text-align:left;cursor:pointer;border:1px solid #c6d9e7;background:#fff;transition:border-color .15s,transform .15s,box-shadow .15s}
.v37-kanban .deal-card:hover,.v37-kanban .deal-card:focus-visible{transform:translateY(-2px);border-color:#0874b5;box-shadow:0 6px 20px rgba(8,82,145,.1);outline:none}
.v37-deal-eyebrow{display:block;color:#52758d;font-size:10px;font-weight:400;margin-bottom:4px}.v37-deal-cta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5eef4;margin-top:9px;padding-top:9px;color:#0966a5;font-size:11px;font-weight:400}.v37-deal-cta svg{width:14px;height:14px}
.v37-process-drawer{padding-bottom:35px}.v37-process-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}.v37-process-summary>div{padding:12px;border:1px solid #cddfea;border-radius:9px;display:flex;flex-direction:column;gap:5px;background:#fbfdff}.v37-process-summary small{font-size:11px;color:#697e8f}.v37-process-summary strong{color:#132f4a;font-size:14px}
.v37-process-drawer h3{font-size:14px;font-weight:400;color:#0d3257;margin:15px 0 11px}.v37-process-status{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin:12px 0 15px}.v37-process-status>div{text-align:center;display:flex;flex-direction:column;gap:6px;align-items:center;padding:8px 3px;border:1px solid #dfebf2;border-radius:8px;background:#f6f9fc;min-width:0}.v37-process-status>div>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e1ecf3;color:#4e6c84;font-size:12px;font-weight:400}.v37-process-status>div small{font-size:9px;line-height:1.4}.v37-process-status>div.done>span{background:#075690;color:white}.v37-process-status>div.current{border-color:#2e91ca;background:#eaf5fd}
.v37-next{padding:13px 15px;background:#edf7fc;border:1px solid #c6e1f1;border-radius:10px;margin:12px 0}.v37-next h4{font-size:12px;font-weight:400;color:#085291;margin:0 0 4px}.v37-next p{font-size:12px;line-height:1.6;color:#31536e;margin:0}.v37-action-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}.v37-action-stack .btn{justify-content:center;text-align:center;white-space:normal;min-height:40px}.v37-linked{padding-top:8px;border-top:1px solid #e4edf4}.v37-linked .account-row{padding:12px 5px}
.v37-timeline-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px}.v37-timeline-head h3{font-size:14px;color:#103553;font-weight:400;margin:0 0 5px}.v37-timeline-head p{font-size:12px;color:#648097;margin:0}.v37-timeline-head button{flex-shrink:0}.v37-next-followup{color:#0872ab!important;font-weight:400}.timeline-row p{font-size:12px;color:#2d4f68;line-height:1.55;margin:6px 0}.v37-hint{display:block;border:1px solid #cfe2ef;background:#f1f8fc;padding:12px 14px;border-radius:9px;margin:12px 0;font-size:12px;line-height:1.6;color:#27516f}.v37-hint .btn{margin-left:8px}.v37-muted{font-size:12px;color:#6b8293;line-height:1.65}
.v37-calendar-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.95fr);gap:12px}.v37-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.v37-cal-week{font-size:11px;text-align:center;font-weight:400;color:#59738b;padding:9px 3px}.v37-cal-day{appearance:none;text-align:left;border:1px solid #dceaf3;background:white;min-height:94px;display:flex;flex-direction:column;gap:5px;border-radius:9px;padding:8px;cursor:pointer;color:#163856}.v37-cal-day.blank{visibility:hidden}.v37-cal-day.selected{background:#e9f4ff;border:2px solid #0974b7}.v37-cal-day:hover{border-color:#0085cb}.v37-cal-day span{font-size:12px;font-weight:400}.v37-cal-pill{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#127451;background:#e5f7ee;border-radius:5px;font-size:10px;padding:4px 5px}.v37-cal-more{font-size:10px;color:#0875ad}.v37-agenda-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#fff;border:1px solid #d4e3ec;border-radius:9px;padding:12px;cursor:pointer;margin-bottom:8px;color:#173957}.v37-agenda-item:hover{background:#eef7fc;border-color:#80b5d8}.v37-agenda-item>div{display:flex;flex-direction:column;gap:6px}.v37-agenda-item strong{font-size:12px}.v37-agenda-item small{font-size:11px;color:#678297}.v37-agenda-item svg{height:17px;width:17px;color:#0873b2}
.v37-filterbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.v37-filterbar .filter-chip.selected{background:#e2f3ff;border-color:#4199cb;color:#075690;font-weight:400}
.v37-role-users{margin:13px 0 16px;padding:13px;border:1px solid #cfe0ec;background:#f7fbfe;border-radius:11px}.v37-row-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}.v37-row-heading strong{font-size:13px;color:#143a5d}.v37-row-heading small{font-size:11px;color:#5b758b}.v37-role-user-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.v37-role-user{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #d9e6ee;background:white;border-radius:9px;padding:10px}.v37-role-user>div{display:flex;flex-direction:column;gap:5px}.v37-role-user strong{font-size:12px}.v37-role-user small{font-size:11px;color:#667f92}
@media(max-width:1120px){.v37-calendar-layout{grid-template-columns:1fr}.v37-steps span{font-size:10px}}
@media(max-width:760px){.v37-journey{padding:12px}.v37-journey-heading{flex-direction:column;align-items:start}.v37-process-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v37-action-stack{grid-template-columns:1fr}.v37-process-status>div small{font-size:8px}.v37-cal-day{min-height:65px;padding:4px}.v37-cal-pill{font-size:8px}.v37-role-user-grid{grid-template-columns:1fr}.v37-timeline-head{flex-direction:column;align-items:start}}
/* Finance, reporting, and migration — premium local demo V37 */
.v37-fin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:13px}
.v37-fin-account{appearance:none;text-align:left;display:flex;flex-direction:column;gap:9px;padding:16px;background:#fff;border:1px solid #c8dbe9;border-radius:12px;color:#102e4a;min-width:0}
.v37-fin-account:hover{border-color:#73b1d6}.v37-fin-account-top{display:flex;justify-content:space-between;align-items:center}
.v37-fin-icon{height:36px;width:36px;display:grid;place-items:center;background:#e6f2fc;color:#0862a0;border-radius:10px}.v37-fin-icon svg{width:19px;height:19px}
.v37-fin-account>strong{font-size:14px;font-weight:400;color:#092b49}.v37-fin-account>small{font-size:11px;color:#64819a;overflow-wrap:anywhere}
.v37-fin-balance{font-size:23px;line-height:1.15;font-weight:400;color:#053e72;letter-spacing:-.03em;margin:3px 0}
.v37-fin-buttons{display:flex;gap:7px;margin-top:auto;flex-wrap:wrap}.v37-fin-buttons .btn{min-height:34px}
.v37-report-toolbar{display:grid;grid-template-columns:minmax(200px,1.3fr) minmax(180px,.9fr) minmax(130px,.4fr);gap:12px;margin:14px 0}
.v37-report-toolbar .field{margin:0}.v37-report-meta{border:1px solid #cbdfea;background:white;border-radius:9px;display:flex;flex-direction:column;justify-content:center;padding:10px 15px;gap:5px}
.v37-report-meta small{color:#5e788d;font-size:10px}.v37-report-meta strong{font-size:23px;color:#054c85;font-weight:400}
.v37-report-presets{grid-template-columns:repeat(4,minmax(0,1fr))}.v37-report-presets button{cursor:pointer;gap:6px}.v37-report-presets button svg{width:17px;height:17px;color:#0872ae}
.v37-migration-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0}.v37-migration-steps>div{border:1px solid #cddfea;background:#fff;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:7px}.v37-migration-steps b{width:27px;height:27px;background:#075690;color:#fff;border-radius:50%;display:grid;place-items:center;font-size:12px}.v37-migration-steps strong{font-size:12px;color:#113d62}.v37-migration-steps small{font-size:10px;color:#678196;line-height:1.4}
.v37-migration-source{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.v37-migration-source section{background:#fff;border:1px solid #cadae5;border-radius:10px;padding:16px;display:flex;align-items:start;flex-direction:column;gap:10px}.v37-migration-source strong{color:#073c6b;font-size:14px}.v37-migration-source small{color:#59758b;font-size:11px}.v37-migration-source .btn{margin-top:auto}
.v37-fin-account:focus-visible{outline:2px solid #007abf;outline-offset:3px}
.v37-photo-input{border:1px dashed #8eb5cf;border-radius:12px;background:#f4f9fd;padding:16px;display:flex;align-items:center;gap:18px}.v37-photo-input input{max-width:100%}.v37-photo-preview{width:110px;height:110px;border:1px solid #d1e3ee;border-radius:10px;background:#fff;display:grid;place-items:center;flex-shrink:0;overflow:hidden;color:#6e8da1}.v37-photo-preview img{height:100%;width:100%;object-fit:contain}.v37-photo-input small{display:block;font-size:11px;color:#678298;margin:6px 0}
@media(max-width:1120px){.v37-fin-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.v37-report-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.v37-migration-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.v37-fin-cards,.v37-report-toolbar,.v37-migration-source,.v37-migration-steps{grid-template-columns:1fr}.v37-report-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.v37-photo-input{flex-direction:column;align-items:start}}
.v37-product-catalog-img{width:100%;height:100%;max-height:145px;object-fit:contain;padding:11px 20px;background:linear-gradient(140deg,#edf6fb,#f9fcfe)}.v37-upload-label{display:block;font-size:12px;font-weight:400;color:#085291;margin:0 0 6px}.v37-upload-label+small{line-height:1.5}.v37-photo-input input{font-size:12px}
/* When a modal is opened from a customer drawer, its buttons must remain clickable. */
html.app-active #modalHost .modal{z-index:121!important}
html.app-active #drawerHost .drawer{z-index:91!important}
html.app-active #overlay{z-index:80!important}
.v37-report-toolbar{grid-template-columns:repeat(3,minmax(175px,1fr));align-items:end}.v37-report-toolbar .field{min-width:0}.v37-report-toolbar input{width:100%}
@media(max-width:800px){.v37-report-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:490px){.v37-report-toolbar{grid-template-columns:1fr}}
