.cw-page{margin:0;background:#f2faf7;color:#153f48;font:16px/1.55 system-ui,sans-serif}.cw-page *{box-sizing:border-box}.cw-nav{max-width:1180px;margin:auto;padding:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.cw-nav a{color:#086f63;font-weight:700;text-decoration:none}.cw-page main{max-width:1180px;margin:auto;padding:0 22px}.cw-hero{display:grid;grid-template-columns:1.1fr 1fr;background:#fff;border:1px solid #badbd0;border-radius:22px;overflow:hidden}.cw-hero img{width:100%;height:100%;max-height:390px;object-fit:cover}.cw-hero>div{padding:32px}.cw-tag{color:#78512c;font-size:12px;font-weight:800;letter-spacing:.08em}.cw-hero h1{font-size:clamp(28px,4vw,42px);line-height:1.18;margin:14px 0}.cw-button,.cw-toolbar button{display:inline-block;background:#087f71;color:#fff!important;border:0;border-radius:10px;padding:12px 18px;font:700 15px/1.4 system-ui;text-decoration:none;cursor:pointer}.cw-page a:focus-visible,.cw-page button:focus-visible,.cw-page input:focus-visible{outline:3px solid #da8e2c;outline-offset:4px}.cw-price{display:grid;grid-template-columns:1.5fr 1fr;gap:26px;padding:24px;margin:22px 0;background:#fff3dc;border:1px solid #e8c985;border-radius:16px}.cw-price strong{font-size:24px;color:#745021}.cw-price p{margin:8px 0}.cw-price small{display:block;font-size:14px;color:#654a27}.cw-panel{background:#fff;padding:24px;border:1px solid #badbd0;border-radius:16px;margin:22px 0}.cw-panel h2{margin:0;font-size:25px}.cw-panel p{margin:10px 0 18px}.cw-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cw-source{padding:14px;background:#eaf7f1;border:1px solid #a6d5c4;border-radius:12px}.cw-source label{display:flex;align-items:center;gap:9px;font-weight:700;cursor:pointer}.cw-source input{width:18px;height:18px;accent-color:#087f71}.cw-source a{display:inline-block;color:#086f63;font-size:14px;margin:8px 0 0 28px}.cw-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px;font-weight:700}.cw-note{font-size:14px;color:#425e65}.cw-table-wrap{overflow:auto;max-height:640px;border:1px solid #c3ded5;border-radius:10px}.cw-page table{width:100%;border-collapse:collapse;font-size:15px}.cw-page th{position:sticky;top:0;background:#196853;color:#fff;text-align:left;padding:12px}.cw-page td{padding:12px;border-bottom:1px solid #d9e9e3;vertical-align:top}.cw-page td:first-child{white-space:nowrap}.cw-page tr:nth-child(even){background:#f1f8f5}.cw-page td a{color:#066c81;font-weight:650;text-decoration:underline;overflow-wrap:anywhere}.cw-preview-card{display:grid!important;grid-template-columns:minmax(150px,.85fr) 1.4fr;gap:22px;padding:0!important;overflow:hidden;margin:22px 0;background:#fff!important;border:1px solid #b7d9cc;border-radius:16px;color:#153f48;font:16px/1.5 system-ui,sans-serif}.cw-preview-card img{width:100%;height:100%;max-height:265px;object-fit:cover}.cw-preview-card>div{padding:22px}.cw-preview-card h2{font-size:26px!important;margin:8px 0!important;color:#153f48}.cw-preview-card p{margin:8px 0 14px;color:#214d55}.cw-preview-card small{display:block;color:#705126;font-size:14px;margin:8px 0}.cw-preview-card .cw-button{color:white!important;text-decoration:none}.cw-preview-card b{color:#086f63}@media(max-width:700px){.cw-hero,.cw-price,.cw-preview-card{grid-template-columns:1fr}.cw-hero img{max-height:245px}.cw-hero>div,.cw-panel{padding:18px}.cw-sources{grid-template-columns:1fr}.cw-page main{padding:0 12px}.cw-preview-card img{max-height:210px}.cw-page th,.cw-page td{padding:10px 8px}.cw-page th:last-child,.cw-page td:last-child{min-width:120px}.cw-toolbar{flex-wrap:wrap}}

.cw-nav .cw-catalog-button{padding:10px 16px;border:1px solid #94caba;border-radius:10px;background:#e1f4ed;color:#075b50;box-shadow:0 3px 8px #153f4810}.cw-catalog-button:hover{background:#cceadd}

.cw-search{display:block;margin:18px 0;font-weight:700}.cw-search input{display:block;width:100%;box-sizing:border-box;margin-top:8px;padding:12px 14px;border:1px solid #95c9b9;border-radius:10px;font:16px system-ui;color:#153f48;background:#fff}.cw-invite{background:#e8f5ff}.cw-invite>a{display:inline-block;margin:6px 12px 6px 0;color:#086c81;font-weight:700}

/* Compact reading layout, 2026-10-31. */
.cw-page{font-size:15px;line-height:1.4}.cw-page .cw-nav{padding:12px 22px;align-items:center}.cw-hero{grid-template-columns:260px 1fr;border-radius:16px}.cw-hero img{height:170px;object-position:center 42%}.cw-hero>div{padding:18px 22px}.cw-hero h1{font-size:30px;margin:8px 0}.cw-hero p{margin:8px 0 12px}.cw-hero .cw-button{padding:8px 14px}.cw-price{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px;margin:12px 0;border-radius:10px}.cw-price strong{font-size:17px}.cw-price span{font-size:14px;color:#654a27}.cw-panel{padding:16px;margin:12px 0}.cw-panel h2{font-size:22px}.cw-panel p{margin:6px 0 12px}.cw-source{padding:10px}.cw-source a{margin-top:4px;font-size:13px}.cw-source label{font-size:14px}.cw-sources{gap:8px}.cw-search{margin:10px 0;font-size:14px}.cw-search input{margin-top:5px;padding:9px 12px}.cw-toolbar{margin:10px 0 8px}.cw-toolbar button{padding:8px 13px}.cw-panel .cw-note{font-size:12px;margin:5px 0 8px}.cw-table-wrap{max-height:clamp(240px,34vh,420px)}.cw-page th,.cw-page td{padding:9px 11px;font-size:14px}.cw-extra{margin:14px 0;color:#096f62}.cw-extra>summary{cursor:pointer;font-weight:700;padding:10px}.cw-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.cw-all-top{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;background:#ede7fa;border:1px solid #cbbbea;border-radius:10px;color:#59408d!important;text-decoration:none!important;font-size:14px;font-weight:700;white-space:nowrap}.cw-all-top span{font-size:21px;line-height:1}.cw-all-top:hover{background:#e0d5f5}.cw-all-top:focus-visible{outline:3px solid #7957ad;outline-offset:3px}.cw-preview-card>div{min-width:0}
@media(max-width:1000px){.cw-card-top{align-items:flex-start;flex-wrap:wrap}.cw-all-top{white-space:normal}}
@media(max-width:700px){.cw-hero{grid-template-columns:120px 1fr}.cw-hero img{height:100%;min-height:170px}.cw-hero>div{padding:14px}.cw-hero h1{font-size:24px}.cw-hero p{font-size:14px}.cw-tag{font-size:10px}.cw-price{align-items:flex-start;flex-direction:column;gap:4px}.cw-sources{grid-template-columns:1fr}.cw-page .cw-nav{padding:10px 12px;font-size:13px}.cw-nav .cw-catalog-button{padding:8px 10px}.cw-preview-card .cw-card-top{gap:9px}.cw-preview-card>div{padding:16px}.cw-table-wrap{max-height:430px}}

.cw-sources{max-height:190px;overflow:auto;overscroll-behavior:contain;padding:2px}.cw-source{align-self:start}@media(max-width:700px){.cw-sources{max-height:230px}}

/* Half-height source cards; keep readable labels and separate link target. */
.cw-source{display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:center;gap:6px;padding:5px 9px;border-radius:9px;min-height:43px}.cw-source label{font-size:13px;line-height:1.2;gap:7px;min-width:0}.cw-source label span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.cw-source input{flex:0 0 16px;width:16px;height:16px;margin:0}.cw-source a{display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;font-size:20px;font-weight:700;text-decoration:none;border-radius:7px;background:#d5eee4;color:#075d50}.cw-source a:hover{background:#bde2d3}.cw-sources{gap:6px;grid-auto-rows:min-content}@media(max-width:700px){.cw-source{min-height:43px}.cw-source label{font-size:13px}}

/* Keep archive rows readable on phones; scroll the table, not the page. */
@media(max-width:700px){.cw-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.cw-page .cw-table-wrap table{min-width:760px;table-layout:fixed}.cw-page .cw-table-wrap th,.cw-page .cw-table-wrap td{font-size:12px;padding:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cw-page .cw-table-wrap th:first-child{width:110px}.cw-page .cw-table-wrap th:nth-child(2){width:430px}.cw-page .cw-table-wrap td a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}.cw-page .cw-panel{min-width:0;padding:12px}.cw-page .cw-table-wrap:focus-visible{outline:2px solid #087f71}}

#cw-subscription-form { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
#cw-subscription-form[hidden] { display: none; }
#cw-subscription-form fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 4px 8px; border: 1px solid #b7ded0; border-radius: 8px; }
#cw-subscription-form p { flex-basis: 100%; margin: 0; }
#cw-subscription .cw-button { border: 0; cursor: pointer; }

.cw-owner-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 18px}
.cw-owner-tools button,.cw-source button{border:1px solid #e9a7b0;border-radius:8px;background:#fff0f2;color:#a72e43;padding:8px 10px;font:inherit;font-size:13px;cursor:pointer}
.cw-source{min-width:0;flex-wrap:wrap}

/* Subscription controls and owner actions, compact responsive layout. */
#cw-subscription{background:linear-gradient(120deg,#fff,#f0faf6);border-color:#a9d8c9}
#cw-subscription-form{display:grid;grid-template-columns:minmax(140px,.65fr) minmax(220px,1fr) minmax(300px,1.5fr);gap:16px;align-items:end;margin-top:18px}
#cw-subscription-form[hidden]{display:none}
#cw-subscription-form>label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#285d58}
#cw-subscription-form input[type=time],#cw-subscription-form select{box-sizing:border-box;width:100%;min-height:44px;padding:9px 12px;border:1px solid #a9cfc2;border-radius:9px;background:#fff;color:#153f48;font:inherit}
#cw-subscription-form fieldset{min-width:0;min-height:60px;padding:8px 10px;gap:8px;border-radius:12px;background:#fff}
#cw-subscription-form legend{padding:0 5px;font-size:13px;font-weight:700;color:#285d58}
#cw-subscription-form fieldset label{display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:7px;background:#edf7f2;font-size:13px;cursor:pointer}
#cw-subscription-form input[type=checkbox]{width:16px;height:16px;accent-color:#087f71}
#cw-subscription-form p{grid-column:1/-1;font-size:13px;color:#55746b}
#cw-subscription-form p a{color:#087f71;font-weight:700;text-underline-offset:3px}
#cw-subscription-form>.cw-button{justify-self:start;padding:10px 18px;grid-column:1/3}
.cw-source:has(button){grid-template-columns:minmax(0,1fr) 30px 30px}
.cw-source button.library-danger{display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:7px;align-self:center}
.cw-source button:hover{background:#ffe0e5}.cw-source button:focus-visible{outline:2px solid #a72e43;outline-offset:2px}
body .cw-preview-card{grid-template-columns:240px minmax(0,1fr)!important;align-items:stretch;gap:0;max-width:100%;min-height:0!important}
body .cw-preview-card>img{display:block;width:240px!important;height:100%!important;max-height:280px!important;min-height:220px;object-fit:cover;object-position:center}
body .cw-preview-card>div{display:block;min-width:0;padding:20px 24px!important}
body .cw-preview-card .cw-owner-tools{margin:12px 0 0;display:flex;grid-column:auto}
body .cw-preview-card .cw-owner-tools .cw-button{padding:6px 10px;font-size:12px;background:#e8f6f0;color:#08675b!important;border:1px solid #b4d9ca}
body .cw-preview-card .cw-tag{display:inline-flex;align-items:center;gap:7px}
body .cw-preview-card .cw-tag:before{content:'◉';font-size:19px;color:#087f71}
@media(max-width:850px){#cw-subscription-form{grid-template-columns:1fr 1fr}#cw-subscription-form fieldset{grid-column:1/-1}}
@media(max-width:600px){#cw-subscription-form{grid-template-columns:1fr}#cw-subscription-form>.cw-button{grid-column:1/-1;width:100%}body .cw-preview-card{grid-template-columns:1fr!important}body .cw-preview-card>img{width:100%!important;height:160px!important;min-height:0;object-position:center 40%}.cw-source:has(button){grid-template-columns:minmax(0,1fr) 30px 30px}}

body .cw-preview-card{grid-template-columns:260px minmax(0,1fr)!important}body .cw-preview-card>img{width:260px!important;height:174px!important;min-height:0;max-height:174px!important;object-fit:cover;align-self:center}body .cw-preview-card>div{padding:16px 22px!important}body .cw-preview-card p{font-size:14px;margin:6px 0 9px}body .cw-preview-card small{font-size:12px;margin:5px 0}body .cw-preview-card .cw-button{padding:8px 12px;font-size:14px}@media(max-width:600px){body .cw-preview-card{grid-template-columns:1fr!important}body .cw-preview-card>img{width:100%!important;height:174px!important}}
