:root{color-scheme:light;--bg:#f7f9fc;--surface:#fff;--text:#192431;--muted:#536275;--line:#e1e7ef;--blue:#1558a8;--strong:#1254a1;--pale:#deebff;--amber:#795020;--green:#15624c;--radius:22px;--shadow:0 2px 10px #122d5410;font-family:"Google Sans","Noto Sans TC","Microsoft JhengHei",system-ui,sans-serif;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:var(--blue);text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #699deb;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}svg{display:block;width:20px;height:20px;flex:none}h1{font-size:clamp(31px,4vw,49px);letter-spacing:-.045em;line-height:1.14}h2{font-size:21px;letter-spacing:-.025em}h3{font-size:16px}.skip{position:fixed;top:8px;left:8px;z-index:20;transform:translateY(-160%);background:#fff;padding:10px}.skip:focus{transform:none}
.top{height:73px;position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 28px;gap:16px;background:#f7f9fcf5;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.brand,.top-actions{display:flex;align-items:center;gap:13px}.brand-mark{background:var(--pale);color:#1454a3;border-radius:14px;width:42px;height:42px;display:grid;place-items:center}.brand-mark svg{width:25px;height:25px}.brand-name{font-weight:800;font-size:16px;white-space:nowrap}.brand-name span{color:#6796d3}.brand-sub{font-size:11px;color:var(--muted);margin-top:3px;letter-spacing:.07em}.sync{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}.sync svg{width:17px;height:17px}.sync.dirty{color:#795020}.button{min-height:40px;padding:0 15px;border:1px solid transparent;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:750;white-space:nowrap;background:var(--strong);color:#fff}.button svg{width:17px;height:17px}.button:hover{filter:brightness(.94)}.button.secondary,.button.login{background:#fff;color:#194e87;border-color:#d2ddea}.button.login{border-radius:24px}.button.ghost{background:#edf3fc;color:#204d7c}.button.danger{background:#fce8e6;color:#952e2b}.icon-button{border:0;background:transparent;color:#43546a;min-width:38px;min-height:38px;border-radius:10px;display:grid;place-items:center}.icon-button:hover{background:#eaf1fa}.mobile-nav{display:none}
.layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:calc(100vh - 73px)}.sidebar{position:sticky;top:73px;height:calc(100vh - 73px);padding:28px 16px 16px;display:flex;flex-direction:column;border-right:1px solid #e6ebf2}.sidebar-title{font-size:11px;font-weight:800;color:#627184;letter-spacing:.15em;margin:3px 13px 13px}.sidebar nav{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;color:#425368;text-align:left;background:transparent;border:0;border-radius:11px;font-weight:700}.nav-item:hover{background:#edf2f9}.nav-item[aria-current="page"]{color:#17467c;background:#dfeaff}.nav-item svg{width:19px;height:19px}.side-foot{margin-top:auto;background:#edf2f8;border-radius:14px;padding:13px 11px;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6}.side-foot span{color:#536275;font-size:11px}.tiny-mark{width:33px;height:33px;background:white;border-radius:10px;display:grid;place-items:center;flex:none}.tiny-mark svg{width:17px;height:17px}
main{width:100%;min-width:0;padding:28px 33px 52px;outline:0}#screen{max-width:1240px;margin:0 auto}.hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(116deg,#eaf2ff 2%,#dceaff 70%,#d2e6fe);border:1px solid #d9e6f8;border-radius:var(--radius);padding:29px 29px 28px;min-height:197px}.hero-decoration{position:absolute;right:0;bottom:-7px;width:39%;height:100%;pointer-events:none;z-index:-1;color:#92b5e8}.hero-decoration svg{width:100%;height:100%}.hero .eyebrow,.eyebrow{font-size:11px;font-weight:850;color:#245c98;letter-spacing:.16em;text-transform:uppercase;margin-bottom:11px}.hero h1{max-width:770px;color:#173656}.hero-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:19px}.hero-chip{display:inline-flex;align-items:center;gap:6px;min-height:29px;padding:3px 9px;background:#ffffffba;border:1px solid #e9f1fd;border-radius:8px;color:#294966;font-weight:700;font-size:12px}.hero-chip svg{width:15px;height:15px}.hero-people{margin-top:12px;color:#3b5674;font-size:12px}.notice{margin-top:13px;padding:10px 13px;display:flex;align-items:flex-start;gap:8px;background:#fdf5df;color:#6a4d16;border:1px solid #f1e0ad;border-radius:12px;line-height:1.55}.notice svg{width:17px;height:17px}.notice.info{background:#edf4ff;color:#234d81;border-color:#d9e7fb}.notice button{margin-left:auto;min-height:29px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:15px 0 20px}.stat{border:1px solid var(--line);border-radius:16px;background:#fff;padding:13px 15px;display:flex;align-items:center;gap:12px;min-width:0}.feature-icon{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e6efff;color:#225894}.feature-icon.am{background:#fff0d8;color:#855619}.feature-icon.pm{background:#e7eafa;color:#48568d}.feature-icon.mint{background:#dff4eb;color:#186451}.stat strong{font-size:24px;line-height:1;letter-spacing:-.05em}.stat .unit{font-size:11px;color:var(--muted);margin-left:5px}.stat-label{display:block;color:#46596e;margin-top:4px;font-size:12px;font-weight:650}
.panel{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:19px 20px;box-shadow:var(--shadow);min-width:0}.panel+.panel{margin-top:15px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.panel-head p,.muted{color:var(--muted);line-height:1.6}.panel-head p{font-size:12px;margin-top:4px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;flex-wrap:wrap}.segmented{display:flex;align-items:center;background:#f1f4fa;padding:3px;border-radius:10px;gap:2px}.segmented button{background:transparent;border:0;border-radius:8px;color:#4d5d70;min-height:34px;padding:0 12px;font-weight:650}.segmented button[aria-pressed="true"]{background:#fff;color:#174984;box-shadow:0 1px 4px #122d541f}.search{display:flex;align-items:center;gap:8px;min-height:37px;border:1px solid var(--line);border-radius:10px;padding:0 10px;color:#5a6c82;width:min(100%,240px)}.search svg{width:16px;height:16px}.search input{border:0;outline:0!important;width:100%;min-width:0;background:transparent;color:var(--text)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:690px}th{font-size:11px;letter-spacing:.055em;color:#596b7e;background:#f3f6fa;padding:9px 10px;white-space:nowrap}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{padding:9px 10px;border-bottom:1px solid #edf0f5;vertical-align:middle}tr:last-child td{border-bottom:0}.clock{font-variant-numeric:tabular-nums;font-weight:800;white-space:nowrap;color:#284567}.title-line{font-weight:800}.row-note{font-size:11px;color:#566578;line-height:1.5;margin-top:3px;max-width:57ch;overflow-wrap:anywhere}.break-any{overflow-wrap:anywhere}.tag{display:inline-flex;padding:4px 8px;border-radius:7px;font-size:11px;font-weight:800;white-space:nowrap;background:#eef2f7;color:#435771}.tag.am,.tag.planned{background:#fff1da;color:#784c12}.tag.pm,.tag.confirmed{background:#e9edff;color:#414f91}.tag.done{background:#dff4e9;color:#165e47}.tag.all{background:#e4f2fb;color:#295677}.empty{text-align:center;padding:25px 10px!important;color:var(--muted)}.subpage{margin:4px 0 16px}.subpage h1{font-size:36px}.subpage p{margin-top:6px;color:var(--muted);line-height:1.55}.group-grid,.notes-grid,.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.group-grid .panel,.notes-grid .panel,.settings-grid .panel{margin:0}.group-list{display:grid;gap:0}.group-card{padding:13px 0;border-top:1px solid var(--line);display:flex;align-items:flex-start;gap:10px}.group-card>div{flex:1;min-width:0}.group-card p{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.6}.group-card small{display:block;color:#1a5c58;margin-top:4px;overflow-wrap:anywhere}.note-body{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.note-body a{overflow-wrap:anywhere}.settings-line{padding:10px 0;border-top:1px solid var(--line);line-height:1.6;overflow-wrap:anywhere}.settings-line b{display:block;font-size:12px;color:#516478}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.gate{background:#fff;border:1px solid var(--line);border-radius:24px;padding:35px;max-width:550px;margin:7vh auto;text-align:center;box-shadow:var(--shadow)}.gate .feature-icon{margin:0 auto 16px}.gate h1{font-size:31px}.gate p{margin:12px 0 17px;color:var(--muted);line-height:1.65}.gate .actions{justify-content:center}
dialog{border:1px solid var(--line);border-radius:21px;width:min(570px,calc(100vw - 24px));padding:0;color:var(--text);max-height:calc(100vh - 24px);box-shadow:0 25px 90px #13274136}dialog::backdrop{background:#22374d72}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 20px}.dialog-head{border-bottom:1px solid var(--line)}.dialog-actions{border-top:1px solid var(--line);justify-content:flex-end}.dialog-actions .danger{margin-right:auto}.dialog-body{padding:16px 20px;display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:5px;font-weight:650;color:#374b63}.field.wide,.form-error{grid-column:1/-1}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #cbd7e5;border-radius:8px;background:#fff;color:#192431;padding:8px 9px}.field textarea{min-height:72px;resize:vertical}.form-error{color:#9a2722}.toast{position:fixed;z-index:10;right:22px;bottom:21px;background:#233a54;color:#fff;border-radius:13px;padding:12px 17px;max-width:min(380px,calc(100vw - 44px));box-shadow:0 5px 16px #1a2b4d40;line-height:1.6}.help-list{line-height:1.8;padding-left:21px;margin:8px 0}.conflict-bar{margin-bottom:14px}
@media(max-width:1050px){main{padding:21px 20px 45px}.layout{grid-template-columns:181px minmax(0,1fr)}.sidebar{padding-inline:11px}.hero-decoration{width:49%}}
@media(max-width:760px){.top{padding:0 12px;height:62px}.top-actions{gap:7px}.brand{gap:7px}.brand-mark{height:33px;width:33px;border-radius:9px}.brand-mark svg{height:19px;width:19px}.brand-name{font-size:13px}.brand-sub{display:none}.mobile-nav{display:grid;min-width:31px}.layout{display:block}.sidebar{display:none;position:fixed;top:62px;left:0;z-index:6;height:calc(100dvh - 62px);width:220px;background:var(--bg);box-shadow:0 7px 24px #22374d28}.sidebar.open{display:flex}main{padding:13px 11px 40px}.top-save,.button.login{padding-inline:10px;min-height:34px;font-size:11px}.sync{display:none}.hero{min-height:161px;padding:20px 15px}.hero-decoration{width:58%;opacity:.65}.hero-meta{margin-top:12px}.stats{gap:6px;margin-top:9px;margin-bottom:13px}.stat{padding:9px 7px;gap:5px}.stat .feature-icon{width:25px;height:25px;border-radius:8px}.stat .feature-icon svg{width:15px;height:15px}.stat strong{font-size:18px}.stat-label{font-size:10px}.stat .unit{margin-left:3px}.panel{padding:13px 11px;border-radius:16px}.group-grid,.notes-grid,.settings-grid{grid-template-columns:1fr}.toolbar{gap:7px}.search{flex:1;min-width:125px}.panel-head{gap:5px}.panel-head .button{padding:0 10px}.subpage h1{font-size:29px}}
@media print{.top,.sidebar,.toolbar,.notice,.panel-head button,td:last-child,th:last-child,.toast{display:none!important}.layout{display:block}main{padding:0}.hero{min-height:0}.panel{box-shadow:none}.table-wrap{overflow:visible}table{min-width:0}tr,.group-card{break-inside:avoid}}
@media screen and (max-width:620px){.table-wrap{overflow:visible}.table-wrap table{display:block;min-width:0}.table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.table-wrap tbody{display:block}.table-wrap tr{display:grid;grid-template-columns:max-content max-content 1fr 34px;gap:5px 7px;padding:9px 0;border-bottom:1px solid #e7edf4}.table-wrap tr:last-child{border-bottom:0}.table-wrap td{padding:0;border:0;min-width:0}.table-wrap td:nth-child(1){grid-area:1/1/2/4;font-size:12px;align-self:center}.table-wrap td:nth-child(2){grid-area:2/1/3/5}.table-wrap td:nth-child(3){grid-area:3/1/4/5;font-size:12px;color:var(--muted)}.table-wrap td:nth-child(4){grid-area:4/1/5/2}.table-wrap td:nth-child(5){grid-area:4/2/5/3}.table-wrap td:nth-child(6){grid-area:1/4/2/5}.table-wrap td:nth-child(6) .icon-button{min-width:33px;min-height:27px}.table-wrap td:nth-child(6) .icon-button svg{width:16px;height:16px}.table-wrap .row-note{max-width:none;font-size:12px}.table-wrap td.empty{grid-area:1/1/2/5}.conflict-bar{flex-wrap:wrap}.conflict-bar button{margin-left:0}}
.panel-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.draft-line{margin-top:17px}.dialog-body .wide{grid-column:1/-1}.field textarea.prompt-output{min-height:170px;background:#f7f9fc;font-weight:400;line-height:1.6}.hero-decoration{opacity:.65}
.conflict-bar p{margin-top:3px}.conflict-bar ul{margin:5px 0 0;padding-left:20px}
@media(max-width:430px){.panel-actions .button{min-height:33px;font-size:11px;padding-inline:7px}.panel-actions .button svg{width:13px;height:13px}.panel-head h2{font-size:18px}}
