:root{--red: #CE0037;--red-dark: #A8002D;--red-soft: #FFF5F7;--red-glow: rgba(206, 0, 55, .12);--white: #FFFFFF;--black: #0F172A;--surface: #FFFFFF;--surface-muted: #F8FAFC;--light-grey: #F1F5F9;--border-grey: #E2E8F0;--text-grey: #64748B;--muted: #94A3B8;--green: #15803D;--green-soft: #ECFDF3;--green-border: #BBF7D0;--shadow-sm: 0 1px 2px rgba(15, 23, 42, .04);--shadow-md: 0 10px 30px rgba(15, 23, 42, .08);--shadow-lg: 0 18px 40px rgba(15, 23, 42, .1);--radius-sm: 12px;--radius-md: 16px;--radius-lg: 22px;--transition: .16s ease;--footer-nav-bottom: 0px;--footer-nav-height: 72px;--footer-nav-safe: env(safe-area-inset-bottom, 0px);--footer-nav-total: calc(var(--footer-nav-height) + var(--footer-nav-safe));--report-actions-height: 68px;--report-actions-gap: 10px;--report-chrome-total: calc( var(--report-actions-gap) + var(--report-actions-height) + 16px )}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#e9edf3;color:var(--black);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:transparent}.screen{max-width:430px;height:100dvh;min-height:100dvh;max-height:100dvh;margin:0 auto;background:var(--light-grey);display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 0 0 1px #0f172a08}.scroll-area{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:28px}.profile-scroll{display:flex;flex-direction:column}.login-screen{justify-content:center;align-items:center;padding:32px 20px;background:radial-gradient(circle at top right,rgba(206,0,55,.08),transparent 42%),linear-gradient(180deg,#FFFFFF 0%,var(--light-grey) 100%)}.login-card{width:100%;background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:32px 28px}.login-logo{color:var(--red);font-size:32px;font-weight:800;text-align:center;margin-bottom:20px}.login-logo img{max-width:200px;max-height:80px;object-fit:contain}.login-brand{text-align:center;margin-bottom:28px}.login-brand h1{font-size:26px;margin:0 0 6px;letter-spacing:-.02em}.login-brand p{color:var(--text-grey);margin:0;font-size:14px;line-height:1.5}.login-form{display:grid;gap:18px}.login-form label{color:var(--text-grey);font-size:13px;font-weight:600}.login-form input,textarea{width:100%;border:1px solid var(--border-grey);border-radius:var(--radius-sm);padding:13px 14px;margin-top:6px;outline:none;background:#fafbfc;transition:border-color var(--transition),box-shadow var(--transition),background var(--transition)}.login-form input::placeholder,textarea::placeholder{color:var(--muted)}.login-form input:focus,textarea:focus{border-color:var(--red);background:var(--white);box-shadow:0 0 0 4px var(--red-glow)}.login-error{color:var(--red);font-size:13px;background:var(--red-soft);border:1px solid #FFD6E0;border-radius:var(--radius-sm);padding:10px 12px}.btn{width:100%;border:1px solid transparent;border-radius:12px;padding:14px 16px;font-size:15px;font-weight:600;transition:background var(--transition),border-color var(--transition),color var(--transition)}.btn-primary{background:var(--red);color:var(--white);border-color:var(--red)}.btn-primary:active{background:var(--red-dark)}.btn-secondary{background:var(--white);color:var(--black);border-color:var(--border-grey)}.btn-ghost{background:transparent;color:var(--text-grey)}.header{background:#fffffff0;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid var(--border-grey);display:flex;align-items:center;gap:12px;padding:14px 16px;position:sticky;top:0;z-index:10}.header-back{width:38px;height:38px;border:1px solid var(--border-grey);border-radius:12px;background:var(--white);font-size:22px;line-height:1;color:var(--black);display:grid;place-items:center;flex:0 0 auto}.header-spacer{width:38px;height:38px;flex:0 0 38px}.header-title-only{justify-content:center}.header-title-only .header-copy{flex:0 1 auto;text-align:center}.header-title-only .header-title-row{justify-content:center}.header-copy{flex:1;min-width:0}.header-title-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.header-title{font-size:17px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:-.02em}.header-program{color:var(--red);font-size:11px;font-weight:700;white-space:nowrap;flex:0 0 auto;background:var(--red-soft);padding:5px 8px;border-radius:999px}.header-subtitle{font-size:13px;color:var(--text-grey);margin-top:4px}.header-back:hover{border-color:var(--red);color:var(--red)}.header-report-btn{border:1px solid var(--red);border-radius:999px;color:var(--red);background:var(--white);padding:7px 12px;font-size:12px;font-weight:700}.home-hero,.home-greeting{margin:16px;padding:20px;border-radius:var(--radius-lg);background:linear-gradient(135deg,#fff,#fff8fa 55%,#ffe8ee);border:1px solid #FFD6E0;box-shadow:var(--shadow-sm);display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.home-hero-label,.home-greeting-label{margin:0;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-grey)}.home-hero h1,.home-greeting h1{margin:8px 0 0;font-size:30px;line-height:1.1;letter-spacing:-.04em}.home-hero-sub,.home-greeting-sub{margin:8px 0 0;color:var(--text-grey);font-size:14px;line-height:1.5}.home-hero-badge{min-width:52px;height:52px;border-radius:16px;background:var(--red);color:var(--white);display:grid;place-items:center;font-size:20px;font-weight:800;box-shadow:0 10px 24px #ce003738}.home-hero-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.lang-toggle{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--border-grey);border-radius:999px;background:var(--surface-muted);flex:0 0 auto}.lang-toggle-btn{border:none;background:transparent;color:var(--text-grey);font-size:12px;font-weight:700;letter-spacing:.04em;padding:6px 10px;border-radius:999px;cursor:pointer;line-height:1}.lang-toggle-btn.active{background:var(--white);color:var(--black);box-shadow:var(--shadow-sm)}.header-end{display:flex;align-items:center;gap:8px;flex:0 0 auto}.home-section{padding:0 16px 8px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.section-heading h2{margin:0;font-size:18px;letter-spacing:-.02em}.section-heading span{font-size:12px;font-weight:600;color:var(--text-grey)}.section-label{color:var(--text-grey);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:16px 16px 10px;margin:0}.empty-state,.empty{color:var(--text-grey);text-align:center;padding:32px 20px;background:var(--white);border:1px dashed var(--border-grey);border-radius:var(--radius-md)}.empty{margin:16px}.assignment-card,.card.dealer-card,.card{display:block;width:100%;margin:0 0 12px;padding:16px;text-align:left;background:var(--surface);border:1px solid var(--border-grey);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);transition:border-color var(--transition),box-shadow var(--transition),transform var(--transition)}.assignment-card:active{transform:scale(.99);border-color:#ffd6e0;box-shadow:0 0 0 3px var(--red-glow)}.assignment-card-top,.dealer-card-header{display:flex;align-items:flex-start;gap:12px}.assignment-card-main,.dealer-card-info{flex:1;min-width:0}.assignment-card-title-row,.dealer-card-name-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.assignment-card h3,.dealer-card-name{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em}.program-pill,.dealer-card-program{color:var(--red);background:var(--red-soft);font-size:11px;font-weight:700;white-space:nowrap;padding:4px 8px;border-radius:999px}.assignment-card-meta,.dealer-card-location{margin:6px 0 0;color:var(--text-grey);font-size:13px}.assignment-card-chevron{color:var(--muted);font-size:24px;line-height:1;margin-top:4px}.assignment-card-footer,.dealer-visit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px;padding-top:14px;border-top:1px solid var(--border-grey)}.visit-pill,.dealer-visit-num{color:var(--red);background:var(--red-soft);font-size:12px;font-weight:700;padding:6px 10px;border-radius:999px}.assignment-card-date,.dealer-visit-date{color:var(--text-grey);font-size:12px}.assignment-card-muted{color:var(--text-grey);font-size:13px}.dealer-card-divider{display:none}.brand-logo-circle{width:48px;height:48px;border-radius:14px;background:var(--surface-muted);display:grid;place-items:center;font-size:12px;font-weight:800;flex:0 0 48px;color:var(--text-grey);overflow:hidden}.brand-logo-circle.has-image{background:var(--white);border:1px solid var(--border-grey);padding:4px}.brand-logo-circle img{width:100%;height:100%;object-fit:contain;display:block}.brand-logo-circle.today{background:var(--green-soft);color:var(--green)}.brand-logo-circle.upcoming{background:#fff7ed;color:#c2410c}.brand-logo-circle.future{background:#f1f5f9;color:#64748b}.timeline,.workspace{padding:16px}.timeline-summary{display:flex;gap:10px;margin-bottom:16px}.timeline-summary span{font-size:12px;font-weight:600;color:var(--text-grey);background:var(--white);border:1px solid var(--border-grey);border-radius:999px;padding:6px 10px}.timeline-item{display:flex;gap:14px;margin-bottom:4px}.timeline-spine{display:flex;flex-direction:column;align-items:center;flex:0 0 auto;padding-top:18px}.timeline-line{width:2px;flex:1;min-height:20px;background:var(--border-grey);margin-top:4px}.timeline-card{flex:1;min-height:auto;border:1px solid var(--border-grey);border-radius:var(--radius-md);background:var(--white);margin:0 0 12px;padding:16px;display:block;text-align:left;box-shadow:var(--shadow-sm)}.timeline-card.current{border-color:var(--red);box-shadow:0 0 0 3px var(--red-glow)}.timeline-card.done{border-color:var(--green-border)}.timeline-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.timeline-card-kicker{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-grey)}.timeline-card h3{margin:0;font-size:16px;letter-spacing:-.02em}.timeline-card-date,.timeline-card small,.material-item small{display:block;color:var(--text-grey);margin-top:8px;font-size:13px}.status-chip{font-size:11px;font-weight:700;padding:5px 8px;border-radius:999px;white-space:nowrap}.status-current{background:var(--red-soft);color:var(--red)}.status-completed{background:var(--green-soft);color:var(--green)}.status-pending{background:#f1f5f9;color:var(--text-grey)}.visit-type-tag{display:inline-block;margin-top:10px;padding:5px 10px;border-radius:999px;font-size:11px;font-weight:700}.tag-onsite{background:#eff6ff;color:#1d4ed8}.tag-remote{background:#f1f5f9;color:#475569}.timeline-dot{width:14px;height:14px;border-radius:50%;flex:0 0 auto;background:var(--border-grey)}.dot-current{background:var(--red);box-shadow:0 0 0 4px var(--red-soft)}.dot-done{background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.dot-future{background:var(--white);border:2px solid var(--muted)}.day-panel,.accordion{margin:0 0 16px;background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-sm)}.day-panel-header,.accordion h2{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 16px 0}.day-panel-header h2,.accordion h2{margin:0;font-size:16px;letter-spacing:-.02em}.day-panel-kicker{margin:0 0 4px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-grey)}.day-panel-date{font-size:12px;color:var(--text-grey);white-space:nowrap}.day-panel-body,.accordion.open{padding:12px 16px 0}.day-panel .day-actions-row{padding:0 16px 16px;margin-top:4px}.session-card{background:var(--surface-muted);border:1px solid var(--border-grey);border-radius:14px;padding:14px;margin-bottom:10px}.session-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.session-time-pill{font-size:12px;font-weight:700;color:var(--black);background:var(--white);border:1px solid var(--border-grey);border-radius:999px;padding:5px 10px}.session-card h3{font-size:15px;margin:0 0 6px;letter-spacing:-.02em}.session-description,.session-card p{font-size:13px;color:var(--text-grey);margin:0;line-height:1.5}.session-material-link{border:0;background:transparent;color:#1d4ed8;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;padding:2px 0;letter-spacing:.01em}.session-material-link:after{content:" ›";text-decoration:none;font-weight:800}.session-material-link:active{color:#1e40af}.session-tags{display:flex;align-items:center;justify-content:space-between;margin-top:12px;gap:8px}.session-tag{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.tag-mandatory{background:var(--green-soft);color:var(--green);border:1px solid var(--green-border)}.tag-optional{background:#f1f5f9;color:var(--text-grey);border:1px solid var(--border-grey)}.session-action-btn{border:0;border-radius:999px;background:var(--red);color:var(--white);padding:8px 14px;font-size:12px;font-weight:700}.session-action-btn:disabled{background:#cbd5e1;color:#f8fafc;cursor:not-allowed}.session-action-btn-secondary{background:var(--white);color:var(--black);border:1px solid var(--border-grey)}.logging-form{padding:16px;display:flex;flex-direction:column;gap:14px}.logging-form textarea{min-height:180px;resize:vertical;background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-sm);padding:14px}.logging-form textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px var(--red-glow);outline:none}.logging-form label{color:var(--text-grey);font-size:13px;font-weight:700}.voice-btn{width:100%;display:flex;align-items:center;gap:10px;border:1px solid var(--border-grey);border-radius:var(--radius-sm);background:var(--white);color:var(--text-grey);padding:14px 16px;text-align:left;font-weight:600}.voice-btn.recording{border-color:var(--red);color:var(--red);background:var(--red-soft)}.voice-status{color:var(--text-grey);font-size:12px;margin:-6px 0 0}.voice-live-hint{margin:-4px 0 0;padding:10px 12px;border-radius:10px;background:var(--red-soft);color:var(--red);font-size:12px;font-weight:600;line-height:1.35}.notes-list{padding:16px;display:flex;flex-direction:column;gap:12px;padding-bottom:calc(var(--report-actions-height) + 28px)}.notes-list-readonly{padding-bottom:28px}.notes-bottom-bar{position:fixed;left:50%;bottom:calc(var(--footer-nav-total) + var(--report-actions-gap));transform:translate(-50%);width:calc(100% - 24px);max-width:406px;z-index:35;padding:0;pointer-events:none}.notes-bottom-bar .btn{width:100%;pointer-events:auto;box-shadow:var(--shadow-md)}.assignment-card-visit-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn-primary:disabled,.btn:disabled{opacity:.55;cursor:not-allowed}.logging-form textarea[readonly]{background:#f8fafc;color:var(--text-grey)}.note-entry{background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-sm);padding:16px;box-shadow:var(--shadow-sm)}.note-entry-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.note-actions{display:flex;justify-content:flex-end;margin-top:12px;padding-top:12px;border-top:1px solid var(--border-grey)}.note-delete-btn{appearance:none;border:1px solid var(--red);background:var(--red-soft);color:var(--red);border-radius:10px;padding:8px 14px;font-size:13px;font-weight:700}.note-delete-btn:disabled{opacity:.6}.note-audio-wrap{margin-top:10px}.note-entry b{font-size:14px}.note-entry small{display:block;color:var(--text-grey);margin-top:4px;font-size:12px}.note-entry p{line-height:1.55;margin:10px 0 0;font-size:14px}.note-audio-player{width:100%;height:40px}.note-transcript-missing,.note-audio-missing{margin:10px 0 0;color:var(--text-grey);font-size:12px}.materials-scroll{padding-top:4px}.materials-scroll .section-label{padding:12px 20px 8px}.materials-list{padding:0 16px 8px;display:flex;flex-direction:column;gap:10px}.materials-list-session{padding:12px 16px 16px}.material-card{margin:0;padding:16px;background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-sm);display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;box-shadow:var(--shadow-sm);transition:border-color var(--transition),box-shadow var(--transition)}.material-card:active{border-color:var(--red);box-shadow:0 0 0 3px var(--red-glow)}.material-card--clickable{cursor:pointer}.materials-session-rows{padding:8px 16px 16px;display:grid;gap:10px}.materials-session-row-card{background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-sm);box-shadow:var(--shadow-sm);overflow:hidden}.materials-session-row-card.is-expanded{border-color:#e2e8f0}.materials-session-row-main{width:100%;border:none;background:transparent;display:flex;align-items:center;gap:12px;padding:14px;text-align:left;cursor:pointer;color:inherit}.materials-session-row-main:disabled{cursor:default}.materials-expand-chevron{flex:0 0 auto;width:28px;height:28px;border-radius:8px;border:1px solid var(--border-grey);display:grid;place-items:center;font-size:11px;color:var(--text-grey);transition:transform .15s ease}.materials-expand-chevron.open{transform:rotate(90deg);color:var(--red);border-color:var(--red)}.materials-expand-chevron.is-hidden{opacity:0;border-color:transparent}.materials-session-row-copy{flex:1;min-width:0;display:grid;gap:2px}.materials-session-row-copy small{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--text-grey)}.materials-session-row-copy strong{font-size:15px;font-weight:700;line-height:1.25}.materials-session-count-pill{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--text-grey);background:var(--light-grey);border-radius:999px;padding:6px 10px;white-space:nowrap}.materials-session-count-pill.is-empty{color:#b45309;background:#fef3c7}.materials-session-row-body{border-top:1px solid var(--border-grey);padding:10px 10px 12px;background:#fafbfc}.materials-session-row-body .materials-list{padding:0;gap:8px}.material-icon{width:48px;height:48px;border-radius:12px;display:grid;place-items:center;font-size:10px;font-weight:800;flex:0 0 auto;letter-spacing:.04em}.icon-internal,.icon-external,.icon-text{background:var(--red-soft);color:var(--red)}.material-body{flex:1;min-width:0}.material-title{font-size:14px;font-weight:700;line-height:1.3;margin:0;letter-spacing:-.01em}.material-meta{display:block;color:var(--text-grey);font-size:12px;margin-top:4px}.material-download{flex:0 0 auto;width:40px;height:40px;border:none;border-radius:12px;display:grid;place-items:center;text-decoration:none;color:var(--red);background:var(--red-soft);font-size:20px;font-weight:700;line-height:1;cursor:pointer;padding:0}.material-download:active{background:var(--red);color:var(--white)}.note-card{display:block;align-items:stretch}.note-top{display:flex;align-items:center;gap:14px}.note-preview{border-top:1px solid var(--border-grey);margin-top:12px;padding-top:12px;color:var(--black);font-size:13px;line-height:1.5}.material-item{padding:16px;background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-sm);display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;box-shadow:var(--shadow-sm)}.material-download{width:36px;height:36px;border:none;border-radius:10px;background:var(--light-grey);color:var(--text-grey);display:grid;place-items:center;font-size:16px;flex:0 0 auto;cursor:pointer;padding:0}.profile-section{padding:0 16px 8px}.profile-copy{min-width:0;flex:1}.profile-section .section-label{padding:0 0 10px}.profile-role{margin:0;color:var(--red);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.profile-meta{display:flex;flex-direction:column;gap:2px;margin-top:8px}.profile-meta span{color:var(--text-grey);font-size:13px}.menu-chevron,.menu-value{color:var(--muted);font-size:18px;font-weight:400}.menu-value{font-size:13px}.profile-hero{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,var(--white) 0%,#FFF8FA 100%);border:1px solid var(--border-grey);border-radius:var(--radius-md);margin:16px;padding:20px;box-shadow:var(--shadow-sm)}.profile-avatar{width:64px;height:64px;border-radius:16px;background:linear-gradient(180deg,var(--red) 0%,var(--red-dark) 100%);color:var(--white);display:grid;place-items:center;font-size:20px;font-weight:800;box-shadow:0 8px 18px #ce00373d;flex:0 0 auto}.profile-hero h2{margin:0 0 4px;font-size:18px;letter-spacing:-.02em}.profile-hero p{margin:2px 0;color:var(--text-grey);font-size:13px}.profile-menu{background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-md);margin:0;overflow:hidden;box-shadow:var(--shadow-sm)}.profile-menu button{width:100%;border:0;border-bottom:1px solid var(--border-grey);background:var(--white);padding:16px;display:flex;justify-content:space-between;text-align:left;transition:background var(--transition)}.profile-menu button:hover{background:#fafbfc}.profile-menu button:last-child{border-bottom:0}.profile-menu.danger button{color:var(--red);font-weight:700}.password-form{background:var(--white);border:1px solid var(--border-grey);border-radius:var(--radius-md);margin:16px;padding:20px;display:grid;gap:14px;box-shadow:var(--shadow-sm)}.password-form.screen-form{margin-top:16px}.password-form label{color:var(--text-grey);font-size:13px;font-weight:600}.password-form input{width:100%;border:1.5px solid var(--border-grey);border-radius:10px;padding:13px 16px;margin-top:6px;outline:none}.password-form input:focus{border-color:var(--red)}.password-form .btn:disabled{opacity:.7;cursor:default}.form-message{margin:0;font-size:13px;line-height:1.4}.form-message.error{color:var(--red)}.form-message.success{color:var(--green)}.footer-nav{flex:0 0 auto;position:relative;width:100%;background:#fffffffa;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:0;border-top:1px solid var(--border-grey);border-radius:0;display:flex;z-index:40;box-shadow:0 -6px 20px #0f172a0f;padding:4px 8px calc(4px + var(--footer-nav-safe))}.footer-nav button{flex:1;border:0;background:transparent;color:var(--text-grey);padding:10px 8px 12px;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:600;border-radius:14px;transition:color var(--transition),background var(--transition)}.footer-nav button.active{color:var(--red);background:var(--red-soft)}.footer-nav svg{width:22px;height:22px;fill:currentColor}.footer-copilot{width:44px;height:44px;margin-top:-12px;border-radius:50%;background:linear-gradient(180deg,var(--red) 0%,var(--red-dark) 100%);color:var(--white);box-shadow:0 8px 20px #ce003759;display:grid;place-items:center}.footer-copilot svg{width:18px;height:18px;fill:none}.copilot-overlay{position:fixed;inset:0;z-index:40;background:#0006;border:0}.copilot-panel{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:100%;max-width:430px;height:82vh;background:var(--white);border-radius:22px 22px 0 0;z-index:50;display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}.copilot-handle{width:44px;height:5px;background:var(--border-grey);border-radius:999px;margin:12px auto 0}.copilot-header{padding:14px 20px 16px;border-bottom:1px solid var(--border-grey)}.copilot-header h3{font-size:18px;margin:0 0 12px;letter-spacing:-.02em}.copilot-context-selectors{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:6px}.copilot-select{flex:1;min-width:130px;border:1px solid var(--border-grey);border-radius:999px;padding:8px 14px;font-size:12px;font-weight:600;background:var(--surface-muted);color:var(--black);outline:none;appearance:none;-webkit-appearance:none;cursor:pointer}.copilot-select:focus{border-color:var(--red);box-shadow:0 0 0 3px var(--red-glow)}.prompt-chip:disabled{opacity:.45;cursor:default}.copilot-input-row textarea:disabled{background:var(--light-grey);cursor:not-allowed}.copilot-input-row button:disabled{opacity:.45;cursor:default}.badge{display:inline-block;padding:5px 10px;border-radius:999px;background:var(--red-soft);color:var(--red);font-size:11px;font-weight:700}.copilot-messages{flex:1;overflow-y:auto;padding:16px 20px;display:flex;flex-direction:column;gap:12px;background:var(--surface-muted)}.msg-ai,.msg-user{border-radius:16px;padding:12px 14px;font-size:14px;line-height:1.55;max-width:88%}.msg-ai{background:var(--white);border:1px solid var(--border-grey);border-top-left-radius:4px}.msg-user{background:var(--red);color:var(--white);align-self:flex-end;border-bottom-right-radius:4px}.copilot-prompts{padding:12px 16px;display:flex;gap:8px;overflow-x:auto;border-top:1px solid var(--border-grey);background:var(--white)}.prompt-chip{white-space:nowrap;border:1px solid var(--border-grey);border-radius:999px;background:var(--white);padding:8px 14px;font-size:13px;font-weight:500;color:var(--black)}.copilot-input-row{padding:12px 16px 28px;display:flex;gap:10px;background:var(--white);border-top:1px solid var(--border-grey)}.copilot-input-row textarea{flex:1;min-height:44px;border-radius:999px;resize:none;margin:0;border:1px solid var(--border-grey);padding:12px 16px;background:var(--surface-muted)}.copilot-input-row textarea:focus{border-color:var(--red);outline:none;background:var(--white)}.copilot-input-row button{width:44px;height:44px;border:0;border-radius:50%;background:var(--red);color:var(--white);font-size:16px;flex:0 0 auto}.report-scroll,.signature-scroll{padding:16px 16px var(--report-chrome-total)}.report-footer-bar{position:fixed;left:50%;bottom:calc(var(--footer-nav-total) + var(--report-actions-gap));transform:translate(-50%);width:calc(100% - 24px);max-width:406px;min-height:var(--report-actions-height);background:#fffffff7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid var(--border-grey);border-radius:16px;box-shadow:var(--shadow-md);display:flex;align-items:center;gap:10px;padding:10px;z-index:45;pointer-events:auto}.report-footer-btn{flex:1;border:0;border-radius:12px;padding:14px 12px;font-size:14px;font-weight:700;cursor:pointer}.report-footer-btn:disabled{opacity:.6;cursor:not-allowed}.report-btn-primary{background:var(--red);color:var(--white)}.report-btn-secondary{background:var(--light-grey);color:#1a1a1a}.report-card{background:var(--white);border:1px solid var(--border-grey);border-radius:12px;padding:16px;margin-bottom:14px}.header-status{flex:0 0 auto;margin-left:auto}.report-badge{display:inline-block;border-radius:20px;font-size:12px;font-weight:700;padding:4px 10px}.report-badge-ai{background:#f3e5f5;color:#6a1b9a}.report-badge-draft{background:#fff8e1;color:#f57f17}.report-badge-signed{background:#e3f2fd;color:#1565c0}.report-badge-submitted{background:var(--green-soft);color:var(--green)}.report-step-header{margin:0 0 12px}.report-step-meta{color:var(--text-grey);font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;margin-bottom:3px}.report-step-title{color:#111827;font-size:17px;font-weight:800;margin-bottom:10px}.report-progress{height:5px;border-radius:999px;background:var(--border-grey);overflow:hidden}.report-progress-fill{height:100%;border-radius:inherit;background:var(--red);transition:width .2s ease}.report-voice-agent{margin:0 0 16px;padding:14px;border:1px solid #E1BEE7;border-radius:14px;background:linear-gradient(180deg,#fcf4ff,#fff)}.report-voice-agent-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.report-voice-agent-title{margin:0;font-size:14px;font-weight:800;color:#6a1b9a}.report-voice-agent-hint{margin:4px 0 0;font-size:12px;line-height:1.4;color:var(--text-grey)}.report-voice-agent-btn{appearance:none;border:1px solid #CE93D8;background:#f3e5f5;color:#6a1b9a;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:700;white-space:nowrap;flex:0 0 auto}.report-voice-agent-btn.recording{border-color:var(--red);background:var(--red-soft);color:var(--red)}.report-voice-agent-btn:disabled{opacity:.6}.report-voice-live,.report-voice-status{margin:10px 0 0;font-size:12px;line-height:1.4}.report-voice-loader{margin:12px 0 0;padding:10px 12px;display:flex;align-items:center;gap:10px;border-radius:12px;background:#6a1b9a0f;color:#6a1b9a;font-size:12px;font-weight:600}.report-voice-loader-dots{display:inline-flex;align-items:center;gap:4px}.report-voice-loader-dots span{width:6px;height:6px;border-radius:999px;background:currentColor;opacity:.35;animation:reportVoicePulse 1.1s ease-in-out infinite}.report-voice-loader-dots span:nth-child(2){animation-delay:.16s}.report-voice-loader-dots span:nth-child(3){animation-delay:.32s}.report-voice-live{color:#6a1b9a;font-weight:600}.report-voice-status{color:var(--text-grey)}@keyframes reportVoicePulse{0%,80%,to{transform:scale(.8);opacity:.35}40%{transform:scale(1.15);opacity:1}}.report-section-title{color:#001e50;font-size:14px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;margin:0 0 10px}.report-section-note{color:var(--text-grey);font-size:12px;line-height:1.4;margin:-4px 0 12px}.report-accordion,.action-card{border:1px solid var(--border-grey);border-radius:10px;background:var(--white);margin-bottom:10px;overflow:hidden}.report-accordion-toggle{width:100%;border:0;background:var(--white);display:flex;align-items:flex-start;gap:8px;padding:12px;text-align:left;cursor:pointer}.report-accordion-icon{color:var(--text-grey);flex:0 0 auto;font-size:18px;line-height:1;transition:transform .15s ease}.report-accordion.open .report-accordion-icon{transform:rotate(90deg)}.report-accordion-body{border-top:1px solid var(--border-grey);padding:12px}.report-entry-number{color:var(--text-grey);flex:0 0 auto;font-size:12px;font-weight:800;padding-top:1px}.report-entry-title{flex:1;font-size:13px;font-weight:800;line-height:1.3;margin:0}.report-entry-title span{display:block;color:var(--text-grey);font-size:12px;font-weight:600;margin-top:3px}.report-field{margin-top:10px}.report-field:first-child{margin-top:0}.report-field-label{color:var(--text-grey);display:block;font-size:12px;font-weight:700;margin-bottom:5px}.report-field-label.required:after{color:var(--red);content:" *"}.report-textarea{width:100%;min-height:82px;border:1px solid var(--border-grey);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45;resize:vertical;background:var(--white);font-family:inherit}.report-textarea-tall{min-height:200px}.report-textarea:focus{border-color:var(--red);box-shadow:0 0 0 4px var(--red-glow);outline:none}.report-textarea[readonly],.action-input[readonly]{background:#fafafa;color:#444}.report-content-readonly{background:var(--surface-muted);border:1px solid var(--border-grey);border-radius:var(--radius-sm);padding:16px;font-size:14px;line-height:1.65;white-space:pre-wrap;min-height:120px}.outcome-question{color:#222;font-size:13px;line-height:1.35;margin:0 0 10px}.review-check-list{display:grid;gap:8px}.review-check-row{align-items:center;border-bottom:1px solid var(--border-grey);display:flex;gap:10px;justify-content:space-between;padding-bottom:8px}.review-check-row:last-child{border-bottom:0;padding-bottom:0}.review-check-title{font-size:13px;font-weight:700;line-height:1.3;margin:0}.review-status{border-radius:999px;flex:0 0 auto;font-size:11px;font-weight:800;padding:4px 8px;white-space:nowrap}.review-status-ai{background:#f3e5f5;color:#6a1b9a}.review-status-done{background:var(--green-soft);color:var(--green)}.review-status-pending{background:#fff8e1;color:#f57f17}.action-card{padding:12px}.action-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.remove-action-btn,.add-action-btn{border:0;background:transparent;color:var(--red);font-size:12px;font-weight:800;padding:0;cursor:pointer}.add-action-btn{margin-top:4px}.action-input{width:100%;border:1px solid var(--border-grey);border-radius:8px;padding:10px 11px;font-size:13px;background:var(--white);font-family:inherit}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.report-pdf-card{display:flex;flex-direction:column;min-height:60vh}.report-pdf-frame{flex:1;width:100%;min-height:55vh;border:1px solid var(--border-grey);border-radius:12px;background:var(--white);margin-top:8px}.report-signature-block{border-top:1px solid var(--border-grey);margin-top:16px;padding-top:14px}.report-signature-label{font-size:12px;color:var(--text-grey);margin:0 0 8px;font-weight:600}.report-signature-img{max-width:220px;max-height:90px;border:1px solid var(--border-grey);border-radius:8px;display:block;margin-bottom:10px;background:var(--white)}.report-signatory-name{font-weight:700;margin:0;font-size:14px}.report-signatory-designation{font-size:13px;color:var(--text-grey);margin:4px 0 0}.generation-modal-backdrop{align-items:center;background:#0000006b;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:80}.generation-modal{background:var(--white);border-radius:14px;box-shadow:0 18px 50px #00000038;max-width:360px;padding:20px;width:100%}.generation-loader{align-items:center;display:flex;gap:12px;margin-bottom:14px}.generation-spinner{animation:report-spin .8s linear infinite;border:3px solid #F2D9E2;border-top-color:var(--red);border-radius:50%;height:30px;width:30px}@keyframes report-spin{to{transform:rotate(360deg)}}.generation-loader-text{color:var(--text-grey);font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase}.generation-progress{background:var(--border-grey);border-radius:999px;height:4px;margin:0 0 16px;overflow:hidden}.generation-progress-fill{animation:report-loading-bar 2.5s ease-in-out infinite;background:var(--red);border-radius:inherit;height:100%;width:40%}@keyframes report-loading-bar{0%{transform:translate(-100%)}to{transform:translate(260%)}}.generation-modal-title{font-size:18px;font-weight:800;margin:0 0 8px}.generation-modal-text{color:#444;font-size:14px;line-height:1.45;margin:0 0 18px}.generation-modal-actions{display:flex;justify-content:center}.generation-modal-btn{border:0;background:transparent;color:var(--red);font-size:14px;font-weight:800;padding:8px 10px;cursor:pointer}.signature-field-group{margin-bottom:16px}.signature-label{font-size:13px;font-weight:600;display:block;margin-bottom:6px;color:var(--text-grey)}.signature-input{width:100%;border-radius:var(--radius-sm);border:1px solid var(--border-grey);padding:13px 14px;font-size:14px;background:var(--white)}.signature-input:focus{border-color:var(--red);box-shadow:0 0 0 4px var(--red-glow);outline:none}.signature-pad-section{margin-top:20px}.signature-pad-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.signature-pad-label{font-size:13px;font-weight:600;color:var(--text-grey)}.signature-clear-btn{font-size:13px;color:var(--red);background:none;border:none;cursor:pointer;padding:0;font-weight:600}.signature-canvas{width:100%;height:200px;border:2px dashed var(--border-grey);border-radius:var(--radius-sm);background:var(--white);display:block;touch-action:none}.day-action-report-ai{color:#6a1b9a;border-color:#6a1b9a}.day-action-report-draft{color:#f57f17;border-color:#f57f17}.day-action-report-signed{color:#1565c0;border-color:#1565c0}.day-action-report-submitted{color:#2e7d32;border-color:#2e7d32}.day-actions-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:10px 0 4px;border-top:1px solid var(--border-grey);margin-top:8px}.day-action-btn{padding:8px 14px;border-radius:999px;font-size:12px;font-weight:600;cursor:pointer;border:1px solid currentColor;background:transparent;transition:opacity .15s,background .15s}.day-action-complete{color:var(--white);background:var(--red);border-color:var(--red)}.day-action-btn:disabled{opacity:.5;cursor:not-allowed}.day-action-report{color:var(--text-grey);border-color:var(--border-grey);background:var(--white)}.day-action-done{font-size:12px;font-weight:700;color:var(--green);padding:8px 10px;background:var(--green-soft);border-radius:999px}.material-preview-overlay{position:fixed;inset:0;z-index:80;background:#0f172a73;display:flex;align-items:flex-end;justify-content:center;padding:0}.material-preview-sheet{width:100%;max-width:920px;max-height:94vh;background:var(--white);border-radius:18px 18px 0 0;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 -8px 32px #0000002e}.material-preview-top{display:flex;justify-content:space-between;gap:12px;padding:16px 18px 12px;border-bottom:1px solid var(--border-grey)}.material-preview-eyebrow{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--red);margin-bottom:4px}.material-preview-top h2{margin:0;font-size:17px;line-height:1.25}.material-preview-close{border:none;background:transparent;font-size:28px;line-height:1;color:var(--text-grey);cursor:pointer;padding:0 4px}.material-preview-body{flex:1;min-height:0;background:#f8fafc;padding:12px;overflow:hidden;display:flex;flex-direction:column}.material-preview-frame{width:100%;min-height:min(58vh,560px);height:58vh;border:1px solid var(--border-grey);border-radius:10px;background:var(--white)}.material-preview-text{white-space:pre-wrap;background:var(--white);border:1px solid var(--border-grey);border-radius:10px;padding:14px;font-size:14px;line-height:1.5;max-height:58vh;overflow:auto}.material-preview-fallback{background:var(--white);border:1px solid var(--border-grey);border-radius:10px;padding:18px;font-size:14px;color:var(--text-grey);display:grid;gap:12px}.material-preview-footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px 16px;border-top:1px solid var(--border-grey);background:var(--white)}.material-preview-footer .btn-primary,.material-preview-footer .btn-secondary,.material-preview-fallback .btn-primary{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border-radius:10px;font-size:14px;font-weight:700;border:none;cursor:pointer}.material-preview-footer .btn-secondary{background:var(--light-grey);color:var(--black)}.sheets-preview{display:flex;flex-direction:column;flex:1;min-height:min(58vh,560px);height:58vh;border:1px solid #c0c0c0;border-radius:4px;overflow:hidden;background:#fff;font-family:Arial,Helvetica,sans-serif}.sheets-preview-scroll{flex:1;min-height:0;overflow:auto}.sheets-grid{border-collapse:collapse;width:max-content;min-width:100%;table-layout:fixed;font-size:12px;color:#202124}.sheets-grid th,.sheets-grid td{border:1px solid #e0e0e0;padding:0 8px;height:22px;line-height:22px;text-align:left;white-space:nowrap;max-width:160px;min-width:72px;overflow:hidden;text-overflow:ellipsis;background:#fff;font-weight:400;vertical-align:middle}.sheets-corner{position:sticky;top:0;left:0;z-index:3;width:36px;min-width:36px;max-width:36px;background:#f8f9fa!important;border-color:silver!important}.sheets-col-head{position:sticky;top:0;z-index:2;background:#f8f9fa!important;color:#5f6368;font-size:11px;font-weight:500!important;text-align:center!important;border-color:silver!important}.sheets-row-head{position:sticky;left:0;z-index:1;width:36px;min-width:36px;max-width:36px;background:#f8f9fa!important;color:#5f6368;font-size:11px;font-weight:500!important;text-align:center!important;border-color:silver!important;padding:0!important}.sheets-grid tbody tr:hover td{background:#f8f9fa}.sheets-empty{color:#80868b;font-style:italic;white-space:normal!important}.sheets-tabs{display:flex;overflow-x:auto;background:#f8f9fa;border-top:1px solid #c0c0c0;padding:0 4px;min-height:32px}.sheets-tab{border:none;border-right:1px solid #dadce0;background:transparent;color:#3c4043;padding:6px 14px;font-size:12px;font-family:inherit;cursor:pointer;white-space:nowrap}.sheets-tab.active{background:#fff;color:#188038;font-weight:600;box-shadow:inset 0 2px #188038}.sheets-preview-note{margin:0;padding:6px 10px;font-size:11px;color:#5f6368;background:#f8f9fa;border-top:1px solid #e0e0e0}@media(min-width:768px){.material-preview-overlay{align-items:center;padding:24px}.material-preview-sheet{border-radius:16px;max-height:min(90vh,900px)}}
