.app-shell{font-family:var(--font-ui);font-size:14px;line-height:1.5}.app-shell :focus-visible{outline:3px solid var(--blue);outline-offset:3px}.app-shell .workspace{margin-left:var(--rail-width);min-height:100dvh}.app-shell .page-area{padding-top:var(--topbar-height);min-width:0}.app-shell .content-page{padding:32px clamp(20px,3vw,48px) 48px;max-width:1600px}.app-skip{position:fixed;top:-100px;left:16px;z-index:100;padding:12px 20px;background:white;border:2px solid var(--blue);border-radius:8px}.app-skip:focus{top:12px}.app-shell .sidebar{width:var(--rail-width);background:var(--navy);color:#d3e4f3;scrollbar-width:thin;scrollbar-color:#456580 transparent}.app-shell .sidebar-top{padding:26px 22px 22px}.app-shell .brand{gap:12px}.app-shell .brand-mark{width:34px;height:34px;flex:none}.app-shell .brand strong{font-size:24px}.app-shell .brand small{color:#b4c9da;font-size:11px}.workspace-switch{display:flex;gap:10px;align-items:center;margin:0 14px 12px;padding:12px;border:1px solid #3a536a;border-radius:9px}.workspace-switch>span{display:grid;place-items:center;width:34px;height:34px;flex:none;background:#284a66;border-radius:7px}.workspace-switch>div{flex:1;min-width:0}.workspace-switch small,.workspace-switch strong{display:block}.workspace-switch small{color:#b4c9da;font-size:11px}.workspace-switch strong{color:white;font-size:13px;overflow-wrap:anywhere}.workspace-switch>svg{flex:none}.app-shell .main-nav{padding:0 12px 16px;gap:0}.nav-group>p{color:#afc4d7;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:600;margin:18px 12px 7px}.app-shell .main-nav a{min-height:42px;gap:10px;font-size:13px;color:#d3e4f3;border-radius:7px;margin:2px 0}.app-shell .main-nav a>svg{flex:none}.app-shell .main-nav a.active{color:white;background:#285273;box-shadow:inset 3px 0 #85b3ff}.app-shell .main-nav a:hover,.workspace-switch:hover{background:#234761;color:white}.app-shell .recent-projects{margin:0 12px;padding:18px 0;border-color:#3a536a}.app-shell .recent-projects>p{color:#afc4d7;font-size:10px;letter-spacing:.1em;margin:0 12px 12px}.sidebar-projects details>summary{display:flex;align-items:center;gap:7px;list-style:none;padding:10px 8px;min-height:42px;cursor:pointer;color:#edf5fc;font-size:13px}.sidebar-projects details>summary::-webkit-details-marker{display:none}.sidebar-projects summary span{flex:1;min-width:0;overflow-wrap:anywhere}.sidebar-projects summary small{color:#b4c9da}.sidebar-projects summary>svg{flex:none}.sidebar-projects details[open]>summary>svg:first-child{transform:rotate(90deg)}.app-shell .sidebar-projects details a{margin-left:19px;width:calc(100% - 19px);border-left:1px solid #54758f;border-radius:0 6px 6px 0;min-height:40px;padding:8px 12px;font-size:12px}.sidebar-projects a span{overflow-wrap:anywhere}.sidebar-project-search{display:flex;align-items:center;gap:8px;margin:8px;padding:8px;border:1px solid #54758f;border-radius:6px}.sidebar-project-search input{min-width:0;width:100%;background:transparent;border:0;color:white;font-size:12px}.sidebar-project-search input::placeholder{color:#b4c9da}.app-shell .ai-card{flex-shrink:0;margin:4px 16px 20px;padding:16px;background:#173955;color:white;border:1px solid #456580;border-radius:10px}.app-shell .ai-card>span{width:32px;height:32px;margin-bottom:12px}.app-shell .ai-card strong{font-size:14px}.app-shell .ai-card p{font-size:12px;color:#c5d7e6;line-height:1.6}.app-shell .ai-card a{font-size:12px;padding:10px}.app-shell .sidebar-footer{color:#b4c9da}.app-shell .sidebar-footer small,.app-shell .sidebar-footer span{font-size:11px;color:inherit}.app-shell .topbar{left:var(--rail-width);height:var(--topbar-height);padding:0 28px;gap:16px}.app-shell .global-search{width:min(580px,65%);font-size:13px;min-height:42px;border:1px solid var(--line);border-radius:8px}.app-shell .profile-button b{font-size:12px}.app-shell .profile-button small{font-size:11px}.app-shell .top-popover{max-width:calc(100vw - 32px);border-color:var(--line);border-radius:12px;box-shadow:0 16px 40px #112c4726}.app-shell .notif-item b,.app-shell .top-popover a,.app-shell .top-popover p{font-size:13px}.app-shell .top-popover button{min-height:40px}.app-shell .breadcrumbs{font-size:12px;flex-wrap:wrap;line-height:1.6}.app-shell .page-heading{gap:24px;margin:24px 0}.app-shell .page-heading h1,.app-shell .project-title h1{font-size:clamp(26px,2.5vw,38px);line-height:1.15;font-weight:650;letter-spacing:-.045em}.app-shell .page-heading p,.app-shell .project-title p{font-size:14px;line-height:1.65;max-width:650px;margin-top:12px}.page-kicker{display:block;color:var(--blue);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.11em;margin-bottom:12px}.app-shell .button{min-height:42px;border-radius:8px;font-size:13px;padding:10px 16px;gap:8px;white-space:normal}.app-shell .button-icon{padding:10px}.app-shell .button-sm{padding:8px 12px}.app-shell .badge{font-size:11px;min-height:24px;padding:3px 8px;border-radius:5px}.app-shell .panel,.app-shell .stat-card{border-radius:10px}.app-shell .panel:before{display:none}.app-shell .panel-header{padding:20px}.app-shell .panel-header h2{font-size:16px;font-weight:650}.app-shell .panel-header p{font-size:12px;margin-top:4px}.app-shell .entity-table th{font-size:11px;padding:14px}.app-shell .entity-table td{font-size:13px;padding:14px}.app-shell .table-toolbar{padding:16px 20px;gap:12px}.app-shell .table-search{min-height:42px}.app-shell .table-search input{font-size:13px}.app-shell .modal{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border-radius:14px}.app-shell .modal>header{padding:24px}.app-shell .modal h2{font-size:22px;letter-spacing:-.025em}.app-shell .field-hint,.app-shell .modal header p,.app-shell .modal-form>label{font-size:13px;line-height:1.6}.app-shell .modal-form{padding:0 24px 24px}.app-shell .modal-form input,.app-shell .modal-form select,.app-shell .modal-form textarea{min-height:44px;font-size:14px;border-radius:8px}.app-shell .portfolio-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:white;border:1px solid var(--line);border-radius:10px;margin:30px 0;overflow:hidden}.app-shell .portfolio-summary>span{border:0;border-radius:0;padding:20px 24px;font-size:12px;background:transparent}.app-shell .portfolio-summary>span+span{border-left:1px solid var(--line)}.app-shell .portfolio-summary strong{color:var(--navy);font-size:32px;font-weight:650;line-height:1.2;margin-bottom:8px}.portfolio-toolbar{display:flex;align-items:center;gap:14px;margin:28px 0 18px;flex-wrap:wrap}.portfolio-filters{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:9px;background:white}.portfolio-filters button{min-height:36px;border:0;border-radius:6px;padding:8px 12px;background:transparent;color:var(--muted);font-size:12px;font-weight:600}.portfolio-filters button[aria-pressed=true]{background:var(--navy);color:white}.portfolio-filters span{display:inline-block;margin-left:6px;padding:0 5px;border:1px solid;border-radius:4px;font-size:11px}.portfolio-search{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;margin-left:auto;border:1px solid var(--line);border-radius:8px;background:white;color:var(--muted);flex:1;max-width:340px;min-width:180px}.portfolio-search input{min-width:0;width:100%;padding:10px 0;border:0;background:transparent;color:var(--ink);font-size:13px}.organizing-hint{padding:12px 16px;background:var(--blue-soft);border-left:3px solid var(--blue);font-size:13px}.app-shell .project-tree{gap:24px}.app-shell .project-branch{padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}.app-shell .project-branch>summary{padding:24px;gap:18px;background:var(--navy);color:white;list-style:none}.project-branch>summary::-webkit-details-marker{display:none}.app-shell .project-branch summary>svg:first-child{flex:none;width:44px;height:44px;padding:10px;background:#285273;border-radius:9px}.app-shell .project-branch summary>span{min-width:0}.app-shell .project-branch summary strong{font-size:24px;line-height:1.4;font-weight:650;letter-spacing:-.03em;overflow-wrap:anywhere}.app-shell .project-branch summary small{color:#c5d7e6;font-size:12px;margin:2px 0}.app-shell .project-branch summary small:first-child{color:#a8cfff;font-size:10px;letter-spacing:.08em}.app-shell .project-branch summary>b{display:flex;align-items:center;gap:8px;color:white;background:#234761;border:1px solid #54758f;border-radius:7px;padding:7px 10px;font-size:12px;font-weight:500;white-space:nowrap}.branch-chevron{flex:none;transition:transform .18s}.project-branch[open] .branch-chevron{transform:rotate(90deg)}.app-shell .project-branch-actions{padding:14px 24px;border-bottom:1px solid var(--line);justify-content:flex-end;gap:16px;flex-wrap:wrap}.app-shell .project-branch-actions a{margin-right:auto;font-size:12px;font-weight:600;min-height:42px}.app-shell .project-child-row{padding:0 24px;gap:16px}.app-shell .project-child{margin:0;border-top:0;border-left:1px solid var(--line);border-bottom:1px solid var(--line-soft);padding:20px 0 20px 22px;gap:18px;position:relative;display:flex;min-height:82px}.project-child:before{content:"";position:absolute;left:0;top:50%;width:12px;border-top:1px solid var(--line)}.app-shell .project-child>span{background:var(--blue-soft);color:var(--blue-dark);padding:5px 8px;border-radius:5px;font-size:11px;min-width:58px;text-align:center}.app-shell .project-child>strong{font-size:15px;font-weight:600;flex:1;min-width:0;overflow-wrap:anywhere}.app-shell .project-child>small{display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;margin:0}.project-review{font-size:11px;font-style:normal;color:var(--muted)}.project-review.pending{color:var(--amber);background:var(--amber-soft);padding:4px 8px;border-radius:5px}.app-shell .project-branch>.field-hint{padding:8px 24px 16px}.portfolio-empty{text-align:center;background:white;padding:56px 24px;border:1px dashed var(--line);border-radius:12px}.portfolio-empty>svg{color:var(--blue)}.portfolio-empty h2{color:var(--navy);font-size:22px;letter-spacing:-.03em}.portfolio-empty p{max-width:500px;margin:12px auto 24px;color:var(--muted)}.portfolio-assistant{display:flex;gap:18px;align-items:center;margin-top:28px;padding:24px 0;border-top:1px solid var(--line)}.portfolio-assistant>span{display:grid;place-items:center;flex:none;width:44px;height:44px;background:var(--blue-soft);color:var(--blue);border-radius:10px}.portfolio-assistant strong{font-size:14px}.portfolio-assistant p{font-size:12px;line-height:1.65;color:var(--muted);margin:5px 0 0}.portfolio-assistant a{display:flex;align-items:center;gap:8px;margin-left:auto;min-height:44px;font-size:12px;color:var(--blue);white-space:nowrap}.app-shell .project-hero{padding:28px;background:var(--navy);border-radius:12px;color:white;margin-top:24px;flex-wrap:wrap}.app-shell .project-title{min-width:0;flex:1}.app-shell .project-title h1{color:white;overflow-wrap:anywhere}.app-shell .project-title p{color:#c5d7e6}.app-shell .project-monogram.large{background:#285273;box-shadow:none;border:1px solid #54758f;flex:none;width:64px;height:64px;color:white}.app-shell .title-line{flex-wrap:wrap}.app-shell .project-meta{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0}.app-shell .mini-stat small,.app-shell .project-meta small{font-size:12px}.app-shell .project-meta b{font-size:13px;overflow-wrap:anywhere}.app-shell .mini-stat{padding:18px 14px}.app-shell .mini-stat strong{font-size:24px}.app-shell .project-activity-row{min-height:76px}.app-shell .project-activity-row strong{font-size:13px}.app-shell .project-activity-row small,.app-shell .project-activity-row time{font-size:11px}.project-children{margin:28px 0}.project-children>header{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:12px}.project-children h2{font-size:20px;margin:0}.project-children>header a{font-size:13px;color:var(--blue);min-height:44px;display:inline-flex;align-items:center;gap:8px}.project-children-list{padding:0 24px;background:white;border:1px solid var(--line);border-radius:10px}.app-shell .spec-workspace{grid-template-columns:190px minmax(0,1fr) 320px}.app-shell .spec-workspace>*{min-width:0}.app-shell .spec-main-header{padding:20px 24px 0}.app-shell .title-with-star h1{font-size:clamp(22px,2vw,30px);line-height:1.3}.app-shell .spec-tabs button{font-size:12px;min-height:48px}.app-shell .spec-meta{gap:8px}.app-shell .spec-meta small{font-size:11px}.app-shell .spec-meta b{font-size:12px}.app-shell .doc-navigation{top:var(--topbar-height);height:auto;max-height:calc(100dvh - var(--topbar-height))}.app-shell .doc-navigation a,.app-shell .doc-navigation button{font-size:12px;min-height:36px}.app-shell .editor-toolbar{top:var(--topbar-height);flex-wrap:wrap;height:auto}.app-shell .spec-title-row{flex-wrap:wrap;gap:16px}.app-shell .spec-actions{flex-wrap:wrap;overflow:visible}.app-shell .spec-subtitle{font-size:14px;line-height:1.65}.app-shell .editor-toolbar{display:flex;align-items:start;padding:12px;gap:12px;max-height:none}.editor-formatting{flex:1;min-width:0}.editor-formatting summary{cursor:pointer;min-height:42px;padding:10px 4px;color:var(--ink);font-size:13px;font-weight:600}.editor-formatting summary span{display:block;padding-left:14px;color:var(--muted);font-size:11px;font-weight:400}.app-shell .format-tools{gap:4px;padding-top:8px;flex-wrap:wrap;overflow:visible}.app-shell .format-tools>button:nth-of-type(n+10){display:inline-flex}.app-shell .editor-color-tool,.app-shell .format-tools button,.app-shell .format-tools select{min-width:36px;min-height:36px}.app-shell .editor-mode{position:static;padding:0;flex:none}.app-shell .editor-canvas li,.app-shell .editor-canvas ol,.app-shell .editor-canvas p,.app-shell .editor-canvas ul{font-size:inherit;line-height:inherit}.app-shell .editor-canvas .spec-prose{font-size:16px;line-height:1.75;color:var(--ink)}.app-shell .editor-canvas h1{font-size:28px;line-height:1.3}.app-shell .editor-canvas h2{font-size:22px;line-height:1.4;margin-top:28px}.app-shell .editor-canvas h3{font-size:18px;line-height:1.4}.app-shell .editor-canvas{padding:clamp(20px,3vw,40px);font-size:15px;line-height:1.75}.app-shell .right-panel{display:block;padding:16px 12px}.app-shell .right-card{border-radius:10px;padding:16px}.app-shell .right-card h2,.app-shell .right-card.ai-copilot header h2{font-size:14px}.app-shell .right-card.ai-copilot{background:var(--blue-soft);border-color:#adc7e8;border-top:3px solid var(--blue)}.app-shell .right-card.ai-copilot header{flex-wrap:wrap}.app-shell .ai-actions strong{font-size:13px}.app-shell .ai-actions small,.app-shell .right-card.ai-copilot header small{font-size:12px}.app-shell .ai-preview-body{font-size:13px;line-height:1.65}.app-shell .version-line{grid-template-columns:40px 1fr 32px;gap:7px}.app-shell .version-line p,.app-shell .version-line strong{font-size:12px}.app-shell .version-line time{grid-column:1/3;font-size:11px}.app-shell .version-line small{font-size:11px}.app-shell .compare-button{min-height:42px;font-size:12px;background:var(--blue)}.app-shell .changes-card>a,.app-shell .impact-group h3,.app-shell .impact-group>div,.app-shell .impacts-card>a{font-size:12px}.app-shell .impact-group>div{grid-template-columns:auto 1fr;padding:6px 0}.app-shell .change-stats small,.app-shell .impact-group .badge,.app-shell .mini-diff p,.app-shell .mini-diff strong{font-size:11px}@media (max-width:1380px){.app-shell .spec-workspace{grid-template-columns:180px minmax(0,1fr)}.app-shell .right-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid var(--line)}.app-shell .right-card{margin:0}.app-shell .project-child{flex-wrap:wrap;gap:10px}.app-shell .project-review{margin-left:auto}.app-shell .project-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1080px){.app-shell .sidebar{visibility:hidden}.app-shell .sidebar.sidebar-open{visibility:visible}.app-shell .workspace{margin-left:0}.app-shell .topbar{left:0}.app-shell .sidebar-close{width:36px;height:36px;right:6px;top:12px}.app-shell .sidebar-top{padding-top:54px}.app-shell .main-nav a{min-height:44px}}@media (max-width:760px){.app-shell{--topbar-height:64px}.app-shell .content-page{padding:24px 16px 36px}.app-shell .topbar{padding:0 12px;gap:8px}.app-shell .global-search{min-width:0;width:auto;min-height:44px}.app-shell .global-search kbd{display:none}.app-shell .global-search:after{content:"Rechercher";font-size:12px}.app-shell .page-heading{flex-direction:column;align-items:stretch;gap:18px}.app-shell .page-heading>.button{align-self:flex-start}.app-shell .page-heading h1{font-size:32px}.app-shell .page-heading p,.app-shell .project-title p{font-size:15px}.app-shell .button,.app-shell .icon-button,.app-shell .sidebar-close{min-height:44px}.app-shell .portfolio-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0}.app-shell .portfolio-summary>span{padding:18px}.app-shell .portfolio-summary>span:nth-child(3){border-left:0}.app-shell .portfolio-summary>span:nth-child(n+3){border-top:1px solid var(--line)}.portfolio-toolbar{gap:10px}.portfolio-filters{width:100%}.portfolio-filters button{flex:1;min-height:44px}.portfolio-search{margin:0;max-width:none;min-width:0}.portfolio-search input{font-size:16px}.app-shell .project-branch>summary{display:grid;grid-template-columns:44px minmax(0,1fr);padding:20px 16px;gap:12px;position:relative}.app-shell .project-branch summary>span{flex:1;padding-right:12px}.app-shell .project-branch summary strong{font-size:23px}.app-shell .project-branch summary>b{grid-column:2;justify-self:start;margin:4px 0 0}.branch-chevron{position:absolute;right:12px;top:20px;width:16px}.app-shell .project-branch-actions{padding:12px 16px;gap:8px}.app-shell .project-child-row{padding:0 16px;gap:0}.app-shell .project-child{width:100%;padding:18px 0 18px 18px;display:grid;grid-template-columns:auto minmax(0,1fr) 18px;gap:10px}.app-shell .project-child>small{grid-column:1/3;width:auto}.app-shell .project-child>em{grid-column:1/3;justify-self:start;margin:0}.app-shell .project-child>svg:last-child{grid-column:3;grid-row:1/4}.app-shell .project-child-row select{width:100%;margin:0 0 16px;font-size:16px}.portfolio-assistant{flex-wrap:wrap;padding-top:24px}.portfolio-assistant>div{flex:1}.portfolio-assistant a{margin-left:62px;white-space:normal}.app-shell .project-hero{padding:22px 18px;gap:24px}.app-shell .project-title{flex-direction:column;gap:18px}.app-shell .project-hero>.button{display:inline-flex}.app-shell .project-meta{grid-template-columns:1fr;padding:8px 0}.app-shell .project-meta>div,.app-shell .project-meta>div:nth-child(n+3){display:flex;padding:12px 18px;border-left:0}.app-shell .project-meta>div+div{border-top:1px solid var(--line-soft)}.app-shell .project-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.project-children>header{flex-wrap:wrap}.project-children-list{padding:0 16px}.app-shell .spec-workspace{display:block}.app-shell .right-panel{display:grid;grid-template-columns:1fr;padding:16px}.app-shell .spec-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .spec-meta>div:nth-child(n+3){display:flex}.app-shell .spec-main-header{padding:16px 12px 0}.app-shell .doc-navigation{max-height:220px}.app-shell .editor-toolbar{position:static;overflow:visible}.app-shell .editor-formatting{flex-basis:100%}.app-shell .editor-mode{width:100%;justify-content:flex-end}.app-shell .editor-color-tool,.app-shell .format-tools button,.app-shell .format-tools select{min-width:44px;min-height:44px}.app-shell .editor-canvas{padding:20px 16px;font-size:16px}.app-shell .modal input,.app-shell .modal select,.app-shell .modal textarea{font-size:16px}}