/* Live behavior and responsive form adapters. Visual tokens/components come from
   the unchanged original assets/base.css and assets/fluent.css. */
[hidden]{display:none!important}
button,input,select,textarea,a{touch-action:manipulation}
button:disabled{cursor:wait;opacity:.6}
#main{scroll-margin-top:20px;min-width:0}
.suite-brand{color:inherit;text-decoration:none}
.main{min-width:0}
.side-bottom .logout{margin:12px 8px 0;border:0;padding-left:0;background:transparent;font-size:12px}
.connection{display:flex;align-items:center;gap:6px;font-size:12px;color:#616161;max-width:360px}
.connection .dot{display:inline-block;width:6px;height:6px;flex:none;border-radius:50%;background:#107c41}
.connection.offline{color:#8a5700}
.connection.offline .dot{background:#d39300}
.mobile-logout{display:none}
.note.warning{background:#fff9e6;border-color:#e5d5a2;color:#755100}
.small{font-size:12px;color:#616161}
.no-margin{margin:0}
.section-space{margin-top:24px}
.actions{flex-wrap:wrap}
.back{display:inline-block;font-size:12px;margin-bottom:14px;color:#0f6cbd}
.form-stack{display:grid;gap:18px}
#report-fields{border:0;padding:0;margin:0;min-width:0}
.field input,.field textarea,.field select{display:block;width:100%;box-sizing:border-box;color:#242424;background:#fff}
.field textarea{resize:vertical;line-height:1.6;min-height:90px}
.field .helper{font-size:12px;color:#616161;margin:7px 0 0}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.check{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600}
.check input{accent-color:#0f6cbd;width:17px;height:17px}
.decision-fields{display:grid;gap:16px;padding-left:16px;border-left:3px solid #b4d6fa}
.form-footer{padding-top:18px;border-top:1px solid #e0e0e0}
.form-footer .small{margin-left:auto}
.error{padding:12px 14px;border:1px solid #edc4c7;border-left:3px solid #b10e1e;background:#fdf3f4;color:#b10e1e;border-radius:4px;font-size:13px;line-height:1.5}
.report-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.7;margin:14px 0}
.report-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#616161}
.report-card{padding:20px;border-bottom:1px solid #ebebeb}
.report-card:last-child,.decision-card:last-child{border-bottom:0}
.report-card blockquote{margin:12px 0 0;padding:10px 12px;border-left:3px solid #d39300;background:#fff9e6;font-size:13px}
.decision-card{border-bottom:1px solid #ebebeb}
.decision-card h3{margin:12px 0 6px}
.decision-card .actions{margin-top:16px}
.decision-reason{margin-top:14px;background:#fafafa;border:1px solid #e0e0e0;border-radius:4px;padding:10px 12px}
.decision-context{margin-top:12px}
.decision-responses{margin-top:14px;display:grid;gap:8px}
.decision-responses h4{margin:0;font-size:13px}
.decision-responses .response{border-top:1px solid #ebebeb;padding-top:8px;font-size:13px;line-height:1.6}
#response-form{margin-top:14px;display:grid;gap:10px}
.detail-meta,.chips{display:flex;flex-wrap:wrap;gap:8px}
.detail-meta{margin-top:16px}
.chip{font-size:12px;border:1px solid #e0e0e0;border-radius:4px;padding:4px 8px;background:#fafafa;color:#616161}
.goal{padding:18px 20px;border-bottom:1px solid #ebebeb}
.goal:last-child{border:0}
.goal p{font-size:13px;color:#616161;margin:5px 0 12px}
.activity-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}
.activity-row .tiny{margin:4px 0 0}
progress{height:4px;width:52px;appearance:none;border:0;border-radius:2px;overflow:hidden;background:#e0e0e0}
progress::-webkit-progress-bar{background:#e0e0e0}
progress::-webkit-progress-value{background:#0f6cbd}
progress::-moz-progress-bar{background:#0f6cbd}
.table-wrap table{width:100%}
.table-wrap .project-name{display:inline-block}
.tree{padding:20px;overflow-x:auto}
.tree-root{max-width:440px;margin:0 auto 24px;padding:18px 20px;background:#ebf3fc;border:1px solid #b4d6fa;border-radius:4px;text-align:center}
.tree-teams{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tree-team{position:relative;min-width:0;text-align:left}
.tree-team:before{content:'';position:absolute;top:-25px;left:24px;height:24px;border-left:1px solid #d1d1d1}
.tree-team h3{margin-bottom:8px}
.tree-people{margin-top:14px;display:grid;gap:8px}
.tree-people>div{border-top:1px solid #ebebeb;padding-top:9px;font-size:12px}
.tree-people small{display:block;color:#616161;margin-top:4px}
.dependency-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.dependency-card{min-height:0;min-width:0}
.dependency-card h3{min-height:0;margin:14px 0}
.dependency-card ul,.detail-grid ul{font-size:13px;line-height:1.7;padding-left:18px;margin:9px 0 0}
.login-page{min-height:calc(100vh - 48px);display:grid;place-items:center;padding:32px 20px;background:#fafafa}
.login-card{width:100%;max-width:430px;background:#fff;border:1px solid #e0e0e0;border-radius:4px;padding:32px}
.login-card h1{font-size:24px}
.login-card form{display:grid;gap:18px;margin-top:28px}
.login-card .code-input{font-size:26px;letter-spacing:12px;text-align:center;font-variant-numeric:tabular-nums}
.login-footer{font-size:12px;color:#616161;line-height:1.5;margin:24px 0 0}
.loading{padding:60px;text-align:center;color:#616161}
#notice:not([hidden]){display:block}
.toast{overflow-wrap:anywhere}
@media(max-width:1250px) and (min-width:701px){.app{grid-template-columns:52px 204px minmax(0,1fr)}}
@media(max-width:1100px){.tree-teams,.dependency-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.decision-overview{gap:16px}}
@media(max-width:700px){.app>.sidebar{left:0;width:240px}.sidebar nav{min-height:0}.connection{font-size:10px;max-width:190px}.connection .mobile-logout{display:none}.form-footer .small{margin-left:0}.field-row,.tree-teams,.dependency-grid{grid-template-columns:1fr}.work-hero{align-items:flex-start!important;flex-direction:column}.login-card{padding:26px}.detail-meta{gap:6px}.report-card,.decision-card{padding:16px}.form-stack{gap:16px}.tree{padding:16px}.decision-overview>.btn{margin-left:0}.table-wrap td:first-child{min-width:220px}.top-actions{min-width:0}.connection.offline{max-width:145px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* These compact project-history entries keep their content in reading order. */
.detail-grid .task{display:block}
.detail-grid .task h3{margin:10px 0 6px}
.detail-grid .task p{margin:6px 0 12px}

.board-history .panel-head>div,.project-history .panel-head>div{min-width:0}
.board-history .panel-head .sub,.project-history .panel-head .sub{margin:4px 0 0}
.week-statuses{display:flex;flex-wrap:wrap;gap:6px}
.week-status{display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:3px;font-size:11px;white-space:nowrap}
.week-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.week-status.ok{background:#dff6dd;color:#107c10}
.week-status.warn{background:#fff4ce;color:#8a5700}
.week-status.risk{background:#fde7e9;color:#a4262c}
.week-delta{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.week-delta.up{color:#107c10}.week-delta.down{color:#a4262c}.week-delta.flat{color:#616161}
.week-archive{border-bottom:1px solid #ebebeb}
.week-archive:last-child{border-bottom:0}
.week-archive>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;cursor:pointer;list-style-position:inside;background:#fafafa}
.week-archive>summary:hover{background:#f5f5f5}
.week-archive>summary:focus-visible,.report-detail>summary:focus-visible{outline:2px solid #0f6cbd;outline-offset:-2px}
.week-archive>summary span:first-child{display:flex;align-items:baseline;gap:9px;min-width:0}
.week-archive>summary small,.week-summary{font-size:12px;color:#616161}
.week-summary{white-space:nowrap}
.report-detail>summary{color:#0f6cbd;cursor:pointer;font-size:12px;font-weight:600}
.report-detail p{white-space:pre-wrap;line-height:1.6;margin:12px 0 0;max-width:720px}
.report-detail blockquote{margin:10px 0 0;padding:9px 11px;border-left:3px solid #d39300;background:#fff9e6;font-size:12px}
.project-history td:last-child{min-width:300px}
.board-history td,.project-history td{font-variant-numeric:tabular-nums}
.report-detail p,.report-detail blockquote{overflow-wrap:anywhere}
@media(max-width:700px){.week-archive>summary{align-items:flex-start;flex-direction:column;gap:6px}.week-archive>summary span:first-child{align-items:flex-start;flex-direction:column;gap:3px}.project-history td:last-child{min-width:260px}.week-statuses{min-width:210px}}

/* Geführter Mitarbeiterbericht aus dem Video-Prototyp. */
.guided-report{min-width:0}
.report-intro{padding:24px 25px 0}
.guided-report>.start-grid{padding:0 25px 25px}
.start-card ul{margin:5px 0 0;padding-left:19px;color:#616161;font-size:12px;line-height:1.7}
.start-card .field{margin:8px 0 0}
.guided-question{padding:25px}
.guided-note{margin-bottom:0}
.guided-question h2{margin:0 0 5px}
.progress-field{max-width:260px;margin-top:20px}
.budget-options{display:flex;flex-wrap:wrap;gap:8px}
.budget-options .chip.on{border-color:#0f6cbd;background:#ebf3fc;color:#0f6cbd}
.review-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0}
.draft-preview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #e0e0e0;border-radius:4px;background:#fafafa;padding:18px;font-size:13px;line-height:1.7}
.recipient-list{margin-top:24px;border-top:1px solid #e0e0e0;padding-top:18px}
.recipient-list .recipient strong,.recipient-list .recipient small{display:block}
.recipient-list .recipient small{margin-top:3px;color:#616161;font-size:11px}
@media(max-width:700px){.report-intro{padding:20px 18px 0}.guided-report>.start-grid,.guided-question{padding:18px}.guided-report>.form-foot{align-items:stretch;flex-direction:column-reverse}.guided-report>.form-foot button{width:100%}.steps{overflow-x:auto}.step{min-width:max-content}}
