/* step28 Call Doctor: mobile-first, big buttons, sea-green */
.cl-wrap [hidden],.cl-here[hidden],.cl-big[hidden],.cl-pop[hidden]{display:none!important}
.cl-wrap{max-width:1100px;margin:0 auto}
.cl-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:4px 0 10px}.cl-top h1{margin:0;font-size:26px;color:#1F6B45}
.cl-top-links{display:flex;gap:8px}
.cl-dents{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}.cl-dent{display:inline-flex;gap:6px;align-items:center;border-radius:999px;padding:7px 12px;font-size:14px;background:#E6F4EC;color:#1F6B45}
.cl-dent.on_way{background:#FFF4D6;color:#7A5A00}.cl-dent.in_op{background:#E8EEF9;color:#24426E}.cl-dent i{font-style:normal;font-variant-numeric:tabular-nums}
.cl-alerts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.cl-call{background:#fff;border-radius:18px;padding:14px;box-shadow:0 2px 10px rgba(31,107,69,.08);margin-bottom:14px}
.cl-row{margin-bottom:10px}.cl-lbl{display:block;font-weight:700;color:#24423A;font-size:14px;margin-bottom:6px}.cl-lbl small{font-weight:500;color:#6B7C74}
.cl-row2{display:grid;grid-template-columns:1fr;gap:10px}.cl-row2 select,.cl-row2 input{width:100%;min-height:46px;font-size:16px;border:1px solid #CFE3D7;border-radius:12px;padding:8px 12px;margin-top:4px;background:#fff}
.cl-chips{display:flex;flex-wrap:wrap;gap:8px}.cl-chip{min-height:46px;padding:0 16px;border-radius:999px;border:2px solid #9CCFB3;background:#fff;color:#1F6B45;font-weight:700;font-size:16px;cursor:pointer}
.cl-chip.on{background:#2E8B57;border-color:#2E8B57;color:#fff}.cl-chip-red{border-color:#E8A39B;color:#B3261E}.cl-chip-red.on{background:#C62828;border-color:#C62828;color:#fff}
.cl-seg{display:flex;border:2px solid #9CCFB3;border-radius:14px;overflow:hidden}.cl-seg button,.cl-seg a{flex:1;min-height:46px;border:0;background:#fff;color:#1F6B45;font-weight:700;font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;text-decoration:none;padding:0 6px}
.cl-seg button+button,.cl-seg a+a{border-left:2px solid #9CCFB3}.cl-seg .on{background:#2E8B57;color:#fff}.cl-seg .red.on{background:#C62828}
.cl-ops{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:6px}
.cl-op{min-height:110px;border:0;border-radius:18px;background:#2E8B57;color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;box-shadow:0 4px 0 #1F6B45;font-family:inherit;-webkit-tap-highlight-color:transparent}
.cl-op:active{transform:translateY(3px);box-shadow:0 1px 0 #1F6B45}.cl-op small{font-size:14px;opacity:.9}.cl-op b{font-size:26px;line-height:1.1}
.cl-op .cl-op-st{font-size:13px;min-height:16px;font-weight:700}.cl-op.called{background:#E8A317;box-shadow:0 4px 0 #A77408}
.cl-big{width:100%;min-height:150px;border:0;border-radius:22px;background:#2E8B57;color:#fff;font-size:34px;font-weight:800;cursor:pointer;box-shadow:0 6px 0 #1F6B45;margin:4px 0 14px;font-family:inherit}
.cl-big.called{background:#E8A317;box-shadow:0 6px 0 #A77408}.cl-big.called::after{content:attr(data-st);display:block;font-size:18px;font-weight:700;margin-top:6px}
.cl-here{display:flex;justify-content:space-between;align-items:center;color:#1F6B45;margin-bottom:6px}
.one-op .cl-ops{grid-template-columns:repeat(3,1fr)}.one-op .cl-op{min-height:70px}.one-op .cl-op b{font-size:18px}
.cl-msg{min-height:22px;margin:10px 2px 0;font-weight:700;color:#1F6B45}.cl-msg.bad{color:#B3261E}
.cl-device{margin-top:10px}.cl-device summary{cursor:pointer;color:#45574F;font-size:14px;padding:6px 0}.cl-device-row{display:flex;flex-direction:column;gap:10px}.cl-device-row select{min-height:46px;font-size:16px;border-radius:12px;border:1px solid #CFE3D7;padding:6px 10px}
.cl-check{display:flex;gap:8px;align-items:center;font-size:15px}.cl-check input{width:22px;height:22px}
.cl-queue h2{display:flex;align-items:center;gap:10px;margin:6px 0 8px;color:#1F6B45}.cl-count{background:#C62828;color:#fff;border-radius:999px;font-size:14px;padding:2px 10px}.cl-count:empty{display:none}
.cl-sub{margin:16px 0 8px;font-size:16px;color:#45574F}.cl-empty{color:#6B7C74;margin:6px 0}
.cl-card{background:#fff;border-radius:16px;padding:12px 14px;margin-bottom:10px;border-left:8px solid #2E8B57;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.cl-card.p-urgent{border-left-color:#E8A317}.cl-card.p-emergency{border-left-color:#C62828;background:#FFF5F4;animation:clPulse 1.4s ease-in-out infinite}
.cl-card.s-on_way,.cl-card.s-in_op{animation:none}.cl-card.s-in_op{border-left-color:#3B6BB5}
@keyframes clPulse{50%{box-shadow:0 0 0 6px rgba(198,40,40,.18)}}
.cl-c1{display:flex;align-items:center;gap:8px}.cl-op-n{font-size:24px;color:#1C2B24}.cl-pr{background:#C62828;color:#fff;border-radius:8px;padding:2px 8px;font-size:13px;font-weight:800;text-transform:uppercase}
.p-urgent .cl-pr{background:#E8A317}.cl-t{margin-left:auto;font-size:24px;font-weight:800;font-variant-numeric:tabular-nums;color:#1F6B45}.p-emergency .cl-t{color:#C62828}
.cl-c2{font-size:17px;margin:4px 0;color:#24423A}.cl-c3{font-size:13px;color:#6B7C74}
.cl-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.cl-a{flex:1 1 30%;min-height:52px;border:2px solid #2E8B57;background:#fff;color:#1F6B45;border-radius:14px;font-weight:800;font-size:17px;cursor:pointer}
.cl-a.go{background:#2E8B57;color:#fff}.cl-a.ghost{border-color:#D5DDD9;color:#6B7C74;flex:0 1 auto}
.cl-recent summary{cursor:pointer;color:#45574F;margin:12px 0 6px}.cl-recent .cl-card{opacity:.75;animation:none}
.cl-pop{position:fixed;inset:0;z-index:2000;background:rgba(16,40,28,.72);display:flex;align-items:center;justify-content:center;padding:16px}
.cl-pop-card{background:#fff;border-radius:22px;max-width:440px;width:100%;padding:22px 20px;text-align:center;border-top:12px solid #2E8B57;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.cl-pop.urgent .cl-pop-card{border-top-color:#E8A317}.cl-pop.emerg .cl-pop-card{border-top-color:#C62828;animation:clPulse 1s infinite}
.cl-pop-k{margin:0;font-weight:800;letter-spacing:.08em;color:#1F6B45;font-size:14px}.cl-pop.emerg .cl-pop-k{color:#C62828;font-size:18px}
.cl-pop h2{font-size:34px;margin:6px 0;color:#1C2B24}.cl-pop-r{font-size:20px;margin:4px 0 6px}.cl-pop-by{color:#6B7C74;margin:0 0 16px}
.cl-pop-go{width:100%;min-height:68px;border:0;border-radius:16px;background:#2E8B57;color:#fff;font-size:24px;font-weight:800;cursor:pointer}
.cl-pop-2{display:flex;gap:10px;margin-top:10px}.cl-pop-2 button{flex:1;min-height:52px;border-radius:14px;border:2px solid #2E8B57;background:#fff;color:#1F6B45;font-weight:800;font-size:16px;cursor:pointer}.cl-pop-2 button[data-a=later]{border-color:#D5DDD9;color:#6B7C74}
.cl-oplist{list-style:none;padding:0;margin:0 0 12px}.cl-oplist li{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid #EEF2F0;padding:8px 0}
.cl-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cl-inline input{min-height:44px;font-size:16px;border:1px solid #CFE3D7;border-radius:10px;padding:6px 10px}.cl-opbtns{display:flex;gap:6px}.cl-opbtns form{margin:0}
.cl-quick{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:12px}.cl-quick input{width:90px;min-height:44px;font-size:18px}
.cl-range{max-width:480px;margin-bottom:12px}.cl-tiles .cs-tile b{font-variant-numeric:tabular-nums}
.cl-days{display:flex;align-items:flex-end;gap:3px;height:160px;padding-top:8px;overflow-x:auto}.cl-day{flex:1 0 12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}
.cl-col{display:block;width:100%;background:#2E8B57;border-radius:4px 4px 0 0;min-height:0}.cl-day small{font-size:10px;color:#6B7C74;margin-top:3px}
.cl-table{width:100%;border-collapse:collapse;font-size:15px}.cl-table th{text-align:left;color:#6B7C74;font-weight:600;font-size:13px;padding:6px}.cl-table td{padding:8px 6px;border-top:1px solid #EEF2F0;white-space:nowrap}
.cl-bar{display:inline-block;width:110px;height:10px;background:#EEF4F0;border-radius:6px;vertical-align:middle;overflow:hidden;margin-right:6px}.cl-bar i{display:block;height:100%;background:#2E8B57}.cl-bar.b2 i{background:#3B6BB5}
@media (min-width:700px){.cl-ops{grid-template-columns:repeat(3,1fr)}.cl-row2{grid-template-columns:1fr 1fr}.cl-device-row{flex-direction:row;align-items:center;flex-wrap:wrap}.cl-queue{display:block}}
@media (min-width:1000px){.cl-ops{grid-template-columns:repeat(4,1fr)}}
@media (max-width:520px){.cl-table .cl-bar{display:none}.cl-table{font-size:14px}.cl-pop h2{font-size:30px}}
/* step28b: Call Hygienist */
.cl-for button small{font-weight:600;opacity:.85;margin-left:4px}
.for-hyg .cl-op:not(.called):not(.called-other),.for-hyg .cl-big:not(.called){background:#23807A;box-shadow:0 4px 0 #17605B}
.cl-op.called-other{background:#5FA88A;box-shadow:0 4px 0 #3F7F65}
.cl-ftag{background:#DDF1EF;color:#17605B;border-radius:8px;padding:2px 8px;font-size:13px;font-weight:800}.cl-ftag.f-either{background:#EAF0FA;color:#24426E}
.cl-dent.hyg small{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.8}
.cl-check-big{font-size:17px;font-weight:700;margin:4px 0 8px}.cl-setform .cs-btn{margin-top:4px}
.cl-pt-tag{border-radius:8px;padding:2px 8px;font-size:13px;font-weight:800;background:#EEF2F0;color:#45574F}.cl-pt-tag.pt-pedo{background:#FFE9F2;color:#A0225A}
.cl-pop .cl-pt-tag{font-size:16px;padding:4px 12px}.cl-pop h2+p{margin:0 0 4px}
.cl-paused{color:#7A5A00;background:#FFF4D6;border-radius:6px;padding:1px 6px}
.cl-card.paused{opacity:.85}
.cl-paused-me{background:#FFF4D6;color:#7A5A00;border-radius:12px;padding:10px 12px;font-weight:700;margin:0 0 10px}
/* step28c: simpler board - op tiles, one sheet, next-call card, quick messages */
.cl2 .cl-top h1{font-size:28px}.cl-msgbtn{min-height:44px;font-size:16px}
.cl-hint{margin:4px 2px 8px;color:#45574F;font-size:16px}
.cl-tiles2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.cl-tile{min-height:120px;border:0;border-radius:20px;color:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-family:inherit;-webkit-tap-highlight-color:transparent;padding:10px}
.cl-tile b{font-size:30px;line-height:1.05}.cl-tile .cl-tst{font-size:16px;font-weight:700}.cl-tile .cl-tt{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;min-height:0}
.cl-tile:active{transform:translateY(3px)}
.cl-tile.s-free,.cl-legend .s-free{background:#2E8B57;box-shadow:0 5px 0 #1F6B45}
.cl-tile.s-waiting,.cl-legend .s-waiting{background:#E8A317;box-shadow:0 5px 0 #A77408}
.cl-tile.s-waiting.emerg{background:#C62828;box-shadow:0 5px 0 #8E1B1B;animation:clPulse 1.2s infinite}
.cl-tile.s-on_way,.cl-legend .s-on_way{background:#3B6BB5;box-shadow:0 5px 0 #24426E}
.cl-tile.s-in_op,.cl-legend .s-in_op{background:#6A4C9C;box-shadow:0 5px 0 #46306B}
.cl-legend{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px;font-size:13px}.cl-legend span{color:#fff;border-radius:999px;padding:3px 10px;box-shadow:none!important}
.one-op .cl-tile:not(.here){display:none}.one-op .cl-tiles2{grid-template-columns:1fr}.one-op .cl-tile.here{min-height:260px}.one-op .cl-tile.here b{font-size:48px}.one-op .cl-tile.here .cl-tst{font-size:22px}
.cl-sheet{position:fixed;inset:0;z-index:1900;background:rgba(16,40,28,.55);display:flex;align-items:flex-end;justify-content:center}
.cl-sheet[hidden]{display:none!important}
.cl-sheet-card{background:#fff;width:100%;max-width:560px;max-height:92vh;overflow:auto;border-radius:24px 24px 0 0;padding:16px 16px 22px;box-shadow:0 -10px 40px rgba(0,0,0,.25)}
.cl-sheet-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.cl-sheet-h h2{margin:0;font-size:30px;color:#1C2B24}
.cl-x{width:48px;height:48px;border-radius:50%;border:0;background:#EEF4F0;font-size:30px;line-height:1;cursor:pointer;color:#45574F}
.cl-sheet-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:6px 0 12px}
.cl-mini{display:inline-flex;border:2px solid #9CCFB3;border-radius:12px;overflow:hidden}.cl-mini button{min-height:44px;min-width:76px;border:0;background:#fff;color:#1F6B45;font-weight:700;font-size:16px;cursor:pointer}.cl-mini button+button{border-left:2px solid #9CCFB3}.cl-mini .on{background:#2E8B57;color:#fff}
.cl-emerg{min-height:48px;padding:0 18px;border-radius:12px;border:2px solid #E8A39B;background:#fff;color:#B3261E;font-weight:800;font-size:17px;cursor:pointer}.cl-emerg.on{background:#C62828;border-color:#C62828;color:#fff}
.cl-send2{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 8px}.cl-send2 .cl-go:only-child{grid-column:1/-1}
.cl-go{min-height:96px;border:0;border-radius:20px;background:#2E8B57;color:#fff;font-size:28px;font-weight:800;cursor:pointer;box-shadow:0 5px 0 #1F6B45;font-family:inherit}
.cl-go.hyg{background:#23807A;box-shadow:0 5px 0 #17605B}.cl-go.either{min-height:56px;font-size:17px;width:100%;background:#3B6BB5;box-shadow:0 4px 0 #24426E;margin:6px 0 10px}.cl-go:disabled{opacity:.6}
.cl-more summary{cursor:pointer;color:#45574F;font-size:16px;padding:8px 0}.cl-more .cl-lbl{margin-top:8px}.cl-more select,.cl-more input{width:100%;min-height:46px;font-size:16px;border:1px solid #CFE3D7;border-radius:12px;padding:6px 10px;margin-top:4px;background:#fff}
.cl-sheet-msg{display:block;margin:8px auto 0;font-size:15px}
#clSheetNow .cl-card{margin-bottom:8px}
.cl-next{margin:0 0 14px}.cl-next-none{background:#E6F4EC;color:#1F6B45;border-radius:16px;padding:14px;font-size:18px;font-weight:700;margin:0}
.cl-next-card{background:#fff;border-radius:22px;padding:16px;border-top:10px solid #2E8B57;box-shadow:0 6px 24px rgba(31,107,69,.15)}
.cl-next-card.p-emergency{border-top-color:#C62828;background:#FFF5F4}.cl-next-card.p-urgent{border-top-color:#E8A317}.cl-next-card.busy{border-top-color:#3B6BB5}
.cl-next-k{margin:0;font-weight:800;letter-spacing:.06em;color:#1F6B45;text-transform:uppercase;font-size:14px}.p-emergency .cl-next-k{color:#C62828;font-size:18px}
.cl-next-card h2{font-size:34px;margin:4px 0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.cl-next-card h2 .cl-t{font-size:26px}
.cl-huge{display:block;width:100%;min-height:84px;border:0;border-radius:18px;background:#2E8B57;color:#fff;font-size:30px;font-weight:800;cursor:pointer;margin:10px 0 8px;box-shadow:0 5px 0 #1F6B45;font-family:inherit}
.cl-next-card .cl-a{width:100%;min-height:52px}.cl-next-more{margin:8px 0 0;color:#6B7C74;font-weight:700}
.cl-msgs{margin-top:18px}.cl-msgs h2 small{font-size:13px;color:#6B7C74;font-weight:500}
.cl-mrow{background:#fff;border-radius:14px;padding:10px 12px;margin-bottom:8px;box-shadow:0 2px 8px rgba(0,0,0,.05);display:flex;flex-direction:column;gap:4px}.cl-mrow.mine{background:#F2FAF5}
.cl-mwho{font-size:13px;color:#6B7C74}.cl-mtext{font-size:19px;font-weight:700;color:#1C2B24}.cl-mrep{display:flex;flex-wrap:wrap;gap:6px}
.cl-presets{display:grid;grid-template-columns:1fr;gap:10px;margin:12px 0}
.cl-preset{min-height:56px;border-radius:14px;border:2px solid #2E8B57;background:#fff;color:#1F6B45;font-size:19px;font-weight:800;cursor:pointer;font-family:inherit;padding:0 14px}.cl-preset:active{background:#E6F4EC}
.cl-preset.sm{min-height:40px;font-size:15px;border-width:1px}
.cl-free{display:flex;gap:8px}.cl-free input{flex:1;min-height:52px;font-size:17px;border:1px solid #CFE3D7;border-radius:12px;padding:6px 12px}
#clTo .cl-chip small{font-weight:500;opacity:.75;font-size:12px}
.cl-mpop{position:fixed;left:0;right:0;bottom:0;z-index:1950;display:flex;justify-content:center;padding:12px}
.cl-mpop-card{background:#1F3B30;color:#fff;border-radius:20px;padding:14px 16px;max-width:520px;width:100%;box-shadow:0 10px 40px rgba(0,0,0,.4)}
.cl-mpop-k{margin:0;font-size:14px;opacity:.9}.cl-mpop-t{margin:4px 0 10px;font-size:26px;font-weight:800}
.cl-mpop-r{display:flex;flex-wrap:wrap;gap:8px}.cl-mpop-r .cl-preset{border-color:#9CCFB3;background:#2E8B57;color:#fff;min-height:50px;font-size:17px}.cl-ok{min-height:50px;padding:0 20px;border-radius:14px;border:2px solid #9CCFB3;background:transparent;color:#fff;font-weight:800;font-size:17px;cursor:pointer}
.cl-pop-tags{margin:0 0 4px}.cl-noscroll{overflow:hidden}
@media (min-width:700px){.cl-tiles2{grid-template-columns:repeat(3,1fr)}.cl-sheet{align-items:center}.cl-sheet-card{border-radius:24px}.cl-presets{grid-template-columns:1fr 1fr}}
@media (min-width:1000px){.cl-tiles2{grid-template-columns:repeat(4,1fr)}.cl-tile{min-height:140px}}

/* step28c: a quick message is never hidden by a call pop-up; it moves to the top above it */
.cl-mpop{z-index:2100}
.cl-mpop.top{top:0;bottom:auto}
