:root{--ink:#43302d;--ink-soft:#66514d;--rose:#c97478;--rose-dark:#b95e65;--rose-light:#fff0ed;--line:#eadfdc;--cream:#fffaf7;--sidebar:#fffcfa;--paper:#fffdfb;--shadow:0 3px 9px rgba(91,59,49,.055),0 1px 2px rgba(91,59,49,.045);font-family:"Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#faf7f5;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d99ca1;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,p{margin:0}svg{stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.app-shell{display:grid;grid-template-columns:312px minmax(0,1fr);min-height:100vh;max-width:1920px;margin:auto;background:linear-gradient(110deg,#fffaf7 0,#fff 62%,#fff9f7 100%)}
.sidebar{position:sticky;top:0;align-self:start;min-height:100vh;max-height:100vh;overflow:auto;background:linear-gradient(140deg,#fff 8%,#fffbf9 76%,#fff2f0 100%);box-shadow:2px 0 16px #d9bab014;scrollbar-width:thin}
.brand-block{height:245px;position:relative;overflow:hidden}.brand-flourish{position:absolute;top:10px;left:118px;width:215px;height:100px}.brand-emblem{position:absolute;top:71px;left:16px;width:127px;height:140px}.brand-title{position:absolute;top:83px;left:140px;font:normal 54px/1.2 "Lobster Two",Georgia,"Times New Roman",serif;font-style:italic;color:#52362d;letter-spacing:-1.5px;white-space:nowrap}.brand-tagline{position:absolute;top:162px;left:145px;font-size:14px;font-weight:800;letter-spacing:.045em;white-space:nowrap}.tagline-stroke{position:absolute;top:194px;left:156px;width:183px;height:15px;border-top:4px solid #f2b6b9;border-radius:50%;transform:rotate(-4deg)}
.sidebar-nav{display:grid;gap:10px;padding:4px 16px 0}.nav-button{display:flex;align-items:center;text-align:left;gap:19px;border:0;background:transparent;padding:18px 18px;border-radius:18px;color:var(--ink);min-height:78px;width:100%;transition:background .2s}.nav-button.active{background:#fce6e5}.nav-button:hover{background:#fff1ef}.nav-icon{width:38px;flex-shrink:0}.nav-icon svg{display:block;width:31px;height:31px}.nav-label{display:grid;gap:4px}.nav-label strong{font-size:17px;line-height:1.3}.nav-label small{font-size:13px;color:#a14c50}.nav-button:not(.active) .nav-label small{color:#453531}
.sidebar-promo{position:relative;margin:43px 15px 24px;min-height:450px}.promo-copy{position:relative;font-weight:800;font-size:20px;line-height:1.8;letter-spacing:.12em;z-index:1;transform:rotate(-6deg);max-width:220px;margin-left:22px}.promo-img{display:block;width:292px;margin:-3px auto 12px}.promo-features{display:grid;gap:11px;margin:7px 0 0 20px}.promo-features>span{display:flex;gap:11px;align-items:center;font-size:13px}.promo-features i{font-size:21px;font-weight:900;color:#b17b6d;font-style:normal}.promo-features>span:nth-child(n+3) i{color:#d87e7e}
.main-area{min-width:0;padding:0 16px 20px}.topbar{height:66px;display:flex;align-items:center;justify-content:flex-end;gap:40px;border-bottom:1px solid #f1e9e6;padding:0 0 0 10px}.language-control{position:relative;z-index:20}.language-button{display:flex;align-items:center;gap:8px;border:1px solid #e6dcd9;background:#fff;border-radius:12px;padding:9px 13px;min-width:265px;box-shadow:var(--shadow);min-height:44px}.language-button svg{width:22px;height:22px}.language-button strong{font-size:14px}.language-button>span:not(.chevron){font-size:12px}.language-button .chevron{margin-left:auto;font-size:22px;line-height:12px}.language-menu{position:absolute;top:47px;left:0;width:265px;padding:6px;background:#fff;box-shadow:0 10px 25px #46312e28;border:1px solid #eadbd7;border-radius:12px}.language-menu[hidden]{display:none}.language-menu button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:0;padding:10px 9px;background:none;border-radius:8px}.language-menu button.selected{background:#e4f1ff}.language-menu button:hover{background:#f5edf0}.language-menu button small{font-size:11px;margin-left:auto}.workspace-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;white-space:nowrap}.workspace-label svg{width:24px;height:24px}.beta-pill{padding:9px 14px;border-radius:12px;color:white;background:#c6787d;font-weight:700;font-size:13px;white-space:nowrap}
.main-grid{display:grid;grid-template-columns:minmax(500px,1.08fr) minmax(430px,1fr);gap:14px;align-items:start;margin-top:0}.left-workspace{min-width:0}.hero{height:215px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;padding-bottom:11px}.eyebrow{font-size:14px;font-weight:750;letter-spacing:.13em;transform:rotate(-2deg);display:flex;align-items:center;gap:11px}.eyebrow span{height:13px;width:19px;border-top:3px solid #e99392;transform:rotate(30deg)}.eyebrow b{font-size:30px;color:#f6b844;font-weight:400;margin-left:11px}.hero h1{font-size:40px;letter-spacing:.06em;font-weight:850;line-height:1.4;margin-top:4px;position:relative;z-index:1}.hero h1:after{content:"";position:absolute;z-index:-1;bottom:1px;left:-6px;width:102%;height:14px;background:linear-gradient(90deg,#f9d8d4,#f6e8e7);border-radius:60% 30% 40% 40%}.hero-description{font-size:14px;margin-top:22px;display:flex;align-items:center;gap:9px}.leaf-emoji{font-size:24px}
.row-grid{display:grid;gap:12px}.top-cards{grid-template-columns:1fr 1fr}.bottom-cards{grid-template-columns:1.15fr .85fr;margin-top:12px}.card{background:linear-gradient(150deg,#fffdfa,#fffaf6);border:1px solid #efe4df;box-shadow:var(--shadow);border-radius:20px;padding:17px;min-width:0}.card h2{display:flex;align-items:center;gap:12px;min-height:45px;margin-bottom:18px}.card h2>span:last-child{display:grid;gap:2px;min-width:0}.card h2 strong{font-size:17px;white-space:nowrap}.card h2 small{font-weight:400;font-size:12px;line-height:1.25}.google-card{min-height:342px}.google-calendar-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:5px;color:#256bc5;background:linear-gradient(90deg,#2b91ec 0 22%,white 22% 75%,#1baf6b 75%);border-top:7px solid #397de9;font-size:16px;font-weight:900;flex-shrink:0}.card-description{font-size:14px;line-height:1.8;margin:19px 0 15px}.star-break{color:#cab4a1;font-size:19px;margin:-8px 0 24px 5px}.primary-button{background:#c86f76;border:0;color:#fff;border-radius:13px;box-shadow:0 4px 12px #bd75741b;font-weight:650;transition:filter .15s,transform .15s}.primary-button:hover{filter:brightness(.965);transform:translateY(-1px)}.google-button{width:100%;display:flex;justify-content:center;align-items:center;gap:14px;padding:13px 7px}.google-button>span:last-child{display:grid;text-align:left;gap:2px}.google-button strong{font-size:14px;white-space:nowrap}.google-button small{font-size:11px;font-weight:400}.google-g{display:grid;place-items:center;background:#fff;border-radius:50%;color:#4285f4;font-family:Arial,sans-serif;font-size:23px;font-weight:900;width:33px;height:33px;text-shadow:2px 1px #fbbc05,-1px 1px #34a853}.demo-caveat{font-size:10px;color:#ad928a;margin-top:12px;line-height:1.5}
.step-badge,.backup-badge,.task-badge{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#f4cbc6,#be6b6f);color:white;font:700 22px Georgia,serif}.backup-badge,.task-badge{color:#6f504a;background:#f2cbc6;font-family:Arial,sans-serif}.period-card{min-height:342px}.period-card h2{margin-bottom:16px}.form-label{display:block;font-size:13px;font-weight:750;margin:12px 0 6px;line-height:1.25}.form-label small{font-weight:400;font-size:11px;color:#625451}.select-holder{position:relative}.select-holder .field-icon{position:absolute;z-index:1;top:11px;left:12px;color:#8e5b56}.select-holder select{padding-left:34px}.card input:not([type=checkbox]):not([type=file]),.card select{width:100%;min-width:0;background:#fff;border:1px solid #ded5d2;border-radius:10px;padding:10px 11px;height:42px;color:#3c3431}.card input::placeholder{color:#ad9e97}.week-actions{display:flex;gap:8px;margin-top:12px}.week-actions button{border:1px solid #e7dddd;border-radius:11px;padding:11px 7px;flex:1;white-space:nowrap;background:#fff;font-weight:650;min-width:0}.week-actions button.selected{background:#c77479;color:#fff;border-color:#c77479}.week-actions button span:first-child{margin-right:7px}.advanced-toggle{width:100%;display:flex;align-items:center;gap:6px;border:1px solid #efe8e3;border-radius:10px;background:#fff;padding:10px 8px;margin-top:12px;text-align:left;font-size:12px;white-space:nowrap}.advanced-toggle span{color:#dfad83}.advanced-toggle b{margin-left:auto;font-size:17px}.advanced-content{padding:10px 4px;font-size:12px}.advanced-content[hidden]{display:none}.weekday-options{display:flex;gap:5px;margin-top:7px;flex-wrap:wrap}.weekday-options label{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #efe2dc;border-radius:7px}
.manual-card,.backup-card{min-height:369px}.manual-card h2,.backup-card h2{margin-bottom:12px}.manual-card .form-label{margin:9px 0 5px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.all-day{display:flex;align-items:center;gap:5px;margin:11px 0 14px;font-size:13px;cursor:pointer}.all-day input{accent-color:#c8757a;width:16px;height:16px}.all-day small{margin-left:2px;font-size:11px}.add-event-button{width:90%;height:45px;margin-left:5%;display:flex;align-items:center;justify-content:center;gap:10px}.add-event-button .plus-symbol{font-size:25px;line-height:15px;font-weight:300}.add-event-button small{font-size:10px;font-weight:400}.manual-event-list{display:grid;gap:5px;margin-top:11px}.manual-event-list:empty{display:none}.mini-event-row{display:flex;align-items:center;gap:7px;background:#fff5f2;padding:7px 8px;border-radius:8px;font-size:11px}.mini-event-row span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-event-row button{border:0;background:none;font-size:15px;color:#af5b5f}.backup-card .card-description{margin-top:17px;margin-bottom:40px}.outline-button{display:flex;align-items:center;justify-content:flex-start;gap:12px;border:1px solid #bda49e;border-radius:12px;padding:12px;background:#fff;width:100%;color:var(--ink);margin-top:10px;min-height:64px}.outline-button:hover{background:#fff4f2}.outline-button>span:first-child{font-size:27px;width:28px;text-align:center}.outline-button>span:last-child{display:grid;gap:1px}.outline-button strong{font-size:12px}.outline-button small{font-size:11px}
.tasks-card,.settings-card{margin-top:12px}.tasks-card[hidden],.settings-card[hidden]{display:none}.manage-column{margin-top:14px}.manage-column>label{font-weight:700}.inline-input{display:flex;gap:8px;margin-top:7px}.inline-input button{border:0;background:#c6777c;color:white;border-radius:9px;padding:7px 15px;white-space:nowrap}.manage-row{display:flex;gap:8px;align-items:center;margin-top:6px;padding:6px 0;border-bottom:1px solid #eee3df}.manage-row label{flex:1}.manage-row button{border:0;background:none;color:#b45863;font-weight:800}.settings-card p{line-height:1.7}
.preview-panel{background:linear-gradient(150deg,#fffdfa,#fffbf8);border:1px solid #e9dad5;border-radius:20px;box-shadow:var(--shadow);overflow:hidden;min-width:0;margin-top:215px}.preview-header{height:57px;padding:12px 16px;display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #eee2de}.preview-header>div:first-child{display:flex;align-items:center;gap:9px}.preview-header strong{font-size:17px}.preview-header small{font-size:12px}.preview-nav{display:flex;align-items:center;gap:9px}.preview-nav button{width:36px;height:37px;background:#fff;border:1px solid #c8b5b0;border-radius:11px;font-size:25px;line-height:20px}.preview-nav>strong{background:#faf1ee;border-radius:13px;padding:8px 10px;white-space:nowrap;text-align:center;font-size:14px;min-width:190px}.paper-stage{background:linear-gradient(140deg,#f6f1ef,#f3efed);padding:14px 15px 12px;display:flex;align-items:center;justify-content:center;min-height:580px}.paper{position:relative;width:min(100%,430px);aspect-ratio:210/297;background:#fffefd;box-shadow:0 3px 9px #4c332d25;overflow:hidden;border-radius:3px;padding:23px 18px}.paper-sheet{height:100%;display:flex;flex-direction:column;gap:12px;position:relative}.sheet-header{display:flex;justify-content:space-between;align-items:center;position:relative;gap:8px;padding-right:2px}.sheet-heading{font:italic 29px/1 "Lobster Two",Georgia,serif;color:#4c302a;white-space:nowrap}.sheet-date{font-size:12px;font-weight:750;white-space:nowrap}.sheet-underline{width:58%;border-top:3px solid #ec999c;border-radius:50%;margin:-4px 0 2px 5px;transform:rotate(-3deg)}.sheet-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px;flex:1;min-height:0}.sheet-days{display:grid;grid-template-rows:repeat(7,1fr);border:1px solid #d9c9c4;border-radius:6px;overflow:hidden;min-height:0}.sheet-day{display:grid;grid-template-columns:52px minmax(0,1fr);min-height:0;border-bottom:1px solid #d9c9c4}.sheet-day:last-child{border-bottom:0}.sheet-day.sat{background:#f2f6ff}.sheet-day.sun{background:#fff0ee}.date-box{display:grid;align-content:center;justify-items:center;border-right:1px solid #ded2ce;gap:0}.date-box strong{font-size:20px;line-height:1.15}.date-box small{font-size:9px}.sat .date-box{color:#376db4}.sun .date-box{color:#e04748}.day-events{padding:5px 6px;display:flex;flex-direction:column;gap:4px;min-width:0;overflow:hidden}.sheet-event{font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 5px;border-radius:5px;background:#f4f5fa}.sheet-event.work{background:#eef2ff}.sheet-event.personal{background:#eff9f2}.sheet-event.important{background:#ffeeef}.sheet-side{display:flex;flex-direction:column;gap:11px;min-height:0}.sheet-section h4{font:italic 20px/1.1 "Lobster Two",Georgia,serif;margin:0 0 5px;border-bottom:1px solid #eaded8;color:#4e302b;position:relative}.sheet-section h4:before{content:"";position:absolute;width:45px;height:7px;left:-1px;bottom:1px;background:#f6c4c0;z-index:-1}.sheet-section .sheet-check{display:flex;align-items:center;gap:4px;font-size:9px;border-bottom:1px solid #f3e9e4;padding:4px 1px}.sheet-check .fakebox{display:grid;place-items:center;border:1px solid #bfb0aa;width:12px;height:12px;flex-shrink:0;border-radius:2px;color:#c76562;font-weight:900;font-size:10px}.sheet-check>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sheet-section.memo{display:flex;flex-direction:column;min-height:100px;flex:1}.memo-grid{background-image:linear-gradient(#f2e6e0 1px,transparent 1px),linear-gradient(90deg,#f2e6e0 1px,transparent 1px);background-size:13px 13px;border:1px solid #f0e3db;border-radius:5px;flex:1;position:relative;min-height:78px}.memo-grid:before{content:"";position:absolute;right:14px;top:-5px;width:38px;height:10px;background:#fee6a7;transform:rotate(4deg);opacity:.82}.memo-grid:after{content:"";background:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA3MiA4MiIgYXJpYS1oaWRkZW49InRydWUiPjxwYXRoIGQ9Ik0xMiA3OCBDMjYgNjAgNDUgNDAgNTMgNCIgc3Ryb2tlPSIjOTE4OTYzIiBzdHJva2Utd2lkdGg9IjIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxnIGZpbGw9IiNiN2I5OWEiIHN0cm9rZT0iIzk5OWQ4MiIgc3Ryb2tlLXdpZHRoPSIxIj48ZWxsaXBzZSBjeD0iMzEiIGN5PSI2MCIgcng9IjciIHJ5PSIxNCIgdHJhbnNmb3JtPSJyb3RhdGUoLTQyIDMxIDYwKSIvPjxlbGxpcHNlIGN4PSI1MiIgY3k9IjQ0IiByeD0iNyIgcnk9IjE0IiB0cmFuc2Zvcm09InJvdGF0ZSgzMyA1MiA0NCkiLz48ZWxsaXBzZSBjeD0iNDQiIGN5PSIzMyIgcng9IjYiIHJ5PSIxMiIgdHJhbnNmb3JtPSJyb3RhdGUoLTM3IDQ0IDMzKSIvPjxlbGxpcHNlIGN4PSI2MCIgY3k9IjE4IiByeD0iNSIgcnk9IjExIiB0cmFuc2Zvcm09InJvdGF0ZSgyMCA2MCAxOCkiLz48ZWxsaXBzZSBjeD0iMTkiIGN5PSI2OSIgcng9IjUiIHJ5PSIxMCIgdHJhbnNmb3JtPSJyb3RhdGUoLTUxIDE5IDY5KSIvPjwvZz48L3N2Zz4K') center/contain no-repeat;position:absolute;right:-13px;bottom:-8px;width:50px;height:53px}.sheet-sprig{position:absolute;right:-14px;top:-20px;width:36px;height:40px;transform:rotate(-18deg)}
.preview-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 16px;border-top:1px solid #ecddd7}.paper-meta{display:flex;align-items:center;gap:10px;color:#554b48;font-size:10px;min-width:0}.paper-meta i{height:14px;border-left:1px solid #d2bdb6}.footer-buttons{flex-shrink:0}.footer-buttons .primary-button{display:flex;align-items:center;gap:11px;min-width:186px;padding:12px 15px;border-radius:12px}.footer-buttons .primary-button>span:first-child{font-size:26px}.footer-buttons .primary-button>span:last-child{display:grid;text-align:center;gap:2px}.footer-buttons .primary-button strong{font-size:13px}.footer-buttons .primary-button small{font-size:10px;font-weight:400}.preview-notice{font-size:10px;text-align:center;color:#ae9690;padding:0 12px 10px}
/* Daily and monthly paper views */
.daily-sheet .sheet-grid{grid-template-columns:1.8fr 1fr}.daily-times{display:grid;grid-template-rows:repeat(10,1fr);border:1px solid #dacac4;border-radius:5px;overflow:hidden}.daily-hour{display:grid;grid-template-columns:38px 1fr;border-bottom:1px solid #e9ddd7;min-height:0}.daily-hour:last-child{border-bottom:0}.daily-hour time{font-size:10px;font-weight:700;border-right:1px solid #ede3de;padding:5px 3px;text-align:center}.daily-hour .day-events{flex-direction:row;padding:5px}.daily-hour .sheet-event{align-self:flex-start;max-width:100%}.monthly-sheet .sheet-grid{display:flex;flex-direction:column;gap:10px}.monthly-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:22px repeat(6,1fr);flex:1;border:1px solid #dacac4;border-radius:5px;overflow:hidden;min-height:0}.month-cell{padding:3px 4px;border-right:1px solid #e4d7d2;border-bottom:1px solid #e4d7d2;min-width:0;font-size:9px;overflow:hidden}.month-cell:nth-child(7n){border-right:0}.month-cell.wday{background:#fdf7f4;text-align:center;font-weight:750;display:grid;place-items:center}.month-cell.sat{background:#f3f6ff;color:#306ebc}.month-cell.sun{background:#fff2f0;color:#df464c}.month-cell.muted{opacity:.35}.month-cell .daynum{font-weight:800;font-size:12px}.month-cell .month-event{display:block;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:7px;background:#edf2f9;border-radius:3px;color:#424242;padding:2px}.monthly-bottom{display:grid;grid-template-columns:1fr 1fr;gap:13px;height:94px}.monthly-bottom .memo-grid{height:65px}.paper-footer{display:flex;justify-content:space-between;color:#a0a39c;font-size:8px}
.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,25px);padding:12px 20px;background:#543b34;color:#fff;border-radius:12px;box-shadow:0 8px 24px #3f292822;opacity:0;pointer-events:none;transition:all .2s;max-width:min(90vw,600px);text-align:center;z-index:40}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (max-width:1380px){.app-shell{grid-template-columns:270px minmax(0,1fr)}.brand-block{height:226px}.brand-emblem{width:109px;left:12px}.brand-flourish{left:101px;width:192px}.brand-title{left:113px;top:87px;font-size:49px}.brand-tagline{left:119px;font-size:12px}.tagline-stroke{left:127px;width:148px}.sidebar-promo{margin-top:24px}.promo-img{width:248px}.promo-copy{font-size:17px}.main-grid{grid-template-columns:minmax(440px,1.05fr) minmax(360px,.95fr)}.card{padding:13px}.card h2 strong{font-size:14px}.card h2 small{font-size:10px}.google-button strong{font-size:12px}.preview-nav>strong{min-width:155px;font-size:12px}.paper{max-width:410px}.paper-meta{font-size:9px}.topbar{gap:22px}}
@media (max-width:1130px){.app-shell{grid-template-columns:225px 1fr}.main-grid{display:flex;flex-direction:column;gap:18px}.left-workspace,.preview-panel{width:100%}.preview-panel{margin-top:0}.hero{height:175px}.preview-panel{max-width:none}.paper-stage{min-height:560px}.paper{width:420px}.brand-emblem{width:100px;top:70px;left:0}.brand-title{font-size:41px;left:95px;top:93px}.brand-tagline{left:95px;font-size:10px;top:153px}.tagline-stroke{left:99px;width:119px;top:178px}.brand-flourish{left:78px;width:154px}.sidebar-nav{padding:0 9px}.nav-button{gap:9px;padding:13px 8px}.nav-label strong{font-size:13px}.nav-label small{font-size:10px}.nav-icon{width:27px}.nav-icon svg{width:25px;height:25px}.promo-copy{font-size:16px;margin-left:8px}.promo-img{width:214px}.promo-features{margin-left:0}.promo-features>span{font-size:11px}.main-area{padding:0 16px 18px}.topbar{gap:15px}.workspace-label{font-size:12px}.language-button{min-width:210px}.language-menu{width:250px}}
@media (max-width:750px){.app-shell{display:block}.sidebar{position:relative;max-height:none;min-height:auto;overflow:visible}.brand-block{height:115px}.brand-emblem{width:68px;height:90px;top:13px;left:16px}.brand-title{font-size:38px;top:20px;left:86px}.brand-tagline{top:69px;left:89px;font-size:12px}.tagline-stroke{top:93px;left:88px;width:158px}.brand-flourish{left:80px;top:-35px;width:149px;opacity:.5}.sidebar-nav{display:flex;padding:0 10px 9px;gap:5px;overflow:auto}.nav-button{min-height:57px;min-width:0;padding:10px;flex:1;justify-content:center;gap:7px}.nav-icon{width:22px}.nav-icon svg{width:23px;height:23px}.nav-label strong{font-size:11px}.nav-label small{display:none}.sidebar-promo{display:none}.main-area{padding:0 10px 15px}.topbar{height:60px;gap:8px;justify-content:space-between}.language-button{min-width:0;padding:7px}.language-button>span:not(.chevron){display:none}.language-menu{width:255px}.workspace-label{font-size:10px}.workspace-label svg{display:none}.beta-pill{font-size:10px;padding:7px 8px}.hero{height:145px}.hero h1{font-size:29px}.hero-description{font-size:11px;margin-top:12px}.eyebrow{font-size:10px}.row-grid{grid-template-columns:1fr}.bottom-cards{margin-top:10px}.card{padding:16px}.card h2 strong{font-size:17px}.card h2 small{font-size:12px}.google-card,.period-card,.manual-card,.backup-card{min-height:0}.google-card{padding-bottom:22px}.star-break{margin-bottom:10px}.backup-card .card-description{margin-bottom:15px}.preview-header{flex-direction:column;align-items:stretch;height:auto;padding:13px}.preview-header>div:first-child{justify-content:center}.preview-nav{justify-content:space-between}.preview-nav>strong{flex:1}.paper-stage{padding:12px 8px;min-height:0}.paper{width:min(100%,400px);padding:16px 12px}.preview-footer{padding:12px;flex-wrap:wrap}.footer-buttons{width:100%}.footer-buttons .primary-button{width:100%;justify-content:center}.paper-meta{width:100%;justify-content:center}.sheet-heading{font-size:clamp(20px,6vw,29px)}}
@media print{@page{size:A4 portrait;margin:0}html,body{background:white!important;width:210mm!important;height:297mm!important;margin:0!important;padding:0!important;overflow:visible!important}.app-shell,.main-area,.main-grid,.preview-panel,.paper-stage{display:block!important;width:210mm!important;height:297mm!important;min-height:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:white!important}.sidebar,.topbar,.left-workspace,.preview-header,.preview-footer,.preview-notice,.toast{display:none!important}.paper{width:210mm!important;height:297mm!important;aspect-ratio:auto!important;max-width:none!important;padding:15mm!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}.sheet-heading{font-size:15mm!important}.sheet-date{font-size:6mm!important}.sheet-section h4{font-size:8mm!important}.sheet-event{font-size:4mm!important}.date-box strong{font-size:10mm!important}.date-box small{font-size:4mm!important}.sheet-check{font-size:4mm!important}.sheet-day{grid-template-columns:21mm 1fr!important}.sheet-grid{gap:6mm!important}.sheet-day .day-events{padding:2mm!important}.memo-grid{background-size:5mm 5mm!important}.monthly-calendar .month-cell{padding:2mm!important}.month-cell .daynum{font-size:5mm!important}.month-cell .month-event{font-size:3.2mm!important}.month-cell.wday{font-size:4mm!important}.daily-hour time{font-size:4mm!important}}
/* The preview data wrapper must fill its A4 sheet; otherwise unused space remains below the diary. */
#paperContent{height:100%}
@media (min-width:1381px){.sidebar-promo{margin-top:21px}.promo-copy{font-size:18px;line-height:1.65}.promo-img{width:260px;margin:1px auto 4px}.promo-features{gap:8px;margin-left:14px}}
@media (min-width:1131px){.preview-notice{display:none}}

/* Paplano Pastel WebUI R2: fixed brand sizing, persistent 01-04 flow, and PDF design chooser */
.brand-block{height:220px;overflow:hidden}
.brand-emblem{left:10px;top:64px;width:106px;height:128px}
.brand-title{left:112px;top:86px;font-size:42px;letter-spacing:-1px;max-width:calc(100% - 119px)}
.brand-tagline{left:115px;top:148px;font-size:12px;max-width:calc(100% - 120px);overflow:hidden;text-overflow:clip}
.tagline-stroke{left:119px;top:181px;width:min(158px,calc(100% - 127px))}
.brand-flourish{left:105px;top:8px;width:185px}
.planner-theme-menu{display:grid;gap:6px;padding:8px 12px 12px;margin:0 10px 3px;border:1px solid #f1dddb;border-radius:15px;background:#fffafa;box-shadow:0 3px 10px #a7696720}
.planner-theme-menu[hidden]{display:none!important}
.theme-menu-heading{font-size:11px;font-weight:750;color:#775751;padding:2px 7px 4px}
.theme-choice{width:100%;display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:#fff;text-align:left;color:#5b4640}
.theme-choice>span:nth-child(2){display:grid;gap:0;flex:1;min-width:0}
.theme-choice strong{font-size:12px}.theme-choice small{font-size:10px;color:#947971}
.theme-choice.chosen{background:#fff0ed;border-color:#e3b3ae}.choice-check{opacity:0;color:#b8696d}.theme-choice.chosen .choice-check{opacity:1}
.theme-dot{width:19px;height:19px;border-radius:6px;border:1px solid #dbb5ac;flex-shrink:0}.theme-dot.pastel-dot{background:#eeb7b5}.theme-dot.formal-dot{background:linear-gradient(90deg,#fbfbfb 50%,#526b66 50%)}.theme-dot.study-dot{background:linear-gradient(120deg,#8bb7ed,#a2dbc6,#fae3a1)}
.theme-menu-footnote{font-size:9px;color:#a48c84;padding:2px 8px;line-height:1.6}
.current-theme-indicator{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 10px;margin-bottom:11px;border-radius:9px;background:#fff1ef;color:#86605e;font-size:11px}
.current-theme-indicator strong{color:#b6686b;font-size:12px}
.bottom-cards{align-items:stretch}.tasks-card{display:block;min-width:0}.tasks-card[hidden],.settings-card[hidden]{display:none!important}
.tasks-card .manage-column{margin-top:13px}.tasks-card .manage-column>label{font-weight:750;font-size:12px;display:block;margin-bottom:6px}
.tasks-card .inline-input{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.tasks-card .inline-input input{min-width:0;width:100%;max-width:100%}
.tasks-card .inline-input button{background:#fff4f1;border:1px solid #e6c9c2;border-radius:9px;padding:8px 13px;color:#8a5654;font-weight:700}
.tasks-card .manage-row{display:flex;align-items:center;gap:9px;padding:6px 0;border-bottom:1px solid #f1e9e5;min-width:0}
.tasks-card .manage-row label{font-size:12px;flex:1;min-width:0;overflow-wrap:anywhere}
.tasks-card .manage-row button{border:0;background:transparent;color:#a77876;padding:6px;font-size:18px}
.tasks-card .manage-row input{width:16px;height:16px;accent-color:#cd8588}
.final-backup{margin-top:14px}.final-backup .backup-card{min-height:0;padding:17px 18px}
.final-backup .backup-card .card-description{margin:12px 0}
.backup-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.backup-actions .outline-button{width:100%;min-width:0;min-height:54px;margin:0}
.two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.two-fields>*{min-width:0;width:100%}
.two-fields input,.two-fields select{min-width:0!important;width:100%!important;max-width:100%;box-sizing:border-box}
.paper[data-pdf-theme="formal"]{color:#293a3c}
.paper[data-pdf-theme="formal"] .sheet-heading{font-family:"Noto Sans CJK JP","Yu Gothic",sans-serif;font-style:normal;font-weight:800;color:#243c40;font-size:22px}
.paper[data-pdf-theme="formal"] .sheet-star,.paper[data-pdf-theme="formal"] .sheet-sprig{display:none}
.paper[data-pdf-theme="formal"] .sheet-underline{border-color:#607b7d}
.paper[data-pdf-theme="formal"] .sheet-event{background:#f4f7f7;color:#304445;border-left:2px solid #6b8e89}
.paper[data-pdf-theme="formal"] .sheet-section h4{font:700 13px/1.4 "Noto Sans CJK JP","Yu Gothic",sans-serif}
.paper[data-pdf-theme="formal"] .sheet-section h4:before{display:none}
.paper[data-pdf-theme="study"]{color:#284463;background:#fff}
.paper[data-pdf-theme="study"] .sheet-heading{color:#2e5383;font-family:Georgia,serif}
.paper[data-pdf-theme="study"] .sheet-underline{border-color:#eca94e}
.paper[data-pdf-theme="study"] .sheet-event{color:#315f82;background:#e6f0ff}
.paper[data-pdf-theme="study"] .sheet-event.studyPractical,.paper[data-pdf-theme="study"] .sheet-event.studySelf{background:#e7f6ef;color:#277a69}
.paper[data-pdf-theme="study"] .sheet-event.studyExam,.paper[data-pdf-theme="study"] .sheet-event.studyDeadline{background:#fff0e6;color:#ba6654}
.paper[data-pdf-theme="study"] .sheet-event.studyPartTime{background:#fff4da;color:#966a2b}
.paper[data-pdf-theme="study"] .sheet-section h4{color:#3566a0}
.paper[data-pdf-theme="study"] .memo-grid{background-image:linear-gradient(#dbe7f3 1px,transparent 1px),linear-gradient(90deg,#dbe7f3 1px,transparent 1px)}
@media (max-width:1380px){.brand-block{height:214px}.brand-emblem{left:9px;top:72px;width:91px}.brand-flourish{left:91px;top:15px;width:167px}.brand-title{left:97px;top:90px;font-size:38px}.brand-tagline{left:99px;top:147px;font-size:10.5px;max-width:calc(100% - 104px)}.tagline-stroke{left:101px;top:179px;width:142px}}
@media (max-width:1130px){.brand-block{height:205px}.brand-emblem{left:4px;top:73px;width:80px}.brand-flourish{left:77px;top:21px;width:141px}.brand-title{left:82px;top:92px;font-size:32px;max-width:calc(100% - 87px)}.brand-tagline{left:83px;top:139px;font-size:9px;max-width:calc(100% - 88px)}.tagline-stroke{left:85px;top:167px;width:120px}}
@media (max-width:750px){.brand-block{height:118px}.brand-emblem{left:12px;top:12px;width:66px;height:96px}.brand-flourish{top:-15px;left:85px;width:152px}.brand-title{left:88px;top:26px;font-size:36px;max-width:calc(100% - 98px)}.brand-tagline{left:90px;top:76px;font-size:11px;max-width:calc(100% - 105px)}.tagline-stroke{left:93px;top:100px;width:150px}.sidebar-nav{flex-wrap:wrap}.sidebar-nav>[data-nav]{order:1}.sidebar-nav>.planner-theme-menu{order:2;flex-basis:100%;width:100%;margin:0 3px 7px}.row-grid{grid-template-columns:1fr}.final-backup .backup-card{padding:16px}.tasks-card{min-height:0}.brand-title{white-space:nowrap}}
@media (max-width:460px){.brand-title{font-size:clamp(29px,9vw,36px)}.brand-flourish{width:145px}.two-fields{grid-template-columns:minmax(0,1fr)!important;gap:9px}.two-fields>*{min-width:0}.two-fields input,.two-fields select{font-size:16px;min-height:43px}.backup-actions{grid-template-columns:1fr}.topbar .workspace-label{display:none}.topbar{justify-content:space-between;gap:5px}.manual-card input#eventTitle{font-size:16px}.brand-block{overflow:hidden}}
@media print{.planner-theme-menu{display:none!important}.final-backup{display:none!important}}

/* Prevent the accurate English long-task heading from wrapping in compact A4 preview columns. */
.sheet-section.ongoing h4{font-size:14px;white-space:nowrap;letter-spacing:-.2px}
@media print{.sheet-section.ongoing h4{font-size:5.2mm!important;white-space:nowrap}}

/* R3: uncluttered input, independently editable date range, and optional backup under Settings */
.range-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}
.range-fields>div{min-width:0}
.range-fields label{font-size:12px;white-space:nowrap}
.range-fields input{width:100%;min-width:0;font-size:13px;padding:7px 8px!important}
.range-hint{min-height:16px;margin:5px 0 0;color:#8d7770;font-size:10px;line-height:1.4}
.range-fields input[aria-invalid="true"]{border-color:#bd5156!important;background:#fff7f6!important}
.context-hint{font-size:11px;line-height:1.5;color:#9a7b73;margin:-8px 0 10px}
.manual-card[data-theme="study"]{border-color:#b8cfe6;background:linear-gradient(145deg,#f9fcff,#fffefb)}
.period-card[data-theme="study"] .current-theme-indicator{background:#eaf3ff;color:#426e9a}
.manual-card[data-theme="study"] .context-hint{color:#446f9a}
.tasks-card h2>span:last-child{flex:1;min-width:0}
.tasks-card h2 strong{white-space:normal;overflow-wrap:anywhere;font-size:clamp(12px,1.05vw,17px);line-height:1.3}
.settings-backup{margin:14px 0;padding:12px;border:1px solid #eadbd6;border-radius:12px;background:#fffdfb}
.settings-backup summary{cursor:pointer;font-size:12px;font-weight:750;color:#775a52}
.settings-backup[open] .card-description{font-size:11px;margin:11px 0}
.settings-backup .backup-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.settings-backup .outline-button{min-width:0;gap:6px;padding:8px}
.settings-backup .outline-button strong{font-size:11px}
.preview-count{display:inline-block;margin:0 6px;color:#9b7774;font-size:10px;white-space:nowrap}
.no-pages{display:grid;place-items:center;height:100%;color:#aa7d7b;font-size:13px}
.sidebar-nav .planner-theme-menu{margin-top:2px}
@media(max-width:1380px){.range-fields{gap:6px}.range-fields input{font-size:12px;padding:6px 5px!important}.tasks-card h2 strong{font-size:13px}}
@media(max-width:750px){.range-fields{gap:9px}.range-fields input{font-size:16px;padding:9px!important}.tasks-card h2 strong{font-size:17px}}
@media(max-width:460px){.range-fields{grid-template-columns:1fr;gap:4px}.range-fields input{font-size:16px}.settings-backup .backup-actions{grid-template-columns:1fr}}
@media print{.settings-backup{display:none!important}}


/* R4: tactile, full-row checkbox controls (keyboard and native label interaction). */
.tasks-card .manage-row,.manual-event-list .mini-event-row{padding:2px 2px 2px 0;gap:5px;background:transparent;border-bottom:1px solid #f1e9e5;border-radius:0;min-height:44px}
.selectable-row{display:flex!important;align-items:center;gap:10px;min-width:0;flex:1;min-height:40px;padding:8px 9px;cursor:pointer;border:1px solid transparent;border-radius:10px;transition:background .15s,border-color .15s}
.selectable-row input{width:19px!important;height:19px!important;flex-shrink:0;accent-color:#be7277;margin:0}
.selectable-row>span{min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.35;font-size:12px}
.selectable-row:has(input:checked){background:#fff0ee;border-color:#e6b7b8;color:#7c3c45;font-weight:750}
.selectable-row:hover{background:#fff7f3}
.selectable-row:focus-within{outline:2px solid #d99ca1;outline-offset:1px}
.manage-row>button,.mini-event-row>button{flex-shrink:0;min-width:37px;min-height:40px}
.event-selection-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.event-selection-actions[hidden]{display:none}
.event-selection-actions button{padding:7px 11px;border-radius:10px;border:1px solid #dfc9c3;background:#fff;color:#805b59;font-size:12px;font-weight:750}
.weekday-options{gap:7px}
.weekday-options .weekday-choice{display:flex;justify-content:center;align-items:center;gap:7px;min-height:42px;min-width:62px;padding:8px 10px;background:#fff;border:1px solid #e5d9d4;cursor:pointer;border-radius:10px;font-size:13px}
.weekday-choice input{width:17px;height:17px;accent-color:#c67479;cursor:pointer;margin:0}
.weekday-choice:has(input:checked){background:#ffedec;border-color:#d49b9b;color:#834c4f;font-weight:750}
.weekday-choice:focus-within{outline:2px solid #d99ca1}
.all-day{min-height:42px;padding:8px 10px;border:1px solid #eadbd5;border-radius:10px;cursor:pointer}
.all-day:has(input:checked){background:#ffedec;border-color:#d5a7aa}
.all-day input{width:18px;height:18px}
/* Study events: consistent three-color categorisation in weekly/daily/monthly previews. */
.study-category-legend{display:flex;flex-wrap:wrap;gap:7px;margin-top:6px}
.study-category-legend[hidden]{display:none}
.study-category-legend span{border-radius:12px;padding:5px 11px;font-weight:700;font-size:11px;border:1px solid transparent}
.study-legend-class{color:#315e94;background:#e4f0ff;border-color:#bed7f7!important}
.study-legend-event{color:#8e641b;background:#fff2d7;border-color:#efd59f!important}
.study-legend-self{color:#277d66;background:#e1f5eb;border-color:#b4dfcb!important}
.paper[data-pdf-theme="study"] .sheet-event.studyClass,.paper[data-pdf-theme="study"] .month-event.studyClass{background:#e4f0ff;color:#315e94}
.paper[data-pdf-theme="study"] .sheet-event.studyEvent,.paper[data-pdf-theme="study"] .month-event.studyEvent{background:#fff2d7;color:#8e641b}
.paper[data-pdf-theme="study"] .sheet-event.studySelf,.paper[data-pdf-theme="study"] .month-event.studySelf{background:#e1f5eb;color:#277d66}
/* Settings is its own page, not stacked under the planner and PDF preview. */
.main-grid.settings-view{display:block}
.main-grid.settings-view .left-workspace{width:100%;max-width:760px;margin:36px auto}
.main-grid.settings-view .hero,
.main-grid.settings-view .top-cards,
.main-grid.settings-view .bottom-cards,
.main-grid.settings-view .preview-panel{display:none!important}
.main-grid.settings-view .settings-card{display:block}
.main-grid.settings-view .settings-card h2{margin-bottom:4px}
@media(max-width:460px){.weekday-options .weekday-choice{flex:1 1 28%;min-width:0}.selectable-row{min-height:44px}.main-grid.settings-view .left-workspace{margin:20px auto}}
@media print{.study-category-legend,.event-selection-actions{display:none!important}}

/* R5: Language picker must remain legible even if the OS/browser uses dark form controls. */
.language-button,
.language-menu,
.language-menu button {
  color: #43302d;
  color-scheme: light;
}
.language-button > span:not(.chevron),
.language-menu button small { color: #66514d; }
.language-button .chevron { color: #43302d; }
.language-menu button.selected { color: #43302d; }


/* R6: Keep the complete brand tagline visible in English and other longer languages.
   The old no-wrap + overflow:hidden cut off the final words. */
.brand-tagline {
  right: 10px;
  max-width: none;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: break-word;
  line-height: 1.38;
}
/* Leave room for the second line without overlapping the ornamental underline. */
html:lang(en) .brand-block .tagline-stroke { top: 196px; }
@media (max-width: 1380px) {
  html:lang(en) .brand-block .tagline-stroke { top: 190px; }
}
@media (max-width: 1130px) {
  html:lang(en) .brand-block .tagline-stroke { top: 175px; }
}
@media (max-width: 750px) {
  .brand-block { height: 131px; }
  .brand-flourish { top: 0; }
  .brand-tagline { right: 14px; }
  html:lang(en) .brand-block .tagline-stroke { top: 109px; }
}

/* Stage 1: original Formal preview, fitted inside the R8 preview panel. */
.paper-stage{position:relative;height:clamp(470px,calc(100vh - 280px),780px);min-height:470px;overflow:hidden}
.formal-preview-host{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;overflow:hidden}
.formal-preview-host[hidden],.paper[hidden]{display:none!important}
#formalPreviewFrame{display:block;box-shadow:0 6px 24px #452b2b2b}
.v2-status{font-size:11px;color:#7b5e59;text-align:center;padding:7px 12px;background:#fffaf7}
@media (max-width:1130px){.paper-stage{height:620px}}
@media (max-width:750px){.paper-stage{height:clamp(410px,80vh,680px);min-height:410px}}
@media print{.formal-preview-host{display:none!important}}


/* Stage2 Google Calendar — selectable, keyboard-accessible rows and compact account actions */
.google-calendar-panel{margin-top:15px;padding:12px 10px;background:#fffdfb;border:1px solid #eaded9;border-radius:13px;min-width:0}
.google-calendar-panel[hidden]{display:none!important}
.google-cal-summary{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:9px;font-size:12px;color:#5d4843}
.google-cal-summary span{border-radius:10px;background:#f7e9e6;padding:3px 8px;color:#a85c63;font-weight:700}
.google-batch-actions,.google-tool-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}
.google-batch-actions button,.google-tool-actions button{background:#fff;border:1px solid #e7d5cd;border-radius:9px;padding:7px 10px;color:#6b4f49;font-size:11px;line-height:1.4;min-height:34px}
.google-tool-actions{margin:11px 0 0}.google-tool-actions #googleSync{background:#fff1ee;border-color:#dfb6b2;font-weight:700}
.google-cal-list{display:grid;gap:6px;max-height:250px;overflow-y:auto;overscroll-behavior:contain}
.google-calendar-row{display:flex;align-items:center;gap:8px;min-width:0;min-height:45px;padding:6px 8px;border:1px solid #f0e5e0;border-radius:9px;background:#fff}
.google-calendar-row.is-selected{background:#f0f7f3;border-color:#a4ceba}
.google-calendar-row label{display:flex;align-items:center;gap:9px;cursor:pointer;flex:1;min-width:0;min-height:32px;font-weight:400;color:#675956;font-size:12px}
.google-calendar-row.is-selected label{font-weight:700;color:#315b4f}
.google-calendar-row label span{overflow-wrap:anywhere;min-width:0;flex:1}
.google-calendar-row input{width:18px;height:18px;flex-shrink:0;accent-color:#529c79}
.google-calendar-row select{width:93px;max-width:44%;flex-shrink:0;min-width:0;font-size:11px;background:#fff;color:#4b403c;border-radius:8px;border:1px solid #e4d8d1;padding:7px 3px}
.google-calendar-row select:disabled{opacity:.5}
.timezone-preference{margin:13px 0 20px}.timezone-preference select{width:100%;max-width:470px;min-height:42px;padding:8px;border:1px solid #e7d7d1;border-radius:9px;background:#fff;color:#4b403c}
@media(max-width:460px){.google-calendar-row{flex-wrap:wrap}.google-calendar-row select{width:auto;max-width:100%;flex:1;min-width:90px}.google-calendar-panel{padding:10px 7px}}

.google-picker{border:1px solid #efe0d9;border-radius:10px;background:#fffaf8;padding:7px 10px 3px;margin-bottom:10px}
.google-picker>summary{cursor:pointer;list-style:none;min-height:32px;margin-bottom:0}
.google-picker>summary::-webkit-details-marker{display:none}
.google-picker>summary::after{content:'⌄';font-size:17px;font-weight:600;color:#9a6d69;margin-left:3px}
.google-picker[open]>summary::after{content:'⌃'}
.google-picker[open] .google-cal-summary{margin-bottom:9px}
.google-picker .google-batch-actions{margin-top:8px}

/* Stage 3: identical A4 preview container for Formal, Pastel and Study */
.theme-preview-host[hidden]{display:none!important}
.theme-preview-host{position:relative;min-width:0;height:100%;width:100%;overflow:hidden}

/* Stage 4: Study-only, date-specific goal and Study Log editor */
#studyLogEditor[hidden],#habitManageColumn[hidden]{display:none!important}
.study-log-editor{border-top:1px solid #dce9f1;padding-top:14px}
.study-log-editor>input[type=date]{width:100%;min-height:42px;color:#344a66;background:#fff;border:1px solid #cbdceb;border-radius:9px;padding:9px;font:inherit;color-scheme:light}
.study-goal-fields{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:9px;margin-top:11px;align-items:end}
.study-goal-fields>div{min-width:0}
.study-log-editor .form-label{display:block;margin-bottom:6px;font-size:12px;font-weight:700;color:#395a7a}
.study-log-editor input{box-sizing:border-box;min-width:0;max-width:100%;width:100%;min-height:39px;padding:8px;border:1px solid #cadceb;border-radius:8px;color:#344a66;background:#fff;font:inherit;font-size:13px;color-scheme:light}
.study-log-editor input:focus-visible{outline:2px solid #7aa3d8;outline-offset:1px}
.study-log-editor input:invalid{border-color:#c77979}
.study-log-title{font-size:15px;color:#315b88;font-weight:800;margin:16px 0 10px}
.study-log-title small{display:block;font-size:11px;color:#66819a;font-weight:500;margin-top:3px}
.study-log-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(60px,72px) minmax(60px,72px);gap:7px;align-items:end}
.study-log-fields label{display:block;margin-bottom:5px;font-weight:700;color:#506b87;font-size:11px}
.study-log-form .study-add-button{width:100%;min-height:39px;border:1px solid #bdd5e5;background:#e8f3fc;color:#305b8a;border-radius:9px;font-weight:750;margin-top:9px;cursor:pointer}
.study-log-list{display:grid;gap:8px;margin-top:10px}
.study-log-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(58px,66px) minmax(58px,66px) 34px;gap:6px;align-items:center;padding:7px 4px;border-radius:9px;border:1px solid #e0eaf2;background:#f9fcff}
.study-log-row input{padding:6px 4px;font-size:12px;min-height:36px}
.study-log-row>button{border:0;background:transparent;min-height:36px;color:#aa6d79;font-size:18px;cursor:pointer}
.study-log-empty,.study-log-summary{font-size:11px;line-height:1.55;color:#61768b;margin:10px 0 0}
@media(max-width:420px){.study-goal-fields{grid-template-columns:minmax(0,1fr) 92px}.study-log-grid{grid-template-columns:minmax(0,1fr) 60px 60px;gap:5px}.study-log-row{grid-template-columns:minmax(0,1fr) 58px 58px 30px;gap:4px}.study-log-editor input{font-size:13px}}
