.story-cards,.story-card-form,.story-practice-options{--sc-ink:#29433d;--sc-muted:#5b7064;--sc-line:#d8e2d3;--sc-sage:#486e58;--sc-copper:#9f6043;color:var(--sc-ink);font-family:"Segoe UI","Microsoft YaHei",sans-serif;overflow-wrap:anywhere;min-width:0}
.story-cards *,.story-card-form *,.story-practice-options *{box-sizing:border-box}.story-cards{max-width:1100px;margin:0 auto;padding:10px 0 35px}.sc-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 0;color:var(--sc-muted);font-size:13px;line-height:1.7;background:none;border:0;cursor:pointer}.sc-page-header{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:15px 0 28px}.sc-eyebrow{display:block;font-size:10px;font-weight:600;line-height:1.8;letter-spacing:.14em;color:var(--sc-copper)}.sc-page-header h1{margin:12px 0 10px;font-size:clamp(29px,3.1vw,40px);font-weight:600;letter-spacing:-.04em;color:var(--sc-ink);line-height:1.4}.sc-page-header p{margin:0;font-size:14px;color:var(--sc-muted);line-height:1.85}.sc-list-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;margin-bottom:23px;border-top:1px solid var(--sc-line);border-bottom:1px solid var(--sc-line);font-size:12px;color:var(--sc-muted);line-height:1.8}.sc-list-intro p{display:flex;gap:16px;align-items:baseline;margin:0}.sc-list-intro strong{font-size:16px;font-weight:550;color:var(--sc-ink)}.sc-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;padding:11px 16px;border:1px solid #ccdac7;border-radius:13px;background:#ffffffe0;color:var(--sc-sage);font:550 13px/1.65 "Segoe UI","Microsoft YaHei",sans-serif;white-space:normal;cursor:pointer;touch-action:manipulation;text-align:center;text-decoration:none}.sc-button.primary{border-color:#486e58;background:linear-gradient(135deg,#547a60,#436852);color:#fff;box-shadow:0 7px 18px #2f583710,inset 0 1px 0 #ffffff20}.sc-button.subtle{border-color:transparent;background:transparent;color:var(--sc-muted)}.sc-button:not(:disabled):hover{border-color:#8fa886;background:#f4f7ef}.sc-button.primary:not(:disabled):hover{background:#3e614b;border-color:#3e614b}.sc-button:disabled{opacity:.5;cursor:default}.story-cards button:focus-visible,.story-cards summary:focus-visible,.story-card-form :is(button,input,textarea,select,pre):focus-visible,.story-practice-options :is(button,input):focus-visible{outline:2px solid var(--sc-copper);outline-offset:4px}.sc-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:21px;align-items:start}.sc-card{position:relative;min-width:0;padding:26px 25px 21px;border:1px solid #fff;border-radius:23px;background:linear-gradient(145deg,#fffffff5,#f8faf4ed 66%,#fff7e9d9);box-shadow:0 9px 32px #36513208,inset 0 0 0 1px #d6e3d53d}.sc-card.confirmed{background:linear-gradient(140deg,#f1f7edeb,#fffffff5 72%);box-shadow:0 9px 32px #36513208,inset 0 0 0 1px #c7d9c35e}.sc-card.stale{background:linear-gradient(145deg,#fffaf0f5,#fffffff2 75%)}.sc-card.archived{background:#f7f8f3b8;border-color:#e0e5d9;box-shadow:none}.sc-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.sc-card-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:11px;line-height:1.8;color:var(--sc-muted);font-variant-numeric:tabular-nums}.sc-state{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border:1px solid #e1dfcc;border-radius:7px;background:#f8f5e9;color:#796845;font-size:11px}.sc-state.confirmed{border-color:#cbdcc6;background:#e9f3e4;color:#406849}.sc-state.stale{border-color:#e6d2b6;background:#fff4df;color:#8c6034}.sc-state.archived{border-color:#dce2d6;background:#edf0e9;color:#687563}.sc-card h2{font-size:23px;font-weight:550;line-height:1.55;letter-spacing:-.025em;margin:16px 0 18px;color:var(--sc-ink);white-space:pre-wrap}.sc-card-seal{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #d5e2cf;border-radius:50%;background:#ffffffbd;color:#6a8c64;font-size:20px;line-height:1}.sc-card.archived .sc-card-seal{color:#8a9a81}.sc-card-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 0;font-size:13px;line-height:1.8;color:var(--sc-sage);cursor:pointer;list-style:none}.sc-card-detail>summary::-webkit-details-marker{display:none}.sc-card-detail>summary>span{font-size:19px;line-height:1;color:#93a58a}.sc-card-detail[open]>summary>span{transform:rotate(45deg)}.sc-source-quote{padding:18px;border:1px solid #e1e5d2;border-radius:14px;background:#fffdf6;margin:12px 0 23px}.sc-source-title{display:flex;flex-direction:column;gap:4px;font-size:10px;line-height:1.8;color:#8f785b}.sc-source-title>span:first-child{font-size:12px;color:#816246;font-weight:550}.sc-source-quote blockquote{margin:14px 0 0;padding-left:13px;border-left:2px solid #c6a481;font-size:14px;line-height:1.95;color:#46584b;white-space:pre-wrap}.sc-source-quote p{font-size:13px;line-height:1.85;color:var(--sc-muted);margin:12px 0 0}.sc-own-fields h3{font-size:15px;font-weight:550;line-height:1.7;margin:0;color:var(--sc-ink)}.sc-quiet{font-size:12px;line-height:1.9;color:var(--sc-muted);margin:10px 0}.sc-facts{display:grid;gap:0;margin:12px 0 0}.sc-fact{padding:15px 0;border-top:1px solid #e2e8db}.sc-fact dt{font-size:11px;font-weight:550;line-height:1.85;color:var(--sc-sage);margin:0 0 6px}.sc-fact dd{font-size:14px;line-height:1.95;color:var(--sc-ink);white-space:pre-wrap;margin:0}.sc-unwritten dd{font-size:12px;color:#778573}.sc-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding-top:19px;margin-top:17px;border-top:1px solid var(--sc-line)}.sc-card-actions .sc-button{font-size:12px;padding:9px 12px}.sc-card-actions .sc-button:last-child:not(.primary){margin-left:auto}.sc-status-note,.sc-error,.sc-conflict{padding:14px 17px;border:1px solid #e3d5bc;border-radius:13px;background:#fff8e9;font-size:13px;color:#7a5c35;line-height:1.9;margin:17px 0}.sc-error{color:#8f4533;border-color:#e5c9ba;background:#fff5ec}.sc-conflict strong{display:block;font-size:15px;font-weight:550;margin-bottom:5px}.sc-conflict p{margin:5px 0 12px;font-size:13px;line-height:1.9}.sc-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:50px 25px 45px;border:1px solid #fff;border-radius:26px;background:linear-gradient(135deg,#ffffffed,#eff5e9d9 65%,#fff8edd9);box-shadow:inset 0 0 0 1px #d1dfcd44}.sc-empty-mark{display:grid;place-items:center;width:70px;height:70px;border-radius:24px;border:1px solid #dce7d3;background:linear-gradient(140deg,#fff,#e7efdfe0);color:#839a73;font:68px/1 Georgia,serif;padding-top:16px;box-shadow:inset 0 1px 0 #fff}.sc-empty h2{font-size:26px;font-weight:550;color:var(--sc-ink);line-height:1.55;letter-spacing:-.03em;margin:25px 0 12px}.sc-empty p{max-width:570px;font-size:14px;color:var(--sc-muted);line-height:1.9;margin:0 0 24px}.sc-archive{margin-top:30px;border-top:1px solid var(--sc-line);padding-top:17px}.sc-archive>summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:13px;color:var(--sc-muted);line-height:1.8}.sc-archive>summary span{padding:2px 8px;border-radius:8px;background:#eaf0e5;font-size:11px}.sc-archive .sc-card-grid{margin-top:17px}.sc-page-note{margin:27px 0 0;padding-top:18px;border-top:1px solid var(--sc-line);font-size:12px;line-height:1.9;color:var(--sc-muted)}
.portal-modal.portal-story-dialog{width:min(1040px,100%);max-width:1040px;max-height:calc(100dvh - 48px);padding:0;background:transparent;border:0;border-radius:26px;overflow:auto;overscroll-behavior:contain;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.story-card-form,.story-practice-options{padding:clamp(23px,3vw,35px);border:1px solid #fff;border-radius:26px;background:linear-gradient(145deg,#fffffff5,#f4f8efed 65%,#fff7e9eb);box-shadow:0 20px 65px #274b3415,inset 0 1px 0 #fff}.sc-form-heading{margin-bottom:25px}.sc-form-heading h2{margin:10px 0 12px;font-size:clamp(25px,3vw,32px);font-weight:550;color:var(--sc-ink);letter-spacing:-.035em;line-height:1.45}.sc-form-heading p{font-size:14px;line-height:1.85;color:var(--sc-muted);margin:0;max-width:760px}.story-card-form label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:500;line-height:1.8;color:var(--sc-sage);margin:17px 0}.story-card-form :is(input:not([type=checkbox]),textarea,select){display:block;width:100%;max-width:100%;min-width:0;font:400 14px/1.85 "Segoe UI","Microsoft YaHei",sans-serif;color:var(--sc-ink);border:1px solid #cedcc6;border-radius:12px;background:#ffffffe8;padding:11px 13px}.story-card-form textarea{resize:vertical;min-height:90px}.story-card-form :is(input,textarea)::placeholder{color:#819078}.story-card-form .sc-title-field{margin:15px 0 27px}.sc-title-field input{font-size:17px!important;font-weight:500!important;min-height:49px}.sc-editor-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:26px;align-items:start}.sc-document-panel,.sc-details-panel{min-width:0;padding:22px;border:1px solid #dce6d4;border-radius:18px;background:#ffffffa8}.sc-document-panel{background:#fffdf6cc}.sc-section-label{display:flex;align-items:center;gap:10px;margin:0 0 14px}.sc-section-label>span{display:grid;place-items:center;flex:none;width:25px;height:25px;border:1px solid #d5dfc9;border-radius:50%;font-size:10px;color:#819572;font-variant-numeric:tabular-nums;background:#fff}.sc-section-label h3{font-size:16px;font-weight:550;color:var(--sc-ink);line-height:1.7;margin:0}.story-card-form .sc-source-text{font:400 14px/1.95 "Segoe UI","Microsoft YaHei",sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;max-height:280px;min-height:160px;overflow:auto;overscroll-behavior:contain;margin:17px 0 12px;border:1px solid #e2e3cf;border-radius:12px;padding:17px;background:#fffef9;color:#3f5142;scrollbar-color:#c4d1b8 transparent;scrollbar-width:thin}.sc-source-placeholder{padding:30px 19px;margin:18px 0;border:1px dashed #d3ddc6;border-radius:12px;text-align:center;color:var(--sc-muted);background:#fbfcf5}.sc-source-placeholder strong{font-size:14px;font-weight:500}.sc-source-placeholder p{font-size:12px;line-height:1.9;margin:9px 0 0}.sc-excerpt-button{font-size:12px;min-height:44px;padding:9px 13px}.sc-excerpt-status{margin:10px 0 0;font-size:11px;line-height:1.9;color:#55764f}.sc-excerpt-status.needs-check{color:#8c673d}.sc-confirmation{margin:26px 0 18px;padding:19px 21px;border:1px solid #d5e2cb;border-radius:15px;background:#edf4e8bb}.story-card-form .sc-confirmation label{flex-direction:row;align-items:flex-start;gap:12px;margin:0;font-size:14px;line-height:1.85;color:var(--sc-ink)}.sc-confirmation input[type=checkbox],.sc-ai-choice input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:#55764f;margin:4px 0 0}.sc-confirmation p{margin:10px 0 0;padding-left:32px;font-size:12px;color:var(--sc-muted);line-height:1.9}.sc-form-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;padding-top:22px;margin-top:24px;border-top:1px solid var(--sc-line)}.sc-form-actions .subtle{margin-right:auto}.sc-practice-scope{padding:17px 19px;border:1px solid #d4e0ca;border-radius:14px;background:#edf4e8b8;margin:20px 0}.sc-practice-scope>span{font-size:12px;color:var(--sc-sage);font-weight:550}.sc-practice-scope p{margin:8px 0 0;font-size:13px;color:var(--sc-muted);line-height:1.9}.sc-question-options{margin:25px 0;padding:0;border:0;min-width:0}.sc-question-options legend{font-size:14px;font-weight:550;color:var(--sc-ink);line-height:1.9;margin-bottom:15px}.sc-question-option{display:flex;align-items:flex-start;gap:13px;padding:19px;border:1px solid #d8e2cf;border-radius:15px;background:#ffffffe0;margin:12px 0;cursor:pointer;min-width:0}.sc-question-option:has(input:checked){border-color:#9bb78a;background:linear-gradient(130deg,#f0f6e9,#fffffff5);box-shadow:inset 0 0 0 1px #b6cba22e}.sc-question-option input{width:20px;height:20px;flex:none;accent-color:#55764f;margin:4px 0 0}.sc-question-option>span{display:flex;flex-direction:column;gap:8px;min-width:0}.sc-question-number{font-size:10px;font-weight:500;color:#8b9d7c;font-variant-numeric:tabular-nums;letter-spacing:.1em}.sc-question-option strong{font-size:17px;font-weight:500;color:var(--sc-ink);line-height:1.85;white-space:pre-wrap}.sc-question-translation{font-size:13px;line-height:1.9;color:var(--sc-muted);white-space:pre-wrap}.sc-question-option small{display:block;font-size:12px;line-height:1.8;color:#89694a}.sc-ai-choice{display:flex;align-items:flex-start;gap:12px;margin:25px 0 10px;padding:18px;border:1px solid #dcdfcf;border-radius:14px;background:#fffaf0c9;font-size:14px;line-height:1.9;color:var(--sc-ink)}.story-practice-options>.sc-quiet{font-size:13px;line-height:1.9}
@media(max-width:850px){.sc-editor-grid{grid-template-columns:minmax(0,1fr);gap:20px}.sc-card-grid{gap:17px}.sc-card{padding:22px 20px}.sc-page-header{align-items:flex-start}.sc-page-header>.sc-button{flex:none;margin-top:15px}.sc-card h2{font-size:21px}.story-card-form .sc-source-text{max-height:240px}.sc-document-panel,.sc-details-panel{padding:21px}}
@media(max-width:640px){.story-cards{padding-bottom:25px}.sc-page-header{flex-direction:column;gap:15px;margin:10px 0 23px}.sc-page-header>.sc-button{margin-top:0}.sc-page-header h1{font-size:30px}.sc-page-header p{font-size:14px}.sc-list-intro{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:18px}.sc-list-intro p{gap:13px;flex-wrap:wrap}.sc-list-intro>span{font-size:12px}.sc-card-grid{grid-template-columns:minmax(0,1fr);gap:18px}.sc-card{padding:23px 20px;border-radius:20px}.sc-card h2{font-size:22px}.sc-card-meta,.sc-state{font-size:12px}.sc-card-detail>summary{font-size:14px}.sc-source-title>span{font-size:12px}.sc-fact dt{font-size:13px}.sc-fact dd{font-size:14px}.sc-card-actions{gap:8px}.sc-card-actions .sc-button{font-size:13px;min-height:44px;padding:10px 13px}.sc-empty{padding:37px 22px;border-radius:22px}.sc-empty h2{font-size:24px}.sc-page-note{font-size:12px}.portal-modal.portal-story-dialog{max-height:calc(100dvh - 32px);border-radius:21px}.story-card-form,.story-practice-options{padding:24px 18px;border-radius:21px}.sc-form-heading h2{font-size:27px}.sc-form-heading p{font-size:14px}.story-card-form label{font-size:14px}.story-card-form :is(input:not([type=checkbox]),textarea,select){font-size:16px}.sc-document-panel,.sc-details-panel{padding:18px 15px;border-radius:15px}.sc-section-label h3{font-size:17px}.sc-quiet,.sc-source-placeholder p,.sc-excerpt-status{font-size:12px}.sc-confirmation{padding:17px 15px}.sc-confirmation p{font-size:12px;padding-left:0}.sc-form-actions{gap:9px}.sc-form-actions>.sc-button{flex:1;min-width:0;font-size:13px;padding:11px}.sc-form-actions>.subtle{flex-basis:100%;margin-right:0}.sc-question-option{padding:17px 14px;gap:10px}.sc-question-option strong{font-size:16px}.sc-question-translation{font-size:14px}.sc-question-option small{font-size:12px}.sc-ai-choice{font-size:14px;padding:16px 14px}.sc-status-note,.sc-error{font-size:13px}}
@media(max-width:360px){.sc-page-header>.sc-button{width:100%}.sc-card{padding:21px 17px}.sc-card-header{gap:12px}.sc-card h2{font-size:21px}.sc-card-actions .sc-button{flex:1}.sc-card-actions .sc-button:last-child:not(.primary){flex-basis:100%;margin-left:0}.sc-source-quote{padding:15px 13px}.story-card-form,.story-practice-options{padding:22px 14px}.sc-form-actions>.sc-button{flex-basis:100%}.sc-question-option{padding:16px 12px}.sc-list-intro p{align-items:flex-start;flex-direction:column;gap:4px}}
@media(prefers-reduced-motion:reduce){.story-cards *,.story-card-form *,.story-practice-options *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-contrast:more){.story-cards,.story-card-form,.story-practice-options{--sc-muted:#3f5546;--sc-line:#8da37f}.sc-card,.sc-document-panel,.sc-details-panel,.sc-source-quote,.sc-question-option,.sc-confirmation,.sc-ai-choice{border-color:#8da37f}.sc-quiet,.sc-unwritten dd{color:#435841}}

.sc-latest-card{margin:20px 0;padding:19px;border:1px solid #d8deca;border-radius:15px;background:#fafbf3}.sc-latest-card>summary{cursor:pointer;color:var(--sc-sage);font-size:14px;font-weight:550;line-height:1.85;min-height:44px;padding:9px 0}.sc-latest-card .sc-facts{padding:0 5px}.sc-recovery-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 19px}.sc-error>p{margin:0 0 12px;font-size:13px;line-height:1.9}
body:has(.story-card-form) :is(.ai-coach-toggle,.ai-coach-panel),body:has(.story-practice-options) :is(.ai-coach-toggle,.ai-coach-panel){display:none}
