.kiln-station-page{margin:0;background:var(--canvas);color:var(--text-primary);font-family:var(--font-family,system-ui,sans-serif)}
.kiln-station-page [data-station-root]{max-width:1440px;margin:auto;padding:24px max(24px,env(safe-area-inset-right)) 32px max(24px,env(safe-area-inset-left))}
.kiln-station-page h1,.kiln-station-page h2,.kiln-station-page h3{margin:0;font-family:var(--font-heading,inherit)}
.kiln-station-page h1{font-size:1.6rem}.kiln-station-page h2{font-size:1.25rem}.kiln-station-page h3{font-size:1.1rem}
.kiln-station-page p{margin:8px 0;line-height:1.45}.kiln-station-page .muted,.station-footer,.station-kiln small{color:var(--text-secondary)}
.station-header,.station-brand,.station-actions,.station-section-heading,.station-staged-heading{display:flex;align-items:center;gap:12px}.station-header,.station-section-heading,.station-staged-heading{justify-content:space-between;flex-wrap:wrap}.station-brand img{max-width:144px;max-height:58px;object-fit:contain}.station-brand p{margin:4px 0 0}
.station-actions{flex-wrap:wrap}.station-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:24px 0}
.kiln-station-page button{min-height:48px;padding:12px 18px;border-radius:var(--radius-control);font:inherit;font-weight:600;line-height:1.25;text-align:center;touch-action:manipulation;cursor:pointer}
.kiln-station-page button:disabled{opacity:.55;cursor:default}.kiln-station-page button:focus:not(:focus-visible){outline:none}.kiln-station-page :focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.kiln-station-page .primary-action{background:var(--primary);color:var(--on-primary);border:1px solid var(--primary)}.kiln-station-page .secondary-action{background:var(--surface-secondary);color:var(--text-primary);border:1px solid var(--border)}
.station-kilns{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.kiln-station-page .station-kiln{display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;border:2px solid var(--border);border-radius:var(--radius-card);padding:20px;background:var(--surface);color:var(--text-primary)}.kiln-station-page .station-kiln.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}.station-kiln strong{font-size:1.25rem}.station-kiln b{font-size:1.45rem}.station-kiln small{font-weight:400;font-size:.85rem;line-height:1.4}
.station-panel,.station-unlock{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card)}.station-unlock{max-width:460px;margin:48px auto}.station-unlock form,.station-dialog form{display:grid;gap:20px;margin:24px 0}.station-unlock a{color:var(--primary)}
.kiln-station-page label{display:grid;gap:8px;font-weight:600}.kiln-station-page input,.kiln-station-page select,.kiln-station-page textarea{box-sizing:border-box;min-height:48px;width:100%;border:1px solid var(--border);border-radius:var(--radius-control);padding:12px 14px;background:var(--surface);color:var(--text-primary);font:inherit}.kiln-station-page textarea{resize:vertical}.station-form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.station-dialog .station-form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.station-scan-row{display:flex;align-items:flex-end;gap:12px;margin:24px 0}.station-scan-row label{flex:1;min-width:0}.station-firing,.station-slip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:20px 0;border-bottom:1px solid var(--border)}.station-firing>div:first-child,.station-slip>div:first-child{flex:1;min-width:180px}.station-staged-heading{margin:24px 0 4px}.station-staged-heading span{color:var(--text-secondary);font-weight:400;margin-left:6px}
.kiln-station-page details{margin-top:20px}.kiln-station-page summary{padding:12px 0;min-height:44px;box-sizing:border-box;cursor:pointer;font-weight:600}.station-checklist>div{display:grid;gap:12px;padding:12px 0}.station-checklist label{display:flex;align-items:center;font-weight:400}.station-checklist input{width:24px;min-height:24px;height:24px;margin:0;flex:none;accent-color:var(--primary)}
.station-notice,.station-idle-warning{background:var(--surface-secondary);border:1px solid var(--border);border-radius:var(--radius-card);padding:16px;margin:20px 0}.station-idle-warning{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:12px;z-index:2}.station-idle-warning[hidden]{display:none}.station-footer{padding:20px 0;font-size:.85rem}.is-error{color:var(--danger)}[data-station-status]:empty{margin:16px 0}
.station-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;background:var(--surface);color:var(--text-primary);padding:24px;border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:0 18px 70px rgb(var(--shadow-rgb)/.18)}.station-dialog::backdrop{background:rgb(0 0 0/.45)}.station-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.station-dialog [data-close]{width:48px;height:48px;padding:0;font-size:1.5rem;display:grid;place-items:center;flex:none}
@media(min-width:1100px){.station-kilns{grid-template-columns:repeat(4,minmax(0,1fr))}.station-panel{padding:28px}}
@media(max-width:650px){.kiln-station-page [data-station-root]{padding:16px}.station-brand img{max-width:90px}.station-tabs{gap:8px}.station-tabs button{padding:12px 6px;font-size:.9rem}.station-form-row{grid-template-columns:1fr}.station-panel{padding:18px}.station-scan-row{flex-wrap:wrap}.station-scan-row label{flex-basis:100%}.station-actions button{flex:1}.station-kilns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kiln-station-page .station-kiln{padding:16px}.station-dialog .station-form-row{grid-template-columns:1fr}}
.station-firing-checklist{flex-basis:100%;margin-top:0!important}.station-attention{color:var(--danger);font-size:.9rem}

