/* Additive appearance layer; original calendar states and rhythm SVG preserved. */
html[data-habit-theme=linen] body{background:radial-gradient(ellipse at top,#faf7ee,#d7d4c3);color:#343b2c}
html[data-habit-theme=linen] .app{background:linear-gradient(145deg,#f8f4e9,#e9e6d7);border-color:#fffaf0;box-shadow:0 18px 55px #54563830,inset 0 1px #fff}
html[data-habit-theme=linen] h1,html[data-habit-theme=linen] .intro-question{color:#3c4730}
html[data-habit-theme=linen] .habit-item{background:#fffdf680;border-color:#c5c7ad;box-shadow:inset 0 1px #fff8}
html[data-habit-theme=linen] .section-label,html[data-habit-theme=linen] .template-title,html[data-habit-theme=linen] .rhythm-note,html[data-habit-theme=linen] .calendar-head,html[data-habit-theme=linen] .state-key,html[data-habit-theme=linen] .site-link,html[data-habit-theme=linen] .site-link a{color:#657054}
html[data-habit-theme=linen] .month-title,html[data-habit-theme=linen] .habit-name{color:#3e4932}
html[data-habit-theme=linen] .month-nav button,html[data-habit-theme=linen] .calendar-close-btn,html[data-habit-theme=linen] .day-btn:not(.state-done):not(.state-own){background:#f7f5eb;color:#64704f;border-color:#c2c6ab}
html[data-habit-theme=linen] .day-btn.today{box-shadow:0 0 0 1px #7e8d5e}
html[data-habit-theme=linen] .save-calendar-btn,html[data-habit-theme=linen] .rhythm-toggle{background:#e3e7d3;color:#4d6137;border-color:#a9b68b}
html[data-habit-theme=linen] .save-calendar-btn.saved{background:#d8e1c4;color:#43592b;border-color:#8c9e68}
html[data-habit-theme=linen] .chip-btn{background:#e3e7d3;color:#4d6137;border-color:#a9b68b}
html[data-habit-theme=linen] .chip-btn.pro-locked{background:#e8ddc8;color:#755b30;border-color:#bda279}
html[data-habit-theme=linen] .custom-input{min-width:0;background:#fffdf5;color:#343b2c;border-color:#bfc5a8}
html[data-habit-theme=linen] .custom-btn{background:linear-gradient(120deg,#8c9b68,#617443);color:#fffdf4}
html[data-habit-theme=linen] .delete-btn{background:#f7e9de;color:#945e3e;border-color:#d7b99c}
html[data-habit-theme=linen] .rhythm-item{background:linear-gradient(130deg,#fdfaf0,#e4e8d7);border-color:#bdc7a5}
html[data-habit-theme=linen] .rhythm-item-title{color:#48543b}
html[data-habit-theme=linen] .rhythm-title{color:#4d6137}
html[data-habit-theme=linen] .info-btn,html[data-habit-theme=linen] .wanway-shell-buttons button{border-color:#a9b68b;color:#4d6137}
html[data-habit-theme=linen] .lang-icons button.active{background:#e3e7d3;border-color:#8b9b67}
html[data-habit-theme=linen] .custom-input::placeholder{color:#78806c}
html[data-habit-theme=linen] #stepsDoor{color:#5a6e40!important}
.habit-theme-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px;padding:10px 12px;border:1px solid #56617d66;border-radius:20px;font-size:13px;line-height:1.4;color:#d7e0f0;text-align:left}
.habit-theme-setting select{min-width:0;max-width:72%;border:1px solid #66729480;border-radius:15px;padding:9px 10px;font:inherit;color:#e6ecf5;background:#202436;cursor:pointer}
.habit-theme-setting select:focus-visible{outline:2px solid #9aaa77;outline-offset:3px}
html[data-habit-theme=linen]{color-scheme:light;--habit-ink:#343b2c;--habit-muted:#657054;--habit-line:#bdc7a5;--habit-panel:#f2f0e3}
html[data-habit-theme=linen] .habit-theme-setting{color:var(--habit-muted);background:#fffdf655;border-color:var(--habit-line)}
html[data-habit-theme=linen] .habit-theme-setting select{background:#fffdf5;color:#4d6137;border-color:#bfc5a8}
html[data-habit-theme=linen] :is(.modal-content,.paypal-card,.ww-review-dialog){background:var(--habit-panel);color:var(--habit-ink);border-color:var(--habit-line);box-shadow:0 16px 45px #54563833}
html[data-habit-theme=linen] :is(.modal-content h2,.paypal-card h3){color:#3c4730!important}
html[data-habit-theme=linen] :is(.modal-content p,.modal-content li,.ww-review-dialog p,.wanway-tools-status){color:var(--habit-muted)!important}
html[data-habit-theme=linen] :is(.close-btn,.wanway-tool-button,.ww-review-dialog button,.ww-review-dialog input){background:#e3e7d3;color:#4d6137;border:1px solid #a9b68b}
html[data-habit-theme=linen] :is(.close-btn,.wanway-tool-button,.ww-review-dialog button):hover{background:#d4dec0;color:#3d532b;border-color:#8a9e68}
html[data-habit-theme=linen] .ww-review-dialog input{background:#fffdf5;color:#343b2c}
html[data-habit-theme=linen] :is(#proPayBtn,#proRestoreBtn){background:linear-gradient(120deg,#8c9b68,#617443);color:#fffdf4;border:1px solid #7f915b}
html[data-habit-theme=linen] #billingStatus{color:var(--habit-muted)!important}
html[data-habit-theme=linen] :is(.support-btn,.pro-btn){background:#e8ddc8;color:#755b30;border-color:#bda279}
html[data-habit-theme=linen] :is(.wanway-page-links a,.wanway-privacy-link,.ww-privacy-entry,.ww-about-entry){color:#5a6e40}
html[data-habit-theme=linen] .ww-review-dialog hr{border-color:var(--habit-line)}
html[data-habit-theme=linen] :is(button,input,select,a):focus-visible{outline:2px solid #617443;outline-offset:3px}
@media(max-width:360px){.habit-theme-setting{gap:6px;padding:9px;font-size:12px}.habit-theme-setting select{max-width:69%;padding:9px 6px}}
