:root{font-family:"Malgun Gothic",Arial,sans-serif;color:#222b2b;background:#f4f5f2;font-synthesis:none;--green:#244c40;--line:#dce1db}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);border-radius:6px;padding:10px 15px;background:white;color:inherit}button:hover{background:#e9eee8}button:disabled{cursor:not-allowed;opacity:.5}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#16392d}input,select,textarea{border:1px solid #bac5bc;border-radius:5px;background:white;padding:11px;width:100%}textarea{min-height:200px;line-height:1.7}label{display:block;margin:16px 0 6px;font-size:13px;font-weight:600}small,.muted{color:#64716b;font-size:13px;line-height:1.7}.login{max-width:440px;margin:12vh auto;background:white;border:1px solid var(--line);padding:42px;border-radius:12px}.brand{letter-spacing:.2em;font-size:11px;font-weight:700;color:var(--green)}h1{font-size:30px;letter-spacing:-1px;margin:15px 0}h2{font-size:21px}p{line-height:1.7}.login button{width:100%;margin-top:24px}.layout{display:grid;grid-template-columns:238px 1fr;min-height:100vh}aside{background:#16392d;color:#ecf1ea;padding:34px 24px;display:flex;flex-direction:column}aside .brand{color:#bbd0bc}aside h2{margin:12px 0 48px;font-size:24px}nav{display:grid;gap:8px}nav button{text-align:left;background:transparent;color:#dbe4da;border:0;padding:15px}nav button[aria-current=page]{background:#315345;color:white}aside .foot{margin-top:auto;padding-top:35px;font-size:12px;line-height:2;color:#b7c9b9}.workspace{min-width:0}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;background:#fff}.identity{display:flex;align-items:center;gap:16px;font-size:13px}main{padding:38px 40px;max-width:1600px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.page-head h1{margin:0 0 8px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.card{background:white;border:1px solid var(--line);padding:25px;border-radius:8px}.card b{font-size:34px;display:block;margin:14px 0}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;margin-bottom:24px}.panel-header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#fafbf8;color:#66736a;font-size:12px;font-weight:500;padding:14px 20px}td{padding:17px 20px;border-top:1px solid #edf0eb;line-height:1.65}td strong{display:block;font-weight:600}.badge{font-size:11px;display:inline-block;padding:3px 9px;border-radius:20px;background:#eef3e9;color:#416039;white-space:nowrap}.badge.draft{background:#fbf0db;color:#926526}.tools{display:flex;gap:10px;margin-bottom:20px}.tools input{max-width:360px}.tools select{max-width:200px}.actions{display:flex;gap:6px}.actions button{font-size:12px;padding:6px 10px}.danger{color:#9b3029}.empty{padding:48px;text-align:center;color:#64716b}.sites{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.sites a{padding:18px;border:1px solid var(--line);border-radius:7px;color:var(--green);text-decoration:none}.sites small{display:block}.notice{padding:16px 20px;background:#edf1e9;border-radius:7px;font-size:13px;line-height:1.7}dialog{border:1px solid var(--line);border-radius:12px;width:min(720px,94vw);padding:0;max-height:90vh}dialog::backdrop{background:#14291f88}dialog form{padding:28px}dialog header,dialog footer{display:flex;justify-content:space-between;align-items:center;gap:10px}dialog footer{justify-content:flex-end;margin-top:24px}dialog header h2{margin:0}dialog header button{border:0;font-size:24px}#form-error{color:#a22d27}#message:empty{display:none}#message{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#203e31;color:white;padding:14px 24px;border-radius:8px;z-index:3;box-shadow:0 6px 25px #0002}.checks{display:grid;grid-template-columns:1fr 1fr}.checks label{display:flex;gap:8px;align-items:center;font-weight:400}.checks input{width:auto}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}@media(max-width:850px){.layout{grid-template-columns:1fr}aside{padding:20px}aside h2{margin:8px 0 20px}nav{display:flex;flex-wrap:wrap}aside .foot{display:none}.topbar{padding:15px 20px;height:auto;gap:10px}main{padding:26px 20px}.cards{grid-template-columns:1fr}.sites{grid-template-columns:1fr}.page-head{align-items:flex-start}.identity{flex-wrap:wrap}.tools{flex-wrap:wrap}.login{margin:8vh 20px}.split{grid-template-columns:1fr}}

.actions .post-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:8px}.post-action svg{display:block;width:18px;height:18px;pointer-events:none}

/* Adapt to the actual workspace width, including the Office sidebar. */
.posts-page{container:post-manager / inline-size;min-width:0}.posts-page table{table-layout:fixed}.posts-page th:first-child{width:auto}.posts-page th:nth-child(2){width:180px}.posts-page th:nth-child(3){width:100px}.posts-page th:nth-child(4){width:190px}.posts-page th:last-child{width:208px}.posts-page .page-head small{overflow-wrap:anywhere}.posts-page .page-head .actions button{white-space:nowrap}.posts-page .post-dates>div{white-space:normal;overflow-wrap:anywhere}
.posts-page .page-head{flex-wrap:wrap}.posts-page .page-head>div{min-width:0}.posts-page .page-head .actions{flex-wrap:wrap}.posts-page .tools{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr)) minmax(120px,1fr) minmax(160px,2fr) auto;align-items:start}.posts-page .tools input,.posts-page .tools select{max-width:none;min-width:0}.posts-page .tools button{white-space:nowrap;min-width:64px}.posts-page td{overflow-wrap:anywhere}.posts-page td:first-child{min-width:160px}.posts-page td .actions{flex-wrap:wrap}.post-dates>div{display:flex;flex-direction:column;gap:2px;white-space:nowrap}.post-dates>div+div{margin-top:8px}
@container post-manager (max-width:1000px){.posts-page .tools{grid-template-columns:repeat(2,minmax(0,1fr))}.posts-page .tools button{grid-column:1/-1;justify-self:end}.posts-page .table-wrap{overflow:visible;background:transparent;border:0}.posts-page table,.posts-page tbody{display:block}.posts-page thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.posts-page tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;background:white;border:1px solid var(--line);border-radius:8px;padding:18px;margin-bottom:14px}.posts-page td{display:block;padding:0;border:0;min-width:0!important}.posts-page td::before{content:attr(data-label);display:block;color:#64716b;font-size:12px;margin-bottom:6px}.posts-page td:first-child,.posts-page td:last-child{grid-column:1/-1}.posts-page td.empty{grid-column:1/-1;padding:24px}.posts-page td.empty::before{display:none}.post-dates{grid-column:1/-1}.post-dates>div{white-space:normal}.posts-page .actions{gap:8px}}
@media(max-width:380px){.posts-page .page-head .actions{width:100%}.posts-page .page-head .actions button{flex:1}.posts-page tr{gap:12px;padding:14px}}

/* Keep each date label and timestamp on the same line. */
.posts-page .post-dates>div{flex-direction:row;align-items:baseline;gap:10px;white-space:nowrap;overflow-wrap:normal}.posts-page .post-dates>div>span{white-space:nowrap;font-variant-numeric:tabular-nums}

.posts-page .post-dates .post-created{color:#6b776f}

.posts-page .page-head h1{margin-bottom:0}
