:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;color:#29282e;background:#fafafa;color-scheme:light;font-synthesis:none;-webkit-font-smoothing:antialiased;--muted:#77747e;--line:#e9e7ec;--accent:#7051bb}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #b9a8e7;outline-offset:4px}input,textarea,select{color:inherit;outline:none}input:focus,textarea:focus,select:focus{border-color:#a48ad5}.app{max-width:820px;margin:0 auto;padding:76px 30px 32px}.inbox-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:35px}.app-label{font-size:14px;font-weight:500;color:var(--muted);margin:0 0 10px;letter-spacing:.2px}h1{font-size:38px;line-height:1.15;letter-spacing:-1.5px;font-weight:650;margin:0}h1 span{font-size:19px;font-weight:400;letter-spacing:-.3px;color:#a09ba7;margin-left:10px;vertical-align:middle}h2{font-size:17px;font-weight:600;letter-spacing:-.3px;margin:0 0 25px}p{line-height:1.6}.quiet{border:0;background:transparent;color:var(--muted);font-size:14px;padding:9px 0;border-radius:5px}.quiet:hover{color:var(--accent)}.primary{background:var(--accent);color:white;border:1px solid var(--accent);border-radius:8px;font-size:14px;font-weight:550;padding:10px 16px;white-space:nowrap}.primary:hover{background:#6143aa}.secondary{border:1px solid #ddd9e4;border-radius:8px;padding:10px 15px;background:#fff;color:#49434f;font-size:14px}.secondary:hover{background:#f4f1f8}.list-toolbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 0 16px;gap:15px}.list-toolbar input{border:0;background:transparent;min-width:0;width:260px;padding:7px 0;font-size:14px}.list-toolbar input::placeholder{color:#99949f}.mode{font-size:12px;color:#908997;white-space:nowrap}.inbox{min-height:60px}.task{display:flex;align-items:start;gap:15px;padding:22px 2px;border-bottom:1px solid var(--line)}.task-icon{height:18px;width:18px;flex:0 0 18px;border:1.5px solid #ccc7d2;border-radius:50%;margin-top:3px}.task-body{min-width:0;flex:1}.task h3{font-size:16px;font-weight:450;line-height:1.5;overflow-wrap:anywhere;margin:0}.task p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;color:var(--muted);margin:6px 0 0}.meta{display:flex;gap:8px;flex-wrap:wrap}.meta:not(:empty){margin-top:9px}.tag{font-size:12px;line-height:1.4;border-radius:4px;background:#eeeaf5;color:#7d659f;padding:3px 7px}.empty{text-align:center;padding:65px 20px 70px;color:#918a99;font-size:15px;line-height:1.7}.composer{margin-top:20px;background:#fff;border:1px solid #e3dfe9;border-radius:12px;box-shadow:0 2px 8px #29213304;overflow:hidden}.composer:focus-within{border-color:#bca9dc;box-shadow:0 0 0 3px #7051bb07}.add-row{display:flex;align-items:center;padding:15px 16px;gap:12px}.add-icon{font-size:23px;font-weight:300;color:#a294b5;line-height:1}.add-row input{border:0;background:transparent;min-width:0;flex:1;width:100%;padding:9px 0;font-size:16px}.add-row input::placeholder{color:#9c94a6}.task-details{padding:0 19px 14px 50px}.task-details summary{font-size:13px;color:#91849f;cursor:pointer;list-style:none;display:inline-block}.task-details summary::-webkit-details-marker{display:none}.task-details summary:before{content:'+';margin-right:7px}.task-details[open] summary:before{content:'−'}.detail-fields{padding:6px 0 4px}.detail-fields label,.settings-section label{display:block;font-size:14px;color:#716a7a;margin:16px 0 8px}.detail-fields textarea,.detail-fields select,.settings-section input{border:1px solid #e3dfe9;background:#fff;border-radius:7px;width:100%;padding:11px 12px}.detail-fields textarea{resize:vertical;min-height:80px}.detail-bottom{display:flex;align-items:center;gap:30px}.tag-field{flex:1}.detail-fields select{font-size:14px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23847a90'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.detail-fields .check{display:flex;align-items:center;gap:9px;white-space:nowrap;margin:37px 0 0}.check input{accent-color:var(--accent);height:16px;width:16px}.write-hint{display:block;font-size:12px;color:#a29aaa;line-height:1.5;padding:0 20px 14px 50px}.write-hint:empty{display:none}.pending{border-top:1px solid var(--line);padding:16px 20px;font-size:14px;color:var(--muted)}.pending small{display:block;font-size:12px;line-height:1.6;margin-top:10px}.button-row{display:flex;gap:18px;flex-wrap:wrap}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:30px;padding:10px 1px;font-size:13px;color:#a19aa8}.app-footer a{color:#7f758b;padding:5px 0}.back-link{font-size:14px;color:var(--muted)}.settings-header{margin:30px 0 40px}.settings-header p{font-size:15px;color:var(--muted);margin-top:12px}.settings-section{border-top:1px solid var(--line);padding:28px 0}.settings-section form{max-width:480px}.settings-section label span{color:#a099a9;font-size:13px}.settings-section small{display:block;font-size:13px;color:#918898;margin-top:9px;line-height:1.5}.settings-section .credential-hint,.help{font-size:14px;color:#918898;line-height:1.7}.settings-section .primary{margin-top:5px}.demo-button{display:block;margin-top:18px}.status-list{font-size:14px;margin:0}.status-list>div{display:flex;justify-content:space-between;gap:20px;margin:18px 0}.status-list dt{color:#918898}.status-list dd{margin:0;text-align:right}.status-list dd span+span{color:#a199a9;font-size:12px;margin-left:6px}.endpoint{display:flex;justify-content:space-between;font-size:14px;border:1px solid var(--line);border-radius:8px;padding:14px;color:#7d7388}.endpoint code{color:var(--accent)}#setup,#connection-message{font-size:14px;color:var(--muted)}#notice{font-size:14px;line-height:1.6;background:#f0ebf8;color:#725a91;border:1px solid #e3d9f1;border-radius:8px;padding:13px 17px;margin-bottom:28px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:600px){.app{padding:38px 22px 25px}.inbox-header{margin-bottom:27px;gap:12px}h1{font-size:34px}.inbox-header .quiet{font-size:12px}.app-label{font-size:13px}.task{padding:19px 0;gap:12px}.add-row{padding:13px 12px;gap:9px}.add-row input{font-size:14px}.add-row .primary{padding:10px 11px;font-size:12px}.add-icon{font-size:20px}.task-details{padding-left:40px;padding-right:14px}.write-hint{padding-left:40px;font-size:11px}.detail-bottom{display:block}.detail-fields .check{margin:18px 0 6px}.list-toolbar input{width:190px}.settings-header{margin-bottom:30px}.app-footer{font-size:12px}}

