:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#172033;background:#f4f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{border:0;background:#ea580c;color:#fff;padding:.65rem .85rem;border-radius:9px;cursor:pointer;font-weight:650}button:hover{filter:brightness(.96)}button:disabled{opacity:.55}.card{background:#fff;border:1px solid #e3e8f1;border-radius:14px;box-shadow:0 3px 14px #1720330a}.login{min-height:100vh;display:grid;place-items:center;padding:1rem;background:radial-gradient(circle at top,#ffedd5,#f4f7fb 50%)}.login-card{width:min(420px,100%);padding:2.5rem}.login-card h1{margin:.8rem 0 .3rem}.login-card p,.muted{color:#738096}.login-card label{display:grid;gap:.4rem;margin:1rem 0;font-weight:650}.login-card input,.toolbar input,.toolbar select,.schedule-form input,.schedule-form select{border:1px solid #d9dfeb;border-radius:9px;padding:.72rem;background:#fff}.login-card button{width:100%;margin-top:.5rem}.brand{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#ea580c;color:#fff;font-weight:900;font-size:1.3rem}.brand.small{display:inline-grid;width:32px;height:32px;border-radius:9px;margin-right:.6rem}header{height:68px;background:#fff;border-bottom:1px solid #e3e8f1;display:flex;align-items:center;justify-content:space-between;padding:0 max(1rem,calc((100vw - 1450px)/2));position:sticky;top:0;z-index:5}header>div{display:flex;align-items:center}nav{display:flex;gap:.25rem}.ghost{background:transparent;color:#59657a}.ghost.active{background:#fff1e8;color:#c2410c}.app{max-width:1450px;margin:auto;padding:2rem 1rem}.hero{display:flex;justify-content:space-between;align-items:center}.hero h1{margin:0}.hero p{color:#738096}.privacy{background:#eaf8f0;color:#16724a;padding:.55rem .8rem;border-radius:30px;font-size:.87rem}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;margin:1.5rem 0}.stat{padding:1.15rem}.stat span{color:#738096;font-size:.84rem}.stat strong{display:block;font-size:1.8rem;margin-top:.35rem}.toolbar{display:flex;gap:.7rem;margin-bottom:1rem}.toolbar input{width:320px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th,td{text-align:left;padding:.85rem;border-bottom:1px solid #edf0f5;font-size:.88rem}th{color:#667287;background:#fafbfc}.badge{font-size:.7rem;font-weight:800;padding:.36rem .5rem;border-radius:6px;background:#eef1f5;color:#667287}.badge.NORMAL{background:#e9f7ef;color:#16724a}.badge.WEEKLY{background:#fff1e8;color:#c2410c}.badge.SWITCH_TO_WEEKLY_PENDING,.badge.SWITCH_TO_NORMAL_PENDING{background:#fff1db;color:#9a5b00}.badge.ERROR,.error{background:#ffebed;color:#b52836}.error{padding:.8rem;border-radius:8px;margin:.8rem 0}.online{color:#188552}.mono{font-family:ui-monospace,monospace}.actions{display:flex;gap:.35rem}.actions button{font-size:.73rem;padding:.5rem}.secondary{background:#172033}.switch{width:42px;height:23px;padding:3px;border-radius:20px;background:#c7ced9}.switch i{display:block;width:17px;height:17px;border-radius:50%;background:#fff;transition:.15s}.switch.on{background:#ea580c}.switch.on i{transform:translate(19px)}.link{background:none;color:#c2410c;padding:0}.empty{text-align:center;color:#738096;padding:3rem}.modal{position:fixed;inset:0;background:#17203399;display:grid;place-items:center;padding:1rem;z-index:10}.detail{position:relative;width:min(760px,100%);max-height:90vh;overflow:auto;padding:2rem}.close{position:absolute;right:1rem;top:1rem;background:transparent;color:#667287;font-size:1.5rem}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;background:#f7f9fc;padding:1rem;border-radius:10px}.detail-grid span{display:flex;justify-content:space-between}.schedule-form{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end}.schedule-form label{display:grid;grid-template-columns:auto 1fr;gap:.4rem;align-items:center}.intervals>div{display:flex;justify-content:space-between;align-items:center;padding:.8rem 0;border-bottom:1px solid #edf0f5}.danger{color:#b52836}@media(max-width:1000px){.stats{grid-template-columns:repeat(3,1fr)}nav{display:none}.hero{align-items:flex-start;flex-direction:column;gap:.5rem}}@media(max-width:600px){.stats{grid-template-columns:repeat(2,1fr)}.app{padding:1.2rem .7rem}.privacy{font-size:.75rem}.toolbar input{width:100%}.schedule-form,.detail-grid{grid-template-columns:1fr}header>div:last-child .ghost:first-child{display:none}}.time-fields{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.35rem}.time-fields select{width:100%}.time-fields b{color:#59657a}.detail{width:min(820px,100%)}.detail h2{margin-bottom:.25rem}.detail-grid{margin:1.4rem 0 1.75rem;gap:.75rem 1.5rem}.detail-grid>span{min-height:38px;align-items:center;gap:1rem}.detail-grid>span>b,.detail-grid>span>.badge{margin-left:auto;text-align:right}.schedule-form{padding:1rem;border:1px solid #e3e8f1;border-radius:12px;background:#f8f9fc;grid-template-columns:minmax(210px,1fr) minmax(210px,1fr) auto}.schedule-form>label{display:grid;grid-template-columns:1fr;align-items:stretch;gap:.45rem;color:#59657a;font-weight:700}.schedule-form select{width:100%}.schedule-form>button{min-height:43px;white-space:nowrap}.schedule-actions{display:grid;gap:.35rem}.schedule-actions>button{min-height:43px;white-space:nowrap}.time-fields{display:grid!important;grid-template-columns:minmax(70px,1fr) auto minmax(70px,1fr)!important;gap:.4rem!important;width:100%}.intervals{margin-top:1rem;border-top:1px solid #edf0f5}.intervals>div{gap:1rem;white-space:normal;font-weight:650}.interval-actions{display:flex;gap:.25rem;margin-left:auto}.intervals>div .danger{flex:0 0 auto;margin-left:auto}.vehicle-name{display:inline-flex;align-items:center;gap:.5rem;font-weight:700}.calendar-button{display:inline-grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#c2410c}.calendar-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.calendar-button:hover{background:#ffedd5;border-color:#fdba74}@media(max-width:760px){.detail{padding:1.3rem}.detail-grid,.schedule-form{grid-template-columns:1fr}.schedule-form>button{width:100%}}.app{width:100%;max-width:1800px;padding-left:clamp(1rem,2.2vw,2.5rem);padding-right:clamp(1rem,2.2vw,2.5rem)}header{padding-left:clamp(1rem,2.2vw,2.5rem);padding-right:clamp(1rem,2.2vw,2.5rem)}.table-wrap table{table-layout:auto;white-space:normal}.table-wrap th,.table-wrap td{vertical-align:middle}.table-wrap .mono,.table-wrap .badge,.table-wrap .online,.table-wrap td:nth-child(5){white-space:nowrap}.actions{min-width:300px;flex-wrap:wrap}.actions button{flex:1 1 135px;white-space:normal;line-height:1.2}@media(min-width:1500px){.app{max-width:none}.actions{min-width:390px;flex-wrap:nowrap}}@media(max-width:800px){.table-wrap table{min-width:980px}}.brand svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand.small svg{width:20px;height:20px}.schedule-panel{margin-top:1.8rem;padding:1.2rem;border-radius:14px;box-shadow:0 5px 16px #1e293b0d}.weekly-panel,.holiday-panel,.specific-panel{border:1px solid #b9d7f2;background:linear-gradient(135deg,#e8f4ff,#f7fbff 72%)}.schedule-panel h3{margin:0 0 .45rem}.weekly-panel h3,.holiday-panel h3,.specific-panel h3{color:#1d5f91}.schedule-panel>.muted{margin:0 0 1rem}.specific-period-form{display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr) auto;gap:1rem;align-items:end;padding:1rem;border:1px solid #e3e8f1;border-radius:12px;background:#f8f9fc}.specific-period-form>.schedule-actions{align-self:end}.specific-period-form .specific-period-field{gap:.45rem;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.specific-period-form .specific-period-label{color:#59657a;font-size:1rem;font-weight:700;letter-spacing:0;text-transform:none}.specific-period-field{display:grid;gap:.55rem;padding:.8rem;border:1px solid #f1e3d8;border-radius:11px;background:#fff;box-shadow:0 2px 8px #9a34120a;min-width:0}.specific-period-label{color:#c2410c;font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.specific-period-arrow{color:#59657a;font-size:1.2rem;font-weight:700}.specific-period-form input{width:100%;min-width:0;border:1px solid #d9dfeb;border-radius:9px;padding:.72rem;background:#fff}.specific-periods .intervals>div{margin-top:.65rem;padding:.75rem;border:1px solid #f3e7de;border-radius:10px;background:#fff}.detail .intervals>.period-row,.detail .template-links>.period-row{padding:.75rem;border:1px solid #a7d7b3;border-radius:10px;background:#edf9f0;transition:border-color .15s,background .15s,box-shadow .15s}.detail .period-row.active-now{border-color:#16a34a;background:#bbf7d0;box-shadow:0 0 0 2px #4ade80,0 5px 14px #15803d2e}.period-rule-content{display:flex!important;grid-template-columns:none!important;align-items:center;gap:.7rem!important;min-width:0}.period-rule-text{min-width:0}.rule-icon{display:inline-grid;width:2rem;height:2rem;flex:0 0 2rem;place-items:center;border-radius:9px;background:#fff;color:#15803d;box-shadow:inset 0 0 0 1px #86c99a}.rule-icon svg{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.rule-icon-check{stroke-width:2.2}.detail .period-row.active-now .rule-icon{background:#15803d;color:#fff;box-shadow:none}.active-period-badge{display:inline-block;margin-left:.55rem;padding:.25rem .45rem;border-radius:999px;background:#15803d;color:#fff;font-size:.68rem;font-style:normal;font-weight:800;letter-spacing:.02em;vertical-align:middle}.specific-date-time{display:grid;grid-template-columns:1fr;gap:.5rem;align-items:center}.specific-date-time .time-fields{width:150px;white-space:nowrap}@media(max-width:700px){.schedule-panel{padding:1rem}.specific-period-form{grid-template-columns:1fr}.specific-period-arrow{display:none}.specific-period-form>.schedule-actions{justify-self:stretch}}.holiday-page{display:grid;gap:1rem}.holiday-intro h2{margin-bottom:.3rem}.holiday-intro p{margin-top:0}.holiday-form{padding:1.2rem;display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1fr) auto minmax(0,1fr);gap:.8rem;align-items:center}.holiday-name{display:grid;gap:.5rem;font-weight:700}.holiday-name input,.holiday-form input,.template-link-form select{width:100%;min-width:0;padding:.72rem;border:1px solid #d9dfeb;border-radius:9px;background:#fff}.holiday-actions{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:.5rem}.holiday-list{display:grid;gap:.75rem}.holiday-list article{padding:1rem 1.2rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}.holiday-list h3,.holiday-list p{margin:0}.holiday-list p{margin-top:.35rem;color:#59657a}.holiday-list article>div:last-child{display:flex;gap:.4rem}.linked-templates h3{margin-bottom:.45rem}.template-link-form{display:grid;grid-template-columns:1fr auto;gap:.6rem}.template-links{display:grid;gap:.55rem;margin-top:.75rem}.template-links>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .8rem}.template-links span{display:grid;gap:.2rem}.template-links small{color:#59657a}@media(max-width:900px){.holiday-form{grid-template-columns:1fr}.holiday-form .specific-period-arrow{display:none}.holiday-actions{justify-content:stretch}}@media(max-width:600px){.holiday-list article,.template-links>div{align-items:flex-start;flex-direction:column}.template-link-form{grid-template-columns:1fr}}
