/* DORFER | MONTAGE V14 – V10-Oberfläche (visuelle Integration), Supabase-Funktionalität aus V13.
   Referenz: V10-korrigiert. Keine lokalen V10-Datenspeicher-Skripte eingebunden. */

:root{--red:#ab2c38;--dark:#252525;--ink:#2a2928;--muted:#797471;--line:#e4e2de;--surface:#fff;--paper:#f5f3f0;--forest:#262626;--deep:#202020;--sand:#f5f3f0;--good:#16784c;}
body{background:var(--sand);color:var(--ink)}
.shell{grid-template-columns:252px minmax(0,1fr)}
.sidebar{background:#242424;padding:30px 18px;gap:32px;min-height:100vh}
.brand{border:0;border-left:3px solid #bc2937;padding:0 0 0 15px;margin:4px 8px 22px}
.brand b.logo-title{display:block;font-size:27px;font-weight:850;letter-spacing:.045em;line-height:1.06;color:#fff}
.brand b.logo-title span{display:block;font-size:10px;letter-spacing:.27em;font-weight:600;margin-bottom:6px;color:#ece9e8}
.brand small{display:block;color:#ddd;letter-spacing:.035em;font-size:10px;margin-top:9px}
.brand-tag{font-size:10px;color:#f0c4c5;letter-spacing:.2em;font-weight:800;margin-top:18px}
.sidebar nav.nav{display:grid;gap:9px}
.sidebar .nav-btn{border:0;color:#d6d2d1;text-align:left;background:transparent;padding:13px 15px;border-radius:10px;display:flex;align-items:center;gap:12px;font-weight:600;white-space:normal}
.sidebar .nav-btn.selected,.sidebar .nav-btn.active{background:#a52b36;color:white}
.sidebar .nav-btn:hover{background:#42383a}
.nav .symbol{font-size:18px;min-width:22px;display:inline-block;text-align:center}
.sidefoot{margin-top:auto;padding:12px;color:#cfc9c8;font-size:12px;line-height:1.8;border:0}
.dot-online{display:inline-block;background:#63a87a;width:8px;height:8px;border-radius:99px}
.main{min-width:0;padding:0}
.content,.workspace{max-width:1220px;margin:auto;padding:34px clamp(18px,4vw,54px) 90px}
.top{height:81px;background:white;border-bottom:1px solid #e8e3e0;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(20px,4vw,55px);gap:15px;margin:0}
.crumb{font-size:11px;color:var(--muted);letter-spacing:.065em}
.top strong{display:block;font-weight:730;font-size:17px;margin-top:3px;color:#292725}
.top small{font-size:12px;color:var(--muted)}
.user{display:flex;align-items:center;gap:10px;font-size:13px}
.avatar{height:36px;min-width:36px;width:36px;border-radius:50%;background:#f3e3e3;display:grid;place-items:center;font-weight:800;color:#9b2631}
.user-actions{display:flex;gap:8px;flex-wrap:wrap}
.user-actions .btn{font-size:12px;min-height:35px;padding:8px 11px}
.eyebrow{color:#a52b36;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.page-heading h1{font-size:clamp(27px,3vw,40px);font-weight:660;letter-spacing:-.045em;margin:5px 0 5px}
.page-heading{margin-bottom:23px}
h1,h2,h3{letter-spacing:-.025em}
h2{font-size:20px}
.desc{color:var(--muted);margin:0}
.btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 16px;color:var(--ink);font-weight:650;display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;text-decoration:none}
.btn.primary,.btn.dark{background:#af2935;color:#fff;border-color:#af2935}
.btn:hover{filter:brightness(.96)}
.pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:#e8eee8;border-radius:999px;font-weight:750;color:#457458;font-size:11px}
.pill.grey{background:#ecece9;color:#657067}.pill.amber{background:#f7ecd9;color:#946624}
.hero{background:linear-gradient(120deg,#252525 0%,#383033 75%,#532b31 100%);color:#fff;border-radius:12px;border-bottom:4px solid #b52b35;min-height:207px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:32px 36px;margin-bottom:24px;overflow:hidden;position:relative}
.hero:after{content:'';position:absolute;width:340px;height:340px;right:90px;top:-140px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 60px #ffffff08,0 0 0 120px #ffffff04;pointer-events:none}
.hero .eyebrow,.hero p{color:#e5dedb}.hero h2{font-size:clamp(24px,3vw,35px);margin:10px 0;color:#fff}.hero p{margin:0}.hero button{background:#fff;z-index:1}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:26px}
.cards .metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px}
.cards .metric strong{display:block;font-size:28px;font-weight:650;margin:5px 0}
.cards .metric span,.cards .metric small{font-size:12px;color:var(--muted)}
.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:25px 0 15px;gap:10px}
.job-list{display:grid;gap:12px}
.job.order{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;display:flex;gap:18px;align-items:center;cursor:pointer;text-align:left;width:100%;color:inherit;min-height:100px}
.job:hover{border-color:#a0a4a3;box-shadow:0 5px 15px #2424240b}
.job-date{min-width:67px;text-align:center;border-right:1px solid var(--line);padding-right:18px}
.job-date strong{display:block;font-size:26px;line-height:1}
.job-date small{font-size:11px;color:var(--muted)}
.job-main{flex:1;min-width:0}.job-main strong{display:block;font-size:16px}.job-main p{color:var(--muted);font-size:12px;margin:5px 0 0}
.job-number,.job-assigned{display:block;font-size:12px;color:#777;line-height:1.5}
.job-assigned{font-style:italic}.arrow{font-size:24px;color:#a0aba0}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(275px,1fr);gap:18px;align-items:start}
.detail-grid>.panel{min-width:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:23px;min-width:0}
.detail-title{display:flex;justify-content:space-between;align-items:start;gap:12px}.detail-title p{font-size:13px}
.detail-title h2{margin:0 0 5px}
.tabbar{display:flex;gap:5px;border:0;border-bottom:1px solid var(--line);overflow-x:auto;margin:22px 0 20px;padding:0;scrollbar-width:thin}
.tab{background:none;border:0;padding:11px 13px;color:#758079;font-weight:650;white-space:nowrap;border-bottom:3px solid transparent;border-radius:0;min-height:42px}
.tab.selected,.tab.active{color:#a52b36;border-bottom:3px solid #af2935;background:none}
.summaryline{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:11px 0;font-size:13px}
.summaryline span{color:#77716d}.summaryline strong{text-align:right}
.summary-address{padding:15px 0}.summary-address b{font-size:12px}.summary-address p{margin:3px 0 12px;color:#72706d;font-size:13px;overflow-wrap:anywhere}
.note-text{margin-top:12px;white-space:pre-wrap}
.calendar-group{margin:24px 0}.day{font-size:12px;color:#8b4650;letter-spacing:.1em;text-transform:uppercase;font-weight:750;margin:22px 0 10px}
.mobile-nav{display:none}
.back{font-size:13px}.stack{gap:13px}
.auth{background:linear-gradient(120deg,#252525 0 48%,#eae8e6 48% 100%)}
.login{border-radius:12px}.login .brand-mini{color:#a52b36}
@media(max-width:1090px){.detail-grid{grid-template-columns:minmax(0,1fr) 290px}.job-status{display:none}}
@media(max-width:950px){.shell{grid-template-columns:1fr}.sidebar{display:none}.top{padding:12px 24px;height:auto;min-height:75px}.content,.workspace{padding:26px 20px 115px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;overflow-x:auto;background:#fff;border-top:1px solid var(--line);justify-content:space-between;padding:8px 6px max(10px,env(safe-area-inset-bottom));z-index:30;gap:2px;white-space:nowrap}.mobile-nav button{display:grid;place-items:center;gap:2px;border:0;background:none;color:#77807b;font-size:10px;padding:5px 8px;min-width:68px}.mobile-nav .sel{color:#a52b36;font-weight:750}.mobile-nav span{font-size:20px}}
@media(max-width:720px){.detail-grid{grid-template-columns:1fr}.detail-aside{grid-row:2}.panel{padding:17px}.cards{gap:8px}.cards .metric{padding:13px}.cards .metric strong{font-size:24px}.cards .metric span{font-size:10px}.hero{padding:23px;display:block}.hero button{margin-top:20px}.user-actions{gap:5px}.user-actions .btn{font-size:11px;padding:7px 9px}.top strong{font-size:15px}.page-heading{flex-wrap:wrap}.job.order{padding:15px;gap:12px}.job-date{min-width:50px;padding-right:12px}}
@media(max-width:470px){.cards .metric{padding:11px}.job .job-number{font-size:11px}.user .avatar{display:none}.content,.workspace{padding:17px 12px 120px}.user-actions .btn{padding:6px 7px}}

/* V14.1 – übersichtlicher Montageablauf, Kalender und Beanstandungen */
.workflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:28px}
.workflow-tile{position:relative;display:grid;text-align:left;align-content:start;gap:8px;background:white;border:1px solid var(--line);border-radius:12px;min-height:170px;padding:19px;color:var(--ink);transition:border-color .15s,transform .15s}
.workflow-tile:hover{border-color:#b63b46;transform:translateY(-2px)}.workflow-tile strong{font-size:15px}.workflow-tile small{color:var(--muted);line-height:1.5;font-size:12px}.workflow-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f7e8e9;color:#a12b35;font-size:21px}.workflow-arrow{color:var(--red);position:absolute;right:17px;top:17px;font-size:19px}
.issue-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.issue-overview-card{background:white;border:1px solid var(--line);border-left:3px solid var(--red);border-radius:10px;padding:20px}.issue-overview-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.issue-overview-top small{font-size:11px;color:var(--muted)}.issue-overview-card h3{margin:14px 0 3px;font-size:20px}.issue-overview-card p{font-size:13px;color:var(--muted);line-height:1.55}.issue-overview-card .issue-area{font-weight:700;color:#554a48}.issue-followup{background:#faf7f4;padding:11px;border-radius:8px}
.job-command-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#292628;border-radius:12px;padding:17px 19px;margin-bottom:14px;color:white;flex-wrap:wrap}.command-meta{display:flex;align-items:center;gap:10px;flex:1;min-width:170px}.command-meta>span{font-size:27px;color:#e5b4b7}.command-meta small{color:#c9c3c1;display:block;font-size:11px}.command-meta strong{display:block;margin-top:3px;font-size:13px;color:white;overflow-wrap:anywhere}.job-command-bar .btn.primary{background:#fff;color:#2e2728;border-color:#fff}
.detail-quicklinks{display:flex;gap:7px;overflow-x:auto;margin-bottom:17px;padding-bottom:6px;scrollbar-width:thin}.detail-quicklink{background:#fff;border:1px solid #ded9d6;border-radius:10px;padding:12px 16px;white-space:nowrap;font-weight:700;color:#635e5c;min-height:46px}.detail-quicklink.on{background:#a52b36;border-color:#a52b36;color:#fff}.quick-count{background:#dcb4b5;padding:2px 6px;border-radius:99px;color:#7d1825;font-size:11px}
.order-editor .heading{margin-bottom:15px}.form-steps{display:flex;flex-wrap:wrap;gap:9px;background:#f8f5f3;padding:13px;border-radius:12px;margin:18px 0}.form-steps span{font-size:12px;font-weight:700;background:white;border:1px solid #e9e1dc;border-radius:30px;padding:7px 11px;color:#665d59}
.appointment-card{background:linear-gradient(120deg,#faf5f5,#f8f7f4);border:1px solid #e5d6d3;border-radius:12px;padding:20px 20px 24px}.appointment-head{display:flex;align-items:center;gap:13px;margin-bottom:16px}.appointment-symbol{background:#ab2c38;color:white;font-size:27px;border-radius:10px;min-height:49px;min-width:49px;display:grid;place-items:center}.appointment-head h4{margin:0 0 3px}.appointment-head p{font-size:12px;color:var(--muted);margin:0}.date-combo{display:flex;gap:8px}.date-combo input{min-width:0;flex:1}.date-combo .btn{white-space:nowrap}.date-hint{font-size:11px;color:var(--muted)}
.date-dialog{max-width:430px;background:#fff;padding:22px}.date-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.date-dialog-head h3{font-size:23px;margin:3px 0 0;text-transform:capitalize}.date-arrows{display:flex;gap:6px}.date-arrows .btn{min-height:43px;min-width:43px;padding:7px;font-size:26px}.date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.date-weekday{text-align:center;font-size:11px;font-weight:800;color:#8f8682;padding:6px 0}.date-day{border:1px solid transparent;border-radius:9px;background:#f8f7f6;min-height:46px;font-weight:700;color:#272423}.date-day:hover{border-color:#ba676d}.date-day.today{border-color:#a52b36}.date-day.chosen{background:#a52b36;color:#fff}.date-bottom{display:flex;justify-content:space-between;gap:9px;margin-top:20px}
.acceptance-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 22px}.accept-step{border:1px solid #e5e0dd;border-radius:11px;display:flex;gap:9px;align-items:center;padding:11px}.accept-step>span{height:32px;width:32px;min-width:32px;border-radius:50%;display:grid;place-items:center;background:#e8e5e3;color:#76706d;font-weight:800}.accept-step b{font-size:12px;display:block}.accept-step small{display:block;color:var(--muted);font-size:11px}.accept-step.done>span{background:#e4f3eb;color:#116344}.accept-step.current>span{background:#ab2c38;color:white}
@media(max-width:1100px){.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.issue-overview-grid{grid-template-columns:1fr}}
@media(max-width:640px){.job-command-bar{align-items:stretch}.job-command-bar .btn{width:100%}.date-combo{flex-wrap:wrap}.date-combo .btn{flex:1}.acceptance-progress{grid-template-columns:1fr}.workflow-tile{min-height:140px}.workflow-grid{gap:9px}.date-dialog{padding:16px}.date-day{min-height:42px}}

/* V14.2: Direkt erfassbare Beanstandungen, Fotos und Zahlungen – iPad optimiert */
.payment-amount[hidden],.new-issue-form[hidden],.photo-upload-message[hidden]{display:none!important}
.brand-image{display:block;width:100%;height:auto;border-radius:3px;object-fit:contain}
.login-logo{display:block;width:min(360px,100%);height:auto;margin:0 0 23px;border-radius:5px}
.photo-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px;margin-bottom:18px}
.photo-tile{border:1px solid #e1dcd9;border-radius:14px;background:#fcfbfa;padding:20px;min-width:0;display:flex;flex-direction:column;gap:10px}
.photo-tile.raum{border-top:5px solid #8c8e95}.photo-tile.fertig{border-top:5px solid #42816b}.photo-tile.beanstandung{border-top:5px solid #b13b42}
.photo-tile-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.photo-pictogram{display:grid;place-items:center;width:68px;height:68px;background:#f1efed;border-radius:14px;font-size:38px;font-weight:750;color:#333}
.photo-tile.raum .photo-pictogram{background:#ececef;color:#525866}.photo-tile.fertig .photo-pictogram{background:#e4f2ec;color:#39765c}.photo-tile.beanstandung .photo-pictogram{background:#fae7e6;color:#a52b36}
.photo-tile-count{font-size:13px;font-weight:700;background:#f1efed;border-radius:99px;padding:6px 10px}
.photo-tile h4{font-size:18px;line-height:1.25;margin:6px 0 0}.photo-tile-hint{font-size:13px;color:#777;margin:0;min-height:38px}
.photo-tile-form{display:block;margin:5px 0 0}.photo-tile-actions{display:grid;grid-template-columns:1fr;gap:8px}
.photo-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;cursor:pointer;text-align:center;font-weight:750;width:100%;font-size:14px}
.hidden-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
/* V14.41.3: Eingabefeld liegt im Button und bleibt darin verankert. */
.photo-action{position:relative;overflow:hidden}.photo-action .hidden-file-input{left:0;top:0}
.photo-issue-label{display:grid;gap:6px;font-size:12px;font-weight:650;margin-bottom:12px}.photo-issue-label select{width:100%;min-height:46px}
.photo-tile-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.photo-tile-previews .photo-preview{aspect-ratio:1;border-radius:8px;overflow:hidden;padding:0;width:100%;border:1px solid #dedad7;background:#f5f5f4}.photo-tile-previews .photo-preview img{width:100%;height:100%;object-fit:cover}
.photo-none{font-size:12px;color:#8a8581;margin:8px 0 0}.photo-upload-message{font-size:12px;color:#276447;margin:8px 0}
.large-action{min-height:55px;font-size:15px;margin:8px 0 16px;width:100%}
.new-issue-form{background:#fcf7f6;border:1px solid #efcecb;padding:20px;border-radius:12px;margin:2px 0 20px}.new-issue-form h4{margin:0 0 13px}.issue-list{display:grid;gap:12px}
.payment-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 28px}.payment-summary>div{background:#f8f6f4;border-radius:12px;padding:16px;display:grid;gap:6px}.payment-summary small{font-size:12px;color:#6c6460}.payment-summary strong{font-size:clamp(18px,2.3vw,25px)}
.payment-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.payment-choice{display:flex;position:relative;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:9px;min-height:168px;padding:15px 12px;cursor:pointer;border:2px solid #ded9d5;border-radius:14px;background:#fff}
.payment-choice input{position:absolute;top:10px;left:10px;accent-color:#aa2935;width:20px;height:20px}.payment-choice.selected{border-color:#ab2b37;background:#fbf0f0;box-shadow:0 0 0 2px #b42b3514}.payment-choice .pay-icon{font-size:30px;width:54px;height:54px;border-radius:50%;background:#f1efed;display:grid;place-items:center;font-weight:750;color:#484241}.payment-choice.selected .pay-icon{background:#a82e39;color:white}.payment-choice b{font-size:14px}.payment-choice small{font-size:11px;color:#7d7672;line-height:1.35}
.payment-amount{display:grid;gap:8px;background:#f9f7f4;border:1px solid #e4ded9;border-radius:12px;padding:20px}.payment-amount label{font-weight:700}.payment-amount input{font-size:24px;font-weight:700;min-height:60px}.payment-amount small{font-size:12px;color:#777}.payment-save{min-height:57px;font-size:16px}
@media(max-width:850px){.photo-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-choice-grid{gap:7px}.payment-choice{padding:13px 8px}.payment-choice b{font-size:12px}}
@media(max-width:640px){.photo-tile-grid{grid-template-columns:1fr}.payment-choice-grid{grid-template-columns:1fr}.payment-choice{min-height:85px;display:grid;grid-template-columns:48px 1fr;grid-template-rows:1fr 1fr;text-align:left;align-content:center;column-gap:12px;padding:12px 15px}.payment-choice input{position:static;grid-row:1/3;grid-column:1;margin:auto}.payment-choice .pay-icon{display:none}.payment-choice b{grid-column:2;grid-row:1;font-size:14px}.payment-choice small{grid-column:2;grid-row:2}.payment-summary{grid-template-columns:1fr;gap:6px}.payment-summary>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 14px}.payment-summary strong{font-size:18px}.brand-image{max-width:180px}}

/* V14.3 – Einsatzübersicht: großzügige Touch-Flächen und eindeutige Piktogramme */
.dorfer-icon{width:24px;height:24px;display:inline-block;flex:0 0 auto;vertical-align:middle}
.worker-order-heading{align-items:center;margin:16px 0 22px}
.worker-order-heading .eyebrow{font-size:13px;letter-spacing:.13em;display:block;margin-bottom:7px}
.worker-order-id{display:block;font-size:14px;font-weight:750;color:#665b5a;margin:0 0 6px}
.worker-order-heading h1{font-size:clamp(30px,4vw,42px);margin:0 0 7px;line-height:1.11;overflow-wrap:anywhere}
.worker-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:7px 0 14px;margin:0 0 22px;border:0;scroll-snap-type:x proximity}
.worker-tabs .detail-quicklink{min-height:55px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;white-space:nowrap;scroll-snap-align:start;flex:0 0 auto;font-size:13px;border:1px solid #e5e1dd;border-radius:12px;background:#fff;color:#554e4b;font-weight:700}
.worker-tabs .detail-quicklink.on{border-color:#a62936;background:#a62936;color:#fff;box-shadow:0 4px 12px #862b3028}
.worker-tabs .detail-quicklink .dorfer-icon{width:18px;height:18px}
.worker-tabs .quick-count{border-radius:99px;background:#fff2f2;color:#8d1f29;padding:2px 6px;font-size:11px}
.worker-start{display:grid;gap:20px;max-width:1120px}
.worker-info-top{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff;padding:18px 22px;border:1px solid #e6e0dc;border-radius:14px}
.worker-info-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#817873;font-weight:750;letter-spacing:.015em;margin-bottom:5px}
.worker-info-label .dorfer-icon{width:17px;height:17px;color:#a82b35}
.worker-info-main strong{display:block;font-size:18px;line-height:1.35}
.worker-info-main small{display:block;font-size:15px;color:#786b66;font-weight:650;margin-top:4px}
.worker-address-card{display:flex;align-items:stretch;gap:23px;background:#2b2929;border-radius:16px;padding:24px 25px;color:#fff;min-height:215px;position:relative;overflow:hidden}
.worker-address-card:after{content:"";width:260px;height:260px;border:1px solid #ffffff1a;border-radius:50%;position:absolute;right:-125px;top:-95px;pointer-events:none}
.worker-address-rows{flex:1;display:flex;flex-direction:column;justify-content:center;gap:20px;min-width:0;z-index:1}
.worker-data-line{display:flex;gap:14px;align-items:flex-start}
.worker-data-line>.dorfer-icon{color:#e1a7ab;width:26px;height:26px;margin-top:5px}
.worker-data-line>div{display:grid;gap:4px;min-width:0}
.worker-data-line span{font-size:12px;color:#cfc9c7}
.worker-data-line strong{font-size:clamp(15px,2vw,19px);line-height:1.35;overflow-wrap:anywhere}
.worker-notes{border-left:3px solid #e3a3ac;padding-left:12px;max-width:600px}
.worker-notes strong{font-size:12px;color:#f0c6c7}
.worker-notes p{margin:5px 0 0;white-space:pre-wrap;font-size:13px;line-height:1.4}
.worker-nav-btn{min-width:215px;max-width:265px;display:flex;gap:12px;align-items:center;align-self:center;min-height:90px;padding:15px 17px;border-radius:13px;z-index:1;text-align:left}
.worker-nav-btn .dorfer-icon{width:26px;height:26px}.worker-nav-btn span{font-size:17px;line-height:1.15;font-weight:750;flex:1}.worker-nav-btn .dorfer-icon:last-child{width:18px;height:18px}.disabled-link{opacity:.5;pointer-events:none}
.worker-section-title h3{font-size:22px;margin:6px 0 0}
.worker-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.worker-action{display:flex;align-items:center;position:relative;gap:17px;text-align:left;padding:23px 22px;min-height:132px;background:white;border:1px solid #e1dad5;border-radius:15px;cursor:pointer;transition:border-color .15s,box-shadow .15s;color:#302e2c;box-shadow:0 2px 4px #11111105}
.worker-action:hover,.worker-action:focus-visible{border-color:#a82d38;box-shadow:0 5px 17px #11111113;outline-offset:2px}
.worker-action:disabled{opacity:.55;cursor:default}
.worker-action-icon{width:66px;height:66px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:#f5e7e7;color:#9e303c}
.worker-action-icon .dorfer-icon{width:34px;height:34px}
.worker-action.files .worker-action-icon{color:#515d6d;background:#edf0f5}
.worker-action.camera .worker-action-icon{color:#377353;background:#e8f2ed}
.worker-action.checklist .worker-action-icon{color:#866739;background:#f5eee1}
.worker-action-copy{display:grid;gap:7px;min-width:0;flex:1}.worker-action-copy strong{font-size:clamp(15px,1.5vw,18px)}.worker-action-copy small{font-size:12px;line-height:1.4;color:#7d736e}
.worker-action-arrow{color:#8a817e;display:flex;align-self:center}.worker-action-arrow svg{width:20px;height:20px}
.worker-files-fast{border:1px solid #d9e1e8;background:#f5f8fa;border-radius:12px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.worker-files-fast>div{display:flex;align-items:center;gap:12px}.worker-files-fast svg{color:#54728a}.worker-files-fast>div>div{display:grid;gap:4px}.worker-files-fast strong{font-size:14px}.worker-files-fast small{font-size:12px;color:#77838b}
.worker-progress-card{background:#fff;border:1px solid #e5e0db;border-radius:15px;padding:22px;display:grid;gap:15px}
.worker-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.worker-progress-heading h3{margin:0 0 6px;font-size:19px}.worker-progress-heading p{margin:0;color:#847b77;font-size:13px}.worker-progress-heading>strong{font-size:23px;color:#852d36}
.worker-progress-track{height:10px;background:#ece9e5;border-radius:99px;overflow:hidden}.worker-progress-track span{display:block;background:#a92c38;border-radius:99px;height:100%;transition:width .3s}
.worker-progress-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:#faf9f7;border-radius:9px;padding:13px 15px;text-align:left;color:#7d2a33;font-weight:750;font-size:15px;min-height:53px;cursor:pointer}.worker-progress-link .dorfer-icon:last-child{margin-left:auto}
.worker-bottom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.worker-small-card{border:1px solid #e5e0db;background:#fff;border-radius:14px;padding:21px;display:grid;gap:13px;align-content:start}
.worker-small-title{display:flex;gap:10px;align-items:center}.worker-small-title>.dorfer-icon{color:#a42d37}.worker-small-title h3{font-size:16px;margin:0}
.worker-small-card>p{margin:0;color:#726965;font-size:13px;line-height:1.5}
.worker-small-card .btn{justify-self:start;min-height:43px;font-size:12px}
.worker-photo-status{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;background:#fbfaf9;border:1px solid #f0ebe7;border-radius:9px;padding:14px 12px;min-height:60px;color:#352f2e;cursor:pointer}
.worker-photo-status span{font-size:13px;font-weight:650;max-width:65%}.worker-photo-status strong{font-size:12px;text-align:right;white-space:nowrap}.worker-photo-status strong.missing{color:#a46224}.worker-photo-status strong.ready{color:#34744d}
.worker-finish-row{display:flex;justify-content:flex-end}.worker-finish-btn{min-height:58px;min-width:215px;gap:12px;font-size:15px}
/* Modal – Foto-Hinweis & Beanstandung mit direkt anschließender Kamera */
.photo-reminder-dialog,.quick-issue-dialog{width:min(580px,calc(100vw - 26px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:clamp(20px,4vw,30px);border:1px solid #e8ded9;border-radius:20px;box-shadow:0 20px 70px #0005}
.photo-reminder-dialog::backdrop,.quick-issue-dialog::backdrop{background:#1a1515a9}
.photo-reminder-dialog h3{font-size:23px;margin:13px 0 10px}.photo-reminder-dialog>p{font-size:14px;line-height:1.55;color:#66605c}
.reminder-icon{width:56px;height:56px;display:grid;place-items:center;background:#f9e9db;color:#995f26;border-radius:14px}
.reminder-icon .dorfer-icon{width:31px;height:31px}
.missing-photo-list{display:grid;gap:11px;margin:19px 0 15px}.missing-photo-item{display:flex;align-items:center;gap:11px;border:1px solid #eaded3;background:#fbf9f7;border-radius:11px;padding:13px 12px}
.missing-photo-icon{width:39px;height:39px;display:grid;place-items:center;background:#f4ece5;border-radius:10px;color:#875833;flex:0 0 auto}
.missing-photo-item>div{min-width:0;flex:1;display:grid;gap:5px}.missing-photo-item strong{font-size:13px}.missing-photo-item small{font-size:12px;color:#9a6d42}
.missing-photo-camera{cursor:pointer;font-size:12px;min-height:44px;padding:9px 11px;flex:0 0 auto}.missing-photo-camera .dorfer-icon{width:17px;height:17px}
.reminder-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.reminder-actions .btn{flex:1;min-height:50px;font-size:13px}.reminder-actions .primary{flex:1 1 100%}.reminder-actions .subtle{border:0;color:#8a827f}
.reminder-status{font-size:12px;line-height:1.4;min-height:0;margin:8px 0 0;color:#955130}
.quick-issue-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}.quick-issue-head>.dorfer-icon{color:#a52b36;width:38px;height:38px}.quick-issue-head h3{margin:0;font-size:22px}.quick-issue-head p{margin:4px 0 0;color:#837976;font-size:13px}
.quick-issue-dialog .input-group{display:grid;gap:7px}.quick-issue-dialog label{font-weight:700;font-size:13px}.quick-issue-dialog textarea{min-height:80px}.quick-issue-photo{border:1px dashed #c8b2b1;border-radius:12px;padding:14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;cursor:pointer}.quick-issue-photo input{max-width:100%;width:100%;font-weight:400;font-size:12px}
@media(max-width:970px){.worker-tabs{margin-left:-1px;margin-right:-1px}.worker-action-grid{gap:12px}.worker-action{padding:18px;min-height:120px}}
@media(max-width:700px){.worker-address-card{flex-direction:column;padding:20px;gap:17px}.worker-nav-btn{width:100%;max-width:none;align-self:stretch;min-height:70px}.worker-action{min-height:113px;gap:12px;padding:15px}.worker-action-icon{width:49px;height:49px;border-radius:12px}.worker-action-icon .dorfer-icon{width:27px;height:27px}.worker-action-arrow{display:none}.worker-bottom-grid{grid-template-columns:1fr}.worker-info-main strong{font-size:16px}}
@media(max-width:520px){.worker-action-grid{grid-template-columns:1fr}.worker-action{min-height:93px}.worker-info-top{padding:15px}.worker-photo-status{flex-wrap:wrap}.worker-photo-status span{max-width:100%}.missing-photo-item{flex-wrap:wrap}.missing-photo-camera{margin-left:50px}.worker-files-fast{align-items:stretch;flex-direction:column}.worker-files-fast .btn{width:100%}.worker-finish-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.worker-action,.worker-progress-track span{transition:none}}

/* V14.5 – sichere Admin-Löschung / Papierkorb */
.order-admin-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}
.order-admin-row>.job{min-width:0;width:100%}
.delete-order-btn{border-color:#f0cece;background:#fff8f8;color:#8e222b;white-space:nowrap}
.delete-order-btn:hover{background:#ffebec}
.trash-row{border:1px solid #e5e0db;background:#fff;border-radius:12px;padding:16px;display:flex;justify-content:space-between;gap:12px;align-items:center}
.trash-row>div{display:grid;gap:4px}
.trash-row small{font-size:13px;color:var(--muted)}
.delete-order-dialog .alert{margin:16px 0}
.delete-order-dialog input{font-size:18px;font-weight:650}
.delete-order-dialog #deleteFeedback{color:#8c1d26}
@media(max-width:850px){.order-admin-row{grid-template-columns:1fr}.delete-order-btn{justify-self:start}.trash-row{align-items:stretch;flex-direction:column}}

/* V14.6 – für Schreiner klar getrennte Arbeitsschritte, große iPad-Felder */
.worker-action.humidity .worker-action-icon{background:#eaf3f7;color:#2f6d85}
.worker-action.glass .worker-action-icon{background:#eff0f8;color:#59558f}
.worker-action.yellow .worker-action-icon{background:#fff3c9;color:#93670e}
.worker-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.field-spotlight{border:1px solid #e9e0da;border-radius:15px;background:#fbfaf8;padding:19px;display:grid;gap:13px}
.field-spotlight h4{margin:0;color:#412b30}
.field-spotlight .big-checkbox{min-height:72px;padding:14px;border:1px solid #e3d5cb;border-radius:11px;background:white;align-items:center}
.field-spotlight .big-checkbox input{width:24px;height:24px;flex:0 0 auto}
.field-spotlight .big-checkbox span{display:grid;gap:4px}
.field-spotlight .big-checkbox small{font-weight:400;font-size:12px;color:#746b68}
.helper-line{font-size:13px;color:#746c67;margin:0}
.practical-panel h3,.yellow-card h3{display:flex;align-items:center;gap:10px}
.practical-panel h3 .dorfer-icon,.yellow-card h3 .dorfer-icon{width:27px;height:27px;color:#8e3741;flex:0 0 auto}
.measure-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 12px;background:#faf9f7;border:1px solid #e8e2de;border-radius:11px;margin:11px 0}
.measure-row strong{font-size:15px}.measure-row p{margin:6px 0 0;color:#5d5754;font-size:14px}
.touch-form{border-top:1px solid #ede6e3;margin-top:22px;padding-top:20px}
.touch-form input,.touch-form select{min-height:48px;font-size:17px}
.touch-form textarea{font-size:15px}
.big-touch{min-height:55px;justify-content:center;font-size:15px;padding:12px 17px}
.yellow-card{border:1px solid #f1daa0;background:#fff9e8}
.yellow-card hr{border-color:#f2dea9}
.yellow-card textarea,.yellow-card select{background:white}
.yellow-card .pill{background:#fbe6a6;color:#684b00}
.purge-dialog{width:min(550px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}
.purge-dialog .checkbox-row{min-height:62px;align-items:center;padding:12px;border:1px solid #edc3bf;background:#fff8f8;border-radius:12px}
.purge-dialog #purgeNumber{font-size:18px;font-weight:700}
@media(max-width:740px){.worker-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.measure-row{align-items:flex-start}.measure-row .btn{flex-shrink:0}.field-spotlight{padding:14px}}
@media(max-width:520px){.worker-action-grid{grid-template-columns:1fr}.touch-form .formgrid{grid-template-columns:1fr}.measure-row{flex-wrap:wrap}}
.worker-extra-tasks{border:1px solid #e7e1dc;background:#fff;border-radius:15px;padding:15px;display:grid;gap:9px;margin-top:20px}
.worker-extra-tasks h3{font-size:16px;margin:4px 3px 7px;color:#342e2e}
.worker-extra-row{display:flex;align-items:center;gap:13px;border:1px solid #ede8e2;border-radius:10px;min-height:70px;background:#faf9f7;text-align:left;padding:12px 13px;cursor:pointer;color:#312d2b}
.worker-extra-row>.dorfer-icon{flex:0 0 auto;width:28px;height:28px;color:#487c8b}
.worker-extra-row span{flex:1;min-width:0;display:grid;gap:5px}
.worker-extra-row b{font-size:14px}.worker-extra-row small{font-size:12px;color:#77716d}
.worker-extra-row>strong{flex:0 0 auto;font-size:12px;color:#706867}
.worker-extra-row strong.good{color:#2d7354}.worker-extra-row strong.pending{color:#a16a21}
.worker-extra-row.yellow{background:#fff8e5;border-color:#efdfa7}.worker-extra-row.yellow>.dorfer-icon{color:#9f761f}
.worker-extra-row:hover{border-color:#ab9388;background:#fff}
@media(max-width:550px){.worker-extra-row{flex-wrap:wrap;gap:9px}.worker-extra-row>strong{width:100%;padding-left:39px}}

/* V14.6.4 – Schreinerübersicht bewusst auf 2 Schnellzugriffe reduziert */
.schreiner-portal .workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:620px){.schreiner-portal .workflow-grid{grid-template-columns:1fr}}

/* DORFER V14.8 – ruhiger Dispositionsassistent & Auswertung */
.wizard-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:16px 0 24px}.wizard-step{background:#f4f1ee;border:1px solid #e9e1de;border-radius:14px;padding:13px 7px;display:grid;justify-items:center;gap:5px;color:#756c6c}.wizard-step span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:white;font-weight:800}.wizard-step b{font-size:12px}.wizard-step.active{background:#7f3039;color:white;border-color:#7f3039}.wizard-step.finished{border-color:#c8a2a6;color:#742e36}.wizard-section[hidden],.wizard-footer [hidden],.appointment-notice [hidden]{display:none!important}.wizard-section{display:grid;gap:19px;min-height:310px}.wizard-section h4{margin:4px 0}.wizard-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding-top:21px;border-top:1px solid #e6e3e0;margin-top:9px}.wizard-footer #wizardBack{margin-right:auto}.wizard-save-state{color:#7a7373;font-size:12px}.warehouse-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.warehouse-choice{position:relative;display:flex;align-items:center;gap:14px;background:#faf9f7;border:2px solid #e7e2de;border-radius:18px;padding:17px;cursor:pointer}.warehouse-choice:has(input:checked){border-color:#91343f;background:#fff6f5}.warehouse-choice input{accent-color:#91343f;width:20px;height:20px}.warehouse-choice .warehouse-picto{font-size:27px;color:#783a44}.equipment-card,.appointment-notice{background:#faf9f7;padding:17px;border-radius:16px;border:1px solid #e8e4df;display:grid;gap:13px}.wizard-review{display:grid;grid-template-columns:1fr 1fr;gap:11px}.wizard-review>div{padding:17px;border:1px solid #e7e3df;border-radius:14px;background:#fbfaf9;display:grid;gap:5px}.wizard-review small{color:#777}.wizard-review strong{font-size:14px}.customer-suggestions{grid-column:1/-1}.customer-hit{width:100%;display:flex;justify-content:space-between;text-align:left;border:1px solid #ddd;background:#fff;padding:12px;border-radius:10px;margin-top:5px}.customer-selected{color:#22734d;padding:8px 0}.arrival-notice{border-radius:15px;background:#fdf5e6;color:#6d4b22;padding:15px 18px;font-weight:750;margin:10px 0}.analysis-filters{display:flex;gap:16px;flex-wrap:wrap;margin:18px 0}.analysis-filters label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#555}.analysis-filters select{padding:12px;min-width:180px;border:1px solid #ddd;border-radius:12px;background:white}.analysis-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.analysis-tile{border:1px solid #e5e1dd;border-radius:16px;background:#fff;min-height:132px;padding:19px;display:grid;gap:5px}.analysis-tile strong{font-size:30px}.analysis-tile small,.analysis-tile span{color:#76716e}.analysis-bar{margin:16px 0}.analysis-bar>div:first-child{display:flex;justify-content:space-between;gap:12px}.analysis-track{height:9px;background:#ece8e4;border-radius:99px;margin-top:9px;overflow:hidden}.analysis-track span{height:100%;display:block;background:#873b46;border-radius:99px}@media(max-width:800px){.analysis-tiles{grid-template-columns:repeat(2,1fr)}.wizard-step b{font-size:10px}}@media(max-width:600px){.warehouse-choices,.wizard-review{grid-template-columns:1fr}.wizard-step{padding:9px 1px}.wizard-step b{font-size:9px}.wizard-footer button{flex:1}.analysis-tiles{gap:8px}.analysis-tile{min-height:110px;padding:13px}.analysis-tile strong{font-size:24px}}

/* V14.9 – ruhige, große Eingabereihen für optionale Sonderprüfpunkte */
.custom-checklist-editor{border:1px solid #e7e0d8;background:#fcfbf9;border-radius:17px;padding:20px 18px;margin:20px 0}
.custom-checklist-editor h4{margin:0 0 6px}.custom-checklist-editor .heading{margin-bottom:14px}
.custom-checklist-editor p{margin:0;color:#756f6d;font-size:.88rem}
.custom-checklist-list{display:flex;flex-direction:column;gap:10px;margin:12px 0}
.custom-checklist-row{display:grid;grid-template-columns:24px minmax(0,1fr) 42px;align-items:center;gap:9px}
.custom-checklist-row input{width:100%;min-width:0;min-height:48px;padding:11px 14px;border:1px solid #d8d4cf;border-radius:11px;font-size:1rem;background:white}
.custom-checklist-row .custom-remove{height:45px;min-width:40px;font-weight:700}
.custom-index{color:#7b313c;font-weight:700}.custom-add{margin-top:7px;min-height:46px}
@media(max-width:650px){.custom-checklist-editor{padding:15px 11px}.custom-checklist-row{grid-template-columns:18px minmax(0,1fr) 40px;gap:5px}}

/* V14.10: Ruhige Dokument-Downloads, Besonderheiten und interne PDF-Vorschau */
.special-note-card .input-group textarea{min-height:150px;font:inherit;line-height:1.55}
.document-download-all{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:15px 0 20px}
.document-download-all small{color:var(--muted,#777);max-width:320px}
.doc-row .btn{min-height:42px}
.yellow-pdf-dialog{width:min(980px,96vw);max-height:94vh;border:0;border-radius:18px;padding:22px;box-shadow:0 22px 85px #0006}
.yellow-pdf-dialog::backdrop{background:#101014b3}
.yellow-pdf-dialog .heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.yellow-pdf-dialog .yellow-pdf-body{background:#eeece8;border-radius:12px;min-height:280px;padding:10px;margin:14px 0}
.yellow-pdf-dialog iframe{width:100%;height:min(68vh,830px);border:0;border-radius:9px;background:white}
.yellow-pdf-dialog .actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){.yellow-pdf-dialog{padding:12px;border-radius:12px}.yellow-pdf-dialog iframe{height:60vh}.document-download-all .btn{width:100%}}

/* V14.11: Büro-Schnellzugriff, Glas-Zeichenfeld & Küchenausbau */
.office-command{background:linear-gradient(140deg,#faf8f6,#fff);border:1px solid #ebe7e3;border-radius:18px;padding:21px;margin-bottom:21px;box-shadow:0 8px 26px rgba(33,30,29,.035)}
.office-command .heading{margin-bottom:17px}
.office-command .heading h3{margin:5px 0;font-size:1.28rem;color:#262527}
.office-command-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.office-command-tile{border:1px solid #e9e4e1;border-radius:13px;background:white;padding:16px;display:flex;align-items:flex-start;gap:8px;flex-direction:column;text-align:left;cursor:pointer;color:#29282a;min-height:119px;transition:box-shadow .15s,border-color .15s}
.office-command-tile:hover,.office-command-tile:focus-visible{border-color:#a23742;box-shadow:0 4px 15px #6c2f3a15;outline:none}
.office-command-tile>svg{width:26px;height:26px;stroke:#953642}
.office-command-tile strong{font-size:1rem}
.office-command-tile small{color:#6d6a69;font-size:.78rem}
.removal-editor{padding:19px;background:#faf8f7;border:1px solid #ebe3e1;border-radius:17px;display:grid;gap:15px;margin-top:12px}
.removal-editor[hidden],#kitchenEquipment[hidden]{display:none!important}
.removal-task-edit{padding:16px;background:#fff;border:1px solid #e6e0dd;border-radius:13px;display:grid;gap:12px}
.removal-task-edit>.checkbox-row{padding:6px 0;font-size:1.05rem}
.removal-task-edit textarea{width:100%;min-height:56px;box-sizing:border-box}
.dust-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#fcf7ef;border:1px solid #e9decc;border-radius:12px;padding:13px}
.dust-options .input-group{margin:0}
.removal-file-label{color:#5d5654;font-weight:600;font-size:.89rem;display:grid;gap:8px}
.removal-file-label input{width:100%}
.appliance-edit-row{display:grid;grid-template-columns:1.3fr 1.1fr 1fr auto;gap:10px;align-items:end;border:1px solid #e7e2df;background:#fff;padding:12px;border-radius:12px}
.appliance-edit-row>.input-group{margin:0}
.appliance-edit-row>.appliance-note{min-width:0;width:100%;box-sizing:border-box}
.appliance-edit-row button{align-self:end}
.removal-task-card{border-radius:14px;border:1px solid #e8e4e0;padding:18px;margin:14px 0;background:#fff}
.removal-task-card .heading{margin-bottom:10px}
.removal-task-card h4{margin:0;font-size:1.04rem}
.removal-instructions{background:#f5f3f1;border-radius:9px;padding:13px;white-space:pre-wrap;margin-bottom:12px}
.dust-summary{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 15px}
.dust-summary span{display:inline-block;padding:10px 14px;border:1px solid #e7d9ca;border-radius:10px;background:#fbf5e9;font-size:.94rem}
.removal-gallery{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}
.removal-appliances{margin:20px 0}
.removal-appliance-item{border-bottom:1px solid #eae6e3;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:12px 0}
.removal-appliance-item small{width:100%;color:#746e6b}
.glass-saved{border:1px solid #e7e2df;border-radius:12px;padding:13px;margin:10px 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.glass-saved strong{flex:1;min-width:130px}.glass-saved>span{white-space:nowrap;font-weight:600;color:#8f3842}
.glass-toolbar{display:flex;flex-wrap:wrap;gap:8px}
.glass-toolbar .glass-mode.active{background:#8f303c;color:white}
.glass-canvas-frame{border-radius:12px;border:1.5px solid #cfc8c4;overflow:hidden;background:#fff;max-width:100%}
#glassSketchCanvas{display:block;width:100%;height:auto;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}
@media (max-width:850px){.office-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appliance-edit-row{grid-template-columns:repeat(2,minmax(0,1fr))}.appliance-edit-row .appliance-note{grid-column:1/3}}
@media (max-width:540px){.office-command-grid,.dust-options,.appliance-edit-row{grid-template-columns:1fr}.appliance-edit-row .appliance-note{grid-column:1}.office-command{padding:14px}.removal-editor{padding:12px}.removal-task-edit{padding:12px}}

/* V14.11.1 | Touch-optimierte Küchenausbau-Aufgaben, keine Dropdowns */
.removal-workspace{padding:clamp(17px,2.3vw,28px)!important}
.removal-workspace-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.removal-workspace-head h3{font-size:clamp(23px,2.4vw,29px);line-height:1.12;margin:5px 0 0;letter-spacing:-.045em}
.removal-total{background:#f4efed;color:#744249;padding:9px 13px;border-radius:999px;font-size:13px;font-weight:750;white-space:nowrap}
.removal-progress-track{height:7px;background:#eee9e6;overflow:hidden;border-radius:20px;margin:4px 0 22px}
.removal-progress-track>span{display:block;height:100%;border-radius:inherit;background:#9c3641;transition:width .2s ease}
.removal-bulk-form{display:grid;gap:13px}
.removal-quick-card{border:1px solid #e7e2df;border-radius:19px;background:#fff;padding:clamp(16px,2.1vw,22px);box-shadow:0 2px 10px #281e1a04}
.removal-quick-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:17px}
.removal-quick-title{display:flex;align-items:center;gap:11px;min-width:0}
.removal-quick-title h4{font-size:clamp(16px,1.8vw,19px);line-height:1.3;margin:0;letter-spacing:-.02em}
.removal-task-icon{flex:0 0 43px;height:43px;display:grid;place-items:center;border-radius:13px;background:#f7f1f0;color:#923b43}
.removal-task-icon svg{width:23px;height:23px}
.removal-task-meta{font-size:13px;color:#746660;font-weight:650;margin:4px 0 0}
.removal-current-status{font-weight:750;font-size:12px;white-space:nowrap;border-radius:999px;padding:7px 11px;color:#7b6346;background:#f8f0e5}
.removal-current-status.done{background:#e5f2e9;color:#286c41}
.removal-current-status.skipped{background:#efeff0;color:#5e6267}
.removal-brief{padding:11px 14px;border-radius:12px;background:#f8f6f4;color:#4b4441;font-size:14px;white-space:pre-wrap;line-height:1.45;margin-bottom:15px}
.removal-status-actions{display:grid;grid-template-columns:1fr 1.2fr .74fr;gap:8px}
.removal-choice{min-height:61px;border:1.5px solid #dfdad7;border-radius:13px;background:#faf9f8;color:#504c4b;display:flex;align-items:center;justify-content:center;gap:9px;padding:10px;font-weight:750;font-size:14px;cursor:pointer;transition:border-color .12s,background .12s}
.removal-choice svg{width:20px;height:20px;flex:none}
.removal-choice.is-selected.erledigt{background:#e8f5ec;color:#1d6c3c;border-color:#87c39b}
.removal-choice.is-selected.nicht_ausgefuehrt{background:#f2f0ef;color:#323538;border-color:#999da1}
.removal-choice.is-selected.offen{background:#fff0e3;color:#925b1f;border-color:#d8af7b}
.removal-choice:focus-visible,.removal-note-toggle:focus-visible,.removal-photo-label:focus-within{outline:3px solid #9e394880;outline-offset:2px}
.removal-optional-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:13px}
.removal-note-toggle,.removal-photo-label{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #e4dfdc;background:#fff;padding:10px 13px;border-radius:11px;color:#564e4b;font-size:13px;font-weight:750;min-height:43px;cursor:pointer}
.removal-note-toggle svg,.removal-photo-label svg{width:18px;height:18px}
.removal-photo-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.removal-added-dot{background:#439365;width:8px;height:8px;border-radius:50%}
.removal-file-count{font-size:12px;color:#327044;font-weight:650}
.removal-note-area{margin-top:10px}
.removal-note-area[hidden]{display:none!important}
.removal-note-area label{font-size:12px;font-weight:700;color:#716b67;display:block;margin:0 0 6px}
.removal-note-area textarea{width:100%;box-sizing:border-box;min-height:73px;border-radius:11px;padding:12px;resize:vertical}
.removal-existing-photos{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
.removal-photo-chip{display:flex;align-items:center;gap:6px;max-width:100%;overflow-wrap:anywhere;background:#f6f3f1;border:1px solid #e9e4df;border-radius:10px;padding:9px 11px;color:#5e5551;font-size:12px;cursor:pointer}
.removal-photo-chip svg{width:16px;height:16px;flex-shrink:0}
.removal-saved-note{font-size:14px;color:#524944;margin:0 0 8px;white-space:pre-wrap}
.removal-save-bar{position:sticky;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);z-index:9;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border:1px solid #e8e1dc;border-radius:16px;background:#fff;box-shadow:0 8px 32px #241c1b1c}
.removal-save-bar>span{font-size:13px;color:#746c68;max-width:320px}
.removal-save-all{padding:13px 18px!important;min-height:53px;white-space:nowrap;box-shadow:none;border-radius:12px}
.removal-save-all svg{width:20px;height:20px}
.removal-appliances{padding:15px 0 0!important;margin-top:21px!important;border-top:1px solid #eee9e5}
.removal-appliances h4{font-size:17px;margin:0 0 10px}
.removal-device-list{display:grid;gap:7px}
.removal-device-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 14px;border:1px solid #eee9e5;border-radius:12px;background:#fff}
.removal-device-line strong{font-size:14px;flex:1}
.removal-device-fate{font-size:12px;font-weight:750;background:#e5f2e9;color:#326545;border-radius:999px;padding:7px 10px}
.removal-device-fate.disposal{background:#eeeae8;color:#665b57}
.removal-device-line small{width:100%;font-size:12px;color:#736a65}
@media (max-width:740px){.removal-save-bar{flex-wrap:wrap}.removal-save-bar>span{flex:1}.removal-status-actions{grid-template-columns:1fr 1.1fr 0.8fr}}
@media (max-width:530px){.removal-quick-card{padding:14px}.removal-choice{flex-direction:column;gap:4px;min-height:71px;font-size:12px;padding:8px 5px}.removal-choice svg{width:21px;height:21px}.removal-current-status{font-size:11px}.removal-save-all{width:100%}.removal-save-bar>span{width:100%;max-width:none}.removal-quick-title{gap:8px}.removal-task-icon{flex-basis:37px;height:37px}.removal-task-icon svg{width:20px;height:20px}}

/* V14.11.2: Eigene Prüfungen gehören in dieselbe Ausbau-Aufgabenliste. */
.removal-custom-heading {display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:22px 0 10px;padding-top:14px;border-top:1px solid #e5e0dc}
.removal-custom-heading h4 {margin:0;font-size:18px}
.removal-custom-heading span {font-size:12px;color:#777}
.removal-custom-card .removal-status-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.removal-custom-card .removal-choice{font-size:13px;min-height:54px;white-space:normal}
@media (max-width:600px){.removal-custom-card .removal-status-actions{grid-template-columns:1fr}.removal-custom-card .removal-choice{min-height:50px}}

/* V14.11.3 – Piktogramme, schnell erkennbare Einsatzarten und stabile Reiterposition */
.task-picto{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:15px;flex:0 0 52px}
.task-picto .dorfer-icon{width:30px;height:30px;stroke-width:1.85}
.task-picto-install{background:#eaf2ec;border-color:#d7e4d9;color:#326b4b}
.task-picto-remove-kitchen{background:#f8ebe7;border-color:#efd9d2;color:#9a4b33}
.task-picto-service{background:#e9f1fa;border-color:#d6e4f2;color:#396a99}
.task-picto-quality{background:#f0edfa;border-color:#dfd9f0;color:#69539a}
.task-picto-delivery{background:#f6efe1;border-color:#ebdfc8;color:#946821}
.job-type-picto{flex:0 0 auto;align-self:center}
.job.order .job-main{flex:1;min-width:0}
.job.order:hover .task-picto{box-shadow:0 0 0 2px #ffffff,0 0 0 4px #bd9a9f44}
.hero-picto-line{display:flex;align-items:center;gap:18px;min-width:0;position:relative;z-index:1}
.hero-picto{background:#ffffff16;border-color:#ffffff39;color:white;width:68px;height:68px;flex-basis:68px}
.hero-picto .dorfer-icon{width:38px;height:38px}
.job-heading-with-picto{display:flex;align-items:center;gap:15px;min-width:0}
.detail-picto{width:62px;height:62px;flex-basis:62px}
.detail-picto .dorfer-icon{width:36px;height:36px}
.wizard-progress .wizard-step{min-height:95px;gap:8px;transition:background .15s,color .15s;border-radius:15px}
.wizard-progress .wizard-step .wizard-symbol{width:46px;height:46px;border-radius:13px;background:#ffffff;display:flex;align-items:center;justify-content:center;color:#744b4e;box-shadow:0 1px 3px #0000000a}
.wizard-progress .wizard-step .wizard-symbol .dorfer-icon{width:27px;height:27px;stroke-width:1.8}
.wizard-progress .wizard-step b{font-size:13px}
.wizard-progress .wizard-step.active{background:#87323c;color:white;border-color:#87323c;box-shadow:0 5px 14px #792b3640}
.wizard-progress .wizard-step.active .wizard-symbol{background:#fff;color:#87323c;box-shadow:0 1px 6px #00000022}
.wizard-progress .wizard-step.finished .wizard-symbol{background:#f2e5e6;color:#893a42}
.wizard-progress .wizard-step:focus-visible,.job.order:focus-visible{outline:3px solid #326a86;outline-offset:2px}
@media(max-width:700px){.task-picto{width:46px;height:46px;flex-basis:46px;border-radius:12px}.task-picto .dorfer-icon{width:27px;height:27px}.job.order{gap:10px}.wizard-progress .wizard-step{min-height:81px;padding:9px 3px}.wizard-progress .wizard-step .wizard-symbol{width:37px;height:37px;border-radius:10px}.wizard-progress .wizard-step .wizard-symbol .dorfer-icon{width:23px;height:23px}.wizard-progress .wizard-step b{font-size:10px}}
@media(max-width:470px){.job-date{min-width:43px}.task-picto{width:42px;height:42px;flex-basis:42px}.task-picto .dorfer-icon{width:24px;height:24px}.job-main strong{font-size:14px}.wizard-progress .wizard-step{min-width:0}.wizard-progress{gap:4px}.wizard-progress .wizard-step b{font-size:9px}.detail-picto{width:50px;height:50px;flex-basis:50px}.hero-picto-line{gap:11px}}

/* V14.11.4 – übersichtliche, sichere Papierkorb-Abfrage */
.purge-dialog .purge-title-row{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.purge-dialog .purge-title-row h3{margin:0}
.purge-dialog .purge-title-row .desc{margin:3px 0 0}
.purge-danger-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#f9ebeb;color:#932e39;font-size:23px}
.purge-dialog .purge-order{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 16px;background:#f6f4f3;border-radius:13px;margin:14px 0}
.purge-dialog .purge-order b{font-size:18px}
.purge-dialog .purge-check{padding:14px 16px;border:1px solid #e6dfd9;border-radius:13px;margin:14px 0;display:flex;flex-direction:column;gap:4px}
.purge-dialog .purge-ack{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #e7c9ca;border-radius:13px;background:#fff9f8;line-height:1.45;margin:14px 0;cursor:pointer}
.purge-dialog .purge-ack input{margin-top:4px;flex:0 0 auto;width:20px;height:20px}
.purge-dialog #purgeConfirmArea[hidden]{display:none}
.purge-dialog #purgeMessage:not(:empty){padding:12px;border-radius:12px;background:#fff5f4;color:#902e39}
@media(max-width:600px){.purge-dialog .actions{display:flex;flex-wrap:wrap}.purge-dialog .actions button{flex:1;min-height:48px}}
/* V14.41.4: Fotos direkt im Formular "Neue Beanstandung" */
.dorfer14414-issue-photos{border:1px dashed #d9b9b6;border-radius:12px;padding:12px 14px;margin:0;display:grid;gap:10px;min-width:0}
.dorfer14414-issue-photos legend{display:flex;align-items:center;gap:8px;font-weight:700;padding:0 6px}
.dorfer14414-issue-photos legend svg{width:18px;height:18px}
.dorfer14414-photo-status{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:14px;color:#5d5050}
.dorfer14414-photo-status span{overflow-wrap:anywhere}
/* Wie die Fotokacheln: im Dialog nicht die kleinere Label-Schrift übernehmen. */
.dorfer14414-issue-photos .photo-action{font-size:14px;font-weight:750}