.sync-badge{font-size:12px;padding:3px 7px;border-radius:4px;background:#f2eee4;color:#947a3c;line-height:1.4}.sync-badge.syncing{background:#eeeaf7;color:#7a61a7}.sync-badge.error{background:#f9e9e8;color:#ac5752}

.auth-page{max-width:680px}.auth-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 0}.auth-row strong{font-size:15px}.auth-row p{margin:6px 0 0}.auth-row button{flex-shrink:0}#auth-message{color:var(--accent);font-size:14px;line-height:1.6}#passkey-register button{margin-top:18px}#oauth-scopes{padding-left:20px;line-height:2;font-size:15px}

.attachment-link{font-size:13px;color:var(--accent);padding:4px 8px;background:#f0ebf7;border-radius:5px;overflow-wrap:anywhere;max-width:100%}.selected-file{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;padding:5px 0;color:var(--muted)}.selected-file span{overflow-wrap:anywhere;min-width:0}#attachment-limit{display:block;font-size:12px;line-height:1.6;margin:7px 0}#attachments{font-size:14px;width:100%}

.task-edit{flex-shrink:0;font-size:12px;padding:3px 0;margin-left:5px}dialog{width:min(600px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:28px;color:inherit;box-shadow:0 20px 80px #29213325}dialog::backdrop{background:#29213355}.edit-form>label{display:block;font-size:14px;color:var(--muted);margin:18px 0 8px}.edit-form>input,.edit-form>textarea,.edit-form>select{width:100%;border:1px solid #e3dfe9;border-radius:7px;padding:11px;background:#fff}.edit-form>textarea{margin-top:10px;resize:vertical}.edit-form fieldset{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:12px}.edit-form legend{font-size:14px;color:var(--muted)}.danger{color:#b34e4e}#edit-message{font-size:14px;color:#b34e4e}@media(max-width:600px){.task{flex-wrap:wrap}.task-edit{margin-left:30px}dialog{padding:20px}}

/* Keep controls spacious and consistent with native macOS form rendering. */
select,.edit-form>select{appearance:none;-webkit-appearance:none;min-height:46px;line-height:1.5;padding:11px 44px 11px 14px;border:1px solid #ded8e8;border-radius:9px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23847a90' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;font-size:15px;width:100%}
select:focus-visible,.tag-picker:focus-within{border-color:#a48ad5;box-shadow:0 0 0 3px #7051bb10}.edit-form>input{min-height:46px}.edit-form fieldset{padding:15px;margin:22px 0}.edit-form legend{padding:0 5px}dialog{width:min(660px,calc(100% - 32px))}.tag-picker{position:relative;min-width:0;width:100%;border:1px solid #ded8e8;border-radius:9px;padding:8px 12px;background:white}.tag-picker>input{display:block;width:100%;min-width:0;min-height:36px;border:0;background:transparent;box-shadow:none;padding:7px 2px;font-size:15px}.tag-picker>input:focus{outline:none}.tag-chips{display:flex;gap:7px;flex-wrap:wrap}.tag-chips:empty{display:none}.tag-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;background:#eee8f7;border-radius:7px;padding:4px 6px 4px 10px;color:#705298;font-size:13px;line-height:1.5}.tag-chip>span{overflow-wrap:anywhere;min-width:0}.tag-chip button{border:0;background:transparent;color:#88739d;border-radius:5px;font-size:19px;line-height:1;padding:3px 5px}.tag-chip button:hover{background:#e0d5ef;color:#503774}.tag-suggestions{border-top:1px solid var(--line);margin-top:5px;padding-top:5px;max-height:218px;overflow:auto;overscroll-behavior:contain}.tag-option{display:block;width:100%;text-align:left;border:0;background:white;border-radius:6px;padding:10px;font-size:14px;line-height:1.4;overflow-wrap:anywhere;color:#51485d}.tag-option:hover,.tag-option[aria-selected="true"]{background:#f0ebf8;color:#7051bb}.tag-no-results{font-size:13px;color:var(--muted);padding:12px 4px}.tag-field{min-width:0}.composer{overflow:visible}

.tag-suggestions{position:absolute;z-index:10;left:-1px;right:-1px;top:100%;margin-top:5px;padding:5px;max-height:180px;background:#fff;border:1px solid #e2dce9;border-radius:9px;box-shadow:0 8px 24px #29213318}

.app-footer{flex-wrap:wrap}.build-version{font-variant-numeric:tabular-nums;white-space:nowrap}
