:root{--ink: #12151a;--muted: #777d87;--line: #e7e8ea;--paper: #f5f4f0;--acid: #dfff52}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Hiragino Sans,Noto Sans JP,Meiryo,sans-serif;font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#12151a;color:#fff}.brand,.actions{display:flex;align-items:center;gap:14px}.brand-mark{display:block;width:40px;height:40px;object-fit:contain}.topbar .brand-mark{background:#fff;border-radius:9px;padding:5px}.app-nav{display:flex;gap:4px}.app-nav a{padding:8px 15px;border-radius:7px;font-size:13px;font-weight:700;color:#b8bec7}.app-nav a:hover{color:#fff}.app-nav a.active{background:#2a2f38;color:#fff}.brand-tabs{display:flex;gap:8px;padding:18px 38px 0;background:#fff}.brand-tabs a{padding:9px 20px;border:1px solid var(--line);border-radius:22px;background:#fff;font-size:13px;font-weight:800;color:#555}.brand-tabs a:hover{border-color:#c7c9cd}.brand-tabs a.active{background:#171a20;border-color:#171a20;color:#fff}.brand strong{display:block;font-size:19px;letter-spacing:.12em;line-height:1}.brand small{font-size:8px;color:#9ba0a8;letter-spacing:.24em}.sync{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #343943;border-radius:20px;color:#b8bec7;font-size:9px;font-weight:700}.sync i{width:7px;height:7px;border-radius:50%;background:var(--acid)}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#3a3f48;font-size:10px;font-weight:700;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.primary{border:0;border-radius:7px;padding:12px 18px;background:var(--acid);box-shadow:0 3px #a8bf35;font-weight:800;color:#111}.ghost{border:1px solid #343943;border-radius:7px;padding:10px 14px;background:transparent;color:#b8bec7;font-weight:700;font-size:11px}.hero{display:flex;align-items:flex-end;justify-content:space-between;padding:32px 38px 26px;background:#fff;border-bottom:1px solid var(--line)}.eyebrow{margin:0 0 7px;color:#8b9098;font-size:11px;font-weight:900;letter-spacing:.22em}.hero h1{margin:0;font-size:34px;letter-spacing:-.03em}.hero p:last-child{margin:8px 0 0;color:var(--muted);font-size:14px}.stats{display:flex;border:1px solid var(--line);border-radius:9px;overflow:hidden}.stats div{min-width:116px;padding:12px 18px;border-left:1px solid var(--line)}.stats div:first-child{border-left:0}.stats span,.total-card span,.grand-total span{display:block;color:var(--muted);font-size:11px}.stats strong,.total-card strong,.grand-total strong{font-weight:800;font-size:30px}.stats small,.total-card small,.grand-total small{margin-left:3px;color:#92969d;font-weight:700;font-size:12px}.progress-bar{height:5px;margin:6px 0 5px;border-radius:3px;background:#e7e9ed;overflow:hidden}.progress-bar>span{display:block;height:100%;border-radius:3px;background:var(--platform-color, #8b9098)}.total-card .behind{margin-left:0;color:#d93a45;font-weight:800}.total-card .on-track{margin-left:0;color:#4a9d5c;font-weight:700}.stats .stat-behind strong{color:#d93a45}.total-settings{margin-top:6px;color:var(--muted);font-size:11px;font-weight:700;text-decoration:underline}.filters .filter-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--platform-color, #8b9098)}.day.planned-day{background:#fbfcfe}.day-planned{display:flex;flex-wrap:wrap;gap:3px;margin-top:2px}.day-planned>i{width:6px;height:6px;border-radius:50%;border:1.5px solid var(--platform-color, #8b9098)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 38px}.month,.filters{display:flex;align-items:center;gap:8px}.month a,.month button{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;background:#fff}.month h2{width:170px;margin:0;text-align:center;font-size:20px}.month .today{width:auto;padding:0 14px;font-size:13px;height:34px}.filters{padding:4px;border:1px solid var(--line);border-radius:8px;background:#fff}.filters a,.filters button{border:0;border-radius:5px;padding:8px 12px;background:transparent;color:#666;font-size:12px;font-weight:700}.filters .active{background:#171a20;color:#fff}.totals{display:grid;grid-template-columns:130px repeat(4,minmax(120px,1fr)) 100px;gap:8px;margin:0 38px 16px}.total-title,.total-card,.grand-total{min-height:70px;border:1px solid var(--line);border-radius:9px;background:#fff}.total-title{display:flex;flex-direction:column;justify-content:center;padding:13px 15px;background:#171a20;color:#fff}.total-title span{color:var(--acid);font-weight:700;font-size:15px}.total-title strong{margin-top:5px;font-size:12px}.total-card{display:flex;align-items:stretch;gap:10px;padding:12px 13px}.total-card>i{flex:none;width:8px;align-self:stretch;min-height:42px;border-radius:8px}.total-card>div{display:flex;flex-direction:column;justify-content:center}.total-card>i{background:var(--platform-color, #8b9098)}.grand-total{display:flex;flex-direction:column;justify-content:center;padding:10px 16px;background:#f4f8df;border-color:#dfe8ad}.calendar-wrap{margin:0 38px;border:1px solid #dfe1e4;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 8px 30px #252a3410}.weekdays,.calendar{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays{background:#171a20;color:#d9dce1}.weekdays div{padding:12px 14px;font-size:13px;font-weight:800}.weekdays div:nth-last-child(-n+2){color:var(--acid)}.day{height:132px;display:flex;flex-direction:column;padding:10px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;overflow:hidden}.day-number{flex:none}.day-posts{flex:1;min-height:0;overflow-y:auto;margin-top:2px}.day-posts::-webkit-scrollbar{width:5px}.day-posts::-webkit-scrollbar-thumb{border-radius:5px;background:#d3d6da}.day:nth-child(7n){border-right:0}.day.muted{background:#fafafa;color:#b9bdc3}.today-cell{background:#fbffea}.day-number{font-weight:700;font-size:19px}.today-cell .day-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#171a20;color:var(--acid)}.post{display:block;margin-top:8px;padding:6px 7px;border-left:3px solid var(--platform-color, #8b9098);border-radius:4px;background:color-mix(in srgb,var(--platform-color, #8b9098) 10%,#fff)}.post time{float:right;font-size:11px;font-weight:800}.post b,.post small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.post b{font-size:12px}.post small{margin-top:2px;color:#737984;font-size:10px}.post .views{display:block;margin-top:3px;color:#4a5568;font-size:10px;font-weight:800}footer{display:flex;justify-content:space-between;padding:14px 38px 25px;color:#8b9098;font-size:9px}footer span:first-child{color:#6d7a29}.login-wrap{min-height:100dvh;display:grid;place-items:center;background:#12151a}.login-card{width:360px;max-width:calc(100% - 32px);padding:40px 34px;border-radius:14px;background:#fff;text-align:center;box-shadow:0 20px 60px #0006}.login-card .brand-mark{width:60px;height:60px;margin:0 auto 18px}.login-card h1{margin:0 0 4px;font-size:22px}.login-card p{margin:0 0 26px;color:var(--muted);font-size:12px}.google-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#1f1f1f;font-weight:700;font-size:14px}.google-btn:hover{background:#f7f7f5}.google-btn:disabled,.login-email-form .primary:disabled{opacity:.6}.login-divider{display:flex;align-items:center;gap:10px;margin:22px 0 18px;color:var(--muted);font-size:11px}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:var(--line)}.login-email-form .field{margin-bottom:12px}.login-card .login-note{margin:18px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.modal-back{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#12151acc;z-index:50}.modal{width:460px;max-width:100%;max-height:90dvh;overflow:auto;padding:28px;border-radius:14px;background:#fff}.modal h2{margin:0 0 20px;font-size:20px}.field{margin-bottom:15px}.field label{display:block;margin-bottom:6px;font-size:11px;font-weight:800;color:#4a4f57}.field input,.field select{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:7px;font:inherit;background:#fff}.field-row{display:flex;gap:12px}.field-row .field{flex:1}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.btn-cancel{border:1px solid var(--line);border-radius:7px;padding:11px 18px;background:#fff;font-weight:700}.error-box{margin-bottom:15px;padding:10px 12px;border-radius:7px;background:#fff0f1;border:1px solid #ffd0d3;color:#c0353c;font-size:12px}.kpi-saved{padding:7px 12px;border-radius:7px;background:#f4f8df;border:1px solid #dfe8ad;color:#5f6f16;font-size:12px;font-weight:700}.kpi-sheet{margin:0 38px;border:1px solid #dfe1e4;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 8px 30px #252a3410}.kpi-table{width:100%;border-collapse:collapse;font-size:14px}.kpi-table thead th{position:sticky;top:0;padding:12px 16px;background:#171a20;color:#d9dce1;font-size:12px;font-weight:800;text-align:left;z-index:1}.kpi-num-col{width:130px}.kpi-unit-col{width:64px}.kpi-group td{padding:12px 16px;background:#f2f3f5;border-top:1px solid var(--line);font-size:15px;font-weight:800}.kpi-dot{display:inline-block;width:10px;height:10px;margin-right:9px;border-radius:50%;vertical-align:middle}.kpi-subgroup td{padding:7px 16px 7px 28px;background:#fafbfc;border-top:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:800;letter-spacing:.04em}.kpi-row td{padding:6px 16px;border-top:1px solid var(--line)}.kpi-metric{padding-left:28px!important}.kpi-row input{width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:6px;font:inherit;text-align:right;background:#fff}.kpi-row input:focus{outline:2px solid #cfe08a;border-color:#b6cc5f}.kpi-unit{color:var(--muted);font-size:12px}.kpi-actions{display:flex;justify-content:flex-end;margin:16px 38px 30px}.kpi-tabs{display:flex;gap:6px;margin:0 38px 4px}.kpi-tabs a{padding:9px 16px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px;font-weight:700;color:#555}.kpi-tabs a.active{background:#171a20;border-color:#171a20;color:#fff}.schedule-wrap{margin:0 38px 24px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:auto;max-height:calc(100dvh - 260px)}.schedule-table{border-collapse:separate;border-spacing:0;font-size:12px;white-space:nowrap}.schedule-table th,.schedule-table td{border-right:1px solid #eef0f3;border-bottom:1px solid #eef0f3}.schedule-table thead th{position:sticky;top:0;z-index:3;height:42px;padding:4px 0;background:#f7f8fa;color:#6b7280;font-size:11px;font-weight:700;text-align:center}.schedule-table thead th .day-num{display:block;color:#2b2f36;font-size:12px}.schedule-table thead th .day-week{display:block;font-size:10px}.schedule-table thead th.weekend{background:#eef1f6}.schedule-table .today-col{background:#fff8e1}.schedule-table thead th.today-col{background:#ffe9a8;color:#2b2f36}.schedule-table .col-brand,.schedule-table .col-platform,.schedule-table .col-assignee,.schedule-table .col-count{position:sticky;z-index:2;background:#fff;text-align:left;font-weight:700}.schedule-table thead .col-brand,.schedule-table thead .col-platform,.schedule-table thead .col-assignee,.schedule-table thead .col-count{z-index:4;background:#f7f8fa}.schedule-table .col-brand{left:0;width:88px;min-width:88px;padding:0 10px;color:#2b2f36}.schedule-table .col-platform{left:88px;width:150px;min-width:150px;padding:0 10px}.schedule-table tbody .col-platform{display:table-cell}.schedule-table tbody .col-platform>i{display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:50%;background:var(--platform-color, #8b9098)}.schedule-table .col-assignee{left:238px;width:84px;min-width:84px;padding:0 10px;color:#4a5568;font-weight:600}.schedule-table .col-count{left:322px;width:74px;min-width:74px;padding:0 10px;border-right:1px solid var(--line);color:var(--muted);font-weight:600}.schedule-table .col-count b{color:#2b2f36;font-size:13px}.schedule-table .col-count b.behind{color:#d93a45}.schedule-table .count-unset{color:#b0863a;font-weight:700;text-decoration:underline dotted}.schedule-table .col-assignee select{width:100%;height:26px;padding:0 2px;border:1px solid transparent;border-radius:5px;background:transparent;color:#4a5568;font-size:11px;font-weight:600}.schedule-table .col-assignee select:hover,.schedule-table .col-assignee select:focus{border-color:var(--line);background:#fff}.schedule-table .col-assignee select:disabled{opacity:.5}.assignee-status{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.assignee-error{display:block;color:#d93a45;font-size:10px;font-weight:700;white-space:normal}.schedule-table tbody tr.brand-start th,.schedule-table tbody tr.brand-start td{border-top:2px solid #d8dce2}.schedule-table tbody tr:hover .col-brand,.schedule-table tbody tr:hover .col-platform,.schedule-table tbody tr:hover .col-assignee,.schedule-table tbody tr:hover .col-count{background:#f9fafb}.schedule-cell{width:42px;min-width:42px;height:34px;padding:0;text-align:center}.schedule-cell>a{display:block;width:100%;height:100%;min-height:34px}.schedule-cell>a:hover{outline:2px solid #171a20;outline-offset:-2px}.cell-stack{display:flex;flex-direction:column;gap:1px;padding:2px}.cell-chip,.cell-add{display:block;border-radius:3px;color:inherit;font-size:9px;font-weight:800;line-height:14px;text-align:center}.cell-chip:hover,.cell-add:hover{outline:2px solid #171a20;outline-offset:-1px}.cell-chip.status-published{background:#b7e3c0;color:#1d5c2b}.cell-chip.status-scheduled,.cell-chip.status-review,.cell-chip.status-idea{background:#cfdff8;color:#2c4671}.cell-add{color:#9aa1ab;font-size:11px;line-height:12px}.schedule-cell.weekend{background:#fafbfc}.schedule-cell.is-planned{background:#fde3e4}.schedule-cell.is-overdue{background:repeating-linear-gradient(-45deg,#f6b8bb,#f6b8bb 4px,#f19ea2 4px 8px)}.schedule-cell>a .overdue-count{display:flex;align-items:center;justify-content:center;height:100%;color:#8c2c33;font-size:10px;font-weight:800}.schedule-cell.is-draft.is-overdue,.schedule-cell.is-published.is-overdue{box-shadow:inset 0 0 0 2px #d93a45}.cell-overdue{display:block;border-radius:3px;background:#f6b8bb;color:#8c2c33;font-size:9px;font-weight:800;line-height:14px;text-align:center}.cell-overdue:hover{outline:2px solid #171a20;outline-offset:-1px}.schedule-cell.is-published{background:#d9f0dd;color:#256b35}.schedule-cell.is-draft{background:#e3ecfb;color:#34517f}.schedule-cell small{color:inherit;font-size:9px;opacity:.75}.schedule-legend{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:11px;font-weight:700}.schedule-legend i{display:inline-block;width:11px;height:11px;margin-right:5px;border-radius:3px;vertical-align:-1px}.legend-planned{background:#fde3e4}.legend-overdue{background:repeating-linear-gradient(-45deg,#f6b8bb,#f6b8bb 3px,#f19ea2 3px 6px)}.legend-published{background:#d9f0dd}.legend-draft{background:#e3ecfb}.behind-alert{margin:0 38px 16px;padding:16px 18px;border:1px solid #f0b6ba;border-left:4px solid #d93a45;border-radius:10px;background:#fff5f5}.behind-alert-head{display:flex;align-items:baseline;gap:12px;margin-bottom:10px}.behind-alert-head strong{color:#b62b35;font-size:14px}.behind-alert-head span{color:#96706f;font-size:11px;font-weight:700}.behind-alert ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.behind-alert li{display:flex;align-items:baseline;gap:8px;padding:8px 12px;border:1px solid #f0d3d5;border-radius:8px;background:#fff}.behind-alert li b{font-size:13px}.behind-alert li b.unassigned{color:#b62b35}.behind-alert li em{color:#d93a45;font-size:13px;font-weight:800;font-style:normal}.behind-alert li small{color:var(--muted);font-size:11px}.schedule-table tbody tr.row-behind .col-brand,.schedule-table tbody tr.row-behind .col-platform,.schedule-table tbody tr.row-behind .col-assignee,.schedule-table tbody tr.row-behind .col-count{background:#fff5f5}.schedule-table tbody tr.row-behind:hover .col-brand,.schedule-table tbody tr.row-behind:hover .col-platform,.schedule-table tbody tr.row-behind:hover .col-assignee,.schedule-table tbody tr.row-behind:hover .col-count{background:#ffecec}.schedule-table tbody tr.row-behind .col-brand{box-shadow:inset 3px 0 #d93a45}.behind-badge{display:block;margin-top:2px;color:#b62b35;font-size:10px;font-weight:800}.schedule-empty{margin:0 38px 30px;padding:40px;border:1px dashed var(--line);border-radius:12px;background:#fff;text-align:center;color:var(--muted)}.schedule-empty .primary{display:inline-block;margin-top:12px}.platform-key{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.kpi-table input[type=color]{width:44px;height:28px;padding:2px}.platform-add{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:0 38px 30px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}.platform-add .field{margin:0}.platform-add .field small{display:block;margin-top:3px;color:var(--muted);font-size:10px}.kpi-dash .kpi-trend-col{width:180px}.kpi-dash .kpi-ach-col{width:170px}.kpi-dash-num{text-align:right;font-weight:700;white-space:nowrap}.kpi-dash-target{color:var(--muted);font-weight:600}.sparkline{display:block}.kpi-ach{display:flex;align-items:center;gap:9px}.kpi-ach-bar{flex:1;height:8px;border-radius:5px;background:#eef0f2;overflow:hidden}.kpi-ach-bar span{display:block;height:100%;border-radius:5px}.kpi-ach b{font-size:13px;min-width:40px;text-align:right}.kpi-ach-none{color:#c2c6cc}.kpi-matrix-wrap{margin:0 38px;border:1px solid #dfe1e4;border-radius:10px;background:#fff;overflow:auto;box-shadow:0 8px 30px #252a3410}.kpi-matrix{border-collapse:collapse;font-size:13px}.kpi-matrix th,.kpi-matrix td{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.kpi-matrix thead th{position:sticky;top:0;padding:8px 6px;min-width:44px;background:#171a20;color:#d9dce1;font-size:11px;font-weight:800;text-align:center;z-index:2}.kpi-matrix-head{position:sticky;left:0;min-width:200px;padding:8px 12px;background:#fff;text-align:left;z-index:1}.kpi-matrix thead .kpi-matrix-head{z-index:3;background:#171a20}.kpi-matrix .kpi-group .kpi-matrix-head{background:#f2f3f5;font-weight:800}.kpi-matrix .kpi-subgroup .kpi-matrix-head{background:#fafbfc;color:var(--muted);font-size:12px;font-weight:800;padding-left:24px}.kpi-matrix .kpi-row .kpi-matrix-head{padding-left:24px;font-size:13px}.kpi-matrix .kpi-row .kpi-metric{padding-left:24px!important}.kpi-matrix tbody td input{width:44px;padding:5px 3px;border:0;font:inherit;text-align:center;background:transparent}.kpi-matrix tbody td input:focus{outline:2px solid #cfe08a;background:#fcffe8}.kpi-matrix .kpi-unit{color:var(--muted);font-size:11px;font-weight:400}@media(max-width:900px){.stats{display:none}.toolbar{align-items:flex-start;flex-direction:column}.filters{max-width:100%;overflow-x:auto;flex-wrap:nowrap}.filters a,.filters button{white-space:nowrap}.totals{grid-template-columns:repeat(2,1fr)}.total-title,.grand-total{grid-column:span 2}.day{height:112px;padding:7px 5px}}@media(max-width:600px){.topbar{height:auto;flex-wrap:wrap;gap:10px;padding:12px 14px}.hero,.toolbar,.brand-tabs{padding-left:14px;padding-right:14px}.hero{padding-top:20px;padding-bottom:18px}.hero h1{font-size:26px}.sync{display:none}.actions{gap:8px}.totals,.calendar-wrap{margin-left:10px;margin-right:10px}.weekdays div{padding:8px 2px;text-align:center;font-size:11px}.day{height:88px;padding:5px 3px}.day-number{font-size:14px}.today-cell .day-number{width:24px;height:24px}.post{margin-top:4px;padding:3px 5px;border-left-width:3px;border-radius:4px}.post b{font-size:10px;line-height:1.3}.post time,.post small,.post .views{display:none}footer{flex-direction:column;gap:4px;padding:12px 14px 20px}.kpi-sheet,.kpi-actions,.kpi-tabs,.kpi-matrix-wrap{margin-left:10px;margin-right:10px}.kpi-tabs{overflow-x:auto}.kpi-tabs a{white-space:nowrap}.kpi-dash .kpi-trend-col{width:96px}.kpi-table{font-size:13px}.kpi-table thead th,.kpi-group td{padding-left:12px;padding-right:12px}.kpi-metric{padding-left:20px!important}.kpi-row td{padding:5px 8px}.kpi-num-col{width:84px}.kpi-unit-col{width:44px}}
