.report-history-project-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:33px;padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink-2);font:inherit;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}.report-history-project-button:hover{border-color:var(--green);color:var(--green)}.project-card__top>.report-history-project-button{align-self:flex-start;margin-left:8px}.weekly-report-card__right>.report-history-project-button{align-self:flex-end}.weekly-completed-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 18px}.weekly-completed-type-filter{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);font-weight:650}.weekly-completed-type-filter select{min-height:42px;padding:8px 35px 8px 12px;border:1px solid var(--line);border-radius:11px;background:var(--white);color:var(--ink);font:inherit}.weekly-completed-week>header>div>small{text-transform:uppercase}.report-history-dialog{width:min(1100px,calc(100% - 32px));max-width:calc(100% - 32px);height:min(850px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:22px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px rgba(0,0,0,.4);overflow:hidden}.report-history-dialog::backdrop{background:rgba(3,8,16,.67);backdrop-filter:blur(5px)}.report-history-sheet{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}.report-history-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex:0 0 auto;padding:24px 26px 19px;border-bottom:1px solid var(--line);background:var(--white)}.report-history-head>div{min-width:0}.report-history-head h2{margin:0;font-size:25px;line-height:1.3;overflow-wrap:anywhere;letter-spacing:-.65px}.report-history-head p{margin:6px 0 0;font-size:13px;line-height:1.5;color:var(--muted);max-width:680px}.report-history-close{flex:0 0 38px;width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink-2);font-size:26px;cursor:pointer}.report-history-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}.report-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:15px 24px;border-bottom:1px solid var(--line);flex:0 0 auto}.report-history-toolbar label{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);font-weight:650}.report-history-toolbar select{min-height:38px;padding:7px 30px 7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit}.report-history-toolbar>span{font-size:12px;color:var(--muted)}.report-history-toolbar>.secondary-button{min-height:38px;padding:8px 12px;font-size:12px}.report-history-columns{display:grid;grid-template-columns:minmax(235px,31%) minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.report-history-list{display:flex;flex-direction:column;gap:8px;min-width:0;overflow:auto;overscroll-behavior:contain;padding:18px;border-right:1px solid var(--line);background:var(--paper);scrollbar-width:thin}.report-history-item{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:14px;border:1px solid var(--line);border-radius:13px;background:var(--white);color:var(--ink);text-align:left;cursor:pointer;overflow-wrap:anywhere}.report-history-item small,.report-history-type{display:inline-block;padding:4px 7px;border-radius:6px;background:var(--green-soft);color:var(--green);font-size:10px;font-weight:750}.report-history-item b{font-size:13px;line-height:1.45}.report-history-item span,.report-history-item em{font-size:11px;line-height:1.4;color:var(--muted);font-style:normal}.report-history-item.is-selected{border-color:var(--green);box-shadow:inset 3px 0 var(--green)}.report-history-reader{min-width:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-width:thin}.report-history-reader h3{margin:12px 0 8px;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.report-history-reader header p{font-size:12px;line-height:1.7;color:var(--muted)}.report-history-body{padding-top:19px;border-top:1px solid var(--line);font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.report-history-note{margin-top:20px;padding:14px;border-radius:11px;background:var(--paper);color:var(--muted);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.report-history-empty{margin:auto;padding:35px 25px;font-size:14px;line-height:1.6;text-align:center;color:var(--muted)}.report-history-empty p{overflow-wrap:anywhere}.report-history-manual{width:min(800px,calc(100% - 32px))}.report-history-manual .report-history-content{overflow:auto;overscroll-behavior:contain}.report-manual-form{padding:22px 26px 26px;display:flex;flex-direction:column;gap:18px;min-width:0}.report-manual-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:var(--muted);font-weight:700;min-width:0}.report-manual-form input,.report-manual-form textarea,.report-manual-form select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;padding:11px 12px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);font:inherit;font-size:14px;line-height:1.5}.report-manual-form textarea{min-height:220px;resize:vertical}.report-manual-project{position:relative}.report-manual-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px}.report-manual-meta [data-report-month-wrap]{grid-column:1/-1}.report-manual-meta [hidden]{display:none}.report-manual-dates{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:end}.report-manual-dates>span{padding-bottom:13px;color:var(--muted)}.report-manual-detection{margin:-7px 0 -4px;font-size:12px;line-height:1.6;color:var(--muted)}.report-manual-form footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:8px}.report-manual-form footer small{font-size:11px;line-height:1.6;color:var(--muted);max-width:390px}.report-manual-form footer button{flex:0 0 auto;min-height:46px;font-size:13px}.report-manual-error{margin:0;padding:12px 14px;border-radius:10px;background:var(--red-soft);color:var(--red);font-size:13px;line-height:1.5}.report-manual-error[hidden]{display:none}.report-manual-suggestions{position:absolute;top:100%;left:0;right:0;z-index:5;max-height:280px;overflow:auto;padding:6px;border:1px solid var(--line);border-radius:12px;background:var(--white);box-shadow:var(--shadow)}.report-manual-suggestions[hidden]{display:none}.report-manual-suggestions button{display:block;width:100%;padding:11px 12px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}.report-manual-suggestions button:hover,.report-manual-suggestions button.is-active{background:var(--green-soft);color:var(--green)}.report-manual-suggestions>span{display:block;padding:12px;font-size:12px;color:var(--muted)}.report-history-dialog button:focus-visible,.report-history-dialog input:focus-visible,.report-history-dialog textarea:focus-visible,.report-history-dialog select:focus-visible{outline:2px solid var(--green);outline-offset:2px}.report-history-dialog button:disabled{opacity:.5;cursor:wait}
@media(max-width:700px){.report-history-dialog{width:calc(100% - 18px);max-width:calc(100% - 18px);height:calc(100dvh - 22px);max-height:calc(100dvh - 22px);border-radius:17px}.report-history-head{padding:17px;gap:12px}.report-history-head h2{font-size:21px}.report-history-head p{font-size:12px}.report-history-toolbar{padding:12px 15px;gap:10px}.report-history-toolbar>span{margin-left:auto}.report-history-toolbar>.secondary-button{width:100%}.report-history-columns{grid-template-columns:1fr;grid-template-rows:minmax(100px,30%) minmax(0,1fr)}.report-history-list{padding:10px 13px;border-right:0;border-bottom:1px solid var(--line);gap:6px}.report-history-item{padding:11px;gap:4px}.report-history-item b{font-size:12px}.report-history-reader{padding:17px}.report-history-reader h3{font-size:18px}.report-history-body{font-size:13px}.report-manual-form{padding:17px;gap:15px}.report-manual-meta{gap:12px}.report-manual-form footer{flex-direction:column;align-items:stretch;gap:12px}.report-manual-form footer button{width:100%}.weekly-completed-toolbar{align-items:stretch}.weekly-completed-type-filter{flex-wrap:wrap}.weekly-completed-type-filter select{flex:1}.report-manual-add{font-size:12px}}