.kiln-station-page .station-slip-photo{width:104px;height:104px;padding:4px;flex:none}.station-slip-photo img{width:100%;height:100%;object-fit:contain;border-radius:var(--radius-control)}.station-large-photo{display:block;width:100%;max-height:65dvh;object-fit:contain;margin-top:20px}

.station-pin-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kiln-station-page .station-pin-keypad button{min-height:60px;font-size:1.25rem}.kiln-station-page .station-pin-keypad [data-pin-key="clear"]{font-size:1rem}

.kiln-station-page{padding-bottom:var(--station-keyboard-inset,0px)}
.kiln-station-page input,.kiln-station-page select{scroll-margin-block:24px}
.station-panel>h3{margin-top:24px}.station-panel>.station-kilns{margin:16px 0}.station-panel [data-scanner-help]{font-size:.9rem;color:var(--text-secondary)}

.kiln-station-page [data-scan-status].is-error,.kiln-station-page [data-station-status].is-error{font-weight:700}

.kiln-station-page .station-icon-action{width:48px;height:48px;padding:12px;flex:none;display:grid;place-items:center}.station-icon-action svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.station-duty-stages{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}.station-duties li{padding:8px 0;line-height:1.5}
@media(max-width:650px){.station-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}

.station-calendar-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.station-calendar-toolbar h3{flex:1}.station-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.kiln-station-page .station-calendar-day{min-width:0;min-height:100px;display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:10px;background:var(--surface-secondary);color:var(--text-primary);border:1px solid var(--border);text-align:left;font-size:.85rem;overflow-wrap:anywhere}.station-calendar-day span{display:block;border-left:3px solid var(--primary);padding:4px;background:var(--surface);font-weight:400}.station-calendar-day small{display:block}.kiln-station-page .station-calendar-day.is-selected{outline:2px solid var(--primary);outline-offset:-2px}.station-calendar-grid--day{grid-template-columns:1fr}.station-calendar-detail{margin-top:24px}.station-equipment-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:24px 0}.station-equipment-facts dt{font-size:.85rem;color:var(--text-secondary)}.station-equipment-facts dd{margin:4px 0;font-weight:600;overflow-wrap:anywhere}.kiln-station-page .station-slip-select{display:flex;align-items:center;gap:8px}.kiln-station-page .station-slip-select input{width:24px;min-height:24px;height:24px;flex:none}.station-print-frame{position:fixed;width:1px;height:1px;left:-10000px;border:0}.kiln-station-page .station-duties .home-kiln-stage-step button{padding:.65rem .8rem;text-align:left;line-height:1.4;font-weight:600}.station-duties .home-kiln-duty-workflow{margin-top:20px}.station-duties .home-kiln-reminders{margin-top:20px}.station-tabs{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
@media(max-width:650px){.station-calendar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.station-calendar-grid--day{grid-template-columns:1fr}.station-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}

.station-schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:24px;align-items:start}.station-schedule-main{min-width:0}.station-calendar-filters{display:grid;gap:12px;padding:16px;background:var(--surface-secondary);border:1px solid var(--border);border-radius:var(--radius-card)}.station-calendar-filters h3{margin:0}.station-calendar-toolbar{margin:0 0 12px;gap:8px}.station-calendar-toolbar h3{margin:0;font-size:1.1rem}.station-calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;font-size:.8rem;color:var(--text-secondary);margin-bottom:6px}.station-calendar-grid{gap:4px}.kiln-station-page .station-calendar-day{min-height:56px;padding:6px;gap:3px;font-size:.85rem}.station-calendar-day .station-calendar-count{padding:0;border:0;background:transparent;font-size:.75rem;color:var(--primary)}.station-calendar-day .station-calendar-count-label{display:inline!important;padding:0;border:0;background:transparent}.station-calendar-detail{margin-top:16px}
@media(max-width:759px){.station-schedule-layout{grid-template-columns:1fr;gap:16px}.station-calendar-filters{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.station-calendar-filters h3{grid-column:1/-1}.station-calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.station-calendar-grid--day{grid-template-columns:1fr}.station-calendar-day .station-calendar-count-label{display:none!important}.station-calendar-toolbar{gap:6px}.station-calendar-toolbar h3{font-size:1rem}}

.station-tabs{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))}.kiln-station-page .station-tabs button{box-sizing:border-box;min-width:0;max-width:100%;padding-inline:8px;white-space:normal;overflow-wrap:anywhere;hyphens:auto}.station-maintenance{margin-top:16px}.station-maintenance>header{gap:12px;flex-wrap:wrap}.station-maintenance .station-actions{margin-top:16px}.station-maintenance p,.station-maintenance h3,.station-maintenance small{overflow-wrap:anywhere}

