:root{
  --teal:#087f80;--deep:#056969;--dark:#143f47;--ink:#25434f;--muted:#71838f;--line:#dbe8e8;
  --mint:#dff8f4;--mint2:#c9f1e9;--aqua:#eefafa;--green:#78d9b8;--amber:#f6b33f;--red:#ff6672;
  --rose:#ffe2e5;--cream:#fff4df;--lav:#efe7ff;--white:#fff;--sidebar:#0b8889;--shadow:0 6px 20px rgba(5,105,105,.07);
}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:'Nunito Sans',system-ui,-apple-system,sans-serif;font-size:14px}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px 1fr}.sidebar{background:linear-gradient(180deg,#dff8f4 0,#dff8f4 158px,var(--sidebar) 158px,var(--sidebar) 100%);min-height:100vh;position:sticky;top:0;height:100vh;color:#fff;display:flex;flex-direction:column;padding:0 16px 18px}.brand{height:158px;color:var(--teal);display:flex;flex-direction:column;align-items:center;justify-content:center}.brand-script,.script,.topbar h1,.panel-head h3,.section-head h2,.sidebar-quote span,.quote-card span,.quick-card h3,.you-got-this,.modal-card h2{font-family:'Sacramento','Segoe Script','Snell Roundhand',cursive}.brand-script{font-size:42px;line-height:.9;white-space:nowrap}.brand-script span{font-size:27px;vertical-align:top}.brand small{font:500 9px/1 'Nunito Sans',sans-serif;letter-spacing:.32em;margin-top:16px}.sidebar nav{display:flex;flex-direction:column;gap:7px;padding-top:20px}.nav-item{width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:13px 14px;border-radius:13px;font:500 15px 'Nunito Sans';cursor:pointer;display:flex;align-items:center;gap:14px;transition:.2s}.nav-item span{font-size:22px;width:26px;text-align:center}.nav-item:hover{background:rgba(255,255,255,.11)}.nav-item.active{background:linear-gradient(90deg,#effcf9,#c9f1e9);color:var(--deep);box-shadow:0 3px 12px rgba(0,0,0,.08)}.sidebar-quote{margin:auto 0 16px;background:rgba(255,255,255,.21);border:1px solid rgba(255,255,255,.12);border-radius:15px;min-height:184px;display:flex;align-items:center;justify-content:center;position:relative;text-align:center;padding:18px}.sidebar-quote span{font-size:31px;line-height:1.02}.sidebar-quote b{font-size:26px;position:absolute;right:20px;bottom:16px}.profile{display:flex;align-items:center;gap:10px;padding:10px 3px;border-top:1px solid rgba(255,255,255,.18)}.profile strong,.profile span{display:block}.profile span{font-size:11px;opacity:.75}.profile button,.chev{margin-left:auto;background:none;border:0;color:inherit;font-size:18px}.avatar{width:34px;height:34px;border-radius:50%;background:#4bc0b4;display:grid;place-items:center;color:white;font-weight:700}.main{min-width:0;padding:22px 26px 36px;max-width:1500px;width:100%;margin:0 auto}.topbar{height:137px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.welcome-wrap{padding:4px 0 0 10px}.topbar h1{margin:0;color:var(--teal);font-size:65px;font-weight:400;line-height:.92;letter-spacing:-.025em}.brush-line{width:365px;height:7px;background:var(--teal);border-radius:80% 20% 65% 35%;transform:rotate(-2deg);margin:4px 0 9px 40px;opacity:.94}.greeting{margin:0 0 0 128px;color:var(--teal);letter-spacing:.13em;font:500 13px 'Nunito Sans'}.greeting span{font-size:24px;margin-left:7px}.top-actions{display:flex;gap:10px;align-items:center;padding-top:2px}.search{width:365px;height:46px;border-radius:24px;background:#f5f8f8;display:flex;align-items:center;gap:9px;padding:0 18px;color:var(--teal)}.search input{border:0;outline:0;background:transparent;width:100%;font:14px 'Nunito Sans';color:var(--ink)}.icon-btn{width:44px;height:44px;border:0;border-radius:50%;background:#f3f8f8;color:var(--teal);font-size:21px;position:relative}.notify i{position:absolute;width:10px;height:10px;background:#ff5e67;border:2px solid #fff;border-radius:50%;right:5px;top:3px}.top-avatar{width:43px;height:43px;font-size:14px}.chev{color:var(--teal);margin:0}.view{display:none}.view.active{display:block}.dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 18px}.metric{border-radius:13px;min-height:112px;padding:19px 20px;display:grid;grid-template-columns:60px 1fr auto;gap:12px;align-items:center}.metric.mint{background:#e8fafa}.metric.green{background:#e4f7f1}.metric.amber{background:#fff3df}.metric.rose{background:#ffe7e8}.metric-icon{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:28px}.mint .metric-icon{background:#c6f1eb;color:var(--teal)}.green .metric-icon{background:#bbeddc;color:var(--teal)}.amber .metric-icon{background:#ffe0a8;color:#bd7000}.rose .metric-icon{background:#ffbdc2;color:#bd2736}.metric strong{font-size:28px;color:var(--deep);display:block}.metric span{font-size:14px}.metric>b{font-size:24px;font-weight:400;color:var(--teal)}.dash-grid{display:grid;grid-template-columns:1.25fr .92fr .55fr;gap:16px}.panel{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.tasks-card,.events-card,.recent-card,.notes-card,.week-card{padding:16px 19px}.panel-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf2f2;padding:0 0 11px;margin-bottom:4px}.panel-head h3,.quick-card h3{margin:0;color:var(--teal);font-size:33px;font-weight:400;line-height:1}.text-btn{border:0;background:none;color:var(--teal);font:500 12px 'Nunito Sans';cursor:pointer}.task-item{display:grid;grid-template-columns:20px 10px minmax(0,1fr) 110px 22px 12px;gap:10px;align-items:center;min-height:49px;border-bottom:1px solid #eef2f2;font-size:13px}.task-item:last-child{border:0}.check{width:17px;height:17px;border:1px solid #b9cccc;border-radius:4px;background:#fff}.status-dot{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none}.status-dot.grey{background:#b9c5c7}.status-dot.green{background:#6fd1a4}.status-dot.amber{background:#ffac2c}.status-dot.red{background:#ff6470}.task-item time{color:#72848e}.red-text{color:#ff5362!important}.task-item em{font-style:normal;color:#8fa2ab}.task-item b{color:var(--teal);font-size:19px}.event-row{display:grid;grid-template-columns:56px 1fr auto;gap:11px;align-items:center;margin:6px 0}.date-box{border:1px solid var(--line);border-radius:10px;height:53px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--teal)}.date-box b{font-size:10px}.date-box strong{font-size:20px}.event-row>div:nth-child(2){background:#e9f8f7;border-radius:8px;padding:9px 12px}.event-row>div:nth-child(2) strong,.event-row>div:nth-child(2) span{display:block}.event-row>div:nth-child(2) span{font-size:11px;margin-top:3px;color:#546d77}.event-row>b{color:var(--teal);font-size:18px}.dash-side{display:grid;grid-template-rows:184px auto;gap:16px;grid-row:span 2}.quote-card{background:linear-gradient(135deg,#e9f8f4,#fff 68%);border-radius:13px;border:1px solid var(--line);position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center}.quote-card:before,.quote-card:after{content:"";position:absolute;border-radius:50%;background:rgba(83,165,128,.2);filter:blur(1px)}.quote-card:before{width:90px;height:180px;right:-25px;top:-22px;transform:rotate(-28deg)}.quote-card:after{width:55px;height:125px;left:10px;bottom:-45px;transform:rotate(32deg)}.quote-card span{position:relative;z-index:1;color:var(--teal);font-size:29px;line-height:1}.quick-card{padding:14px}.quick-card h3{font-size:31px;margin:0 0 9px}.primary,.soft,.secondary,.ghost,.square-btn{border:0;border-radius:19px;padding:10px 14px;font:600 13px 'Nunito Sans';cursor:pointer}.primary{background:linear-gradient(180deg,#0a918f,#087979);color:#fff}.soft{width:100%;background:#cdf4ef;color:var(--deep);margin-top:8px}.full{width:100%}.recent-card table{width:100%;border-collapse:collapse;font-size:11.5px}.recent-card th{text-align:left;color:#8a9ca5;font-size:9px;letter-spacing:.08em;padding:6px 0}.recent-card td{padding:8px 0;border-top:1px solid #eef2f2}.badge{display:inline-block;border-radius:15px;padding:5px 12px;font-size:10px}.badge.progress,.badge.confirmed{background:#d9f4e9;color:#08786f}.badge.pending{background:#fff0d3;color:#bd7600}.badge.waiting{background:#eee4ff;color:#7156a4}.notes-card label{display:block;padding:7px 0;font-size:12px}.notes-card input{accent-color:var(--teal);margin-right:8px}.notes-card .done{text-decoration:line-through;color:#70838c}.you-got-this{margin-top:7px;background:#dcf8f5;color:var(--teal);font-size:29px;text-align:center;line-height:1;padding:9px}.week-card{align-self:start}.week-card>div:not(.panel-head){display:flex;justify-content:space-between;padding:11px 0;border-bottom:1px solid #eef2f2;font-size:12px}.week-card>div:last-child{border:0}.week-card b{color:var(--deep)}.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin:10px 0 22px}.section-head h2{font-size:45px;color:var(--teal);font-weight:400;margin:0;line-height:1}.section-head p{margin:2px 0 0;color:var(--muted)}.filters,.legend{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid var(--line);background:#fff;border-radius:20px;padding:8px 13px;color:var(--ink)}.chip.active{background:var(--mint);color:var(--teal);border-color:#bce7df}.table-panel{padding:8px 18px}.order-line{display:grid;grid-template-columns:18px 2fr 1fr 1.2fr 1.35fr auto;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #edf2f2}.order-line.header{font-size:10px;color:#85979f;letter-spacing:.08em}.order-line strong,.order-line small{display:block}.order-line small{color:var(--muted);margin-top:3px}.dot{width:10px;height:10px;border-radius:50%;display:inline-block}.dot.grey{background:#bac6c7}.dot.green{background:#70d2a5}.dot.amber{background:#ffad2e}.dot.red{background:#ff6470}.calendar-layout{display:grid;grid-template-columns:1fr 300px;gap:16px}.calendar-card,.day-panel{padding:18px}.calendar-head{display:flex;justify-content:space-between;align-items:center}.calendar-head h3,.day-panel h3,.template-card h3,.settings-panel h3{color:var(--teal);margin:0;font-size:20px}.calendar-head button{border:0;background:#e7f7f4;color:var(--teal);border-radius:50%;width:32px;height:32px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays span{text-align:center;padding:14px 0 8px;font-size:11px;color:var(--muted)}.calendar-day{min-height:82px;border:1px solid #edf2f2;padding:8px}.calendar-day.selected{outline:2px solid var(--teal);outline-offset:-2px;background:#f2fbf9}.calendar-day.full-day{background:#fff0f0}.cal-jobs{display:flex;gap:4px;margin-top:10px}.day-cap{margin:18px 0}.day-cap>div:first-child{display:flex;justify-content:space-between}.bar{height:7px;background:#e9f2f1;border-radius:9px;overflow:hidden;margin-top:8px}.bar i{display:block;height:100%;background:var(--teal)}.mini-job{display:flex;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f2}.secondary,.ghost{background:#e3f6f3;color:var(--teal);border:1px solid #cdeae5}.form-grid,.settings-grid,.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-card,.member,.settings-panel{border:1px solid var(--line);border-radius:13px;padding:20px;background:#fff;box-shadow:var(--shadow)}.template-card.featured{background:linear-gradient(180deg,#fff,#effbf9)}.template-icon{width:44px;height:44px;border-radius:12px;background:#dcf8f3;color:var(--teal);display:grid;place-items:center;font-size:22px;margin-bottom:12px}.meta{display:flex;gap:15px;font-size:11px;color:var(--muted);margin:15px 0}.member{display:flex;align-items:center;gap:12px}.avatar.large{width:45px;height:45px}.role{margin-left:auto;background:#e8f7f5;color:var(--teal);padding:6px 10px;border-radius:15px;font-size:11px}.role.owner{background:#dcf2ef}.role.staff{background:#f0e9fb;color:#6f59a0}.settings-panel label{display:block;margin-top:13px;font-weight:600}.settings-panel select,.settings-panel input[type=number],.settings-panel input[type=time],.modal-card input,.modal-card select,.modal-card textarea{width:100%;border:1px solid #d9e6e6;border-radius:10px;padding:10px;background:#fff;font:13px 'Nunito Sans';margin-top:5px}.toggle-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.toggle-row small{display:block;color:var(--muted);font-weight:400}.rule{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #eef2f2}.blocked{display:flex;justify-content:space-between;align-items:center;background:#fff3f3;border-radius:10px;padding:9px 11px;margin-top:10px}.blocked span,.blocked strong{display:block}.day-hours{display:grid;grid-template-columns:100px 1fr 1fr 34px;gap:8px;align-items:center;margin:8px 0}.toggle{width:32px;height:18px;border:0;border-radius:10px;background:var(--teal);position:relative}.toggle:after{content:"";width:13px;height:13px;border-radius:50%;background:#fff;position:absolute;right:3px;top:2.5px}.toggle.off{background:#c6d1d2}.toggle.off:after{right:16px}.empty-state{text-align:center;padding:70px 20px}.empty-state>div{font-size:48px;color:var(--teal)}.empty-state h3{color:var(--teal)}.modal{position:fixed;inset:0;background:rgba(6,50,54,.42);display:none;align-items:center;justify-content:center;padding:20px;z-index:100}.modal.open{display:flex}.modal-card{width:min(520px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:27px;position:relative;box-shadow:0 24px 60px rgba(0,0,0,.18)}.modal-close{position:absolute;right:15px;top:12px;background:none;border:0;font-size:24px}.modal-card h2{font-size:42px;color:var(--teal);margin:6px 0 0}.modal-card form label{display:block;margin-top:12px;font-weight:600}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pill{display:inline-block;border-radius:20px;background:#dff7f3;color:var(--teal);padding:5px 9px;font-size:9px;font-weight:700;letter-spacing:.08em}.customer-logo{width:47px;height:47px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:white;font-weight:700;margin-bottom:10px}.eyebrow{font-size:10px;letter-spacing:.15em;color:var(--teal)}.upload{background:#effafa;padding:15px!important;border-radius:10px}.form-note{display:block;margin-top:10px;color:var(--muted)}.toast{position:fixed;left:50%;bottom:-80px;transform:translateX(-50%);background:var(--deep);color:#fff;padding:11px 18px;border-radius:24px;transition:.25s;z-index:200}.toast.show{bottom:24px}.legend span{display:flex;align-items:center;gap:6px;font-size:11px}.full{width:100%}
@media(max-width:1150px){.app-shell{grid-template-columns:210px 1fr}.sidebar{padding-left:11px;padding-right:11px}.brand-script{font-size:35px}.dashboard-cards{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr 1fr}.dash-side{grid-column:1/-1;grid-row:auto;grid-template-columns:1fr 1fr;grid-template-rows:none}.week-card{grid-column:1/-1}.topbar h1{font-size:52px}.search{width:260px}}
@media(max-width:820px){.app-shell{display:block}.sidebar{position:relative;height:auto;min-height:0;background:var(--sidebar);padding:8px}.brand{height:auto;background:#dff8f4;border-radius:12px;padding:15px;margin-bottom:8px}.sidebar nav{flex-direction:row;overflow:auto;padding:0}.nav-item{min-width:max-content}.sidebar-quote,.profile{display:none}.main{padding:14px}.topbar{height:auto;display:block}.top-actions{margin:14px 0}.search{width:100%}.dashboard-cards{grid-template-columns:1fr 1fr}.dash-grid,.calendar-layout,.form-grid,.team-grid,.settings-grid{grid-template-columns:1fr}.dash-side{grid-template-columns:1fr}.brush-line{width:260px}.greeting{margin-left:70px}.order-line{grid-template-columns:12px 2fr 1fr}.order-line>*:nth-child(4),.order-line>*:nth-child(5){display:none}}
@media(max-width:520px){.dashboard-cards{grid-template-columns:1fr}.topbar h1{font-size:48px}.panel-head h3{font-size:29px}.metric{min-height:90px}.task-item{grid-template-columns:18px 9px 1fr 14px}.task-item time,.task-item em{display:none}.two{grid-template-columns:1fr}}
.customer-list{padding:8px 20px}.customer-row{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #edf2f2}.customer-row:last-child{border-bottom:0}.customer-row strong,.customer-row small{display:block}.customer-row small{color:var(--muted);margin-top:3px}.field-picks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0 16px}.field-picks label{margin:0!important;background:#effafa;border:1px solid #d9efec;border-radius:10px;padding:10px!important;font-weight:500!important}.field-picks input{width:auto!important;margin:0 7px 0 0!important}.full-label{display:block;color:#d44f5b;font-size:8px;font-weight:700;margin-top:4px}.role.view-only{background:#eef1f2;color:#60737c}
.cloud-badge{border:1px solid #cfe9e5;background:#effaf8;color:var(--teal);border-radius:20px;padding:8px 12px;font:700 10px 'Nunito Sans';letter-spacing:.03em;cursor:pointer;white-space:nowrap}.cloud-badge.live{background:#d6f4e8;border-color:#b8e5d3;color:#0b705f}.cloud-badge.error{background:#fff0f1;border-color:#ffd3d7;color:#b64b58}.auth-card{width:min(540px,100%)}.auth-separator{display:flex;align-items:center;gap:10px;color:#8ca0a4;margin:18px 0;font-size:11px}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#e4eeee;flex:1}.auth-separator span{white-space:nowrap}.sync-note{font-size:11px;color:var(--muted);margin-top:6px}
/* Capacity + form builder enhancements */
.wide-modal{width:min(720px,100%)}
.builder-head,.availability-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.builder-head small{display:block;color:var(--muted);margin-top:3px}.builder-fields{display:grid;gap:9px;margin:10px 0 18px}.builder-field{display:grid;grid-template-columns:28px 1.5fr .9fr 86px 34px;gap:8px;align-items:center;background:#f6fbfa;border:1px solid #dbeceb;padding:9px;border-radius:12px}.builder-field .drag{color:#8ca5a4;text-align:center;font-size:18px}.builder-field input,.builder-field select{margin:0!important}.builder-field label{margin:0!important;display:flex!important;align-items:center;gap:6px;font-weight:500!important;font-size:11px}.builder-field label input{width:auto!important}.remove-field{border:0;background:#ffe9eb;color:#b94954;border-radius:9px;width:32px;height:32px;cursor:pointer}.availability-box{background:#f2fbf9;border:1px solid #d5ece8;border-radius:13px;padding:12px;margin-top:12px}.availability-head span{font-size:11px;color:var(--muted)}.date-pills{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.date-pill{border:1px solid #cbe6e1;background:#fff;color:var(--deep);border-radius:18px;padding:8px 11px;cursor:pointer;font:600 11px 'Nunito Sans'}.date-pill:hover,.date-pill.selected{background:var(--teal);border-color:var(--teal);color:#fff}.date-pill.full{background:#f4f5f5;color:#9ba8a8;border-color:#e3e8e8;text-decoration:line-through;cursor:not-allowed}.capacity-meter{margin-top:12px}.capacity-meter .bar{height:8px}.capacity-label{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-top:4px}.form-actions{display:flex;gap:7px;margin-top:12px}.form-actions button{flex:1}.blocked-list-empty{font-size:12px;color:var(--muted);padding:12px 0}.blocked button{border:0;background:transparent;color:#b64b58;font-size:18px;cursor:pointer}.template-card .capacity-tag{display:inline-block;background:#eaf8f6;color:var(--teal);border-radius:12px;padding:5px 8px;font-size:10px;font-weight:700}.template-card .lead-tag{display:inline-block;background:#fff1dc;color:#a46c11;border-radius:12px;padding:5px 8px;font-size:10px;font-weight:700;margin-left:5px}
@media(max-width:650px){.builder-field{grid-template-columns:24px 1fr}.builder-field>*:nth-child(n+3){grid-column:2}.builder-field .remove-field{grid-column:1;grid-row:2}}

/* Job workspace */
.clickable-order{cursor:pointer;transition:background .16s,transform .16s}.clickable-order:hover{background:#f2fbf9}.order-open-hint{text-align:right;color:#7c9697;font-size:11px;padding:4px 4px 2px}.job-detail-modal{align-items:flex-start;padding:28px}.job-detail-shell{width:min(1180px,100%);max-height:94vh;overflow:auto;background:#f6fbfa;border-radius:22px;position:relative;box-shadow:0 28px 80px rgba(5,53,57,.22)}.job-detail-close{position:sticky;float:right;top:12px;right:16px;z-index:4;width:38px;height:38px;border-radius:50%;background:#fff;box-shadow:0 4px 18px rgba(9,82,84,.12);color:var(--teal)}#job-detail-content{padding:28px}.job-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:4px 44px 16px 3px}.job-detail-head h2{font-family:'Sacramento','Segoe Script','Snell Roundhand',cursive;color:var(--teal);font-size:50px;font-weight:400;line-height:.92;margin:4px 0 9px}.job-detail-head p{margin:0;color:#71878b}.detail-kicker{font-size:10px;letter-spacing:.16em;color:#7ca09c;font-weight:800}.urgency-word{font-weight:700}.urgency-word.grey{color:#829596}.urgency-word.green{color:#2d9b6b}.urgency-word.amber{color:#cc7a00}.urgency-word.red{color:#df4856}.detail-status-select{min-width:180px}.detail-status-select label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#789091;margin-bottom:5px}.detail-status-select select,.detail-facts select{width:100%;border:1px solid #cae2df;background:#fff;border-radius:11px;padding:10px;color:#25484b}.detail-progress{height:6px;background:#dfedeb;border-radius:999px;overflow:hidden;margin-bottom:18px}.detail-progress i{display:block;height:100%;border-radius:999px}.detail-progress i.grey{background:#b8c8c7}.detail-progress i.green{background:#67c99d}.detail-progress i.amber{background:#f4b350}.detail-progress i.red{background:#ee6b72}.job-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:17px}.detail-main,.detail-side{display:flex;flex-direction:column;gap:17px}.detail-card{background:#fff;border:1px solid #dfeceb;border-radius:16px;padding:19px;box-shadow:0 7px 22px rgba(18,85,87,.055)}.detail-card h3{margin:0;color:var(--teal);font-size:17px}.detail-card h4{font-size:12px;color:#6b8587;margin:18px 0 8px;text-transform:uppercase;letter-spacing:.08em}.detail-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.detail-card-head p{margin:3px 0 0;color:#8aa0a2;font-size:11px}.detail-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:17px}.detail-facts>div{background:#f3faf8;border-radius:12px;padding:11px}.detail-facts span,.answer-row span{display:block;color:#7f9597;font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}.detail-facts strong{font-size:13px}.answer-row{display:grid;grid-template-columns:180px 1fr;gap:12px;padding:9px 0;border-bottom:1px solid #eef4f3}.answer-row strong{font-size:12px;font-weight:600}.detail-empty{color:#8ba0a2;font-size:12px}.detail-check{display:grid;grid-template-columns:20px 1fr 25px;gap:9px;align-items:center;padding:10px 4px;border-bottom:1px solid #edf3f2}.detail-check input{accent-color:var(--teal)}.detail-check button{border:0;background:transparent;color:#a0b1b2;font-size:17px;cursor:pointer}.detail-check.done span{text-decoration:line-through;color:#98a8a9}.add-check{display:flex;gap:9px;margin-top:12px}.add-check input{flex:1;border:1px solid #d8e8e6;border-radius:10px;padding:10px}.detail-card textarea{width:100%;border:1px solid #d8e8e6;border-radius:11px;padding:12px;font:13px 'Nunito Sans';margin-top:12px;resize:vertical}.save-notes{margin-top:9px}.customer-mini{text-align:center}.customer-mini .avatar{margin:0 auto 8px}.customer-mini h3{font-size:18px}.customer-mini p{margin:4px 0;color:#7d9295;font-size:11px}.next-actions h3,.activity-card h3{margin-bottom:11px}.next-actions>button{width:100%;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;text-align:left;border:0;background:#f1faf8;color:#31575a;border-radius:12px;padding:10px;margin-top:8px;cursor:pointer}.next-actions>button>span{width:31px;height:31px;border-radius:9px;background:#d9f3ed;color:var(--teal);display:grid;place-items:center;font-weight:800}.next-actions strong,.next-actions small{display:block}.next-actions small{font-size:10px;color:#83989a;margin-top:2px}.next-actions .ready-action{background:#e0f6ed}.activity-item{display:grid;grid-template-columns:12px 1fr;gap:9px;padding:9px 0;position:relative}.activity-item i{width:8px;height:8px;border-radius:50%;background:#75cdbd;margin-top:4px}.activity-item:not(:last-child):before{content:"";position:absolute;left:3px;top:18px;bottom:-8px;width:1px;background:#dceae8}.activity-item strong,.activity-item small{display:block}.activity-item strong{font-size:11px;font-weight:600}.activity-item small{color:#93a4a5;font-size:10px;margin-top:2px}
@media(max-width:900px){.job-detail-modal{padding:8px}.job-detail-shell{max-height:97vh}.job-detail-grid{grid-template-columns:1fr}.detail-side{display:grid;grid-template-columns:1fr 1fr}.activity-card{grid-column:1/-1}.job-detail-head{display:block}.detail-status-select{margin-top:13px}.detail-facts{grid-template-columns:1fr 1fr}}
@media(max-width:580px){#job-detail-content{padding:18px 13px}.job-detail-head h2{font-size:42px}.detail-side{display:flex}.detail-facts{grid-template-columns:1fr}.answer-row{grid-template-columns:1fr}.add-check{display:block}.add-check button{width:100%;margin-top:7px}}

/* Communications centre */
.comms-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px}.comms-grid>.panel{padding:20px}.message-history-card{grid-column:1/-1}.soft-pill{background:#e5f7f3;color:var(--teal);border-radius:999px;padding:6px 10px;font-size:10px;font-weight:700}.automation-list,.notification-settings,.message-templates{display:grid;gap:9px;margin-top:12px}.automation-row{display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center;border:1px solid #dfedeb;background:#f8fcfb;border-radius:14px;padding:11px}.automation-icon{width:38px;height:38px;border-radius:12px;background:#dff7f1;color:var(--teal);display:grid;place-items:center;font-weight:800;font-size:17px}.automation-row strong,.automation-row small{display:block}.automation-row small{color:#84999a;font-size:10px;margin-top:2px}.switch{position:relative;width:40px;height:23px}.switch input{opacity:0;position:absolute}.switch span{position:absolute;inset:0;background:#cedbd9;border-radius:999px;cursor:pointer;transition:.2s}.switch span:after{content:"";position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 4px rgba(0,0,0,.15);transition:.2s}.switch input:checked+span{background:var(--teal)}.switch input:checked+span:after{left:20px}.notification-settings .toggle-row{padding:12px 2px;border-bottom:1px solid #edf4f3}.notification-settings .toggle-row:last-child{border-bottom:0}.message-history{display:grid}.message-log{display:grid;grid-template-columns:60px minmax(0,1fr) 140px 70px;gap:12px;align-items:center;padding:12px 3px;border-bottom:1px solid #edf3f2}.message-log:last-child{border-bottom:0}.message-channel{font-size:9px;font-weight:800;letter-spacing:.08em;background:#e8f7f5;color:var(--teal);border-radius:8px;padding:6px;text-align:center}.message-log strong,.message-log small{display:block}.message-log small{color:#849899;font-size:10px;margin-top:2px}.message-log time{font-size:10px;color:#819597}.delivery{font-size:10px;font-weight:700}.delivery.sent{color:#2e916d}.empty-state{text-align:center;padding:28px 12px;color:#87999b}.empty-state span,.empty-state strong,.empty-state small{display:block}.empty-state span{font-size:24px;color:var(--teal);margin-bottom:7px}.empty-state small{margin-top:3px}.template-message{display:grid;grid-template-columns:1fr auto;gap:2px 10px;border:1px solid #dfedeb;background:#fff;border-radius:12px;padding:11px 12px;text-align:left;color:var(--ink);cursor:pointer}.template-message span{font-weight:700}.template-message small{grid-column:1;color:#84999b}.template-message b{grid-column:2;grid-row:1/3;align-self:center;color:var(--teal);font-size:20px}.message-preview{margin:10px 0 16px;background:#f1faf8;border:1px solid #d7ebe7;border-radius:13px;padding:13px}.message-preview>span{display:block;font-size:9px;font-weight:800;letter-spacing:.11em;color:#72a29c;margin-bottom:8px}.message-preview>div{background:#fff;border-radius:11px;padding:13px;line-height:1.55;color:#416064;min-height:80px}
@media(max-width:900px){.comms-grid{grid-template-columns:1fr}.message-history-card{grid-column:auto}.message-log{grid-template-columns:55px 1fr auto}.message-log time{display:none}}
@media(max-width:560px){.message-log{grid-template-columns:1fr auto}.message-channel{display:none}.delivery{grid-column:2}.comms-grid>.panel{padding:15px}}


/* Team permissions */
.team-toolbar{display:flex;gap:10px;align-items:center;margin:0 0 18px}.team-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.team-summary .mini-stat{background:linear-gradient(145deg,#f7fffc,#eefaf7);border:1px solid #dcefe9;border-radius:18px;padding:16px}.mini-stat strong{display:block;font-size:24px;color:#156f69}.mini-stat span{font-size:12px;color:#6b7d79}.member{position:relative;cursor:pointer;transition:.2s ease}.member:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(21,111,105,.10)}.member-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.permission-count{font-size:11px;color:#6f827e;background:#f1faf7;border:1px solid #dceee8;border-radius:999px;padding:5px 9px}.edit-access{border:0;background:#e8f7f2;color:#15746d;border-radius:10px;padding:8px 10px;font-weight:700;cursor:pointer}.permission-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:26px}.permission-list{display:grid;gap:10px;margin:12px 0 20px}.permission-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #e3efeb;background:#fbfefd;border-radius:16px;padding:13px 14px}.permission-row strong{display:block;font-size:14px;color:#243b38}.permission-row small{display:block;color:#748783;margin-top:3px}.switch{position:relative;width:44px;height:25px;flex:0 0 44px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#dfe8e5;border-radius:999px;transition:.2s}.switch span:after{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.14);transition:.2s}.switch input:checked+span{background:#39aa9d}.switch input:checked+span:after{transform:translateX(19px)}.permission-summary{background:linear-gradient(145deg,#e9faf4,#f7fffd);border:1px solid #d7eee7;border-radius:18px;padding:16px;color:#41645f;font-size:13px;line-height:1.5}.muted-copy{color:#72837f;font-size:13px}.role.owner{background:#d7f5ec;color:#176b62}.role.manager{background:#dff2f7;color:#276a75}.role.staff{background:#f1ebff;color:#63548f}.role.view-only{background:#f0f1f1;color:#67706f}.access-denied{opacity:.45;pointer-events:none;filter:grayscale(.15)}
@media(max-width:900px){.permission-layout{grid-template-columns:1fr}.team-summary{grid-template-columns:repeat(2,1fr)}}

/* Major usability pass: notifications, reports, search and inventory */
.notify{position:relative}.notify #notification-count{display:none;position:absolute;right:-5px;top:-7px;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#e66c72;color:#fff;font:700 9px 'Nunito Sans';place-items:center;border:2px solid #fff}.notification-popover{display:none;position:absolute;right:72px;top:72px;width:390px;max-height:520px;overflow:hidden;background:#fff;border:1px solid #dcebe8;border-radius:20px;box-shadow:0 24px 65px rgba(18,75,72,.18);z-index:70}.notification-popover.open{display:block}.notif-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:16px 17px;border-bottom:1px solid #e8f2f0}.notif-head strong,.notif-head small{display:block}.notif-head strong{font-size:15px;color:#214c49}.notif-head small{font-size:10px;color:#839995;margin-top:2px}.notif-head button{border:0;background:transparent;color:var(--teal);font:700 10px 'Nunito Sans';cursor:pointer}.notification-list{max-height:430px;overflow:auto}.notif-item{width:100%;display:grid;grid-template-columns:38px 1fr auto;gap:10px;text-align:left;align-items:start;padding:12px 14px;border:0;border-bottom:1px solid #edf4f2;background:#fff;cursor:pointer;color:#294542}.notif-item:hover{background:#f7fcfa}.notif-item.unread{background:#f0fbf7}.notif-item strong,.notif-item small{display:block}.notif-item strong{font-size:12px}.notif-item small{font-size:10px;color:#7b918d;margin-top:3px;line-height:1.35}.notif-item time{font-size:9px;color:#98aaa7}.notif-icon{width:34px;height:34px;border-radius:11px;background:#e6f7f2;color:#247c72;display:grid;place-items:center;font-weight:800}.notif-icon.amber{background:#fff2d8;color:#aa741e}.notif-icon.red{background:#fde4e5;color:#b75259}.notif-icon.green{background:#def5e9;color:#36875f}.notif-empty{text-align:center;color:#7b918e;padding:32px 20px;font-size:12px}.notif-empty small{font-size:10px}.search-empty{grid-column:1/-1;text-align:center;padding:38px;color:#829895}.search-empty span,.search-empty strong,.search-empty small{display:block}.search-empty span{font-size:27px;color:#3d978d}.search-empty strong{margin-top:8px}.search-empty small{font-size:11px;margin-top:3px}.search-empty.compact{padding:20px}
.report-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.report-stat{border-radius:19px;padding:18px;border:1px solid #deeeea;box-shadow:0 8px 22px rgba(23,94,86,.055)}.report-stat span,.report-stat strong,.report-stat small{display:block}.report-stat span{font-size:11px;color:#607d78}.report-stat strong{font-size:30px;margin:4px 0;color:#245b56}.report-stat small{font-size:10px;color:#849994}.report-stat.mint{background:#eefaf6}.report-stat.teal{background:#def4ef}.report-stat.amber{background:#fff5df}.report-stat.rose{background:#fce9eb}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.report-grid>.panel{padding:20px}.wide-report{grid-column:1/-1}.report-bar{margin:16px 0}.report-bar>div:first-child{display:flex;align-items:center;justify-content:space-between;font-size:12px}.report-bar>div:first-child span{display:flex;align-items:center;gap:8px}.report-bar .bar{height:8px;background:#edf3f1;border-radius:999px;overflow:hidden;margin-top:7px}.report-bar .bar i{display:block;height:100%;border-radius:999px;background:#63b9ad}.report-bar .bar i.grey{background:#bac7c5}.report-bar .bar i.green{background:#67c99d}.report-bar .bar i.amber{background:#f2b650}.report-bar .bar i.red{background:#e8757b}.report-bar .bar i.teal{background:#4baea3}.capacity-chart{height:220px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding-top:10px}.capacity-column{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px}.capacity-track{height:145px;width:min(38px,80%);background:#edf5f3;border-radius:12px;display:flex;align-items:flex-end;overflow:hidden}.capacity-track i{display:block;width:100%;min-height:4px;background:linear-gradient(#69c8b8,#268d83);border-radius:12px}.capacity-column strong{font-size:10px;color:#46706a}.capacity-column span{text-align:center;font-size:9px;color:#809591;line-height:1.45}
.inventory-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.inventory-summary .mini-stat{background:#f4fbf8;border:1px solid #dbeee8;border-radius:17px;padding:15px}.inventory-summary strong,.inventory-summary span{display:block}.inventory-summary strong{font-size:24px;color:#20776e}.inventory-summary span{font-size:11px;color:#748b86}.inventory-list{display:grid}.stock-row{display:grid;grid-template-columns:42px minmax(180px,1fr) 190px 70px 72px;align-items:center;gap:12px;padding:13px 4px;border-bottom:1px solid #eaf2f0}.stock-row:last-child{border-bottom:0}.stock-icon{width:36px;height:36px;border-radius:11px;background:#e1f5ef;color:#237d73;display:grid;place-items:center}.stock-row strong,.stock-row small{display:block}.stock-row small{color:#80958f;font-size:10px;margin-top:2px}.stock-row.low>div>small{color:#b17828}.stock-qty{display:flex;align-items:center;justify-content:center;gap:9px}.stock-qty button{width:25px;height:25px;border:1px solid #d8eae6;background:#fff;border-radius:8px;color:#247d73;cursor:pointer}.stock-qty strong{font-size:14px}.stock-qty span{font-size:10px;color:#81958f}.stock-state{font-size:10px;font-weight:800;text-align:center;border-radius:999px;padding:6px 8px}.stock-state.ok{background:#e1f5eb;color:#31815d}.stock-state.warn{background:#fff0d8;color:#a96e1e}
@media(max-width:1000px){.report-metrics{grid-template-columns:repeat(2,1fr)}.stock-row{grid-template-columns:40px 1fr 160px 60px}.stock-row>.ghost{display:none}.notification-popover{right:20px}}@media(max-width:700px){.report-grid{grid-template-columns:1fr}.wide-report{grid-column:auto}.report-metrics,.inventory-summary{grid-template-columns:1fr 1fr}.notification-popover{position:fixed;left:12px;right:12px;top:74px;width:auto}.stock-row{grid-template-columns:36px 1fr}.stock-qty,.stock-state{grid-column:2}.stock-qty{justify-content:flex-start}.top-actions .search{display:none}}@media(max-width:480px){.report-metrics,.inventory-summary{grid-template-columns:1fr}}
/* Customer-facing order status preview */
.customer-portal-modal{background:rgba(16,57,54,.38)}.portal-shell{position:relative;width:min(590px,calc(100vw - 24px));max-height:92vh;overflow:auto;background:#f7fcfa;border-radius:27px;padding:34px;box-shadow:0 30px 85px rgba(11,67,63,.23)}.portal-brand{text-align:center;margin-bottom:28px}.portal-brand .brand-script{font-size:35px;color:#168178}.portal-brand small{font-size:9px;letter-spacing:.22em;color:#80a29d}.portal-hero{text-align:center}.portal-hero>span{font-size:10px;font-weight:800;letter-spacing:.13em;color:#6f9a94}.portal-hero h2{font-family:'Sacramento',cursive;font-size:48px;font-weight:400;color:#15776f;margin:6px 0}.portal-hero p{max-width:410px;margin:0 auto;color:#708d88;font-size:12px;line-height:1.55}.portal-status{text-align:center;background:#e5f7f1;border:1px solid #d1ece4;border-radius:20px;padding:20px;margin:24px 0}.portal-status span,.portal-status strong,.portal-status small{display:block}.portal-status-pill{width:max-content;margin:0 auto 8px;background:#fff;color:#18776f;border-radius:999px;padding:5px 10px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.portal-status strong{font-size:20px;color:#225e58}.portal-status small{margin-top:5px;color:#6e918b;font-size:11px}.portal-steps{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:25px 0}.portal-step{text-align:center;position:relative;color:#9aa9a7}.portal-step:not(:last-child):after{content:'';position:absolute;height:2px;background:#dfeae8;top:14px;left:61%;width:78%}.portal-step.done:not(:last-child):after{background:#63bfae}.portal-step i{position:relative;z-index:1;width:29px;height:29px;border-radius:50%;margin:auto;background:#eef3f2;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800}.portal-step.done i{background:#52b6a4;color:white}.portal-step span{display:block;font-size:8px;margin-top:6px}.portal-card{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border:1px solid #e0eeeb;border-radius:17px;padding:15px}.portal-card div{padding:5px 10px}.portal-card span,.portal-card strong{display:block}.portal-card span{font-size:9px;color:#829b96;text-transform:uppercase;letter-spacing:.06em}.portal-card strong{font-size:13px;color:#315f5a;margin-top:3px}.portal-foot{text-align:center;font-size:10px;color:#819792;margin:19px 0}.customer-mini #customer-portal{margin-top:8px}@media(max-width:560px){.portal-shell{padding:28px 16px}.portal-hero h2{font-size:40px}.portal-steps{overflow-x:auto}.portal-step{min-width:65px}}

/* Advanced workflow, calendar and backup pass */
.automation-dashboard{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.automation-dashboard>.panel{padding:19px}.automation-hero{grid-column:1/-1;min-height:220px;background:linear-gradient(135deg,#e5faf4,#fff 60%,#e5f5f4);display:flex;align-items:center;justify-content:space-between;overflow:hidden}.automation-hero h3{font-family:'Sacramento','Segoe Script',cursive;color:var(--teal);font-size:48px;font-weight:400;line-height:.9;margin:15px 0 10px}.automation-hero p{max-width:520px;color:#66827d;line-height:1.55}.automation-orbit{width:250px;height:170px;position:relative;flex:none}.automation-orbit:before{content:'';position:absolute;inset:18px 36px;border:2px dashed #b7ded7;border-radius:50%;transform:rotate(-10deg)}.automation-orbit span{position:absolute;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:800;box-shadow:0 6px 16px rgba(20,96,87,.08);background:#fff}.automation-orbit span:nth-child(1){left:0;top:65px;color:#7d8d8b}.automation-orbit span:nth-child(2){left:74px;top:4px;background:#def6ea;color:#31815f}.automation-orbit span:nth-child(3){right:3px;top:56px;background:#fff1d4;color:#a87020}.automation-orbit span:nth-child(4){left:94px;bottom:0;background:#fde5e7;color:#b64f58}.health-score{display:flex;align-items:flex-end;gap:9px;background:#edfaf6;border:1px solid #d7efe8;border-radius:17px;padding:14px 16px;margin:12px 0}.health-score strong{font-size:36px;color:#19796f;line-height:1}.health-score span{font-size:11px;color:#66847f;padding-bottom:4px}.health-lines>div{display:flex;justify-content:space-between;padding:9px 2px;border-bottom:1px solid #edf3f1;font-size:11px}.health-lines>div:last-child{border:0}.health-lines b{color:#206d65}.health-lines b.danger{color:#ca5861}.recurring-row{display:grid;grid-template-columns:38px 1fr 44px auto;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #edf3f1}.recurring-row:last-child{border:0}.recurring-icon{width:34px;height:34px;border-radius:11px;background:#e4f8f2;color:#238277;display:grid;place-items:center;font-weight:800}.recurring-row strong,.recurring-row small{display:block}.recurring-row strong{font-size:12px;color:#315d58}.recurring-row small{font-size:10px;color:#819591;margin-top:3px}.mini-switch{position:relative;width:40px;height:23px}.mini-switch input{opacity:0;width:0;height:0}.mini-switch span{position:absolute;inset:0;background:#dfe9e7;border-radius:999px}.mini-switch span:after{content:'';position:absolute;width:17px;height:17px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 5px rgba(0,0,0,.13);transition:.2s}.mini-switch input:checked+span{background:#51b9aa}.mini-switch input:checked+span:after{transform:translateX(17px)}.automation-empty{padding:24px 8px;text-align:center;color:#80948f;font-size:11px}.automation-audit{max-height:300px;overflow:auto}.audit-row{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid #edf3f1}.audit-row>span{width:28px;height:28px;border-radius:9px;background:#e9f8f4;color:#27887d;display:grid;place-items:center}.audit-row strong,.audit-row small{display:block}.audit-row strong{font-size:11px;color:#3c625d}.audit-row small{font-size:9px;color:#8ca09c;margin-top:2px}.file-action{display:block;text-align:center;margin-top:10px;border:1px solid #cfe5e0;border-radius:19px;padding:10px 14px;color:#26776e;font-weight:700;font-size:12px;cursor:pointer;background:#f8fcfb}.file-action input{display:none}.calendar-grid{align-items:stretch}.cal-day{min-height:96px;border:1px solid #edf2f1!important;background:#fff!important;border-radius:9px!important;padding:8px!important;text-align:left;position:relative;cursor:pointer;color:#3d5d59}.cal-day:hover{background:#f4fbf9!important;border-color:#cfe7e2!important}.cal-day.selected{outline:2px solid #68c7ba;outline-offset:-2px;background:#effaf7!important}.cal-day.today .cal-num{background:#1a847b;color:#fff}.cal-day.blocked{background:#faf7f7!important}.cal-day.outside{border:0!important;background:transparent!important;cursor:default}.cal-num{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700}.cal-dots{display:flex;gap:4px;flex-wrap:wrap;margin-top:12px}.cal-dots .status-dot{width:8px;height:8px}.blocked-label,.full-label,.more-jobs{display:block;font-size:8px;margin-top:7px}.blocked-label{color:#b25d64}.full-label{color:#a87528}.more-jobs{color:#708a85}.calendar-job{width:100%;border:0;background:#f7fbfa;border-radius:12px;padding:10px;margin:6px 0;display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:8px;text-align:left;cursor:pointer;color:#3d625d}.calendar-job strong,.calendar-job small{display:block}.calendar-job strong{font-size:11px}.calendar-job small{font-size:9px;color:#7e938f;margin-top:2px}.calendar-job b{font-size:18px;color:#4f9a91}.empty-day{padding:18px 6px;text-align:center;color:#879995;font-size:10px}
@media(max-width:900px){.automation-dashboard{grid-template-columns:1fr}.automation-hero{grid-column:auto}.automation-orbit{display:none}}@media(max-width:600px){.automation-hero h3{font-size:39px}.recurring-row{grid-template-columns:36px 1fr 40px}.recurring-row .ghost{grid-column:2/-1;justify-self:start}.cal-day{min-height:72px;padding:5px!important}}
/* Commercial beta: friendly skippable onboarding + unlimited capacity */
.onboarding-modal{z-index:1400}.onboarding-card{max-width:720px;padding:34px}.onboarding-progress{display:flex;gap:16px;align-items:center;margin-bottom:28px;color:#52736f;font-size:13px;font-weight:700}.onboarding-progress>div{height:7px;background:#e8f6f2;border-radius:999px;flex:1;overflow:hidden}.onboarding-progress i{display:block;height:100%;width:16%;background:#168c82;border-radius:999px;transition:.25s}.onboarding-hero{padding:12px 0 20px}.onboarding-hero h2{font-size:42px;margin:6px 0;color:#168c82}.onboarding-hero p{font-size:16px;line-height:1.65;color:#607572}.onboarding-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.onboarding-choice{border:1px solid #dcece8;border-radius:18px;padding:16px;background:#fbfffe;cursor:pointer}.onboarding-choice.selected{border-color:#168c82;box-shadow:0 0 0 3px #dff5ef}.onboarding-actions{display:flex;justify-content:space-between;gap:12px;margin-top:24px}.setup-card{background:linear-gradient(135deg,#e5f8f1,#f7fffc);border:1px solid #cfece4}.setup-progress{height:8px;background:#fff;border-radius:999px;overflow:hidden;margin:14px 0}.setup-progress i{display:block;height:100%;background:#168c82;border-radius:999px}.setup-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.setup-check{padding:9px 11px;border-radius:12px;background:#ffffffb8;font-size:13px}.setup-check.done{color:#168c82}.capacity-unlimited-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e4f7f1;color:#12756d;font-weight:800;font-size:12px}.launch-panel{margin-top:18px;padding:18px;border:1px solid #dcece8;border-radius:18px;background:#fff}.launch-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #edf4f2}.launch-row:last-child{border-bottom:0}.launch-state{font-weight:800;color:#168c82}@media(max-width:700px){.onboarding-choice-grid,.setup-checks{grid-template-columns:1fr}.onboarding-card{padding:24px}.onboarding-hero h2{font-size:34px}}
/* Flexible weekly availability + date-specific overrides */
.weekly-availability-card{grid-column:span 2}.availability-day-row{display:grid;grid-template-columns:145px 1fr 1fr;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #edf4f2}.availability-day-row:last-child{border-bottom:0}.day-main{display:flex;align-items:center;justify-content:space-between;gap:10px}.day-main strong{font-size:12px;color:#315f5a}.day-time-fields,.day-capacity-fields{display:flex;align-items:center;gap:8px}.day-time-fields span{font-size:10px;color:#839894}.day-time-fields input{min-width:110px}.day-capacity-fields select{min-width:140px}.day-capacity-fields input{max-width:88px}.date-override-card{grid-column:span 2}.override-empty{padding:18px;border:1px dashed #d7e9e5;border-radius:16px;color:#78908b;font-size:11px;text-align:center}.override-row{width:100%;border:0;border-bottom:1px solid #edf4f2;background:transparent;padding:12px 2px;display:grid;grid-template-columns:1fr auto 20px;align-items:center;gap:12px;text-align:left;cursor:pointer}.override-row:last-child{border-bottom:0}.override-row:hover{background:#f7fcfa}.override-date strong,.override-date small,.override-summary,.override-summary small{display:block}.override-date strong{color:#315f5a;font-size:12px}.override-date small,.override-summary small{color:#829791;font-size:9px;margin-top:3px}.override-summary{text-align:right;color:#237a70;font-weight:700;font-size:11px}.override-row>b{color:#5fa89e;font-size:18px}.weekday-picker{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:18px 0}.weekday-chip input{display:none}.weekday-chip span{display:grid;place-items:center;padding:10px 5px;border:1px solid #d9ebe7;border-radius:13px;background:#fff;color:#63817c;font-size:11px;font-weight:800;cursor:pointer}.weekday-chip input:checked+span{background:#def6ef;border-color:#74c6b8;color:#126f67}.capacity-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-actions{display:flex;justify-content:space-between;gap:10px;margin-top:10px}.ghost.full{width:100%}@media(max-width:900px){.weekly-availability-card,.date-override-card{grid-column:auto}.availability-day-row{grid-template-columns:1fr}.day-time-fields,.day-capacity-fields{width:100%}.day-time-fields input,.day-capacity-fields select,.day-capacity-fields input{flex:1;max-width:none}.weekday-picker{grid-template-columns:repeat(4,1fr)}}@media(max-width:560px){.weekday-picker{grid-template-columns:repeat(3,1fr)}.capacity-choice{grid-template-columns:1fr}.modal-actions{flex-direction:column-reverse}}
/* Core workflow update */
.customer-tabs,.shopping-tabs{display:flex;gap:8px;margin:0 0 14px}.customer-tab,.shopping-tab{border:1px solid #dceee9;background:#fff;color:#54736d;border-radius:999px;padding:8px 15px;cursor:pointer;font-weight:700}.customer-tab.active,.shopping-tab.active{background:#dff5ee;color:#176f66;border-color:#bfe8dd}.builder-actions{display:flex;gap:8px;flex-wrap:wrap}.builder-content{background:#f3fbf8}.builder-quantity{background:#edf8f7}.bf-options{min-width:220px}.shopping-row.purchased{opacity:.68}.shop-check{width:34px;height:34px;border-radius:50%;border:1px solid #b9ddd4;background:#fff;color:#238176;font-size:18px;cursor:pointer}.shop-check.done{background:#dff5ee}.empty-state{padding:28px;text-align:center;color:#78928c}.event-chip{background:#dff3f4;color:#176d73;border-radius:999px;padding:4px 8px}
/* 2026 core workflow refinement */
.form-builder-pro{max-width:980px}.builder-section{padding:18px;margin:14px 0;border:1px solid #dceee9;border-radius:18px;background:#fbfffd}.builder-section h3{margin:0 0 8px;color:#176f66}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.progress-template-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.progress-template-list label{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dceee9;padding:11px 13px;border-radius:12px}.schedule-edit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0}.schedule-edit-grid label{background:#f7fcfa;border:1px solid #dceee9;padding:12px;border-radius:14px}.schedule-edit-grid label span,.contact-detail span{display:block;font-weight:800;color:#2d5f58}.schedule-edit-grid label small{display:block;color:#79918c;margin:2px 0 8px}.progress-actions{display:grid;gap:8px}.progress-action{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #dceee9;background:#fff;border-radius:15px;padding:13px 14px;cursor:pointer;color:#264d48}.progress-action:hover{background:#f2fbf8}.progress-action.done{background:#ddf5ed;border-color:#b8e5d8}.progress-action.pause-action:not(.done){background:#fffaf0}.progress-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eaf8f4;color:#157a6e;font-weight:900}.progress-copy{display:flex;flex-direction:column}.progress-copy small{color:#78918c;margin-top:3px}.contact-detail{padding:10px 0;border-top:1px solid #e5f1ee;overflow-wrap:anywhere}.contact-detail strong{font-size:13px}.builder-content textarea{min-width:220px}@media(max-width:800px){.three,.schedule-edit-grid,.progress-template-list{grid-template-columns:1fr}}
/* Form Builder v2 — visual, controlled, Google-Forms-inspired */
.form-builder-v2{width:min(1180px,96vw);max-width:1180px;padding:0;overflow:hidden}.fb-top{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:28px 30px 18px;border-bottom:1px solid #dceee9}.fb-top h2{margin:7px 0 3px}.fb-top p{margin:0;max-width:680px}.fb-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;min-height:590px;background:#f5fbf9}.fb-canvas{padding:24px 28px 80px;overflow:auto;max-height:70vh}.fb-settings{background:#fff;border-left:1px solid #dceee9;padding:24px;overflow:auto;max-height:70vh}.fb-settings-head{margin-bottom:16px}.fb-settings-head h3{margin:0}.fb-settings-head p{margin:4px 0;color:#6d817c}.fb-card,.fb-fixed-card,.fb-deadline-card,.fb-field-v2{background:#fff;border:1px solid #dceee9;border-radius:16px;box-shadow:0 5px 18px rgba(21,91,78,.05);margin-bottom:13px}.fb-title-card{padding:20px}.fb-title-card label{margin-bottom:12px}.fb-fixed-card,.fb-deadline-card{display:flex;align-items:center;gap:14px;padding:17px 18px}.fb-fixed-card small,.fb-deadline-card small{display:block;color:#71847f;margin-top:3px}.fb-fixed-card b,.fb-deadline-card b{color:#147b6b}.fb-drag{color:#a8bbb6;font-size:18px}.fb-deadline-card .soft-pill{margin-left:auto}.fb-add-main{width:100%;border:1.5px dashed #58b8a4;background:#eaf9f4;color:#176f62;border-radius:14px;padding:15px;font-weight:800;cursor:pointer;margin:3px 0 10px}.fb-add-menu{display:none;background:#fff;border:1px solid #d6ebe5;border-radius:16px;padding:16px;grid-template-columns:1.4fr 1fr 1fr;gap:16px;margin-bottom:14px;box-shadow:0 12px 30px rgba(20,92,79,.1)}.fb-add-menu.open{display:grid}.fb-add-menu strong{display:block;color:#1c6258;margin-bottom:7px}.fb-add-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:8px 9px;border-radius:9px;color:#344c47;cursor:pointer}.fb-add-menu button:hover{background:#ecf8f5}.fb-add-menu button span{font-size:9px;background:#dff6ef;color:#167361;padding:2px 5px;border-radius:8px;margin-left:5px}.fb-field-v2{padding:17px;position:relative}.fb-field-head{display:flex;gap:10px;align-items:center}.fb-field-head input{flex:1}.fb-field-controls{display:flex;align-items:center;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #edf4f2}.fb-field-controls .spacer{flex:1}.fb-remove{border:0;background:transparent;color:#8a625e;font-size:20px;cursor:pointer}.fb-content-preview{padding:8px 2px;color:#61736f}.fb-product-help{background:#eaf9f4;border-radius:12px;padding:12px 14px;margin:10px 0 13px;color:#365f57}.fb-product-help strong{display:block;color:#176f62}.fb-products{display:grid;gap:8px}.fb-product-row{display:grid;grid-template-columns:1.5fr 1fr .7fr .55fr .55fr auto;gap:7px;align-items:end;background:#f8fbfa;border:1px solid #e1efeb;padding:10px;border-radius:12px}.fb-product-row label{font-size:11px;margin:0}.fb-product-row input{padding:9px}.fb-product-add{margin-top:10px}.fb-settings details{border:1px solid #dceee9;border-radius:13px;margin-bottom:10px;overflow:hidden}.fb-settings summary{cursor:pointer;font-weight:800;color:#285e55;padding:14px;background:#f8fcfb}.fb-setting-body{padding:14px}.fb-setting-body label{margin-bottom:13px}.fb-setting-body small{color:#70817d}.rule-builder{display:grid;grid-template-columns:62px 1fr 1.25fr;gap:6px;margin-top:5px}.rule-builder input,.rule-builder select{min-width:0}.fb-footer{display:flex;align-items:center;justify-content:flex-end;gap:18px;padding:16px 28px;border-top:1px solid #dceee9;background:#fff}.fb-footer span{color:#74847f;font-size:13px}.fb-preview-modal{position:fixed;inset:0;background:rgba(19,54,49,.35);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.fb-preview-sheet{width:min(640px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:30px;box-shadow:0 25px 70px rgba(0,0,0,.2)}.fb-preview-sheet h2{color:#168372}.fb-preview-q{padding:13px 0}.fb-preview-input{height:42px;border:1px solid #d9e8e4;border-radius:10px;margin-top:7px}.fb-preview-product{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #edf3f1}.fb-preview-product span:last-child{background:#eff8f5;border-radius:9px;padding:5px 10px}.fb-preview-close{float:right}.fb-image-placeholder{border:1px dashed #9bcfc3;border-radius:12px;padding:24px;text-align:center;background:#f5fbf9;color:#5c7771}@media(max-width:850px){.fb-layout{grid-template-columns:1fr}.fb-settings{border-left:0;border-top:1px solid #dceee9;max-height:none}.fb-canvas{max-height:none}.fb-add-menu{grid-template-columns:1fr}.fb-product-row{grid-template-columns:1fr 1fr}.fb-top{flex-direction:column}.rule-builder{grid-template-columns:55px 1fr}.rule-builder select:last-child{grid-column:1/-1}}
/* Build 1 dashboard refinements */
.metric.upcoming{background:#eaf2f5;border-color:#d8e5ea}.metric.upcoming .metric-icon{background:#dbe9ee;color:#557786}
.dashboard-shopping-card{grid-column:span 1}.dashboard-shopping-list{display:grid;gap:8px;margin:4px 0 12px}.dashboard-shop-row{display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #edf2f1}.dashboard-shop-row button{border:0;background:transparent;font-size:18px;color:#16736d;cursor:pointer}.dashboard-shop-row span{flex:1}.dashboard-shop-row small{color:#80908e}.shopping-quick-add{width:100%;margin-top:4px}.purchase-details{margin:12px 0;padding:12px 14px;background:#f3faf8;border-radius:14px}.purchase-details summary{cursor:pointer;font-weight:700;color:#286f69}.purchase-details small{display:block;margin-top:8px;color:#71827f}
.fb-upload-preview{min-height:120px;border:1px dashed #b9d7d2;border-radius:14px;background:#f4fbf9;display:grid;place-items:center;text-align:center;padding:16px;color:#5d7773}.fb-upload-preview img{max-width:100%;max-height:220px;border-radius:12px}.fb-image-controls{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:8px}
.fb-preview-graphic{margin:18px auto;text-align:center}.fb-preview-graphic img{max-width:100%;border-radius:14px}.fb-preview-graphic.small{max-width:240px}.fb-preview-graphic.medium{max-width:480px}.fb-preview-graphic.full{max-width:100%}.fb-preview-graphic figcaption{margin-top:6px;color:#71827f;font-size:13px}.fb-header-preview{display:block;max-width:100%;max-height:220px;object-fit:contain;margin:8px auto 18px;border-radius:14px}

/* Build 1.1 — cleaner page hierarchy */
.section-head h2{display:none}
.section-head{margin-top:2px;padding-top:0;border-top:0}
.section-head p{margin:0;color:var(--muted);font-size:13px}
.brush-line{height:2px;width:310px;background:linear-gradient(90deg,rgba(22,115,109,.28),rgba(188,231,223,.34),rgba(255,255,255,0));border-radius:999px;transform:none;margin:9px 0 10px 18px;opacity:1}

/* Make work records feel interactive wherever they appear */
.task-item,.recent-card tbody tr,.order-line:not(.header){cursor:pointer;transition:background .16s ease,transform .16s ease}
.task-item:hover,.recent-card tbody tr:hover,.order-line:not(.header):hover{background:#f4fbfa}
.order-line:not(.header):hover{transform:translateX(2px)}

/* Build 1.2 — cleaner dashboard + accessible work-record navigation */
.welcome-wrap{padding-bottom:2px}
.order-line[data-open-job]:focus-visible{outline:2px solid rgba(10,145,143,.55);outline-offset:4px;border-radius:10px}
.order-line[data-open-job]::after{content:"";position:absolute}
/* Build 1.3 — dashboard summary cards are navigation controls */
.dashboard-filter{font:inherit;text-align:left;cursor:pointer;width:100%;appearance:none;-webkit-appearance:none}
.dashboard-filter:focus-visible{outline:3px solid rgba(13,139,132,.24);outline-offset:3px}
@media (hover:hover) and (pointer:fine){.dashboard-filter{transition:transform .16s ease,box-shadow .16s ease}.dashboard-filter:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(23,94,86,.055)}}
.dashboard-filter-note{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-10px 0 16px;padding:10px 14px;border:1px solid #dbeae7;border-radius:12px;background:#f5fbfa;color:#55716d;font-size:12px}.dashboard-filter-note strong{color:var(--teal)}

/* Build 1.4 — softer interactions + clear Order / Task identity */
.dashboard-filter{box-shadow:none}
@media (hover:hover) and (pointer:fine){.dashboard-filter:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(23,94,86,.055)}}
.work-type{display:inline-flex;align-items:center;width:max-content;margin-right:7px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.08em;vertical-align:1px}.work-type.order{background:#def5ef;color:#176f66}.work-type.task{background:#e9eff5;color:#536f83}.order-line .work-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.type-choice{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:8px 0 14px}.type-choice label{margin:0}.type-choice input{position:absolute;opacity:0;pointer-events:none}.type-choice span{display:block;border:1px solid #dceee9;border-radius:13px;padding:12px;text-align:center;cursor:pointer;font-weight:700}.type-choice input:checked+span{background:#e5f7f2;border-color:#83cfc0;color:#176f66}

/* Build 1.5 — nearly-flat controls and richer work records */
.dashboard-filter{box-shadow:0 1px 2px rgba(23,94,86,.018)!important;border:1px solid rgba(23,94,86,.035)}
@media (hover:hover) and (pointer:fine){.dashboard-filter:hover{transform:none!important;box-shadow:0 1px 3px rgba(23,94,86,.028)!important;border-color:rgba(23,94,86,.07)}}
.primary,.soft,.secondary,.ghost,.square-btn{box-shadow:none!important}
.detail-card{box-shadow:0 1px 3px rgba(18,85,87,.025)}
.detail-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.detail-edit-grid label{margin:0}.detail-edit-grid select{width:100%;border:1px solid #d8e8e6;border-radius:11px;padding:10px;background:#fff;color:#31575a}
.detail-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.attachment-list{display:grid;gap:7px;margin-top:12px}.attachment-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f7fbfa;border:1px solid #e6f0ee;border-radius:11px;padding:9px 11px}.attachment-row small{color:#849795}.attachment-row button{border:0;background:transparent;color:#8b6a68;cursor:pointer}.detail-upload{display:inline-flex;align-items:center;gap:7px;margin-top:11px;border:1px solid #d2e7e2;border-radius:14px;padding:9px 12px;color:#26776e;font-weight:700;cursor:pointer}.detail-upload input{display:none}
@media(max-width:580px){.detail-edit-grid{grid-template-columns:1fr}}

/* Build 1.6 — linked shopping workflow and flatter interaction surfaces */
.linked-shopping{display:grid;gap:7px;margin-top:14px}.linked-shop-row{width:100%;border:1px solid #e3efed;background:#fbfefd;border-radius:12px;padding:10px 11px;display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:9px;align-items:center;text-align:left;color:#315753;cursor:pointer;box-shadow:none}.linked-shop-row:hover{background:#f4faf8}.linked-shop-row.done{opacity:.65}.linked-shop-row.done strong{text-decoration:line-through}.linked-shop-check{width:24px;height:24px;border-radius:8px;background:#e3f6f0;color:#177d70;display:grid;place-items:center;font-weight:800}.linked-shop-row strong,.linked-shop-row small{display:block}.linked-shop-row strong{font-size:12px}.linked-shop-row small{font-size:10px;color:#829692;margin-top:2px}.linked-shop-row b{font-size:10px;color:#56827a}.detail-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.detail-tools .soft,.detail-tools .secondary,.detail-tools .ghost{width:auto;margin-top:0;box-shadow:none!important}.panel,.detail-card{box-shadow:0 1px 2px rgba(18,85,87,.018)}

/* Build 1.7 — keep schedule/capacity available without dominating an existing record */
.schedule-collapsed{padding:0;overflow:hidden}
.schedule-collapsed>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;cursor:pointer;min-height:68px}
.schedule-collapsed>summary::-webkit-details-marker{display:none}
.schedule-collapsed>summary h3{margin:0 0 4px}
.schedule-collapsed>summary p{margin:0;color:var(--muted);font-size:.88rem;line-height:1.45}
.schedule-toggle{display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--teal);font-size:.84rem}
.show-less-label{display:none}
.schedule-collapsed[open] .show-more-label{display:none}
.schedule-collapsed[open] .show-less-label{display:inline}
.schedule-collapsed[open] .schedule-toggle{transform:none}
.schedule-collapsed[open] .schedule-toggle:last-child{align-self:flex-start}
.schedule-more{border-top:1px solid rgba(54,133,119,.10);padding:18px 20px 20px}
.schedule-helper{margin:0 0 16px;color:var(--muted);font-size:.88rem}
@media(max-width:640px){.schedule-collapsed>summary{align-items:flex-start;padding:16px}.schedule-collapsed>summary p{font-size:.82rem}.schedule-toggle{padding-top:2px}.schedule-more{padding:16px}}

/* Build 1.8 — calmer day-to-day order workspace */
.pause-banner{display:flex;align-items:center;gap:10px;background:#fff8e8;border:1px solid #f1e3bb;border-radius:12px;padding:10px 13px;margin:0 0 14px;color:#6f5a25}.pause-banner strong{font-size:11px;text-transform:uppercase;letter-spacing:.08em}.pause-banner span{font-size:12px}.customer-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 7px}.customer-quick-actions .soft{text-decoration:none;display:flex;align-items:center;justify-content:center;min-height:38px}.detail-card,.primary,.secondary,.soft,.ghost{box-shadow:0 1px 3px rgba(18,85,87,.025)!important}.progress-action{box-shadow:none!important}.progress-action:hover{transform:none!important}.activity-item strong{line-height:1.35}.activity-card{max-height:520px;overflow:auto}

/* Build 1.9 — compact progress, editable per-record steps, Pause kept separate */
.progress-card{padding:16px 18px}.progress-card-head{align-items:center;margin-bottom:8px}.progress-card-head p{margin-top:2px;font-size:11px}.compact-progress{display:grid;gap:2px}.progress-row{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;border-top:1px solid #edf3f1}.progress-row:first-child{border-top:0}.progress-action{width:100%;min-height:43px;padding:7px 4px;border:0;background:transparent;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.progress-action:hover{background:#f7fbfa}.progress-icon{width:23px;height:23px;border:1px solid #bcd8d2;border-radius:8px;display:grid;place-items:center;color:#25786f;font-weight:800;flex:0 0 auto}.progress-copy{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.progress-copy strong{font-size:12px;color:#315753}.progress-copy small{font-size:10px;color:#8a9a97}.progress-row.done .progress-icon{background:#e2f5ef;border-color:#c7e9df}.progress-row.done .progress-copy strong{color:#607a76}.progress-remove{width:28px;height:28px;border:0;background:transparent;color:#a4afad;border-radius:8px;cursor:pointer;font-size:16px}.progress-remove:hover{background:#f5f8f7;color:#7a8885}.pause-side{border:1px solid #eadbb2;background:#fffaf0;color:#766126;border-radius:10px;padding:7px 10px;font:inherit;font-size:11px;font-weight:700;cursor:pointer;box-shadow:none}.pause-side.is-paused{background:#fff3d6;border-color:#e7ce8e}.compact-add-check{margin-top:8px;padding-top:8px;border-top:1px solid #edf3f1}.compact-add-check input{min-height:36px}.compact-add-check .secondary{min-height:36px;padding:7px 10px}.pause-banner{margin-bottom:10px;padding:8px 11px}
@media(max-width:580px){.progress-card{padding:14px}.progress-card-head{align-items:flex-start}.pause-side{white-space:nowrap}.progress-copy{display:block}.progress-copy small{display:block;margin-top:2px}}
/* Build 2.0 — Calendar & Events */
#calendar .section-head{align-items:flex-start;flex-wrap:wrap}.calendar-actions{display:flex;gap:8px;margin-left:auto}.calendar-actions+.legend{flex-basis:100%;justify-content:flex-end;margin-top:-4px}.event-dot{font-style:normal;font-size:13px;line-height:10px;color:#8b72a8}.calendar-event{background:#faf8fc;border:1px solid #eee7f4}.event-symbol{width:20px;height:20px;border-radius:7px;background:#eee7f5;color:#80639f;display:grid;place-items:center;font-size:12px}.calendar-event small{color:#897b91}.day-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:12px 0}.calendar-choice button{min-height:52px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.modal-actions .secondary{margin-right:auto}
@media(max-width:760px){.calendar-layout{grid-template-columns:1fr}.day-panel{order:-1}.calendar-actions+.legend{justify-content:flex-start;margin-top:8px;overflow:auto}.day-actions{grid-template-columns:1fr}.cal-day{min-height:72px!important}.event-dot{font-size:11px}}
/* Build 2.1 — dedicated Events workspace + deadline-only calendar counts */
.deadline-count{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;font-style:normal;font-size:9px;font-weight:800;border:1px solid transparent}.deadline-count.grey{background:#eef2f1;color:#6f807d;border-color:#dfe6e4}.deadline-count.red{background:#fde5e7;color:#b84d58;border-color:#f5cdd1}.deadline-count.green{background:#def6ea;color:#2f805d;border-color:#c6ead8}.deadline-legend .deadline-count{width:18px;height:18px;font-size:8px}.event-legend{color:#80639f}.cal-dots{align-items:center}.event-dot{display:inline-flex;align-items:center;gap:1px}.event-dot b{font-size:8px}.events-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px}.events-manager,.event-help{padding:18px}.event-help{align-self:start}.event-help h3{color:#286f68;margin:12px 0 8px}.event-help p{font-size:11px;line-height:1.5;color:#6e8581}.event-manage-card{padding:16px 2px;border-bottom:1px solid #eaf1ef}.event-manage-card:last-child{border:0}.event-manage-head{display:grid;grid-template-columns:52px 1fr auto;gap:12px;align-items:center}.event-manage-head h3{margin:5px 0 2px;color:#315f59}.event-manage-head small{color:#7e938f}.event-date-tile{width:48px;height:52px;border-radius:12px;background:#eef9f6;display:grid;place-items:center;align-content:center;color:#237b70}.event-date-tile strong{font-size:18px;line-height:1}.event-date-tile span{font-size:8px;font-weight:800;margin-top:3px}.event-task-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0 0 64px}.event-subhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf3f1;padding-bottom:6px;margin-bottom:5px;font-size:11px}.event-check-row{display:grid;grid-template-columns:18px 1fr auto 20px;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #f1f5f4;font-size:10px}.event-check-row .done{text-decoration:line-through;color:#8da09c}.tiny-action,.tiny-x{border:0;background:transparent;color:#39857c;font-size:9px;cursor:pointer}.tiny-x{font-size:15px;color:#9aa9a6}.linked-event-task{width:100%;border:0;background:#f8fbfa;display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;text-align:left;padding:8px;border-radius:9px;margin:5px 0;cursor:pointer}.linked-event-task strong,.linked-event-task small{display:block}.linked-event-task strong{font-size:10px;color:#3c625d}.linked-event-task small,.event-empty{font-size:9px;color:#879995}.linked-event-task b{color:#55958d}.event-tabs{margin-bottom:12px}
@media(max-width:850px){.events-workspace{grid-template-columns:1fr}.event-help{order:-1}.event-task-columns{grid-template-columns:1fr;margin-left:0}.event-manage-head{grid-template-columns:46px 1fr auto}}
/* Build 2.2 — event scheduled-task editor */
.task-date-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 2px;padding:10px;border:1px solid #e4efec;border-radius:12px;background:#f8fcfb}.task-date-preview span{font-size:10px;color:#728985}.task-date-preview b{display:block;color:#34766e;font-size:9px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px}@media(max-width:620px){.task-date-preview{grid-template-columns:1fr}}
/* Build 2.4 — customer order journey */
#public-form-header{display:flex;justify-content:center;margin:0 0 12px}#public-form-header img{display:block;max-width:100%;max-height:150px;object-fit:contain;border-radius:14px}.customer-form #public-form-title{margin-bottom:6px}.customer-form .public-form-switcher{padding:10px 12px;background:#f6fbf9;border:1px solid #e1f0eb;border-radius:12px}.public-content-block{padding:6px 2px}.public-content-block h3{margin:4px 0}.public-content-block p{margin:4px 0;color:#64716d}.public-divider{border:0;border-top:1px solid #dceae5;margin:18px 0}.public-graphic{text-align:center;margin:14px auto}.public-graphic img{max-width:100%;max-height:300px;border-radius:14px;object-fit:contain}.public-graphic.small{max-width:280px}.public-graphic.medium{max-width:480px}.public-graphic figcaption{font-size:12px;color:#6d7975;margin-top:6px}.public-products{border:1px solid #dfece7;border-radius:14px;padding:14px;margin:12px 0}.public-products legend{font-weight:700;padding:0 6px}.public-product{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #edf4f1}.public-product:last-child{border-bottom:0}.public-product>div:first-child{display:grid;gap:2px}.public-product small{color:#6d7975}.public-product span{font-size:13px;color:#287967}.qty-stepper{display:flex;align-items:center;gap:8px;background:#f4faf7;border-radius:999px;padding:3px}.qty-stepper button{width:30px;height:30px;border:0;border-radius:50%;background:white;box-shadow:none;cursor:pointer}.qty-stepper output{min-width:20px;text-align:center;font-weight:700}.public-upload{border:1px dashed #bad9cf;border-radius:14px;padding:14px}.public-upload span{display:block;color:#287967;font-size:12px;margin-top:5px}
/* Build 2.5 — customer form branding + introduction photos */
.branding-settings-card{grid-column:span 1}.brand-logo-setting{display:grid;grid-template-columns:150px 1fr;gap:14px;align-items:center;margin-top:12px}.brand-logo-preview{height:96px;border:1px dashed #badbd3;border-radius:14px;background:#f8fcfb;display:grid;place-items:center;overflow:hidden;color:#839793;font-size:11px;text-align:center;padding:8px}.brand-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.brand-logo-actions{display:grid;gap:8px}.brand-logo-actions .file-action{margin:0}.brand-logo-actions .ghost{justify-self:start}.brand-logo-actions .ghost:disabled{opacity:.45;cursor:not-allowed}
.fb-branding-block,.fb-intro-media{margin-top:15px;padding-top:15px;border-top:1px solid #edf4f2}.fb-inline-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.fb-inline-head>div{min-width:0}.fb-inline-head strong,.fb-inline-head small{display:block}.fb-inline-head strong{color:#2d6159;font-size:12px}.fb-inline-head small{color:#7a8d89;font-size:10px;margin-top:2px;line-height:1.4}.fb-inline-head select{width:auto;min-width:180px}.fb-inline-head .file-action{margin:0;white-space:nowrap}.fb-custom-logo-wrap{display:grid;grid-template-columns:140px 1fr;gap:12px;align-items:center;margin-top:11px}.fb-custom-logo-wrap .file-action{margin:0}.fb-form-logo-preview{min-height:72px;border:1px dashed #c7ddd7;border-radius:12px;background:#fafdfc;display:flex;align-items:center;justify-content:center;position:relative;color:#899a96;font-size:10px;padding:8px}.fb-form-logo-preview img{max-height:70px;max-width:100%;object-fit:contain}.fb-remove-logo{position:absolute;right:5px;top:5px;width:24px;height:24px;border:0;border-radius:50%;background:#fff;color:#8b6764;cursor:pointer}.fb-business-logo-note{display:flex;align-items:center;gap:9px;margin-top:10px;color:#738884;font-size:10px}.mini-brand-logo,.mini-brand-placeholder{width:44px;height:30px;border:1px solid #d8e9e5;border-radius:8px;background:#f8fcfb;display:grid;place-items:center;flex:0 0 auto}.mini-brand-logo img{max-width:100%;max-height:100%;object-fit:contain}.mini-brand-placeholder{font-size:8px;font-weight:800;letter-spacing:.08em;color:#8ca09b}.fb-photo-layout{display:flex;align-items:center;gap:8px;width:max-content;margin:11px 0 9px!important;color:#667b76}.fb-photo-layout select{width:auto;min-width:170px}.fb-intro-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:72px}.fb-photo-empty{grid-column:1/-1;border:1px dashed #cee2dd;border-radius:12px;display:grid;place-items:center;color:#8a9b97;font-size:10px;background:#fbfdfc;min-height:70px}.fb-intro-photo{position:relative;border:1px solid #dfebe8;border-radius:12px;overflow:hidden;background:#f7fbfa;aspect-ratio:4/3}.fb-intro-photo img{width:100%;height:100%;object-fit:cover}.fb-intro-photo>div{position:absolute;left:5px;right:5px;bottom:5px;display:flex;justify-content:center;gap:4px}.fb-intro-photo button{width:25px;height:25px;border:0;border-radius:8px;background:rgba(255,255,255,.94);color:#397970;cursor:pointer;font-weight:800}.fb-intro-photo button:disabled{opacity:.45;cursor:default}.fb-preview-intro-photos{display:grid;gap:8px;margin:14px 0 20px}.fb-preview-intro-photos.grid{grid-template-columns:repeat(3,1fr)}.fb-preview-intro-photos.stack{grid-template-columns:1fr}.fb-preview-intro-photos img{width:100%;max-height:320px;object-fit:cover;border-radius:13px}.fb-preview-intro-photos.grid img{aspect-ratio:4/3}.public-intro-photos{display:none;margin:14px 0 20px;gap:9px}.public-intro-photos.grid,.public-intro-photos.stack{display:grid}.public-intro-photos.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.public-intro-photos.stack{grid-template-columns:1fr}.public-intro-photos img{width:100%;border-radius:14px;object-fit:cover;border:1px solid #e5efec}.public-intro-photos.grid img{aspect-ratio:4/3}.public-intro-photos.stack img{max-height:360px;object-fit:cover}.customer-form #public-form-intro{max-width:560px;margin-left:auto;margin-right:auto;text-align:center;line-height:1.55}
@media(max-width:720px){.brand-logo-setting{grid-template-columns:1fr}.brand-logo-preview{height:110px}.fb-inline-head{align-items:flex-start;flex-direction:column}.fb-inline-head select,.fb-inline-head .file-action{width:100%}.fb-custom-logo-wrap{grid-template-columns:1fr}.fb-intro-photo-grid,.public-intro-photos.grid,.fb-preview-intro-photos.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:470px){.fb-intro-photo-grid,.public-intro-photos.grid,.fb-preview-intro-photos.grid{grid-template-columns:1fr}}

/* Build 2.6 — structured customer submissions inside the Order workspace */
.detail-head-facts{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap;justify-content:flex-end}.detail-status-select,.detail-deadline-fact{min-width:165px;border:1px solid #dfeceb;background:#fff;border-radius:13px;padding:10px 12px}.detail-status-select label,.detail-deadline-fact label{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#7d9393;margin-bottom:4px}.detail-status-select strong,.detail-deadline-fact strong{display:block;color:#315b59;font-size:12px}.detail-deadline-fact{min-width:220px}
.customer-submission-card{padding-bottom:16px}.submission-source{font-size:9px;font-weight:800;color:#377c73;background:#edf9f5;border:1px solid #d9eee7;border-radius:999px;padding:6px 9px;white-space:nowrap}.submission-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.submission-meta>div{border:1px solid #e6f0ee;background:#f8fcfb;border-radius:11px;padding:9px 10px}.submission-meta span,.customer-notes>span{display:block;color:#849896;font-size:9px;text-transform:uppercase;letter-spacing:.07em;margin-bottom:3px}.submission-meta strong{display:block;font-size:11px;color:#3a615e}.customer-products{border:1px solid #e2efec;border-radius:13px;overflow:hidden;margin:10px 0 14px}.customer-product-row{display:grid;grid-template-columns:minmax(0,1fr) 52px 120px;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #edf4f2}.customer-product-row:last-of-type{border-bottom:0}.customer-product-row strong,.customer-product-row small{display:block}.customer-product-row strong{font-size:12px;color:#315d58}.customer-product-row small{font-size:9px;color:#82938f;margin-top:2px}.customer-product-row>b{text-align:center;color:#367d72;font-size:11px}.customer-product-row>span{text-align:right;color:#6d827e;font-size:10px}.customer-product-total{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f2faf7;padding:9px 12px;color:#52736e;font-size:10px}.customer-product-total strong{font-size:12px;color:#26796f}.customer-notes{background:#fffaf0;border:1px solid #f1e5c8;border-radius:12px;padding:11px 12px;margin:10px 0 12px}.customer-notes p{margin:0;color:#665f50;font-size:11px;line-height:1.55;white-space:pre-wrap}.customer-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0 13px}.customer-upload-card{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #e4efed;border-radius:11px;padding:7px;background:#f9fcfb;min-width:0}.customer-upload-card img,.customer-upload-card .file-type{width:54px;height:48px;border-radius:8px;object-fit:cover;background:#eaf5f2;display:grid;place-items:center;color:#4b827a;font-size:9px;font-weight:800}.customer-upload-card strong,.customer-upload-card small{display:block;overflow:hidden;text-overflow:ellipsis}.customer-upload-card strong{font-size:10px;color:#395e5a;white-space:nowrap}.customer-upload-card small{font-size:8px;color:#849591;margin-top:2px}.public-submit-confirmation{text-align:center;padding:20px 4px 6px}.confirmation-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;margin:0 auto 12px;background:#e2f7ed;color:#27795f;font-size:24px;font-weight:800}.public-submit-confirmation h3{font-size:22px;color:#296f67;margin:6px 0}.public-submit-confirmation>p{color:#768985;font-size:12px;margin:0 0 16px}.confirmation-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 auto 16px;max-width:520px;text-align:left}.confirmation-facts>div{border:1px solid #e2efeb;background:#f8fcfa;border-radius:12px;padding:11px}.confirmation-facts span,.confirmation-facts strong{display:block}.confirmation-facts span{font-size:9px;color:#82938f;text-transform:uppercase;letter-spacing:.06em}.confirmation-facts strong{font-size:11px;color:#315e59;margin-top:3px}.public-submit-confirmation .primary{min-width:150px}
@media(max-width:760px){.detail-head-facts{justify-content:flex-start;margin-top:12px}.detail-status-select,.detail-deadline-fact{min-width:0;flex:1 1 180px}.customer-product-row{grid-template-columns:minmax(0,1fr) 42px 90px}.customer-upload-grid{grid-template-columns:1fr}.submission-meta,.confirmation-facts{grid-template-columns:1fr}}

/* Build 2.7 — connected customer records */
.customer-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:14px;align-items:center;margin:14px 0}.customer-summary{display:flex;gap:8px;flex-wrap:wrap}.customer-summary button{border:1px solid #dcebe7;background:#f8fcfb;border-radius:12px;padding:8px 12px;display:flex;align-items:center;gap:8px;color:#56736e;cursor:pointer;box-shadow:none}.customer-summary button span{font-size:10px}.customer-summary button strong{font-size:13px;color:#2c756b}.customer-search{display:flex!important;align-items:center;gap:8px;border:1px solid #dcebe7;background:#fff;border-radius:12px;padding:0 11px;margin:0!important}.customer-search span{color:#78a098}.customer-search input{border:0!important;box-shadow:none!important;padding:10px 0!important;background:transparent!important;width:100%}.customer-record-row{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;align-items:center;gap:11px;text-align:left;border:0;border-bottom:1px solid #edf4f2;background:transparent;padding:13px 8px;cursor:pointer;color:inherit;box-shadow:none}.customer-record-row:last-child{border-bottom:0}.customer-record-row:hover{background:#f8fcfb}.customer-row-main{min-width:0}.customer-row-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.customer-row-main>small,.customer-next{display:block}.customer-row-main>small{margin-top:3px;color:#718781;font-size:10px}.customer-next{margin-top:5px;color:#4d756f;font-size:10px}.customer-state{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:4px 7px;font-size:8px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.customer-state.current{background:#e7f7ef;color:#2d7961}.customer-state.past{background:#f0f3f2;color:#6f807d}.customer-row-arrow{font-size:20px;color:#8bb1aa}.customer-record-modal{padding:20px}.customer-record-shell{position:relative;width:min(1180px,96vw);max-height:94vh;overflow:auto;background:#f7fbfa;border-radius:24px;padding:24px;margin:auto;border:1px solid #deebe8;box-shadow:0 8px 30px rgba(29,81,78,.07)}.customer-record-close{position:sticky;top:0;float:right;z-index:3}.customer-record-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 38px 18px 2px}.customer-record-identity{display:flex;align-items:center;gap:14px}.customer-record-avatar{width:54px!important;height:54px!important;font-size:16px}.customer-record-head h2{margin:2px 0 4px;color:#296f67}.customer-record-head p{margin:0;color:#708681;font-size:10px}.customer-record-actions{display:flex;gap:8px;flex-wrap:wrap}.customer-record-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}.customer-record-metrics article{background:#fff;border:1px solid #e2eeeb;border-radius:14px;padding:12px 14px}.customer-record-metrics span,.customer-record-metrics strong{display:block}.customer-record-metrics span{font-size:9px;color:#7d918d;text-transform:uppercase;letter-spacing:.06em}.customer-record-metrics strong{margin-top:4px;font-size:15px;color:#2d6f67}.customer-record-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.75fr);gap:14px;align-items:start}.customer-record-grid main,.customer-record-grid aside{display:grid;gap:14px}.customer-orders-card{padding:14px}.customer-order-list{display:grid;margin-top:8px}.customer-order-row{display:grid;grid-template-columns:14px minmax(0,1fr) 130px 150px 14px;gap:9px;align-items:center;width:100%;border:0;border-top:1px solid #edf3f1;background:transparent;padding:11px 4px;text-align:left;cursor:pointer;color:inherit;box-shadow:none}.customer-order-row:first-child{border-top:0}.customer-order-row:hover{background:#f8fcfb}.customer-order-row>div>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.customer-order-row strong{font-size:11px;color:#345e59}.customer-order-row small{display:block;margin-top:2px;color:#7d908c;font-size:9px}.customer-order-status{font-size:10px;color:#55736e}.customer-order-date{font-size:10px;color:#6b807c;text-align:right}.customer-order-row>b{color:#87aaa4}.customer-contact-card label{margin:10px 0!important}.customer-contact-card label span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#7c908b;margin-bottom:4px}.customer-contact-card input{width:100%}.customer-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:9px 0}.customer-contact-actions .soft{text-decoration:none;display:flex;align-items:center;justify-content:center;min-height:38px}.customer-notes-card textarea{width:100%;margin:8px 0 10px}.empty-state strong,.empty-state span{display:block}.empty-state span{font-size:10px;margin-top:4px}
@media(max-width:860px){.customer-tools{grid-template-columns:1fr}.customer-record-grid{grid-template-columns:1fr}.customer-record-head{align-items:flex-start;flex-direction:column}.customer-record-metrics{grid-template-columns:1fr}.customer-order-row{grid-template-columns:14px minmax(0,1fr) 90px 14px}.customer-order-date{display:none}.customer-record-actions{width:100%}.customer-record-actions button{flex:1}.customer-record-shell{padding:16px;border-radius:18px}.customer-record-modal{padding:8px}}

/* Build 2.8 — customer communication history */
.customer-record-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.customer-messages-card{padding:14px}.customer-messages-card .detail-card-head{align-items:center}.customer-message-list{display:grid;margin-top:8px}.customer-message-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 3px;border-top:1px solid #edf3f1}.customer-message-row:first-child{border-top:0}.customer-message-channel{display:inline-flex;justify-content:center;border-radius:8px;background:#e8f7f5;color:var(--teal);font-size:8px;font-weight:800;letter-spacing:.05em;padding:5px 6px}.customer-message-row strong,.customer-message-row small{display:block}.customer-message-row strong{font-size:10px;color:#355f5a}.customer-message-row small{font-size:9px;color:#81928f;margin-top:2px}.customer-message-row .delivery{white-space:nowrap}.customer-view-all-messages{margin-top:8px}
.order-message-summary{padding:13px}.order-message-summary .detail-card-head.compact{margin-bottom:5px}.order-message-list{display:grid}.order-message-row{display:grid;grid-template-columns:46px minmax(0,1fr);gap:8px;align-items:start;padding:8px 0;border-top:1px solid #edf3f1}.order-message-row:first-child{border-top:0}.order-message-row>span{font-size:8px;font-weight:800;color:var(--teal);background:#eaf8f5;border-radius:7px;padding:4px 5px;text-align:center}.order-message-row strong,.order-message-row small{display:block}.order-message-row strong{font-size:9px;color:#3d625e;line-height:1.35}.order-message-row small{font-size:8px;color:#829591;margin-top:2px}
@media(max-width:860px){.customer-record-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.customer-message-row{grid-template-columns:48px minmax(0,1fr)}.customer-message-row .delivery{display:none}.customer-record-metrics{grid-template-columns:1fr 1fr}}

/* Build 2.9 — new-order intake & submission review */
.new-order-intake{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eef9f5;border:1px solid #d5ebe4;border-radius:16px;padding:14px 16px;margin:0 0 17px}.new-order-intake-copy{min-width:0}.intake-kicker{display:block;font-size:8px;letter-spacing:.13em;font-weight:900;color:#4d8d82;margin-bottom:3px}.new-order-intake-copy>strong{display:block;color:#2e6f66;font-size:14px}.new-order-intake-copy p{margin:3px 0 0;color:#738985;font-size:10px;line-height:1.45}.new-order-intake-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.new-order-intake-actions button{margin:0;white-space:nowrap;box-shadow:none!important}
.submission-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:12px 0 4px}.submission-overview .submission-meta{margin:0}.submission-counts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.submission-counts span{display:flex;align-items:center;gap:4px;background:#f1f8f6;border:1px solid #e1eeeb;border-radius:999px;padding:5px 8px;color:#708783;font-size:8px;white-space:nowrap}.submission-counts b{color:#2f746b;font-size:10px}.submission-section{border-top:1px solid #edf3f1;padding-top:12px;margin-top:12px}.submission-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.submission-section-title>strong{font-size:10px;text-transform:uppercase;letter-spacing:.065em;color:#647f7a}.submission-section-title>span{min-width:22px;height:22px;border-radius:999px;background:#edf8f5;color:#397d73;display:grid;place-items:center;font-size:9px;font-weight:800}.submission-section .customer-products{margin:0}.submission-section .customer-notes{margin:0}.submission-section .answer-list{border:1px solid #e6efed;border-radius:12px;padding:2px 11px;background:#fbfdfd}.submission-section .answer-row:last-child{border-bottom:0}.customer-file-preview .customer-upload-grid{margin-bottom:0}.customer-upload-card.is-preview{width:100%;appearance:none;text-align:left;font:inherit;cursor:pointer;box-shadow:none}.customer-upload-card.is-preview:hover{background:#f1faf7;border-color:#cfe6df}.customer-upload-card.is-preview:focus-visible{outline:2px solid #68b7aa;outline-offset:2px}
.customer-upload-lightbox{position:fixed;inset:0;z-index:3000;background:rgba(20,48,47,.82);display:none;align-items:center;justify-content:center;padding:38px}.customer-upload-lightbox.open{display:flex}.customer-upload-lightbox img{max-width:min(1100px,92vw);max-height:82vh;object-fit:contain;border-radius:16px;background:#fff}.upload-lightbox-close{position:absolute;top:18px;right:22px;width:40px;height:40px;border:0;border-radius:50%;background:#fff;color:#286f66;font-size:25px;cursor:pointer}.upload-lightbox-caption{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);max-width:80vw;background:rgba(255,255,255,.94);border-radius:999px;padding:7px 12px;color:#3b625e;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#customer-order-section,#order-files-section{scroll-margin-top:16px}
@media(max-width:860px){.new-order-intake{align-items:flex-start;flex-direction:column}.new-order-intake-actions{width:100%;justify-content:flex-start}.submission-overview{grid-template-columns:1fr}.submission-counts{justify-content:flex-start}.customer-upload-lightbox{padding:18px}.customer-upload-lightbox img{max-width:96vw;max-height:78vh}}
@media(max-width:560px){.new-order-intake-actions{display:grid;grid-template-columns:1fr;width:100%}.new-order-intake-actions button{width:100%}.submission-counts span{flex:1;justify-content:center}}

/* Build 3.0 — workflow defaults, assignment and attention polish */
.workflow-defaults-card{grid-column:1/-1}.workflow-default-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:14px}.workflow-default-columns>section{border:1px solid #e1eeeb;border-radius:16px;padding:14px;background:#fbfefd}.workflow-default-title{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:8px}.workflow-default-title strong,.workflow-default-title small{display:block}.workflow-default-title strong{font-size:12px;color:#35675f}.workflow-default-title small{font-size:9px;color:#7b928d;margin-top:3px}.workflow-default-list{display:grid}.workflow-default-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:7px;align-items:center;border-top:1px solid #edf4f2;padding:7px 0}.workflow-default-row:first-child{border-top:0}.workflow-default-row input{width:100%;min-height:36px;border:1px solid transparent;background:transparent;padding:7px 8px;font-size:10px}.workflow-default-row input:hover,.workflow-default-row input:focus{background:#fff;border-color:#dcebe7}.workflow-drag{color:#a7bbb7;font-size:13px;letter-spacing:-3px}.workflow-row-actions{display:flex;align-items:center;gap:3px}.workflow-move,.workflow-delete{width:28px;height:28px;border:0;background:transparent;border-radius:8px;color:#72908a;cursor:pointer;box-shadow:none}.workflow-move:hover,.workflow-delete:hover{background:#eef7f4;color:#25796f}.workflow-move:disabled{opacity:.25;cursor:default}.workflow-add-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:9px}.workflow-add-row input{min-width:0}.workflow-add-row button{white-space:nowrap}.workflow-default-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:8px}.workflow-default-actions span{font-size:8px;color:#819590}.workflow-default-note{display:flex;gap:7px;align-items:flex-start;border-radius:13px;background:#eef8f5;padding:10px 12px;margin-top:14px;color:#64817b;font-size:9px;line-height:1.45}.workflow-default-note strong{white-space:nowrap;color:#33766d}.workflow-status-note{display:block;margin-top:5px!important;color:#81948f!important;font-size:8px!important;line-height:1.35}.workflow-status-note.warning{color:#a06b21!important;background:#fff6e7;border-radius:8px;padding:5px 7px}.intake-assignment{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:9px;color:#718983}.intake-assignment strong{color:#386f67}.intake-assignment .text-btn{font-size:9px;padding:0}.attention-reason{display:inline-flex;width:max-content;margin-top:5px;border-radius:999px;padding:4px 7px;background:#fff4df;color:#9a6a26;font-size:8px;font-weight:800;letter-spacing:.025em}.unassigned-text{color:#a07131!important;font-weight:700}.row-complete-label{font-size:9px;color:#6d8c86;font-weight:700;text-align:center}.task-item .check{font-size:0}.task-item .check:after{content:'✓';font-size:10px;opacity:0}.task-item .check:hover:after,.task-item .check:focus-visible:after{opacity:1}.task-item .check:hover{border-color:#67b8aa;background:#edf9f5}.task-item .red-text{color:#bb4f5b;font-weight:700}
@media(max-width:800px){.workflow-default-columns{grid-template-columns:1fr}.workflow-default-note{display:block}.workflow-default-note strong{display:block;margin-bottom:3px}.workflow-defaults-card{grid-column:auto}}
@media(max-width:520px){.workflow-default-row{grid-template-columns:14px minmax(0,1fr)}.workflow-row-actions{grid-column:2;justify-content:flex-end}.workflow-add-row{grid-template-columns:1fr}.workflow-add-row button{width:100%}}
.incoming-pill{display:inline-flex;align-items:center;border-radius:999px;padding:3px 6px;background:#e8f7f2;color:#24796f;font-size:7px;font-weight:900;letter-spacing:.06em;white-space:nowrap}

/* Build 3.1 — form management polish */
.form-manage-card{display:flex;flex-direction:column;min-height:285px}.template-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.form-manage-card.is-paused{background:#fbfcfc}.live-pill{background:#ddf7ef!important;color:#16745f!important}.paused-pill{background:#eef2f2!important;color:#6f7d7d!important}.form-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.form-meta .lead-tag{margin-left:0}.primary-form-actions{margin-top:14px}.form-secondary-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:10px;border-top:1px solid #edf3f1;margin-top:10px}.form-secondary-actions .text-btn{padding:2px 0}.form-secondary-actions .pause-link{color:#8a6662}.form-secondary-actions .publish-link{color:#177765;font-weight:700}.form-new-card{display:flex;flex-direction:column;justify-content:center}.fb-setting-body .toggle-row.compact{margin:0!important;padding:9px 0;border-bottom:1px solid #edf3f1}.fb-setting-body .toggle-row.compact:last-of-type{border-bottom:0}.fb-setting-body .toggle-row.compact input{width:auto;margin:0}.fb-setting-body .toggle-row.compact strong,.fb-setting-body .toggle-row.compact small{display:block}.fb-setting-body .toggle-row.compact small{margin-top:2px}.template-card .meta.form-meta{gap:6px}.template-card .meta.form-meta span{white-space:nowrap}

/* Build 3.2 — form builder fidelity, reordering and product media */
.fb-field-actions{display:flex;align-items:center;gap:3px;flex:none}.fb-field-actions button,.fb-product-actions button{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#78908b;cursor:pointer;box-shadow:none;font:700 12px 'Nunito Sans',sans-serif}.fb-field-actions button:hover,.fb-product-actions button:hover{background:#eef8f5;color:#21776d}.fb-remove-field{font-size:18px!important;color:#8c6762!important}.fb-drag[draggable="true"]{cursor:grab;user-select:none}.fb-field-v2.is-dragging{opacity:.48;border-color:#75bfb2;background:#f3fbf8}.fb-option-editor{margin:10px 0 2px;padding:10px 12px;background:#f8fcfb;border:1px solid #e4f0ed;border-radius:11px}.fb-option-editor span,.fb-option-editor small{display:block}.fb-option-editor span{font-size:9px;font-weight:800;color:#4b726c;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.fb-option-editor small{font-size:8px;color:#869894;margin-top:4px}.fb-option-editor input{width:100%}
.fb-product-row{grid-template-columns:74px minmax(150px,1.25fr) minmax(130px,1fr) 90px 102px 38px;align-items:center}.fb-product-image-cell{display:grid;gap:5px;align-content:center}.fb-product-image-preview{position:relative;width:62px;height:52px;border:1px dashed #b9d9d0;border-radius:9px;background:#f1f8f6;display:grid;place-items:center;overflow:hidden;color:#8ca29d;font-size:8px;font-weight:800}.fb-product-image-preview img{width:100%;height:100%;object-fit:cover}.prod-image-remove{position:absolute!important;top:3px;right:3px!important;width:19px!important;height:19px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#8c5957!important;cursor:pointer!important;padding:0!important;line-height:19px!important}.file-action.tiny{font-size:8px;padding:4px 6px;min-height:0;justify-content:center}.fb-product-limits{display:grid;grid-template-columns:1fr 1fr;gap:5px}.fb-product-actions{display:grid;gap:2px;justify-content:end}.fb-product-row label small{font-size:8px;color:#849792}.fb-preview-options{display:grid;gap:7px;margin-top:8px}.fb-preview-options span{display:flex;align-items:center;gap:7px;font-size:11px;color:#486963}.fb-preview-options i{font-style:normal;color:#3f8f83}.fb-preview-select,.fb-preview-upload{height:42px;border:1px solid #d9e8e4;border-radius:10px;margin-top:7px;padding:11px 12px;color:#849894;display:flex;align-items:center;justify-content:space-between}.fb-preview-upload{border-style:dashed;color:#2b7c71;justify-content:flex-start}.fb-preview-input.tall{height:72px}.fb-preview-product{align-items:center;gap:10px}.fb-preview-product>img{width:42px;height:42px;object-fit:cover;border-radius:9px;flex:none}.fb-preview-product>span:nth-of-type(1){flex:1}.fb-preview-product small{display:block;color:#879993;font-size:8px;margin-top:2px}
.public-choice-group{border:1px solid #dfece7;border-radius:14px;padding:13px 14px;margin:12px 0}.public-choice-group legend{font-weight:700;padding:0 6px}.public-choice-option{display:flex!important;align-items:center;gap:9px!important;margin:0!important;padding:8px 3px;border-bottom:1px solid #edf4f1;cursor:pointer}.public-choice-option:last-child{border-bottom:0}.public-choice-option input{width:auto!important;min-width:16px;min-height:16px;margin:0}.public-choice-option span{font-size:12px;color:#405e59}.public-product{justify-content:flex-start}.public-product-image{width:58px;height:58px;object-fit:cover;border-radius:11px;flex:none}.public-product-copy{display:grid;gap:2px;flex:1;min-width:0}.public-product .qty-stepper{margin-left:auto;flex:none}.public-product-total{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:end;border-top:1px solid #dcebe7;margin-top:8px;padding-top:11px}.public-product-total span{font-size:10px;color:#6d8580}.public-product-total strong{font-size:16px;color:#26776d}.public-product-total small{grid-column:1/-1;color:#91a19e;font-size:8px}.customer-product-row{align-items:center}.customer-product-image{width:44px;height:44px;border-radius:9px;object-fit:cover;flex:none;margin-right:8px}
@media(max-width:980px){.fb-product-row{grid-template-columns:64px 1fr 1fr}.fb-product-row>.prod-price,.fb-product-row>label:nth-of-type(3){grid-column:auto}.fb-product-limits{grid-column:2}.fb-product-actions{grid-column:3;display:flex;justify-content:flex-end}}
@media(max-width:700px){.fb-field-head{align-items:flex-start;flex-wrap:wrap}.fb-field-head>.bf-label{order:2;flex-basis:calc(100% - 28px)}.fb-field-actions{margin-left:auto}.fb-product-row{grid-template-columns:64px 1fr}.fb-product-image-cell{grid-row:1/3}.fb-product-limits{grid-column:2}.fb-product-actions{grid-column:2}.public-product{display:grid;grid-template-columns:auto minmax(0,1fr) auto}.public-product .qty-stepper{grid-column:3;grid-row:1/2}.public-product-copy{grid-column:2}.customer-product-image{width:38px;height:38px}}
.customer-state.new{background:#eef4f3;color:#667c78}

/* Build 3.3 — customer-facing business profile, portal and safer template editing */
.business-profile-card form{display:grid;gap:12px}.business-profile-card .two{gap:10px}.business-profile-card textarea{resize:vertical}.business-profile-card .panel-head p{margin-top:3px}
.message-template-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:-4px 0 12px}.message-template-tools>span{font-size:10px;font-weight:800;color:#78908c;text-transform:uppercase;letter-spacing:.06em;margin-right:3px}.message-template-tools button{border:1px solid #dbe9e6;background:#f8fcfb;color:#346f69;border-radius:999px;padding:6px 9px;font:700 10px 'Nunito Sans',sans-serif;cursor:pointer}.message-template-tools button:hover{background:#eef8f5}
.customer-portal-modal .portal-shell{width:min(640px,calc(100vw - 24px))}.portal-brand{display:flex;align-items:center;justify-content:center;gap:11px;text-align:left;margin-bottom:24px}.portal-brand>img{width:54px;height:54px;object-fit:contain;background:#fff;border:1px solid #deebe8;border-radius:14px;padding:5px}.portal-brand-fallback{width:50px;height:50px;border-radius:14px;background:#e8f6f2;display:grid;place-items:center;color:#267c73;font-size:21px;font-weight:800}.portal-brand div:last-child{display:flex;flex-direction:column;gap:2px}.portal-brand strong{font-size:16px;color:#285f59}.portal-brand small{font-size:8px;letter-spacing:.19em;color:#80a29d}.portal-step.current i{outline:3px solid rgba(82,182,164,.16);outline-offset:2px}.portal-section{margin-top:16px;background:#fff;border:1px solid #e0eeeb;border-radius:17px;padding:16px}.portal-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.portal-section-head h3{margin:0;font-size:13px;color:#315f5a}.portal-section-head>span{font-size:10px;color:#76938e;background:#eef7f4;border-radius:999px;padding:4px 8px}.portal-products{display:grid;gap:7px}.portal-product{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:9px;padding:8px 0;border-bottom:1px solid #edf4f2}.portal-product:last-of-type{border-bottom:0}.portal-product img{width:42px;height:42px;object-fit:cover;border-radius:9px}.portal-product div strong,.portal-product div small{display:block}.portal-product div strong{font-size:11px;color:#315f5a}.portal-product div small{font-size:9px;color:#809a95;margin-top:2px}.portal-product>b{font-size:11px;color:#557a75}.portal-product>span{font-size:10px;color:#557a75}.portal-product-total{display:flex;justify-content:space-between;padding-top:9px;font-size:11px;color:#315f5a}.portal-message-list{display:grid;gap:8px}.portal-message-list article{padding:10px 11px;background:#f8fcfb;border-radius:12px}.portal-message-list article>div{display:flex;justify-content:space-between;gap:10px}.portal-message-list strong{font-size:10px;color:#315f5a}.portal-message-list time{font-size:8px;color:#8aa19d}.portal-message-list p{font-size:9px;line-height:1.55;color:#6c8984;margin:6px 0 0}.portal-contact p{font-size:10px;line-height:1.55;color:#6c8984}.portal-contact-actions{display:flex;gap:7px;flex-wrap:wrap}.portal-contact-actions a{text-decoration:none}.portal-share{margin-top:17px}.portal-share small{display:block;text-align:center;font-size:8px;line-height:1.45;color:#91a4a0;margin-top:8px}
@media(max-width:560px){.business-profile-card .two{grid-template-columns:1fr}.portal-brand{justify-content:flex-start}.portal-card{grid-template-columns:1fr}.portal-product{grid-template-columns:auto 1fr auto}.portal-product>span{grid-column:2/4}.portal-message-list article>div{display:block}.portal-message-list time{display:block;margin-top:2px}}
.customer-status-mode{background:#f4faf8}.customer-status-mode .app-shell{display:none}.customer-status-mode .customer-portal-modal{position:fixed;inset:0;display:flex!important;align-items:flex-start;justify-content:center;overflow:auto;background:#f4faf8;padding:34px 12px}.customer-status-mode .customer-portal-modal .portal-shell{max-height:none;box-shadow:none;border:1px solid #dcebe7;margin:auto}.customer-status-mode [data-portal-close]{display:none}
#public-form-header{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.public-business-name{font-size:12px;color:#416f69}.confirmation-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}.confirmation-actions button{min-width:150px}

/* Build 3.4 — commercial readiness, privacy, audit and account UX */
.trial-status-badge{border:1px solid #d8e9e6;background:#fbfdfd;color:#52736f;border-radius:20px;padding:8px 11px;font:700 10px 'Nunito Sans';white-space:nowrap;cursor:pointer}.trial-status-badge:hover{background:#f2faf8}.trial-status-badge.ended{background:#fff2f2;border-color:#f3d1d4;color:#a94e59}.commercial-card{scroll-margin-top:24px}.billing-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:14px 0}.billing-summary>div,.diagnostic-grid>div{border:1px solid #e4eeee;border-radius:12px;padding:11px;background:#fbfefe}.billing-summary span,.diagnostic-grid span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.billing-summary strong,.diagnostic-grid strong{display:block;margin-top:5px;color:var(--deep);font-size:13px}.commercial-note{padding:11px 12px;border-radius:12px;background:#effaf7;color:#4d6f69;font-size:12px;line-height:1.45}.commercial-note strong{color:var(--teal)}.settings-actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.privacy-list>div{padding:12px 0;border-bottom:1px solid #edf3f2;display:grid;grid-template-columns:1fr auto;column-gap:12px;align-items:center}.privacy-list>div:last-child{border-bottom:0}.privacy-list strong,.privacy-list small{display:block}.privacy-list small{grid-column:1;color:var(--muted);margin-top:2px;line-height:1.4}.privacy-list button{grid-column:2;grid-row:1/3}.privacy-danger strong{color:#9c4b54}.ghost.danger{background:#fff5f5;border-color:#f0d7d9;color:#a44c55}.audit-preview{margin-top:4px}.audit-row{display:grid;grid-template-columns:28px 1fr auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf3f2}.audit-row:last-child{border-bottom:0}.audit-row>i{width:28px;height:28px;border-radius:9px;background:#edf9f6;display:grid;place-items:center;color:var(--teal);font-style:normal}.audit-row strong,.audit-row small{display:block}.audit-row strong{font-size:12px}.audit-row small{color:var(--muted);font-size:10px;margin-top:2px}.audit-row time{font-size:10px;color:#7d9095;white-space:nowrap}.diagnostic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:12px}.billing-modal-status{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:15px 0}.billing-modal-status>div{border:1px solid #e1ecea;border-radius:12px;padding:11px}.billing-modal-status span,.billing-modal-status strong{display:block}.billing-modal-status span{font-size:10px;color:var(--muted);text-transform:uppercase}.billing-modal-status strong{margin-top:4px;font-size:12px}.billing-provider-note{margin:14px 0;padding:14px;border-radius:14px;background:#f5fbfa;border:1px solid #e2efed}.billing-provider-note p{margin:5px 0 0;color:#607a76;font-size:12px;line-height:1.5}.billing-provider-action[disabled]{opacity:.65}.danger-pill{background:#fff0f1;color:#a24d57}.danger-button{background:#a7545c}.danger-button:disabled{opacity:.45;cursor:not-allowed}.account-session-panel{margin:10px 0 16px}.account-mode-card,.signed-in-card{padding:14px;border-radius:14px;border:1px solid #dcebe8;background:#f8fdfc}.account-mode-card strong,.account-mode-card span,.signed-in-card>strong,.signed-in-card>small{display:block}.account-mode-card span,.signed-in-card>small{color:var(--muted);margin-top:4px;line-height:1.45}.account-mode-card.error{background:#fff5f5;border-color:#efd7d9}.signed-in-card>strong{font-size:15px;margin-top:8px}.signed-in-card label{display:block;margin-top:12px;font-weight:700}.signed-in-card select{width:100%;margin-top:5px;border:1px solid #d9e6e6;border-radius:10px;padding:10px;background:#fff}.auth-forgot{display:block;margin:8px 0 0 auto}.soft-pill.ended{background:#fff0f1;color:#a94e59}
@media(max-width:700px){.billing-summary,.billing-modal-status{grid-template-columns:1fr}.privacy-list>div{grid-template-columns:1fr}.privacy-list small,.privacy-list button{grid-column:1}.privacy-list button{grid-row:auto;margin-top:8px}.audit-row{grid-template-columns:28px 1fr}.audit-row time{grid-column:2}.diagnostic-grid{grid-template-columns:1fr 1fr}.trial-status-badge{display:none}}

/* Build 3.5 — standalone customer web form + cloud sync health */
.public-form-link-mode{background:#f4faf8}.public-form-link-mode .app-shell{display:none}.public-form-link-mode #public-modal{position:fixed;inset:0;display:flex!important;align-items:flex-start;justify-content:center;overflow:auto;background:#f4faf8;padding:28px 12px}.public-form-link-mode #public-modal .customer-form{max-height:none;box-shadow:none;border:1px solid #dcebe7;margin:auto}.public-form-link-mode #public-modal [data-close]{display:none}.public-form-link-mode .public-form-switcher{display:none!important}
.cloud-sync-card .sync-health-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.cloud-sync-card .sync-health-grid>div{padding:12px;border:1px solid #e2efec;border-radius:14px;background:#f9fcfb}.cloud-sync-card .sync-health-grid span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#78908a;margin-bottom:4px}.cloud-sync-card .sync-health-grid strong{font-size:14px;color:#244b45}.sync-error{display:flex;gap:8px;flex-direction:column;padding:10px 12px;margin:10px 0;border-radius:12px;background:#fff6f3;border:1px solid #f2d7cf;font-size:12px}.sync-error strong{color:#a74f3c}.cloud-badge.pending{background:#fff8e8;border-color:#ead9ae;color:#806423}.cloud-badge.offline{background:#f2f4f4;border-color:#d7dddd;color:#66706f}
@media(max-width:700px){.public-form-link-mode #public-modal{padding:0}.public-form-link-mode #public-modal .customer-form{min-height:100vh;border:0;border-radius:0}.cloud-sync-card .sync-health-grid{grid-template-columns:1fr}}

.delivery.queued{color:#8a7b4b}.delivery.failed{color:#b95b5b}

/* Build 3.6 — private file storage + billing handoff */
.attachment-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}.attachment-actions .text-btn{color:var(--teal);padding:5px 7px;border-radius:8px}.attachment-actions .text-btn:hover{background:#edf8f5}.detail-upload:has(input:disabled){opacity:.55;pointer-events:none}.storage-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:12px 0}.storage-security-grid>div{border:1px solid #e4eeee;border-radius:12px;padding:11px;background:#fbfefe}.storage-security-grid span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.05em}.storage-security-grid strong{display:block;margin-top:5px;color:var(--deep);font-size:12px;line-height:1.35}.private-storage-card{scroll-margin-top:24px}
@media(max-width:700px){.storage-security-grid{grid-template-columns:1fr}.attachment-row{align-items:flex-start}.attachment-actions{align-self:center}}

/* Build 3.7 accessibility hardening */
.skip-link{position:fixed;left:16px;top:12px;z-index:10000;transform:translateY(-160%);background:#fff;color:var(--teal);border:2px solid var(--teal);border-radius:10px;padding:9px 13px;font-weight:800;text-decoration:none;box-shadow:0 2px 10px rgba(23,79,73,.12)}
.skip-link:focus{transform:translateY(0)}
:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(16,125,115,.34);outline-offset:3px}
.modal-card:focus{outline:none}
.dialog-open{overflow:hidden}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* Build 3.8 — workload ordering */
.recent-card td .recent-received{display:block;color:var(--deep);font-weight:600;font-size:11px;white-space:nowrap}
.recent-card td small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px;white-space:nowrap}

/* Build 3.9 — secure team invitations + first-workspace onboarding */
.invite-permissions{margin-top:.35rem}.invite-permissions .field-label{display:block;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted,#697b77);margin-bottom:.55rem}.invite-field-picks{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .75rem}.invite-field-picks label{font-size:.88rem}.invite-delivery-result,.team-invite-notice{border:1px solid rgba(24,145,123,.16);background:rgba(225,248,241,.55);border-radius:16px;padding:12px 14px;margin:12px 0;display:grid;gap:6px}.invite-delivery-result[hidden]{display:none}.invite-delivery-result small,.team-invite-notice span{color:var(--muted,#667975);line-height:1.45}.invite-link-row{display:flex;gap:8px;align-items:center}.invite-link-row input{min-width:0;flex:1;font-size:.82rem}.pending-team-invites{margin:0 0 16px;border:1px solid rgba(25,116,101,.12);background:rgba(244,252,249,.7);border-radius:18px;padding:14px 16px}.pending-invite-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}.pending-invite-head h3{margin:0 0 3px}.pending-invite-head p{margin:0;color:var(--muted,#6a7b78);font-size:.88rem}.pending-invite-list{display:grid}.pending-invite-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid rgba(22,100,87,.08)}.pending-invite-row:first-child{border-top:0}.pending-invite-row>div:first-child{display:grid;gap:3px}.pending-invite-row small{color:var(--muted,#6a7b78)}.pending-invite-actions{display:flex;gap:6px;flex-wrap:wrap}.workspace-onboarding form{display:grid;gap:10px;margin:14px 0}.workspace-onboarding>.ghost{margin-top:4px}.cloud-badge.pending{background:#fff6dc;color:#795a00;border-color:#edd89a}
@media(max-width:720px){.invite-field-picks{grid-template-columns:1fr}.invite-link-row,.pending-invite-row{align-items:stretch;flex-direction:column}.pending-invite-actions{justify-content:flex-start}}


/* Build 4.0 — final typography direction: Sacramento + Nunito Sans */
:root{--font-ui:'Nunito Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--font-script:'Sacramento','Segoe Script','Snell Roundhand',cursive}
body,input,select,textarea,button{font-family:var(--font-ui)}
.brand-script,.script,.topbar h1,.panel-head h3,.section-head h2,.sidebar-quote span,.quote-card span,.quick-card h3,.you-got-this,.modal-card h2,.portal-hero h2,.automation-hero h3{font-family:var(--font-script)}
.topbar h1{font-size:61px;line-height:1.02;letter-spacing:0}
.section-head h2{font-size:43px;line-height:1.05}
.panel-head h3{font-size:31px;line-height:1.08}
.quick-card h3{font-size:30px;line-height:1.08}
.brand-script{font-size:40px;line-height:1}
.sidebar-quote span,.quote-card span{line-height:1.08}
.portal-hero h2{line-height:1.05}
.automation-hero h3{line-height:1.02}
@media(max-width:760px){.topbar h1{font-size:52px}.section-head h2{font-size:39px}}

/* Build 4.1 — staging launch-readiness checks */
.launch-readiness-card{scroll-margin-top:24px}.readiness-summary{display:grid;gap:8px;margin:12px 0 14px;padding:13px 14px;border:1px solid #dfeeea;border-radius:15px;background:#f8fcfb}.readiness-summary>div:first-child{display:flex;justify-content:space-between;gap:16px;align-items:baseline}.readiness-summary span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.readiness-summary strong{font-size:14px;color:var(--deep)}.readiness-summary small{color:var(--muted);line-height:1.4}.readiness-meter{height:7px;border-radius:999px;background:#e8f2ef;overflow:hidden}.readiness-meter i{display:block;height:100%;width:0;background:var(--teal);border-radius:inherit;transition:width .2s ease}.readiness-list{display:grid;border-top:1px solid #e4efec;margin:6px 0 14px;max-height:380px;overflow:auto}.readiness-row{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;padding:10px 2px;border-bottom:1px solid #edf4f2}.readiness-row>i{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;font-style:normal;font-size:12px;font-weight:900}.readiness-row>div{display:grid;gap:2px}.readiness-row strong{font-size:12.5px;color:var(--deep);line-height:1.35}.readiness-row small{font-size:11px;color:var(--muted);line-height:1.4}.readiness-row em{font-style:normal;font-size:9px;letter-spacing:.05em;text-transform:uppercase;color:#71827e;margin-left:5px}.readiness-row.pass>i{background:#e6f6ef;color:#247657}.readiness-row.fail>i{background:#fff0ed;color:#ad5648}.readiness-row.optional>i,.readiness-row.pending>i{background:#f0f4f3;color:#74827f}.launch-readiness-card .soft-pill.ready{background:#e7f7ef;color:#247657}.launch-readiness-card .soft-pill.blocked{background:#fff0ed;color:#a94f43}.launch-readiness-card .settings-actions{flex-wrap:wrap}
@media(max-width:700px){.readiness-summary>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}.launch-readiness-card .settings-actions>*{flex:1 1 100%}}


/* Build 4.3 — typography verification + rename-ready brand treatment */
:root{--font-ui:'Nunito Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--font-script:'Sacramento','Brush Script MT','Segoe Script','Snell Roundhand',cursive}
html[data-font-ui="fallback"]{--font-ui:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[data-font-script="fallback"]{--font-script:'Brush Script MT','Segoe Script','Snell Roundhand',cursive}
body,input,select,textarea,button{font-family:var(--font-ui)!important;font-optical-sizing:auto}
.brand-script,.script,.topbar h1,.panel-head h3,.section-head h2,.sidebar-quote span,.quote-card span,.quick-card h3,.you-got-this,.modal-card h2,.portal-hero h2,.automation-hero h3{font-family:var(--font-script)!important;font-weight:400;font-style:normal;font-synthesis:none}
.brand-script .brand-name{font:inherit;vertical-align:baseline}.brand-script .brand-heart{font-size:27px;vertical-align:top}.brand small[data-product-tagline]{font-family:var(--font-ui)!important;letter-spacing:.23em}

/* Build 4.5 — startup recovery / Safari preview safety */
#bloom-startup-recovery{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;font-family:'Nunito Sans',Arial,sans-serif}
.bloom-recovery-backdrop{position:absolute;inset:0;background:rgba(17,56,54,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.bloom-recovery-card{position:relative;width:min(520px,100%);background:#fff;border:1px solid #d8eee9;border-radius:24px;padding:28px;box-shadow:0 18px 55px rgba(20,72,68,.16);color:#254b49}
.bloom-recovery-card h2{margin:10px 0 8px;font-family:'Sacramento','Brush Script MT','Segoe Script',cursive;font-size:38px;line-height:1.05;color:#16736d;font-weight:400}
.bloom-recovery-card p{margin:8px 0;line-height:1.55}.bloom-recovery-note{font-size:13px;color:#66817f}
.bloom-recovery-pill{display:inline-block;padding:5px 9px;border-radius:999px;background:#eaf8f4;color:#16736d;font-size:11px;font-weight:800;letter-spacing:.08em}
.bloom-recovery-actions{display:grid;gap:9px;margin:20px 0 14px}.bloom-recovery-actions button{min-height:44px;border-radius:12px;border:0;padding:10px 14px;font:700 14px 'Nunito Sans',Arial,sans-serif;cursor:pointer;background:#16736d;color:#fff}.bloom-recovery-actions .secondary{background:#eaf8f4;color:#12655f}.bloom-recovery-actions .ghost{background:#fff;color:#426b68;border:1px solid #d5e7e3}
.bloom-recovery-card small{display:block;color:#6e8583;line-height:1.45}

/* Build 4.7 — Bloom Dock flower-palette identity.
   Brand surface colours deliberately do not modify .status-dot, urgency indicators,
   deadline-count, red/amber/green status, or the Task sort semantics. */
:root {
  --brand-navy:#212c5a;
  --brand-violet:#6258e8;
  --brand-lavender:#eee8ff;
  --brand-yellow:#fff2c5;
  --brand-blue:#e5f3ff;
  --brand-mint:#e1f8ed;
  --teal:#6258dd;
  --deep:#292f66;
  --dark:#222b53;
  --ink:#313959;
  --muted:#747d9a;
  --line:#e6e9f3;
  --mint:#e1f8ed;
  --mint2:#c9f0df;
  --aqua:#edf6ff;
  --lav:#eee8ff;
  --sidebar:#f2edff;
  --shadow:0 3px 14px rgba(42,49,106,.045);
}
html{background:#fafbff}
body{
  background:radial-gradient(ellipse 720px 400px at 95% -9%,rgba(223,214,255,.45),transparent 80%),
             radial-gradient(ellipse 500px 450px at 65% 65%,rgba(221,246,255,.20),transparent 85%),#fafbff;
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
.app-shell{grid-template-columns:248px minmax(0,1fr)}
.sidebar{
  background:linear-gradient(170deg,#f6f1ff 0%,#eff2ff 53%,#eaf9f2 100%);
  border-right:1px solid #e2e5f4;
  color:var(--brand-navy);
  padding:0 14px 14px;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:#d7d1ef transparent;
}
.brand{height:160px;flex:none;gap:0;color:var(--brand-navy);justify-content:flex-start;padding-top:9px}
.brand-emblem{height:84px;width:103px;overflow:hidden;position:relative;border-radius:20px;flex:none;isolation:isolate}
.brand-emblem img{position:absolute;width:144px;height:144px;max-width:none;left:-20px;top:-15px;mix-blend-mode:multiply}
.brand .brand-script{font-size:38px;line-height:1.0;color:#2d356d;letter-spacing:.006em;white-space:nowrap;margin-top:0}
.brand .brand-script .brand-name{font-size:inherit;vertical-align:baseline}
.brand .brand-heart{display:none}
.brand small[data-product-tagline]{font-size:8px;letter-spacing:.22em;margin-top:8px;color:#757b9f;font-weight:800}
.sidebar nav{gap:3px;padding-top:5px}
.sidebar .nav-item{
  color:#565f87;font-size:12.5px;font-weight:800;padding:9px 12px;
  gap:11px;border-radius:12px;min-height:38px;transition:background .17s ease,color .17s ease,transform .17s ease;
}
.sidebar .nav-item span{width:22px;flex:none;color:#7c73c9;font-size:18px}
.sidebar .nav-item:hover{background:#fff9fc;color:var(--brand-navy);transform:translateX(2px)}
.sidebar .nav-item.active{
  background:linear-gradient(100deg,#ded6ff,#e5eaff 67%,#e8f8f1);
  color:#39318f;box-shadow:0 2px 8px rgba(93,85,177,.055);
  border:1px solid #dcd6fb;padding:8px 11px;
}
.sidebar .nav-item.active span{color:#5749ce}
.sidebar-quote{
  min-height:99px;flex:none;margin:auto 2px 11px;
  background:radial-gradient(circle at 94% 19%,#ffe99e 0 18px,transparent 19px),
             radial-gradient(circle at 8% 82%,#c6edff 0 28px,transparent 29px),
             linear-gradient(125deg,#e8dfff,#f5edff 55%,#ecfff4);
  border:1px solid #e1dbfa;box-shadow:none;color:#5b4db4;
  border-radius:17px;overflow:hidden;justify-content:flex-start;padding:14px 15px;text-align:left;
}
.sidebar-quote span{font-size:30px;line-height:.95}
.sidebar-quote span em{font-weight:400;font-style:normal;color:#3d3489}
.sidebar-quote b{right:15px;bottom:10px;color:#a18eeb;font:40px var(--font-script)}
.profile{color:var(--brand-navy);border-top:1px solid #dedff1;padding:11px 3px 2px;flex:none}
.profile span{color:#697493;opacity:1}
.profile button{color:#6258b7}
.avatar{background:linear-gradient(135deg,#aaa4fa,#7570e9);color:white;border-radius:12px}
.main{max-width:1590px;padding:28px 32px 48px}
.topbar{min-height:119px;height:auto;align-items:flex-start;margin-bottom:15px}
.welcome-wrap{padding:0 0 0 5px}
.welcome-wrap:before{
  content:'✦  YOUR SPACE TO BLOOM';display:block;
  font:800 10px/1.2 var(--font-ui);letter-spacing:.17em;color:#9684c9;
  margin:2px 0 11px 5px;
}
.topbar h1{font-size:61px;color:#403590;letter-spacing:0;line-height:.96}
.brush-line{
  width:210px;height:5px;margin:9px 0 5px 27px;opacity:.90;border-radius:999px;
  background:linear-gradient(90deg,#a38bf8 0%,#a38bf8 29%,#ffde82 29%,#ffde82 50%,#9bd6ff 50%,#9bd6ff 73%,#a7ebc5 73%);
  transform:rotate(-1.4deg)
}
.top-actions{padding-top:5px;flex-wrap:wrap;justify-content:flex-end}
.search{background:#fff;border:1px solid #e6e8f3;box-shadow:var(--shadow);color:#7365d1}
.search input{font-size:12px}
.search:focus-within{border-color:#aaa0ef;outline:2px solid rgba(122,113,220,.12)}
.icon-btn{background:#f0edff;color:#6355d9}
.chev{color:#6258ba}
.panel,.calendar-card,.settings-card,.member,.modal-card{
  border-color:var(--line);box-shadow:var(--shadow);border-radius:17px;
}
.panel{background:#fff}
.dashboard-cards{gap:15px;margin-bottom:19px}
.dashboard-cards .metric{border-radius:17px;box-shadow:var(--shadow);border:1px solid rgba(48,51,93,.045);padding:18px 17px}
.dashboard-cards .metric.green{background:linear-gradient(115deg,#e1f9ed,#f2fdf7)}
.dashboard-cards .metric.amber{background:linear-gradient(115deg,#fff0c7,#fffaed)}
.dashboard-cards .metric.rose{background:linear-gradient(115deg,#ffe4e9,#fff6f7)}
.dashboard-cards .metric.upcoming,.dashboard-cards .metric.mint{background:linear-gradient(115deg,#e0f0ff,#f1f8ff)}
.dashboard-cards .metric.upcoming .metric-icon{background:#d2e8ff;color:#5274b9}
.dashboard-cards .metric strong{color:var(--brand-navy)}
.dashboard-cards .metric>b{color:#8477d1}
.panel-head{border-bottom-color:#eff0f8}
.panel-head h3,.quick-card h3{color:#3f3692}
.section-head h2{color:#403590}
.text-btn{color:#6758ce;font-weight:800}
.task-item,.recent-card td{border-bottom-color:#f0f1f8}
.quote-card{
  border-color:#e1d9f9;background:radial-gradient(circle at 92% 10%,rgba(255,217,112,.55) 0 29px,transparent 31px),
    radial-gradient(circle at 0% 101%,rgba(143,210,255,.45) 0 75px,transparent 78px),
    linear-gradient(133deg,#ece6ff,#f9f4ff 60%,#ebf9f2);
}
.quote-card:before{background:rgba(183,165,243,.23)}
.quote-card:after{background:rgba(151,224,199,.38)}
.quote-card span{color:#5846ac}
.quick-card .soft{background:#f0ebff;color:#50449f}
.quick-card .soft:nth-of-type(3){background:#e7f4ff;color:#425f9d}
.quick-card .soft:nth-of-type(4){background:#e4f8ed;color:#346f58}
.primary{background:linear-gradient(135deg,#7062eb,#5950cf);color:white;box-shadow:0 2px 6px rgba(89,80,207,.13)}
.primary:hover{filter:brightness(1.045)}
.secondary{background:#eeeaff;color:#5045b4}
.ghost{color:#594cbe}
.chip.active{background:#eeeaff;color:#5546bd;border-color:#d9d2fb}
.search-empty{color:var(--muted)}
.event-row>div:nth-child(2){background:#edf6ff}
.date-box{border-color:#e0e6f5;color:#5e51bc;background:#fbfaff}
.you-got-this{background:linear-gradient(90deg,#e9e0ff,#e0f4ff,#e7faef);color:#5448ac;border-radius:11px}
.badge.waiting{background:#f0eaff;color:#6650a3}
.nav-item:focus-visible,.primary:focus-visible,.secondary:focus-visible,.chip:focus-visible,.calendar-day:focus-visible,.cal-day:focus-visible{
  outline:3px solid #8d7af2;outline-offset:2px
}
/* Keep calendar numbered circles semantic, while Events remain independent stars. */
.cal-day{border-color:#e9eaf4}
.cal-day.selected{box-shadow:inset 0 0 0 2px #8271df}
.event-dot{color:#806ac8}
.calendar-event{background:#faf7ff;border-color:#eae2fa}
@media(max-height:820px){.sidebar-quote{display:none}.brand{height:146px}.sidebar .nav-item{min-height:35px;padding-top:7px;padding-bottom:7px}}
@media(max-width:1140px){.main{padding:25px 20px 38px}.app-shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.top-actions .search{width:250px}}
@media(max-width:820px){
  .app-shell{display:block}.sidebar{position:relative;top:auto;min-height:0;height:auto;padding:8px 12px;overflow:visible}
  .brand{height:104px;position:relative;padding:8px 0 8px 98px;align-items:flex-start;justify-content:center}
  .brand-emblem{position:absolute;top:3px;left:4px}
  .brand .brand-script{font-size:36px}.brand small[data-product-tagline]{margin-top:8px}
  .sidebar nav{padding:3px 0 6px;display:flex;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:5px;-webkit-overflow-scrolling:touch}
  .sidebar .nav-item{width:auto;flex:0 0 auto;white-space:nowrap;padding:8px 10px;min-height:38px}
  .sidebar .nav-item.active{padding:7px 9px}
  .sidebar-quote,.sidebar .profile{display:none}
  .main{padding:20px 14px 32px}.topbar{gap:12px;flex-wrap:wrap;margin-bottom:16px}
  .topbar h1{font-size:50px}.top-actions{width:100%;justify-content:flex-start}.top-actions .search{flex:1;min-width:160px;width:auto}
  .dashboard-cards{gap:9px}
}
@media(prefers-reduced-motion:reduce){.sidebar .nav-item{transition:none}.sidebar .nav-item:hover{transform:none}}

/* Calendar deadline counts continue to use the original functional colour meanings. */
.deadline-count.amber{background:#fff0d2;color:#a56c00;border-color:#f5dc9b}
.deadline-count.green{background:#def6ea;color:#2f805d;border-color:#c6ead8}
.deadline-count.red{background:#fde5e7;color:#b84d58;border-color:#f5cdd1}
.deadline-count.grey{background:#eaf0f7;color:#677a96;border-color:#dbe5ef}
.deadline-completed{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;font:800 11px/1 var(--font-ui);color:#67748d;background:#eef1f7;border:1px solid #dfe5ed}
.deadline-legend{gap:8px 12px}.deadline-legend>span{display:inline-flex;align-items:center;gap:4px;font-size:10px;color:#69718e}
.deadline-legend .deadline-completed{width:18px;height:18px}
.cal-dots{display:flex;flex-wrap:wrap;gap:3px;align-items:center;min-height:22px}
.cal-event-marks{display:flex;align-items:center;min-height:16px;margin-top:2px;color:#7b68bd}
.cal-event-marks:empty{display:none}
.calendar-list-heading{font:800 10px/1.3 var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:#6b6599;margin:13px 0 5px}
.calendar-list-heading.event-list-heading{margin-top:17px;padding-top:11px;border-top:1px dashed #e3dff1;color:#8067ac}

/* Shared brand treatment across the existing connected workspaces. */
#orders .table-panel,#customers .customer-list,#events .events-manager,#events .event-help,#forms .form-card,
#team .member,#settings .panel,#inventory .panel,#reports .panel,#communications .panel,
#calendar .calendar-card,#calendar .day-panel{background:#fff;border-color:#e7e8f3;box-shadow:var(--shadow)}
.order-line.clickable-order:hover,.event-manage-card:hover,.customer-row:hover{background:#faf9ff}
.customer-tab.active,.shopping-tab.active,.event-tabs .customer-tab.active{background:#eee9ff;border-color:#d9d0f8;color:#51449f}
.automation-hero{background:radial-gradient(circle at 95% 15%,rgba(255,225,140,.47),transparent 28%),linear-gradient(125deg,#ede6ff,#f8f6ff 55%,#e6f5ff);border-color:#e6dff8}
.automation-hero h3{color:#51449e}
.automation-hero p{color:#6e7093}
.calendar-head h3{color:#41358e}
.day-panel>.pill,.soft-pill:not(.ready):not(.blocked):not(.ended){background:#f0ebff;color:#6552b8}
.customer-form,.modal-card{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(125deg,#ded6ff,#e0f2ff,#e4f8ed) border-box;border:1px solid transparent}
.modal-card h2{color:#473a97}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid rgba(110,97,220,.37);outline-offset:2px}
.public-form-switcher,.message-preview,.task-date-preview{background:#f8f6ff;border-color:#e8e1fa}
.event-date-tile,.event-symbol{background:#f0ecff;color:#6955bf}
.event-manage-head h3,.event-help h3{color:#44378e}
@media(max-width:820px){.brand{background:transparent;margin-bottom:0}.sidebar nav{gap:5px}.main{width:100%}}

/* Build 4.8 — public customer journeys use the Bloom Dock flower palette too.
   These are brand surfaces only; urgency colours and task semantics remain unchanged. */
.customer-status-mode,.public-form-link-mode{background:#fafbff}
.customer-status-mode .customer-portal-modal,.public-form-link-mode #public-modal{
  background:radial-gradient(circle at 12% 4%,rgba(238,232,255,.92),transparent 34%),
             radial-gradient(circle at 91% 18%,rgba(229,243,255,.9),transparent 31%),
             radial-gradient(circle at 83% 88%,rgba(225,248,237,.75),transparent 28%),#fafbff;
}
.customer-status-mode .customer-portal-modal .portal-shell,.public-form-link-mode #public-modal .customer-form{
  border-color:#e3e3f2;background:#fff;box-shadow:0 12px 38px rgba(54,55,112,.07)
}
.customer-portal-modal{background:rgba(40,43,84,.28)}
.portal-shell{background:#fff}
.portal-brand>img{border-color:#e4e2f3;background:#fff}
.portal-brand-fallback{background:linear-gradient(135deg,#eee8ff,#e5f3ff);color:#5547ad}
.portal-brand strong{color:#343868}.portal-brand small{color:#8b83b5}
.portal-hero>span{color:#8978bd}.portal-hero h2{color:#4c409c}.portal-hero p{color:#737b98}
.portal-status{background:linear-gradient(125deg,#f1edff,#f4f8ff 58%,#edf9f2);border-color:#e3def7}
.portal-status-pill{color:#5e50b5}.portal-status strong{color:#3e4474}.portal-status small{color:#767e9a}
.portal-step{color:#9ca1b5}.portal-step:not(:last-child):after{background:#e4e5ef}.portal-step.done:not(:last-child):after{background:#9a8ce8}
.portal-step i{background:#f0f1f6}.portal-step.done i{background:#7567dc;color:#fff}.portal-step.current i{outline-color:rgba(117,103,220,.17)}
.portal-card,.portal-section{border-color:#e7e8f1}.portal-card span{color:#8c91a8}.portal-card strong,.portal-section-head h3,.portal-product div strong,.portal-message-list strong,.portal-product-total{color:#40466f}
.portal-section-head>span{color:#6558b6;background:#f0ecff}.portal-message-list article{background:#f9f8ff}.portal-message-list p,.portal-contact p,.portal-product div small,.portal-product>b,.portal-product>span{color:#747c96}
#public-form-header .public-business-name{color:#464a7b}.public-products,.public-choice-group{border-color:#e5e6f0}.public-divider{border-top-color:#e6e7f1}.public-product{border-bottom-color:#eff0f5}.public-product span,.public-upload span,.public-product-total strong{color:#5b50b4}.qty-stepper{background:#f1edff}.public-product-total{border-top-color:#e5e3f1}
.public-flow-error{margin:18px 0 4px;padding:18px;border:1px solid #e0dcf4;border-radius:16px;background:linear-gradient(125deg,#f2eeff,#f7fbff 65%,#eefaf4);text-align:center;color:#4e5278}
.public-flow-error strong,.public-flow-error span{display:block}.public-flow-error strong{color:#443b8c;font-size:14px}.public-flow-error span{margin-top:5px;font-size:11px;line-height:1.45;color:#767d99}
/* Build 4.8 — hide the staff shell at parse time for public customer URLs to prevent a flash of internal UI. */
html.bloom-public-status-entry .app-shell,html.bloom-public-form-entry .app-shell{display:none!important}
html.bloom-public-status-entry body,html.bloom-public-form-entry body{background:#fafbff}

/* Build 4.9 — submission integrity, retry and required-upload feedback. */
#customer-order-form button[type="submit"][aria-busy="true"]{cursor:wait;opacity:.76;box-shadow:none}
#customer-order-form button[type="submit"][aria-busy="true"]::before{content:'↻';display:inline-block;margin-right:7px;animation:bloom-submit-spin .9s linear infinite}
@keyframes bloom-submit-spin{to{transform:rotate(360deg)}}
.upload-requirement-warning{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border:1px solid #ffd39a;background:#fff8e8;border-radius:13px;color:#76551e}
.upload-requirement-warning strong{font-size:12px;color:#8a5b0d}.upload-requirement-warning span{font-size:11px;font-weight:800}.upload-requirement-warning small{font-size:10px;line-height:1.5;color:#866f49}
.public-upload-retry{display:grid;gap:6px;max-width:560px;margin:0 auto 16px;padding:13px 14px;text-align:left;border:1px solid #ffd39a;background:#fff8e8;border-radius:14px;color:#76551e}
.public-upload-retry strong,.public-upload-retry span{display:block}.public-upload-retry strong{font-size:12px;color:#85580d}.public-upload-retry span{font-size:10px;line-height:1.5;color:#816b48}.public-upload-retry button{justify-self:start;margin-top:3px}
.public-upload-retry button[aria-busy="true"]{cursor:wait;opacity:.75}

/* Build 5.0: inline action for private Shopping List receipts. */
.link-button{border:0;background:transparent;padding:0;color:var(--teal,#267d74);font:inherit;font-weight:800;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.link-button:hover{text-decoration-thickness:2px}
.link-button:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:3px}
/* Completed work is deliberately neutral: green remains reserved for the current working period. */
.status-dot.complete,.dot.complete{background:#fff;border:2px solid #8f9ca0;box-shadow:inset 0 0 0 1px #fff}

/* Build 5.2 low-power review mode */
.bloom-low-power-badge{position:fixed;right:12px;bottom:10px;z-index:9999;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.94);border:1px solid #d8eee9;color:#557572;font:800 10px/1.2 "Nunito Sans",Arial,sans-serif;letter-spacing:.08em;box-shadow:0 2px 10px rgba(69,92,88,.08);pointer-events:none}
.bloom-low-power *{scroll-behavior:auto!important}
.bloom-low-power *, .bloom-low-power *::before, .bloom-low-power *::after{animation:none!important;transition:none!important}
/* Build 5.4 performance feedback: keep lazy section activation subtle and accessible. */
[aria-busy="true"]{cursor:progress}.nav-item[aria-busy="true"],.text-btn[aria-busy="true"],.soft[aria-busy="true"]{opacity:.72}

/* Build 5.5 staging/runtime state */
.bloom-environment-chip{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 9px;border:1px solid #d8d2ff;border-radius:999px;background:#f3efff;color:#6556a6;font:800 9px/1 'Nunito Sans',sans-serif;letter-spacing:.1em;white-space:nowrap}
.bloom-network-state{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:1700;max-width:min(560px,calc(100vw - 24px));padding:10px 16px;border:1px solid #f2d39a;border-radius:14px;background:#fff7e8;color:#725017;box-shadow:0 8px 28px rgba(74,57,27,.14);font:700 12px/1.4 'Nunito Sans',sans-serif;text-align:center}.bloom-network-state[hidden]{display:none}
.bloom-update-banner{position:fixed;right:18px;bottom:18px;z-index:1800;width:min(430px,calc(100vw - 36px));display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #d8e9e5;border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 16px 42px rgba(23,76,70,.16);color:#2e514c}.bloom-update-banner strong,.bloom-update-banner span{display:block}.bloom-update-banner strong{font-size:13px}.bloom-update-banner span{margin-top:2px;font-size:11px;color:#6f8581}.bloom-update-banner>div:last-child{display:flex;gap:7px;flex:0 0 auto}.bloom-update-banner button{border:0;border-radius:12px;padding:8px 10px;background:#168c82;color:#fff;font:700 11px 'Nunito Sans',sans-serif;cursor:pointer}.bloom-update-banner button.ghost{background:#edf7f5;color:#356f68}
@media(max-width:560px){.bloom-update-banner{left:12px;right:12px;bottom:12px;width:auto;align-items:stretch;flex-direction:column}.bloom-update-banner>div:last-child{justify-content:flex-end}.bloom-environment-chip{min-height:26px}.team-grid .member{min-width:0;align-items:flex-start;flex-wrap:wrap}.team-grid .member>div:not(.avatar):not(.member-actions){min-width:0;flex:1 1 160px}.team-grid .member h3,.team-grid .member p{overflow-wrap:anywhere}.team-grid .member-actions{width:100%;margin-left:57px;justify-content:flex-start;flex-wrap:wrap}.team-grid .member-actions .role{margin-left:0}.bloom-low-power-badge{right:8px;max-width:calc(100vw - 16px)}}

/* Build 5.6 — Form Builder alignment + Shopping List detail view */
.fb-custom-logo-wrap[hidden]{display:none!important}
.fb-add-menu{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:12px;background:#f8fcfb;box-shadow:0 10px 26px rgba(20,92,79,.08);scroll-margin-bottom:88px}
.fb-add-group{min-width:0;border:1px solid #dcebe7;border-radius:13px;background:#fff;padding:12px}
.fb-add-group>strong{margin:0 0 9px;font-size:11px;letter-spacing:.02em;color:#275f57}
.fb-add-questions{grid-column:1/-1}
.fb-add-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.fb-add-questions .fb-add-options{grid-template-columns:repeat(4,minmax(0,1fr))}
.fb-add-menu .fb-add-options button{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:38px;width:100%;padding:8px 10px;border:1px solid #e2eeeb;border-radius:10px;background:#fbfefd;color:#345c56;font-weight:700;line-height:1.2}
.fb-add-menu .fb-add-options button:hover,.fb-add-menu .fb-add-options button:focus-visible{background:#eef8f5;border-color:#bedfd7;color:#176f62}
.fb-add-menu .fb-add-options button span{flex:none;margin-left:auto}
.fb-title-card>.fb-branding-block,.fb-title-card>.fb-intro-media{display:grid;gap:10px}
.fb-title-card .fb-inline-head{min-height:46px}
.fb-title-card .fb-inline-head>select{align-self:center}
.fb-photo-layout{margin:0!important}
.shopping-row.is-clickable{cursor:pointer;border-radius:12px;transition:background .12s ease,box-shadow .12s ease}
.shopping-row.is-clickable:hover{background:#f7fbfa;box-shadow:inset 0 0 0 1px #e1eeeb}
.shopping-row.is-clickable:focus-visible{outline:3px solid rgba(16,125,115,.28);outline-offset:2px;background:#f7fbfa}
.shopping-row.is-clickable .shopping-open-hint{display:block;color:#6d8a84;font-size:9px;font-weight:800;margin-top:4px}
.shopping-detail-card{width:min(720px,94vw)}
.shopping-detail-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 0 16px;border:1px solid #dfebe8;border-radius:14px;background:#f8fcfb}
.shopping-detail-status strong{color:#2b5e57}.shopping-detail-status span{font-size:11px;color:#6e847f}
.shopping-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.shopping-detail-field{min-width:0;padding:12px 13px;border:1px solid #e1ece9;border-radius:13px;background:#fbfefd}
.shopping-detail-field.wide{grid-column:1/-1}
.shopping-detail-field span{display:block;margin-bottom:4px;font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#7a8f8a}
.shopping-detail-field strong,.shopping-detail-field p{display:block;margin:0;color:#2f504b;overflow-wrap:anywhere}
.shopping-detail-field p{white-space:pre-wrap;line-height:1.5}
.shopping-detail-field .muted-value{color:#8a9996;font-weight:600}
.shopping-detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:6px}
.shopping-detail-actions .secondary,.shopping-detail-actions .ghost{width:auto;margin:0}
@media(max-width:920px){.fb-add-questions .fb-add-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.fb-add-menu{grid-template-columns:1fr}.fb-add-questions{grid-column:auto}.fb-add-questions .fb-add-options,.fb-add-options{grid-template-columns:repeat(2,minmax(0,1fr))}.shopping-detail-grid{grid-template-columns:1fr}.shopping-detail-field.wide{grid-column:auto}}
@media(max-width:430px){.fb-add-questions .fb-add-options,.fb-add-options{grid-template-columns:1fr}}
.shopping-detail-status>div strong,.shopping-detail-status>div span{display:block}.shopping-detail-status>div span{margin-top:2px}
/* V2 fields must not inherit the legacy grid-based builder-field layout. */
.form-builder-v2 .fb-field-v2{display:block;grid-template-columns:none;align-items:initial}
.form-builder-v2 .fb-field-v2 label{display:block!important;font-weight:700!important;font-size:11px;margin:0}
.form-builder-v2 .fb-field-v2 label input,.form-builder-v2 .fb-field-v2 label select,.form-builder-v2 .fb-field-v2 label textarea{width:100%!important}
.form-builder-v2 .fb-field-controls label{display:flex!important;align-items:center;gap:7px;font-weight:700!important}
.form-builder-v2 .fb-field-controls label input{width:auto!important}
.form-builder-v2 .fb-product-row{align-items:end}
.form-builder-v2 .fb-product-image-cell .file-action{display:flex!important}

/* Build 5.7 — everyday workflow polish */
#orders .chip{display:inline-flex;align-items:center;gap:7px}.work-filter-count{min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#f0f6f5;color:#68807b;display:inline-grid;place-items:center;font-size:9px;font-weight:800}.chip.active .work-filter-count{background:rgba(255,255,255,.75);color:#25796e}.order-line.clickable-order:focus-visible{outline:3px solid rgba(16,125,115,.24);outline-offset:2px;border-radius:10px;background:#f8fcfb}
.linked-shop-row:focus-visible{outline:3px solid rgba(16,125,115,.24);outline-offset:2px}.linked-shop-check{border:0;cursor:pointer}.linked-shop-check:hover,.linked-shop-check:focus-visible{background:#cceee5;outline:2px solid rgba(16,125,115,.2);outline-offset:1px}
.shopping-detail-edit{display:grid;gap:14px}.shopping-detail-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.shopping-detail-edit-grid label{display:block;min-width:0;font-weight:700;color:#45655f;font-size:11px}.shopping-detail-edit-grid input,.shopping-detail-edit-grid textarea{width:100%;margin-top:5px}.shopping-detail-notes,.shopping-detail-remove-receipt{grid-column:1/-1}.shopping-detail-remove-receipt{display:flex!important;align-items:center;gap:8px;padding:10px 12px;border:1px solid #eadfdb;border-radius:11px;background:#fffafa;color:#7b5d58!important}.shopping-detail-remove-receipt input{width:auto!important;margin:0!important}.shopping-detail-actions .primary{width:auto;margin:0}.fb-draft-status{margin-left:auto;color:#6f8983;font-size:9px;font-weight:700;white-space:nowrap}.fb-footer{gap:10px;align-items:center}.fb-footer #fb-footer-note{min-width:0}.fb-footer #fb-save-form{flex:none}
@media(max-width:700px){.shopping-detail-edit-grid{grid-template-columns:1fr}.shopping-detail-notes,.shopping-detail-remove-receipt{grid-column:auto}.fb-footer{align-items:flex-start;flex-wrap:wrap}.fb-draft-status{order:3;width:100%;margin-left:0}.fb-footer #fb-save-form{margin-left:auto}}

/* Build 5.8 — calendar milestone counters and dedicated selected-day actions */
.calendar-job.calendar-start,.calendar-job.calendar-due{grid-template-columns:22px minmax(0,1fr) auto}
.calendar-job.calendar-start{background:#f2fbf7;border:1px solid #d8f0e3}
.calendar-job.calendar-due{background:#fff7f7;border:1px solid #f4e0e2}
.calendar-job .calendar-start-count,.calendar-job .calendar-due-count,.calendar-job .deadline-completed{width:20px;height:20px;font-size:8px}
.calendar-list-heading.start-list-heading{color:#2f805d}
.calendar-list-heading.due-list-heading{color:#b84d58;margin-top:17px;padding-top:11px;border-top:1px dashed #efe4e5}
.day-panel #day-block-date{margin-top:0}

/* Build 5.9 commercial access gate */
.commercial-access-gate{position:fixed;inset:0;z-index:9998;background:rgba(244,248,250,.88);backdrop-filter:blur(10px);display:grid;place-items:center;padding:20px}.commercial-access-gate-card{width:min(440px,100%);background:#fff;border:1px solid #e1e8ef;border-radius:22px;padding:26px;box-shadow:0 18px 60px rgba(55,65,81,.12);text-align:center}.commercial-access-gate-card h2{margin:12px 0 8px}.commercial-access-gate-card p{color:var(--muted);line-height:1.55}.commercial-access-gate-card .full{margin-top:10px}
/* Build 5.9 Form Builder: one reliable scroll surface + always-reachable save action. */
.form-builder-v2{max-height:92vh;overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}
.form-builder-v2 .fb-top{position:sticky;top:0;z-index:8;background:#fff;box-shadow:0 4px 14px rgba(49,75,72,.04)}
.fb-top-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.form-builder-v2 .fb-canvas,.form-builder-v2 .fb-settings{overflow:visible;max-height:none}
.form-builder-v2 .fb-footer{position:sticky;bottom:0;z-index:7;box-shadow:0 -5px 16px rgba(49,75,72,.05)}
@media(max-width:850px){.form-builder-v2{width:100%;max-width:none;max-height:100dvh;border-radius:0}.form-builder-v2 .fb-top{padding:20px 18px 14px}.fb-top-actions{width:100%;justify-content:stretch}.fb-top-actions button{flex:1 1 180px}.form-builder-v2 .fb-canvas,.form-builder-v2 .fb-settings{padding-left:18px;padding-right:18px}.form-builder-v2 .fb-footer{padding:14px 18px;flex-wrap:wrap}.form-builder-v2 .fb-footer .primary{flex:1 1 180px}}

/* Build 6.2 — customer payment operations */
.payment-status-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.payment-facts,.payment-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.payment-facts>div,.payment-report-grid>div{padding:12px;border:1px solid var(--line,#dbe7e1);border-radius:12px;background:var(--soft,#f7faf8)}.payment-facts span,.payment-report-grid span{display:block;font-size:.78rem;opacity:.72;margin-bottom:4px}.payment-facts strong,.payment-report-grid strong{font-size:1rem}.payment-history{margin-top:16px}.payment-history h4{margin-bottom:8px}@media(max-width:720px){.payment-facts,.payment-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-status-line{align-items:flex-start;flex-direction:column}}
