:root{--bg:#f1efe8;--surface:#fffdf7;--ink:#172018;--muted:#6d756d;--line:#d9d6ca;--accent:#9b513a;--accent2:#274b35;--ok:#dfe9df}*{box-sizing:border-box}body,html{margin:0;min-height:100%;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.shell{max-width:1040px;margin:0 auto;padding:18px 16px 96px}.brandbar{justify-content:space-between;gap:12px;padding:6px 0 24px}.brand,.brandbar{display:flex;align-items:center}.brand{gap:10px;font-weight:750}.pill{border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:rgba(255,255,255,.55);font-size:13px}.card{background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 8px 30px rgba(23,32,24,.05)}.login-shell{min-height:100dvh;display:grid;place-items:center;padding:22px}.login-card{width:min(100%,460px);padding:28px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--muted);font-weight:700}.hero h1,.login-card h1{font-size:clamp(34px,8vw,58px);line-height:.98;margin:12px 0}.login-card p{color:var(--muted);line-height:1.55}.capture-btn,.primary{border:0;border-radius:14px;padding:14px 18px;background:var(--ink);color:white;font-weight:750;cursor:pointer}.secondary{border:1px solid var(--line);border-radius:12px;padding:10px 13px;background:white;color:var(--ink);font-weight:700;cursor:pointer}.primary:disabled,.secondary:disabled{opacity:.45;cursor:not-allowed}.link-button{display:inline-flex;align-items:center;justify-content:center}.small{font-size:12px;color:var(--muted)}.notice{background:#f5e2dc;color:#763c2e}.notice,.success-box{border-radius:12px;padding:12px}.success-box{background:var(--ok)}.hero{display:grid;grid-gap:12px;gap:12px;margin-bottom:18px}.hero.compact h1{font-size:clamp(34px,7vw,46px)}.hero h1{font-size:42px;margin:0}.hero p{margin:0;color:var(--muted)}.project-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.project-card h2{margin:6px 0}.project-code{font-size:12px;font-weight:800;color:var(--accent);letter-spacing:.08em}.grid{display:grid;grid-gap:14px;gap:14px}.journal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px}.journal-header h1{margin:4px 0;font-size:30px}.muted{color:var(--muted)}.capture-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin:14px 0}.capture-btn{background:var(--accent2);min-height:62px;display:grid;place-items:center;text-align:center}.capture-btn.photo{background:var(--accent)}.capture-btn.library{background:#52635b}.capture-btn.recording-button{background:#713326}.recording-panel{margin:12px 0 16px;border-radius:18px;padding:16px;background:#211b18;color:#fff;box-shadow:0 12px 30px rgba(33,27,24,.16);display:grid;grid-gap:14px;gap:14px}.recording-live{display:flex;align-items:center;gap:11px}.recording-live>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;flex:1 1}.recording-live strong{font-size:15px}.recording-time{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:18px;font-weight:800;letter-spacing:.04em}.recording-dot{width:13px;height:13px;border-radius:50%;background:#ed6b5c;box-shadow:0 0 0 0 rgba(237,107,92,.55);animation:recording-pulse 1.15s ease-out infinite}.recording-wave{height:42px;display:flex;align-items:center;justify-content:center;gap:5px}.recording-wave span{display:block;width:5px;min-height:7px;height:34%;border-radius:999px;background:#efaa9d;animation:recording-wave .78s ease-in-out infinite alternate}.recording-wave span:nth-child(3n){height:70%}.recording-wave span:nth-child(2n){height:48%}.recording-stop{border:1px solid rgba(255,255,255,.28);border-radius:13px;padding:12px 14px;background:rgba(255,255,255,.1);color:#fff;font-weight:800;cursor:pointer}.text-entry{display:grid;grid-gap:10px;gap:10px;margin-top:12px}.text-entry textarea{width:100%;min-height:104px;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff}.entries{display:grid;grid-gap:10px;gap:10px;margin-top:18px}.entry{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px}.entry-head{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px}.media{max-width:100%;border-radius:12px}.audio,.media{margin-top:10px}.audio{width:100%}.statusline{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.status{background:var(--ok);border-radius:999px;padding:7px 10px;font-size:12px}.status-neutral{background:#ecebe5}.logout{border:0;background:transparent;text-decoration:underline;cursor:pointer}.back,.logout{color:var(--muted)}.back{display:inline-flex;margin-bottom:12px}.action-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.admin-nav{display:flex;gap:6px;background:rgba(255,255,255,.5);padding:4px;border-radius:999px}.admin-nav a{padding:8px 12px;border-radius:999px;font-size:13px}.admin-nav a.active{background:var(--ink);color:white}.admin-section{margin:16px 0}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.section-head h2{margin:4px 0 5px}.form-grid{display:grid;grid-gap:12px;gap:12px;margin-top:14px}.form-grid label,.inline-form label{display:grid;grid-gap:6px;gap:6px;font-size:13px;font-weight:700}.form-grid input,.form-grid select,.form-grid textarea,.inline-form input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;background:white;color:var(--ink)}.detail-form{padding-top:12px}.admin-list{margin-top:14px}.admin-row details{margin:14px 0}.admin-row summary,.contact-create summary{cursor:pointer;font-weight:700}.inline-form{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;align-items:end;margin:16px 0}.assignment-form{border-top:1px solid var(--line);padding-top:14px}.assignment-grid{display:grid;grid-gap:8px;gap:8px;margin:10px 0 14px}.check-card{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}.check-card small{color:var(--muted)}.import-grid{display:grid;grid-gap:14px;gap:14px;margin:14px 0}.import-card h2{margin:5px 0}.import-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.file-picker{display:inline-flex;border:1px solid var(--line);border-radius:12px;padding:10px 13px;background:white;font-weight:700;cursor:pointer}.file-picker input{display:none}.preview-summary{display:grid;grid-gap:3px;gap:3px;border:1px solid var(--line);border-radius:14px;padding:12px;margin-top:14px}.preview-summary span{font-size:12px;color:var(--muted)}.preview-list{display:grid;grid-gap:8px;gap:8px;margin:10px 0}.preview-row{display:flex;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:14px;padding:12px}.preview-row>div{display:grid;grid-gap:3px;gap:3px}.preview-row small,.preview-row span{font-size:12px;color:var(--muted)}.preview-review{border-color:#c98770;background:#fff8f4}.preview-new{border-color:#a9c6ad}.company-list{display:grid;grid-gap:14px;gap:14px}.company-card{border:1px solid var(--line);border-radius:18px;padding:16px;background:#fff}.company-meta{display:grid;grid-gap:4px;gap:4px;margin:10px 0;color:var(--muted);font-size:13px}.contact-list{display:grid;grid-gap:7px;gap:7px;margin-top:12px}.contact-row{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #ece9df;padding-top:9px}.contact-row>div{display:grid;grid-gap:2px;gap:2px}.contact-row small,.contact-row span{color:var(--muted);font-size:12px}.contact-create{margin-top:14px}.danger{color:#8a3727}.company-create-grid{grid-template-columns:1fr}.project-create-form{max-width:620px}.export-card,.journal-tools{display:grid;grid-gap:14px;gap:14px}.export-card .section-head h2{font-size:24px}.export-card .section-head p{margin:4px 0 0}.export-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.export-presets .secondary{padding:11px 8px}.export-dates{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.export-dates label{display:grid;grid-gap:6px;gap:6px;font-size:13px;font-weight:700}.export-dates input{width:100%;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff;color:var(--ink)}.export-button{width:100%;min-height:50px}.document-entry{margin-top:12px;border:1px solid #e4e1d7;border-radius:13px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faf9f4}.document-entry>div{display:grid;grid-gap:4px;gap:4px;min-width:0}.document-entry span,.document-entry strong{overflow-wrap:anywhere}.document-entry span{font-size:12px;color:var(--muted)}@keyframes recording-pulse{0%{box-shadow:0 0 0 0 rgba(237,107,92,.55)}70%{box-shadow:0 0 0 12px rgba(237,107,92,0)}to{box-shadow:0 0 0 0 rgba(237,107,92,0)}}@keyframes recording-wave{0%{transform:scaleY(.45);opacity:.62}to{transform:scaleY(1.25);opacity:1}}@media(prefers-reduced-motion:reduce){.recording-dot,.recording-wave span{animation:none}.recording-wave span{transform:none}}@media(max-width:480px){.capture-grid{grid-template-columns:1fr}.export-presets{grid-template-columns:1fr 1fr 1fr}.export-dates{grid-template-columns:1fr}.document-entry{align-items:flex-start;flex-direction:column}.document-entry .secondary{width:100%}}@media(min-width:700px){.shell{padding-top:30px}.grid.project-grid{grid-template-columns:repeat(2,1fr)}.capture-grid{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>.primary{align-self:end}.assignment-grid,.import-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-create-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.project-card-today{border-color:#b9cfb9;background:#edf5ed;box-shadow:0 10px 30px rgba(39,75,53,.09)}.project-card-status{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.project-today-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;background:#d7e8d7;color:#275b35;font-size:11px;font-weight:800}.sortable-project-card{position:relative;display:block;padding:0;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.project-card-link{display:flex;min-height:100%;align-items:center;justify-content:space-between;gap:14px;padding:20px 66px 20px 20px}.project-drag-handle{position:absolute;top:13px;right:13px;display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.88);color:var(--ink);cursor:-webkit-grab;cursor:grab;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.project-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.project-drag-handle:focus-visible{outline:3px solid rgba(39,75,53,.3);outline-offset:2px}.project-drag-handle>span{display:grid;width:20px;grid-gap:4px;gap:4px}.project-drag-handle i{display:block;height:2px;border-radius:999px;background:currentColor}.project-card-dragging{z-index:3;opacity:.76;transform:scale(.985);box-shadow:0 16px 38px rgba(23,32,24,.18)}.project-order-feedback{grid-column:1/-1;margin:-2px 4px 0;color:var(--muted);font-size:12px}@media (prefers-reduced-motion:reduce){.sortable-project-card{transition:none}}.journal-production{display:grid;grid-gap:14px;gap:14px}.journal-capture-card,.journal-day-card{overflow:hidden}.journal-sync-card{display:grid;grid-gap:14px;gap:14px}.journal-sync-card h2{margin:4px 0}.journal-sync-card p{margin:4px 0 0}.offline-sync-control{display:grid;grid-gap:8px;gap:8px}.offline-sync-control>.primary{width:100%;min-height:54px}.offline-sync-message{color:var(--muted);font-size:13px;line-height:1.4}.pending-status{background:#f3e0b8;color:#6a4d12}.recovery-banner{display:grid;grid-gap:10px;gap:10px}.recovery-banner p{margin:0;line-height:1.45}.day-nav{display:flex;gap:7px;align-items:center}.pending-entry{border-style:dashed;border-color:#c99a55;background:#fffaf0}.synced-entry{border-color:#d7ded5}.error-text{color:#8a3727;font-size:13px}.transcript-stack{display:grid;grid-gap:10px;gap:10px;margin-top:12px}.transcript-box{border-radius:14px;padding:12px 13px;border:1px solid #e2dfd5;background:#faf9f4}.transcript-box>span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:800;color:#6d756d;margin-bottom:6px}.transcript-box p{margin:0;line-height:1.5}.transcript-box.original{background:#f6f4ed}.transcript-box.professional{background:#eef4ee;border-color:#cbdacb}.transcript-box.processing{background:#f7eee9;border-color:#e7cfc5}.audio-file-name{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 11px;border:1px solid #e4e1d7;border-radius:12px;background:#faf9f4;font-size:12px}.audio-file-name span{color:var(--muted)}.audio-file-name strong{overflow-wrap:anywhere;text-align:right}.journal-current-text{white-space:pre-wrap}.original-text-details{margin-top:10px;padding-top:9px;border-top:1px solid var(--line)}.original-text-details summary{cursor:pointer;color:var(--muted);font-size:12px;font-weight:750}.original-text-details p{margin:8px 0 0;white-space:pre-wrap;color:var(--muted)}.original-text-details summary:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px;border-radius:4px}.correction-editor{display:grid;grid-gap:9px;gap:9px}.correction-editor label{font-size:12px;font-weight:800;color:var(--ink)}.correction-editor textarea{width:100%;min-height:150px;resize:vertical;border:1px solid #aebfaa;border-radius:12px;padding:12px;background:#fff;color:var(--ink);line-height:1.5}.correction-editor .error-text{margin:0}.correction-editor .action-row .secondary{margin-top:0}.journal-day-card .section-head{align-items:center}.journal-day-card .entries{margin-top:14px}.journal-production .notice p{margin:6px 0 0}.journal-production .statusline{margin-top:0}.journal-production .entry .secondary{margin-top:10px}.journal-production .entry-head strong{color:var(--ink)}.journal-production .synced-entry>.entry-head{display:flex;align-items:baseline;justify-content:flex-start;gap:0;flex-wrap:wrap}.journal-production .synced-entry>.entry-head strong:after{content:" · ";white-space:pre}.journal-production .synced-entry>.entry-head span{margin-left:0}.journal-organization-options{display:grid;grid-gap:5px;gap:5px}.journal-organization-option{display:flex!important;align-items:baseline;justify-content:flex-start!important;gap:8px!important;text-align:left}.journal-organization-option strong{flex:0 1 auto}.journal-organization-option-meta{display:inline-flex;align-items:baseline;gap:7px;color:var(--muted);font-size:12px}.journal-organization-option-meta i{font-style:normal;color:var(--muted)}.archived-projects-section{margin-top:26px}.archived-projects-heading{margin-bottom:10px}.archived-project-list{display:grid;grid-gap:8px;gap:8px}.archived-project{padding:0;overflow:hidden}.archived-project>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;cursor:pointer;font-size:17px;font-weight:800;list-style:none}.archived-project>summary::-webkit-details-marker{display:none}.archived-project-arrow{font-size:26px;line-height:1;transition:transform .16s ease}.archived-project[open] .archived-project-arrow{transform:rotate(90deg)}.archived-project-body{border-top:1px solid var(--line);padding:18px}.sync-employee-list{gap:12px}.sync-employee-card{display:grid;grid-gap:12px;gap:12px}.sync-status-warning{background:#f3e0b8;color:#6a4d12}.sync-problem-list,.sync-problem-row{display:grid;grid-gap:10px;gap:10px}.sync-problem-row{border:1px solid var(--line);border-radius:14px;padding:13px;background:#faf9f4}.sync-problem-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.sync-problem-head>div{display:grid;grid-gap:3px;gap:3px}.sync-problem-head span{color:var(--muted);font-size:12px}.sync-problem-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:8px;gap:8px}.sync-problem-meta>span{display:grid;grid-gap:2px;gap:2px;border-radius:10px;padding:8px;background:#fff}.sync-problem-meta small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.04em}.sync-problem-meta strong{font-size:12px;overflow-wrap:anywhere}.sync-problem-error{margin:0}.sync-problem-actions{align-items:flex-start}.sync-delete-confirm>summary{cursor:pointer;list-style:none}.sync-delete-confirm>summary::-webkit-details-marker{display:none}.sync-delete-form{display:grid;grid-gap:9px;gap:9px;margin-top:8px;max-width:420px}.danger-action{background:#7f3428!important}.sync-ok-message{margin:0}@media(max-width:700px){.sync-problem-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.sync-problem-head{display:grid}}@media(max-width:520px){.journal-day-card .section-head{display:grid;grid-gap:10px;gap:10px}.day-nav{width:100%}.day-nav .secondary{flex:1 1}.journal-production .entry-head{display:grid;grid-gap:4px;gap:4px}.journal-production .capture-grid{grid-template-columns:1fr}.transcript-box{padding:11px}.audio-file-name{display:grid}.audio-file-name strong{text-align:left}.correction-editor .action-row{display:grid}.correction-editor .action-row button{width:100%}.journal-production .recording-live>div{align-items:flex-start;flex-direction:column;gap:3px}.journal-organization-option{align-items:flex-start;flex-wrap:wrap}.sync-problem-meta{grid-template-columns:1fr}.sync-problem-actions{display:grid}.sync-delete-confirm>summary,.sync-problem-actions button,.sync-problem-actions>*{width:100%}}.entry{position:relative}.entry-correct,.entry-delete{position:absolute;top:9px;width:30px;height:30px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.92);font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2}.entry-delete{right:9px;color:#7b3d31}.entry-correct{left:9px;color:var(--ink);font-size:18px}.entry-delete:hover{background:#f5e2dc;border-color:#d8aa9d}.entry-correct:hover{background:#eef4ee;border-color:#aebfaa}.entry-correct:focus-visible,.entry-delete:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px}.entry>.entry-head{padding-right:34px;padding-left:34px}.change-log{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.change-log-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.change-log-head h3{margin:3px 0 10px;font-size:19px}.change-log-list{display:grid;grid-gap:7px;gap:7px}.change-log-row{display:flex;justify-content:space-between;gap:14px;border:1px solid #e6e2d8;border-radius:12px;background:#faf9f4;padding:10px 12px}.change-log-row strong{font-size:13px}.change-log-row span{color:var(--muted);font-size:12px;text-align:right}.branding-grid{display:grid;grid-gap:14px;gap:14px}.branding-card h2{margin:5px 0}.template-status{min-height:28px;color:var(--muted)}.branding-upload{grid-template-columns:1fr}.branding-upload input[type=file]{padding:10px}.branding-margins{display:grid;grid-gap:12px;gap:12px}.margin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smino-sync-card{display:grid;grid-gap:14px;gap:14px}.smino-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.smino-status-grid>div{display:grid;grid-gap:4px;gap:4px;border:1px solid var(--line);border-radius:13px;padding:11px;background:#faf9f4;min-width:0}.smino-status-grid small{color:var(--muted)}.smino-status-grid strong{overflow-wrap:anywhere;font-size:13px}.smino-progress{display:grid;grid-gap:8px;gap:8px;border-radius:13px;background:#f4f1e8;padding:11px}.smino-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#ddd8ca}.smino-progress-bar{display:block;width:42%;height:100%;border-radius:999px;background:var(--accent2);animation:smino-move 1.15s ease-in-out infinite alternate}@keyframes smino-move{0%{transform:translateX(-20%)}to{transform:translateX(165%)}}@media(prefers-reduced-motion:reduce){.smino-progress-bar{animation:none;transform:none;width:100%}}@media(max-width:620px){.change-log-row{display:grid}.change-log-row span{text-align:left}.margin-grid,.smino-status-grid{grid-template-columns:1fr}}@media(min-width:760px){.branding-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branding-margins{grid-column:1/-1}}.brandmark{position:relative;display:grid;flex:0 0 38px;width:38px;height:38px;overflow:hidden;place-items:center;border:1px solid var(--line);border-radius:11px;background:#eeece5}.brandmark-image,.brandmark-placeholder{grid-area:1/1}.brandmark-placeholder{color:#667068;font-size:11px;font-weight:850;letter-spacing:.08em}.brandmark-image{width:100%;height:100%;object-fit:contain;background:#fff}.brand-name{min-width:0;line-height:1.15}.branding-logo-preview{display:flex;min-height:76px;align-items:center;margin:12px 0;padding:14px;overflow:hidden;border:1px dashed var(--line);border-radius:14px;background:#faf9f4}.branding-logo-reset{margin-top:12px}.project-list-stack{display:grid;grid-gap:14px;gap:14px}.project-admin-actions{margin-top:14px}.protocol-switch-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.protocol-switch-card h2,.protocol-switch-card p{margin:4px 0}.protocol-switch-button{flex:0 0 auto;min-height:46px}.calendar-backdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:14px;background:rgba(23,32,24,.52);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.calendar-dialog{width:min(100%,520px);max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--line);border-radius:22px;background:var(--surface);padding:18px;box-shadow:0 24px 70px rgba(23,32,24,.28)}.calendar-dialog-head,.calendar-legend,.calendar-month-nav{display:flex;align-items:center}.calendar-dialog-head{justify-content:space-between;gap:14px}.calendar-dialog-head h2,.calendar-dialog-head p{margin:3px 0}.calendar-close{display:grid;flex:0 0 40px;width:40px;height:40px;place-items:center;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:24px;cursor:pointer}.calendar-month-nav{justify-content:space-between;gap:10px;margin:14px 0 10px}.calendar-month-nav strong{text-align:center;text-transform:capitalize}.calendar-grid,.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-gap:5px;gap:5px}.calendar-weekdays{margin-bottom:5px;color:var(--muted);font-size:11px;font-weight:800;text-align:center}.calendar-day{display:grid;aspect-ratio:1;min-width:0;place-items:center;border:1px solid transparent;border-radius:11px;background:#f0eee8;color:#9a9e99;font-weight:750;cursor:pointer}.calendar-day-filled{border-color:#d4d3cb;background:#fff;color:#111713}.calendar-day-outside{opacity:.48}.calendar-day-today{box-shadow:inset 0 0 0 2px #8da090}.calendar-day-selected{border-color:var(--accent2);background:var(--accent2);color:#fff;opacity:1;box-shadow:none}.calendar-close:focus-visible,.calendar-day:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px}.calendar-legend{flex-wrap:wrap;gap:8px 14px;margin-top:13px;color:var(--muted);font-size:11px}.calendar-legend span{display:inline-flex;align-items:center;gap:6px}.calendar-legend i{width:10px;height:10px;border:1px solid #d4d3cb;border-radius:3px}.calendar-legend-filled{background:#fff}.calendar-legend-empty{background:#f0eee8}.calendar-loading{margin-left:auto}.media{width:auto;height:auto}.microsoft-login-form{display:grid;grid-gap:12px;gap:12px;margin-top:26px}.microsoft-login-button{display:flex;min-height:52px;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:#1f2937;box-shadow:0 8px 22px rgba(31,50,78,.1);font-weight:700}.microsoft-login-button.disabled{opacity:.55}.microsoft-login-button:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px}.microsoft-mark{display:grid;grid-template-columns:repeat(2,10px);grid-template-rows:repeat(2,10px);grid-gap:2px;gap:2px}.microsoft-mark i:first-child{background:#f25022}.microsoft-mark i:nth-child(2){background:#7fba00}.microsoft-mark i:nth-child(3){background:#00a4ef}.microsoft-mark i:nth-child(4){background:#ffb900}.offline-prefetch-link{position:fixed;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);pointer-events:none}.project-scope{display:inline-flex;gap:4px;margin:2px 0 18px;padding:4px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.55)}.project-scope a{padding:9px 14px;border-radius:999px;color:var(--muted);font-size:13px;font-weight:750}.project-scope a.active{background:var(--ink);color:#fff}.project-scope a:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.success-text{color:#275b35;font-size:13px}.ai-prompt-form{display:grid;grid-gap:11px;gap:11px;margin-top:15px}.ai-prompt-form>label{display:grid;grid-gap:7px;gap:7px;font-size:13px;font-weight:750}.ai-prompt-form textarea{width:100%;min-height:190px;resize:vertical;border:1px solid var(--line);border-radius:13px;padding:13px;background:#fff;color:var(--ink);line-height:1.5}.prompt-upload-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.prompt-upload-row span{color:var(--muted);font-size:12px;overflow-wrap:anywhere}.ai-project-list{align-items:start}.ai-project-card .status{white-space:nowrap}@media (max-width:620px){.brandbar{align-items:flex-start;flex-wrap:wrap}.admin-nav{width:100%;overflow-x:auto}.ai-prompt-form .action-row{display:grid}.ai-prompt-form .action-row button{width:100%}.protocol-switch-card{display:grid}.protocol-switch-button{width:100%}.calendar-dialog{padding:15px;border-radius:18px}.calendar-grid{gap:4px}.calendar-day{border-radius:9px;font-size:13px}}.admin-journal-list{margin-top:18px}.admin-journal-card{display:flex;align-items:center;justify-content:space-between;gap:18px}.admin-journal-card h2,.admin-journal-card p{margin:4px 0}.readonly-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;border-color:#b9cfb9;background:#edf5ed}.readonly-banner h2,.readonly-banner p{margin:4px 0}.readonly-banner>p{max-width:600px;color:var(--muted)}.readonly-entry>.entry-head{padding-right:0;padding-left:0}@media (max-width:620px){.admin-journal-card,.readonly-banner{display:grid}.admin-journal-card .link-button{width:100%}}.employee-project-grid{margin-top:18px}.employee-project-card{display:grid;grid-gap:18px;gap:18px;min-width:0;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.employee-project-card:hover{border-color:#aebfaa;box-shadow:0 12px 34px rgba(39,75,53,.1);transform:translateY(-1px)}.employee-project-card:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:3px}.employee-project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.employee-project-head h2,.employee-project-head p{margin:4px 0}.employee-project-head .pill{flex:0 0 auto}.employee-project-members{display:grid;grid-gap:9px;gap:9px;padding-top:14px;border-top:1px solid var(--line)}.employee-project-member-list{display:flex;flex-wrap:wrap;gap:7px}.employee-project-member{display:inline-flex;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px}.employee-project-member span,.employee-project-member strong{padding:6px 8px}.employee-project-member span{min-width:29px;border-left:1px solid var(--line);background:#edf5ed;color:#275b35;font-weight:800;text-align:center}.inactive-projects{margin-top:18px}.inactive-projects>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-weight:800;list-style:none}.inactive-projects>summary::-webkit-details-marker{display:none}.inactive-projects>.employee-project-grid .employee-project-card{background:#f7f5ef;box-shadow:none}.employee-journal-tools{display:grid;grid-gap:14px;gap:14px}.employee-journal-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(220px,1.4fr);grid-gap:10px;gap:10px}.employee-journal-export>label,.employee-journal-filters label{display:grid;grid-gap:6px;gap:6px;min-width:0;font-size:13px;font-weight:750}.employee-journal-export select,.employee-journal-filters input,.employee-journal-filters select{width:100%;min-height:46px;min-width:0;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;color:var(--ink)}.employee-journal-export select:focus-visible,.employee-journal-filters input:focus-visible,.employee-journal-filters select:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:2px}.employee-filter-reset{justify-self:start}.employee-journal-days{display:grid;grid-gap:10px;gap:10px;margin-top:14px}.employee-journal-day{padding:0;overflow:hidden;content-visibility:auto;contain-intrinsic-size:76px}.employee-journal-day>summary{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;cursor:pointer;list-style:none}.employee-journal-day>summary::-webkit-details-marker{display:none}.employee-journal-day>summary:after{content:"›";flex:0 0 auto;color:var(--muted);font-size:25px;line-height:1;transform:rotate(90deg);transition:transform .16s ease}.employee-journal-day[open]>summary:after{transform:rotate(-90deg)}.employee-journal-day>summary:focus-visible{outline:3px solid rgba(39,75,53,.25);outline-offset:-3px}.employee-journal-day>summary>span:first-child{display:grid;grid-gap:4px;gap:4px}.employee-journal-day>summary strong{text-transform:capitalize}.employee-journal-day>summary small{color:var(--muted);font-size:12px;letter-spacing:.06em}.employee-journal-day-count{margin-left:auto;color:var(--muted);font-size:13px;white-space:nowrap}.employee-journal-day>.entries{margin:0;padding:0 20px 20px;border-top:1px solid var(--line)}.employee-journal-day>.entries>.entry:first-child{margin-top:16px}.employee-journal-export{margin-top:14px}.employee-journal-export>label{max-width:360px}@media (min-width:700px){.employee-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.employee-journal-filters{grid-template-columns:1fr 1fr}.employee-journal-search{grid-column:1/-1}}@media (max-width:520px){.employee-journal-day>summary,.employee-project-head{align-items:flex-start}.employee-project-head{display:grid}.employee-journal-filters{grid-template-columns:1fr}.employee-journal-search{grid-column:auto}.employee-journal-day-count{white-space:normal}}@media (prefers-reduced-motion:reduce){.employee-journal-day>summary:after,.employee-project-card{transition:none}}.photo-journal-media{display:grid;grid-gap:10px;gap:10px;margin-top:10px}.photo-frame{position:relative;display:inline-block;max-width:100%;overflow:hidden;border-radius:12px;line-height:0}.photo-frame .media{display:block;margin-top:0;border-radius:12px}.photo-comment-actions{position:absolute;z-index:1;left:10px;bottom:10px;display:flex;gap:7px}.photo-comment-actions button{min-height:36px;border:1px solid rgba(255,255,255,.72);border-radius:999px;padding:7px 11px;background:rgba(23,32,24,.82);color:#fff;box-shadow:0 4px 14px rgba(0,0,0,.2);font-size:13px;font-weight:800;line-height:1;cursor:pointer;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.photo-comment-actions button.recording{background:#713326}.photo-comment-actions button:disabled{opacity:.48;cursor:not-allowed}.photo-comment-actions button:focus-visible{outline:3px solid rgba(255,255,255,.9);outline-offset:2px}.photo-attachment-section{display:grid;grid-gap:9px;gap:9px}.photo-attachment-tools{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.photo-attachment-add{min-height:42px;border:1px solid #9e684f;border-radius:999px;padding:9px 14px;background:#9b513a;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.photo-attachment-add:disabled{opacity:.48;cursor:not-allowed}.photo-attachment-add:focus-visible{outline:3px solid rgba(155,81,58,.22);outline-offset:2px}.photo-attachment-count{color:var(--muted);font-size:12px;font-weight:750}.photo-attachment-hint{margin:0;color:var(--muted);font-size:12px;line-height:1.4}.photo-attachment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.photo-attachment-card{position:relative;min-width:0;aspect-ratio:4/3;overflow:hidden;border:1px solid #ded9cf;border-radius:12px;background:#f8f7f2}.photo-attachment-card img,.photo-attachment-placeholder{display:block;width:100%;height:100%;object-fit:cover}.photo-attachment-placeholder{display:grid;place-items:center;padding:8px;color:var(--muted);font-size:11px;text-align:center}.photo-attachment-card>span{position:absolute;right:6px;bottom:6px;border-radius:999px;padding:3px 6px;background:rgba(23,32,24,.78);color:#fff;font-size:9px;font-weight:800}.photo-attachment-error{margin:0}.photo-camera-backdrop{position:fixed;z-index:2000;inset:0;overflow:hidden;background:#050505;color:#fff}.photo-camera-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#050505}.photo-camera-topbar{position:absolute;z-index:2;top:0;right:0;left:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:max(14px,env(safe-area-inset-top)) 16px 14px;background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0))}.photo-camera-counter{border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:9px 13px;background:rgba(0,0,0,.54);font-size:13px;font-weight:750;line-height:1;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.photo-camera-counter strong{font-size:17px}.photo-camera-close{min-height:40px;border:1px solid rgba(255,255,255,.42);border-radius:999px;padding:9px 14px;background:rgba(0,0,0,.58);color:#fff;font-size:13px;font-weight:800;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.photo-camera-close:focus-visible,.photo-camera-shutter:focus-visible{outline:3px solid rgba(255,255,255,.9);outline-offset:3px}.photo-camera-controls{position:absolute;z-index:2;right:0;bottom:0;left:0;display:grid;justify-items:center;grid-gap:12px;gap:12px;padding:24px 18px max(24px,calc(env(safe-area-inset-bottom) + 12px));background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,0))}.photo-camera-shutter{display:grid;width:78px;height:78px;place-items:center;border:4px solid #fff;border-radius:999px;padding:6px;background:rgba(0,0,0,.12);cursor:pointer;-webkit-tap-highlight-color:transparent}.photo-camera-shutter>span{display:block;width:100%;height:100%;border-radius:999px;background:#fff;transition:transform .08s ease,opacity .08s ease}.photo-camera-shutter:active>span{transform:scale(.88)}.photo-camera-shutter:disabled{opacity:.42;cursor:default}.photo-camera-save-status{min-height:18px;margin:0;color:rgba(255,255,255,.9);font-size:12px;font-weight:700;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.6)}.photo-camera-error{position:absolute;z-index:3;right:18px;bottom:150px;left:18px;border:1px solid rgba(255,198,184,.58);background:rgba(91,24,15,.88);font-size:12px;line-height:1.4;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.photo-camera-error,.photo-recording-status{border-radius:12px;padding:10px 12px;color:#fff}.photo-recording-status{display:flex;align-items:center;gap:9px;background:#211b18;font-size:13px;font-weight:750}.photo-comment-pending,.photo-comment-pending p{margin:0}.photo-comment-editor{display:grid;grid-gap:9px;gap:9px;border:1px solid #d7ded5;border-radius:14px;padding:12px;background:#fafcf9}.photo-comment-editor label{font-size:12px;font-weight:800}.photo-comment-editor textarea{width:100%;min-height:110px;resize:vertical;border:1px solid #aebfaa;border-radius:12px;padding:12px;background:#fff;color:var(--ink);line-height:1.5}.photo-comment-editor .error-text{margin:0}.photo-comment-text{border:1px solid #cbdacb;border-radius:14px;padding:12px 13px;background:#eef4ee}.photo-comment-text>span{display:block;margin-bottom:6px;color:#6d756d;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.photo-comment-text p{margin:0;line-height:1.5}.photo-comment-audio{margin-top:0}@media (max-width:520px){.photo-attachment-add{flex:1 1 auto}.photo-camera-topbar{padding-right:12px;padding-left:12px}.photo-camera-counter{padding:8px 11px;font-size:12px}.photo-camera-close{padding-right:12px;padding-left:12px}.photo-comment-editor .action-row{display:grid}.photo-comment-editor .action-row button{width:100%}}.offline-workspace-shell{min-height:100dvh}.offline-back{border:0;padding:7px 0;background:transparent;cursor:pointer}.offline-project-card{width:100%;min-height:132px;border:1px solid var(--line);border-radius:22px;padding:20px;background:var(--surface);color:var(--ink);box-shadow:0 8px 30px rgba(23,32,24,.05);text-align:left;cursor:pointer}.offline-project-card>span{display:grid;grid-gap:7px;gap:7px}.offline-project-card>span>strong{font-size:21px;line-height:1.16}.offline-project-card small{color:var(--muted)}.offline-back:focus-visible,.offline-project-card:focus-visible{outline:3px solid rgba(39,75,53,.3);outline-offset:3px}.offline-media-placeholder{display:grid;width:min(100%,720px);min-height:230px;place-content:center;grid-gap:8px;gap:8px;border:1px dashed #b7b4a9;border-radius:12px;padding:70px 24px;background:#eeece5;color:var(--muted);line-height:1.4;text-align:center}.offline-media-placeholder strong{color:var(--ink)}.offline-media-note{margin:10px 0 0;border:1px dashed var(--line);border-radius:12px;padding:10px 12px;color:var(--muted);font-size:13px}@media (max-width:520px){.offline-workspace-shell .brandbar,.offline-workspace-shell .journal-header{align-items:flex-start}.offline-workspace-shell .brandbar{flex-direction:column}}@media (max-width:699px){.admin-shell input:not([type=checkbox]):not([type=radio]),.admin-shell select,.admin-shell textarea{font-size:16px}}.export-card,.export-dates,.export-dates input,.export-dates label{min-width:0;max-width:100%}.export-dates,.export-dates input,.export-dates label{width:100%}.export-dates label{overflow:hidden}.export-dates input[type=date]{display:block;inline-size:100%;min-inline-size:0;max-inline-size:100%;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.brandbar-with-back>.brandbar-secondary-actions{margin-left:auto}.brandbar-navigation-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.project-quick-select{min-width:0}.project-quick-select select{width:min(280px,34vw);min-height:38px;border:1px solid var(--line);border-radius:999px;padding:8px 34px 8px 12px;background:rgba(255,255,255,.72);color:var(--ink);font-size:13px;font-weight:700;cursor:pointer}.project-quick-select-mobile{display:none}.project-quick-select select:focus-visible{outline:3px solid rgba(39,75,53,.18);outline-offset:2px}.project-quick-select select:disabled{opacity:.55;cursor:wait}.global-back-button{display:inline-flex;flex:0 0 auto;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.72);color:var(--ink);box-shadow:none;font-size:13px;font-weight:700;line-height:1;cursor:pointer}.global-back-button:hover{background:#fff}.global-back-button:focus-visible{outline:3px solid rgba(39,75,53,.18);outline-offset:2px}.global-back-button>span:first-child{font-size:17px;line-height:1}@media (max-width:720px){.project-quick-select select{min-height:44px}.global-back-button{min-width:44px;min-height:44px;padding:9px 12px}}@media (max-width:620px){.brandbar-with-back{column-gap:8px}.brandbar-with-back>.brand{order:1;flex:1 1 auto;min-width:0}.brandbar-with-back>.brand .brand-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.brandbar-with-back>.brandbar-navigation-actions{order:2;margin-left:auto;gap:6px}.brandbar-with-back>.brandbar-secondary-actions{order:3;flex-basis:100%;margin-left:0}.project-quick-select-desktop{display:none}.project-quick-select-mobile{display:block}.project-quick-select select.project-quick-select-mobile{width:88px;max-width:24vw;min-height:44px;padding:8px 28px 8px 11px;font-size:16px;font-weight:800}.offline-workspace-shell .brandbar.brandbar-with-back{flex-direction:row}}@media (max-width:480px){.global-back-button>span:last-child{display:none}}