.station-firing-icon{width:44px;height:44px;object-fit:contain;flex:none}.station-firing--low{border-left:6px solid var(--success)}.station-firing--mid{border-left:6px solid var(--warning)}.station-firing--high{border-left:6px solid var(--danger)}.station-fire-filters{min-width:0;border:1px solid var(--border);border-radius:var(--radius-control);padding:12px}.kiln-station-page .station-fire-filter{display:flex;align-items:flex-start;gap:10px;margin:8px 0;padding-left:8px;border-left:4px solid var(--border);font-weight:600;line-height:1.4}.kiln-station-page .station-fire-filter input{width:22px;height:22px;min-height:22px;flex:none;margin:0}.station-fire-filter--low{border-left-color:var(--success)!important}.station-fire-filter--mid{border-left-color:var(--warning)!important}.station-fire-filter--high{border-left-color:var(--danger)!important}

.station-firing>div:not(.station-actions){flex:1;min-width:160px}.station-firing{padding-left:12px}

.station-equipment-heading h2{margin:0;flex:1;min-width:0;overflow-wrap:anywhere}.station-equipment-heading .station-actions{margin-left:auto;justify-content:flex-end}.station-loading-list{max-height:60vh;overflow:auto;overscroll-behavior:contain}.station-loading-list .station-slip{padding:16px 0}

.station-schedule-heading h2{margin:0;flex:1;min-width:0}.station-schedule-heading .station-actions{margin-left:auto;justify-content:flex-end}.station-schedule-heading .station-info-button{flex:none;width:44px;height:44px;padding:0;display:grid;place-items:center}.station-info-dialog{width:min(420px,calc(100vw - 32px))}

.station-review-heading h2{margin:0;flex:1;min-width:0}.station-review-heading .station-actions{margin-left:auto;justify-content:flex-end}.station-review-heading .station-info-button{flex:none;width:44px;height:44px;padding:0;display:grid;place-items:center}

.station-schedule-heading{margin-bottom:12px}

.kiln-station-page .station-tabs{grid-template-columns:repeat(var(--station-tab-count,5),minmax(0,1fr));gap:8px}.kiln-station-page .station-tabs button{padding:12px 6px;font-size:clamp(.8rem,2vw,1rem);line-height:1.25;overflow-wrap:anywhere;min-height:48px}

.station-review-heading{margin-bottom:16px}.kiln-station-page .station-review-slip{display:grid;grid-template-columns:104px minmax(0,1fr) max-content;gap:16px;align-items:center}.kiln-station-page .station-review-slip .station-review-details{grid-column:2;min-width:0;overflow-wrap:anywhere}.station-review-slip>.station-actions{grid-column:3;flex-wrap:nowrap;justify-content:flex-end;gap:8px}.station-review-slip .station-actions button{flex:none;white-space:normal}.station-review-heading+.station-form-row input::placeholder{color:color-mix(in srgb,var(--text-primary) 75%,var(--surface));opacity:1}
@media(max-width:900px){.station-review-slip>.station-actions{display:grid;grid-template-columns:1fr}.station-review-slip .station-actions button{width:100%;padding-inline:12px}}
@media(max-width:600px){.kiln-station-page .station-review-slip{grid-template-columns:64px minmax(0,1fr) minmax(0,100px);gap:8px}.kiln-station-page .station-review-slip .station-slip-photo{width:64px;height:64px}.station-review-slip .station-actions button{padding-inline:6px;overflow-wrap:anywhere}}

.personal-kiln-workspace{margin-top:16px;background:transparent}.personal-kiln-workspace [data-station-root]{padding:0;max-width:none}.personal-kiln-workspace .station-header h1{font-size:1.35rem}
