dialog.project-settings-dialog{width:min(720px,calc(100vw - 32px))}
.project-channel-field{border:1px solid var(--line,#deded4);border-radius:14px;margin:16px 0;padding:14px}
.project-channel-field legend{font-weight:650;font-size:13px;padding:0 5px}
.project-channel-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.project-channel{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:#f1f0e8;border-radius:9px;font-size:13px}
.project-channel input{width:16px;height:16px;margin:0;accent-color:#555b36}
.project-channel-add{display:flex;gap:8px}.project-channel-add input{min-width:0;flex:1;padding:10px 12px;border:1px solid #d7d9cf;border-radius:12px;background:#fafaf6;color:#30372c;font:inherit;font-size:13px}
.project-channel-field small{display:block;margin-top:8px;color:#66685c;font-size:12px}
.project-limit-field[hidden]{display:none!important}
.project-revenue{font-size:13px;color:#505449}
.overview-matrix{--overview-project-size:168px;--overview-service-size:320px}
.overview-matrix .overview-service-width{width:var(--overview-service-size)}
.main .overview-matrix .overview-project-col{padding:7px 10px;vertical-align:middle;overflow-wrap:anywhere}
.overview-project-heading{min-width:0;line-height:1.3}
.overview-project-heading>strong{font-size:13px;color:var(--ink);font-weight:650;overflow-wrap:anywhere}
.overview-matrix .overview-project-col>small{margin-top:2px;line-height:1.3}
.overview-project-note{display:inline-flex;align-items:center;gap:4px;min-height:24px;margin:0 0 0 5px;padding:2px 6px;border:1px solid #d4d8c8;border-radius:6px;background:#f8f8f1;color:#69705f;cursor:pointer;font:inherit;font-size:11px;line-height:1.2;white-space:nowrap;vertical-align:middle}
.overview-project-note:hover,.overview-project-note:focus-visible{border-color:#b99b4b;background:#fff9e8;color:#373a2e;outline:2px solid transparent;outline-offset:2px}
.overview-project-note:focus-visible{outline-color:#9b7828}
.overview-project-note.has-note{border-color:#e3dbc4;background:#fffaf0;color:#705724}
.overview-project-note i{width:5px;height:5px;border-radius:50%;background:#b98931}
.overview-project-note-full{min-height:48px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#faf9f2;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.dialog-body .overview-project-note-editor{width:100%;min-height:142px;resize:vertical}
.main .overview-matrix .overview-service-col{width:var(--overview-service-size);padding:7px 10px;text-align:left;vertical-align:middle;background:#fff}
.main .overview-matrix thead .overview-service-col{background:#efefe6;font-weight:500}
.main .overview-matrix tfoot .overview-service-col{background:#f6f2d9}
.project-quota{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px;align-items:center;min-height:0;font-size:12px;line-height:1.3;font-weight:400;color:#30372c;white-space:normal;font-variant-numeric:tabular-nums}
.quota-cycle{display:grid;gap:2px;min-width:0;justify-items:start}
.quota-date-control{display:flex;align-items:center;gap:5px;width:100%;min-width:0;white-space:nowrap}
.quota-calendar{display:flex;flex:0 0 14px;color:#6c7365}.quota-calendar svg{width:14px;height:14px}
.quota-date{font-size:12px}.quota-cross-year .quota-date{font-size:11px}
.quota-cross-year .quota-calendar{display:none}
.quota-days{display:inline-flex;align-items:center;gap:5px;color:#6c7365;font-size:11px;white-space:nowrap}
.quota-days strong{padding:1px 7px;background:#f1f3ea;border-radius:4px;font-size:12px;font-weight:550;color:#30372c}
.quota-state{padding:3px 7px;border-radius:5px;background:#f1f3ea;color:#616857;font-size:12px;white-space:nowrap;justify-self:start}
.quota-unconfirmed{color:#6c7365}
.quota-unlimited{display:flex;align-items:center;gap:9px;font-size:12px;color:#4a6040}
.quota-unlimited>span:first-child{font-size:27px;line-height:1;color:#718146}
.quota-unlimited small{display:block;color:#6c7365;font-size:11px}
.quota-amount{min-width:0}.quota-balance{display:flex;align-items:baseline;justify-content:space-between;gap:4px;flex-wrap:wrap}
.quota-balance-label{color:#6c7365;font-size:11px;white-space:nowrap}
.quota-balance-number{min-width:0;overflow-wrap:anywhere}.quota-balance strong{font-size:16px;font-weight:600;color:#30372c}.quota-balance small{color:#6c7365;font-size:10px}
.quota-meter-row{display:flex;align-items:center;gap:5px;margin-top:1px;min-height:20px}
.quota-meter{height:5px;flex:1;min-width:20px;overflow:hidden;border-radius:3px;background:#e8ecdf}
.quota-meter>span{display:block;height:100%;background:#718146;border-radius:3px}
.quota-daily-limit{font-size:11px;color:#6c7365;white-space:nowrap}
.quota-info{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border:0;padding:0;border-radius:5px;background:transparent;color:#6c7365;cursor:pointer}
.quota-info>span{display:grid;place-items:center;width:13px;height:13px;border:1px solid currentColor;border-radius:50%;font:10px/1 Georgia,serif}
.quota-info:hover,.quota-info[aria-expanded=true]{background:#e8ecdf;color:#30372c}
.project-quota.is-over-quota .quota-balance-label,.project-quota.is-over-quota .quota-balance strong{color:#a13a28}
.project-quota.is-over-quota .quota-meter{background:#f4ded3}
.quota-detail{position:fixed;z-index:48;width:min(288px,calc(100vw - 20px));padding:16px;background:#fff;color:#30372c;border:1px solid #d8dccf;border-radius:10px;box-shadow:0 8px 28px #29321d26;font-size:12px;line-height:1.5;text-align:left}
.quota-detail[hidden]{display:none}.quota-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.quota-detail-heading>strong{font-size:13px;font-weight:600}.quota-detail button{min-height:30px;padding:4px 7px;border:0;border-radius:5px;background:#f1f3ea;color:#505449;cursor:pointer;font:inherit}
.quota-detail p{margin:8px 0;color:#6c7365;font-size:11px;overflow-wrap:anywhere}
.quota-detail dl{display:grid;grid-template-columns:1fr auto;gap:8px;margin:14px 0}
.quota-detail dt{color:#6c7365}.quota-detail dd{margin:0;font-variant-numeric:tabular-nums}
.quota-detail .quota-detail-note{margin:0;padding-top:10px;border-top:1px solid #e4e6dc}
.overview-day.is-over-limit{background:#fff0e7!important;box-shadow:inset 0 0 0 1px #c67e64}
.overview-day.is-over-limit.is-my-today{box-shadow:inset 0 0 0 2px #7b853e}
.overview-matrix .overview-day{min-height:62px;padding:5px 7px;gap:2px;justify-content:center}
.overview-matrix .overview-day>strong{font-size:16px;line-height:1.2}
.overview-matrix .overview-breakdown{gap:1px;margin:0 auto}
.overview-matrix .overview-breakdown>span{font-size:10px;line-height:1.2}
.daily-overage{display:block;color:#9a2f20;font-size:10px;font-weight:700;line-height:1.2;white-space:normal;margin-top:2px}
.overview-tip-total+.daily-overage{padding:0 12px 10px;font-size:12px}
@media(min-width:1101px){
 .main .overview-matrix .overview-service-col{position:sticky;left:var(--overview-project-size);z-index:3;box-shadow:1px 0 0 #e4e6dc}
 .main .overview-matrix .overview-period-total{left:calc(var(--overview-project-size) + var(--overview-service-size))}
 .main .overview-matrix thead .overview-service-col,.main .overview-matrix tfoot .overview-service-col{z-index:6}
}
@media(max-width:1100px){.main .overview-matrix .overview-period-total{position:static;box-shadow:none}}
@media(max-width:760px){.overview-matrix{--overview-project-size:148px;--overview-service-size:320px}.project-channel-add{flex-wrap:wrap}}
@media(pointer:coarse){.quota-info{flex-basis:44px;width:44px;height:44px;margin:-10px -8px -10px -2px}.quota-detail button{min-height:44px}}
