/* Gerador de Horários 5.5 · Dias e horários simplificados
   Complementa app.css + compact-v5-2.css + proporcoes-v5-3.css; sem reset global. */
.v55-days{display:grid;gap:12px;margin:0 0 24px}
.v55-days h3,.v55-section-heading h3{color:#102e51;margin:0 0 3px;font-size:1.14rem}
.v55-days p,.v55-section-heading p{font-size:.86rem;color:#66798c;margin:0}
.v55-days .days{margin:0;gap:8px}
.v55-days .day{border-radius:10px;min-height:42px;border-color:#dce5ed;font-size:.89rem}
.v55-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px}
.v55-section-heading .btn{white-space:nowrap}
.v55-shift-card{border:1px solid #d7e4ec;border-radius:17px;background:linear-gradient(180deg,#fff,#fbfdff);padding:19px 20px;margin-bottom:15px;box-shadow:0 8px 25px #14334f06}
.v55-quick{display:block}
.v55-shift-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:16px}
.v55-shift-heading h3{font-size:1.14rem;font-weight:800;margin:0 0 4px;color:#0f3050}
.v55-shift-heading p{margin:0;color:#60768b;font-size:.85rem;line-height:1.4}
.v55-shift-heading .btn{white-space:nowrap}
.v55-turn-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:17px}
.v55-turn-choice{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;border:1px solid #d9e3ed;border-radius:12px;background:#fff;color:#183957;font-size:.91rem;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.v55-turn-choice span{font-size:1.45rem;color:#62849d;line-height:1}
.v55-turn-choice strong{font-size:.94rem;line-height:1.2}
.v55-turn-choice.selected{border:2px solid #137d73;background:#eaf7f4;box-shadow:0 0 0 2px #d7eee9 inset}
.v55-turn-choice.selected span,.v55-turn-choice.selected strong{color:#0d6259}
.v55-turn-choice:hover:not(.selected){background:#f5f8fa;border-color:#9db2c6}
.v55-turn-choice:focus-visible{outline:3px solid #74c5b9;outline-offset:2px}
.v55-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px}
.v55-field{min-width:0;display:flex;flex-direction:column;gap:7px;color:#152d47;font-size:.88rem;font-weight:700}
.v55-field>input,.v55-field>select{width:100%;max-width:100%;border:1px solid #cbdadf;background:#fff;border-radius:10px;color:#18314c;padding:9px 12px;font:inherit;font-size:1rem;font-weight:450;min-height:45px;box-sizing:border-box}
.v55-field>input:focus,.v55-field>select:focus{border-color:#10766f;outline:2px solid #bee8e2;outline-offset:0}
.v55-field>select:disabled{background:#f3f6f8;color:#8a96a3;cursor:not-allowed}
.v55-preview{margin:17px 0 13px;background:#f7fafc;border:1px solid #d9e5ec;border-radius:12px;padding:15px 17px}
.v55-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px;color:#133451}
.v55-preview-head strong{font-size:1rem;font-weight:800}
.v55-preview-head span{color:#55778a;font-size:.82rem}
.v55-preview-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 11px}
.v55-preview-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e0eaf0;border-radius:9px;background:white;padding:10px 12px;min-width:0;font-size:.89rem}
.v55-preview-row>span{color:#254460;min-width:0}
.v55-preview-row>strong{white-space:nowrap;font-size:.87rem;color:#163553;font-variant-numeric:tabular-nums}
.v55-preview-row.is-pause{background:#fff8eb;border-color:#f2dab1}
.v55-preview-row.is-pause>span{color:#875e23;font-weight:700}
.v55-preview-note{margin:12px 0 0!important;color:#63798a;font-size:.79rem;line-height:1.45}
.v55-preview-error{color:#9d312c;background:#fff1ef;border:1px solid #f1beb8;border-radius:9px;padding:11px;font-size:.9rem}
.v55-existing{font-size:.83rem;color:#346d61;background:#ecf8f5;border-radius:9px;padding:9px 11px;margin:7px 0 10px!important}
.v55-quick-actions{display:flex;align-items:center;justify-content:flex-start;gap:13px;flex-wrap:wrap}
.v55-quick-actions .btn{padding:10px 18px;min-height:43px}
.v55-quick-actions>span{color:#6b7c8e;font-size:.79rem}
.v55-advanced{margin-top:15px;padding:0;border:1px solid #dbe6ec;border-radius:11px;overflow:hidden;background:#fff}
.v55-advanced>summary{cursor:pointer;list-style:none;padding:13px 15px;font-size:.92rem;font-weight:800;color:#174963;background:#f6fafc}
.v55-advanced>summary::-webkit-details-marker{display:none}
.v55-advanced>summary::before{content:'▸';margin-right:9px;font-size:1rem;color:#0a8176}
.v55-advanced[open]>summary::before{content:'▾'}
.v55-advanced>summary span{margin-left:5px;color:#708296;font-weight:400;font-size:.78rem}
.v55-advanced-body{padding:16px 17px;border-top:1px solid #e0eaf0}
.v55-advanced-body>p{margin:0 0 13px;font-size:.84rem;color:#60758a}
.v55-advanced-body .table-scroll{margin:10px 0}
.v55-advanced-body .entry-table .days{min-width:260px}
.v55-advanced-break{margin:10px 0!important}
.v55-brief-hint{margin-top:12px;padding:11px 13px;border-left:3px solid #8acbbd;background:#edf7f4;color:#2f665e;font-size:.83rem;line-height:1.5;border-radius:9px}
@media(min-width:1200px) and (max-height:850px){.v55-shift-card{padding:14px 17px}.v55-turn-choice{min-height:48px}.v55-turn-cards{margin-bottom:12px}.v55-preview{padding:11px 13px;margin:12px 0}.v55-preview-row{padding:7px 10px}.v55-quick-grid{gap:9px 13px}.v55-field>input,.v55-field>select{min-height:42px}}
@media(max-width:1100px){.v55-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v55-turn-choice{min-height:52px}.v55-preview-table{grid-template-columns:1fr}}
@media(max-width:760px){.v55-days .days{display:flex;flex-wrap:wrap}.v55-days .day{font-size:.82rem;padding:7px 9px;min-height:40px}.v55-shift-card{padding:14px 12px;border-radius:13px}.v55-section-heading{align-items:flex-start}.v55-turn-cards{gap:6px}.v55-turn-choice{flex-direction:column;gap:3px;padding:7px 2px;min-height:62px}.v55-turn-choice span{font-size:1.1rem}.v55-turn-choice strong{font-size:.79rem}.v55-quick-grid{gap:11px}.v55-field{font-size:.81rem}.v55-field>input,.v55-field>select{font-size:1rem;min-height:45px;padding:8px}.v55-quick-actions .btn{width:100%}.v55-advanced>summary span{display:block;margin:4px 0 0 24px}.v55-preview-head{align-items:start;flex-direction:column;gap:4px}}
@media(max-width:440px){.v55-quick-grid{grid-template-columns:1fr}.v55-section-heading{flex-wrap:wrap}.v55-quick-actions>span{font-size:.75rem}.v55-preview-row{font-size:.82rem;padding:9px}.v55-preview-row>strong{font-size:.79rem}}
@media print{.v55-quick,.v55-advanced,.v55-brief-hint{display:none!important}}
